From c15634bb25b7284dc084f38dff4e838048b7feaf Mon Sep 17 00:00:00 2001 From: CI Date: Sat, 9 Mar 2024 13:07:08 +0000 Subject: [PATCH] Publish release from b330c496a960f3ede5ab212aad2649a225728800 --- action.yml | 2 +- dist/cache-action-entrypoint.js | 68609 ++++++++++-------- dist/cache-action-entrypoint.js.LICENSE.txt | 109 +- dist/cache-action-entrypoint.js.map | 2 +- 4 files changed, 36374 insertions(+), 32348 deletions(-) diff --git a/action.yml b/action.yml index e3b83ec..8ddc5b6 100644 --- a/action.yml +++ b/action.yml @@ -96,7 +96,7 @@ inputs: required: false default: 'true' runs: - using: node16 + using: node20 main: dist/cache-action-entrypoint.js post: dist/cache-action-entrypoint.js branding: diff --git a/dist/cache-action-entrypoint.js b/dist/cache-action-entrypoint.js index 3d78d7f..7bc81c0 100644 --- a/dist/cache-action-entrypoint.js +++ b/dist/cache-action-entrypoint.js @@ -2,10 +2,33 @@ !function(root, factory) { "object" == typeof exports && "object" == typeof module ? module.exports = factory() : "function" == typeof define && define.amd ? define([], factory) : "object" == typeof exports ? exports["cache-action-entrypoint"] = factory() : root["cache-action-entrypoint"] = factory(); }(this, (() => (() => { - var __webpack_modules__ = { - 9213: function(__unused_webpack_module, exports, __webpack_require__) { + var leafPrototypes, getProto, __webpack_modules__ = { + 9989: function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; - var __awaiter = this && this.__awaiter || function(thisArg, _arguments, P, generator) { + var __createBinding = this && this.__createBinding || (Object.create ? function(o, m, k, k2) { + void 0 === k2 && (k2 = k); + var desc = Object.getOwnPropertyDescriptor(m, k); + desc && !("get" in desc ? !m.__esModule : desc.writable || desc.configurable) || (desc = { + enumerable: !0, + get: function() { + return m[k]; + } + }), Object.defineProperty(o, k2, desc); + } : function(o, m, k, k2) { + void 0 === k2 && (k2 = k), o[k2] = m[k]; + }), __setModuleDefault = this && this.__setModuleDefault || (Object.create ? function(o, v) { + Object.defineProperty(o, "default", { + enumerable: !0, + value: v + }); + } : function(o, v) { + o.default = v; + }), __importStar = this && this.__importStar || function(mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (null != mod) for (var k in mod) "default" !== k && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k); + return __setModuleDefault(result, mod), result; + }, __awaiter = this && this.__awaiter || function(thisArg, _arguments, P, generator) { return new (P || (P = Promise))((function(resolve, reject) { function fulfilled(value) { try { @@ -29,16 +52,11 @@ } step((generator = generator.apply(thisArg, _arguments || [])).next()); })); - }, __importStar = this && this.__importStar || function(mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (null != mod) for (var k in mod) Object.hasOwnProperty.call(mod, k) && (result[k] = mod[k]); - return result.default = mod, result; }; Object.defineProperty(exports, "__esModule", { value: !0 - }); - const core = __importStar(__webpack_require__(2037)), path = __importStar(__webpack_require__(1017)), utils = __importStar(__webpack_require__(9254)), cacheHttpClient = __importStar(__webpack_require__(1799)), tar_1 = __webpack_require__(2497); + }), exports.saveCache = exports.restoreCache = exports.isFeatureAvailable = exports.ReserveCacheError = exports.ValidationError = void 0; + const core = __importStar(__webpack_require__(4613)), path = __importStar(__webpack_require__(6928)), utils = __importStar(__webpack_require__(3318)), cacheHttpClient = __importStar(__webpack_require__(3444)), tar_1 = __webpack_require__(2); class ValidationError extends Error { constructor(message) { super(message), this.name = "ValidationError", Object.setPrototypeOf(this, ValidationError.prototype); @@ -73,12 +91,14 @@ enableCrossOsArchive }); if (!(null == cacheEntry ? void 0 : cacheEntry.archiveLocation)) return; + if (null == options ? void 0 : options.lookupOnly) return core.info("Lookup only - skipping download"), + cacheEntry.cacheKey; archivePath = path.join(yield utils.createTempDirectory(), utils.getCacheFileName(compressionMethod)), core.debug(`Archive Path: ${archivePath}`), yield cacheHttpClient.downloadCache(cacheEntry.archiveLocation, archivePath, options), - core.isDebug() && (yield tar_1.listTar(archivePath, compressionMethod)); + core.isDebug() && (yield (0, tar_1.listTar)(archivePath, compressionMethod)); const archiveFileSize = utils.getArchiveFileSizeInBytes(archivePath); return core.info(`Cache Size: ~${Math.round(archiveFileSize / 1048576)} MB (${archiveFileSize} B)`), - yield tar_1.extractTar(archivePath, compressionMethod), core.info("Cache restored successfully"), + yield (0, tar_1.extractTar)(archivePath, compressionMethod), core.info("Cache restored successfully"), cacheEntry.cacheKey; } catch (error) { if (error.name === ValidationError.name) throw error; @@ -102,7 +122,8 @@ const archiveFolder = yield utils.createTempDirectory(), archivePath = path.join(archiveFolder, utils.getCacheFileName(compressionMethod)); core.debug(`Archive Path: ${archivePath}`); try { - yield tar_1.createTar(archiveFolder, cachePaths, compressionMethod), core.isDebug() && (yield tar_1.listTar(archivePath, compressionMethod)); + yield (0, tar_1.createTar)(archiveFolder, cachePaths, compressionMethod), core.isDebug() && (yield (0, + tar_1.listTar)(archivePath, compressionMethod)); const fileSizeLimit = 10737418240, archiveFileSize = utils.getArchiveFileSizeInBytes(archivePath); if (core.debug(`File Size: ${archiveFileSize}`), archiveFileSize > fileSizeLimit && !utils.isGhes()) throw new Error(`Cache size of ~${Math.round(archiveFileSize / 1048576)} MB (${archiveFileSize} B) is over the 10GB limit, not saving cache.`); core.debug("Reserving Cache"); @@ -129,9 +150,32 @@ })); }; }, - 1799: function(__unused_webpack_module, exports, __webpack_require__) { + 3444: function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; - var __awaiter = this && this.__awaiter || function(thisArg, _arguments, P, generator) { + var __createBinding = this && this.__createBinding || (Object.create ? function(o, m, k, k2) { + void 0 === k2 && (k2 = k); + var desc = Object.getOwnPropertyDescriptor(m, k); + desc && !("get" in desc ? !m.__esModule : desc.writable || desc.configurable) || (desc = { + enumerable: !0, + get: function() { + return m[k]; + } + }), Object.defineProperty(o, k2, desc); + } : function(o, m, k, k2) { + void 0 === k2 && (k2 = k), o[k2] = m[k]; + }), __setModuleDefault = this && this.__setModuleDefault || (Object.create ? function(o, v) { + Object.defineProperty(o, "default", { + enumerable: !0, + value: v + }); + } : function(o, v) { + o.default = v; + }), __importStar = this && this.__importStar || function(mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (null != mod) for (var k in mod) "default" !== k && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k); + return __setModuleDefault(result, mod), result; + }, __awaiter = this && this.__awaiter || function(thisArg, _arguments, P, generator) { return new (P || (P = Promise))((function(resolve, reject) { function fulfilled(value) { try { @@ -155,16 +199,11 @@ } step((generator = generator.apply(thisArg, _arguments || [])).next()); })); - }, __importStar = this && this.__importStar || function(mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (null != mod) for (var k in mod) Object.hasOwnProperty.call(mod, k) && (result[k] = mod[k]); - return result.default = mod, result; }; Object.defineProperty(exports, "__esModule", { value: !0 - }); - const core = __importStar(__webpack_require__(2037)), http_client_1 = __webpack_require__(202), auth_1 = __webpack_require__(5337), crypto = __importStar(__webpack_require__(6113)), fs = __importStar(__webpack_require__(7147)), url_1 = __webpack_require__(7310), utils = __importStar(__webpack_require__(9254)), downloadUtils_1 = __webpack_require__(2131), options_1 = __webpack_require__(4679), requestUtils_1 = __webpack_require__(2155), versionSalt = "1.0"; + }), exports.saveCache = exports.reserveCache = exports.downloadCache = exports.getCacheEntry = exports.getCacheVersion = void 0; + const core = __importStar(__webpack_require__(4613)), http_client_1 = __webpack_require__(5001), auth_1 = __webpack_require__(3503), crypto = __importStar(__webpack_require__(6982)), fs = __importStar(__webpack_require__(9896)), url_1 = __webpack_require__(7016), utils = __importStar(__webpack_require__(3318)), downloadUtils_1 = __webpack_require__(9900), options_1 = __webpack_require__(7961), requestUtils_1 = __webpack_require__(6247), versionSalt = "1.0"; function getCacheApiUrl(resource) { const baseUrl = process.env.ACTIONS_CACHE_URL || ""; if (!baseUrl) throw new Error("Cache Service Url not found, unable to restore cache."); @@ -181,7 +220,7 @@ var type, apiVersion; } function getCacheVersion(paths, compressionMethod, enableCrossOsArchive = !1) { - const components = paths; + const components = paths.slice(); return compressionMethod && components.push(compressionMethod), "win32" !== process.platform || enableCrossOsArchive || components.push("windows-only"), components.push(versionSalt), crypto.createHash("sha256").update(components.join("|")).digest("hex"); } @@ -194,20 +233,21 @@ const additionalHeaders = { "Content-Type": "application/octet-stream", "Content-Range": getContentRange(start, end) - }, uploadChunkResponse = yield requestUtils_1.retryHttpClientResponse(`uploadChunk (start: ${start}, end: ${end})`, (() => __awaiter(this, void 0, void 0, (function*() { + }, uploadChunkResponse = yield (0, requestUtils_1.retryHttpClientResponse)(`uploadChunk (start: ${start}, end: ${end})`, (() => __awaiter(this, void 0, void 0, (function*() { return httpClient.sendStream("PATCH", resourceUrl, openStream(), additionalHeaders); })))); - if (!requestUtils_1.isSuccessStatusCode(uploadChunkResponse.message.statusCode)) throw new Error(`Cache service responded with ${uploadChunkResponse.message.statusCode} during upload chunk.`); + if (!(0, requestUtils_1.isSuccessStatusCode)(uploadChunkResponse.message.statusCode)) throw new Error(`Cache service responded with ${uploadChunkResponse.message.statusCode} during upload chunk.`); })); } exports.getCacheVersion = getCacheVersion, exports.getCacheEntry = function(keys, paths, options) { return __awaiter(this, void 0, void 0, (function*() { - const httpClient = createHttpClient(), version = getCacheVersion(paths, null == options ? void 0 : options.compressionMethod, null == options ? void 0 : options.enableCrossOsArchive), resource = `cache?keys=${encodeURIComponent(keys.join(","))}&version=${version}`, response = yield requestUtils_1.retryTypedResponse("getCacheEntry", (() => __awaiter(this, void 0, void 0, (function*() { + const httpClient = createHttpClient(), version = getCacheVersion(paths, null == options ? void 0 : options.compressionMethod, null == options ? void 0 : options.enableCrossOsArchive), resource = `cache?keys=${encodeURIComponent(keys.join(","))}&version=${version}`, response = yield (0, + requestUtils_1.retryTypedResponse)("getCacheEntry", (() => __awaiter(this, void 0, void 0, (function*() { return httpClient.getJson(getCacheApiUrl(resource)); })))); if (204 === response.statusCode) return core.isDebug() && (yield function(key, httpClient, version) { return __awaiter(this, void 0, void 0, (function*() { - const resource = `caches?key=${encodeURIComponent(key)}`, response = yield requestUtils_1.retryTypedResponse("listCache", (() => __awaiter(this, void 0, void 0, (function*() { + const resource = `caches?key=${encodeURIComponent(key)}`, response = yield (0, requestUtils_1.retryTypedResponse)("listCache", (() => __awaiter(this, void 0, void 0, (function*() { return httpClient.getJson(getCacheApiUrl(resource)); })))); if (200 === response.statusCode) { @@ -219,7 +259,7 @@ } })); }(keys[0], httpClient, version)), null; - if (!requestUtils_1.isSuccessStatusCode(response.statusCode)) throw new Error(`Cache service responded with ${response.statusCode}`); + if (!(0, requestUtils_1.isSuccessStatusCode)(response.statusCode)) throw new Error(`Cache service responded with ${response.statusCode}`); const cacheResult = response.result, cacheDownloadUrl = null == cacheResult ? void 0 : cacheResult.archiveLocation; if (!cacheDownloadUrl) throw new Error("Cache not found."); return core.setSecret(cacheDownloadUrl), core.debug("Cache Result:"), core.debug(JSON.stringify(cacheResult)), @@ -227,8 +267,12 @@ })); }, exports.downloadCache = function(archiveLocation, archivePath, options) { return __awaiter(this, void 0, void 0, (function*() { - const archiveUrl = new url_1.URL(archiveLocation), downloadOptions = options_1.getDownloadOptions(options); - downloadOptions.useAzureSdk && archiveUrl.hostname.endsWith(".blob.core.windows.net") ? yield downloadUtils_1.downloadCacheStorageSDK(archiveLocation, archivePath, downloadOptions) : yield downloadUtils_1.downloadCacheHttpClient(archiveLocation, archivePath); + const archiveUrl = new url_1.URL(archiveLocation), downloadOptions = (0, options_1.getDownloadOptions)(options); + archiveUrl.hostname.endsWith(".blob.core.windows.net") ? downloadOptions.useAzureSdk ? yield (0, + downloadUtils_1.downloadCacheStorageSDK)(archiveLocation, archivePath, downloadOptions) : downloadOptions.concurrentBlobDownloads ? yield (0, + downloadUtils_1.downloadCacheHttpClientConcurrent)(archiveLocation, archivePath, downloadOptions) : yield (0, + downloadUtils_1.downloadCacheHttpClient)(archiveLocation, archivePath) : yield (0, + downloadUtils_1.downloadCacheHttpClient)(archiveLocation, archivePath); })); }, exports.reserveCache = function(key, paths, options) { return __awaiter(this, void 0, void 0, (function*() { @@ -237,7 +281,7 @@ version, cacheSize: null == options ? void 0 : options.cacheSize }; - return yield requestUtils_1.retryTypedResponse("reserveCache", (() => __awaiter(this, void 0, void 0, (function*() { + return yield (0, requestUtils_1.retryTypedResponse)("reserveCache", (() => __awaiter(this, void 0, void 0, (function*() { return httpClient.postJson(getCacheApiUrl("caches"), reserveCacheRequest); })))); })); @@ -246,7 +290,8 @@ const httpClient = createHttpClient(); core.debug("Upload cache"), yield function(httpClient, cacheId, archivePath, options) { return __awaiter(this, void 0, void 0, (function*() { - const fileSize = utils.getArchiveFileSizeInBytes(archivePath), resourceUrl = getCacheApiUrl(`caches/${cacheId.toString()}`), fd = fs.openSync(archivePath, "r"), uploadOptions = options_1.getUploadOptions(options), concurrency = utils.assertDefined("uploadConcurrency", uploadOptions.uploadConcurrency), maxChunkSize = utils.assertDefined("uploadChunkSize", uploadOptions.uploadChunkSize), parallelUploads = [ ...new Array(concurrency).keys() ]; + const fileSize = utils.getArchiveFileSizeInBytes(archivePath), resourceUrl = getCacheApiUrl(`caches/${cacheId.toString()}`), fd = fs.openSync(archivePath, "r"), uploadOptions = (0, + options_1.getUploadOptions)(options), concurrency = utils.assertDefined("uploadConcurrency", uploadOptions.uploadConcurrency), maxChunkSize = utils.assertDefined("uploadChunkSize", uploadOptions.uploadChunkSize), parallelUploads = [ ...new Array(concurrency).keys() ]; core.debug("Awaiting all uploads"); let offset = 0; try { @@ -275,19 +320,42 @@ const commitCacheRequest = { size: filesize }; - return yield requestUtils_1.retryTypedResponse("commitCache", (() => __awaiter(this, void 0, void 0, (function*() { + return yield (0, requestUtils_1.retryTypedResponse)("commitCache", (() => __awaiter(this, void 0, void 0, (function*() { return httpClient.postJson(getCacheApiUrl(`caches/${cacheId.toString()}`), commitCacheRequest); })))); })); }(httpClient, cacheId, cacheSize); - if (!requestUtils_1.isSuccessStatusCode(commitCacheResponse.statusCode)) throw new Error(`Cache service responded with ${commitCacheResponse.statusCode} during commit cache.`); + if (!(0, requestUtils_1.isSuccessStatusCode)(commitCacheResponse.statusCode)) throw new Error(`Cache service responded with ${commitCacheResponse.statusCode} during commit cache.`); core.info("Cache saved successfully"); })); }; }, - 9254: function(__unused_webpack_module, exports, __webpack_require__) { + 3318: function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; - var __awaiter = this && this.__awaiter || function(thisArg, _arguments, P, generator) { + var __createBinding = this && this.__createBinding || (Object.create ? function(o, m, k, k2) { + void 0 === k2 && (k2 = k); + var desc = Object.getOwnPropertyDescriptor(m, k); + desc && !("get" in desc ? !m.__esModule : desc.writable || desc.configurable) || (desc = { + enumerable: !0, + get: function() { + return m[k]; + } + }), Object.defineProperty(o, k2, desc); + } : function(o, m, k, k2) { + void 0 === k2 && (k2 = k), o[k2] = m[k]; + }), __setModuleDefault = this && this.__setModuleDefault || (Object.create ? function(o, v) { + Object.defineProperty(o, "default", { + enumerable: !0, + value: v + }); + } : function(o, v) { + o.default = v; + }), __importStar = this && this.__importStar || function(mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (null != mod) for (var k in mod) "default" !== k && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k); + return __setModuleDefault(result, mod), result; + }, __awaiter = this && this.__awaiter || function(thisArg, _arguments, P, generator) { return new (P || (P = Promise))((function(resolve, reject) { function fulfilled(value) { try { @@ -332,22 +400,17 @@ })); }; } - }, __importStar = this && this.__importStar || function(mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (null != mod) for (var k in mod) Object.hasOwnProperty.call(mod, k) && (result[k] = mod[k]); - return result.default = mod, result; }; Object.defineProperty(exports, "__esModule", { value: !0 - }); - const core = __importStar(__webpack_require__(2037)), exec = __importStar(__webpack_require__(69)), glob = __importStar(__webpack_require__(4942)), io = __importStar(__webpack_require__(9475)), fs = __importStar(__webpack_require__(7147)), path = __importStar(__webpack_require__(1017)), semver = __importStar(__webpack_require__(7891)), util = __importStar(__webpack_require__(3837)), uuid_1 = __webpack_require__(2595), constants_1 = __webpack_require__(1722); - function getVersion(app) { + }), exports.isGhes = exports.assertDefined = exports.getGnuTarPathOnWindows = exports.getCacheFileName = exports.getCompressionMethod = exports.unlinkFile = exports.resolvePaths = exports.getArchiveFileSizeInBytes = exports.createTempDirectory = void 0; + const core = __importStar(__webpack_require__(4613)), exec = __importStar(__webpack_require__(3021)), glob = __importStar(__webpack_require__(9457)), io = __importStar(__webpack_require__(8599)), fs = __importStar(__webpack_require__(9896)), path = __importStar(__webpack_require__(6928)), semver = __importStar(__webpack_require__(1213)), util = __importStar(__webpack_require__(9023)), uuid_1 = __webpack_require__(7768), constants_1 = __webpack_require__(5264); + function getVersion(app, additionalArgs = []) { return __awaiter(this, void 0, void 0, (function*() { - core.debug(`Checking ${app} --version`); let versionOutput = ""; + additionalArgs.push("--version"), core.debug(`Checking ${app} ${additionalArgs.join(" ")}`); try { - yield exec.exec(`${app} --version`, [], { + yield exec.exec(`${app}`, additionalArgs, { ignoreReturnCode: !0, silent: !0, listeners: { @@ -370,20 +433,22 @@ baseLocation = IS_WINDOWS ? process.env.USERPROFILE || "C:\\" : "darwin" === process.platform ? "/Users" : "/home", tempDirectory = path.join(baseLocation, "actions", "temp"); } - const dest = path.join(tempDirectory, uuid_1.v4()); + const dest = path.join(tempDirectory, (0, uuid_1.v4)()); return yield io.mkdirP(dest), dest; })); }, exports.getArchiveFileSizeInBytes = function(filePath) { return fs.statSync(filePath).size; }, exports.resolvePaths = function(patterns) { - var e_1, _a, _b; + var _a, e_1, _b, _c, _d; return __awaiter(this, void 0, void 0, (function*() { - const paths = [], workspace = null !== (_b = process.env.GITHUB_WORKSPACE) && void 0 !== _b ? _b : process.cwd(), globber = yield glob.create(patterns.join("\n"), { + const paths = [], workspace = null !== (_d = process.env.GITHUB_WORKSPACE) && void 0 !== _d ? _d : process.cwd(), globber = yield glob.create(patterns.join("\n"), { implicitDescendants: !1 }); try { - for (var _d, _c = __asyncValues(globber.globGenerator()); !(_d = yield _c.next()).done; ) { - const file = _d.value, relativeFile = path.relative(workspace, file).replace(new RegExp(`\\${path.sep}`, "g"), "/"); + for (var _g, _e = !0, _f = __asyncValues(globber.globGenerator()); _g = yield _f.next(), + !(_a = _g.done); _e = !0) { + _c = _g.value, _e = !1; + const file = _c, relativeFile = path.relative(workspace, file).replace(new RegExp(`\\${path.sep}`, "g"), "/"); core.debug(`Matched: ${relativeFile}`), "" === relativeFile ? paths.push(".") : paths.push(`${relativeFile}`); } } catch (e_1_1) { @@ -392,7 +457,7 @@ }; } finally { try { - _d && !_d.done && (_a = _c.return) && (yield _a.call(_c)); + _e || _a || !(_b = _f.return) || (yield _b.call(_f)); } finally { if (e_1) throw e_1.error; } @@ -405,8 +470,8 @@ })); }, exports.getCompressionMethod = function() { return __awaiter(this, void 0, void 0, (function*() { - const versionOutput = yield getVersion("zstd"), version = semver.clean(versionOutput); - return versionOutput.toLowerCase().includes("zstd command line interface") ? !version || semver.lt(version, "v1.3.2") ? constants_1.CompressionMethod.ZstdWithoutLong : constants_1.CompressionMethod.Zstd : constants_1.CompressionMethod.Gzip; + const versionOutput = yield getVersion("zstd", [ "--quiet" ]), version = semver.clean(versionOutput); + return core.debug(`zstd version: ${version}`), "" === versionOutput ? constants_1.CompressionMethod.Gzip : constants_1.CompressionMethod.ZstdWithoutLong; })); }, exports.getCacheFileName = function(compressionMethod) { return compressionMethod === constants_1.CompressionMethod.Gzip ? constants_1.CacheFilename.Gzip : constants_1.CacheFilename.Zstd; @@ -419,28 +484,54 @@ if (void 0 === value) throw Error(`Expected ${name} but value was undefiend`); return value; }, exports.isGhes = function() { - return "GITHUB.COM" !== new URL(process.env.GITHUB_SERVER_URL || "https://github.com").hostname.toUpperCase(); + const hostname = new URL(process.env.GITHUB_SERVER_URL || "https://github.com").hostname.trimEnd().toUpperCase(), isGitHubHost = "GITHUB.COM" === hostname, isGheHost = hostname.endsWith(".GHE.COM") || hostname.endsWith(".GHE.LOCALHOST"); + return !isGitHubHost && !isGheHost; }; }, - 1722: (__unused_webpack_module, exports) => { + 5264: (__unused_webpack_module, exports) => { "use strict"; + var CacheFilename, CompressionMethod, ArchiveToolType; Object.defineProperty(exports, "__esModule", { value: !0 - }), function(CacheFilename) { + }), exports.ManifestFilename = exports.TarFilename = exports.SystemTarPathOnWindows = exports.GnuTarPathOnWindows = exports.SocketTimeout = exports.DefaultRetryDelay = exports.DefaultRetryAttempts = exports.ArchiveToolType = exports.CompressionMethod = exports.CacheFilename = void 0, + function(CacheFilename) { CacheFilename.Gzip = "cache.tgz", CacheFilename.Zstd = "cache.tzst"; - }(exports.CacheFilename || (exports.CacheFilename = {})), function(CompressionMethod) { + }(CacheFilename || (exports.CacheFilename = CacheFilename = {})), function(CompressionMethod) { CompressionMethod.Gzip = "gzip", CompressionMethod.ZstdWithoutLong = "zstd-without-long", CompressionMethod.Zstd = "zstd"; - }(exports.CompressionMethod || (exports.CompressionMethod = {})), function(ArchiveToolType) { + }(CompressionMethod || (exports.CompressionMethod = CompressionMethod = {})), function(ArchiveToolType) { ArchiveToolType.GNU = "gnu", ArchiveToolType.BSD = "bsd"; - }(exports.ArchiveToolType || (exports.ArchiveToolType = {})), exports.DefaultRetryAttempts = 2, + }(ArchiveToolType || (exports.ArchiveToolType = ArchiveToolType = {})), exports.DefaultRetryAttempts = 2, exports.DefaultRetryDelay = 5e3, exports.SocketTimeout = 5e3, exports.GnuTarPathOnWindows = `${process.env.PROGRAMFILES}\\Git\\usr\\bin\\tar.exe`, exports.SystemTarPathOnWindows = `${process.env.SYSTEMDRIVE}\\Windows\\System32\\tar.exe`, exports.TarFilename = "cache.tar", exports.ManifestFilename = "manifest.txt"; }, - 2131: function(__unused_webpack_module, exports, __webpack_require__) { + 9900: function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; - var __awaiter = this && this.__awaiter || function(thisArg, _arguments, P, generator) { + var __createBinding = this && this.__createBinding || (Object.create ? function(o, m, k, k2) { + void 0 === k2 && (k2 = k); + var desc = Object.getOwnPropertyDescriptor(m, k); + desc && !("get" in desc ? !m.__esModule : desc.writable || desc.configurable) || (desc = { + enumerable: !0, + get: function() { + return m[k]; + } + }), Object.defineProperty(o, k2, desc); + } : function(o, m, k, k2) { + void 0 === k2 && (k2 = k), o[k2] = m[k]; + }), __setModuleDefault = this && this.__setModuleDefault || (Object.create ? function(o, v) { + Object.defineProperty(o, "default", { + enumerable: !0, + value: v + }); + } : function(o, v) { + o.default = v; + }), __importStar = this && this.__importStar || function(mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (null != mod) for (var k in mod) "default" !== k && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k); + return __setModuleDefault(result, mod), result; + }, __awaiter = this && this.__awaiter || function(thisArg, _arguments, P, generator) { return new (P || (P = Promise))((function(resolve, reject) { function fulfilled(value) { try { @@ -464,16 +555,11 @@ } step((generator = generator.apply(thisArg, _arguments || [])).next()); })); - }, __importStar = this && this.__importStar || function(mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (null != mod) for (var k in mod) Object.hasOwnProperty.call(mod, k) && (result[k] = mod[k]); - return result.default = mod, result; }; Object.defineProperty(exports, "__esModule", { value: !0 - }); - const core = __importStar(__webpack_require__(2037)), http_client_1 = __webpack_require__(202), storage_blob_1 = __webpack_require__(4556), buffer = __importStar(__webpack_require__(4300)), fs = __importStar(__webpack_require__(7147)), stream = __importStar(__webpack_require__(2781)), util = __importStar(__webpack_require__(3837)), utils = __importStar(__webpack_require__(9254)), constants_1 = __webpack_require__(1722), requestUtils_1 = __webpack_require__(2155), abort_controller_1 = __webpack_require__(4851); + }), exports.downloadCacheStorageSDK = exports.downloadCacheHttpClientConcurrent = exports.downloadCacheHttpClient = exports.DownloadProgress = void 0; + const core = __importStar(__webpack_require__(4613)), http_client_1 = __webpack_require__(5001), storage_blob_1 = __webpack_require__(848), buffer = __importStar(__webpack_require__(181)), fs = __importStar(__webpack_require__(9896)), stream = __importStar(__webpack_require__(2203)), util = __importStar(__webpack_require__(9023)), utils = __importStar(__webpack_require__(3318)), constants_1 = __webpack_require__(5264), requestUtils_1 = __webpack_require__(6247), abort_controller_1 = __webpack_require__(4599); class DownloadProgress { constructor(contentLength) { this.contentLength = contentLength, this.segmentIndex = 0, this.segmentSize = 0, @@ -516,7 +602,8 @@ } function downloadCacheHttpClient(archiveLocation, archivePath) { return __awaiter(this, void 0, void 0, (function*() { - const writeStream = fs.createWriteStream(archivePath), httpClient = new http_client_1.HttpClient("actions/cache"), downloadResponse = yield requestUtils_1.retryHttpClientResponse("downloadCache", (() => __awaiter(this, void 0, void 0, (function*() { + const writeStream = fs.createWriteStream(archivePath), httpClient = new http_client_1.HttpClient("actions/cache"), downloadResponse = yield (0, + requestUtils_1.retryHttpClientResponse)("downloadCache", (() => __awaiter(this, void 0, void 0, (function*() { return httpClient.get(archiveLocation); })))); downloadResponse.message.socket.setTimeout(constants_1.SocketTimeout, (() => { @@ -534,8 +621,81 @@ } else core.debug("Unable to validate download, no Content-Length header"); })); } + function downloadSegmentRetry(httpClient, archiveLocation, offset, count) { + return __awaiter(this, void 0, void 0, (function*() { + let failures = 0; + for (;;) try { + const timeout = 3e4, result = yield promiseWithTimeout(timeout, downloadSegment(httpClient, archiveLocation, offset, count)); + if ("string" == typeof result) throw new Error("downloadSegmentRetry failed due to timeout"); + return result; + } catch (err) { + if (failures >= 5) throw err; + failures++; + } + })); + } + function downloadSegment(httpClient, archiveLocation, offset, count) { + return __awaiter(this, void 0, void 0, (function*() { + const partRes = yield (0, requestUtils_1.retryHttpClientResponse)("downloadCachePart", (() => __awaiter(this, void 0, void 0, (function*() { + return yield httpClient.get(archiveLocation, { + Range: `bytes=${offset}-${offset + count - 1}` + }); + })))); + if (!partRes.readBodyBuffer) throw new Error("Expected HttpClientResponse to implement readBodyBuffer"); + return { + offset, + count, + buffer: yield partRes.readBodyBuffer() + }; + })); + } exports.DownloadProgress = DownloadProgress, exports.downloadCacheHttpClient = downloadCacheHttpClient, - exports.downloadCacheStorageSDK = function(archiveLocation, archivePath, options) { + exports.downloadCacheHttpClientConcurrent = function(archiveLocation, archivePath, options) { + var _a; + return __awaiter(this, void 0, void 0, (function*() { + const archiveDescriptor = yield fs.promises.open(archivePath, "w"), httpClient = new http_client_1.HttpClient("actions/cache", void 0, { + socketTimeout: options.timeoutInMs, + keepAlive: !0 + }); + try { + const lengthHeader = (yield (0, requestUtils_1.retryHttpClientResponse)("downloadCacheMetadata", (() => __awaiter(this, void 0, void 0, (function*() { + return yield httpClient.request("HEAD", archiveLocation, null, {}); + }))))).message.headers["content-length"]; + if (null == lengthHeader) throw new Error("Content-Length not found on blob response"); + const length = parseInt(lengthHeader); + if (Number.isNaN(length)) throw new Error(`Could not interpret Content-Length: ${length}`); + const downloads = [], blockSize = 4194304; + for (let offset = 0; offset < length; offset += blockSize) { + const count = Math.min(blockSize, length - offset); + downloads.push({ + offset, + promiseGetter: () => __awaiter(this, void 0, void 0, (function*() { + return yield downloadSegmentRetry(httpClient, archiveLocation, offset, count); + })) + }); + } + downloads.reverse(); + let actives = 0, bytesDownloaded = 0; + const progress = new DownloadProgress(length); + progress.startDisplayTimer(); + const progressFn = progress.onProgress(), activeDownloads = []; + let nextDownload; + const waitAndWrite = () => __awaiter(this, void 0, void 0, (function*() { + const segment = yield Promise.race(Object.values(activeDownloads)); + yield archiveDescriptor.write(segment.buffer, 0, segment.count, segment.offset), + actives--, delete activeDownloads[segment.offset], bytesDownloaded += segment.count, + progressFn({ + loadedBytes: bytesDownloaded + }); + })); + for (;nextDownload = downloads.pop(); ) activeDownloads[nextDownload.offset] = nextDownload.promiseGetter(), + actives++, actives >= (null !== (_a = options.downloadConcurrency) && void 0 !== _a ? _a : 10) && (yield waitAndWrite()); + for (;actives > 0; ) yield waitAndWrite(); + } finally { + httpClient.dispose(), yield archiveDescriptor.close(); + } + })); + }, exports.downloadCacheStorageSDK = function(archiveLocation, archivePath, options) { var _a; return __awaiter(this, void 0, void 0, (function*() { const client = new storage_blob_1.BlockBlobClient(archiveLocation, void 0, { @@ -545,7 +705,7 @@ }), properties = yield client.getProperties(), contentLength = null !== (_a = properties.contentLength) && void 0 !== _a ? _a : -1; if (contentLength < 0) core.debug("Unable to determine content length, downloading file with http-client..."), yield downloadCacheHttpClient(archiveLocation, archivePath); else { - const maxSegmentSize = Math.min(2147483647, buffer.constants.MAX_LENGTH), downloadProgress = new DownloadProgress(contentLength), fd = fs.openSync(archivePath, "w"); + const maxSegmentSize = Math.min(134217728, buffer.constants.MAX_LENGTH), downloadProgress = new DownloadProgress(contentLength), fd = fs.openSync(archivePath, "w"); try { downloadProgress.startDisplayTimer(); const controller = new abort_controller_1.AbortController, abortSignal = controller.signal; @@ -575,9 +735,32 @@ result))); })); }, - 2155: function(__unused_webpack_module, exports, __webpack_require__) { + 6247: function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; - var __awaiter = this && this.__awaiter || function(thisArg, _arguments, P, generator) { + var __createBinding = this && this.__createBinding || (Object.create ? function(o, m, k, k2) { + void 0 === k2 && (k2 = k); + var desc = Object.getOwnPropertyDescriptor(m, k); + desc && !("get" in desc ? !m.__esModule : desc.writable || desc.configurable) || (desc = { + enumerable: !0, + get: function() { + return m[k]; + } + }), Object.defineProperty(o, k2, desc); + } : function(o, m, k, k2) { + void 0 === k2 && (k2 = k), o[k2] = m[k]; + }), __setModuleDefault = this && this.__setModuleDefault || (Object.create ? function(o, v) { + Object.defineProperty(o, "default", { + enumerable: !0, + value: v + }); + } : function(o, v) { + o.default = v; + }), __importStar = this && this.__importStar || function(mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (null != mod) for (var k in mod) "default" !== k && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k); + return __setModuleDefault(result, mod), result; + }, __awaiter = this && this.__awaiter || function(thisArg, _arguments, P, generator) { return new (P || (P = Promise))((function(resolve, reject) { function fulfilled(value) { try { @@ -601,16 +784,11 @@ } step((generator = generator.apply(thisArg, _arguments || [])).next()); })); - }, __importStar = this && this.__importStar || function(mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (null != mod) for (var k in mod) Object.hasOwnProperty.call(mod, k) && (result[k] = mod[k]); - return result.default = mod, result; }; Object.defineProperty(exports, "__esModule", { value: !0 - }); - const core = __importStar(__webpack_require__(2037)), http_client_1 = __webpack_require__(202), constants_1 = __webpack_require__(1722); + }), exports.retryHttpClientResponse = exports.retryTypedResponse = exports.retry = exports.isRetryableStatusCode = exports.isServerErrorStatusCode = exports.isSuccessStatusCode = void 0; + const core = __importStar(__webpack_require__(4613)), http_client_1 = __webpack_require__(5001), constants_1 = __webpack_require__(5264); function isServerErrorStatusCode(statusCode) { return !statusCode || statusCode >= 500; } @@ -623,7 +801,7 @@ return new Promise((resolve => setTimeout(resolve, milliseconds))); })); } - function retry(name, method, getStatusCode, maxAttempts = constants_1.DefaultRetryAttempts, delay = constants_1.DefaultRetryDelay, onError = undefined) { + function retry(name, method, getStatusCode, maxAttempts = constants_1.DefaultRetryAttempts, delay = constants_1.DefaultRetryDelay, onError = void 0) { return __awaiter(this, void 0, void 0, (function*() { let errorMessage = "", attempt = 1; for (;attempt <= maxAttempts; ) { @@ -663,9 +841,32 @@ })); }; }, - 2497: function(__unused_webpack_module, exports, __webpack_require__) { + 2: function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; - var __awaiter = this && this.__awaiter || function(thisArg, _arguments, P, generator) { + var __createBinding = this && this.__createBinding || (Object.create ? function(o, m, k, k2) { + void 0 === k2 && (k2 = k); + var desc = Object.getOwnPropertyDescriptor(m, k); + desc && !("get" in desc ? !m.__esModule : desc.writable || desc.configurable) || (desc = { + enumerable: !0, + get: function() { + return m[k]; + } + }), Object.defineProperty(o, k2, desc); + } : function(o, m, k, k2) { + void 0 === k2 && (k2 = k), o[k2] = m[k]; + }), __setModuleDefault = this && this.__setModuleDefault || (Object.create ? function(o, v) { + Object.defineProperty(o, "default", { + enumerable: !0, + value: v + }); + } : function(o, v) { + o.default = v; + }), __importStar = this && this.__importStar || function(mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (null != mod) for (var k in mod) "default" !== k && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k); + return __setModuleDefault(result, mod), result; + }, __awaiter = this && this.__awaiter || function(thisArg, _arguments, P, generator) { return new (P || (P = Promise))((function(resolve, reject) { function fulfilled(value) { try { @@ -689,16 +890,11 @@ } step((generator = generator.apply(thisArg, _arguments || [])).next()); })); - }, __importStar = this && this.__importStar || function(mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (null != mod) for (var k in mod) Object.hasOwnProperty.call(mod, k) && (result[k] = mod[k]); - return result.default = mod, result; }; Object.defineProperty(exports, "__esModule", { value: !0 - }); - const exec_1 = __webpack_require__(69), io = __importStar(__webpack_require__(9475)), fs_1 = __webpack_require__(7147), path = __importStar(__webpack_require__(1017)), utils = __importStar(__webpack_require__(9254)), constants_1 = __webpack_require__(1722), IS_WINDOWS = "win32" === process.platform; + }), exports.createTar = exports.extractTar = exports.listTar = void 0; + const exec_1 = __webpack_require__(3021), io = __importStar(__webpack_require__(8599)), fs_1 = __webpack_require__(9896), path = __importStar(__webpack_require__(6928)), utils = __importStar(__webpack_require__(3318)), constants_1 = __webpack_require__(5264), IS_WINDOWS = "win32" === process.platform; function getCommands(compressionMethod, type, archivePath = "") { return __awaiter(this, void 0, void 0, (function*() { let args; @@ -712,7 +908,7 @@ path: gnuTar, type: constants_1.ArchiveToolType.GNU }; - if (fs_1.existsSync(systemTar)) return { + if ((0, fs_1.existsSync)(systemTar)) return { path: systemTar, type: constants_1.ArchiveToolType.BSD }; @@ -801,7 +997,7 @@ function execCommands(commands, cwd) { return __awaiter(this, void 0, void 0, (function*() { for (const command of commands) try { - yield exec_1.exec(command, void 0, { + yield (0, exec_1.exec)(command, void 0, { cwd, env: Object.assign(Object.assign({}, process.env), { MSYS: "winsymlinks:nativestrict" @@ -826,24 +1022,42 @@ })); }, exports.createTar = function(archiveFolder, sourceDirectories, compressionMethod) { return __awaiter(this, void 0, void 0, (function*() { - fs_1.writeFileSync(path.join(archiveFolder, constants_1.ManifestFilename), sourceDirectories.join("\n")); + (0, fs_1.writeFileSync)(path.join(archiveFolder, constants_1.ManifestFilename), sourceDirectories.join("\n")); const commands = yield getCommands(compressionMethod, "create"); yield execCommands(commands, archiveFolder); })); }; }, - 4679: function(__unused_webpack_module, exports, __webpack_require__) { + 7961: function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; - var __importStar = this && this.__importStar || function(mod) { + var __createBinding = this && this.__createBinding || (Object.create ? function(o, m, k, k2) { + void 0 === k2 && (k2 = k); + var desc = Object.getOwnPropertyDescriptor(m, k); + desc && !("get" in desc ? !m.__esModule : desc.writable || desc.configurable) || (desc = { + enumerable: !0, + get: function() { + return m[k]; + } + }), Object.defineProperty(o, k2, desc); + } : function(o, m, k, k2) { + void 0 === k2 && (k2 = k), o[k2] = m[k]; + }), __setModuleDefault = this && this.__setModuleDefault || (Object.create ? function(o, v) { + Object.defineProperty(o, "default", { + enumerable: !0, + value: v + }); + } : function(o, v) { + o.default = v; + }), __importStar = this && this.__importStar || function(mod) { if (mod && mod.__esModule) return mod; var result = {}; - if (null != mod) for (var k in mod) Object.hasOwnProperty.call(mod, k) && (result[k] = mod[k]); - return result.default = mod, result; + if (null != mod) for (var k in mod) "default" !== k && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k); + return __setModuleDefault(result, mod), result; }; Object.defineProperty(exports, "__esModule", { value: !0 - }); - const core = __importStar(__webpack_require__(2037)); + }), exports.getDownloadOptions = exports.getUploadOptions = void 0; + const core = __importStar(__webpack_require__(4613)); exports.getUploadOptions = function(copy) { const result = { uploadConcurrency: 4, @@ -855,23 +1069,28 @@ result; }, exports.getDownloadOptions = function(copy) { const result = { - useAzureSdk: !0, + useAzureSdk: !1, + concurrentBlobDownloads: !0, downloadConcurrency: 8, timeoutInMs: 3e4, - segmentTimeoutInMs: 36e5 + segmentTimeoutInMs: 6e5, + lookupOnly: !1 }; copy && ("boolean" == typeof copy.useAzureSdk && (result.useAzureSdk = copy.useAzureSdk), + "boolean" == typeof copy.concurrentBlobDownloads && (result.concurrentBlobDownloads = copy.concurrentBlobDownloads), "number" == typeof copy.downloadConcurrency && (result.downloadConcurrency = copy.downloadConcurrency), "number" == typeof copy.timeoutInMs && (result.timeoutInMs = copy.timeoutInMs), - "number" == typeof copy.segmentTimeoutInMs && (result.segmentTimeoutInMs = copy.segmentTimeoutInMs)); + "number" == typeof copy.segmentTimeoutInMs && (result.segmentTimeoutInMs = copy.segmentTimeoutInMs), + "boolean" == typeof copy.lookupOnly && (result.lookupOnly = copy.lookupOnly)); const segmentDownloadTimeoutMins = process.env.SEGMENT_DOWNLOAD_TIMEOUT_MINS; return segmentDownloadTimeoutMins && !isNaN(Number(segmentDownloadTimeoutMins)) && isFinite(Number(segmentDownloadTimeoutMins)) && (result.segmentTimeoutInMs = 60 * Number(segmentDownloadTimeoutMins) * 1e3), core.debug(`Use Azure SDK: ${result.useAzureSdk}`), core.debug(`Download concurrency: ${result.downloadConcurrency}`), core.debug(`Request timeout (ms): ${result.timeoutInMs}`), core.debug(`Cache segment download timeout mins env var: ${process.env.SEGMENT_DOWNLOAD_TIMEOUT_MINS}`), - core.debug(`Segment download timeout (ms): ${result.segmentTimeoutInMs}`), result; + core.debug(`Segment download timeout (ms): ${result.segmentTimeoutInMs}`), core.debug(`Lookup only: ${result.lookupOnly}`), + result; }; }, - 4942: function(__unused_webpack_module, exports, __webpack_require__) { + 9457: function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; var __awaiter = this && this.__awaiter || function(thisArg, _arguments, P, generator) { return new (P || (P = Promise))((function(resolve, reject) { @@ -901,14 +1120,14 @@ Object.defineProperty(exports, "__esModule", { value: !0 }), exports.create = void 0; - const internal_globber_1 = __webpack_require__(9557); + const internal_globber_1 = __webpack_require__(948); exports.create = function(patterns, options) { return __awaiter(this, void 0, void 0, (function*() { return yield internal_globber_1.DefaultGlobber.create(patterns, options); })); }; }, - 5: function(__unused_webpack_module, exports, __webpack_require__) { + 3087: function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; var __createBinding = this && this.__createBinding || (Object.create ? function(o, m, k, k2) { void 0 === k2 && (k2 = k), Object.defineProperty(o, k2, { @@ -935,7 +1154,7 @@ Object.defineProperty(exports, "__esModule", { value: !0 }), exports.getOptions = void 0; - const core = __importStar(__webpack_require__(2037)); + const core = __importStar(__webpack_require__(4613)); exports.getOptions = function(copy) { const result = { followSymbolicLinks: !0, @@ -948,7 +1167,7 @@ core.debug(`omitBrokenSymbolicLinks '${result.omitBrokenSymbolicLinks}'`))), result; }; }, - 9557: function(__unused_webpack_module, exports, __webpack_require__) { + 948: function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; var __createBinding = this && this.__createBinding || (Object.create ? function(o, m, k, k2) { void 0 === k2 && (k2 = k), Object.defineProperty(o, k2, { @@ -1052,7 +1271,7 @@ Object.defineProperty(exports, "__esModule", { value: !0 }), exports.DefaultGlobber = void 0; - const core = __importStar(__webpack_require__(2037)), fs = __importStar(__webpack_require__(7147)), globOptionsHelper = __importStar(__webpack_require__(5)), path = __importStar(__webpack_require__(1017)), patternHelper = __importStar(__webpack_require__(6181)), internal_match_kind_1 = __webpack_require__(421), internal_pattern_1 = __webpack_require__(5564), internal_search_state_1 = __webpack_require__(6038), IS_WINDOWS = "win32" === process.platform; + const core = __importStar(__webpack_require__(4613)), fs = __importStar(__webpack_require__(9896)), globOptionsHelper = __importStar(__webpack_require__(3087)), path = __importStar(__webpack_require__(6928)), patternHelper = __importStar(__webpack_require__(1454)), internal_match_kind_1 = __webpack_require__(3449), internal_pattern_1 = __webpack_require__(4581), internal_search_state_1 = __webpack_require__(227), IS_WINDOWS = "win32" === process.platform; class DefaultGlobber { constructor(options) { this.patterns = [], this.searchPaths = [], this.options = globOptionsHelper.getOptions(options); @@ -1145,7 +1364,7 @@ } exports.DefaultGlobber = DefaultGlobber; }, - 421: (__unused_webpack_module, exports) => { + 3449: (__unused_webpack_module, exports) => { "use strict"; Object.defineProperty(exports, "__esModule", { value: !0 @@ -1154,7 +1373,7 @@ MatchKind[MatchKind.File = 2] = "File", MatchKind[MatchKind.All = 3] = "All"; }(exports.MatchKind || (exports.MatchKind = {})); }, - 1825: function(__unused_webpack_module, exports, __webpack_require__) { + 1453: function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; var __createBinding = this && this.__createBinding || (Object.create ? function(o, m, k, k2) { void 0 === k2 && (k2 = k), Object.defineProperty(o, k2, { @@ -1185,7 +1404,7 @@ Object.defineProperty(exports, "__esModule", { value: !0 }), exports.safeTrimTrailingSeparator = exports.normalizeSeparators = exports.hasRoot = exports.hasAbsoluteRoot = exports.ensureAbsoluteRoot = exports.dirname = void 0; - const path = __importStar(__webpack_require__(1017)), assert_1 = __importDefault(__webpack_require__(9491)), IS_WINDOWS = "win32" === process.platform; + const path = __importStar(__webpack_require__(6928)), assert_1 = __importDefault(__webpack_require__(2613)), IS_WINDOWS = "win32" === process.platform; function hasAbsoluteRoot(itemPath) { return assert_1.default(itemPath, "hasAbsoluteRoot parameter 'itemPath' must not be empty"), itemPath = normalizeSeparators(itemPath), IS_WINDOWS ? itemPath.startsWith("\\\\") || /^[A-Z]:\\/i.test(itemPath) : itemPath.startsWith("/"); @@ -1229,7 +1448,7 @@ itemPath = normalizeSeparators(itemPath), IS_WINDOWS ? itemPath.startsWith("\\") || /^[A-Z]:/i.test(itemPath) : itemPath.startsWith("/"); }, exports.normalizeSeparators = normalizeSeparators, exports.safeTrimTrailingSeparator = safeTrimTrailingSeparator; }, - 5329: function(__unused_webpack_module, exports, __webpack_require__) { + 3004: function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; var __createBinding = this && this.__createBinding || (Object.create ? function(o, m, k, k2) { void 0 === k2 && (k2 = k), Object.defineProperty(o, k2, { @@ -1260,7 +1479,7 @@ Object.defineProperty(exports, "__esModule", { value: !0 }), exports.Path = void 0; - const path = __importStar(__webpack_require__(1017)), pathHelper = __importStar(__webpack_require__(1825)), assert_1 = __importDefault(__webpack_require__(9491)), IS_WINDOWS = "win32" === process.platform; + const path = __importStar(__webpack_require__(6928)), pathHelper = __importStar(__webpack_require__(1453)), assert_1 = __importDefault(__webpack_require__(2613)), IS_WINDOWS = "win32" === process.platform; exports.Path = class { constructor(itemPath) { if (this.segments = [], "string" == typeof itemPath) if (assert_1.default(itemPath, "Parameter 'itemPath' must not be empty"), @@ -1291,7 +1510,7 @@ } }; }, - 6181: function(__unused_webpack_module, exports, __webpack_require__) { + 1454: function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; var __createBinding = this && this.__createBinding || (Object.create ? function(o, m, k, k2) { void 0 === k2 && (k2 = k), Object.defineProperty(o, k2, { @@ -1318,7 +1537,7 @@ Object.defineProperty(exports, "__esModule", { value: !0 }), exports.partialMatch = exports.match = exports.getSearchPaths = void 0; - const pathHelper = __importStar(__webpack_require__(1825)), internal_match_kind_1 = __webpack_require__(421), IS_WINDOWS = "win32" === process.platform; + const pathHelper = __importStar(__webpack_require__(1453)), internal_match_kind_1 = __webpack_require__(3449), IS_WINDOWS = "win32" === process.platform; exports.getSearchPaths = function(patterns) { patterns = patterns.filter((x => !x.negate)); const searchPathMap = {}; @@ -1348,7 +1567,7 @@ return patterns.some((x => !x.negate && x.partialMatch(itemPath))); }; }, - 5564: function(__unused_webpack_module, exports, __webpack_require__) { + 4581: function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; var __createBinding = this && this.__createBinding || (Object.create ? function(o, m, k, k2) { void 0 === k2 && (k2 = k), Object.defineProperty(o, k2, { @@ -1379,7 +1598,7 @@ Object.defineProperty(exports, "__esModule", { value: !0 }), exports.Pattern = void 0; - const os = __importStar(__webpack_require__(9563)), path = __importStar(__webpack_require__(1017)), pathHelper = __importStar(__webpack_require__(1825)), assert_1 = __importDefault(__webpack_require__(9491)), minimatch_1 = __webpack_require__(2979), internal_match_kind_1 = __webpack_require__(421), internal_path_1 = __webpack_require__(5329), IS_WINDOWS = "win32" === process.platform; + const os = __importStar(__webpack_require__(857)), path = __importStar(__webpack_require__(6928)), pathHelper = __importStar(__webpack_require__(1453)), assert_1 = __importDefault(__webpack_require__(2613)), minimatch_1 = __webpack_require__(2535), internal_match_kind_1 = __webpack_require__(3449), internal_path_1 = __webpack_require__(3004), IS_WINDOWS = "win32" === process.platform; class Pattern { constructor(patternOrNegate, isImplicitPattern = !1, segments, homedir) { let pattern; @@ -1470,7 +1689,7 @@ } exports.Pattern = Pattern; }, - 6038: (__unused_webpack_module, exports) => { + 227: (__unused_webpack_module, exports) => { "use strict"; Object.defineProperty(exports, "__esModule", { value: !0 @@ -1481,25 +1700,93 @@ } }; }, - 2595: (module, __unused_webpack_exports, __webpack_require__) => { - var v1 = __webpack_require__(5254), v4 = __webpack_require__(7426), uuid = v4; + 4599: (__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + "use strict"; + __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, { + AbortController: () => AbortController, + AbortError: () => AbortError, + AbortSignal: () => AbortSignal + }); + const listenersMap = new WeakMap, abortedMap = new WeakMap; + class AbortSignal { + constructor() { + this.onabort = null, listenersMap.set(this, []), abortedMap.set(this, !1); + } + get aborted() { + if (!abortedMap.has(this)) throw new TypeError("Expected `this` to be an instance of AbortSignal."); + return abortedMap.get(this); + } + static get none() { + return new AbortSignal; + } + addEventListener(_type, listener) { + if (!listenersMap.has(this)) throw new TypeError("Expected `this` to be an instance of AbortSignal."); + listenersMap.get(this).push(listener); + } + removeEventListener(_type, listener) { + if (!listenersMap.has(this)) throw new TypeError("Expected `this` to be an instance of AbortSignal."); + const listeners = listenersMap.get(this), index = listeners.indexOf(listener); + index > -1 && listeners.splice(index, 1); + } + dispatchEvent(_event) { + throw new Error("This is a stub dispatchEvent implementation that should not be used. It only exists for type-checking purposes."); + } + } + function abortSignal(signal) { + if (signal.aborted) return; + signal.onabort && signal.onabort.call(signal); + const listeners = listenersMap.get(signal); + listeners && listeners.slice().forEach((listener => { + listener.call(signal, { + type: "abort" + }); + })), abortedMap.set(signal, !0); + } + class AbortError extends Error { + constructor(message) { + super(message), this.name = "AbortError"; + } + } + class AbortController { + constructor(parentSignals) { + if (this._signal = new AbortSignal, parentSignals) { + Array.isArray(parentSignals) || (parentSignals = arguments); + for (const parentSignal of parentSignals) parentSignal.aborted ? this.abort() : parentSignal.addEventListener("abort", (() => { + this.abort(); + })); + } + } + get signal() { + return this._signal; + } + abort() { + abortSignal(this._signal); + } + static timeout(ms) { + const signal = new AbortSignal, timer = setTimeout(abortSignal, ms, signal); + return "function" == typeof timer.unref && timer.unref(), signal; + } + } + }, + 7768: (module, __unused_webpack_exports, __webpack_require__) => { + var v1 = __webpack_require__(1111), v4 = __webpack_require__(6140), uuid = v4; uuid.v1 = v1, uuid.v4 = v4, module.exports = uuid; }, - 9216: module => { + 9665: module => { for (var byteToHex = [], i = 0; i < 256; ++i) byteToHex[i] = (i + 256).toString(16).substr(1); module.exports = function(buf, offset) { var i = offset || 0, bth = byteToHex; return [ bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], "-", bth[buf[i++]], bth[buf[i++]], "-", bth[buf[i++]], bth[buf[i++]], "-", bth[buf[i++]], bth[buf[i++]], "-", bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], bth[buf[i++]] ].join(""); }; }, - 9638: (module, __unused_webpack_exports, __webpack_require__) => { - var crypto = __webpack_require__(6113); + 8201: (module, __unused_webpack_exports, __webpack_require__) => { + var crypto = __webpack_require__(6982); module.exports = function() { return crypto.randomBytes(16); }; }, - 5254: (module, __unused_webpack_exports, __webpack_require__) => { - var _nodeId, _clockseq, rng = __webpack_require__(9638), bytesToUuid = __webpack_require__(9216), _lastMSecs = 0, _lastNSecs = 0; + 1111: (module, __unused_webpack_exports, __webpack_require__) => { + var _nodeId, _clockseq, rng = __webpack_require__(8201), bytesToUuid = __webpack_require__(9665), _lastMSecs = 0, _lastNSecs = 0; module.exports = function(options, buf, offset) { var i = buf && offset || 0, b = buf || [], node = (options = options || {}).node || _nodeId, clockseq = void 0 !== options.clockseq ? options.clockseq : _clockseq; if (null == node || null == clockseq) { @@ -1520,8 +1807,8 @@ return buf || bytesToUuid(b); }; }, - 7426: (module, __unused_webpack_exports, __webpack_require__) => { - var rng = __webpack_require__(9638), bytesToUuid = __webpack_require__(9216); + 6140: (module, __unused_webpack_exports, __webpack_require__) => { + var rng = __webpack_require__(8201), bytesToUuid = __webpack_require__(9665); module.exports = function(options, buf, offset) { var i = buf && offset || 0; "string" == typeof options && (buf = "binary" === options ? new Array(16) : null, @@ -1531,7 +1818,7 @@ return buf || bytesToUuid(rnds); }; }, - 112: function(__unused_webpack_module, exports, __webpack_require__) { + 5217: function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; var __createBinding = this && this.__createBinding || (Object.create ? function(o, m, k, k2) { void 0 === k2 && (k2 = k), Object.defineProperty(o, k2, { @@ -1558,7 +1845,7 @@ Object.defineProperty(exports, "__esModule", { value: !0 }), exports.issue = exports.issueCommand = void 0; - const os = __importStar(__webpack_require__(9563)), utils_1 = __webpack_require__(4781); + const os = __importStar(__webpack_require__(857)), utils_1 = __webpack_require__(6613); function issueCommand(command, properties, message) { const cmd = new Command(command, properties, message); process.stdout.write(cmd.toString() + os.EOL); @@ -1588,7 +1875,7 @@ } } }, - 2037: function(__unused_webpack_module, exports, __webpack_require__) { + 4613: function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; var __createBinding = this && this.__createBinding || (Object.create ? function(o, m, k, k2) { void 0 === k2 && (k2 = k), Object.defineProperty(o, k2, { @@ -1639,7 +1926,7 @@ Object.defineProperty(exports, "__esModule", { value: !0 }), exports.getIDToken = exports.getState = exports.saveState = exports.group = exports.endGroup = exports.startGroup = exports.info = exports.notice = exports.warning = exports.error = exports.debug = exports.isDebug = exports.setFailed = exports.setCommandEcho = exports.setOutput = exports.getBooleanInput = exports.getMultilineInput = exports.getInput = exports.addPath = exports.setSecret = exports.exportVariable = exports.ExitCode = void 0; - const command_1 = __webpack_require__(112), file_command_1 = __webpack_require__(3982), utils_1 = __webpack_require__(4781), os = __importStar(__webpack_require__(9563)), path = __importStar(__webpack_require__(1017)), oidc_utils_1 = __webpack_require__(155); + const command_1 = __webpack_require__(5217), file_command_1 = __webpack_require__(3468), utils_1 = __webpack_require__(6613), os = __importStar(__webpack_require__(857)), path = __importStar(__webpack_require__(6928)), oidc_utils_1 = __webpack_require__(1339); var ExitCode; function getInput(name, options) { const val = process.env[`INPUT_${name.replace(/ /g, "_").toUpperCase()}`] || ""; @@ -1718,21 +2005,21 @@ return yield oidc_utils_1.OidcClient.getIDToken(aud); })); }; - var summary_1 = __webpack_require__(2496); + var summary_1 = __webpack_require__(3188); Object.defineProperty(exports, "summary", { enumerable: !0, get: function() { return summary_1.summary; } }); - var summary_2 = __webpack_require__(2496); + var summary_2 = __webpack_require__(3188); Object.defineProperty(exports, "markdownSummary", { enumerable: !0, get: function() { return summary_2.markdownSummary; } }); - var path_utils_1 = __webpack_require__(1057); + var path_utils_1 = __webpack_require__(7801); Object.defineProperty(exports, "toPosixPath", { enumerable: !0, get: function() { @@ -1750,7 +2037,7 @@ } }); }, - 3982: function(__unused_webpack_module, exports, __webpack_require__) { + 3468: function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; var __createBinding = this && this.__createBinding || (Object.create ? function(o, m, k, k2) { void 0 === k2 && (k2 = k), Object.defineProperty(o, k2, { @@ -1777,7 +2064,7 @@ Object.defineProperty(exports, "__esModule", { value: !0 }), exports.prepareKeyValueMessage = exports.issueFileCommand = void 0; - const fs = __importStar(__webpack_require__(7147)), os = __importStar(__webpack_require__(9563)), uuid_1 = __webpack_require__(3441), utils_1 = __webpack_require__(4781); + const fs = __importStar(__webpack_require__(9896)), os = __importStar(__webpack_require__(857)), uuid_1 = __webpack_require__(5478), utils_1 = __webpack_require__(6613); exports.issueFileCommand = function(command, message) { const filePath = process.env[`GITHUB_${command}`]; if (!filePath) throw new Error(`Unable to find environment variable for file command ${command}`); @@ -1792,7 +2079,7 @@ return `${key}<<${delimiter}${os.EOL}${convertedValue}${os.EOL}${delimiter}`; }; }, - 155: function(__unused_webpack_module, exports, __webpack_require__) { + 1339: function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; var __awaiter = this && this.__awaiter || function(thisArg, _arguments, P, generator) { return new (P || (P = Promise))((function(resolve, reject) { @@ -1822,7 +2109,7 @@ Object.defineProperty(exports, "__esModule", { value: !0 }), exports.OidcClient = void 0; - const http_client_1 = __webpack_require__(202), auth_1 = __webpack_require__(5337), core_1 = __webpack_require__(2037); + const http_client_1 = __webpack_require__(5001), auth_1 = __webpack_require__(3503), core_1 = __webpack_require__(4613); class OidcClient { static createHttpClient(allowRetry = !0, maxRetry = 10) { const requestOptions = { @@ -1845,7 +2132,7 @@ var _a; return __awaiter(this, void 0, void 0, (function*() { const httpclient = OidcClient.createHttpClient(), res = yield httpclient.getJson(id_token_url).catch((error => { - throw new Error(`Failed to get ID Token. \n \n Error Code : ${error.statusCode}\n \n Error Message: ${error.result.message}`); + throw new Error(`Failed to get ID Token. \n \n Error Code : ${error.statusCode}\n \n Error Message: ${error.message}`); })), id_token = null === (_a = res.result) || void 0 === _a ? void 0 : _a.value; if (!id_token) throw new Error("Response json body do not have ID Token field"); return id_token; @@ -1869,7 +2156,7 @@ } exports.OidcClient = OidcClient; }, - 1057: function(__unused_webpack_module, exports, __webpack_require__) { + 7801: function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; var __createBinding = this && this.__createBinding || (Object.create ? function(o, m, k, k2) { void 0 === k2 && (k2 = k), Object.defineProperty(o, k2, { @@ -1896,7 +2183,7 @@ Object.defineProperty(exports, "__esModule", { value: !0 }), exports.toPlatformPath = exports.toWin32Path = exports.toPosixPath = void 0; - const path = __importStar(__webpack_require__(1017)); + const path = __importStar(__webpack_require__(6928)); exports.toPosixPath = function(pth) { return pth.replace(/[\\]/g, "/"); }, exports.toWin32Path = function(pth) { @@ -1905,7 +2192,7 @@ return pth.replace(/[/\\]/g, path.sep); }; }, - 2496: function(__unused_webpack_module, exports, __webpack_require__) { + 3188: function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; var __awaiter = this && this.__awaiter || function(thisArg, _arguments, P, generator) { return new (P || (P = Promise))((function(resolve, reject) { @@ -1935,7 +2222,7 @@ Object.defineProperty(exports, "__esModule", { value: !0 }), exports.summary = exports.markdownSummary = exports.SUMMARY_DOCS_URL = exports.SUMMARY_ENV_VAR = void 0; - const os_1 = __webpack_require__(9563), fs_1 = __webpack_require__(7147), {access, appendFile, writeFile} = fs_1.promises; + const os_1 = __webpack_require__(857), fs_1 = __webpack_require__(9896), {access, appendFile, writeFile} = fs_1.promises; exports.SUMMARY_ENV_VAR = "GITHUB_STEP_SUMMARY", exports.SUMMARY_DOCS_URL = "https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary"; const _summary = new class { constructor() { @@ -2055,7 +2342,7 @@ }; exports.markdownSummary = _summary, exports.summary = _summary; }, - 4781: (__unused_webpack_module, exports) => { + 6613: (__unused_webpack_module, exports) => { "use strict"; Object.defineProperty(exports, "__esModule", { value: !0 @@ -2072,7 +2359,7 @@ } : {}; }; }, - 69: function(__unused_webpack_module, exports, __webpack_require__) { + 3021: function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; var __createBinding = this && this.__createBinding || (Object.create ? function(o, m, k, k2) { void 0 === k2 && (k2 = k), Object.defineProperty(o, k2, { @@ -2123,7 +2410,7 @@ Object.defineProperty(exports, "__esModule", { value: !0 }), exports.getExecOutput = exports.exec = void 0; - const string_decoder_1 = __webpack_require__(1576), tr = __importStar(__webpack_require__(5993)); + const string_decoder_1 = __webpack_require__(3193), tr = __importStar(__webpack_require__(6660)); function exec(commandLine, args, options) { return __awaiter(this, void 0, void 0, (function*() { const commandArgs = tr.argStringToArray(commandLine); @@ -2155,7 +2442,7 @@ })); }; }, - 5993: function(__unused_webpack_module, exports, __webpack_require__) { + 6660: function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; var __createBinding = this && this.__createBinding || (Object.create ? function(o, m, k, k2) { void 0 === k2 && (k2 = k), Object.defineProperty(o, k2, { @@ -2206,7 +2493,7 @@ Object.defineProperty(exports, "__esModule", { value: !0 }), exports.argStringToArray = exports.ToolRunner = void 0; - const os = __importStar(__webpack_require__(9563)), events = __importStar(__webpack_require__(2361)), child = __importStar(__webpack_require__(2081)), path = __importStar(__webpack_require__(1017)), io = __importStar(__webpack_require__(9475)), ioUtil = __importStar(__webpack_require__(9228)), timers_1 = __webpack_require__(9512), IS_WINDOWS = "win32" === process.platform; + const os = __importStar(__webpack_require__(857)), events = __importStar(__webpack_require__(4434)), child = __importStar(__webpack_require__(5317)), path = __importStar(__webpack_require__(6928)), io = __importStar(__webpack_require__(8599)), ioUtil = __importStar(__webpack_require__(4664)), timers_1 = __webpack_require__(3557), IS_WINDOWS = "win32" === process.platform; class ToolRunner extends events.EventEmitter { constructor(toolPath, args, options) { if (super(), !toolPath) throw new Error("Parameter 'toolPath' cannot be null or empty."); @@ -2398,7 +2685,7 @@ } } }, - 9648: function(__unused_webpack_module, exports, __webpack_require__) { + 3675: function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; var __awaiter = this && this.__awaiter || function(thisArg, _arguments, P, generator) { return new (P || (P = Promise))((function(resolve, reject) { @@ -2428,7 +2715,7 @@ Object.defineProperty(exports, "__esModule", { value: !0 }), exports.hashFiles = exports.create = void 0; - const internal_globber_1 = __webpack_require__(1982), internal_hash_files_1 = __webpack_require__(4184); + const internal_globber_1 = __webpack_require__(410), internal_hash_files_1 = __webpack_require__(6555); function create(patterns, options) { return __awaiter(this, void 0, void 0, (function*() { return yield internal_globber_1.DefaultGlobber.create(patterns, options); @@ -2445,7 +2732,7 @@ })); }; }, - 9426: function(__unused_webpack_module, exports, __webpack_require__) { + 1065: function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; var __createBinding = this && this.__createBinding || (Object.create ? function(o, m, k, k2) { void 0 === k2 && (k2 = k), Object.defineProperty(o, k2, { @@ -2472,7 +2759,7 @@ Object.defineProperty(exports, "__esModule", { value: !0 }), exports.getOptions = void 0; - const core = __importStar(__webpack_require__(2037)); + const core = __importStar(__webpack_require__(4613)); exports.getOptions = function(copy) { const result = { followSymbolicLinks: !0, @@ -2487,7 +2774,7 @@ core.debug(`omitBrokenSymbolicLinks '${result.omitBrokenSymbolicLinks}'`))), result; }; }, - 1982: function(__unused_webpack_module, exports, __webpack_require__) { + 410: function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; var __createBinding = this && this.__createBinding || (Object.create ? function(o, m, k, k2) { void 0 === k2 && (k2 = k), Object.defineProperty(o, k2, { @@ -2591,7 +2878,7 @@ Object.defineProperty(exports, "__esModule", { value: !0 }), exports.DefaultGlobber = void 0; - const core = __importStar(__webpack_require__(2037)), fs = __importStar(__webpack_require__(7147)), globOptionsHelper = __importStar(__webpack_require__(9426)), path = __importStar(__webpack_require__(1017)), patternHelper = __importStar(__webpack_require__(8267)), internal_match_kind_1 = __webpack_require__(7177), internal_pattern_1 = __webpack_require__(3397), internal_search_state_1 = __webpack_require__(4079), IS_WINDOWS = "win32" === process.platform; + const core = __importStar(__webpack_require__(4613)), fs = __importStar(__webpack_require__(9896)), globOptionsHelper = __importStar(__webpack_require__(1065)), path = __importStar(__webpack_require__(6928)), patternHelper = __importStar(__webpack_require__(9288)), internal_match_kind_1 = __webpack_require__(8339), internal_pattern_1 = __webpack_require__(7639), internal_search_state_1 = __webpack_require__(2481), IS_WINDOWS = "win32" === process.platform; class DefaultGlobber { constructor(options) { this.patterns = [], this.searchPaths = [], this.options = globOptionsHelper.getOptions(options); @@ -2684,7 +2971,7 @@ } exports.DefaultGlobber = DefaultGlobber; }, - 4184: function(__unused_webpack_module, exports, __webpack_require__) { + 6555: function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; var __createBinding = this && this.__createBinding || (Object.create ? function(o, m, k, k2) { void 0 === k2 && (k2 = k), Object.defineProperty(o, k2, { @@ -2756,7 +3043,7 @@ Object.defineProperty(exports, "__esModule", { value: !0 }), exports.hashFiles = void 0; - const crypto = __importStar(__webpack_require__(6113)), core = __importStar(__webpack_require__(2037)), fs = __importStar(__webpack_require__(7147)), stream = __importStar(__webpack_require__(2781)), util = __importStar(__webpack_require__(3837)), path = __importStar(__webpack_require__(1017)); + const crypto = __importStar(__webpack_require__(6982)), core = __importStar(__webpack_require__(4613)), fs = __importStar(__webpack_require__(9896)), stream = __importStar(__webpack_require__(2203)), util = __importStar(__webpack_require__(9023)), path = __importStar(__webpack_require__(6928)); exports.hashFiles = function(globber, currentWorkspace, verbose = !1) { var e_1, _a, _b; return __awaiter(this, void 0, void 0, (function*() { @@ -2795,7 +3082,7 @@ })); }; }, - 7177: (__unused_webpack_module, exports) => { + 8339: (__unused_webpack_module, exports) => { "use strict"; Object.defineProperty(exports, "__esModule", { value: !0 @@ -2804,7 +3091,7 @@ MatchKind[MatchKind.File = 2] = "File", MatchKind[MatchKind.All = 3] = "All"; }(exports.MatchKind || (exports.MatchKind = {})); }, - 5270: function(__unused_webpack_module, exports, __webpack_require__) { + 459: function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; var __createBinding = this && this.__createBinding || (Object.create ? function(o, m, k, k2) { void 0 === k2 && (k2 = k), Object.defineProperty(o, k2, { @@ -2835,7 +3122,7 @@ Object.defineProperty(exports, "__esModule", { value: !0 }), exports.safeTrimTrailingSeparator = exports.normalizeSeparators = exports.hasRoot = exports.hasAbsoluteRoot = exports.ensureAbsoluteRoot = exports.dirname = void 0; - const path = __importStar(__webpack_require__(1017)), assert_1 = __importDefault(__webpack_require__(9491)), IS_WINDOWS = "win32" === process.platform; + const path = __importStar(__webpack_require__(6928)), assert_1 = __importDefault(__webpack_require__(2613)), IS_WINDOWS = "win32" === process.platform; function hasAbsoluteRoot(itemPath) { return assert_1.default(itemPath, "hasAbsoluteRoot parameter 'itemPath' must not be empty"), itemPath = normalizeSeparators(itemPath), IS_WINDOWS ? itemPath.startsWith("\\\\") || /^[A-Z]:\\/i.test(itemPath) : itemPath.startsWith("/"); @@ -2879,7 +3166,7 @@ itemPath = normalizeSeparators(itemPath), IS_WINDOWS ? itemPath.startsWith("\\") || /^[A-Z]:/i.test(itemPath) : itemPath.startsWith("/"); }, exports.normalizeSeparators = normalizeSeparators, exports.safeTrimTrailingSeparator = safeTrimTrailingSeparator; }, - 7913: function(__unused_webpack_module, exports, __webpack_require__) { + 7706: function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; var __createBinding = this && this.__createBinding || (Object.create ? function(o, m, k, k2) { void 0 === k2 && (k2 = k), Object.defineProperty(o, k2, { @@ -2910,7 +3197,7 @@ Object.defineProperty(exports, "__esModule", { value: !0 }), exports.Path = void 0; - const path = __importStar(__webpack_require__(1017)), pathHelper = __importStar(__webpack_require__(5270)), assert_1 = __importDefault(__webpack_require__(9491)), IS_WINDOWS = "win32" === process.platform; + const path = __importStar(__webpack_require__(6928)), pathHelper = __importStar(__webpack_require__(459)), assert_1 = __importDefault(__webpack_require__(2613)), IS_WINDOWS = "win32" === process.platform; exports.Path = class { constructor(itemPath) { if (this.segments = [], "string" == typeof itemPath) if (assert_1.default(itemPath, "Parameter 'itemPath' must not be empty"), @@ -2941,7 +3228,7 @@ } }; }, - 8267: function(__unused_webpack_module, exports, __webpack_require__) { + 9288: function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; var __createBinding = this && this.__createBinding || (Object.create ? function(o, m, k, k2) { void 0 === k2 && (k2 = k), Object.defineProperty(o, k2, { @@ -2968,7 +3255,7 @@ Object.defineProperty(exports, "__esModule", { value: !0 }), exports.partialMatch = exports.match = exports.getSearchPaths = void 0; - const pathHelper = __importStar(__webpack_require__(5270)), internal_match_kind_1 = __webpack_require__(7177), IS_WINDOWS = "win32" === process.platform; + const pathHelper = __importStar(__webpack_require__(459)), internal_match_kind_1 = __webpack_require__(8339), IS_WINDOWS = "win32" === process.platform; exports.getSearchPaths = function(patterns) { patterns = patterns.filter((x => !x.negate)); const searchPathMap = {}; @@ -2998,7 +3285,7 @@ return patterns.some((x => !x.negate && x.partialMatch(itemPath))); }; }, - 3397: function(__unused_webpack_module, exports, __webpack_require__) { + 7639: function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; var __createBinding = this && this.__createBinding || (Object.create ? function(o, m, k, k2) { void 0 === k2 && (k2 = k), Object.defineProperty(o, k2, { @@ -3029,7 +3316,7 @@ Object.defineProperty(exports, "__esModule", { value: !0 }), exports.Pattern = void 0; - const os = __importStar(__webpack_require__(9563)), path = __importStar(__webpack_require__(1017)), pathHelper = __importStar(__webpack_require__(5270)), assert_1 = __importDefault(__webpack_require__(9491)), minimatch_1 = __webpack_require__(2979), internal_match_kind_1 = __webpack_require__(7177), internal_path_1 = __webpack_require__(7913), IS_WINDOWS = "win32" === process.platform; + const os = __importStar(__webpack_require__(857)), path = __importStar(__webpack_require__(6928)), pathHelper = __importStar(__webpack_require__(459)), assert_1 = __importDefault(__webpack_require__(2613)), minimatch_1 = __webpack_require__(2535), internal_match_kind_1 = __webpack_require__(8339), internal_path_1 = __webpack_require__(7706), IS_WINDOWS = "win32" === process.platform; class Pattern { constructor(patternOrNegate, isImplicitPattern = !1, segments, homedir) { let pattern; @@ -3120,7 +3407,7 @@ } exports.Pattern = Pattern; }, - 4079: (__unused_webpack_module, exports) => { + 2481: (__unused_webpack_module, exports) => { "use strict"; Object.defineProperty(exports, "__esModule", { value: !0 @@ -3131,7 +3418,7 @@ } }; }, - 5337: function(__unused_webpack_module, exports) { + 3503: function(__unused_webpack_module, exports) { "use strict"; var __awaiter = this && this.__awaiter || function(thisArg, _arguments, P, generator) { return new (P || (P = Promise))((function(resolve, reject) { @@ -3213,15 +3500,17 @@ } }; }, - 202: function(__unused_webpack_module, exports, __webpack_require__) { + 5001: function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; var __createBinding = this && this.__createBinding || (Object.create ? function(o, m, k, k2) { - void 0 === k2 && (k2 = k), Object.defineProperty(o, k2, { + void 0 === k2 && (k2 = k); + var desc = Object.getOwnPropertyDescriptor(m, k); + desc && !("get" in desc ? !m.__esModule : desc.writable || desc.configurable) || (desc = { enumerable: !0, get: function() { return m[k]; } - }); + }), Object.defineProperty(o, k2, desc); } : function(o, m, k, k2) { void 0 === k2 && (k2 = k), o[k2] = m[k]; }), __setModuleDefault = this && this.__setModuleDefault || (Object.create ? function(o, v) { @@ -3234,7 +3523,7 @@ }), __importStar = this && this.__importStar || function(mod) { if (mod && mod.__esModule) return mod; var result = {}; - if (null != mod) for (var k in mod) "default" !== k && Object.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k); + if (null != mod) for (var k in mod) "default" !== k && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k); return __setModuleDefault(result, mod), result; }, __awaiter = this && this.__awaiter || function(thisArg, _arguments, P, generator) { return new (P || (P = Promise))((function(resolve, reject) { @@ -3264,7 +3553,7 @@ Object.defineProperty(exports, "__esModule", { value: !0 }), exports.HttpClient = exports.isHttps = exports.HttpClientResponse = exports.HttpClientError = exports.getProxyUrl = exports.MediaTypes = exports.Headers = exports.HttpCodes = void 0; - const http = __importStar(__webpack_require__(3685)), https = __importStar(__webpack_require__(5687)), pm = __importStar(__webpack_require__(174)), tunnel = __importStar(__webpack_require__(6694)); + const http = __importStar(__webpack_require__(8611)), https = __importStar(__webpack_require__(5692)), pm = __importStar(__webpack_require__(4257)), tunnel = __importStar(__webpack_require__(3663)), undici_1 = __webpack_require__(3001); var HttpCodes, Headers, MediaTypes; !function(HttpCodes) { HttpCodes[HttpCodes.OK = 200] = "OK", HttpCodes[HttpCodes.MultipleChoices = 300] = "MultipleChoices", @@ -3281,11 +3570,11 @@ HttpCodes[HttpCodes.InternalServerError = 500] = "InternalServerError", HttpCodes[HttpCodes.NotImplemented = 501] = "NotImplemented", HttpCodes[HttpCodes.BadGateway = 502] = "BadGateway", HttpCodes[HttpCodes.ServiceUnavailable = 503] = "ServiceUnavailable", HttpCodes[HttpCodes.GatewayTimeout = 504] = "GatewayTimeout"; - }(HttpCodes = exports.HttpCodes || (exports.HttpCodes = {})), function(Headers) { + }(HttpCodes || (exports.HttpCodes = HttpCodes = {})), function(Headers) { Headers.Accept = "accept", Headers.ContentType = "content-type"; - }(Headers = exports.Headers || (exports.Headers = {})), function(MediaTypes) { + }(Headers || (exports.Headers = Headers = {})), function(MediaTypes) { MediaTypes.ApplicationJson = "application/json"; - }(MediaTypes = exports.MediaTypes || (exports.MediaTypes = {})), exports.getProxyUrl = function(serverUrl) { + }(MediaTypes || (exports.MediaTypes = MediaTypes = {})), exports.getProxyUrl = function(serverUrl) { const proxyUrl = pm.getProxyUrl(new URL(serverUrl)); return proxyUrl ? proxyUrl.href : ""; }; @@ -3312,12 +3601,24 @@ })))); })); } - } - exports.HttpClientResponse = HttpClientResponse, exports.isHttps = function(requestUrl) { - return "https:" === new URL(requestUrl).protocol; - }; - exports.HttpClient = class { - constructor(userAgent, handlers, requestOptions) { + readBodyBuffer() { + return __awaiter(this, void 0, void 0, (function*() { + return new Promise((resolve => __awaiter(this, void 0, void 0, (function*() { + const chunks = []; + this.message.on("data", (chunk => { + chunks.push(chunk); + })), this.message.on("end", (() => { + resolve(Buffer.concat(chunks)); + })); + })))); + })); + } + } + exports.HttpClientResponse = HttpClientResponse, exports.isHttps = function(requestUrl) { + return "https:" === new URL(requestUrl).protocol; + }; + exports.HttpClient = class { + constructor(userAgent, handlers, requestOptions) { this._ignoreSslError = !1, this._allowRedirects = !0, this._allowRedirectDowngrade = !1, this._maxRedirects = 50, this._allowRetries = !1, this._maxRetries = 1, this._keepAlive = !1, this._disposed = !1, this.userAgent = userAgent, this.handlers = handlers || [], @@ -3472,6 +3773,10 @@ const parsedUrl = new URL(serverUrl); return this._getAgent(parsedUrl); } + getAgentDispatcher(serverUrl) { + const parsedUrl = new URL(serverUrl), proxyUrl = pm.getProxyUrl(parsedUrl); + if (proxyUrl && proxyUrl.hostname) return this._getProxyAgentDispatcher(parsedUrl, proxyUrl); + } _prepareRequest(method, requestUrl, headers) { const info = {}; info.parsedUrl = requestUrl; @@ -3496,7 +3801,7 @@ _getAgent(parsedUrl) { let agent; const proxyUrl = pm.getProxyUrl(parsedUrl), useProxy = proxyUrl && proxyUrl.hostname; - if (this._keepAlive && useProxy && (agent = this._proxyAgent), this._keepAlive && !useProxy && (agent = this._agent), + if (this._keepAlive && useProxy && (agent = this._proxyAgent), useProxy || (agent = this._agent), agent) return agent; const usingSsl = "https:" === parsedUrl.protocol; let maxSockets = 100; @@ -3517,17 +3822,30 @@ tunnelAgent = usingSsl ? overHttps ? tunnel.httpsOverHttps : tunnel.httpsOverHttp : overHttps ? tunnel.httpOverHttps : tunnel.httpOverHttp, agent = tunnelAgent(agentOptions), this._proxyAgent = agent; } - if (this._keepAlive && !agent) { + if (!agent) { const options = { keepAlive: this._keepAlive, maxSockets }; agent = usingSsl ? new https.Agent(options) : new http.Agent(options), this._agent = agent; } - return agent || (agent = usingSsl ? https.globalAgent : http.globalAgent), usingSsl && this._ignoreSslError && (agent.options = Object.assign(agent.options || {}, { + return usingSsl && this._ignoreSslError && (agent.options = Object.assign(agent.options || {}, { rejectUnauthorized: !1 })), agent; } + _getProxyAgentDispatcher(parsedUrl, proxyUrl) { + let proxyAgent; + if (this._keepAlive && (proxyAgent = this._proxyAgentDispatcher), proxyAgent) return proxyAgent; + const usingSsl = "https:" === parsedUrl.protocol; + return proxyAgent = new undici_1.ProxyAgent(Object.assign({ + uri: proxyUrl.href, + pipelining: this._keepAlive ? 1 : 0 + }, (proxyUrl.username || proxyUrl.password) && { + token: `${proxyUrl.username}:${proxyUrl.password}` + })), this._proxyAgentDispatcher = proxyAgent, usingSsl && this._ignoreSslError && (proxyAgent.options = Object.assign(proxyAgent.options.requestTls || {}, { + rejectUnauthorized: !1 + })), proxyAgent; + } _performExponentialBackoff(retryNumber) { return __awaiter(this, void 0, void 0, (function*() { retryNumber = Math.min(10, retryNumber); @@ -3567,17 +3885,21 @@ const lowercaseKeys = obj => Object.keys(obj).reduce(((c, k) => (c[k.toLowerCase()] = obj[k], c)), {}); }, - 174: (__unused_webpack_module, exports) => { + 4257: (__unused_webpack_module, exports) => { "use strict"; function checkBypass(reqUrl) { if (!reqUrl.hostname) return !1; + if (function(host) { + const hostLower = host.toLowerCase(); + return "localhost" === hostLower || hostLower.startsWith("127.") || hostLower.startsWith("[::1]") || hostLower.startsWith("[0:0:0:0:0:0:0:1]"); + }(reqUrl.hostname)) return !0; const noProxy = process.env.no_proxy || process.env.NO_PROXY || ""; if (!noProxy) return !1; let reqPort; reqUrl.port ? reqPort = Number(reqUrl.port) : "http:" === reqUrl.protocol ? reqPort = 80 : "https:" === reqUrl.protocol && (reqPort = 443); const upperReqHosts = [ reqUrl.hostname.toUpperCase() ]; "number" == typeof reqPort && upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`); - for (const upperNoProxyItem of noProxy.split(",").map((x => x.trim().toUpperCase())).filter((x => x))) if (upperReqHosts.some((x => x === upperNoProxyItem))) return !0; + for (const upperNoProxyItem of noProxy.split(",").map((x => x.trim().toUpperCase())).filter((x => x))) if ("*" === upperNoProxyItem || upperReqHosts.some((x => x === upperNoProxyItem || x.endsWith(`.${upperNoProxyItem}`) || upperNoProxyItem.startsWith(".") && x.endsWith(`${upperNoProxyItem}`)))) return !0; return !1; } Object.defineProperty(exports, "__esModule", { @@ -3586,10 +3908,14 @@ const usingSsl = "https:" === reqUrl.protocol; if (checkBypass(reqUrl)) return; const proxyVar = usingSsl ? process.env.https_proxy || process.env.HTTPS_PROXY : process.env.http_proxy || process.env.HTTP_PROXY; - return proxyVar ? new URL(proxyVar) : void 0; + if (proxyVar) try { + return new URL(proxyVar); + } catch (_a) { + if (!proxyVar.startsWith("http://") && !proxyVar.startsWith("https://")) return new URL(`http://${proxyVar}`); + } }, exports.checkBypass = checkBypass; }, - 9228: function(__unused_webpack_module, exports, __webpack_require__) { + 4664: function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; var _a, __createBinding = this && this.__createBinding || (Object.create ? function(o, m, k, k2) { void 0 === k2 && (k2 = k), Object.defineProperty(o, k2, { @@ -3639,15 +3965,17 @@ }; Object.defineProperty(exports, "__esModule", { value: !0 - }), exports.getCmdPath = exports.tryGetExecutablePath = exports.isRooted = exports.isDirectory = exports.exists = exports.IS_WINDOWS = exports.unlink = exports.symlink = exports.stat = exports.rmdir = exports.rename = exports.readlink = exports.readdir = exports.mkdir = exports.lstat = exports.copyFile = exports.chmod = void 0; - const fs = __importStar(__webpack_require__(7147)), path = __importStar(__webpack_require__(1017)); + }), exports.getCmdPath = exports.tryGetExecutablePath = exports.isRooted = exports.isDirectory = exports.exists = exports.READONLY = exports.UV_FS_O_EXLOCK = exports.IS_WINDOWS = exports.unlink = exports.symlink = exports.stat = exports.rmdir = exports.rm = exports.rename = exports.readlink = exports.readdir = exports.open = exports.mkdir = exports.lstat = exports.copyFile = exports.chmod = void 0; + const fs = __importStar(__webpack_require__(9896)), path = __importStar(__webpack_require__(6928)); function isUnixExecutable(stats) { return (1 & stats.mode) > 0 || (8 & stats.mode) > 0 && stats.gid === process.getgid() || (64 & stats.mode) > 0 && stats.uid === process.getuid(); } _a = fs.promises, exports.chmod = _a.chmod, exports.copyFile = _a.copyFile, exports.lstat = _a.lstat, - exports.mkdir = _a.mkdir, exports.readdir = _a.readdir, exports.readlink = _a.readlink, - exports.rename = _a.rename, exports.rmdir = _a.rmdir, exports.stat = _a.stat, exports.symlink = _a.symlink, - exports.unlink = _a.unlink, exports.IS_WINDOWS = "win32" === process.platform, exports.exists = function(fsPath) { + exports.mkdir = _a.mkdir, exports.open = _a.open, exports.readdir = _a.readdir, + exports.readlink = _a.readlink, exports.rename = _a.rename, exports.rm = _a.rm, + exports.rmdir = _a.rmdir, exports.stat = _a.stat, exports.symlink = _a.symlink, + exports.unlink = _a.unlink, exports.IS_WINDOWS = "win32" === process.platform, exports.UV_FS_O_EXLOCK = 268435456, + exports.READONLY = fs.constants.O_RDONLY, exports.exists = function(fsPath) { return __awaiter(this, void 0, void 0, (function*() { try { yield exports.stat(fsPath); @@ -3710,7 +4038,7 @@ return null !== (_a = process.env.COMSPEC) && void 0 !== _a ? _a : "cmd.exe"; }; }, - 9475: function(__unused_webpack_module, exports, __webpack_require__) { + 8599: function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; var __createBinding = this && this.__createBinding || (Object.create ? function(o, m, k, k2) { void 0 === k2 && (k2 = k), Object.defineProperty(o, k2, { @@ -3761,39 +4089,19 @@ Object.defineProperty(exports, "__esModule", { value: !0 }), exports.findInPath = exports.which = exports.mkdirP = exports.rmRF = exports.mv = exports.cp = void 0; - const assert_1 = __webpack_require__(9491), childProcess = __importStar(__webpack_require__(2081)), path = __importStar(__webpack_require__(1017)), util_1 = __webpack_require__(3837), ioUtil = __importStar(__webpack_require__(9228)), exec = util_1.promisify(childProcess.exec), execFile = util_1.promisify(childProcess.execFile); + const assert_1 = __webpack_require__(2613), path = __importStar(__webpack_require__(6928)), ioUtil = __importStar(__webpack_require__(4664)); function rmRF(inputPath) { return __awaiter(this, void 0, void 0, (function*() { - if (ioUtil.IS_WINDOWS) { - if (/[*"<>|]/.test(inputPath)) throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows'); - try { - const cmdPath = ioUtil.getCmdPath(); - (yield ioUtil.isDirectory(inputPath, !0)) ? yield exec(`${cmdPath} /s /c "rd /s /q "%inputPath%""`, { - env: { - inputPath - } - }) : yield exec(`${cmdPath} /s /c "del /f /a "%inputPath%""`, { - env: { - inputPath - } - }); - } catch (err) { - if ("ENOENT" !== err.code) throw err; - } - try { - yield ioUtil.unlink(inputPath); - } catch (err) { - if ("ENOENT" !== err.code) throw err; - } - } else { - let isDir = !1; - try { - isDir = yield ioUtil.isDirectory(inputPath); - } catch (err) { - if ("ENOENT" !== err.code) throw err; - return; - } - isDir ? yield execFile("rm", [ "-rf", `${inputPath}` ]) : yield ioUtil.unlink(inputPath); + if (ioUtil.IS_WINDOWS && /[*"<>|]/.test(inputPath)) throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows'); + try { + yield ioUtil.rm(inputPath, { + force: !0, + maxRetries: 3, + recursive: !0, + retryDelay: 300 + }); + } catch (err) { + throw new Error(`File was unable to be removed ${err}`); } })); } @@ -3895,7 +4203,7 @@ })); }, exports.findInPath = findInPath; }, - 7324: function(module, exports, __webpack_require__) { + 7937: function(module, exports, __webpack_require__) { "use strict"; var __createBinding = this && this.__createBinding || (Object.create ? function(o, m, k, k2) { void 0 === k2 && (k2 = k), Object.defineProperty(o, k2, { @@ -3946,7 +4254,7 @@ Object.defineProperty(exports, "__esModule", { value: !0 }), exports._readLinuxVersionFile = exports._getOsVersion = exports._findMatch = void 0; - const semver = __importStar(__webpack_require__(7891)), core_1 = __webpack_require__(2037), os = __webpack_require__(9563), cp = __webpack_require__(2081), fs = __webpack_require__(7147); + const semver = __importStar(__webpack_require__(1213)), core_1 = __webpack_require__(4613), os = __webpack_require__(857), cp = __webpack_require__(5317), fs = __webpack_require__(9896); exports._findMatch = function(versionSpec, stable, candidates, archFilter) { return __awaiter(this, void 0, void 0, (function*() { const platFilter = os.platform(); @@ -3992,7 +4300,7 @@ contents; }; }, - 5941: function(__unused_webpack_module, exports, __webpack_require__) { + 153: function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; var __createBinding = this && this.__createBinding || (Object.create ? function(o, m, k, k2) { void 0 === k2 && (k2 = k), Object.defineProperty(o, k2, { @@ -4043,7 +4351,7 @@ Object.defineProperty(exports, "__esModule", { value: !0 }), exports.RetryHelper = void 0; - const core = __importStar(__webpack_require__(2037)); + const core = __importStar(__webpack_require__(4613)); exports.RetryHelper = class { constructor(maxAttempts, minSeconds, maxSeconds) { if (maxAttempts < 1) throw new Error("max attempts should be greater than or equal to 1"); @@ -4077,7 +4385,7 @@ } }; }, - 7127: function(__unused_webpack_module, exports, __webpack_require__) { + 8101: function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; var __createBinding = this && this.__createBinding || (Object.create ? function(o, m, k, k2) { void 0 === k2 && (k2 = k), Object.defineProperty(o, k2, { @@ -4132,7 +4440,7 @@ Object.defineProperty(exports, "__esModule", { value: !0 }), exports.evaluateVersions = exports.isExplicitVersion = exports.findFromManifest = exports.getManifestFromRepo = exports.findAllVersions = exports.find = exports.cacheFile = exports.cacheDir = exports.extractZip = exports.extractXar = exports.extractTar = exports.extract7z = exports.downloadTool = exports.HTTPError = void 0; - const core = __importStar(__webpack_require__(2037)), io = __importStar(__webpack_require__(9475)), fs = __importStar(__webpack_require__(7147)), mm = __importStar(__webpack_require__(7324)), os = __importStar(__webpack_require__(9563)), path = __importStar(__webpack_require__(1017)), httpm = __importStar(__webpack_require__(202)), semver = __importStar(__webpack_require__(7891)), stream = __importStar(__webpack_require__(2781)), util = __importStar(__webpack_require__(3837)), assert_1 = __webpack_require__(9491), v4_1 = __importDefault(__webpack_require__(3690)), exec_1 = __webpack_require__(69), retry_helper_1 = __webpack_require__(5941); + const core = __importStar(__webpack_require__(4613)), io = __importStar(__webpack_require__(8599)), fs = __importStar(__webpack_require__(9896)), mm = __importStar(__webpack_require__(7937)), os = __importStar(__webpack_require__(857)), path = __importStar(__webpack_require__(6928)), httpm = __importStar(__webpack_require__(5001)), semver = __importStar(__webpack_require__(1213)), stream = __importStar(__webpack_require__(2203)), util = __importStar(__webpack_require__(9023)), assert_1 = __webpack_require__(2613), v4_1 = __importDefault(__webpack_require__(5451)), exec_1 = __webpack_require__(3021), retry_helper_1 = __webpack_require__(153); class HTTPError extends Error { constructor(httpStatusCode) { super(`Unexpected HTTP response: ${httpStatusCode}`), this.httpStatusCode = httpStatusCode, @@ -4389,21 +4697,21 @@ })); }, exports.isExplicitVersion = isExplicitVersion, exports.evaluateVersions = evaluateVersions; }, - 7166: module => { + 9620: module => { for (var byteToHex = [], i = 0; i < 256; ++i) byteToHex[i] = (i + 256).toString(16).substr(1); module.exports = function(buf, offset) { var i = offset || 0, bth = byteToHex; return [ bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], "-", bth[buf[i++]], bth[buf[i++]], "-", bth[buf[i++]], bth[buf[i++]], "-", bth[buf[i++]], bth[buf[i++]], "-", bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], bth[buf[i++]] ].join(""); }; }, - 1271: (module, __unused_webpack_exports, __webpack_require__) => { - var crypto = __webpack_require__(6113); + 1120: (module, __unused_webpack_exports, __webpack_require__) => { + var crypto = __webpack_require__(6982); module.exports = function() { return crypto.randomBytes(16); }; }, - 3690: (module, __unused_webpack_exports, __webpack_require__) => { - var rng = __webpack_require__(1271), bytesToUuid = __webpack_require__(7166); + 5451: (module, __unused_webpack_exports, __webpack_require__) => { + var rng = __webpack_require__(1120), bytesToUuid = __webpack_require__(9620); module.exports = function(options, buf, offset) { var i = buf && offset || 0; "string" == typeof options && (buf = "binary" === options ? new Array(16) : null, @@ -4413,1018 +4721,7 @@ return buf || bytesToUuid(rnds); }; }, - 7959: (__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - "use strict"; - __webpack_require__.d(__webpack_exports__, { - H: () => AbortController, - _: () => AbortError - }); - var _AbortSignal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2198); - class AbortError extends Error { - constructor(message) { - super(message), this.name = "AbortError"; - } - } - class AbortController { - constructor(parentSignals) { - if (this._signal = new _AbortSignal__WEBPACK_IMPORTED_MODULE_0__.R, parentSignals) { - Array.isArray(parentSignals) || (parentSignals = arguments); - for (const parentSignal of parentSignals) parentSignal.aborted ? this.abort() : parentSignal.addEventListener("abort", (() => { - this.abort(); - })); - } - } - get signal() { - return this._signal; - } - abort() { - (0, _AbortSignal__WEBPACK_IMPORTED_MODULE_0__.G)(this._signal); - } - static timeout(ms) { - const signal = new _AbortSignal__WEBPACK_IMPORTED_MODULE_0__.R, timer = setTimeout(_AbortSignal__WEBPACK_IMPORTED_MODULE_0__.G, ms, signal); - return "function" == typeof timer.unref && timer.unref(), signal; - } - } - }, - 2198: (__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - "use strict"; - __webpack_require__.d(__webpack_exports__, { - G: () => abortSignal, - R: () => AbortSignal - }); - const listenersMap = new WeakMap, abortedMap = new WeakMap; - class AbortSignal { - constructor() { - this.onabort = null, listenersMap.set(this, []), abortedMap.set(this, !1); - } - get aborted() { - if (!abortedMap.has(this)) throw new TypeError("Expected `this` to be an instance of AbortSignal."); - return abortedMap.get(this); - } - static get none() { - return new AbortSignal; - } - addEventListener(_type, listener) { - if (!listenersMap.has(this)) throw new TypeError("Expected `this` to be an instance of AbortSignal."); - listenersMap.get(this).push(listener); - } - removeEventListener(_type, listener) { - if (!listenersMap.has(this)) throw new TypeError("Expected `this` to be an instance of AbortSignal."); - const listeners = listenersMap.get(this), index = listeners.indexOf(listener); - index > -1 && listeners.splice(index, 1); - } - dispatchEvent(_event) { - throw new Error("This is a stub dispatchEvent implementation that should not be used. It only exists for type-checking purposes."); - } - } - function abortSignal(signal) { - if (signal.aborted) return; - signal.onabort && signal.onabort.call(signal); - const listeners = listenersMap.get(signal); - listeners && listeners.slice().forEach((listener => { - listener.call(signal, { - type: "abort" - }); - })), abortedMap.set(signal, !0); - } - }, - 4851: (__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - "use strict"; - __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, { - AbortController: () => _AbortController__WEBPACK_IMPORTED_MODULE_0__.H, - AbortError: () => _AbortController__WEBPACK_IMPORTED_MODULE_0__._, - AbortSignal: () => _AbortSignal__WEBPACK_IMPORTED_MODULE_1__.R - }); - var _AbortController__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7959), _AbortSignal__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2198); - }, - 3162: (module, __unused_webpack_exports, __webpack_require__) => { - var CombinedStream = __webpack_require__(4041), util = __webpack_require__(3837), path = __webpack_require__(1017), http = __webpack_require__(3685), https = __webpack_require__(5687), parseUrl = __webpack_require__(7310).parse, fs = __webpack_require__(7147), Stream = __webpack_require__(2781).Stream, mime = __webpack_require__(9010), asynckit = __webpack_require__(8564), populate = __webpack_require__(9549); - function FormData(options) { - if (!(this instanceof FormData)) return new FormData(options); - for (var option in this._overheadLength = 0, this._valueLength = 0, this._valuesToMeasure = [], - CombinedStream.call(this), options = options || {}) this[option] = options[option]; - } - module.exports = FormData, util.inherits(FormData, CombinedStream), FormData.LINE_BREAK = "\r\n", - FormData.DEFAULT_CONTENT_TYPE = "application/octet-stream", FormData.prototype.append = function(field, value, options) { - "string" == typeof (options = options || {}) && (options = { - filename: options - }); - var append = CombinedStream.prototype.append.bind(this); - if ("number" == typeof value && (value = "" + value), util.isArray(value)) this._error(new Error("Arrays are not supported.")); else { - var header = this._multiPartHeader(field, value, options), footer = this._multiPartFooter(); - append(header), append(value), append(footer), this._trackLength(header, value, options); - } - }, FormData.prototype._trackLength = function(header, value, options) { - var valueLength = 0; - null != options.knownLength ? valueLength += +options.knownLength : Buffer.isBuffer(value) ? valueLength = value.length : "string" == typeof value && (valueLength = Buffer.byteLength(value)), - this._valueLength += valueLength, this._overheadLength += Buffer.byteLength(header) + FormData.LINE_BREAK.length, - value && (value.path || value.readable && value.hasOwnProperty("httpVersion") || value instanceof Stream) && (options.knownLength || this._valuesToMeasure.push(value)); - }, FormData.prototype._lengthRetriever = function(value, callback) { - value.hasOwnProperty("fd") ? null != value.end && value.end != 1 / 0 && null != value.start ? callback(null, value.end + 1 - (value.start ? value.start : 0)) : fs.stat(value.path, (function(err, stat) { - var fileSize; - err ? callback(err) : (fileSize = stat.size - (value.start ? value.start : 0), callback(null, fileSize)); - })) : value.hasOwnProperty("httpVersion") ? callback(null, +value.headers["content-length"]) : value.hasOwnProperty("httpModule") ? (value.on("response", (function(response) { - value.pause(), callback(null, +response.headers["content-length"]); - })), value.resume()) : callback("Unknown stream"); - }, FormData.prototype._multiPartHeader = function(field, value, options) { - if ("string" == typeof options.header) return options.header; - var header, contentDisposition = this._getContentDisposition(value, options), contentType = this._getContentType(value, options), contents = "", headers = { - "Content-Disposition": [ "form-data", 'name="' + field + '"' ].concat(contentDisposition || []), - "Content-Type": [].concat(contentType || []) - }; - for (var prop in "object" == typeof options.header && populate(headers, options.header), - headers) headers.hasOwnProperty(prop) && null != (header = headers[prop]) && (Array.isArray(header) || (header = [ header ]), - header.length && (contents += prop + ": " + header.join("; ") + FormData.LINE_BREAK)); - return "--" + this.getBoundary() + FormData.LINE_BREAK + contents + FormData.LINE_BREAK; - }, FormData.prototype._getContentDisposition = function(value, options) { - var filename, contentDisposition; - return "string" == typeof options.filepath ? filename = path.normalize(options.filepath).replace(/\\/g, "/") : options.filename || value.name || value.path ? filename = path.basename(options.filename || value.name || value.path) : value.readable && value.hasOwnProperty("httpVersion") && (filename = path.basename(value.client._httpMessage.path || "")), - filename && (contentDisposition = 'filename="' + filename + '"'), contentDisposition; - }, FormData.prototype._getContentType = function(value, options) { - var contentType = options.contentType; - return !contentType && value.name && (contentType = mime.lookup(value.name)), !contentType && value.path && (contentType = mime.lookup(value.path)), - !contentType && value.readable && value.hasOwnProperty("httpVersion") && (contentType = value.headers["content-type"]), - contentType || !options.filepath && !options.filename || (contentType = mime.lookup(options.filepath || options.filename)), - contentType || "object" != typeof value || (contentType = FormData.DEFAULT_CONTENT_TYPE), - contentType; - }, FormData.prototype._multiPartFooter = function() { - return function(next) { - var footer = FormData.LINE_BREAK; - 0 === this._streams.length && (footer += this._lastBoundary()), next(footer); - }.bind(this); - }, FormData.prototype._lastBoundary = function() { - return "--" + this.getBoundary() + "--" + FormData.LINE_BREAK; - }, FormData.prototype.getHeaders = function(userHeaders) { - var header, formHeaders = { - "content-type": "multipart/form-data; boundary=" + this.getBoundary() - }; - for (header in userHeaders) userHeaders.hasOwnProperty(header) && (formHeaders[header.toLowerCase()] = userHeaders[header]); - return formHeaders; - }, FormData.prototype.setBoundary = function(boundary) { - this._boundary = boundary; - }, FormData.prototype.getBoundary = function() { - return this._boundary || this._generateBoundary(), this._boundary; - }, FormData.prototype.getBuffer = function() { - for (var dataBuffer = new Buffer.alloc(0), boundary = this.getBoundary(), i = 0, len = this._streams.length; i < len; i++) "function" != typeof this._streams[i] && (dataBuffer = Buffer.isBuffer(this._streams[i]) ? Buffer.concat([ dataBuffer, this._streams[i] ]) : Buffer.concat([ dataBuffer, Buffer.from(this._streams[i]) ]), - "string" == typeof this._streams[i] && this._streams[i].substring(2, boundary.length + 2) === boundary || (dataBuffer = Buffer.concat([ dataBuffer, Buffer.from(FormData.LINE_BREAK) ]))); - return Buffer.concat([ dataBuffer, Buffer.from(this._lastBoundary()) ]); - }, FormData.prototype._generateBoundary = function() { - for (var boundary = "--------------------------", i = 0; i < 24; i++) boundary += Math.floor(10 * Math.random()).toString(16); - this._boundary = boundary; - }, FormData.prototype.getLengthSync = function() { - var knownLength = this._overheadLength + this._valueLength; - return this._streams.length && (knownLength += this._lastBoundary().length), this.hasKnownLength() || this._error(new Error("Cannot calculate proper length in synchronous way.")), - knownLength; - }, FormData.prototype.hasKnownLength = function() { - var hasKnownLength = !0; - return this._valuesToMeasure.length && (hasKnownLength = !1), hasKnownLength; - }, FormData.prototype.getLength = function(cb) { - var knownLength = this._overheadLength + this._valueLength; - this._streams.length && (knownLength += this._lastBoundary().length), this._valuesToMeasure.length ? asynckit.parallel(this._valuesToMeasure, this._lengthRetriever, (function(err, values) { - err ? cb(err) : (values.forEach((function(length) { - knownLength += length; - })), cb(null, knownLength)); - })) : process.nextTick(cb.bind(this, null, knownLength)); - }, FormData.prototype.submit = function(params, cb) { - var request, options, defaults = { - method: "post" - }; - return "string" == typeof params ? (params = parseUrl(params), options = populate({ - port: params.port, - path: params.pathname, - host: params.hostname, - protocol: params.protocol - }, defaults)) : (options = populate(params, defaults)).port || (options.port = "https:" == options.protocol ? 443 : 80), - options.headers = this.getHeaders(params.headers), request = "https:" == options.protocol ? https.request(options) : http.request(options), - this.getLength(function(err, length) { - if (err && "Unknown stream" !== err) this._error(err); else if (length && request.setHeader("Content-Length", length), - this.pipe(request), cb) { - var onResponse, callback = function(error, responce) { - return request.removeListener("error", callback), request.removeListener("response", onResponse), - cb.call(this, error, responce); - }; - onResponse = callback.bind(this, null), request.on("error", callback), request.on("response", onResponse); - } - }.bind(this)), request; - }, FormData.prototype._error = function(err) { - this.error || (this.error = err, this.pause(), this.emit("error", err)); - }, FormData.prototype.toString = function() { - return "[object FormData]"; - }; - }, - 9549: module => { - module.exports = function(dst, src) { - return Object.keys(src).forEach((function(prop) { - dst[prop] = dst[prop] || src[prop]; - })), dst; - }; - }, - 2157: (__unused_webpack_module, exports, __webpack_require__) => { - "use strict"; - const punycode = __webpack_require__(7736), urlParse = __webpack_require__(6211), pubsuffix = __webpack_require__(3403), Store = __webpack_require__(9204).y, MemoryCookieStore = __webpack_require__(3003).m, pathMatch = __webpack_require__(8694).U, validators = __webpack_require__(9480), VERSION = __webpack_require__(6392), {fromCallback} = __webpack_require__(7075), {getCustomInspectSymbol} = __webpack_require__(1786), COOKIE_OCTETS = /^[\x21\x23-\x2B\x2D-\x3A\x3C-\x5B\x5D-\x7E]+$/, CONTROL_CHARS = /[\x00-\x1F]/, TERMINATORS = [ "\n", "\r", "\0" ], PATH_VALUE = /[\x20-\x3A\x3C-\x7E]+/, DATE_DELIM = /[\x09\x20-\x2F\x3B-\x40\x5B-\x60\x7B-\x7E]/, MONTH_TO_NUM = { - jan: 0, - feb: 1, - mar: 2, - apr: 3, - may: 4, - jun: 5, - jul: 6, - aug: 7, - sep: 8, - oct: 9, - nov: 10, - dec: 11 - }, MAX_TIME = 2147483647e3, SAME_SITE_CONTEXT_VAL_ERR = 'Invalid sameSiteContext option for getCookies(); expected one of "strict", "lax", or "none"'; - function checkSameSiteContext(value) { - validators.validate(validators.isNonEmptyString(value), value); - const context = String(value).toLowerCase(); - return "none" === context || "lax" === context || "strict" === context ? context : null; - } - const PrefixSecurityEnum = Object.freeze({ - SILENT: "silent", - STRICT: "strict", - DISABLED: "unsafe-disabled" - }), IP_REGEX_LOWERCASE = /(?:^(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}$)|(?:^(?:(?:[a-f\d]{1,4}:){7}(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(?:(?::[a-fA-F\\d]{1,4}){0,5}:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|(?::[a-fA-F\\d]{1,4}){1,7}|:))\n)(?:%[0-9a-zA-Z]{1,})?\\]?\n".replace(/\s*\/\/.*$/gm, "").replace(/\n/g, "").trim(), IP_V6_REGEX_OBJECT = new RegExp(`^${IP_V6_REGEX}$`); - function parseDigits(token, minDigits, maxDigits, trailingOK) { - let count = 0; - for (;count < token.length; ) { - const c = token.charCodeAt(count); - if (c <= 47 || c >= 58) break; - count++; - } - return count < minDigits || count > maxDigits ? null : trailingOK || count == token.length ? parseInt(token.substr(0, count), 10) : null; - } - function parseTime(token) { - const parts = token.split(":"), result = [ 0, 0, 0 ]; - if (3 !== parts.length) return null; - for (let i = 0; i < 3; i++) { - const trailingOK = 2 == i, num = parseDigits(parts[i], 1, 2, trailingOK); - if (null === num) return null; - result[i] = num; - } - return result; - } - function parseMonth(token) { - token = String(token).substr(0, 3).toLowerCase(); - const num = MONTH_TO_NUM[token]; - return num >= 0 ? num : null; - } - function parseDate(str) { - if (!str) return; - const tokens = str.split(DATE_DELIM); - if (!tokens) return; - let hour = null, minute = null, second = null, dayOfMonth = null, month = null, year = null; - for (let i = 0; i < tokens.length; i++) { - const token = tokens[i].trim(); - if (!token.length) continue; - let result; - null === second && (result = parseTime(token), result) ? (hour = result[0], minute = result[1], - second = result[2]) : null !== dayOfMonth || (result = parseDigits(token, 1, 2, !0), - null === result) ? null !== month || (result = parseMonth(token), null === result) ? null === year && (result = parseDigits(token, 2, 4, !0), - null !== result && (year = result, year >= 70 && year <= 99 ? year += 1900 : year >= 0 && year <= 69 && (year += 2e3))) : month = result : dayOfMonth = result; - } - return null === dayOfMonth || null === month || null === year || null === second || dayOfMonth < 1 || dayOfMonth > 31 || year < 1601 || hour > 23 || minute > 59 || second > 59 ? void 0 : new Date(Date.UTC(year, month, dayOfMonth, hour, minute, second)); - } - function formatDate(date) { - return validators.validate(validators.isDate(date), date), date.toUTCString(); - } - function canonicalDomain(str) { - return null == str ? null : (str = str.trim().replace(/^\./, ""), IP_V6_REGEX_OBJECT.test(str) && (str = str.replace("[", "").replace("]", "")), - punycode && /[^\u0001-\u007f]/.test(str) && (str = punycode.toASCII(str)), str.toLowerCase()); - } - function domainMatch(str, domStr, canonicalize) { - if (null == str || null == domStr) return null; - if (!1 !== canonicalize && (str = canonicalDomain(str), domStr = canonicalDomain(domStr)), - str == domStr) return !0; - const idx = str.lastIndexOf(domStr); - return !(idx <= 0) && (str.length === domStr.length + idx && ("." === str.substr(idx - 1, 1) && !IP_REGEX_LOWERCASE.test(str))); - } - function defaultPath(path) { - if (!path || "/" !== path.substr(0, 1)) return "/"; - if ("/" === path) return path; - const rightSlash = path.lastIndexOf("/"); - return 0 === rightSlash ? "/" : path.slice(0, rightSlash); - } - function parseCookiePair(cookiePair, looseMode) { - cookiePair = function(str) { - if (validators.isEmptyString(str)) return str; - for (let t = 0; t < TERMINATORS.length; t++) { - const terminatorIdx = str.indexOf(TERMINATORS[t]); - -1 !== terminatorIdx && (str = str.substr(0, terminatorIdx)); - } - return str; - }(cookiePair), validators.validate(validators.isString(cookiePair), cookiePair); - let cookieName, cookieValue, firstEq = cookiePair.indexOf("="); - if (looseMode) 0 === firstEq && (firstEq = (cookiePair = cookiePair.substr(1)).indexOf("=")); else if (firstEq <= 0) return; - if (firstEq <= 0 ? (cookieName = "", cookieValue = cookiePair.trim()) : (cookieName = cookiePair.substr(0, firstEq).trim(), - cookieValue = cookiePair.substr(firstEq + 1).trim()), CONTROL_CHARS.test(cookieName) || CONTROL_CHARS.test(cookieValue)) return; - const c = new Cookie; - return c.key = cookieName, c.value = cookieValue, c; - } - function parse(str, options) { - if (options && "object" == typeof options || (options = {}), validators.isEmptyString(str) || !validators.isString(str)) return null; - const firstSemi = (str = str.trim()).indexOf(";"), c = parseCookiePair(-1 === firstSemi ? str : str.substr(0, firstSemi), !!options.loose); - if (!c) return; - if (-1 === firstSemi) return c; - const unparsed = str.slice(firstSemi + 1).trim(); - if (0 === unparsed.length) return c; - const cookie_avs = unparsed.split(";"); - for (;cookie_avs.length; ) { - const av = cookie_avs.shift().trim(); - if (0 === av.length) continue; - const av_sep = av.indexOf("="); - let av_key, av_value; - switch (-1 === av_sep ? (av_key = av, av_value = null) : (av_key = av.substr(0, av_sep), - av_value = av.substr(av_sep + 1)), av_key = av_key.trim().toLowerCase(), av_value && (av_value = av_value.trim()), - av_key) { - case "expires": - if (av_value) { - const exp = parseDate(av_value); - exp && (c.expires = exp); - } - break; - - case "max-age": - if (av_value && /^-?[0-9]+$/.test(av_value)) { - const delta = parseInt(av_value, 10); - c.setMaxAge(delta); - } - break; - - case "domain": - if (av_value) { - const domain = av_value.trim().replace(/^\./, ""); - domain && (c.domain = domain.toLowerCase()); - } - break; - - case "path": - c.path = av_value && "/" === av_value[0] ? av_value : null; - break; - - case "secure": - c.secure = !0; - break; - - case "httponly": - c.httpOnly = !0; - break; - - case "samesite": - switch (av_value ? av_value.toLowerCase() : "") { - case "strict": - c.sameSite = "strict"; - break; - - case "lax": - c.sameSite = "lax"; - break; - - case "none": - c.sameSite = "none"; - break; - - default: - c.sameSite = void 0; - } - break; - - default: - c.extensions = c.extensions || [], c.extensions.push(av); - } - } - return c; - } - function jsonParse(str) { - let obj; - try { - obj = JSON.parse(str); - } catch (e) { - return e; - } - return obj; - } - function fromJSON(str) { - if (!str || validators.isEmptyString(str)) return null; - let obj; - if ("string" == typeof str) { - if (obj = jsonParse(str), obj instanceof Error) return null; - } else obj = str; - const c = new Cookie; - for (let i = 0; i < Cookie.serializableProperties.length; i++) { - const prop = Cookie.serializableProperties[i]; - void 0 !== obj[prop] && obj[prop] !== cookieDefaults[prop] && ("expires" === prop || "creation" === prop || "lastAccessed" === prop ? null === obj[prop] ? c[prop] = null : c[prop] = "Infinity" == obj[prop] ? "Infinity" : new Date(obj[prop]) : c[prop] = obj[prop]); - } - return c; - } - function cookieCompare(a, b) { - validators.validate(validators.isObject(a), a), validators.validate(validators.isObject(b), b); - let cmp = 0; - const aPathLen = a.path ? a.path.length : 0; - if (cmp = (b.path ? b.path.length : 0) - aPathLen, 0 !== cmp) return cmp; - return cmp = (a.creation ? a.creation.getTime() : MAX_TIME) - (b.creation ? b.creation.getTime() : MAX_TIME), - 0 !== cmp || (cmp = a.creationIndex - b.creationIndex), cmp; - } - function getCookieContext(url) { - if (url instanceof Object) return url; - try { - url = decodeURI(url); - } catch (err) {} - return urlParse(url); - } - const cookieDefaults = { - key: "", - value: "", - expires: "Infinity", - maxAge: null, - domain: null, - path: null, - secure: !1, - httpOnly: !1, - extensions: null, - hostOnly: null, - pathIsDefault: null, - creation: null, - lastAccessed: null, - sameSite: void 0 - }; - class Cookie { - constructor(options = {}) { - const customInspectSymbol = getCustomInspectSymbol(); - customInspectSymbol && (this[customInspectSymbol] = this.inspect), Object.assign(this, cookieDefaults, options), - this.creation = this.creation || new Date, Object.defineProperty(this, "creationIndex", { - configurable: !1, - enumerable: !1, - writable: !0, - value: ++Cookie.cookiesCreated - }); - } - inspect() { - const now = Date.now(), hostOnly = null != this.hostOnly ? this.hostOnly : "?", createAge = this.creation ? now - this.creation.getTime() + "ms" : "?", accessAge = this.lastAccessed ? now - this.lastAccessed.getTime() + "ms" : "?"; - return `Cookie="${this.toString()}; hostOnly=${hostOnly}; aAge=${accessAge}; cAge=${createAge}"`; - } - toJSON() { - const obj = {}; - for (const prop of Cookie.serializableProperties) this[prop] !== cookieDefaults[prop] && ("expires" === prop || "creation" === prop || "lastAccessed" === prop ? null === this[prop] ? obj[prop] = null : obj[prop] = "Infinity" == this[prop] ? "Infinity" : this[prop].toISOString() : "maxAge" === prop ? null !== this[prop] && (obj[prop] = this[prop] == 1 / 0 || this[prop] == -1 / 0 ? this[prop].toString() : this[prop]) : this[prop] !== cookieDefaults[prop] && (obj[prop] = this[prop])); - return obj; - } - clone() { - return fromJSON(this.toJSON()); - } - validate() { - if (!COOKIE_OCTETS.test(this.value)) return !1; - if (!(this.expires == 1 / 0 || this.expires instanceof Date || parseDate(this.expires))) return !1; - if (null != this.maxAge && this.maxAge <= 0) return !1; - if (null != this.path && !PATH_VALUE.test(this.path)) return !1; - const cdomain = this.cdomain(); - if (cdomain) { - if (cdomain.match(/\.$/)) return !1; - if (null == pubsuffix.getPublicSuffix(cdomain)) return !1; - } - return !0; - } - setExpires(exp) { - exp instanceof Date ? this.expires = exp : this.expires = parseDate(exp) || "Infinity"; - } - setMaxAge(age) { - this.maxAge = age === 1 / 0 || age === -1 / 0 ? age.toString() : age; - } - cookieString() { - let val = this.value; - return null == val && (val = ""), "" === this.key ? val : `${this.key}=${val}`; - } - toString() { - let str = this.cookieString(); - if (this.expires != 1 / 0 && (this.expires instanceof Date ? str += `; Expires=${formatDate(this.expires)}` : str += `; Expires=${this.expires}`), - null != this.maxAge && this.maxAge != 1 / 0 && (str += `; Max-Age=${this.maxAge}`), - this.domain && !this.hostOnly && (str += `; Domain=${this.domain}`), this.path && (str += `; Path=${this.path}`), - this.secure && (str += "; Secure"), this.httpOnly && (str += "; HttpOnly"), this.sameSite && "none" !== this.sameSite) { - const ssCanon = Cookie.sameSiteCanonical[this.sameSite.toLowerCase()]; - str += `; SameSite=${ssCanon || this.sameSite}`; - } - return this.extensions && this.extensions.forEach((ext => { - str += `; ${ext}`; - })), str; - } - TTL(now) { - if (null != this.maxAge) return this.maxAge <= 0 ? 0 : 1e3 * this.maxAge; - let expires = this.expires; - return expires != 1 / 0 ? (expires instanceof Date || (expires = parseDate(expires) || 1 / 0), - expires == 1 / 0 ? 1 / 0 : expires.getTime() - (now || Date.now())) : 1 / 0; - } - expiryTime(now) { - if (null != this.maxAge) { - const relativeTo = now || this.creation || new Date, age = this.maxAge <= 0 ? -1 / 0 : 1e3 * this.maxAge; - return relativeTo.getTime() + age; - } - return this.expires == 1 / 0 ? 1 / 0 : this.expires.getTime(); - } - expiryDate(now) { - const millisec = this.expiryTime(now); - return millisec == 1 / 0 ? new Date(MAX_TIME) : millisec == -1 / 0 ? new Date(0) : new Date(millisec); - } - isPersistent() { - return null != this.maxAge || this.expires != 1 / 0; - } - canonicalizedDomain() { - return null == this.domain ? null : canonicalDomain(this.domain); - } - cdomain() { - return this.canonicalizedDomain(); - } - } - function getNormalizedPrefixSecurity(prefixSecurity) { - if (null != prefixSecurity) { - const normalizedPrefixSecurity = prefixSecurity.toLowerCase(); - switch (normalizedPrefixSecurity) { - case PrefixSecurityEnum.STRICT: - case PrefixSecurityEnum.SILENT: - case PrefixSecurityEnum.DISABLED: - return normalizedPrefixSecurity; - } - } - return PrefixSecurityEnum.SILENT; - } - Cookie.cookiesCreated = 0, Cookie.parse = parse, Cookie.fromJSON = fromJSON, Cookie.serializableProperties = Object.keys(cookieDefaults), - Cookie.sameSiteLevel = { - strict: 3, - lax: 2, - none: 1 - }, Cookie.sameSiteCanonical = { - strict: "Strict", - lax: "Lax" - }; - class CookieJar { - constructor(store, options = { - rejectPublicSuffixes: !0 - }) { - "boolean" == typeof options && (options = { - rejectPublicSuffixes: options - }), validators.validate(validators.isObject(options), options), this.rejectPublicSuffixes = options.rejectPublicSuffixes, - this.enableLooseMode = !!options.looseMode, this.allowSpecialUseDomain = "boolean" != typeof options.allowSpecialUseDomain || options.allowSpecialUseDomain, - this.store = store || new MemoryCookieStore, this.prefixSecurity = getNormalizedPrefixSecurity(options.prefixSecurity), - this._cloneSync = syncWrap("clone"), this._importCookiesSync = syncWrap("_importCookies"), - this.getCookiesSync = syncWrap("getCookies"), this.getCookieStringSync = syncWrap("getCookieString"), - this.getSetCookieStringsSync = syncWrap("getSetCookieStrings"), this.removeAllCookiesSync = syncWrap("removeAllCookies"), - this.setCookieSync = syncWrap("setCookie"), this.serializeSync = syncWrap("serialize"); - } - setCookie(cookie, url, options, cb) { - let err; - if (validators.validate(validators.isNonEmptyString(url), cb, options), validators.isFunction(url)) return (cb = url)(new Error("No URL was specified")); - const context = getCookieContext(url); - if (validators.isFunction(options) && (cb = options, options = {}), validators.validate(validators.isFunction(cb), cb), - !validators.isNonEmptyString(cookie) && !validators.isObject(cookie) && cookie instanceof String && 0 == cookie.length) return cb(null); - const host = canonicalDomain(context.hostname), loose = options.loose || this.enableLooseMode; - let sameSiteContext = null; - if (options.sameSiteContext && (sameSiteContext = checkSameSiteContext(options.sameSiteContext), - !sameSiteContext)) return cb(new Error(SAME_SITE_CONTEXT_VAL_ERR)); - if ("string" == typeof cookie || cookie instanceof String) { - if (!(cookie = Cookie.parse(cookie, { - loose - }))) return err = new Error("Cookie failed to parse"), cb(options.ignoreError ? null : err); - } else if (!(cookie instanceof Cookie)) return err = new Error("First argument to setCookie must be a Cookie object or string"), - cb(options.ignoreError ? null : err); - const now = options.now || new Date; - if (this.rejectPublicSuffixes && cookie.domain) { - if (null == pubsuffix.getPublicSuffix(cookie.cdomain(), { - allowSpecialUseDomain: this.allowSpecialUseDomain, - ignoreError: options.ignoreError - }) && !IP_V6_REGEX_OBJECT.test(cookie.domain)) return err = new Error("Cookie has domain set to a public suffix"), - cb(options.ignoreError ? null : err); - } - if (cookie.domain) { - if (!domainMatch(host, cookie.cdomain(), !1)) return err = new Error(`Cookie not in this host's domain. Cookie:${cookie.cdomain()} Request:${host}`), - cb(options.ignoreError ? null : err); - null == cookie.hostOnly && (cookie.hostOnly = !1); - } else cookie.hostOnly = !0, cookie.domain = host; - if (cookie.path && "/" === cookie.path[0] || (cookie.path = defaultPath(context.pathname), - cookie.pathIsDefault = !0), !1 === options.http && cookie.httpOnly) return err = new Error("Cookie is HttpOnly and this isn't an HTTP API"), - cb(options.ignoreError ? null : err); - if ("none" !== cookie.sameSite && void 0 !== cookie.sameSite && sameSiteContext && "none" === sameSiteContext) return err = new Error("Cookie is SameSite but this is a cross-origin request"), - cb(options.ignoreError ? null : err); - const ignoreErrorForPrefixSecurity = this.prefixSecurity === PrefixSecurityEnum.SILENT; - if (!(this.prefixSecurity === PrefixSecurityEnum.DISABLED)) { - let errorMsg, errorFound = !1; - if (!function(cookie) { - return validators.validate(validators.isObject(cookie), cookie), !cookie.key.startsWith("__Secure-") || cookie.secure; - }(cookie) ? (errorFound = !0, errorMsg = "Cookie has __Secure prefix but Secure attribute is not set") : function(cookie) { - return validators.validate(validators.isObject(cookie)), !cookie.key.startsWith("__Host-") || cookie.secure && cookie.hostOnly && null != cookie.path && "/" === cookie.path; - }(cookie) || (errorFound = !0, errorMsg = "Cookie has __Host prefix but either Secure or HostOnly attribute is not set or Path is not '/'"), - errorFound) return cb(options.ignoreError || ignoreErrorForPrefixSecurity ? null : new Error(errorMsg)); - } - const store = this.store; - store.updateCookie || (store.updateCookie = function(oldCookie, newCookie, cb) { - this.putCookie(newCookie, cb); - }), store.findCookie(cookie.domain, cookie.path, cookie.key, (function(err, oldCookie) { - if (err) return cb(err); - const next = function(err) { - if (err) return cb(err); - cb(null, cookie); - }; - if (oldCookie) { - if (!1 === options.http && oldCookie.httpOnly) return err = new Error("old Cookie is HttpOnly and this isn't an HTTP API"), - cb(options.ignoreError ? null : err); - cookie.creation = oldCookie.creation, cookie.creationIndex = oldCookie.creationIndex, - cookie.lastAccessed = now, store.updateCookie(oldCookie, cookie, next); - } else cookie.creation = cookie.lastAccessed = now, store.putCookie(cookie, next); - })); - } - getCookies(url, options, cb) { - validators.validate(validators.isNonEmptyString(url), cb, url); - const context = getCookieContext(url); - validators.isFunction(options) && (cb = options, options = {}), validators.validate(validators.isObject(options), cb, options), - validators.validate(validators.isFunction(cb), cb); - const host = canonicalDomain(context.hostname), path = context.pathname || "/"; - let secure = options.secure; - null != secure || !context.protocol || "https:" != context.protocol && "wss:" != context.protocol || (secure = !0); - let sameSiteLevel = 0; - if (options.sameSiteContext) { - const sameSiteContext = checkSameSiteContext(options.sameSiteContext); - if (sameSiteLevel = Cookie.sameSiteLevel[sameSiteContext], !sameSiteLevel) return cb(new Error(SAME_SITE_CONTEXT_VAL_ERR)); - } - let http = options.http; - null == http && (http = !0); - const now = options.now || Date.now(), expireCheck = !1 !== options.expire, allPaths = !!options.allPaths, store = this.store; - function matchingCookie(c) { - if (c.hostOnly) { - if (c.domain != host) return !1; - } else if (!domainMatch(host, c.domain, !1)) return !1; - if (!allPaths && !pathMatch(path, c.path)) return !1; - if (c.secure && !secure) return !1; - if (c.httpOnly && !http) return !1; - if (sameSiteLevel) { - if (Cookie.sameSiteLevel[c.sameSite || "none"] > sameSiteLevel) return !1; - } - return !(expireCheck && c.expiryTime() <= now) || (store.removeCookie(c.domain, c.path, c.key, (() => {})), - !1); - } - store.findCookies(host, allPaths ? null : path, this.allowSpecialUseDomain, ((err, cookies) => { - if (err) return cb(err); - cookies = cookies.filter(matchingCookie), !1 !== options.sort && (cookies = cookies.sort(cookieCompare)); - const now = new Date; - for (const cookie of cookies) cookie.lastAccessed = now; - cb(null, cookies); - })); - } - getCookieString(...args) { - const cb = args.pop(); - validators.validate(validators.isFunction(cb), cb); - args.push((function(err, cookies) { - err ? cb(err) : cb(null, cookies.sort(cookieCompare).map((c => c.cookieString())).join("; ")); - })), this.getCookies.apply(this, args); - } - getSetCookieStrings(...args) { - const cb = args.pop(); - validators.validate(validators.isFunction(cb), cb); - args.push((function(err, cookies) { - err ? cb(err) : cb(null, cookies.map((c => c.toString()))); - })), this.getCookies.apply(this, args); - } - serialize(cb) { - validators.validate(validators.isFunction(cb), cb); - let type = this.store.constructor.name; - validators.isObject(type) && (type = null); - const serialized = { - version: `tough-cookie@${VERSION}`, - storeType: type, - rejectPublicSuffixes: !!this.rejectPublicSuffixes, - enableLooseMode: !!this.enableLooseMode, - allowSpecialUseDomain: !!this.allowSpecialUseDomain, - prefixSecurity: getNormalizedPrefixSecurity(this.prefixSecurity), - cookies: [] - }; - if (!this.store.getAllCookies || "function" != typeof this.store.getAllCookies) return cb(new Error("store does not support getAllCookies and cannot be serialized")); - this.store.getAllCookies(((err, cookies) => err ? cb(err) : (serialized.cookies = cookies.map((cookie => (delete (cookie = cookie instanceof Cookie ? cookie.toJSON() : cookie).creationIndex, - cookie))), cb(null, serialized)))); - } - toJSON() { - return this.serializeSync(); - } - _importCookies(serialized, cb) { - let cookies = serialized.cookies; - if (!cookies || !Array.isArray(cookies)) return cb(new Error("serialized jar has no cookies array")); - cookies = cookies.slice(); - const putNext = err => { - if (err) return cb(err); - if (!cookies.length) return cb(err, this); - let cookie; - try { - cookie = fromJSON(cookies.shift()); - } catch (e) { - return cb(e); - } - if (null === cookie) return putNext(null); - this.store.putCookie(cookie, putNext); - }; - putNext(); - } - clone(newStore, cb) { - 1 === arguments.length && (cb = newStore, newStore = null), this.serialize(((err, serialized) => { - if (err) return cb(err); - CookieJar.deserialize(serialized, newStore, cb); - })); - } - cloneSync(newStore) { - if (0 === arguments.length) return this._cloneSync(); - if (!newStore.synchronous) throw new Error("CookieJar clone destination store is not synchronous; use async API instead."); - return this._cloneSync(newStore); - } - removeAllCookies(cb) { - validators.validate(validators.isFunction(cb), cb); - const store = this.store; - if ("function" == typeof store.removeAllCookies && store.removeAllCookies !== Store.prototype.removeAllCookies) return store.removeAllCookies(cb); - store.getAllCookies(((err, cookies) => { - if (err) return cb(err); - if (0 === cookies.length) return cb(null); - let completedCount = 0; - const removeErrors = []; - function removeCookieCb(removeErr) { - if (removeErr && removeErrors.push(removeErr), completedCount++, completedCount === cookies.length) return cb(removeErrors.length ? removeErrors[0] : null); - } - cookies.forEach((cookie => { - store.removeCookie(cookie.domain, cookie.path, cookie.key, removeCookieCb); - })); - })); - } - static deserialize(strOrObj, store, cb) { - let serialized; - if (3 !== arguments.length && (cb = store, store = null), validators.validate(validators.isFunction(cb), cb), - "string" == typeof strOrObj) { - if (serialized = jsonParse(strOrObj), serialized instanceof Error) return cb(serialized); - } else serialized = strOrObj; - const jar = new CookieJar(store, { - rejectPublicSuffixes: serialized.rejectPublicSuffixes, - looseMode: serialized.enableLooseMode, - allowSpecialUseDomain: serialized.allowSpecialUseDomain, - prefixSecurity: serialized.prefixSecurity - }); - jar._importCookies(serialized, (err => { - if (err) return cb(err); - cb(null, jar); - })); - } - static deserializeSync(strOrObj, store) { - const serialized = "string" == typeof strOrObj ? JSON.parse(strOrObj) : strOrObj, jar = new CookieJar(store, { - rejectPublicSuffixes: serialized.rejectPublicSuffixes, - looseMode: serialized.enableLooseMode - }); - if (!jar.store.synchronous) throw new Error("CookieJar store is not synchronous; use async API instead."); - return jar._importCookiesSync(serialized), jar; - } - } - function syncWrap(method) { - return function(...args) { - if (!this.store.synchronous) throw new Error("CookieJar store is not synchronous; use async API instead."); - let syncErr, syncResult; - if (this[method](...args, ((err, result) => { - syncErr = err, syncResult = result; - })), syncErr) throw syncErr; - return syncResult; - }; - } - CookieJar.fromJSON = CookieJar.deserializeSync, [ "_importCookies", "clone", "getCookies", "getCookieString", "getSetCookieStrings", "removeAllCookies", "serialize", "setCookie" ].forEach((name => { - CookieJar.prototype[name] = fromCallback(CookieJar.prototype[name]); - })), CookieJar.deserialize = fromCallback(CookieJar.deserialize), exports.US = CookieJar, - pubsuffix.getPublicSuffix, __webpack_require__(4558).p, validators.ParameterError; - }, - 3003: (__unused_webpack_module, exports, __webpack_require__) => { - "use strict"; - const {fromCallback} = __webpack_require__(7075), Store = __webpack_require__(9204).y, permuteDomain = __webpack_require__(4558).p, pathMatch = __webpack_require__(8694).U, {getCustomInspectSymbol, getUtilInspect} = __webpack_require__(1786); - class MemoryCookieStore extends Store { - constructor() { - super(), this.synchronous = !0, this.idx = {}; - const customInspectSymbol = getCustomInspectSymbol(); - customInspectSymbol && (this[customInspectSymbol] = this.inspect); - } - inspect() { - return `{ idx: ${{ - inspect: getUtilInspect(inspectFallback) - }.inspect(this.idx, !1, 2)} }`; - } - findCookie(domain, path, key, cb) { - return this.idx[domain] && this.idx[domain][path] ? cb(null, this.idx[domain][path][key] || null) : cb(null, void 0); - } - findCookies(domain, path, allowSpecialUseDomain, cb) { - const results = []; - if ("function" == typeof allowSpecialUseDomain && (cb = allowSpecialUseDomain, allowSpecialUseDomain = !0), - !domain) return cb(null, []); - let pathMatcher; - pathMatcher = path ? function(domainIndex) { - Object.keys(domainIndex).forEach((cookiePath => { - if (pathMatch(path, cookiePath)) { - const pathIndex = domainIndex[cookiePath]; - for (const key in pathIndex) results.push(pathIndex[key]); - } - })); - } : function(domainIndex) { - for (const curPath in domainIndex) { - const pathIndex = domainIndex[curPath]; - for (const key in pathIndex) results.push(pathIndex[key]); - } - }; - const domains = permuteDomain(domain, allowSpecialUseDomain) || [ domain ], idx = this.idx; - domains.forEach((curDomain => { - const domainIndex = idx[curDomain]; - domainIndex && pathMatcher(domainIndex); - })), cb(null, results); - } - putCookie(cookie, cb) { - this.idx[cookie.domain] || (this.idx[cookie.domain] = {}), this.idx[cookie.domain][cookie.path] || (this.idx[cookie.domain][cookie.path] = {}), - this.idx[cookie.domain][cookie.path][cookie.key] = cookie, cb(null); - } - updateCookie(oldCookie, newCookie, cb) { - this.putCookie(newCookie, cb); - } - removeCookie(domain, path, key, cb) { - this.idx[domain] && this.idx[domain][path] && this.idx[domain][path][key] && delete this.idx[domain][path][key], - cb(null); - } - removeCookies(domain, path, cb) { - return this.idx[domain] && (path ? delete this.idx[domain][path] : delete this.idx[domain]), - cb(null); - } - removeAllCookies(cb) { - return this.idx = {}, cb(null); - } - getAllCookies(cb) { - const cookies = [], idx = this.idx; - Object.keys(idx).forEach((domain => { - Object.keys(idx[domain]).forEach((path => { - Object.keys(idx[domain][path]).forEach((key => { - null !== key && cookies.push(idx[domain][path][key]); - })); - })); - })), cookies.sort(((a, b) => (a.creationIndex || 0) - (b.creationIndex || 0))), - cb(null, cookies); - } - } - function inspectFallback(val) { - const domains = Object.keys(val); - if (0 === domains.length) return "{}"; - let result = "{\n"; - return Object.keys(val).forEach(((domain, i) => { - result += function(domainName, domainValue) { - const indent = " "; - let result = `${indent}'${domainName}': {\n`; - return Object.keys(domainValue).forEach(((path, i, paths) => { - result += function(pathName, pathValue) { - const indent = " "; - let result = `${indent}'${pathName}': {\n`; - return Object.keys(pathValue).forEach(((cookieName, i, cookieNames) => { - const cookie = pathValue[cookieName]; - result += ` ${cookieName}: ${cookie.inspect()}`, i < cookieNames.length - 1 && (result += ","), - result += "\n"; - })), result += `${indent}}`, result; - }(path, domainValue[path]), i < paths.length - 1 && (result += ","), result += "\n"; - })), result += `${indent}}`, result; - }(domain, val[domain]), i < domains.length - 1 && (result += ","), result += "\n"; - })), result += "}", result; - } - [ "findCookie", "findCookies", "putCookie", "updateCookie", "removeCookie", "removeCookies", "removeAllCookies", "getAllCookies" ].forEach((name => { - MemoryCookieStore.prototype[name] = fromCallback(MemoryCookieStore.prototype[name]); - })), exports.m = MemoryCookieStore; - }, - 8694: (__unused_webpack_module, exports) => { - "use strict"; - exports.U = function(reqPath, cookiePath) { - if (cookiePath === reqPath) return !0; - if (0 === reqPath.indexOf(cookiePath)) { - if ("/" === cookiePath.substr(-1)) return !0; - if ("/" === reqPath.substr(cookiePath.length, 1)) return !0; - } - return !1; - }; - }, - 4558: (__unused_webpack_module, exports, __webpack_require__) => { - "use strict"; - const pubsuffix = __webpack_require__(3403); - exports.p = function(domain, allowSpecialUseDomain) { - const pubSuf = pubsuffix.getPublicSuffix(domain, { - allowSpecialUseDomain - }); - if (!pubSuf) return null; - if (pubSuf == domain) return [ domain ]; - "." == domain.slice(-1) && (domain = domain.slice(0, -1)); - const parts = domain.slice(0, -(pubSuf.length + 1)).split(".").reverse(); - let cur = pubSuf; - const permutations = [ cur ]; - for (;parts.length; ) cur = `${parts.shift()}.${cur}`, permutations.push(cur); - return permutations; - }; - }, - 3403: (__unused_webpack_module, exports, __webpack_require__) => { - "use strict"; - const psl = __webpack_require__(2470), SPECIAL_USE_DOMAINS = [ "local", "example", "invalid", "localhost", "test" ], SPECIAL_TREATMENT_DOMAINS = [ "localhost", "invalid" ]; - exports.getPublicSuffix = function(domain, options = {}) { - const domainParts = domain.split("."), topLevelDomain = domainParts[domainParts.length - 1], allowSpecialUseDomain = !!options.allowSpecialUseDomain, ignoreError = !!options.ignoreError; - if (allowSpecialUseDomain && SPECIAL_USE_DOMAINS.includes(topLevelDomain)) { - if (domainParts.length > 1) { - return `${domainParts[domainParts.length - 2]}.${topLevelDomain}`; - } - if (SPECIAL_TREATMENT_DOMAINS.includes(topLevelDomain)) return `${topLevelDomain}`; - } - if (!ignoreError && SPECIAL_USE_DOMAINS.includes(topLevelDomain)) throw new Error(`Cookie has domain set to the public suffix "${topLevelDomain}" which is a special use domain. To allow this, configure your CookieJar with {allowSpecialUseDomain:true, rejectPublicSuffixes: false}.`); - return psl.get(domain); - }; - }, - 9204: (__unused_webpack_module, exports) => { - "use strict"; - exports.y = class { - constructor() { - this.synchronous = !1; - } - findCookie(domain, path, key, cb) { - throw new Error("findCookie is not implemented"); - } - findCookies(domain, path, allowSpecialUseDomain, cb) { - throw new Error("findCookies is not implemented"); - } - putCookie(cookie, cb) { - throw new Error("putCookie is not implemented"); - } - updateCookie(oldCookie, newCookie, cb) { - throw new Error("updateCookie is not implemented"); - } - removeCookie(domain, path, key, cb) { - throw new Error("removeCookie is not implemented"); - } - removeCookies(domain, path, cb) { - throw new Error("removeCookies is not implemented"); - } - removeAllCookies(cb) { - throw new Error("removeAllCookies is not implemented"); - } - getAllCookies(cb) { - throw new Error("getAllCookies is not implemented (therefore jar cannot be serialized)"); - } - }; - }, - 1786: (__unused_webpack_module, exports, __webpack_require__) => { - function requireUtil() { - try { - return __webpack_require__(3837); - } catch (e) { - return null; - } - } - function lookupCustomInspectSymbol() { - return Symbol.for("nodejs.util.inspect.custom"); - } - exports.getUtilInspect = function(fallback, options = {}) { - const util = (options.requireUtil || requireUtil)(); - return function(value, showHidden, depth) { - return util ? util.inspect(value, showHidden, depth) : fallback(value); - }; - }, exports.getCustomInspectSymbol = function(options = {}) { - return (options.lookupCustomInspectSymbol || lookupCustomInspectSymbol)() || function(options) { - const util = (options.requireUtil || requireUtil)(); - return util ? util.inspect.custom : null; - }(options); - }; - }, - 9480: (__unused_webpack_module, exports) => { - "use strict"; - function isFunction(data) { - return "function" == typeof data; - } - function isString(data) { - return "string" == typeof data || data instanceof String; - } - function isObject(data) { - return "[object Object]" === toString.call(data); - } - class ParameterError extends Error { - constructor(...params) { - super(...params); - } - } - exports.ParameterError = ParameterError, exports.isFunction = isFunction, exports.isNonEmptyString = function(data) { - return isString(data) && "" !== data; - }, exports.isDate = function(data) { - return function(data, prototype) { - try { - return data instanceof prototype; - } catch (error) { - return !1; - } - }(data, Date) && function(data) { - return "number" == typeof data && data % 1 == 0; - }(data.getTime()); - }, exports.isEmptyString = function(data) { - return "" === data || data instanceof String && "" === data.toString(); - }, exports.isString = isString, exports.isObject = isObject, exports.validate = function(bool, cb, options) { - if (isFunction(cb) || (options = cb, cb = null), isObject(options) || (options = { - Error: "Failed Check" - }), !bool) { - if (!cb) throw new ParameterError(options); - cb(new ParameterError(options)); - } - }; - }, - 6392: module => { - module.exports = "4.1.2"; - }, - 4556: (__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + 848: (__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, { AccountSASPermissions: () => AccountSASPermissions, @@ -5446,11 +4743,10 @@ ContainerSASPermissions: () => ContainerSASPermissions, Credential: () => Credential, CredentialPolicy: () => CredentialPolicy, - HttpHeaders: () => httpHeaders_HttpHeaders, + KnownEncryptionAlgorithmType: () => KnownEncryptionAlgorithmType, PageBlobClient: () => PageBlobClient, Pipeline: () => Pipeline, PremiumPageBlobTier: () => PremiumPageBlobTier, - RequestPolicyOptions: () => RequestPolicyOptions, RestError: () => RestError, SASProtocol: () => SASProtocol, SASQueryParameters: () => SASQueryParameters, @@ -5463,12 +4759,11 @@ StorageRetryPolicyType: () => StorageRetryPolicyType, StorageSharedKeyCredential: () => StorageSharedKeyCredential, StorageSharedKeyCredentialPolicy: () => StorageSharedKeyCredentialPolicy, - WebResource: () => WebResource, - deserializationPolicy: () => deserializationPolicy_deserializationPolicy, generateAccountSASQueryParameters: () => generateAccountSASQueryParameters, generateBlobSASQueryParameters: () => generateBlobSASQueryParameters, + getBlobServiceAccountAudience: () => getBlobServiceAccountAudience, isPipelineLike: () => isPipelineLike, - logger: () => logger, + logger: () => src_log_logger, newPipeline: () => newPipeline }); var mappers_namespaceObject = {}; @@ -5653,312 +4948,284 @@ StorageError: () => StorageError, UserDelegationKey: () => UserDelegationKey }); - const XML_ATTRKEY = "$", XML_CHARKEY = "_"; - var v4 = __webpack_require__(2380); - const validUuidRegex = /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/i, utils_isNode = "undefined" != typeof process && !!process.version && !!process.versions && !!process.versions.node; - function generateUuid() { - return (0, v4.Z)(); - } - const validateISODuration = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/; - function replaceAll(value, searchValue, replaceValue) { - return value && searchValue ? value.split(searchValue).join(replaceValue || "") : value; - } - function getEnvironmentValue(name) { - return process.env[name] ? process.env[name] : process.env[name.toLowerCase()] ? process.env[name.toLowerCase()] : void 0; - } - class URLQuery { - constructor() { - this._rawQuery = {}; - } - any() { - return Object.keys(this._rawQuery).length > 0; - } - keys() { - return Object.keys(this._rawQuery); + const ValidPhaseNames = new Set([ "Deserialize", "Serialize", "Retry", "Sign" ]); + class HttpPipeline { + constructor(policies) { + var _a; + this._policies = [], this._policies = null !== (_a = null == policies ? void 0 : policies.slice(0)) && void 0 !== _a ? _a : [], + this._orderedPolicies = void 0; + } + addPolicy(policy, options = {}) { + if (options.phase && options.afterPhase) throw new Error("Policies inside a phase cannot specify afterPhase."); + if (options.phase && !ValidPhaseNames.has(options.phase)) throw new Error(`Invalid phase name: ${options.phase}`); + if (options.afterPhase && !ValidPhaseNames.has(options.afterPhase)) throw new Error(`Invalid afterPhase name: ${options.afterPhase}`); + this._policies.push({ + policy, + options + }), this._orderedPolicies = void 0; + } + removePolicy(options) { + const removedPolicies = []; + return this._policies = this._policies.filter((policyDescriptor => !(options.name && policyDescriptor.policy.name === options.name || options.phase && policyDescriptor.options.phase === options.phase) || (removedPolicies.push(policyDescriptor.policy), + !1))), this._orderedPolicies = void 0, removedPolicies; + } + sendRequest(httpClient, request) { + return this.getOrderedPolicies().reduceRight(((next, policy) => req => policy.sendRequest(req, next)), (req => httpClient.sendRequest(req)))(request); + } + getOrderedPolicies() { + return this._orderedPolicies || (this._orderedPolicies = this.orderPolicies()), + this._orderedPolicies; } - set(parameterName, parameterValue) { - const caseParameterValue = parameterValue; - if (parameterName) if (null != caseParameterValue) { - const newValue = Array.isArray(caseParameterValue) ? caseParameterValue : caseParameterValue.toString(); - this._rawQuery[parameterName] = newValue; - } else delete this._rawQuery[parameterName]; + clone() { + return new HttpPipeline(this._policies); } - get(parameterName) { - return parameterName ? this._rawQuery[parameterName] : void 0; + static create() { + return new HttpPipeline; } - toString() { - let result = ""; - for (const parameterName in this._rawQuery) { - result && (result += "&"); - const parameterValue = this._rawQuery[parameterName]; - if (Array.isArray(parameterValue)) { - const parameterStrings = []; - for (const parameterValueElement of parameterValue) parameterStrings.push(`${parameterName}=${parameterValueElement}`); - result += parameterStrings.join("&"); - } else result += `${parameterName}=${parameterValue}`; + orderPolicies() { + const result = [], policyMap = new Map; + function createPhase(name) { + return { + name, + policies: new Set, + hasRun: !1, + hasAfterPolicies: !1 + }; } - return result; - } - static parse(text) { - const result = new URLQuery; - if (text) { - text.startsWith("?") && (text = text.substring(1)); - let currentState = "ParameterName", parameterName = "", parameterValue = ""; - for (let i = 0; i < text.length; ++i) { - const currentCharacter = text[i]; - switch (currentState) { - case "ParameterName": - switch (currentCharacter) { - case "=": - currentState = "ParameterValue"; - break; - - case "&": - parameterName = "", parameterValue = ""; - break; - - default: - parameterName += currentCharacter; - } - break; - - case "ParameterValue": - if ("&" === currentCharacter) result.set(parameterName, parameterValue), parameterName = "", - parameterValue = "", currentState = "ParameterName"; else parameterValue += currentCharacter; - break; - - default: - throw new Error("Unrecognized URLQuery parse state: " + currentState); - } + const serializePhase = createPhase("Serialize"), noPhase = createPhase("None"), deserializePhase = createPhase("Deserialize"), retryPhase = createPhase("Retry"), signPhase = createPhase("Sign"), orderedPhases = [ serializePhase, noPhase, deserializePhase, retryPhase, signPhase ]; + function getPhase(phase) { + return "Retry" === phase ? retryPhase : "Serialize" === phase ? serializePhase : "Deserialize" === phase ? deserializePhase : "Sign" === phase ? signPhase : noPhase; + } + for (const descriptor of this._policies) { + const policy = descriptor.policy, options = descriptor.options, policyName = policy.name; + if (policyMap.has(policyName)) throw new Error("Duplicate policy names not allowed in pipeline"); + const node = { + policy, + dependsOn: new Set, + dependants: new Set + }; + options.afterPhase && (node.afterPhase = getPhase(options.afterPhase), node.afterPhase.hasAfterPolicies = !0), + policyMap.set(policyName, node); + getPhase(options.phase).policies.add(node); + } + for (const descriptor of this._policies) { + const {policy, options} = descriptor, policyName = policy.name, node = policyMap.get(policyName); + if (!node) throw new Error(`Missing node for policy ${policyName}`); + if (options.afterPolicies) for (const afterPolicyName of options.afterPolicies) { + const afterNode = policyMap.get(afterPolicyName); + afterNode && (node.dependsOn.add(afterNode), afterNode.dependants.add(node)); + } + if (options.beforePolicies) for (const beforePolicyName of options.beforePolicies) { + const beforeNode = policyMap.get(beforePolicyName); + beforeNode && (beforeNode.dependsOn.add(node), node.dependants.add(beforeNode)); } - "ParameterValue" === currentState && result.set(parameterName, parameterValue); } - return result; - } - } - class URLBuilder { - setScheme(scheme) { - scheme ? this.set(scheme, "SCHEME") : this._scheme = void 0; - } - getScheme() { - return this._scheme; - } - setHost(host) { - host ? this.set(host, "SCHEME_OR_HOST") : this._host = void 0; - } - getHost() { - return this._host; - } - setPort(port) { - null == port || "" === port ? this._port = void 0 : this.set(port.toString(), "PORT"); - } - getPort() { - return this._port; - } - setPath(path) { - if (path) { - const schemeIndex = path.indexOf("://"); - if (-1 !== schemeIndex) { - const schemeStart = path.lastIndexOf("/", schemeIndex); - this.set(-1 === schemeStart ? path : path.substr(schemeStart + 1), "SCHEME"); - } else this.set(path, "PATH"); - } else this._path = void 0; - } - appendPath(path) { - if (path) { - let currentPath = this.getPath(); - currentPath && (currentPath.endsWith("/") || (currentPath += "/"), path.startsWith("/") && (path = path.substring(1)), - path = currentPath + path), this.set(path, "PATH"); + function walkPhase(phase) { + phase.hasRun = !0; + for (const node of phase.policies) if ((!node.afterPhase || node.afterPhase.hasRun && !node.afterPhase.policies.size) && 0 === node.dependsOn.size) { + result.push(node.policy); + for (const dependant of node.dependants) dependant.dependsOn.delete(node); + policyMap.delete(node.policy.name), phase.policies.delete(node); + } } - } - getPath() { - return this._path; - } - setQuery(query) { - this._query = query ? URLQuery.parse(query) : void 0; - } - setQueryParameter(queryParameterName, queryParameterValue) { - queryParameterName && (this._query || (this._query = new URLQuery), this._query.set(queryParameterName, queryParameterValue)); - } - getQueryParameterValue(queryParameterName) { - return this._query ? this._query.get(queryParameterName) : void 0; - } - getQuery() { - return this._query ? this._query.toString() : void 0; - } - set(text, startState) { - const tokenizer = new URLTokenizer(text, startState); - for (;tokenizer.next(); ) { - const token = tokenizer.current(); - let tokenPath; - if (token) switch (token.type) { - case "SCHEME": - this._scheme = token.text || void 0; - break; - - case "HOST": - this._host = token.text || void 0; - break; - - case "PORT": - this._port = token.text || void 0; - break; - - case "PATH": - tokenPath = token.text || void 0, this._path && "/" !== this._path && "/" === tokenPath || (this._path = tokenPath); - break; - - case "QUERY": - this._query = URLQuery.parse(token.text); - break; - - default: - throw new Error(`Unrecognized URLTokenType: ${token.type}`); + function walkPhases() { + for (const phase of orderedPhases) { + if (walkPhase(phase), phase.policies.size > 0 && phase !== noPhase) return void (noPhase.hasRun || walkPhase(noPhase)); + phase.hasAfterPolicies && walkPhase(noPhase); } } - } - toString() { - let result = ""; - return this._scheme && (result += `${this._scheme}://`), this._host && (result += this._host), - this._port && (result += `:${this._port}`), this._path && (this._path.startsWith("/") || (result += "/"), - result += this._path), this._query && this._query.any() && (result += `?${this._query.toString()}`), - result; - } - replaceAll(searchValue, replaceValue) { - searchValue && (this.setScheme(replaceAll(this.getScheme(), searchValue, replaceValue)), - this.setHost(replaceAll(this.getHost(), searchValue, replaceValue)), this.setPort(replaceAll(this.getPort(), searchValue, replaceValue)), - this.setPath(replaceAll(this.getPath(), searchValue, replaceValue)), this.setQuery(replaceAll(this.getQuery(), searchValue, replaceValue))); - } - static parse(text) { - const result = new URLBuilder; - return result.set(text, "SCHEME_OR_HOST"), result; + let iteration = 0; + for (;policyMap.size > 0; ) { + iteration++; + const initialResultLength = result.length; + if (walkPhases(), result.length <= initialResultLength && iteration > 1) throw new Error("Cannot satisfy policy dependencies due to requirements cycle."); + } + return result; } } - class URLToken { - constructor(text, type) { - this.text = text, this.type = type; - } - static scheme(text) { - return new URLToken(text, "SCHEME"); - } - static host(text) { - return new URLToken(text, "HOST"); - } - static port(text) { - return new URLToken(text, "PORT"); - } - static path(text) { - return new URLToken(text, "PATH"); - } - static query(text) { - return new URLToken(text, "QUERY"); - } + function createEmptyPipeline() { + return HttpPipeline.create(); } - class URLTokenizer { - constructor(_text, state) { - this._text = _text, this._textLength = _text ? _text.length : 0, this._currentState = null != state ? state : "SCHEME_OR_HOST", - this._currentIndex = 0; - } - current() { - return this._currentToken; + var external_node_os_ = __webpack_require__(8161), external_node_util_ = __webpack_require__(7975), external_node_process_ = __webpack_require__(1708), external_node_process_namespaceObject = __webpack_require__.t(external_node_process_, 2); + const debugEnvVariable = "undefined" != typeof process && process.env && process.env.DEBUG || void 0; + let enabledString, enabledNamespaces = [], skippedNamespaces = []; + const debuggers = []; + debugEnvVariable && enable(debugEnvVariable); + const debugObj = Object.assign((namespace => createDebugger(namespace)), { + enable, + enabled, + disable: function() { + const result = enabledString || ""; + return enable(""), result; + }, + log: function(message, ...args) { + external_node_process_.stderr.write(`${external_node_util_.format(message, ...args)}${external_node_os_.EOL}`); } - next() { - if (hasCurrentCharacter(this)) switch (this._currentState) { - case "SCHEME": - !function(tokenizer) { - const scheme = function(tokenizer) { - return readWhile(tokenizer, (character => function(character) { - const characterCode = character.charCodeAt(0); - return 48 <= characterCode && characterCode <= 57 || 65 <= characterCode && characterCode <= 90 || 97 <= characterCode && characterCode <= 122; - }(character))); - }(tokenizer); - tokenizer._currentToken = URLToken.scheme(scheme), hasCurrentCharacter(tokenizer) ? tokenizer._currentState = "HOST" : tokenizer._currentState = "DONE"; - }(this); - break; - - case "SCHEME_OR_HOST": - !function(tokenizer) { - const schemeOrHost = readUntilCharacter(tokenizer, ":", "/", "?"); - hasCurrentCharacter(tokenizer) ? ":" === getCurrentCharacter(tokenizer) ? "://" === peekCharacters(tokenizer, 3) ? (tokenizer._currentToken = URLToken.scheme(schemeOrHost), - tokenizer._currentState = "HOST") : (tokenizer._currentToken = URLToken.host(schemeOrHost), - tokenizer._currentState = "PORT") : (tokenizer._currentToken = URLToken.host(schemeOrHost), - "/" === getCurrentCharacter(tokenizer) ? tokenizer._currentState = "PATH" : tokenizer._currentState = "QUERY") : (tokenizer._currentToken = URLToken.host(schemeOrHost), - tokenizer._currentState = "DONE"); - }(this); - break; - - case "HOST": - !function(tokenizer) { - "://" === peekCharacters(tokenizer, 3) && nextCharacter(tokenizer, 3); - const host = readUntilCharacter(tokenizer, ":", "/", "?"); - tokenizer._currentToken = URLToken.host(host), hasCurrentCharacter(tokenizer) ? ":" === getCurrentCharacter(tokenizer) ? tokenizer._currentState = "PORT" : "/" === getCurrentCharacter(tokenizer) ? tokenizer._currentState = "PATH" : tokenizer._currentState = "QUERY" : tokenizer._currentState = "DONE"; - }(this); - break; - - case "PORT": - !function(tokenizer) { - ":" === getCurrentCharacter(tokenizer) && nextCharacter(tokenizer); - const port = readUntilCharacter(tokenizer, "/", "?"); - tokenizer._currentToken = URLToken.port(port), hasCurrentCharacter(tokenizer) ? "/" === getCurrentCharacter(tokenizer) ? tokenizer._currentState = "PATH" : tokenizer._currentState = "QUERY" : tokenizer._currentState = "DONE"; - }(this); - break; - - case "PATH": - !function(tokenizer) { - const path = readUntilCharacter(tokenizer, "?"); - tokenizer._currentToken = URLToken.path(path), hasCurrentCharacter(tokenizer) ? tokenizer._currentState = "QUERY" : tokenizer._currentState = "DONE"; - }(this); - break; - - case "QUERY": - !function(tokenizer) { - "?" === getCurrentCharacter(tokenizer) && nextCharacter(tokenizer); - const query = function(tokenizer) { - let result = ""; - tokenizer._currentIndex < tokenizer._textLength && (result = tokenizer._text.substring(tokenizer._currentIndex), - tokenizer._currentIndex = tokenizer._textLength); - return result; - }(tokenizer); - tokenizer._currentToken = URLToken.query(query), tokenizer._currentState = "DONE"; - }(this); - break; - - default: - throw new Error(`Unrecognized URLTokenizerState: ${this._currentState}`); - } else this._currentToken = void 0; - return !!this._currentToken; + }); + function enable(namespaces) { + enabledString = namespaces, enabledNamespaces = [], skippedNamespaces = []; + const wildcard = /\*/g, namespaceList = namespaces.split(",").map((ns => ns.trim().replace(wildcard, ".*?"))); + for (const ns of namespaceList) ns.startsWith("-") ? skippedNamespaces.push(new RegExp(`^${ns.substr(1)}$`)) : enabledNamespaces.push(new RegExp(`^${ns}$`)); + for (const instance of debuggers) instance.enabled = enabled(instance.namespace); + } + function enabled(namespace) { + if (namespace.endsWith("*")) return !0; + for (const skipped of skippedNamespaces) if (skipped.test(namespace)) return !1; + for (const enabledNamespace of enabledNamespaces) if (enabledNamespace.test(namespace)) return !0; + return !1; + } + function createDebugger(namespace) { + const newDebugger = Object.assign((function(...args) { + if (!newDebugger.enabled) return; + args.length > 0 && (args[0] = `${namespace} ${args[0]}`); + newDebugger.log(...args); + }), { + enabled: enabled(namespace), + destroy, + log: debugObj.log, + namespace, + extend + }); + return debuggers.push(newDebugger), newDebugger; + } + function destroy() { + const index = debuggers.indexOf(this); + return index >= 0 && (debuggers.splice(index, 1), !0); + } + function extend(namespace) { + const newDebugger = createDebugger(`${this.namespace}:${namespace}`); + return newDebugger.log = this.log, newDebugger; + } + const debug = debugObj, registeredLoggers = new Set, logLevelFromEnv = "undefined" != typeof process && process.env && process.env.AZURE_LOG_LEVEL || void 0; + let azureLogLevel; + const AzureLogger = debug("azure"); + AzureLogger.log = (...args) => { + debug.log(...args); + }; + const AZURE_LOG_LEVELS = [ "verbose", "info", "warning", "error" ]; + logLevelFromEnv && (isAzureLogLevel(logLevelFromEnv) ? function(level) { + if (level && !isAzureLogLevel(level)) throw new Error(`Unknown log level '${level}'. Acceptable values: ${AZURE_LOG_LEVELS.join(",")}`); + azureLogLevel = level; + const enabledNamespaces = []; + for (const logger of registeredLoggers) shouldEnable(logger) && enabledNamespaces.push(logger.namespace); + debug.enable(enabledNamespaces.join(",")); + }(logLevelFromEnv) : console.error(`AZURE_LOG_LEVEL set to unknown log level '${logLevelFromEnv}'; logging is not enabled. Acceptable values: ${AZURE_LOG_LEVELS.join(", ")}.`)); + const levelMap = { + verbose: 400, + info: 300, + warning: 200, + error: 100 + }; + function createClientLogger(namespace) { + const clientRootLogger = AzureLogger.extend(namespace); + return patchLogMethod(AzureLogger, clientRootLogger), { + error: createLogger(clientRootLogger, "error"), + warning: createLogger(clientRootLogger, "warning"), + info: createLogger(clientRootLogger, "info"), + verbose: createLogger(clientRootLogger, "verbose") + }; + } + function patchLogMethod(parent, child) { + child.log = (...args) => { + parent.log(...args); + }; + } + function createLogger(parent, level) { + const logger = Object.assign(parent.extend(level), { + level + }); + if (patchLogMethod(parent, logger), shouldEnable(logger)) { + const enabledNamespaces = debug.disable(); + debug.enable(enabledNamespaces + "," + logger.namespace); } + return registeredLoggers.add(logger), logger; + } + function shouldEnable(logger) { + return Boolean(azureLogLevel && levelMap[logger.level] <= levelMap[azureLogLevel]); + } + function isAzureLogLevel(logLevel) { + return AZURE_LOG_LEVELS.includes(logLevel); } - function hasCurrentCharacter(tokenizer) { - return tokenizer._currentIndex < tokenizer._textLength; + const log_logger = createClientLogger("core-rest-pipeline"); + class AbortError extends Error { + constructor(message) { + super(message), this.name = "AbortError"; + } } - function getCurrentCharacter(tokenizer) { - return tokenizer._text[tokenizer._currentIndex]; + function delay_delay(timeInMs, options) { + let token; + const {abortSignal, abortErrorMsg} = null != options ? options : {}; + return function(buildPromise, options) { + const {cleanupBeforeAbort, abortSignal, abortErrorMsg} = null != options ? options : {}; + return new Promise(((resolve, reject) => { + function rejectOnAbort() { + reject(new AbortError(null != abortErrorMsg ? abortErrorMsg : "The operation was aborted.")); + } + function removeListeners() { + null == abortSignal || abortSignal.removeEventListener("abort", onAbort); + } + function onAbort() { + null == cleanupBeforeAbort || cleanupBeforeAbort(), removeListeners(), rejectOnAbort(); + } + if (null == abortSignal ? void 0 : abortSignal.aborted) return rejectOnAbort(); + try { + buildPromise((x => { + removeListeners(), resolve(x); + }), (x => { + removeListeners(), reject(x); + })); + } catch (err) { + reject(err); + } + null == abortSignal || abortSignal.addEventListener("abort", onAbort); + })); + }((resolve => { + token = setTimeout(resolve, timeInMs); + }), { + cleanupBeforeAbort: () => clearTimeout(token), + abortSignal, + abortErrorMsg: null != abortErrorMsg ? abortErrorMsg : "The delay was aborted." + }); } - function nextCharacter(tokenizer, step) { - hasCurrentCharacter(tokenizer) && (step || (step = 1), tokenizer._currentIndex += step); + function isObject(input) { + return !("object" != typeof input || null === input || Array.isArray(input) || input instanceof RegExp || input instanceof Date); } - function peekCharacters(tokenizer, charactersToPeek) { - let endIndex = tokenizer._currentIndex + charactersToPeek; - return tokenizer._textLength < endIndex && (endIndex = tokenizer._textLength), tokenizer._text.substring(tokenizer._currentIndex, endIndex); + function isError(e) { + if (isObject(e)) { + const hasName = "string" == typeof e.name, hasMessage = "string" == typeof e.message; + return hasName && hasMessage; + } + return !1; } - function readWhile(tokenizer, condition) { - let result = ""; - for (;hasCurrentCharacter(tokenizer); ) { - const currentCharacter = getCurrentCharacter(tokenizer); - if (!condition(currentCharacter)) break; - result += currentCharacter, nextCharacter(tokenizer); + function getErrorMessage(e) { + if (isError(e)) return e.message; + { + let stringified; + try { + stringified = "object" == typeof e && e ? JSON.stringify(e) : String(e); + } catch (err) { + stringified = "[unable to stringify input]"; + } + return `Unknown error ${stringified}`; } - return result; } - function readUntilCharacter(tokenizer, ...terminatingCharacters) { - return readWhile(tokenizer, (character => -1 === terminatingCharacters.indexOf(character))); + var _a, external_crypto_ = __webpack_require__(6982); + const uuidFunction = "function" == typeof (null === (_a = null === globalThis || void 0 === globalThis ? void 0 : globalThis.crypto) || void 0 === _a ? void 0 : _a.randomUUID) ? globalThis.crypto.randomUUID.bind(globalThis.crypto) : external_crypto_.randomUUID; + function randomUUID() { + return uuidFunction(); + } + var checkEnvironment_a, _b, _c, _d; + "undefined" != typeof window && window.document, "object" == typeof self && "function" == typeof (null === self || void 0 === self ? void 0 : self.importScripts) && ("DedicatedWorkerGlobalScope" === (null === (checkEnvironment_a = self.constructor) || void 0 === checkEnvironment_a ? void 0 : checkEnvironment_a.name) || "ServiceWorkerGlobalScope" === (null === (_b = self.constructor) || void 0 === _b ? void 0 : _b.name) || null === (_c = self.constructor) || void 0 === _c || _c.name), + "undefined" != typeof Deno && void 0 !== Deno.version && Deno.version.deno, "undefined" != typeof Bun && Bun.version; + const checkEnvironment_isNodeLike = void 0 !== globalThis.process && Boolean(globalThis.process.version) && Boolean(null === (_d = globalThis.process.versions) || void 0 === _d ? void 0 : _d.node), checkEnvironment_isNode = checkEnvironment_isNodeLike; + "undefined" != typeof navigator && (null === navigator || void 0 === navigator || navigator.product); + function stringToUint8Array(value, format) { + return Buffer.from(value, format); } const defaultAllowedHeaderNames = [ "x-ms-client-request-id", "x-ms-return-client-request-id", "x-ms-useragent", "x-ms-correlation-request-id", "x-ms-request-id", "client-request-id", "ms-cv", "return-client-request-id", "traceparent", "Access-Control-Allow-Credentials", "Access-Control-Allow-Headers", "Access-Control-Allow-Methods", "Access-Control-Allow-Origin", "Access-Control-Expose-Headers", "Access-Control-Max-Age", "Access-Control-Request-Headers", "Access-Control-Request-Method", "Origin", "Accept", "Accept-Encoding", "Cache-Control", "Connection", "Content-Length", "Content-Type", "Date", "ETag", "Expires", "If-Match", "If-Modified-Since", "If-None-Match", "If-Unmodified-Since", "Last-Modified", "Pragma", "Request-Id", "Retry-After", "Server", "Transfer-Encoding", "User-Agent", "WWW-Authenticate" ], defaultAllowedQueryParameters = [ "api-version" ]; class Sanitizer { - constructor({allowedHeaderNames = [], allowedQueryParameters = []} = {}) { - allowedHeaderNames = Array.isArray(allowedHeaderNames) ? defaultAllowedHeaderNames.concat(allowedHeaderNames) : defaultAllowedHeaderNames, - allowedQueryParameters = Array.isArray(allowedQueryParameters) ? defaultAllowedQueryParameters.concat(allowedQueryParameters) : defaultAllowedQueryParameters, + constructor({additionalAllowedHeaderNames: allowedHeaderNames = [], additionalAllowedQueryParameters: allowedQueryParameters = []} = {}) { + allowedHeaderNames = defaultAllowedHeaderNames.concat(allowedHeaderNames), allowedQueryParameters = defaultAllowedQueryParameters.concat(allowedQueryParameters), this.allowedHeaderNames = new Set(allowedHeaderNames.map((n => n.toLowerCase()))), this.allowedQueryParameters = new Set(allowedQueryParameters.map((p => p.toLowerCase()))); } @@ -5969,52 +5236,90 @@ name: value.name, message: value.message }); - if ("_headersMap" === key) return this.sanitizeHeaders(value); + if ("headers" === key) return this.sanitizeHeaders(value); if ("url" === key) return this.sanitizeUrl(value); if ("query" === key) return this.sanitizeQuery(value); if ("body" !== key && "response" !== key && "operationSpec" !== key) { - if (Array.isArray(value) || !("object" != typeof (input = value) || null === input || Array.isArray(input) || input instanceof RegExp || input instanceof Date)) { + if (Array.isArray(value) || isObject(value)) { if (seen.has(value)) return "[Circular]"; seen.add(value); } - var input; return value; } }), 2); } - sanitizeHeaders(value) { - return this.sanitizeObject(value, this.allowedHeaderNames, ((v, k) => v[k].value)); + sanitizeUrl(value) { + if ("string" != typeof value || null === value || "" === value) return value; + const url = new URL(value); + if (!url.search) return value; + for (const [key] of url.searchParams) this.allowedQueryParameters.has(key.toLowerCase()) || url.searchParams.set(key, "REDACTED"); + return url.toString(); } - sanitizeQuery(value) { - return this.sanitizeObject(value, this.allowedQueryParameters, ((v, k) => v[k])); + sanitizeHeaders(obj) { + const sanitized = {}; + for (const key of Object.keys(obj)) this.allowedHeaderNames.has(key.toLowerCase()) ? sanitized[key] = obj[key] : sanitized[key] = "REDACTED"; + return sanitized; } - sanitizeObject(value, allowedKeys, accessor) { + sanitizeQuery(value) { if ("object" != typeof value || null === value) return value; const sanitized = {}; - for (const k of Object.keys(value)) allowedKeys.has(k.toLowerCase()) ? sanitized[k] = accessor(value, k) : sanitized[k] = "REDACTED"; + for (const k of Object.keys(value)) this.allowedQueryParameters.has(k.toLowerCase()) ? sanitized[k] = value[k] : sanitized[k] = "REDACTED"; return sanitized; } - sanitizeUrl(value) { - if ("string" != typeof value || null === value) return value; - const urlBuilder = URLBuilder.parse(value), queryString = urlBuilder.getQuery(); - if (!queryString) return value; - const query = URLQuery.parse(queryString); - for (const k of query.keys()) this.allowedQueryParameters.has(k.toLowerCase()) || query.set(k, "REDACTED"); - return urlBuilder.setQuery(query.toString()), urlBuilder.toString(); - } } - var external_util_ = __webpack_require__(3837), external_util_default = __webpack_require__.n(external_util_); - const custom = external_util_.inspect.custom, errorSanitizer = new Sanitizer; - class RestError extends Error { - constructor(message, code, statusCode, request, response) { - super(message), this.name = "RestError", this.code = code, this.statusCode = statusCode, - this.request = request, this.response = response, Object.setPrototypeOf(this, RestError.prototype); - } - [custom]() { - return `RestError: ${this.message} \n ${errorSanitizer.sanitize(this)}`; + const logPolicyName = "logPolicy"; + const redirectPolicyName = "redirectPolicy", allowedRedirect = [ "GET", "HEAD" ]; + function redirectPolicy(options = {}) { + const {maxRetries = 20} = options; + return { + name: redirectPolicyName, + async sendRequest(request, next) { + const response = await next(request); + return handleRedirect(next, response, maxRetries); + } + }; + } + async function handleRedirect(next, response, maxRetries, currentRetries = 0) { + const {request, status, headers} = response, locationHeader = headers.get("location"); + if (locationHeader && (300 === status || 301 === status && allowedRedirect.includes(request.method) || 302 === status && allowedRedirect.includes(request.method) || 303 === status && "POST" === request.method || 307 === status) && currentRetries < maxRetries) { + const url = new URL(locationHeader, request.url); + request.url = url.toString(), 303 === status && (request.method = "GET", request.headers.delete("Content-Length"), + delete request.body), request.headers.delete("Authorization"); + const res = await next(request); + return handleRedirect(next, res, maxRetries, currentRetries + 1); + } + return response; + } + const SDK_VERSION = "1.16.2", constants_DEFAULT_RETRY_POLICY_COUNT = 3; + async function getUserAgentValue(prefix) { + const runtimeInfo = new Map; + runtimeInfo.set("core-rest-pipeline", SDK_VERSION), await async function(map) { + if (external_node_process_namespaceObject && external_node_process_.versions) { + const versions = external_node_process_.versions; + versions.bun ? map.set("Bun", versions.bun) : versions.deno ? map.set("Deno", versions.deno) : versions.node && map.set("Node", versions.node); + } + map.set("OS", `(${external_node_os_.arch()}-${external_node_os_.type()}-${external_node_os_.release()})`); + }(runtimeInfo); + const defaultAgent = function(telemetryInfo) { + const parts = []; + for (const [key, value] of telemetryInfo) { + const token = value ? `${key}/${value}` : key; + parts.push(token); + } + return parts.join(" "); + }(runtimeInfo); + return prefix ? `${prefix} ${defaultAgent}` : defaultAgent; + } + const UserAgentHeaderName = "User-Agent", userAgentPolicyName = "userAgentPolicy"; + function __rest(s, e) { + var t = {}; + for (var p in s) Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0 && (t[p] = s[p]); + if (null != s && "function" == typeof Object.getOwnPropertySymbols) { + var i = 0; + for (p = Object.getOwnPropertySymbols(s); i < p.length; i++) e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]) && (t[p[i]] = s[p[i]]); } + return t; } - RestError.REQUEST_SEND_ERROR = "REQUEST_SEND_ERROR", RestError.PARSE_ERROR = "PARSE_ERROR"; Object.create; function __values(o) { var s = "function" == typeof Symbol && Symbol.iterator, m = s && o[s], i = 0; @@ -6029,25 +5334,29 @@ }; throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); } - function tslib_es6_await(v) { - return this instanceof tslib_es6_await ? (this.v = v, this) : new tslib_es6_await(v); + function __await(v) { + return this instanceof __await ? (this.v = v, this) : new __await(v); } - function tslib_es6_asyncGenerator(thisArg, _arguments, generator) { + function __asyncGenerator(thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var i, g = generator.apply(thisArg, _arguments || []), q = []; - return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function() { + return i = {}, verb("next"), verb("throw"), verb("return", (function(f) { + return function(v) { + return Promise.resolve(v).then(f, reject); + }; + })), i[Symbol.asyncIterator] = function() { return this; }, i; - function verb(n) { + function verb(n, f) { g[n] && (i[n] = function(v) { return new Promise((function(a, b) { q.push([ n, v, a, b ]) > 1 || resume(n, v); })); - }); + }, f && (i[n] = f(i[n]))); } function resume(n, v) { try { - (r = g[n](v)).value instanceof tslib_es6_await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); + (r = g[n](v)).value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } catch (e) { settle(q[0][3], e); } @@ -6063,7 +5372,7 @@ f(v), q.shift(), q.length && resume(q[0][0], q[0][1]); } } - function tslib_es6_asyncDelegator(o) { + function __asyncDelegator(o) { var i, p; return i = {}, verb("next"), verb("throw", (function(e) { throw e; @@ -6073,13 +5382,13 @@ function verb(n, f) { i[n] = o[n] ? function(v) { return (p = !p) ? { - value: tslib_es6_await(o[n](v)), + value: __await(o[n](v)), done: !1 } : f ? f(v) : v; } : f; } } - function tslib_es6_asyncValues(o) { + function __asyncValues(o) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var i, m = o[Symbol.asyncIterator]; return m ? m.call(o) : (o = __values(o), i = {}, verb("next"), verb("throw"), verb("return"), @@ -6101,584 +5410,1042 @@ }; } } - var HttpPipelineLogLevel; Object.create; - function isTokenCredential(credential) { - const castCredential = credential; - return castCredential && "function" == typeof castCredential.getToken && (void 0 === castCredential.signRequest || castCredential.getToken.length > 0); + "function" == typeof SuppressedError && SuppressedError; + var external_node_stream_ = __webpack_require__(7075); + function isBlob(x) { + return "function" == typeof x.stream; + } + const rawContent = Symbol("rawContent"); + function getRawContent(blob) { + return "function" == typeof blob[rawContent] ? blob[rawContent]() : blob.stream(); + } + function streamAsyncIterator() { + return __asyncGenerator(this, arguments, (function*() { + const reader = this.getReader(); + try { + for (;;) { + const {done, value} = yield __await(reader.read()); + if (done) return yield __await(void 0); + yield yield __await(value); + } + } finally { + reader.releaseLock(); + } + })); } - !function(HttpPipelineLogLevel) { - HttpPipelineLogLevel[HttpPipelineLogLevel.OFF = 0] = "OFF", HttpPipelineLogLevel[HttpPipelineLogLevel.ERROR = 1] = "ERROR", - HttpPipelineLogLevel[HttpPipelineLogLevel.WARNING = 2] = "WARNING", HttpPipelineLogLevel[HttpPipelineLogLevel.INFO = 3] = "INFO"; - }(HttpPipelineLogLevel || (HttpPipelineLogLevel = {})); - class BaseRequestPolicy { - constructor(_nextPolicy, _options) { - this._nextPolicy = _nextPolicy, this._options = _options; - } - shouldLog(logLevel) { - return this._options.shouldLog(logLevel); - } - log(logLevel, message) { - this._options.log(logLevel, message); - } + function ensureNodeStream(stream) { + return stream instanceof ReadableStream ? ((webStream = stream)[Symbol.asyncIterator] || (webStream[Symbol.asyncIterator] = streamAsyncIterator.bind(webStream)), + webStream.values || (webStream.values = streamAsyncIterator.bind(webStream)), external_node_stream_.Readable.fromWeb(stream)) : stream; + var webStream; } - class RequestPolicyOptions { - constructor(_logger) { - this._logger = _logger; - } - shouldLog(logLevel) { - return !!this._logger && logLevel !== HttpPipelineLogLevel.OFF && logLevel <= this._logger.minimumLogLevel; - } - log(logLevel, message) { - this._logger && this.shouldLog(logLevel) && this._logger.log(logLevel, message); - } - } - const constants_Constants = { - coreHttpVersion: "2.3.1", - HTTP: "http:", - HTTPS: "https:", - HTTP_PROXY: "HTTP_PROXY", - HTTPS_PROXY: "HTTPS_PROXY", - NO_PROXY: "NO_PROXY", - ALL_PROXY: "ALL_PROXY", - HttpConstants: { - HttpVerbs: { - PUT: "PUT", - GET: "GET", - DELETE: "DELETE", - POST: "POST", - MERGE: "MERGE", - HEAD: "HEAD", - PATCH: "PATCH" - }, - StatusCodes: { - TooManyRequests: 429, - ServiceUnavailable: 503 + function toStream(source) { + return source instanceof Uint8Array ? external_node_stream_.Readable.from(Buffer.from(source)) : isBlob(source) ? toStream(getRawContent(source)) : ensureNodeStream(source); + } + function encodeHeaders(headers) { + let result = ""; + for (const [key, value] of headers) result += `${key}: ${value}\r\n`; + return result; + } + function getLength(source) { + return source instanceof Uint8Array ? source.byteLength : isBlob(source) ? -1 === source.size ? void 0 : source.size : void 0; + } + async function buildRequestBody(request, parts, boundary) { + const sources = [ stringToUint8Array(`--${boundary}`, "utf-8"), ...parts.flatMap((part => [ stringToUint8Array("\r\n", "utf-8"), stringToUint8Array(encodeHeaders(part.headers), "utf-8"), stringToUint8Array("\r\n", "utf-8"), part.body, stringToUint8Array(`\r\n--${boundary}`, "utf-8") ])), stringToUint8Array("--\r\n\r\n", "utf-8") ], contentLength = function(sources) { + let total = 0; + for (const source of sources) { + const partLength = getLength(source); + if (void 0 === partLength) return; + total += partLength; } - }, - HeaderConstants: { - AUTHORIZATION: "authorization", - AUTHORIZATION_SCHEME: "Bearer", - RETRY_AFTER: "Retry-After", - USER_AGENT: "User-Agent" - } - }, globalNoProxyList = []; - let noProxyListLoaded = !1; - const globalBypassedMap = new Map; - function getDefaultProxySettings(proxyUrl) { - if (!proxyUrl && !(proxyUrl = function() { - if (!process) return; - const httpsProxy = getEnvironmentValue(constants_Constants.HTTPS_PROXY), allProxy = getEnvironmentValue(constants_Constants.ALL_PROXY), httpProxy = getEnvironmentValue(constants_Constants.HTTP_PROXY); - return httpsProxy || allProxy || httpProxy; - }())) return; - const {username, password, urlWithoutAuth} = function(url) { - const atIndex = url.indexOf("@"); - if (-1 === atIndex) return { - urlWithoutAuth: url + return total; + }(sources); + contentLength && request.headers.set("Content-Length", contentLength), request.body = await async function(sources) { + return function() { + const streams = sources.map((x => "function" == typeof x ? x() : x)).map(toStream); + return external_node_stream_.Readable.from(function() { + return __asyncGenerator(this, arguments, (function*() { + var _a, e_1, _b, _c; + for (const stream of streams) try { + for (var stream_1_1, _d = !0, stream_1 = (e_1 = void 0, __asyncValues(stream)); !(_a = (stream_1_1 = yield __await(stream_1.next())).done); _d = !0) { + _c = stream_1_1.value, _d = !1; + const chunk = _c; + yield yield __await(chunk); + } + } catch (e_1_1) { + e_1 = { + error: e_1_1 + }; + } finally { + try { + _d || _a || !(_b = stream_1.return) || (yield __await(_b.call(stream_1))); + } finally { + if (e_1) throw e_1.error; + } + } + })); + }()); }; - const schemeIndex = url.indexOf("://"), authStart = -1 !== schemeIndex ? schemeIndex + 3 : 0, auth = url.substring(authStart, atIndex), colonIndex = auth.indexOf(":"), hasPassword = -1 !== colonIndex, username = hasPassword ? auth.substring(0, colonIndex) : auth, password = hasPassword ? auth.substring(colonIndex + 1) : void 0, urlWithoutAuth = url.substring(0, authStart) + url.substring(atIndex + 1); - return { - username, - password, - urlWithoutAuth + }(sources); + } + const multipartPolicyName = "multipartPolicy", maxBoundaryLength = 70, validBoundaryCharacters = new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?"); + function multipartPolicy() { + return { + name: multipartPolicyName, + async sendRequest(request, next) { + var _a; + if (!request.multipartBody) return next(request); + if (request.body) throw new Error("multipartBody and regular body cannot be set at the same time"); + let boundary = request.multipartBody.boundary; + const contentTypeHeader = null !== (_a = request.headers.get("Content-Type")) && void 0 !== _a ? _a : "multipart/mixed", parsedHeader = contentTypeHeader.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/); + if (!parsedHeader) throw new Error(`Got multipart request body, but content-type header was not multipart: ${contentTypeHeader}`); + const [, contentType, parsedBoundary] = parsedHeader; + if (parsedBoundary && boundary && parsedBoundary !== boundary) throw new Error(`Multipart boundary was specified as ${parsedBoundary} in the header, but got ${boundary} in the request body`); + return null != boundary || (boundary = parsedBoundary), boundary ? function(boundary) { + if (boundary.length > maxBoundaryLength) throw new Error(`Multipart boundary "${boundary}" exceeds maximum length of 70 characters`); + if (Array.from(boundary).some((x => !validBoundaryCharacters.has(x)))) throw new Error(`Multipart boundary "${boundary}" contains invalid characters`); + }(boundary) : boundary = `----AzSDKFormBoundary${randomUUID()}`, request.headers.set("Content-Type", `${contentType}; boundary=${boundary}`), + await buildRequestBody(request, request.multipartBody.parts, boundary), request.multipartBody = void 0, + next(request); + } + }; + } + const decompressResponsePolicyName = "decompressResponsePolicy"; + const helpers_StandardAbortMessage = "The operation was aborted."; + function helpers_delay(delayInMs, value, options) { + return new Promise(((resolve, reject) => { + let timer, onAborted; + const rejectOnAbort = () => reject(new AbortError((null == options ? void 0 : options.abortErrorMsg) ? null == options ? void 0 : options.abortErrorMsg : helpers_StandardAbortMessage)), removeListeners = () => { + (null == options ? void 0 : options.abortSignal) && onAborted && options.abortSignal.removeEventListener("abort", onAborted); }; - }(proxyUrl), parsedUrl = URLBuilder.parse(urlWithoutAuth); + if (onAborted = () => (timer && clearTimeout(timer), removeListeners(), rejectOnAbort()), + (null == options ? void 0 : options.abortSignal) && options.abortSignal.aborted) return rejectOnAbort(); + timer = setTimeout((() => { + removeListeners(), resolve(value); + }), delayInMs), (null == options ? void 0 : options.abortSignal) && options.abortSignal.addEventListener("abort", onAborted); + })); + } + function parseHeaderValueAsNumber(response, headerName) { + const value = response.headers.get(headerName); + if (!value) return; + const valueAsNum = Number(value); + return Number.isNaN(valueAsNum) ? void 0 : valueAsNum; + } + const RetryAfterHeader = "Retry-After", AllRetryAfterHeaders = [ "retry-after-ms", "x-ms-retry-after-ms", RetryAfterHeader ]; + function getRetryAfterInMs(response) { + if (response && [ 429, 503 ].includes(response.status)) try { + for (const header of AllRetryAfterHeaders) { + const retryAfterValue = parseHeaderValueAsNumber(response, header); + if (0 === retryAfterValue || retryAfterValue) { + return retryAfterValue * (header === RetryAfterHeader ? 1e3 : 1); + } + } + const retryAfterHeader = response.headers.get(RetryAfterHeader); + if (!retryAfterHeader) return; + const diff = Date.parse(retryAfterHeader) - Date.now(); + return Number.isFinite(diff) ? Math.max(0, diff) : void 0; + } catch (e) { + return; + } + } + const DEFAULT_CLIENT_RETRY_INTERVAL = 1e3, DEFAULT_CLIENT_MAX_RETRY_INTERVAL = 64e3; + function exponentialRetryStrategy_exponentialRetryStrategy(options = {}) { + var _a, _b; + const retryInterval = null !== (_a = options.retryDelayInMs) && void 0 !== _a ? _a : DEFAULT_CLIENT_RETRY_INTERVAL, maxRetryInterval = null !== (_b = options.maxRetryDelayInMs) && void 0 !== _b ? _b : DEFAULT_CLIENT_MAX_RETRY_INTERVAL; + let retryAfterInMs = retryInterval; return { - host: (parsedUrl.getScheme() ? parsedUrl.getScheme() + "://" : "") + parsedUrl.getHost(), - port: Number.parseInt(parsedUrl.getPort() || "80"), - username, - password + name: "exponentialRetryStrategy", + retry({retryCount, response, responseError}) { + const matchedSystemError = function(err) { + if (!err) return !1; + return "ETIMEDOUT" === err.code || "ESOCKETTIMEDOUT" === err.code || "ECONNREFUSED" === err.code || "ECONNRESET" === err.code || "ENOENT" === err.code || "ENOTFOUND" === err.code; + }(responseError), ignoreSystemErrors = matchedSystemError && options.ignoreSystemErrors, isExponential = function(response) { + return Boolean(response && void 0 !== response.status && (response.status >= 500 || 408 === response.status) && 501 !== response.status && 505 !== response.status); + }(response), ignoreExponentialResponse = isExponential && options.ignoreHttpStatusCodes, unknownResponse = response && (function(response) { + return Number.isFinite(getRetryAfterInMs(response)); + }(response) || !isExponential); + if (unknownResponse || ignoreExponentialResponse || ignoreSystemErrors) return { + skipStrategy: !0 + }; + if (responseError && !matchedSystemError && !isExponential) return { + errorToThrow: responseError + }; + const exponentialDelay = retryAfterInMs * Math.pow(2, retryCount), clampedExponentialDelay = Math.min(maxRetryInterval, exponentialDelay); + var min, max; + return retryAfterInMs = clampedExponentialDelay / 2 + (min = 0, max = clampedExponentialDelay / 2, + min = Math.ceil(min), max = Math.floor(max), Math.floor(Math.random() * (max - min + 1)) + min), + { + retryAfterInMs + }; + } }; } - function proxyPolicy_proxyPolicy(proxySettings, options) { - return proxySettings || (proxySettings = getDefaultProxySettings()), noProxyListLoaded || globalNoProxyList.push(...function() { - const noProxy = getEnvironmentValue(constants_Constants.NO_PROXY); - return noProxyListLoaded = !0, noProxy ? noProxy.split(",").map((item => item.trim())).filter((item => item.length)) : []; - }()), { - create: (nextPolicy, requestPolicyOptions) => new ProxyPolicy(nextPolicy, requestPolicyOptions, proxySettings, null == options ? void 0 : options.customNoProxyList) + const retryPolicyLogger = createClientLogger("core-rest-pipeline retryPolicy"), retryPolicyName = "retryPolicy"; + function retryPolicy_retryPolicy(strategies, options = { + maxRetries: constants_DEFAULT_RETRY_POLICY_COUNT + }) { + const logger = options.logger || retryPolicyLogger; + return { + name: retryPolicyName, + async sendRequest(request, next) { + var _a, _b; + let response, responseError, retryCount = -1; + retryRequest: for (;;) { + retryCount += 1, response = void 0, responseError = void 0; + try { + logger.info(`Retry ${retryCount}: Attempting to send request`, request.requestId), + response = await next(request), logger.info(`Retry ${retryCount}: Received a response from request`, request.requestId); + } catch (e) { + if (logger.error(`Retry ${retryCount}: Received an error from request`, request.requestId), + responseError = e, !e || "RestError" !== responseError.name) throw e; + response = responseError.response; + } + if (null === (_a = request.abortSignal) || void 0 === _a ? void 0 : _a.aborted) { + logger.error(`Retry ${retryCount}: Request aborted.`); + throw new AbortError; + } + if (retryCount >= (null !== (_b = options.maxRetries) && void 0 !== _b ? _b : constants_DEFAULT_RETRY_POLICY_COUNT)) { + if (logger.info(`Retry ${retryCount}: Maximum retries reached. Returning the last received response, or throwing the last received error.`), + responseError) throw responseError; + if (response) return response; + throw new Error("Maximum retries reached with no response or error to throw"); + } + logger.info(`Retry ${retryCount}: Processing ${strategies.length} retry strategies.`); + strategiesLoop: for (const strategy of strategies) { + const strategyLogger = strategy.logger || retryPolicyLogger; + strategyLogger.info(`Retry ${retryCount}: Processing retry strategy ${strategy.name}.`); + const modifiers = strategy.retry({ + retryCount, + response, + responseError + }); + if (modifiers.skipStrategy) { + strategyLogger.info(`Retry ${retryCount}: Skipped.`); + continue strategiesLoop; + } + const {errorToThrow, retryAfterInMs, redirectTo} = modifiers; + if (errorToThrow) throw strategyLogger.error(`Retry ${retryCount}: Retry strategy ${strategy.name} throws error:`, errorToThrow), + errorToThrow; + if (retryAfterInMs || 0 === retryAfterInMs) { + strategyLogger.info(`Retry ${retryCount}: Retry strategy ${strategy.name} retries after ${retryAfterInMs}`), + await helpers_delay(retryAfterInMs, void 0, { + abortSignal: request.abortSignal + }); + continue retryRequest; + } + if (redirectTo) { + strategyLogger.info(`Retry ${retryCount}: Retry strategy ${strategy.name} redirects to ${redirectTo}`), + request.url = redirectTo; + continue retryRequest; + } + } + if (responseError) throw logger.info("None of the retry strategies could work with the received error. Throwing it."), + responseError; + if (response) return logger.info("None of the retry strategies could work with the received response. Returning it."), + response; + } + } }; } - class ProxyPolicy extends BaseRequestPolicy { - constructor(nextPolicy, options, proxySettings, customNoProxyList) { - super(nextPolicy, options), this.proxySettings = proxySettings, this.customNoProxyList = customNoProxyList; + const defaultRetryPolicyName = "defaultRetryPolicy"; + function normalizeName(name) { + return name.toLowerCase(); + } + class HttpHeadersImpl { + constructor(rawHeaders) { + if (this._headersMap = new Map, rawHeaders) for (const headerName of Object.keys(rawHeaders)) this.set(headerName, rawHeaders[headerName]); } - sendRequest(request) { + set(name, value) { + this._headersMap.set(normalizeName(name), { + name, + value: String(value).trim() + }); + } + get(name) { var _a; - return request.proxySettings || function(uri, noProxyList, bypassedMap) { - if (0 === noProxyList.length) return !1; - const host = URLBuilder.parse(uri).getHost(); - if (null == bypassedMap ? void 0 : bypassedMap.has(host)) return bypassedMap.get(host); - let isBypassedFlag = !1; - for (const pattern of noProxyList) "." === pattern[0] ? (host.endsWith(pattern) || host.length === pattern.length - 1 && host === pattern.slice(1)) && (isBypassedFlag = !0) : host === pattern && (isBypassedFlag = !0); - return null == bypassedMap || bypassedMap.set(host, isBypassedFlag), isBypassedFlag; - }(request.url, null !== (_a = this.customNoProxyList) && void 0 !== _a ? _a : globalNoProxyList, this.customNoProxyList ? void 0 : globalBypassedMap) || (request.proxySettings = this.proxySettings), - this._nextPolicy.sendRequest(request); + return null === (_a = this._headersMap.get(normalizeName(name))) || void 0 === _a ? void 0 : _a.value; } - } - var _globalThis = "object" == typeof globalThis ? globalThis : global, VERSION = "1.4.0", re = /^(\d+)\.(\d+)\.(\d+)(-(.+))?$/; - var isCompatible = function(ownVersion) { - var acceptedVersions = new Set([ ownVersion ]), rejectedVersions = new Set, myVersionMatch = ownVersion.match(re); - if (!myVersionMatch) return function() { - return !1; - }; - var ownVersionParsed_major = +myVersionMatch[1], ownVersionParsed_minor = +myVersionMatch[2], ownVersionParsed_patch = +myVersionMatch[3]; - if (null != myVersionMatch[4]) return function(globalVersion) { - return globalVersion === ownVersion; - }; - function _reject(v) { - return rejectedVersions.add(v), !1; - } - function _accept(v) { - return acceptedVersions.add(v), !0; - } - return function(globalVersion) { - if (acceptedVersions.has(globalVersion)) return !0; - if (rejectedVersions.has(globalVersion)) return !1; - var globalVersionMatch = globalVersion.match(re); - if (!globalVersionMatch) return _reject(globalVersion); - var globalVersionParsed_major = +globalVersionMatch[1], globalVersionParsed_minor = +globalVersionMatch[2], globalVersionParsed_patch = +globalVersionMatch[3]; - return null != globalVersionMatch[4] || ownVersionParsed_major !== globalVersionParsed_major ? _reject(globalVersion) : 0 === ownVersionParsed_major ? ownVersionParsed_minor === globalVersionParsed_minor && ownVersionParsed_patch <= globalVersionParsed_patch ? _accept(globalVersion) : _reject(globalVersion) : ownVersionParsed_minor <= globalVersionParsed_minor ? _accept(globalVersion) : _reject(globalVersion); - }; - }(VERSION), major = VERSION.split(".")[0], GLOBAL_OPENTELEMETRY_API_KEY = Symbol.for("opentelemetry.js.api." + major), _global = _globalThis; - function registerGlobal(type, instance, diag, allowOverride) { - var _a; - void 0 === allowOverride && (allowOverride = !1); - var api = _global[GLOBAL_OPENTELEMETRY_API_KEY] = null !== (_a = _global[GLOBAL_OPENTELEMETRY_API_KEY]) && void 0 !== _a ? _a : { - version: VERSION - }; - if (!allowOverride && api[type]) { - var err = new Error("@opentelemetry/api: Attempted duplicate registration of API: " + type); - return diag.error(err.stack || err.message), !1; + has(name) { + return this._headersMap.has(normalizeName(name)); + } + delete(name) { + this._headersMap.delete(normalizeName(name)); } - if (api.version !== VERSION) { - err = new Error("@opentelemetry/api: All API registration versions must match"); - return diag.error(err.stack || err.message), !1; + toJSON(options = {}) { + const result = {}; + if (options.preserveCase) for (const entry of this._headersMap.values()) result[entry.name] = entry.value; else for (const [normalizedName, entry] of this._headersMap) result[normalizedName] = entry.value; + return result; + } + toString() { + return JSON.stringify(this.toJSON({ + preserveCase: !0 + })); + } + [Symbol.iterator]() { + return function*(map) { + for (const entry of map.values()) yield [ entry.name, entry.value ]; + }(this._headersMap); } - return api[type] = instance, diag.debug("@opentelemetry/api: Registered a global for " + type + " v" + VERSION + "."), - !0; } - function getGlobal(type) { - var _a, _b, globalVersion = null === (_a = _global[GLOBAL_OPENTELEMETRY_API_KEY]) || void 0 === _a ? void 0 : _a.version; - if (globalVersion && isCompatible(globalVersion)) return null === (_b = _global[GLOBAL_OPENTELEMETRY_API_KEY]) || void 0 === _b ? void 0 : _b[type]; + function httpHeaders_createHttpHeaders(rawHeaders) { + return new HttpHeadersImpl(rawHeaders); } - function unregisterGlobal(type, diag) { - diag.debug("@opentelemetry/api: Unregistering a global for " + type + " v" + VERSION + "."); - var api = _global[GLOBAL_OPENTELEMETRY_API_KEY]; - api && delete api[type]; + const formDataPolicyName = "formDataPolicy"; + function formDataPolicy() { + return { + name: formDataPolicyName, + async sendRequest(request, next) { + if (checkEnvironment_isNodeLike && "undefined" != typeof FormData && request.body instanceof FormData && (request.formData = function(formData) { + var _a; + const formDataMap = {}; + for (const [key, value] of formData.entries()) null !== (_a = formDataMap[key]) && void 0 !== _a || (formDataMap[key] = []), + formDataMap[key].push(value); + return formDataMap; + }(request.body), request.body = void 0), request.formData) { + const contentType = request.headers.get("Content-Type"); + contentType && -1 !== contentType.indexOf("application/x-www-form-urlencoded") ? request.body = function(formData) { + const urlSearchParams = new URLSearchParams; + for (const [key, value] of Object.entries(formData)) if (Array.isArray(value)) for (const subValue of value) urlSearchParams.append(key, subValue.toString()); else urlSearchParams.append(key, value.toString()); + return urlSearchParams.toString(); + }(request.formData) : await async function(formData, request) { + const contentType = request.headers.get("Content-Type"); + if (contentType && !contentType.startsWith("multipart/form-data")) return; + request.headers.set("Content-Type", null != contentType ? contentType : "multipart/form-data"); + const parts = []; + for (const [fieldName, values] of Object.entries(formData)) for (const value of Array.isArray(values) ? values : [ values ]) if ("string" == typeof value) parts.push({ + headers: httpHeaders_createHttpHeaders({ + "Content-Disposition": `form-data; name="${fieldName}"` + }), + body: stringToUint8Array(value, "utf-8") + }); else { + if (null == value || "object" != typeof value) throw new Error(`Unexpected value for key ${fieldName}: ${value}. Value should be serialized to string first.`); + { + const fileName = value.name || "blob", headers = httpHeaders_createHttpHeaders(); + headers.set("Content-Disposition", `form-data; name="${fieldName}"; filename="${fileName}"`), + headers.set("Content-Type", value.type || "application/octet-stream"), parts.push({ + headers, + body: value + }); + } + } + request.multipartBody = { + parts + }; + }(request.formData, request), request.formData = void 0; + } + return next(request); + } + }; } - var DiagLogLevel, BaseContext = function BaseContext(parentContext) { - var self = this; - self._currentContext = parentContext ? new Map(parentContext) : new Map, self.getValue = function(key) { - return self._currentContext.get(key); - }, self.setValue = function(key, value) { - var context = new BaseContext(self._currentContext); - return context._currentContext.set(key, value), context; - }, self.deleteValue = function(key) { - var context = new BaseContext(self._currentContext); - return context._currentContext.delete(key), context; + var dist = __webpack_require__(1516), http_proxy_agent_dist = __webpack_require__(4009); + const HTTPS_PROXY = "HTTPS_PROXY", HTTP_PROXY = "HTTP_PROXY", ALL_PROXY = "ALL_PROXY", NO_PROXY = "NO_PROXY", proxyPolicyName = "proxyPolicy", globalNoProxyList = []; + let noProxyListLoaded = !1; + const globalBypassedMap = new Map; + function getEnvironmentValue(name) { + return process.env[name] ? process.env[name] : process.env[name.toLowerCase()] ? process.env[name.toLowerCase()] : void 0; + } + function loadEnvironmentProxyValue() { + if (!process) return; + const httpsProxy = getEnvironmentValue(HTTPS_PROXY), allProxy = getEnvironmentValue(ALL_PROXY), httpProxy = getEnvironmentValue(HTTP_PROXY); + return httpsProxy || allProxy || httpProxy; + } + function getDefaultProxySettings(proxyUrl) { + if (!proxyUrl && !(proxyUrl = loadEnvironmentProxyValue())) return; + const parsedUrl = new URL(proxyUrl); + return { + host: (parsedUrl.protocol ? parsedUrl.protocol + "//" : "") + parsedUrl.hostname, + port: Number.parseInt(parsedUrl.port || "80"), + username: parsedUrl.username, + password: parsedUrl.password }; - }, ROOT_CONTEXT = new BaseContext, NoopContextManager_read = function(o, n) { - var m = "function" == typeof Symbol && o[Symbol.iterator]; - if (!m) return o; - var r, e, i = m.call(o), ar = []; - try { - for (;(void 0 === n || n-- > 0) && !(r = i.next()).done; ) ar.push(r.value); - } catch (error) { - e = { - error - }; - } finally { - try { - r && !r.done && (m = i.return) && m.call(i); - } finally { - if (e) throw e.error; - } - } - return ar; - }, NoopContextManager_spreadArray = function(to, from, pack) { - if (pack || 2 === arguments.length) for (var ar, i = 0, l = from.length; i < l; i++) !ar && i in from || (ar || (ar = Array.prototype.slice.call(from, 0, i)), - ar[i] = from[i]); - return to.concat(ar || Array.prototype.slice.call(from)); - }, NoopContextManager = function() { - function NoopContextManager() {} - return NoopContextManager.prototype.active = function() { - return ROOT_CONTEXT; - }, NoopContextManager.prototype.with = function(_context, fn, thisArg) { - for (var args = [], _i = 3; _i < arguments.length; _i++) args[_i - 3] = arguments[_i]; - return fn.call.apply(fn, NoopContextManager_spreadArray([ thisArg ], NoopContextManager_read(args), !1)); - }, NoopContextManager.prototype.bind = function(_context, target) { - return target; - }, NoopContextManager.prototype.enable = function() { - return this; - }, NoopContextManager.prototype.disable = function() { - return this; - }, NoopContextManager; - }(), ComponentLogger_read = function(o, n) { - var m = "function" == typeof Symbol && o[Symbol.iterator]; - if (!m) return o; - var r, e, i = m.call(o), ar = []; - try { - for (;(void 0 === n || n-- > 0) && !(r = i.next()).done; ) ar.push(r.value); - } catch (error) { - e = { - error - }; - } finally { - try { - r && !r.done && (m = i.return) && m.call(i); - } finally { - if (e) throw e.error; - } - } - return ar; - }, ComponentLogger_spreadArray = function(to, from, pack) { - if (pack || 2 === arguments.length) for (var ar, i = 0, l = from.length; i < l; i++) !ar && i in from || (ar || (ar = Array.prototype.slice.call(from, 0, i)), - ar[i] = from[i]); - return to.concat(ar || Array.prototype.slice.call(from)); - }, DiagComponentLogger = function() { - function DiagComponentLogger(props) { - this._namespace = props.namespace || "DiagComponentLogger"; - } - return DiagComponentLogger.prototype.debug = function() { - for (var args = [], _i = 0; _i < arguments.length; _i++) args[_i] = arguments[_i]; - return logProxy("debug", this._namespace, args); - }, DiagComponentLogger.prototype.error = function() { - for (var args = [], _i = 0; _i < arguments.length; _i++) args[_i] = arguments[_i]; - return logProxy("error", this._namespace, args); - }, DiagComponentLogger.prototype.info = function() { - for (var args = [], _i = 0; _i < arguments.length; _i++) args[_i] = arguments[_i]; - return logProxy("info", this._namespace, args); - }, DiagComponentLogger.prototype.warn = function() { - for (var args = [], _i = 0; _i < arguments.length; _i++) args[_i] = arguments[_i]; - return logProxy("warn", this._namespace, args); - }, DiagComponentLogger.prototype.verbose = function() { - for (var args = [], _i = 0; _i < arguments.length; _i++) args[_i] = arguments[_i]; - return logProxy("verbose", this._namespace, args); - }, DiagComponentLogger; - }(); - function logProxy(funcName, namespace, args) { - var logger = getGlobal("diag"); - if (logger) return args.unshift(namespace), logger[funcName].apply(logger, ComponentLogger_spreadArray([], ComponentLogger_read(args), !1)); - } - !function(DiagLogLevel) { - DiagLogLevel[DiagLogLevel.NONE = 0] = "NONE", DiagLogLevel[DiagLogLevel.ERROR = 30] = "ERROR", - DiagLogLevel[DiagLogLevel.WARN = 50] = "WARN", DiagLogLevel[DiagLogLevel.INFO = 60] = "INFO", - DiagLogLevel[DiagLogLevel.DEBUG = 70] = "DEBUG", DiagLogLevel[DiagLogLevel.VERBOSE = 80] = "VERBOSE", - DiagLogLevel[DiagLogLevel.ALL = 9999] = "ALL"; - }(DiagLogLevel || (DiagLogLevel = {})); - var TraceFlags, diag_read = function(o, n) { - var m = "function" == typeof Symbol && o[Symbol.iterator]; - if (!m) return o; - var r, e, i = m.call(o), ar = []; + } + function getUrlFromProxySettings(settings) { + let parsedProxyUrl; try { - for (;(void 0 === n || n-- > 0) && !(r = i.next()).done; ) ar.push(r.value); - } catch (error) { - e = { - error - }; - } finally { - try { - r && !r.done && (m = i.return) && m.call(i); - } finally { - if (e) throw e.error; + parsedProxyUrl = new URL(settings.host); + } catch (_error) { + throw new Error(`Expecting a valid host string in proxy settings, but found "${settings.host}".`); + } + return parsedProxyUrl.port = String(settings.port), settings.username && (parsedProxyUrl.username = settings.username), + settings.password && (parsedProxyUrl.password = settings.password), parsedProxyUrl; + } + function setProxyAgentOnRequest(request, cachedAgents, proxyUrl) { + if (request.agent) return; + const isInsecure = "https:" !== new URL(request.url).protocol; + request.tlsSettings && log_logger.warning("TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored."); + const headers = request.headers.toJSON(); + isInsecure ? (cachedAgents.httpProxyAgent || (cachedAgents.httpProxyAgent = new http_proxy_agent_dist.HttpProxyAgent(proxyUrl, { + headers + })), request.agent = cachedAgents.httpProxyAgent) : (cachedAgents.httpsProxyAgent || (cachedAgents.httpsProxyAgent = new dist.HttpsProxyAgent(proxyUrl, { + headers + })), request.agent = cachedAgents.httpsProxyAgent); + } + function proxyPolicy(proxySettings, options) { + noProxyListLoaded || globalNoProxyList.push(...function() { + const noProxy = getEnvironmentValue(NO_PROXY); + return noProxyListLoaded = !0, noProxy ? noProxy.split(",").map((item => item.trim())).filter((item => item.length)) : []; + }()); + const defaultProxy = proxySettings ? getUrlFromProxySettings(proxySettings) : function() { + const envProxy = loadEnvironmentProxyValue(); + return envProxy ? new URL(envProxy) : void 0; + }(), cachedAgents = {}; + return { + name: proxyPolicyName, + async sendRequest(request, next) { + var _a; + return request.proxySettings || !defaultProxy || function(uri, noProxyList, bypassedMap) { + if (0 === noProxyList.length) return !1; + const host = new URL(uri).hostname; + if (null == bypassedMap ? void 0 : bypassedMap.has(host)) return bypassedMap.get(host); + let isBypassedFlag = !1; + for (const pattern of noProxyList) "." === pattern[0] ? (host.endsWith(pattern) || host.length === pattern.length - 1 && host === pattern.slice(1)) && (isBypassedFlag = !0) : host === pattern && (isBypassedFlag = !0); + return null == bypassedMap || bypassedMap.set(host, isBypassedFlag), isBypassedFlag; + }(request.url, null !== (_a = null == options ? void 0 : options.customNoProxyList) && void 0 !== _a ? _a : globalNoProxyList, (null == options ? void 0 : options.customNoProxyList) ? void 0 : globalBypassedMap) ? request.proxySettings && setProxyAgentOnRequest(request, cachedAgents, getUrlFromProxySettings(request.proxySettings)) : setProxyAgentOnRequest(request, cachedAgents, defaultProxy), + next(request); } + }; + } + const setClientRequestIdPolicyName = "setClientRequestIdPolicy"; + const tlsPolicyName = "tlsPolicy"; + const knownContextKeys = { + span: Symbol.for("@azure/core-tracing span"), + namespace: Symbol.for("@azure/core-tracing namespace") + }; + function createTracingContext(options = {}) { + let context = new TracingContextImpl(options.parentContext); + return options.span && (context = context.setValue(knownContextKeys.span, options.span)), + options.namespace && (context = context.setValue(knownContextKeys.namespace, options.namespace)), + context; + } + class TracingContextImpl { + constructor(initialContext) { + this._contextMap = initialContext instanceof TracingContextImpl ? new Map(initialContext._contextMap) : new Map; + } + setValue(key, value) { + const newContext = new TracingContextImpl(this); + return newContext._contextMap.set(key, value), newContext; + } + getValue(key) { + return this._contextMap.get(key); + } + deleteValue(key) { + const newContext = new TracingContextImpl(this); + return newContext._contextMap.delete(key), newContext; + } + } + const state_state = __webpack_require__(4417).w; + function getInstrumenter() { + return state_state.instrumenterImplementation || (state_state.instrumenterImplementation = { + createRequestHeaders: () => ({}), + parseTraceparentHeader: () => {}, + startSpan: (_name, spanOptions) => ({ + span: { + end: () => {}, + isRecording: () => !1, + recordException: () => {}, + setAttribute: () => {}, + setStatus: () => {} + }, + tracingContext: createTracingContext({ + parentContext: spanOptions.tracingContext + }) + }), + withContext: (_context, callback, ...callbackArgs) => callback(...callbackArgs) + }), state_state.instrumenterImplementation; + } + function createTracingClient(options) { + const {namespace, packageName, packageVersion} = options; + function startSpan(name, operationOptions, spanOptions) { + var _a; + const startSpanResult = getInstrumenter().startSpan(name, Object.assign(Object.assign({}, spanOptions), { + packageName, + packageVersion, + tracingContext: null === (_a = null == operationOptions ? void 0 : operationOptions.tracingOptions) || void 0 === _a ? void 0 : _a.tracingContext + })); + let tracingContext = startSpanResult.tracingContext; + const span = startSpanResult.span; + tracingContext.getValue(knownContextKeys.namespace) || (tracingContext = tracingContext.setValue(knownContextKeys.namespace, namespace)), + span.setAttribute("az.namespace", tracingContext.getValue(knownContextKeys.namespace)); + return { + span, + updatedOptions: Object.assign({}, operationOptions, { + tracingOptions: Object.assign(Object.assign({}, null == operationOptions ? void 0 : operationOptions.tracingOptions), { + tracingContext + }) + }) + }; } - return ar; - }, diag_spreadArray = function(to, from, pack) { - if (pack || 2 === arguments.length) for (var ar, i = 0, l = from.length; i < l; i++) !ar && i in from || (ar || (ar = Array.prototype.slice.call(from, 0, i)), - ar[i] = from[i]); - return to.concat(ar || Array.prototype.slice.call(from)); - }, API_NAME = "diag", DiagAPI = function() { - function DiagAPI() { - function _logProxy(funcName) { - return function() { - for (var args = [], _i = 0; _i < arguments.length; _i++) args[_i] = arguments[_i]; - var logger = getGlobal("diag"); - if (logger) return logger[funcName].apply(logger, diag_spreadArray([], diag_read(args), !1)); - }; - } - var self = this; - self.setLogger = function(logger, optionsOrLogLevel) { - var _a, _b, _c; - if (void 0 === optionsOrLogLevel && (optionsOrLogLevel = { - logLevel: DiagLogLevel.INFO - }), logger === self) { - var err = new Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation"); - return self.error(null !== (_a = err.stack) && void 0 !== _a ? _a : err.message), - !1; + function withContext(context, callback, ...callbackArgs) { + return getInstrumenter().withContext(context, callback, ...callbackArgs); + } + return { + startSpan, + withSpan: async function(name, operationOptions, callback, spanOptions) { + const {span, updatedOptions} = startSpan(name, operationOptions, spanOptions); + try { + const result = await withContext(updatedOptions.tracingOptions.tracingContext, (() => Promise.resolve(callback(updatedOptions, span)))); + return span.setStatus({ + status: "success" + }), result; + } catch (err) { + throw span.setStatus({ + status: "error", + error: err + }), err; + } finally { + span.end(); } - "number" == typeof optionsOrLogLevel && (optionsOrLogLevel = { - logLevel: optionsOrLogLevel - }); - var oldLogger = getGlobal("diag"), newLogger = function(maxLevel, logger) { - function _filterFunc(funcName, theLevel) { - var theFunc = logger[funcName]; - return "function" == typeof theFunc && maxLevel >= theLevel ? theFunc.bind(logger) : function() {}; - } - return maxLevel < DiagLogLevel.NONE ? maxLevel = DiagLogLevel.NONE : maxLevel > DiagLogLevel.ALL && (maxLevel = DiagLogLevel.ALL), - logger = logger || {}, { - error: _filterFunc("error", DiagLogLevel.ERROR), - warn: _filterFunc("warn", DiagLogLevel.WARN), - info: _filterFunc("info", DiagLogLevel.INFO), - debug: _filterFunc("debug", DiagLogLevel.DEBUG), - verbose: _filterFunc("verbose", DiagLogLevel.VERBOSE) - }; - }(null !== (_b = optionsOrLogLevel.logLevel) && void 0 !== _b ? _b : DiagLogLevel.INFO, logger); - if (oldLogger && !optionsOrLogLevel.suppressOverrideMessage) { - var stack = null !== (_c = (new Error).stack) && void 0 !== _c ? _c : ""; - oldLogger.warn("Current logger will be overwritten from " + stack), newLogger.warn("Current logger will overwrite one already registered from " + stack); - } - return registerGlobal("diag", newLogger, self, !0); - }, self.disable = function() { - unregisterGlobal(API_NAME, self); - }, self.createComponentLogger = function(options) { - return new DiagComponentLogger(options); - }, self.verbose = _logProxy("verbose"), self.debug = _logProxy("debug"), self.info = _logProxy("info"), - self.warn = _logProxy("warn"), self.error = _logProxy("error"); - } - return DiagAPI.instance = function() { - return this._instance || (this._instance = new DiagAPI), this._instance; - }, DiagAPI; - }(), context_read = function(o, n) { - var m = "function" == typeof Symbol && o[Symbol.iterator]; - if (!m) return o; - var r, e, i = m.call(o), ar = []; - try { - for (;(void 0 === n || n-- > 0) && !(r = i.next()).done; ) ar.push(r.value); - } catch (error) { - e = { - error - }; - } finally { - try { - r && !r.done && (m = i.return) && m.call(i); - } finally { - if (e) throw e.error; - } - } - return ar; - }, context_spreadArray = function(to, from, pack) { - if (pack || 2 === arguments.length) for (var ar, i = 0, l = from.length; i < l; i++) !ar && i in from || (ar || (ar = Array.prototype.slice.call(from, 0, i)), - ar[i] = from[i]); - return to.concat(ar || Array.prototype.slice.call(from)); - }, NOOP_CONTEXT_MANAGER = new NoopContextManager, ContextAPI = function() { - function ContextAPI() {} - return ContextAPI.getInstance = function() { - return this._instance || (this._instance = new ContextAPI), this._instance; - }, ContextAPI.prototype.setGlobalContextManager = function(contextManager) { - return registerGlobal("context", contextManager, DiagAPI.instance()); - }, ContextAPI.prototype.active = function() { - return this._getContextManager().active(); - }, ContextAPI.prototype.with = function(context, fn, thisArg) { - for (var _a, args = [], _i = 3; _i < arguments.length; _i++) args[_i - 3] = arguments[_i]; - return (_a = this._getContextManager()).with.apply(_a, context_spreadArray([ context, fn, thisArg ], context_read(args), !1)); - }, ContextAPI.prototype.bind = function(context, target) { - return this._getContextManager().bind(context, target); - }, ContextAPI.prototype._getContextManager = function() { - return getGlobal("context") || NOOP_CONTEXT_MANAGER; - }, ContextAPI.prototype.disable = function() { - this._getContextManager().disable(), unregisterGlobal("context", DiagAPI.instance()); - }, ContextAPI; - }(); - !function(TraceFlags) { - TraceFlags[TraceFlags.NONE = 0] = "NONE", TraceFlags[TraceFlags.SAMPLED = 1] = "SAMPLED"; - }(TraceFlags || (TraceFlags = {})); - var description, INVALID_SPANID = "0000000000000000", INVALID_TRACEID = "00000000000000000000000000000000", INVALID_SPAN_CONTEXT = { - traceId: INVALID_TRACEID, - spanId: INVALID_SPANID, - traceFlags: TraceFlags.NONE - }, NonRecordingSpan = function() { - function NonRecordingSpan(_spanContext) { - void 0 === _spanContext && (_spanContext = INVALID_SPAN_CONTEXT), this._spanContext = _spanContext; - } - return NonRecordingSpan.prototype.spanContext = function() { - return this._spanContext; - }, NonRecordingSpan.prototype.setAttribute = function(_key, _value) { - return this; - }, NonRecordingSpan.prototype.setAttributes = function(_attributes) { - return this; - }, NonRecordingSpan.prototype.addEvent = function(_name, _attributes) { - return this; - }, NonRecordingSpan.prototype.setStatus = function(_status) { - return this; - }, NonRecordingSpan.prototype.updateName = function(_name) { - return this; - }, NonRecordingSpan.prototype.end = function(_endTime) {}, NonRecordingSpan.prototype.isRecording = function() { - return !1; - }, NonRecordingSpan.prototype.recordException = function(_exception, _time) {}, - NonRecordingSpan; - }(), SPAN_KEY = (description = "OpenTelemetry Context Key SPAN", Symbol.for(description)); - function getSpan(context) { - return context.getValue(SPAN_KEY) || void 0; - } - function getActiveSpan() { - return getSpan(ContextAPI.getInstance().active()); + }, + withContext, + parseTraceparentHeader: function(traceparentHeader) { + return getInstrumenter().parseTraceparentHeader(traceparentHeader); + }, + createRequestHeaders: function(tracingContext) { + return getInstrumenter().createRequestHeaders(tracingContext); + } + }; } - function setSpan(context, span) { - return context.setValue(SPAN_KEY, span); + const custom = external_node_util_.inspect.custom, errorSanitizer = new Sanitizer; + class RestError extends Error { + constructor(message, options = {}) { + super(message), this.name = "RestError", this.code = options.code, this.statusCode = options.statusCode, + this.request = options.request, this.response = options.response, Object.setPrototypeOf(this, RestError.prototype); + } + [custom]() { + return `RestError: ${this.message} \n ${errorSanitizer.sanitize(this)}`; + } } - function deleteSpan(context) { - return context.deleteValue(SPAN_KEY); + function isRestError(e) { + return e instanceof RestError || isError(e) && "RestError" === e.name; } - function setSpanContext(context, spanContext) { - return setSpan(context, new NonRecordingSpan(spanContext)); + RestError.REQUEST_SEND_ERROR = "REQUEST_SEND_ERROR", RestError.PARSE_ERROR = "PARSE_ERROR"; + const tracingPolicyName = "tracingPolicy"; + function tracingPolicy(options = {}) { + const userAgentPromise = getUserAgentValue(options.userAgentPrefix), sanitizer = new Sanitizer({ + additionalAllowedQueryParameters: options.additionalAllowedQueryParameters + }), tracingClient = function() { + try { + return createTracingClient({ + namespace: "", + packageName: "@azure/core-rest-pipeline", + packageVersion: SDK_VERSION + }); + } catch (e) { + return void log_logger.warning(`Error when creating the TracingClient: ${getErrorMessage(e)}`); + } + }(); + return { + name: tracingPolicyName, + async sendRequest(request, next) { + var _a, _b; + if (!tracingClient || !(null === (_a = request.tracingOptions) || void 0 === _a ? void 0 : _a.tracingContext)) return next(request); + const userAgent = await userAgentPromise, spanAttributes = { + "http.url": sanitizer.sanitizeUrl(request.url), + "http.method": request.method, + "http.user_agent": userAgent, + requestId: request.requestId + }; + userAgent && (spanAttributes["http.user_agent"] = userAgent); + const {span, tracingContext} = null !== (_b = function(tracingClient, request, spanAttributes) { + try { + const {span, updatedOptions} = tracingClient.startSpan(`HTTP ${request.method}`, { + tracingOptions: request.tracingOptions + }, { + spanKind: "client", + spanAttributes + }); + if (!span.isRecording()) return void span.end(); + const headers = tracingClient.createRequestHeaders(updatedOptions.tracingOptions.tracingContext); + for (const [key, value] of Object.entries(headers)) request.headers.set(key, value); + return { + span, + tracingContext: updatedOptions.tracingOptions.tracingContext + }; + } catch (e) { + return void log_logger.warning(`Skipping creating a tracing span due to an error: ${getErrorMessage(e)}`); + } + }(tracingClient, request, spanAttributes)) && void 0 !== _b ? _b : {}; + if (!span || !tracingContext) return next(request); + try { + const response = await tracingClient.withContext(tracingContext, next, request); + return function(span, response) { + try { + span.setAttribute("http.status_code", response.status); + const serviceRequestId = response.headers.get("x-ms-request-id"); + serviceRequestId && span.setAttribute("serviceRequestId", serviceRequestId), span.setStatus({ + status: "success" + }), span.end(); + } catch (e) { + log_logger.warning(`Skipping tracing span processing due to an error: ${getErrorMessage(e)}`); + } + }(span, response), response; + } catch (err) { + throw function(span, error) { + try { + span.setStatus({ + status: "error", + error: isError(error) ? error : void 0 + }), isRestError(error) && error.statusCode && span.setAttribute("http.status_code", error.statusCode), + span.end(); + } catch (e) { + log_logger.warning(`Skipping tracing span processing due to an error: ${getErrorMessage(e)}`); + } + }(span, err), err; + } + } + }; } - function getSpanContext(context) { + function createPipelineFromOptions(options) { var _a; - return null === (_a = getSpan(context)) || void 0 === _a ? void 0 : _a.spanContext(); - } - var VALID_TRACEID_REGEX = /^([0-9a-f]{32})$/i, VALID_SPANID_REGEX = /^[0-9a-f]{16}$/i; - function isSpanContextValid(spanContext) { - return traceId = spanContext.traceId, VALID_TRACEID_REGEX.test(traceId) && traceId !== INVALID_TRACEID && (spanId = spanContext.spanId, - VALID_SPANID_REGEX.test(spanId) && spanId !== INVALID_SPANID); - var spanId, traceId; - } - function wrapSpanContext(spanContext) { - return new NonRecordingSpan(spanContext); - } - var contextApi = ContextAPI.getInstance(), NoopTracer = function() { - function NoopTracer() {} - return NoopTracer.prototype.startSpan = function(name, options, context) { - if (void 0 === context && (context = contextApi.active()), Boolean(null == options ? void 0 : options.root)) return new NonRecordingSpan; - var spanContext, parentFromContext = context && getSpanContext(context); - return "object" == typeof (spanContext = parentFromContext) && "string" == typeof spanContext.spanId && "string" == typeof spanContext.traceId && "number" == typeof spanContext.traceFlags && isSpanContextValid(parentFromContext) ? new NonRecordingSpan(parentFromContext) : new NonRecordingSpan; - }, NoopTracer.prototype.startActiveSpan = function(name, arg2, arg3, arg4) { - var opts, ctx, fn; - if (!(arguments.length < 2)) { - 2 === arguments.length ? fn = arg2 : 3 === arguments.length ? (opts = arg2, fn = arg3) : (opts = arg2, - ctx = arg3, fn = arg4); - var parentContext = null != ctx ? ctx : contextApi.active(), span = this.startSpan(name, opts, parentContext), contextWithSpanSet = setSpan(parentContext, span); - return contextApi.with(contextWithSpanSet, fn, void 0, span); - } - }, NoopTracer; - }(); - var SpanKind, NOOP_TRACER = new NoopTracer, ProxyTracer = function() { - function ProxyTracer(_provider, name, version, options) { - this._provider = _provider, this.name = name, this.version = version, this.options = options; - } - return ProxyTracer.prototype.startSpan = function(name, options, context) { - return this._getTracer().startSpan(name, options, context); - }, ProxyTracer.prototype.startActiveSpan = function(_name, _options, _context, _fn) { - var tracer = this._getTracer(); - return Reflect.apply(tracer.startActiveSpan, tracer, arguments); - }, ProxyTracer.prototype._getTracer = function() { - if (this._delegate) return this._delegate; - var tracer = this._provider.getDelegateTracer(this.name, this.version, this.options); - return tracer ? (this._delegate = tracer, this._delegate) : NOOP_TRACER; - }, ProxyTracer; - }(), NOOP_TRACER_PROVIDER = new (function() { - function NoopTracerProvider() {} - return NoopTracerProvider.prototype.getTracer = function(_name, _version, _options) { - return new NoopTracer; - }, NoopTracerProvider; - }()), ProxyTracerProvider = function() { - function ProxyTracerProvider() {} - return ProxyTracerProvider.prototype.getTracer = function(name, version, options) { - var _a; - return null !== (_a = this.getDelegateTracer(name, version, options)) && void 0 !== _a ? _a : new ProxyTracer(this, name, version, options); - }, ProxyTracerProvider.prototype.getDelegate = function() { + const pipeline = createEmptyPipeline(); + var tlsSettings; + return checkEnvironment_isNodeLike && (options.tlsOptions && pipeline.addPolicy((tlsSettings = options.tlsOptions, + { + name: tlsPolicyName, + sendRequest: async (req, next) => (req.tlsSettings || (req.tlsSettings = tlsSettings), + next(req)) + })), pipeline.addPolicy(proxyPolicy(options.proxyOptions)), pipeline.addPolicy({ + name: decompressResponsePolicyName, + sendRequest: async (request, next) => ("HEAD" !== request.method && request.headers.set("Accept-Encoding", "gzip,deflate"), + next(request)) + })), pipeline.addPolicy(formDataPolicy(), { + beforePolicies: [ multipartPolicyName ] + }), pipeline.addPolicy(function(options = {}) { + const userAgentValue = getUserAgentValue(options.userAgentPrefix); + return { + name: userAgentPolicyName, + sendRequest: async (request, next) => (request.headers.has(UserAgentHeaderName) || request.headers.set(UserAgentHeaderName, await userAgentValue), + next(request)) + }; + }(options.userAgentOptions)), pipeline.addPolicy(function(requestIdHeaderName = "x-ms-client-request-id") { + return { + name: setClientRequestIdPolicyName, + sendRequest: async (request, next) => (request.headers.has(requestIdHeaderName) || request.headers.set(requestIdHeaderName, request.requestId), + next(request)) + }; + }(null === (_a = options.telemetryOptions) || void 0 === _a ? void 0 : _a.clientRequestIdHeaderName)), + pipeline.addPolicy(multipartPolicy(), { + afterPhase: "Deserialize" + }), pipeline.addPolicy(function(options = {}) { var _a; - return null !== (_a = this._delegate) && void 0 !== _a ? _a : NOOP_TRACER_PROVIDER; - }, ProxyTracerProvider.prototype.setDelegate = function(delegate) { - this._delegate = delegate; - }, ProxyTracerProvider.prototype.getDelegateTracer = function(name, version, options) { + return { + name: defaultRetryPolicyName, + sendRequest: retryPolicy_retryPolicy([ { + name: "throttlingRetryStrategy", + retry({response}) { + const retryAfterInMs = getRetryAfterInMs(response); + return Number.isFinite(retryAfterInMs) ? { + retryAfterInMs + } : { + skipStrategy: !0 + }; + } + }, exponentialRetryStrategy_exponentialRetryStrategy(options) ], { + maxRetries: null !== (_a = options.maxRetries) && void 0 !== _a ? _a : constants_DEFAULT_RETRY_POLICY_COUNT + }).sendRequest + }; + }(options.retryOptions), { + phase: "Retry" + }), pipeline.addPolicy(tracingPolicy(Object.assign(Object.assign({}, options.userAgentOptions), options.loggingOptions)), { + afterPhase: "Retry" + }), checkEnvironment_isNodeLike && pipeline.addPolicy(redirectPolicy(options.redirectOptions), { + afterPhase: "Retry" + }), pipeline.addPolicy(function(options = {}) { var _a; - return null === (_a = this._delegate) || void 0 === _a ? void 0 : _a.getTracer(name, version, options); - }, ProxyTracerProvider; - }(), TraceAPI = function() { - function TraceAPI() { - this._proxyTracerProvider = new ProxyTracerProvider, this.wrapSpanContext = wrapSpanContext, - this.isSpanContextValid = isSpanContextValid, this.deleteSpan = deleteSpan, this.getSpan = getSpan, - this.getActiveSpan = getActiveSpan, this.getSpanContext = getSpanContext, this.setSpan = setSpan, - this.setSpanContext = setSpanContext; - } - return TraceAPI.getInstance = function() { - return this._instance || (this._instance = new TraceAPI), this._instance; - }, TraceAPI.prototype.setGlobalTracerProvider = function(provider) { - var success = registerGlobal("trace", this._proxyTracerProvider, DiagAPI.instance()); - return success && this._proxyTracerProvider.setDelegate(provider), success; - }, TraceAPI.prototype.getTracerProvider = function() { - return getGlobal("trace") || this._proxyTracerProvider; - }, TraceAPI.prototype.getTracer = function(name, version) { - return this.getTracerProvider().getTracer(name, version); - }, TraceAPI.prototype.disable = function() { - unregisterGlobal("trace", DiagAPI.instance()), this._proxyTracerProvider = new ProxyTracerProvider; - }, TraceAPI; - }(), trace = TraceAPI.getInstance(), context = ContextAPI.getInstance(); - function interfaces_setSpan(context, span) { - return trace.setSpan(context, span); - } - !function(SpanKind) { - SpanKind[SpanKind.INTERNAL = 0] = "INTERNAL", SpanKind[SpanKind.SERVER = 1] = "SERVER", - SpanKind[SpanKind.CLIENT = 2] = "CLIENT", SpanKind[SpanKind.PRODUCER = 3] = "PRODUCER", - SpanKind[SpanKind.CONSUMER = 4] = "CONSUMER"; - }(SpanKind || (SpanKind = {})); - const interfaces_context = context; - var SpanStatusCode; - function operationOptionsToRequestOptionsBase(opts) { - const {requestOptions, tracingOptions} = opts; - let result = function(s, e) { - var t = {}; - for (var p in s) Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0 && (t[p] = s[p]); - if (null != s && "function" == typeof Object.getOwnPropertySymbols) { - var i = 0; - for (p = Object.getOwnPropertySymbols(s); i < p.length; i++) e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]) && (t[p[i]] = s[p[i]]); - } - return t; - }(opts, [ "requestOptions", "tracingOptions" ]); - return requestOptions && (result = Object.assign(Object.assign({}, result), requestOptions)), - tracingOptions && (result.tracingContext = tracingOptions.tracingContext, result.spanOptions = null == tracingOptions ? void 0 : tracingOptions.spanOptions), - result; + const logger = null !== (_a = options.logger) && void 0 !== _a ? _a : log_logger.info, sanitizer = new Sanitizer({ + additionalAllowedHeaderNames: options.additionalAllowedHeaderNames, + additionalAllowedQueryParameters: options.additionalAllowedQueryParameters + }); + return { + name: logPolicyName, + async sendRequest(request, next) { + if (!logger.enabled) return next(request); + logger(`Request: ${sanitizer.sanitize(request)}`); + const response = await next(request); + return logger(`Response status code: ${response.status}`), logger(`Headers: ${sanitizer.sanitize(response.headers)}`), + response; + } + }; + }(options.loggingOptions), { + afterPhase: "Sign" + }), pipeline; } - function encodeByteArray(value) { - return (value instanceof Buffer ? value : Buffer.from(value.buffer)).toString("base64"); + var external_node_http_ = __webpack_require__(7067); + const external_node_https_namespaceObject = require("node:https"), external_node_zlib_namespaceObject = require("node:zlib"), DEFAULT_TLS_SETTINGS = {}; + function nodeHttpClient_isReadableStream(body) { + return body && "function" == typeof body.pipe; } - function decodeString(value) { - return Buffer.from(value, "base64"); + function isStreamComplete(stream) { + return new Promise((resolve => { + stream.on("close", resolve), stream.on("end", resolve), stream.on("error", resolve); + })); } - !function(SpanStatusCode) { - SpanStatusCode[SpanStatusCode.UNSET = 0] = "UNSET", SpanStatusCode[SpanStatusCode.OK = 1] = "OK", - SpanStatusCode[SpanStatusCode.ERROR = 2] = "ERROR"; - }(SpanStatusCode || (SpanStatusCode = {})); - class Serializer { - constructor(modelMappers = {}, isXML) { - this.modelMappers = modelMappers, this.isXML = isXML; - } - validateConstraints(mapper, value, objectName) { - const failValidation = (constraintName, constraintValue) => { - throw new Error(`"${objectName}" with value "${value}" should satisfy the constraint "${constraintName}": ${constraintValue}.`); - }; - if (mapper.constraints && null != value) { - const valueAsNumber = value, {ExclusiveMaximum, ExclusiveMinimum, InclusiveMaximum, InclusiveMinimum, MaxItems, MaxLength, MinItems, MinLength, MultipleOf, Pattern, UniqueItems} = mapper.constraints; - null != ExclusiveMaximum && valueAsNumber >= ExclusiveMaximum && failValidation("ExclusiveMaximum", ExclusiveMaximum), - null != ExclusiveMinimum && valueAsNumber <= ExclusiveMinimum && failValidation("ExclusiveMinimum", ExclusiveMinimum), - null != InclusiveMaximum && valueAsNumber > InclusiveMaximum && failValidation("InclusiveMaximum", InclusiveMaximum), - null != InclusiveMinimum && valueAsNumber < InclusiveMinimum && failValidation("InclusiveMinimum", InclusiveMinimum); - const valueAsArray = value; - if (null != MaxItems && valueAsArray.length > MaxItems && failValidation("MaxItems", MaxItems), - null != MaxLength && valueAsArray.length > MaxLength && failValidation("MaxLength", MaxLength), - null != MinItems && valueAsArray.length < MinItems && failValidation("MinItems", MinItems), - null != MinLength && valueAsArray.length < MinLength && failValidation("MinLength", MinLength), - null != MultipleOf && valueAsNumber % MultipleOf != 0 && failValidation("MultipleOf", MultipleOf), - Pattern) { - const pattern = "string" == typeof Pattern ? new RegExp(Pattern) : Pattern; - "string" == typeof value && null !== value.match(pattern) || failValidation("Pattern", Pattern); - } - UniqueItems && valueAsArray.some(((item, i, ar) => ar.indexOf(item) !== i)) && failValidation("UniqueItems", UniqueItems); + function isArrayBuffer(body) { + return body && "number" == typeof body.byteLength; + } + class ReportTransform extends external_node_stream_.Transform { + _transform(chunk, _encoding, callback) { + this.push(chunk), this.loadedBytes += chunk.length; + try { + this.progressCallback({ + loadedBytes: this.loadedBytes + }), callback(); + } catch (e) { + callback(e); } } - serialize(mapper, object, objectName, options = {}) { + constructor(progressCallback) { + super(), this.loadedBytes = 0, this.progressCallback = progressCallback; + } + } + class NodeHttpClient { + constructor() { + this.cachedHttpsAgents = new WeakMap; + } + async sendRequest(request) { var _a, _b, _c; - const updatedOptions = { - rootName: null !== (_a = options.rootName) && void 0 !== _a ? _a : "", - includeRoot: null !== (_b = options.includeRoot) && void 0 !== _b && _b, - xmlCharKey: null !== (_c = options.xmlCharKey) && void 0 !== _c ? _c : XML_CHARKEY - }; - let payload = {}; - const mapperType = mapper.type.name; - objectName || (objectName = mapper.serializedName), null !== mapperType.match(/^Sequence$/i) && (payload = []), - mapper.isConstant && (object = mapper.defaultValue); - const {required, nullable} = mapper; + const abortController = new AbortController; + let abortListener; + if (request.abortSignal) { + if (request.abortSignal.aborted) throw new AbortError("The operation was aborted."); + abortListener = event => { + "abort" === event.type && abortController.abort(); + }, request.abortSignal.addEventListener("abort", abortListener); + } + request.timeout > 0 && setTimeout((() => { + abortController.abort(); + }), request.timeout); + const acceptEncoding = request.headers.get("Accept-Encoding"), shouldDecompress = (null == acceptEncoding ? void 0 : acceptEncoding.includes("gzip")) || (null == acceptEncoding ? void 0 : acceptEncoding.includes("deflate")); + let responseStream, body = "function" == typeof request.body ? request.body() : request.body; + if (body && !request.headers.has("Content-Length")) { + const bodyLength = function(body) { + return body ? Buffer.isBuffer(body) ? body.length : nodeHttpClient_isReadableStream(body) ? null : isArrayBuffer(body) ? body.byteLength : "string" == typeof body ? Buffer.from(body).length : null : 0; + }(body); + null !== bodyLength && request.headers.set("Content-Length", bodyLength); + } + try { + if (body && request.onUploadProgress) { + const onUploadProgress = request.onUploadProgress, uploadReportStream = new ReportTransform(onUploadProgress); + uploadReportStream.on("error", (e => { + log_logger.error("Error in upload progress", e); + })), nodeHttpClient_isReadableStream(body) ? body.pipe(uploadReportStream) : uploadReportStream.end(body), + body = uploadReportStream; + } + const res = await this.makeRequest(request, abortController, body), headers = function(res) { + const headers = httpHeaders_createHttpHeaders(); + for (const header of Object.keys(res.headers)) { + const value = res.headers[header]; + Array.isArray(value) ? value.length > 0 && headers.set(header, value[0]) : value && headers.set(header, value); + } + return headers; + }(res), response = { + status: null !== (_a = res.statusCode) && void 0 !== _a ? _a : 0, + headers, + request + }; + if ("HEAD" === request.method) return res.resume(), response; + responseStream = shouldDecompress ? function(stream, headers) { + const contentEncoding = headers.get("Content-Encoding"); + if ("gzip" === contentEncoding) { + const unzip = external_node_zlib_namespaceObject.createGunzip(); + return stream.pipe(unzip), unzip; + } + if ("deflate" === contentEncoding) { + const inflate = external_node_zlib_namespaceObject.createInflate(); + return stream.pipe(inflate), inflate; + } + return stream; + }(res, headers) : res; + const onDownloadProgress = request.onDownloadProgress; + if (onDownloadProgress) { + const downloadReportStream = new ReportTransform(onDownloadProgress); + downloadReportStream.on("error", (e => { + log_logger.error("Error in download progress", e); + })), responseStream.pipe(downloadReportStream), responseStream = downloadReportStream; + } + return (null === (_b = request.streamResponseStatusCodes) || void 0 === _b ? void 0 : _b.has(Number.POSITIVE_INFINITY)) || (null === (_c = request.streamResponseStatusCodes) || void 0 === _c ? void 0 : _c.has(response.status)) ? response.readableStreamBody = responseStream : response.bodyAsText = await (stream = responseStream, + new Promise(((resolve, reject) => { + const buffer = []; + stream.on("data", (chunk => { + Buffer.isBuffer(chunk) ? buffer.push(chunk) : buffer.push(Buffer.from(chunk)); + })), stream.on("end", (() => { + resolve(Buffer.concat(buffer).toString("utf8")); + })), stream.on("error", (e => { + e && "AbortError" === (null == e ? void 0 : e.name) ? reject(e) : reject(new RestError(`Error reading response as text: ${e.message}`, { + code: RestError.PARSE_ERROR + })); + })); + }))), response; + } finally { + if (request.abortSignal && abortListener) { + let uploadStreamDone = Promise.resolve(); + nodeHttpClient_isReadableStream(body) && (uploadStreamDone = isStreamComplete(body)); + let downloadStreamDone = Promise.resolve(); + nodeHttpClient_isReadableStream(responseStream) && (downloadStreamDone = isStreamComplete(responseStream)), + Promise.all([ uploadStreamDone, downloadStreamDone ]).then((() => { + var _a; + abortListener && (null === (_a = request.abortSignal) || void 0 === _a || _a.removeEventListener("abort", abortListener)); + })).catch((e => { + log_logger.warning("Error when cleaning up abortListener on httpRequest", e); + })); + } + } + var stream; + } + makeRequest(request, abortController, body) { + var _a; + const url = new URL(request.url), isInsecure = "https:" !== url.protocol; + if (isInsecure && !request.allowInsecureConnection) throw new Error(`Cannot connect to ${request.url} while allowInsecureConnection is false.`); + const options = { + agent: null !== (_a = request.agent) && void 0 !== _a ? _a : this.getOrCreateAgent(request, isInsecure), + hostname: url.hostname, + path: `${url.pathname}${url.search}`, + port: url.port, + method: request.method, + headers: request.headers.toJSON({ + preserveCase: !0 + }) + }; + return new Promise(((resolve, reject) => { + const req = isInsecure ? external_node_http_.request(options, resolve) : external_node_https_namespaceObject.request(options, resolve); + req.once("error", (err => { + var _a; + reject(new RestError(err.message, { + code: null !== (_a = err.code) && void 0 !== _a ? _a : RestError.REQUEST_SEND_ERROR, + request + })); + })), abortController.signal.addEventListener("abort", (() => { + const abortError = new AbortError("The operation was aborted."); + req.destroy(abortError), reject(abortError); + })), body && nodeHttpClient_isReadableStream(body) ? body.pipe(req) : body ? "string" == typeof body || Buffer.isBuffer(body) ? req.end(body) : isArrayBuffer(body) ? req.end(ArrayBuffer.isView(body) ? Buffer.from(body.buffer) : Buffer.from(body)) : (log_logger.error("Unrecognized body type", body), + reject(new RestError("Unrecognized body type"))) : req.end(); + })); + } + getOrCreateAgent(request, isInsecure) { + var _a; + const disableKeepAlive = request.disableKeepAlive; + if (isInsecure) return disableKeepAlive ? external_node_http_.globalAgent : (this.cachedHttpAgent || (this.cachedHttpAgent = new external_node_http_.Agent({ + keepAlive: !0 + })), this.cachedHttpAgent); + { + if (disableKeepAlive && !request.tlsSettings) return external_node_https_namespaceObject.globalAgent; + const tlsSettings = null !== (_a = request.tlsSettings) && void 0 !== _a ? _a : DEFAULT_TLS_SETTINGS; + let agent = this.cachedHttpsAgents.get(tlsSettings); + return agent && agent.options.keepAlive === !disableKeepAlive || (log_logger.info("No cached TLS Agent exist, creating a new Agent"), + agent = new external_node_https_namespaceObject.Agent(Object.assign({ + keepAlive: !disableKeepAlive + }, tlsSettings)), this.cachedHttpsAgents.set(tlsSettings, agent)), agent; + } + } + } + function createDefaultHttpClient() { + return new NodeHttpClient; + } + class PipelineRequestImpl { + constructor(options) { + var _a, _b, _c, _d, _e, _f, _g; + this.url = options.url, this.body = options.body, this.headers = null !== (_a = options.headers) && void 0 !== _a ? _a : httpHeaders_createHttpHeaders(), + this.method = null !== (_b = options.method) && void 0 !== _b ? _b : "GET", this.timeout = null !== (_c = options.timeout) && void 0 !== _c ? _c : 0, + this.multipartBody = options.multipartBody, this.formData = options.formData, this.disableKeepAlive = null !== (_d = options.disableKeepAlive) && void 0 !== _d && _d, + this.proxySettings = options.proxySettings, this.streamResponseStatusCodes = options.streamResponseStatusCodes, + this.withCredentials = null !== (_e = options.withCredentials) && void 0 !== _e && _e, + this.abortSignal = options.abortSignal, this.tracingOptions = options.tracingOptions, + this.onUploadProgress = options.onUploadProgress, this.onDownloadProgress = options.onDownloadProgress, + this.requestId = options.requestId || randomUUID(), this.allowInsecureConnection = null !== (_f = options.allowInsecureConnection) && void 0 !== _f && _f, + this.enableBrowserStreams = null !== (_g = options.enableBrowserStreams) && void 0 !== _g && _g; + } + } + function createPipelineRequest(options) { + return new PipelineRequestImpl(options); + } + const DEFAULT_CYCLER_OPTIONS = { + forcedRefreshWindowInMs: 1e3, + retryIntervalInMs: 3e3, + refreshWindowInMs: 12e4 + }; + function tokenCycler_createTokenCycler(credential, tokenCyclerOptions) { + let tenantId, refreshWorker = null, token = null; + const options = Object.assign(Object.assign({}, DEFAULT_CYCLER_OPTIONS), tokenCyclerOptions), cycler = { + get isRefreshing() { + return null !== refreshWorker; + }, + get shouldRefresh() { + var _a; + return !cycler.isRefreshing && (null !== (_a = null == token ? void 0 : token.expiresOnTimestamp) && void 0 !== _a ? _a : 0) - options.refreshWindowInMs < Date.now(); + }, + get mustRefresh() { + return null === token || token.expiresOnTimestamp - options.forcedRefreshWindowInMs < Date.now(); + } + }; + function refresh(scopes, getTokenOptions) { + var _a; + if (!cycler.isRefreshing) { + refreshWorker = async function(getAccessToken, retryIntervalInMs, refreshTimeout) { + async function tryGetAccessToken() { + if (!(Date.now() < refreshTimeout)) { + const finalToken = await getAccessToken(); + if (null === finalToken) throw new Error("Failed to refresh access token."); + return finalToken; + } + try { + return await getAccessToken(); + } catch (_a) { + return null; + } + } + let token = await tryGetAccessToken(); + for (;null === token; ) await helpers_delay(retryIntervalInMs), token = await tryGetAccessToken(); + return token; + }((() => credential.getToken(scopes, getTokenOptions)), options.retryIntervalInMs, null !== (_a = null == token ? void 0 : token.expiresOnTimestamp) && void 0 !== _a ? _a : Date.now()).then((_token => (refreshWorker = null, + token = _token, tenantId = getTokenOptions.tenantId, token))).catch((reason => { + throw refreshWorker = null, token = null, tenantId = void 0, reason; + })); + } + return refreshWorker; + } + return async (scopes, tokenOptions) => { + const hasClaimChallenge = Boolean(tokenOptions.claims), tenantIdChanged = tenantId !== tokenOptions.tenantId; + hasClaimChallenge && (token = null); + return tenantIdChanged || hasClaimChallenge || cycler.mustRefresh ? refresh(scopes, tokenOptions) : (cycler.shouldRefresh && refresh(scopes, tokenOptions), + token); + }; + } + const bearerTokenAuthenticationPolicyName = "bearerTokenAuthenticationPolicy"; + async function defaultAuthorizeRequest(options) { + const {scopes, getAccessToken, request} = options, getTokenOptions = { + abortSignal: request.abortSignal, + tracingOptions: request.tracingOptions + }, accessToken = await getAccessToken(scopes, getTokenOptions); + accessToken && options.request.headers.set("Authorization", `Bearer ${accessToken.token}`); + } + function bearerTokenAuthenticationPolicy(options) { + var _a; + const {credential, scopes, challengeCallbacks} = options, logger = options.logger || log_logger, callbacks = Object.assign({ + authorizeRequest: null !== (_a = null == challengeCallbacks ? void 0 : challengeCallbacks.authorizeRequest) && void 0 !== _a ? _a : defaultAuthorizeRequest, + authorizeRequestOnChallenge: null == challengeCallbacks ? void 0 : challengeCallbacks.authorizeRequestOnChallenge + }, challengeCallbacks), getAccessToken = credential ? tokenCycler_createTokenCycler(credential) : () => Promise.resolve(null); + return { + name: bearerTokenAuthenticationPolicyName, + async sendRequest(request, next) { + if (!request.url.toLowerCase().startsWith("https://")) throw new Error("Bearer token authentication is not permitted for non-TLS protected (non-https) URLs."); + let response, error; + await callbacks.authorizeRequest({ + scopes: Array.isArray(scopes) ? scopes : [ scopes ], + request, + getAccessToken, + logger + }); + try { + response = await next(request); + } catch (err) { + error = err, response = err.response; + } + if (callbacks.authorizeRequestOnChallenge && 401 === (null == response ? void 0 : response.status) && function(response) { + const challenge = response.headers.get("WWW-Authenticate"); + if (401 === response.status && challenge) return challenge; + }(response)) { + if (await callbacks.authorizeRequestOnChallenge({ + scopes: Array.isArray(scopes) ? scopes : [ scopes ], + request, + response, + getAccessToken, + logger + })) return next(request); + } + if (error) throw error; + return response; + } + }; + } + function isTokenCredential(credential) { + const castCredential = credential; + return castCredential && "function" == typeof castCredential.getToken && (void 0 === castCredential.signRequest || castCredential.getToken.length > 0); + } + function encodeByteArray(value) { + return (value instanceof Buffer ? value : Buffer.from(value.buffer)).toString("base64"); + } + function decodeString(value) { + return Buffer.from(value, "base64"); + } + const XML_ATTRKEY = "$", XML_CHARKEY = "_"; + const validateISODuration = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/; + const validUuidRegex = /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/i; + function flattenResponse(fullResponse, responseSpec) { + var _a, _b; + const parsedHeaders = fullResponse.parsedHeaders; + if ("HEAD" === fullResponse.request.method) return Object.assign(Object.assign({}, parsedHeaders), { + body: fullResponse.parsedBody + }); + const bodyMapper = responseSpec && responseSpec.bodyMapper, isNullable = Boolean(null == bodyMapper ? void 0 : bodyMapper.nullable), expectedBodyTypeName = null == bodyMapper ? void 0 : bodyMapper.type.name; + if ("Stream" === expectedBodyTypeName) return Object.assign(Object.assign({}, parsedHeaders), { + blobBody: fullResponse.blobBody, + readableStreamBody: fullResponse.readableStreamBody + }); + const modelProperties = "Composite" === expectedBodyTypeName && bodyMapper.type.modelProperties || {}, isPageableResponse = Object.keys(modelProperties).some((k => "" === modelProperties[k].serializedName)); + if ("Sequence" === expectedBodyTypeName || isPageableResponse) { + const arrayResponse = null !== (_a = fullResponse.parsedBody) && void 0 !== _a ? _a : []; + for (const key of Object.keys(modelProperties)) modelProperties[key].serializedName && (arrayResponse[key] = null === (_b = fullResponse.parsedBody) || void 0 === _b ? void 0 : _b[key]); + if (parsedHeaders) for (const key of Object.keys(parsedHeaders)) arrayResponse[key] = parsedHeaders[key]; + return !isNullable || fullResponse.parsedBody || parsedHeaders || 0 !== Object.getOwnPropertyNames(modelProperties).length ? arrayResponse : null; + } + return function(responseObject) { + const combinedHeadersAndBody = Object.assign(Object.assign({}, responseObject.headers), responseObject.body); + return responseObject.hasNullableType && 0 === Object.getOwnPropertyNames(combinedHeadersAndBody).length ? responseObject.shouldWrapBody ? { + body: null + } : null : responseObject.shouldWrapBody ? Object.assign(Object.assign({}, responseObject.headers), { + body: responseObject.body + }) : combinedHeadersAndBody; + }({ + body: fullResponse.parsedBody, + headers: parsedHeaders, + hasNullableType: isNullable, + shouldWrapBody: (value = fullResponse.parsedBody, mapperTypeName = expectedBodyTypeName, + "Composite" !== mapperTypeName && "Dictionary" !== mapperTypeName && ("string" == typeof value || "number" == typeof value || "boolean" == typeof value || null !== (null == mapperTypeName ? void 0 : mapperTypeName.match(/^(Date|DateTime|DateTimeRfc1123|UnixTime|ByteArray|Base64Url)$/i)) || null == value)) + }); + var value, mapperTypeName; + } + class SerializerImpl { + constructor(modelMappers = {}, isXML = !1) { + this.modelMappers = modelMappers, this.isXML = isXML; + } + validateConstraints(mapper, value, objectName) { + const failValidation = (constraintName, constraintValue) => { + throw new Error(`"${objectName}" with value "${value}" should satisfy the constraint "${constraintName}": ${constraintValue}.`); + }; + if (mapper.constraints && null != value) { + const {ExclusiveMaximum, ExclusiveMinimum, InclusiveMaximum, InclusiveMinimum, MaxItems, MaxLength, MinItems, MinLength, MultipleOf, Pattern, UniqueItems} = mapper.constraints; + if (void 0 !== ExclusiveMaximum && value >= ExclusiveMaximum && failValidation("ExclusiveMaximum", ExclusiveMaximum), + void 0 !== ExclusiveMinimum && value <= ExclusiveMinimum && failValidation("ExclusiveMinimum", ExclusiveMinimum), + void 0 !== InclusiveMaximum && value > InclusiveMaximum && failValidation("InclusiveMaximum", InclusiveMaximum), + void 0 !== InclusiveMinimum && value < InclusiveMinimum && failValidation("InclusiveMinimum", InclusiveMinimum), + void 0 !== MaxItems && value.length > MaxItems && failValidation("MaxItems", MaxItems), + void 0 !== MaxLength && value.length > MaxLength && failValidation("MaxLength", MaxLength), + void 0 !== MinItems && value.length < MinItems && failValidation("MinItems", MinItems), + void 0 !== MinLength && value.length < MinLength && failValidation("MinLength", MinLength), + void 0 !== MultipleOf && value % MultipleOf != 0 && failValidation("MultipleOf", MultipleOf), + Pattern) { + const pattern = "string" == typeof Pattern ? new RegExp(Pattern) : Pattern; + "string" == typeof value && null !== value.match(pattern) || failValidation("Pattern", Pattern); + } + UniqueItems && value.some(((item, i, ar) => ar.indexOf(item) !== i)) && failValidation("UniqueItems", UniqueItems); + } + } + serialize(mapper, object, objectName, options = { + xml: {} + }) { + var _a, _b, _c; + const updatedOptions = { + xml: { + rootName: null !== (_a = options.xml.rootName) && void 0 !== _a ? _a : "", + includeRoot: null !== (_b = options.xml.includeRoot) && void 0 !== _b && _b, + xmlCharKey: null !== (_c = options.xml.xmlCharKey) && void 0 !== _c ? _c : XML_CHARKEY + } + }; + let payload = {}; + const mapperType = mapper.type.name; + objectName || (objectName = mapper.serializedName), null !== mapperType.match(/^Sequence$/i) && (payload = []), + mapper.isConstant && (object = mapper.defaultValue); + const {required, nullable} = mapper; if (required && nullable && void 0 === object) throw new Error(`${objectName} cannot be undefined.`); if (required && !nullable && null == object) throw new Error(`${objectName} cannot be null or undefined.`); if (!required && !1 === nullable && null === object) throw new Error(`${objectName} cannot be null.`); @@ -6693,7 +6460,7 @@ if ("boolean" != typeof value) throw new Error(`${objectName} with value ${value} must be of type boolean.`); } else if (null !== typeName.match(/^Stream$/i)) { const objectType = typeof value; - if (!("string" === objectType || "function" === objectType || value instanceof ArrayBuffer || ArrayBuffer.isView(value) || ("function" == typeof Blob || "object" == typeof Blob) && value instanceof Blob)) throw new Error(`${objectName} must be a string, Blob, ArrayBuffer, ArrayBufferView, or a function returning NodeJS.ReadableStream.`); + if (!("string" === objectType || "function" == typeof value.pipe || "function" == typeof value.tee || value instanceof ArrayBuffer || ArrayBuffer.isView(value) || ("function" == typeof Blob || "object" == typeof Blob) && value instanceof Blob || "function" === objectType)) throw new Error(`${objectName} must be a string, Blob, ArrayBuffer, ArrayBufferView, ReadableStream, or () => ReadableStream.`); } var uuid; return value; @@ -6725,17 +6492,15 @@ }(value)) throw new Error(`${objectName} must be a string in ISO 8601 format. Instead was "${value}".`); return value; }(mapperType, object, objectName) : null !== mapperType.match(/^ByteArray$/i) ? payload = function(objectName, value) { - let returnValue = ""; if (null != value) { if (!(value instanceof Uint8Array)) throw new Error(`${objectName} must be of type Uint8Array.`); - returnValue = encodeByteArray(value); + value = encodeByteArray(value); } - return returnValue; + return value; }(objectName, object) : null !== mapperType.match(/^Base64Url$/i) ? payload = function(objectName, value) { - let returnValue = ""; if (null != value) { if (!(value instanceof Uint8Array)) throw new Error(`${objectName} must be of type Uint8Array.`); - returnValue = function(buffer) { + value = function(buffer) { if (!buffer) return; if (!(buffer instanceof Uint8Array)) throw new Error("Please provide an input of type Uint8Array for converting to Base64Url."); return function(str, ch) { @@ -6743,13 +6508,15 @@ for (;len - 1 >= 0 && str[len - 1] === ch; ) --len; return str.substr(0, len); }(encodeByteArray(buffer), "=").replace(/\+/g, "-").replace(/\//g, "_"); - }(value) || ""; + }(value); } - return returnValue; + return value; }(objectName, object) : null !== mapperType.match(/^Sequence$/i) ? payload = function(serializer, mapper, object, objectName, isXml, options) { + var _a; if (!Array.isArray(object)) throw new Error(`${objectName} must be of type Array.`); - const elementType = mapper.type.element; + let elementType = mapper.type.element; if (!elementType || "object" != typeof elementType) throw new Error(`element" metadata for an Array must be defined in the mapper and it must of type "object" in ${objectName}.`); + "Composite" === elementType.type.name && elementType.type.className && (elementType = null !== (_a = serializer.modelMappers[elementType.type.className]) && void 0 !== _a ? _a : elementType); const tempArray = []; for (let i = 0; i < object.length; i++) { const serializedValue = serializer.serialize(elementType, object[i], objectName, options); @@ -6758,7 +6525,8 @@ "Composite" === elementType.type.name ? (tempArray[i] = Object.assign({}, serializedValue), tempArray[i][XML_ATTRKEY] = { [xmlnsKey]: elementType.xmlNamespace - }) : (tempArray[i] = {}, tempArray[i][options.xmlCharKey] = serializedValue, tempArray[i][XML_ATTRKEY] = { + }) : (tempArray[i] = {}, tempArray[i][options.xml.xmlCharKey] = serializedValue, + tempArray[i][XML_ATTRKEY] = { [xmlnsKey]: elementType.xmlNamespace }); } else tempArray[i] = serializedValue; @@ -6792,7 +6560,8 @@ const paths = splitSerializeName(propertyMapper.serializedName); propName = paths.pop(); for (const pathName of paths) { - null != parentObject[pathName] || null == object[key] && void 0 === propertyMapper.defaultValue || (parentObject[pathName] = {}), + const childObject = parentObject[pathName]; + null == childObject && (void 0 !== object[key] && null !== object[key] || void 0 !== propertyMapper.defaultValue) && (parentObject[pathName] = {}), parentObject = parentObject[pathName]; } } @@ -6837,12 +6606,17 @@ }(this, mapper, object, objectName, Boolean(this.isXML), updatedOptions)); return payload; } - deserialize(mapper, responseBody, objectName, options = {}) { - var _a, _b, _c; + deserialize(mapper, responseBody, objectName, options = { + xml: {} + }) { + var _a, _b, _c, _d; const updatedOptions = { - rootName: null !== (_a = options.rootName) && void 0 !== _a ? _a : "", - includeRoot: null !== (_b = options.includeRoot) && void 0 !== _b && _b, - xmlCharKey: null !== (_c = options.xmlCharKey) && void 0 !== _c ? _c : XML_CHARKEY + xml: { + rootName: null !== (_a = options.xml.rootName) && void 0 !== _a ? _a : "", + includeRoot: null !== (_b = options.xml.includeRoot) && void 0 !== _b && _b, + xmlCharKey: null !== (_c = options.xml.xmlCharKey) && void 0 !== _c ? _c : XML_CHARKEY + }, + ignoreUnknownProperties: null !== (_d = options.ignoreUnknownProperties) && void 0 !== _d && _d }; if (null == responseBody) return this.isXML && "Sequence" === mapper.type.name && !mapper.xmlIsWrapped && (responseBody = []), void 0 !== mapper.defaultValue && (responseBody = mapper.defaultValue), responseBody; @@ -6850,7 +6624,7 @@ const mapperType = mapper.type.name; if (objectName || (objectName = mapper.serializedName), null !== mapperType.match(/^Composite$/i)) payload = function(serializer, mapper, responseBody, objectName, options) { var _a, _b; - const xmlCharKey = null !== (_a = options.xmlCharKey) && void 0 !== _a ? _a : XML_CHARKEY; + const xmlCharKey = null !== (_a = options.xml.xmlCharKey) && void 0 !== _a ? _a : XML_CHARKEY; getPolymorphicDiscriminatorRecursively(serializer, mapper) && (mapper = getPolymorphicMapper(serializer, mapper, responseBody, "serializedName")); const modelProps = resolveModelProperties(serializer, mapper, objectName); let instance = {}; @@ -6871,18 +6645,20 @@ const propertyName = xmlElementName || xmlName || serializedName; if (propertyMapper.xmlIsWrapped) { const wrapped = responseBody[xmlName], elementList = null !== (_b = null == wrapped ? void 0 : wrapped[xmlElementName]) && void 0 !== _b ? _b : []; - instance[key] = serializer.deserialize(propertyMapper, elementList, propertyObjectName, options); + instance[key] = serializer.deserialize(propertyMapper, elementList, propertyObjectName, options), + handledPropertyNames.push(xmlName); } else { const property = responseBody[propertyName]; - instance[key] = serializer.deserialize(propertyMapper, property, propertyObjectName, options); + instance[key] = serializer.deserialize(propertyMapper, property, propertyObjectName, options), + handledPropertyNames.push(propertyName); } } else { - let propertyInstance, res = responseBody; + let propertyInstance, res = responseBody, steps = 0; for (const item of paths) { if (!res) break; - res = res[item]; + steps++, res = res[item]; } - propertyInstance = res; + null === res && steps < paths.length && (res = void 0), propertyInstance = res; const polymorphicDiscriminator = mapper.type.polymorphicDiscriminator; let serializedValue; if (polymorphicDiscriminator && key === polymorphicDiscriminator.clientName && null == propertyInstance && (propertyInstance = mapper.serializedName), @@ -6904,12 +6680,12 @@ return !0; }; for (const responsePropName in responseBody) isAdditionalProperty(responsePropName) && (instance[responsePropName] = serializer.deserialize(additionalPropertiesMapper, responseBody[responsePropName], objectName + '["' + responsePropName + '"]', options)); - } else if (responseBody) for (const key of Object.keys(responseBody)) void 0 !== instance[key] || handledPropertyNames.includes(key) || isSpecialXmlProperty(key, options) || (instance[key] = responseBody[key]); + } else if (responseBody && !options.ignoreUnknownProperties) for (const key of Object.keys(responseBody)) void 0 !== instance[key] || handledPropertyNames.includes(key) || isSpecialXmlProperty(key, options) || (instance[key] = responseBody[key]); return instance; }(this, mapper, responseBody, objectName, updatedOptions); else { if (this.isXML) { - const xmlCharKey = updatedOptions.xmlCharKey, castResponseBody = responseBody; - null != castResponseBody[XML_ATTRKEY] && null != castResponseBody[xmlCharKey] && (responseBody = castResponseBody[xmlCharKey]); + const xmlCharKey = updatedOptions.xml.xmlCharKey; + void 0 !== responseBody[XML_ATTRKEY] && void 0 !== responseBody[xmlCharKey] && (responseBody = responseBody[xmlCharKey]); } null !== mapperType.match(/^Number$/i) ? (payload = parseFloat(responseBody), isNaN(payload) && (payload = responseBody)) : null !== mapperType.match(/^Boolean$/i) ? payload = "true" === responseBody || "false" !== responseBody && responseBody : null !== mapperType.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i) ? payload = responseBody : null !== mapperType.match(/^(Date|DateTime|DateTimeRfc1123)$/i) ? payload = new Date(responseBody) : null !== mapperType.match(/^UnixTime$/i) ? payload = function(n) { if (!n) return; @@ -6919,10 +6695,11 @@ if (str && "string" != typeof str.valueOf()) throw new Error("Please provide an input of type string for converting to Uint8Array"); return decodeString(str = str.replace(/-/g, "+").replace(/_/g, "/")); }(responseBody) : null !== mapperType.match(/^Sequence$/i) ? payload = function(serializer, mapper, responseBody, objectName, options) { - const element = mapper.type.element; + var _a; + let element = mapper.type.element; if (!element || "object" != typeof element) throw new Error(`element" metadata for an Array must be defined in the mapper and it must of type "object" in ${objectName}`); if (responseBody) { - Array.isArray(responseBody) || (responseBody = [ responseBody ]); + Array.isArray(responseBody) || (responseBody = [ responseBody ]), "Composite" === element.type.name && element.type.className && (element = null !== (_a = serializer.modelMappers[element.type.className]) && void 0 !== _a ? _a : element); const tempArray = []; for (let i = 0; i < responseBody.length; i++) tempArray[i] = serializer.deserialize(element, responseBody[i], `${objectName}[${i}]`, options); return tempArray; @@ -6942,6 +6719,9 @@ return mapper.isConstant && (payload = mapper.defaultValue), payload; } } + function createSerializer(modelMappers = {}, isXML = !1) { + return new SerializerImpl(modelMappers, isXML); + } function splitSerializeName(prop) { const classes = []; let partialclass = ""; @@ -6969,8 +6749,8 @@ } function getXmlObjectValue(propertyMapper, serializedValue, isXml, options) { if (!isXml || !propertyMapper.xmlNamespace) return serializedValue; - const xmlNamespace = { - [propertyMapper.xmlNamespacePrefix ? `xmlns:${propertyMapper.xmlNamespacePrefix}` : "xmlns"]: propertyMapper.xmlNamespace + const xmlnsKey = propertyMapper.xmlNamespacePrefix ? `xmlns:${propertyMapper.xmlNamespacePrefix}` : "xmlns", xmlNamespace = { + [xmlnsKey]: propertyMapper.xmlNamespace }; if ([ "Composite" ].includes(propertyMapper.type.name)) { if (serializedValue[XML_ATTRKEY]) return serializedValue; @@ -6980,20 +6760,29 @@ } } const result = {}; - return result[options.xmlCharKey] = serializedValue, result[XML_ATTRKEY] = xmlNamespace, + return result[options.xml.xmlCharKey] = serializedValue, result[XML_ATTRKEY] = xmlNamespace, result; } function isSpecialXmlProperty(propertyName, options) { - return [ XML_ATTRKEY, options.xmlCharKey ].includes(propertyName); + return [ XML_ATTRKEY, options.xml.xmlCharKey ].includes(propertyName); } function getPolymorphicMapper(serializer, mapper, object, polymorphicPropertyName) { + var _a; const polymorphicDiscriminator = getPolymorphicDiscriminatorRecursively(serializer, mapper); if (polymorphicDiscriminator) { - const discriminatorName = polymorphicDiscriminator[polymorphicPropertyName]; - if (null != discriminatorName) { - const discriminatorValue = object[discriminatorName]; - if (null != discriminatorValue) { - const typeName = mapper.type.uberParent || mapper.type.className, indexDiscriminator = discriminatorValue === typeName ? discriminatorValue : typeName + "." + discriminatorValue, polymorphicMapper = serializer.modelMappers.discriminators[indexDiscriminator]; + let discriminatorName = polymorphicDiscriminator[polymorphicPropertyName]; + if (discriminatorName) { + "serializedName" === polymorphicPropertyName && (discriminatorName = discriminatorName.replace(/\\/gi, "")); + const discriminatorValue = object[discriminatorName], typeName = null !== (_a = mapper.type.uberParent) && void 0 !== _a ? _a : mapper.type.className; + if ("string" == typeof discriminatorValue && typeName) { + const polymorphicMapper = function(discriminators, discriminatorValue, typeName) { + const typeNamesToCheck = [ typeName ]; + for (;typeNamesToCheck.length; ) { + const currentName = typeNamesToCheck.shift(), indexDiscriminator = discriminatorValue === currentName ? discriminatorValue : currentName + "." + discriminatorValue; + if (Object.prototype.hasOwnProperty.call(discriminators, indexDiscriminator)) return discriminators[indexDiscriminator]; + for (const [name, mapper] of Object.entries(discriminators)) name.startsWith(currentName + ".") && mapper.type.uberParent === currentName && mapper.type.className && typeNamesToCheck.push(mapper.type.className); + } + }(serializer.modelMappers.discriminators, discriminatorValue, typeName); polymorphicMapper && (mapper = polymorphicMapper); } } @@ -7006,1055 +6795,2058 @@ function getPolymorphicDiscriminatorSafely(serializer, typeName) { return typeName && serializer.modelMappers[typeName] && serializer.modelMappers[typeName].type.polymorphicDiscriminator; } - const MapperType = function(o) { - const result = {}; - for (const key of o) result[key] = key; - return result; - }([ "Base64Url", "Boolean", "ByteArray", "Composite", "Date", "DateTime", "DateTimeRfc1123", "Dictionary", "Enum", "Number", "Object", "Sequence", "String", "Stream", "TimeSpan", "UnixTime" ]), BlobServiceProperties = { - serializedName: "BlobServiceProperties", - xmlName: "StorageServiceProperties", - type: { - name: "Composite", - className: "BlobServiceProperties", - modelProperties: { - blobAnalyticsLogging: { - serializedName: "Logging", - xmlName: "Logging", - type: { - name: "Composite", - className: "Logging" - } - }, - hourMetrics: { - serializedName: "HourMetrics", - xmlName: "HourMetrics", - type: { - name: "Composite", - className: "Metrics" - } - }, - minuteMetrics: { - serializedName: "MinuteMetrics", - xmlName: "MinuteMetrics", - type: { - name: "Composite", - className: "Metrics" - } - }, - cors: { - serializedName: "Cors", - xmlName: "Cors", - xmlIsWrapped: !0, - xmlElementName: "CorsRule", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CorsRule" - } - } - } - }, - defaultServiceVersion: { - serializedName: "DefaultServiceVersion", - xmlName: "DefaultServiceVersion", - type: { - name: "String" - } - }, - deleteRetentionPolicy: { - serializedName: "DeleteRetentionPolicy", - xmlName: "DeleteRetentionPolicy", - type: { - name: "Composite", - className: "RetentionPolicy" - } - }, - staticWebsite: { - serializedName: "StaticWebsite", - xmlName: "StaticWebsite", - type: { - name: "Composite", - className: "StaticWebsite" - } - } + const MapperTypeNames = { + Base64Url: "Base64Url", + Boolean: "Boolean", + ByteArray: "ByteArray", + Composite: "Composite", + Date: "Date", + DateTime: "DateTime", + DateTimeRfc1123: "DateTimeRfc1123", + Dictionary: "Dictionary", + Enum: "Enum", + Number: "Number", + Object: "Object", + Sequence: "Sequence", + String: "String", + Stream: "Stream", + TimeSpan: "TimeSpan", + UnixTime: "UnixTime" + }; + const esm_state_state = __webpack_require__(5924).w; + function getOperationArgumentValueFromParameter(operationArguments, parameter, fallbackObject) { + let parameterPath = parameter.parameterPath; + const parameterMapper = parameter.mapper; + let value; + if ("string" == typeof parameterPath && (parameterPath = [ parameterPath ]), Array.isArray(parameterPath)) { + if (parameterPath.length > 0) if (parameterMapper.isConstant) value = parameterMapper.defaultValue; else { + let propertySearchResult = getPropertyFromParameterPath(operationArguments, parameterPath); + !propertySearchResult.propertyFound && fallbackObject && (propertySearchResult = getPropertyFromParameterPath(fallbackObject, parameterPath)); + let useDefaultValue = !1; + propertySearchResult.propertyFound || (useDefaultValue = parameterMapper.required || "options" === parameterPath[0] && 2 === parameterPath.length), + value = useDefaultValue ? parameterMapper.defaultValue : propertySearchResult.propertyValue; + } + } else { + parameterMapper.required && (value = {}); + for (const propertyName in parameterPath) { + const propertyMapper = parameterMapper.type.modelProperties[propertyName], propertyValue = getOperationArgumentValueFromParameter(operationArguments, { + parameterPath: parameterPath[propertyName], + mapper: propertyMapper + }, fallbackObject); + void 0 !== propertyValue && (value || (value = {}), value[propertyName] = propertyValue); } } - }, Logging = { - serializedName: "Logging", - type: { - name: "Composite", - className: "Logging", - modelProperties: { - version: { - serializedName: "Version", - required: !0, - xmlName: "Version", - type: { - name: "String" - } - }, - deleteProperty: { - serializedName: "Delete", - required: !0, - xmlName: "Delete", - type: { - name: "Boolean" - } - }, - read: { - serializedName: "Read", - required: !0, - xmlName: "Read", - type: { - name: "Boolean" - } - }, - write: { - serializedName: "Write", - required: !0, - xmlName: "Write", - type: { - name: "Boolean" - } - }, - retentionPolicy: { - serializedName: "RetentionPolicy", - xmlName: "RetentionPolicy", - type: { - name: "Composite", - className: "RetentionPolicy" + return value; + } + function getPropertyFromParameterPath(parent, parameterPath) { + const result = { + propertyFound: !1 + }; + let i = 0; + for (;i < parameterPath.length; ++i) { + const parameterPathPart = parameterPath[i]; + if (!parent || !(parameterPathPart in parent)) break; + parent = parent[parameterPathPart]; + } + return i === parameterPath.length && (result.propertyValue = parent, result.propertyFound = !0), + result; + } + const originalRequestSymbol = Symbol.for("@azure/core-client original request"); + function getOperationRequestInfo(request) { + if (function(request) { + return originalRequestSymbol in request; + }(request)) return getOperationRequestInfo(request[originalRequestSymbol]); + let info = esm_state_state.operationRequestMap.get(request); + return info || (info = {}, esm_state_state.operationRequestMap.set(request, info)), + info; + } + const defaultJsonContentTypes = [ "application/json", "text/json" ], defaultXmlContentTypes = [ "application/xml", "application/atom+xml" ], deserializationPolicyName = "deserializationPolicy"; + function deserializationPolicy(options = {}) { + var _a, _b, _c, _d, _e, _f, _g; + const jsonContentTypes = null !== (_b = null === (_a = options.expectedContentTypes) || void 0 === _a ? void 0 : _a.json) && void 0 !== _b ? _b : defaultJsonContentTypes, xmlContentTypes = null !== (_d = null === (_c = options.expectedContentTypes) || void 0 === _c ? void 0 : _c.xml) && void 0 !== _d ? _d : defaultXmlContentTypes, parseXML = options.parseXML, serializerOptions = options.serializerOptions, updatedOptions = { + xml: { + rootName: null !== (_e = null == serializerOptions ? void 0 : serializerOptions.xml.rootName) && void 0 !== _e ? _e : "", + includeRoot: null !== (_f = null == serializerOptions ? void 0 : serializerOptions.xml.includeRoot) && void 0 !== _f && _f, + xmlCharKey: null !== (_g = null == serializerOptions ? void 0 : serializerOptions.xml.xmlCharKey) && void 0 !== _g ? _g : XML_CHARKEY + } + }; + return { + name: deserializationPolicyName, + async sendRequest(request, next) { + const response = await next(request); + return async function(jsonContentTypes, xmlContentTypes, response, options, parseXML) { + const parsedResponse = await async function(jsonContentTypes, xmlContentTypes, operationResponse, opts, parseXML) { + var _a; + if (!(null === (_a = operationResponse.request.streamResponseStatusCodes) || void 0 === _a ? void 0 : _a.has(operationResponse.status)) && operationResponse.bodyAsText) { + const text = operationResponse.bodyAsText, contentType = operationResponse.headers.get("Content-Type") || "", contentComponents = contentType ? contentType.split(";").map((component => component.toLowerCase())) : []; + try { + if (0 === contentComponents.length || contentComponents.some((component => -1 !== jsonContentTypes.indexOf(component)))) return operationResponse.parsedBody = JSON.parse(text), + operationResponse; + if (contentComponents.some((component => -1 !== xmlContentTypes.indexOf(component)))) { + if (!parseXML) throw new Error("Parsing XML not supported."); + const body = await parseXML(text, opts.xml); + return operationResponse.parsedBody = body, operationResponse; + } + } catch (err) { + const msg = `Error "${err}" occurred while parsing the response body - ${operationResponse.bodyAsText}.`, errCode = err.code || RestError.PARSE_ERROR; + throw new RestError(msg, { + code: errCode, + statusCode: operationResponse.status, + request: operationResponse.request, + response: operationResponse + }); + } + } + return operationResponse; + }(jsonContentTypes, xmlContentTypes, response, options, parseXML); + if (!function(parsedResponse) { + const request = parsedResponse.request, operationInfo = getOperationRequestInfo(request), shouldDeserialize = null == operationInfo ? void 0 : operationInfo.shouldDeserialize; + let result; + result = void 0 === shouldDeserialize || ("boolean" == typeof shouldDeserialize ? shouldDeserialize : shouldDeserialize(parsedResponse)); + return result; + }(parsedResponse)) return parsedResponse; + const operationInfo = getOperationRequestInfo(parsedResponse.request), operationSpec = null == operationInfo ? void 0 : operationInfo.operationSpec; + if (!operationSpec || !operationSpec.responses) return parsedResponse; + const responseSpec = function(parsedResponse) { + let result; + const request = parsedResponse.request, operationInfo = getOperationRequestInfo(request), operationSpec = null == operationInfo ? void 0 : operationInfo.operationSpec; + operationSpec && (result = (null == operationInfo ? void 0 : operationInfo.operationResponseGetter) ? null == operationInfo ? void 0 : operationInfo.operationResponseGetter(operationSpec, parsedResponse) : operationSpec.responses[parsedResponse.status]); + return result; + }(parsedResponse), {error, shouldReturnResponse} = function(parsedResponse, operationSpec, responseSpec, options) { + var _a; + const isSuccessByStatus = 200 <= parsedResponse.status && parsedResponse.status < 300, isExpectedStatusCode = function(operationSpec) { + const expectedStatusCodes = Object.keys(operationSpec.responses); + return 0 === expectedStatusCodes.length || 1 === expectedStatusCodes.length && "default" === expectedStatusCodes[0]; + }(operationSpec) ? isSuccessByStatus : !!responseSpec; + if (isExpectedStatusCode) { + if (!responseSpec) return { + error: null, + shouldReturnResponse: !1 + }; + if (!responseSpec.isError) return { + error: null, + shouldReturnResponse: !1 + }; + } + const errorResponseSpec = null != responseSpec ? responseSpec : operationSpec.responses.default, initialErrorMessage = (null === (_a = parsedResponse.request.streamResponseStatusCodes) || void 0 === _a ? void 0 : _a.has(parsedResponse.status)) ? `Unexpected status code: ${parsedResponse.status}` : parsedResponse.bodyAsText, error = new RestError(initialErrorMessage, { + statusCode: parsedResponse.status, + request: parsedResponse.request, + response: parsedResponse + }); + if (!errorResponseSpec) throw error; + const defaultBodyMapper = errorResponseSpec.bodyMapper, defaultHeadersMapper = errorResponseSpec.headersMapper; + try { + if (parsedResponse.parsedBody) { + const parsedBody = parsedResponse.parsedBody; + let deserializedError; + if (defaultBodyMapper) { + let valueToDeserialize = parsedBody; + if (operationSpec.isXML && defaultBodyMapper.type.name === MapperTypeNames.Sequence) { + valueToDeserialize = []; + const elementName = defaultBodyMapper.xmlElementName; + "object" == typeof parsedBody && elementName && (valueToDeserialize = parsedBody[elementName]); + } + deserializedError = operationSpec.serializer.deserialize(defaultBodyMapper, valueToDeserialize, "error.response.parsedBody", options); + } + const internalError = parsedBody.error || deserializedError || parsedBody; + error.code = internalError.code, internalError.message && (error.message = internalError.message), + defaultBodyMapper && (error.response.parsedBody = deserializedError); + } + parsedResponse.headers && defaultHeadersMapper && (error.response.parsedHeaders = operationSpec.serializer.deserialize(defaultHeadersMapper, parsedResponse.headers.toJSON(), "operationRes.parsedHeaders")); + } catch (defaultError) { + error.message = `Error "${defaultError.message}" occurred in deserializing the responseBody - "${parsedResponse.bodyAsText}" for the default response.`; + } + return { + error, + shouldReturnResponse: !1 + }; + }(parsedResponse, operationSpec, responseSpec, options); + if (error) throw error; + if (shouldReturnResponse) return parsedResponse; + if (responseSpec) { + if (responseSpec.bodyMapper) { + let valueToDeserialize = parsedResponse.parsedBody; + operationSpec.isXML && responseSpec.bodyMapper.type.name === MapperTypeNames.Sequence && (valueToDeserialize = "object" == typeof valueToDeserialize ? valueToDeserialize[responseSpec.bodyMapper.xmlElementName] : []); + try { + parsedResponse.parsedBody = operationSpec.serializer.deserialize(responseSpec.bodyMapper, valueToDeserialize, "operationRes.parsedBody", options); + } catch (deserializeError) { + throw new RestError(`Error ${deserializeError} occurred in deserializing the responseBody - ${parsedResponse.bodyAsText}`, { + statusCode: parsedResponse.status, + request: parsedResponse.request, + response: parsedResponse + }); + } + } else "HEAD" === operationSpec.httpMethod && (parsedResponse.parsedBody = response.status >= 200 && response.status < 300); + responseSpec.headersMapper && (parsedResponse.parsedHeaders = operationSpec.serializer.deserialize(responseSpec.headersMapper, parsedResponse.headers.toJSON(), "operationRes.parsedHeaders", { + xml: {}, + ignoreUnknownProperties: !0 + })); } - } + return parsedResponse; + }(jsonContentTypes, xmlContentTypes, response, updatedOptions, parseXML); } - } - }, RetentionPolicy = { - serializedName: "RetentionPolicy", - type: { - name: "Composite", - className: "RetentionPolicy", - modelProperties: { - enabled: { - serializedName: "Enabled", - required: !0, - xmlName: "Enabled", - type: { - name: "Boolean" + }; + } + function getPathStringFromParameter(parameter) { + const {parameterPath, mapper} = parameter; + let result; + return result = "string" == typeof parameterPath ? parameterPath : Array.isArray(parameterPath) ? parameterPath.join(".") : mapper.serializedName, + result; + } + const serializationPolicyName = "serializationPolicy"; + function serializationPolicy(options = {}) { + const stringifyXML = options.stringifyXML; + return { + name: serializationPolicyName, + async sendRequest(request, next) { + const operationInfo = getOperationRequestInfo(request), operationSpec = null == operationInfo ? void 0 : operationInfo.operationSpec, operationArguments = null == operationInfo ? void 0 : operationInfo.operationArguments; + return operationSpec && operationArguments && (function(request, operationArguments, operationSpec) { + var _a, _b; + if (operationSpec.headerParameters) for (const headerParameter of operationSpec.headerParameters) { + let headerValue = getOperationArgumentValueFromParameter(operationArguments, headerParameter); + if (null != headerValue || headerParameter.mapper.required) { + headerValue = operationSpec.serializer.serialize(headerParameter.mapper, headerValue, getPathStringFromParameter(headerParameter)); + const headerCollectionPrefix = headerParameter.mapper.headerCollectionPrefix; + if (headerCollectionPrefix) for (const key of Object.keys(headerValue)) request.headers.set(headerCollectionPrefix + key, headerValue[key]); else request.headers.set(headerParameter.mapper.serializedName || getPathStringFromParameter(headerParameter), headerValue); + } } - }, - days: { - constraints: { - InclusiveMinimum: 1 - }, - serializedName: "Days", - xmlName: "Days", - type: { - name: "Number" + const customHeaders = null === (_b = null === (_a = operationArguments.options) || void 0 === _a ? void 0 : _a.requestOptions) || void 0 === _b ? void 0 : _b.customHeaders; + if (customHeaders) for (const customHeaderName of Object.keys(customHeaders)) request.headers.set(customHeaderName, customHeaders[customHeaderName]); + }(request, operationArguments, operationSpec), function(request, operationArguments, operationSpec, stringifyXML = function() { + throw new Error("XML serialization unsupported!"); + }) { + var _a, _b, _c, _d, _e; + const serializerOptions = null === (_a = operationArguments.options) || void 0 === _a ? void 0 : _a.serializerOptions, updatedOptions = { + xml: { + rootName: null !== (_b = null == serializerOptions ? void 0 : serializerOptions.xml.rootName) && void 0 !== _b ? _b : "", + includeRoot: null !== (_c = null == serializerOptions ? void 0 : serializerOptions.xml.includeRoot) && void 0 !== _c && _c, + xmlCharKey: null !== (_d = null == serializerOptions ? void 0 : serializerOptions.xml.xmlCharKey) && void 0 !== _d ? _d : XML_CHARKEY + } + }, xmlCharKey = updatedOptions.xml.xmlCharKey; + if (operationSpec.requestBody && operationSpec.requestBody.mapper) { + request.body = getOperationArgumentValueFromParameter(operationArguments, operationSpec.requestBody); + const bodyMapper = operationSpec.requestBody.mapper, {required, serializedName, xmlName, xmlElementName, xmlNamespace, xmlNamespacePrefix, nullable} = bodyMapper, typeName = bodyMapper.type.name; + try { + if (void 0 !== request.body && null !== request.body || nullable && null === request.body || required) { + const requestBodyParameterPathString = getPathStringFromParameter(operationSpec.requestBody); + request.body = operationSpec.serializer.serialize(bodyMapper, request.body, requestBodyParameterPathString, updatedOptions); + const isStream = typeName === MapperTypeNames.Stream; + if (operationSpec.isXML) { + const xmlnsKey = xmlNamespacePrefix ? `xmlns:${xmlNamespacePrefix}` : "xmlns", value = function(xmlNamespace, xmlnsKey, typeName, serializedValue, options) { + if (xmlNamespace && ![ "Composite", "Sequence", "Dictionary" ].includes(typeName)) { + const result = {}; + return result[options.xml.xmlCharKey] = serializedValue, result[XML_ATTRKEY] = { + [xmlnsKey]: xmlNamespace + }, result; + } + return serializedValue; + }(xmlNamespace, xmlnsKey, typeName, request.body, updatedOptions); + typeName === MapperTypeNames.Sequence ? request.body = stringifyXML(function(obj, elementName, xmlNamespaceKey, xmlNamespace) { + Array.isArray(obj) || (obj = [ obj ]); + if (!xmlNamespaceKey || !xmlNamespace) return { + [elementName]: obj + }; + const result = { + [elementName]: obj + }; + return result[XML_ATTRKEY] = { + [xmlNamespaceKey]: xmlNamespace + }, result; + }(value, xmlElementName || xmlName || serializedName, xmlnsKey, xmlNamespace), { + rootName: xmlName || serializedName, + xmlCharKey + }) : isStream || (request.body = stringifyXML(value, { + rootName: xmlName || serializedName, + xmlCharKey + })); + } else { + if (typeName === MapperTypeNames.String && ((null === (_e = operationSpec.contentType) || void 0 === _e ? void 0 : _e.match("text/plain")) || "text" === operationSpec.mediaType)) return; + isStream || (request.body = JSON.stringify(request.body)); + } + } + } catch (error) { + throw new Error(`Error "${error.message}" occurred in serializing the payload - ${JSON.stringify(serializedName, void 0, " ")}.`); + } + } else if (operationSpec.formDataParameters && operationSpec.formDataParameters.length > 0) { + request.formData = {}; + for (const formDataParameter of operationSpec.formDataParameters) { + const formDataParameterValue = getOperationArgumentValueFromParameter(operationArguments, formDataParameter); + if (null != formDataParameterValue) { + const formDataParameterPropertyName = formDataParameter.mapper.serializedName || getPathStringFromParameter(formDataParameter); + request.formData[formDataParameterPropertyName] = operationSpec.serializer.serialize(formDataParameter.mapper, formDataParameterValue, getPathStringFromParameter(formDataParameter), updatedOptions); + } + } } + }(request, operationArguments, operationSpec, stringifyXML)), next(request); + } + }; + } + function createClientPipeline(options = {}) { + const pipeline = createPipelineFromOptions(null != options ? options : {}); + return options.credentialOptions && pipeline.addPolicy(bearerTokenAuthenticationPolicy({ + credential: options.credentialOptions.credential, + scopes: options.credentialOptions.credentialScopes + })), pipeline.addPolicy(serializationPolicy(options.serializationOptions), { + phase: "Serialize" + }), pipeline.addPolicy(deserializationPolicy(options.deserializationOptions), { + phase: "Deserialize" + }), pipeline; + } + let cachedHttpClient; + const CollectionFormatToDelimiterMap = { + CSV: ",", + SSV: " ", + Multi: "Multi", + TSV: "\t", + Pipes: "|" + }; + function getRequestUrl(baseUri, operationSpec, operationArguments, fallbackObject) { + const urlReplacements = function(operationSpec, operationArguments, fallbackObject) { + var _a; + const result = new Map; + if (null === (_a = operationSpec.urlParameters) || void 0 === _a ? void 0 : _a.length) for (const urlParameter of operationSpec.urlParameters) { + let urlParameterValue = getOperationArgumentValueFromParameter(operationArguments, urlParameter, fallbackObject); + const parameterPathString = getPathStringFromParameter(urlParameter); + urlParameterValue = operationSpec.serializer.serialize(urlParameter.mapper, urlParameterValue, parameterPathString), + urlParameter.skipEncoding || (urlParameterValue = encodeURIComponent(urlParameterValue)), + result.set(`{${urlParameter.mapper.serializedName || parameterPathString}}`, urlParameterValue); + } + return result; + }(operationSpec, operationArguments, fallbackObject); + let isAbsolutePath = !1, requestUrl = replaceAll(baseUri, urlReplacements); + if (operationSpec.path) { + let path = replaceAll(operationSpec.path, urlReplacements); + "/{nextLink}" === operationSpec.path && path.startsWith("/") && (path = path.substring(1)), + !function(url) { + return url.includes("://"); + }(path) ? requestUrl = function(url, pathToAppend) { + if (!pathToAppend) return url; + const parsedUrl = new URL(url); + let newPath = parsedUrl.pathname; + newPath.endsWith("/") || (newPath = `${newPath}/`); + pathToAppend.startsWith("/") && (pathToAppend = pathToAppend.substring(1)); + const searchStart = pathToAppend.indexOf("?"); + if (-1 !== searchStart) { + const path = pathToAppend.substring(0, searchStart), search = pathToAppend.substring(searchStart + 1); + newPath += path, search && (parsedUrl.search = parsedUrl.search ? `${parsedUrl.search}&${search}` : search); + } else newPath += pathToAppend; + return parsedUrl.pathname = newPath, parsedUrl.toString(); + }(requestUrl, path) : (requestUrl = path, isAbsolutePath = !0); + } + const {queryParams, sequenceParams} = function(operationSpec, operationArguments, fallbackObject) { + var _a; + const result = new Map, sequenceParams = new Set; + if (null === (_a = operationSpec.queryParameters) || void 0 === _a ? void 0 : _a.length) for (const queryParameter of operationSpec.queryParameters) { + "Sequence" === queryParameter.mapper.type.name && queryParameter.mapper.serializedName && sequenceParams.add(queryParameter.mapper.serializedName); + let queryParameterValue = getOperationArgumentValueFromParameter(operationArguments, queryParameter, fallbackObject); + if (null != queryParameterValue || queryParameter.mapper.required) { + queryParameterValue = operationSpec.serializer.serialize(queryParameter.mapper, queryParameterValue, getPathStringFromParameter(queryParameter)); + const delimiter = queryParameter.collectionFormat ? CollectionFormatToDelimiterMap[queryParameter.collectionFormat] : ""; + if (Array.isArray(queryParameterValue) && (queryParameterValue = queryParameterValue.map((item => null == item ? "" : item))), + "Multi" === queryParameter.collectionFormat && 0 === queryParameterValue.length) continue; + !Array.isArray(queryParameterValue) || "SSV" !== queryParameter.collectionFormat && "TSV" !== queryParameter.collectionFormat || (queryParameterValue = queryParameterValue.join(delimiter)), + queryParameter.skipEncoding || (queryParameterValue = Array.isArray(queryParameterValue) ? queryParameterValue.map((item => encodeURIComponent(item))) : encodeURIComponent(queryParameterValue)), + !Array.isArray(queryParameterValue) || "CSV" !== queryParameter.collectionFormat && "Pipes" !== queryParameter.collectionFormat || (queryParameterValue = queryParameterValue.join(delimiter)), + result.set(queryParameter.mapper.serializedName || getPathStringFromParameter(queryParameter), queryParameterValue); + } + } + return { + queryParams: result, + sequenceParams + }; + }(operationSpec, operationArguments, fallbackObject); + return requestUrl = function(url, queryParams, sequenceParams, noOverwrite = !1) { + if (0 === queryParams.size) return url; + const parsedUrl = new URL(url), combinedParams = function(queryString) { + const result = new Map; + if (!queryString || "?" !== queryString[0]) return result; + const pairs = (queryString = queryString.slice(1)).split("&"); + for (const pair of pairs) { + const [name, value] = pair.split("=", 2), existingValue = result.get(name); + existingValue ? Array.isArray(existingValue) ? existingValue.push(value) : result.set(name, [ existingValue, value ]) : result.set(name, value); } + return result; + }(parsedUrl.search); + for (const [name, value] of queryParams) { + const existingValue = combinedParams.get(name); + if (Array.isArray(existingValue)) if (Array.isArray(value)) { + existingValue.push(...value); + const valueSet = new Set(existingValue); + combinedParams.set(name, Array.from(valueSet)); + } else existingValue.push(value); else existingValue ? (Array.isArray(value) ? value.unshift(existingValue) : sequenceParams.has(name) && combinedParams.set(name, [ existingValue, value ]), + noOverwrite || combinedParams.set(name, value)) : combinedParams.set(name, value); + } + const searchPieces = []; + for (const [name, value] of combinedParams) if ("string" == typeof value) searchPieces.push(`${name}=${value}`); else if (Array.isArray(value)) for (const subValue of value) searchPieces.push(`${name}=${subValue}`); else searchPieces.push(`${name}=${value}`); + return parsedUrl.search = searchPieces.length ? `?${searchPieces.join("&")}` : "", + parsedUrl.toString(); + }(requestUrl, queryParams, sequenceParams, isAbsolutePath), requestUrl; + } + function replaceAll(input, replacements) { + let result = input; + for (const [searchValue, replaceValue] of replacements) result = result.split(searchValue).join(replaceValue); + return result; + } + const logger = createClientLogger("core-client"); + class ServiceClient { + constructor(options = {}) { + var _a, _b; + if (this._requestContentType = options.requestContentType, this._endpoint = null !== (_a = options.endpoint) && void 0 !== _a ? _a : options.baseUri, + options.baseUri && logger.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."), + this._allowInsecureConnection = options.allowInsecureConnection, this._httpClient = options.httpClient || (cachedHttpClient || (cachedHttpClient = createDefaultHttpClient()), + cachedHttpClient), this.pipeline = options.pipeline || function(options) { + const credentialScopes = function(options) { + if (options.credentialScopes) return options.credentialScopes; + if (options.endpoint) return `${options.endpoint}/.default`; + if (options.baseUri) return `${options.baseUri}/.default`; + if (options.credential && !options.credentialScopes) throw new Error("When using credentials, the ServiceClientOptions must contain either a endpoint or a credentialScopes. Unable to create a bearerTokenAuthenticationPolicy"); + return; + }(options), credentialOptions = options.credential && credentialScopes ? { + credentialScopes, + credential: options.credential + } : void 0; + return createClientPipeline(Object.assign(Object.assign({}, options), { + credentialOptions + })); + }(options), null === (_b = options.additionalPolicies) || void 0 === _b ? void 0 : _b.length) for (const {policy, position} of options.additionalPolicies) { + const afterPhase = "perRetry" === position ? "Sign" : void 0; + this.pipeline.addPolicy(policy, { + afterPhase + }); } } - }, Metrics = { - serializedName: "Metrics", - type: { - name: "Composite", - className: "Metrics", - modelProperties: { - version: { - serializedName: "Version", - xmlName: "Version", - type: { - name: "String" - } - }, - enabled: { - serializedName: "Enabled", - required: !0, - xmlName: "Enabled", - type: { - name: "Boolean" - } - }, - includeAPIs: { - serializedName: "IncludeAPIs", - xmlName: "IncludeAPIs", - type: { - name: "Boolean" - } - }, - retentionPolicy: { - serializedName: "RetentionPolicy", - xmlName: "RetentionPolicy", - type: { - name: "Composite", - className: "RetentionPolicy" - } + async sendRequest(request) { + return this.pipeline.sendRequest(this._httpClient, request); + } + async sendOperationRequest(operationArguments, operationSpec) { + const endpoint = operationSpec.baseUrl || this._endpoint; + if (!endpoint) throw new Error("If operationSpec.baseUrl is not specified, then the ServiceClient must have a endpoint string property that contains the base URL to use."); + const request = createPipelineRequest({ + url: getRequestUrl(endpoint, operationSpec, operationArguments, this) + }); + request.method = operationSpec.httpMethod; + const operationInfo = getOperationRequestInfo(request); + operationInfo.operationSpec = operationSpec, operationInfo.operationArguments = operationArguments; + const contentType = operationSpec.contentType || this._requestContentType; + contentType && operationSpec.requestBody && request.headers.set("Content-Type", contentType); + const options = operationArguments.options; + if (options) { + const requestOptions = options.requestOptions; + requestOptions && (requestOptions.timeout && (request.timeout = requestOptions.timeout), + requestOptions.onUploadProgress && (request.onUploadProgress = requestOptions.onUploadProgress), + requestOptions.onDownloadProgress && (request.onDownloadProgress = requestOptions.onDownloadProgress), + void 0 !== requestOptions.shouldDeserialize && (operationInfo.shouldDeserialize = requestOptions.shouldDeserialize), + requestOptions.allowInsecureConnection && (request.allowInsecureConnection = !0)), + options.abortSignal && (request.abortSignal = options.abortSignal), options.tracingOptions && (request.tracingOptions = options.tracingOptions); + } + this._allowInsecureConnection && (request.allowInsecureConnection = !0), void 0 === request.streamResponseStatusCodes && (request.streamResponseStatusCodes = function(operationSpec) { + const result = new Set; + for (const statusCode in operationSpec.responses) { + const operationResponse = operationSpec.responses[statusCode]; + operationResponse.bodyMapper && operationResponse.bodyMapper.type.name === MapperTypeNames.Stream && result.add(Number(statusCode)); + } + return result; + }(operationSpec)); + try { + const rawResponse = await this.sendRequest(request), flatResponse = flattenResponse(rawResponse, operationSpec.responses[rawResponse.status]); + return (null == options ? void 0 : options.onResponse) && options.onResponse(rawResponse, flatResponse), + flatResponse; + } catch (error) { + if ("object" == typeof error && (null == error ? void 0 : error.response)) { + const rawResponse = error.response, flatResponse = flattenResponse(rawResponse, operationSpec.responses[error.statusCode] || operationSpec.responses.default); + error.details = flatResponse, (null == options ? void 0 : options.onResponse) && options.onResponse(rawResponse, flatResponse, error); } + throw error; } } - }, CorsRule = { - serializedName: "CorsRule", - type: { - name: "Composite", - className: "CorsRule", - modelProperties: { - allowedOrigins: { - serializedName: "AllowedOrigins", - required: !0, - xmlName: "AllowedOrigins", - type: { - name: "String" - } - }, - allowedMethods: { - serializedName: "AllowedMethods", - required: !0, - xmlName: "AllowedMethods", - type: { - name: "String" - } - }, - allowedHeaders: { - serializedName: "AllowedHeaders", - required: !0, - xmlName: "AllowedHeaders", - type: { - name: "String" - } - }, - exposedHeaders: { - serializedName: "ExposedHeaders", - required: !0, - xmlName: "ExposedHeaders", - type: { - name: "String" - } - }, - maxAgeInSeconds: { - constraints: { - InclusiveMinimum: 0 - }, - serializedName: "MaxAgeInSeconds", - required: !0, - xmlName: "MaxAgeInSeconds", - type: { - name: "Number" - } - } - } + } + const Constants_DefaultScope = "/.default", Constants_HeaderConstants = { + AUTHORIZATION: "authorization" + }; + const authorizeRequestOnTenantChallenge = async challengeOptions => { + const requestOptions = { + abortSignal: (request = challengeOptions.request).abortSignal, + requestOptions: { + timeout: request.timeout + }, + tracingOptions: request.tracingOptions + }; + var request; + const challenge = function(response) { + const challenge = response.headers.get("WWW-Authenticate"); + if (401 === response.status && challenge) return challenge; + return; + }(challengeOptions.response); + if (challenge) { + const challengeInfo = function(challenge) { + const bearerChallenge = challenge.slice(7), challengeParts = `${bearerChallenge.trim()} `.split(" ").filter((x => x)); + return challengeParts.map((keyValue => (([key, value]) => ({ + [key]: value + }))(keyValue.trim().split("=")))).reduce(((a, b) => Object.assign(Object.assign({}, a), b)), {}); + }(challenge), challengeScopes = function(challengeOptions, challengeInfo) { + if (!challengeInfo.resource_id) return challengeOptions.scopes; + const challengeScopes = new URL(challengeInfo.resource_id); + challengeScopes.pathname = Constants_DefaultScope; + let scope = challengeScopes.toString(); + "https://disk.azure.com/.default" === scope && (scope = "https://disk.azure.com//.default"); + return [ scope ]; + }(challengeOptions, challengeInfo), tenantId = function(challengeInfo) { + const parsedAuthUri = new URL(challengeInfo.authorization_uri), tenantId = parsedAuthUri.pathname.split("/")[1]; + if (tenantId && (text = tenantId, /^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/.test(text))) return tenantId; + var text; + return; + }(challengeInfo); + if (!tenantId) return !1; + const accessToken = await challengeOptions.getAccessToken(challengeScopes, Object.assign(Object.assign({}, requestOptions), { + tenantId + })); + return !!accessToken && (challengeOptions.request.headers.set(Constants_HeaderConstants.AUTHORIZATION, `Bearer ${accessToken.token}`), + !0); } - }, StaticWebsite = { - serializedName: "StaticWebsite", - type: { - name: "Composite", - className: "StaticWebsite", - modelProperties: { - enabled: { - serializedName: "Enabled", - required: !0, - xmlName: "Enabled", - type: { - name: "Boolean" - } - }, - indexDocument: { - serializedName: "IndexDocument", - xmlName: "IndexDocument", - type: { - name: "String" - } - }, - errorDocument404Path: { - serializedName: "ErrorDocument404Path", - xmlName: "ErrorDocument404Path", - type: { - name: "String" - } - }, - defaultIndexDocumentPath: { - serializedName: "DefaultIndexDocumentPath", - xmlName: "DefaultIndexDocumentPath", - type: { - name: "String" - } - } - } + return !1; + }; + const util_originalRequestSymbol = Symbol("Original PipelineRequest"), originalClientRequestSymbol = Symbol.for("@azure/core-client original request"); + function toPipelineRequest(webResource, options = {}) { + const request = webResource[util_originalRequestSymbol], headers = httpHeaders_createHttpHeaders(webResource.headers.toJson({ + preserveCase: !0 + })); + if (request) return request.headers = headers, request; + { + const newRequest = createPipelineRequest({ + url: webResource.url, + method: webResource.method, + headers, + withCredentials: webResource.withCredentials, + timeout: webResource.timeout, + requestId: webResource.requestId, + abortSignal: webResource.abortSignal, + body: webResource.body, + formData: webResource.formData, + disableKeepAlive: !!webResource.keepAlive, + onDownloadProgress: webResource.onDownloadProgress, + onUploadProgress: webResource.onUploadProgress, + proxySettings: webResource.proxySettings, + streamResponseStatusCodes: webResource.streamResponseStatusCodes + }); + return options.originalRequest && (newRequest[originalClientRequestSymbol] = options.originalRequest), + newRequest; } - }, StorageError = { - serializedName: "StorageError", - type: { - name: "Composite", - className: "StorageError", - modelProperties: { - message: { - serializedName: "Message", - xmlName: "Message", - type: { - name: "String" - } - }, - code: { - serializedName: "Code", - xmlName: "Code", - type: { - name: "String" - } - } + } + function toWebResourceLike(request, options) { + var _a; + const originalRequest = null !== (_a = null == options ? void 0 : options.originalRequest) && void 0 !== _a ? _a : request, webResource = { + url: request.url, + method: request.method, + headers: toHttpHeadersLike(request.headers), + withCredentials: request.withCredentials, + timeout: request.timeout, + requestId: request.headers.get("x-ms-client-request-id") || request.requestId, + abortSignal: request.abortSignal, + body: request.body, + formData: request.formData, + keepAlive: !!request.disableKeepAlive, + onDownloadProgress: request.onDownloadProgress, + onUploadProgress: request.onUploadProgress, + proxySettings: request.proxySettings, + streamResponseStatusCodes: request.streamResponseStatusCodes, + clone() { + throw new Error("Cannot clone a non-proxied WebResourceLike"); + }, + prepare() { + throw new Error("WebResourceLike.prepare() is not supported by @azure/core-http-compat"); + }, + validateRequestProperties() {} + }; + return (null == options ? void 0 : options.createProxy) ? new Proxy(webResource, { + get: (target, prop, receiver) => prop === util_originalRequestSymbol ? request : "clone" === prop ? () => toWebResourceLike(toPipelineRequest(webResource, { + originalRequest + }), { + createProxy: !0, + originalRequest + }) : Reflect.get(target, prop, receiver), + set(target, prop, value, receiver) { + "keepAlive" === prop && (request.disableKeepAlive = !value); + return "string" == typeof prop && [ "url", "method", "withCredentials", "timeout", "requestId", "abortSignal", "body", "formData", "onDownloadProgress", "onUploadProgress", "proxySettings", "streamResponseStatusCodes" ].includes(prop) && (request[prop] = value), + Reflect.set(target, prop, value, receiver); + } + }) : webResource; + } + function toHttpHeadersLike(headers) { + return new HttpHeaders(headers.toJSON({ + preserveCase: !0 + })); + } + function getHeaderKey(headerName) { + return headerName.toLowerCase(); + } + class HttpHeaders { + constructor(rawHeaders) { + if (this._headersMap = {}, rawHeaders) for (const headerName in rawHeaders) this.set(headerName, rawHeaders[headerName]); + } + set(headerName, headerValue) { + this._headersMap[getHeaderKey(headerName)] = { + name: headerName, + value: headerValue.toString() + }; + } + get(headerName) { + const header = this._headersMap[getHeaderKey(headerName)]; + return header ? header.value : void 0; + } + contains(headerName) { + return !!this._headersMap[getHeaderKey(headerName)]; + } + remove(headerName) { + const result = this.contains(headerName); + return delete this._headersMap[getHeaderKey(headerName)], result; + } + rawHeaders() { + return this.toJson({ + preserveCase: !0 + }); + } + headersArray() { + const headers = []; + for (const headerKey in this._headersMap) headers.push(this._headersMap[headerKey]); + return headers; + } + headerNames() { + const headerNames = [], headers = this.headersArray(); + for (let i = 0; i < headers.length; ++i) headerNames.push(headers[i].name); + return headerNames; + } + headerValues() { + const headerValues = [], headers = this.headersArray(); + for (let i = 0; i < headers.length; ++i) headerValues.push(headers[i].value); + return headerValues; + } + toJson(options = {}) { + const result = {}; + if (options.preserveCase) for (const headerKey in this._headersMap) { + const header = this._headersMap[headerKey]; + result[header.name] = header.value; + } else for (const headerKey in this._headersMap) { + const header = this._headersMap[headerKey]; + result[getHeaderKey(header.name)] = header.value; } + return result; } - }, BlobServiceStatistics = { - serializedName: "BlobServiceStatistics", - xmlName: "StorageServiceStats", - type: { - name: "Composite", - className: "BlobServiceStatistics", - modelProperties: { - geoReplication: { - serializedName: "GeoReplication", - xmlName: "GeoReplication", - type: { - name: "Composite", - className: "GeoReplication" - } - } + toString() { + return JSON.stringify(this.toJson({ + preserveCase: !0 + })); + } + clone() { + const resultPreservingCasing = {}; + for (const headerKey in this._headersMap) { + const header = this._headersMap[headerKey]; + resultPreservingCasing[header.name] = header.value; } + return new HttpHeaders(resultPreservingCasing); } - }, GeoReplication = { - serializedName: "GeoReplication", - type: { - name: "Composite", - className: "GeoReplication", - modelProperties: { - status: { - serializedName: "Status", - required: !0, - xmlName: "Status", - type: { - name: "Enum", - allowedValues: [ "live", "bootstrap", "unavailable" ] - } - }, - lastSyncOn: { - serializedName: "LastSyncTime", - required: !0, - xmlName: "LastSyncTime", - type: { - name: "DateTimeRfc1123" - } + } + const originalResponse = Symbol("Original FullOperationResponse"); + function toCompatResponse(response, options) { + let request = toWebResourceLike(response.request), headers = toHttpHeadersLike(response.headers); + return (null == options ? void 0 : options.createProxy) ? new Proxy(response, { + get: (target, prop, receiver) => "headers" === prop ? headers : "request" === prop ? request : prop === originalResponse ? response : Reflect.get(target, prop, receiver), + set: (target, prop, value, receiver) => ("headers" === prop ? headers = value : "request" === prop && (request = value), + Reflect.set(target, prop, value, receiver)) + }) : Object.assign(Object.assign({}, response), { + request, + headers + }); + } + function toPipelineResponse(compatResponse) { + const response = compatResponse[originalResponse], headers = httpHeaders_createHttpHeaders(compatResponse.headers.toJson({ + preserveCase: !0 + })); + return response ? (response.headers = headers, response) : Object.assign(Object.assign({}, compatResponse), { + headers, + request: toPipelineRequest(compatResponse.request) + }); + } + class ExtendedServiceClient extends ServiceClient { + constructor(options) { + var _a, _b; + super(options), !1 !== (null === (_a = options.keepAliveOptions) || void 0 === _a ? void 0 : _a.enable) || this.pipeline.getOrderedPolicies().some((policy => "DisableKeepAlivePolicy" === policy.name)) || this.pipeline.addPolicy({ + name: "DisableKeepAlivePolicy", + sendRequest: async (request, next) => (request.disableKeepAlive = !0, next(request)) + }), !1 === (null === (_b = options.redirectOptions) || void 0 === _b ? void 0 : _b.handleRedirects) && this.pipeline.removePolicy({ + name: redirectPolicyName + }); + } + async sendOperationRequest(operationArguments, operationSpec) { + var _a; + const userProvidedCallBack = null === (_a = null == operationArguments ? void 0 : operationArguments.options) || void 0 === _a ? void 0 : _a.onResponse; + let lastResponse; + operationArguments.options = Object.assign(Object.assign({}, operationArguments.options), { + onResponse: function(rawResponse, flatResponse, error) { + lastResponse = rawResponse, userProvidedCallBack && userProvidedCallBack(rawResponse, flatResponse, error); } + }); + const result = await super.sendOperationRequest(operationArguments, operationSpec); + return lastResponse && Object.defineProperty(result, "_response", { + value: toCompatResponse(lastResponse) + }), result; + } + } + var HttpPipelineLogLevel; + !function(HttpPipelineLogLevel) { + HttpPipelineLogLevel[HttpPipelineLogLevel.ERROR = 1] = "ERROR", HttpPipelineLogLevel[HttpPipelineLogLevel.INFO = 3] = "INFO", + HttpPipelineLogLevel[HttpPipelineLogLevel.OFF = 0] = "OFF", HttpPipelineLogLevel[HttpPipelineLogLevel.WARNING = 2] = "WARNING"; + }(HttpPipelineLogLevel || (HttpPipelineLogLevel = {})); + const mockRequestPolicyOptions = { + log(_logLevel, _message) {}, + shouldLog: _logLevel => !1 + }, requestPolicyFactoryPolicyName = "RequestPolicyFactoryPolicy"; + function createRequestPolicyFactoryPolicy(factories) { + const orderedFactories = factories.slice().reverse(); + return { + name: requestPolicyFactoryPolicyName, + async sendRequest(request, next) { + let httpPipeline = { + sendRequest: async httpRequest => toCompatResponse(await next(toPipelineRequest(httpRequest)), { + createProxy: !0 + }) + }; + for (const factory of orderedFactories) httpPipeline = factory.create(httpPipeline, mockRequestPolicyOptions); + const webResourceLike = toWebResourceLike(request, { + createProxy: !0 + }); + return toPipelineResponse(await httpPipeline.sendRequest(webResourceLike)); } + }; + } + var fxp = __webpack_require__(1562); + const xml_common_XML_ATTRKEY = "$", xml_common_XML_CHARKEY = "_"; + function getCommonOptions(options) { + var _a; + return { + attributesGroupName: xml_common_XML_ATTRKEY, + textNodeName: null !== (_a = options.xmlCharKey) && void 0 !== _a ? _a : xml_common_XML_CHARKEY, + ignoreAttributes: !1, + suppressBooleanAttributes: !1 + }; + } + function stringifyXML(obj, opts = {}) { + const parserOptions = function(options = {}) { + var _a, _b; + return Object.assign(Object.assign({}, getCommonOptions(options)), { + attributeNamePrefix: "@_", + format: !0, + suppressEmptyNode: !0, + indentBy: "", + rootNodeName: null !== (_a = options.rootName) && void 0 !== _a ? _a : "root", + cdataPropName: null !== (_b = options.cdataPropName) && void 0 !== _b ? _b : "__cdata" + }); + }(opts), j2x = new fxp.XMLBuilder(parserOptions), node = { + [parserOptions.rootNodeName]: obj + }; + return `${j2x.build(node)}`.replace(/\n/g, ""); + } + async function parseXML(str, opts = {}) { + if (!str) throw new Error("Document is empty"); + const validation = fxp.XMLValidator.validate(str); + if (!0 !== validation) throw validation; + const parsedXml = new fxp.XMLParser(function(options = {}) { + return Object.assign(Object.assign({}, getCommonOptions(options)), { + parseAttributeValue: !1, + parseTagValue: !1, + attributeNamePrefix: "", + stopNodes: options.stopNodes, + processEntities: !0 + }); + }(opts)).parse(str); + if (parsedXml["?xml"] && delete parsedXml["?xml"], !opts.includeRoot) for (const key of Object.keys(parsedXml)) { + const value = parsedXml[key]; + return "object" == typeof value ? Object.assign({}, value) : value; } - }, ListContainersSegmentResponse = { - serializedName: "ListContainersSegmentResponse", - xmlName: "EnumerationResults", - type: { - name: "Composite", - className: "ListContainersSegmentResponse", - modelProperties: { - serviceEndpoint: { - serializedName: "ServiceEndpoint", - required: !0, - xmlName: "ServiceEndpoint", - xmlIsAttribute: !0, - type: { - name: "String" - } - }, - prefix: { - serializedName: "Prefix", - xmlName: "Prefix", - type: { - name: "String" - } - }, - marker: { - serializedName: "Marker", - xmlName: "Marker", - type: { - name: "String" - } - }, - maxPageSize: { - serializedName: "MaxResults", - xmlName: "MaxResults", - type: { - name: "Number" - } - }, - containerItems: { - serializedName: "ContainerItems", - required: !0, - xmlName: "Containers", - xmlIsWrapped: !0, - xmlElementName: "Container", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ContainerItem" - } - } - } - }, - continuationToken: { - serializedName: "NextMarker", - xmlName: "NextMarker", - type: { - name: "String" - } - } + return parsedXml; + } + const src_log_logger = createClientLogger("storage-blob"); + class AbortController_AbortError extends Error { + constructor(message) { + super(message), this.name = "AbortError"; + } + } + class BaseRequestPolicy { + constructor(_nextPolicy, _options) { + this._nextPolicy = _nextPolicy, this._options = _options; + } + shouldLog(logLevel) { + return this._options.shouldLog(logLevel); + } + log(logLevel, message) { + this._options.log(logLevel, message); + } + } + const SERVICE_VERSION = "2024-08-04", StorageOAuthScopes = "https://storage.azure.com/.default", constants_URLConstants = { + Parameters: { + FORCE_BROWSER_NO_CACHE: "_", + SIGNATURE: "sig", + SNAPSHOT: "snapshot", + VERSIONID: "versionid", + TIMEOUT: "timeout" + } + }, HTTPURLConnection_HTTP_ACCEPTED = 202, constants_HeaderConstants = { + AUTHORIZATION: "Authorization", + AUTHORIZATION_SCHEME: "Bearer", + CONTENT_ENCODING: "Content-Encoding", + CONTENT_ID: "Content-ID", + CONTENT_LANGUAGE: "Content-Language", + CONTENT_LENGTH: "Content-Length", + CONTENT_MD5: "Content-Md5", + CONTENT_TRANSFER_ENCODING: "Content-Transfer-Encoding", + CONTENT_TYPE: "Content-Type", + COOKIE: "Cookie", + DATE: "date", + IF_MATCH: "if-match", + IF_MODIFIED_SINCE: "if-modified-since", + IF_NONE_MATCH: "if-none-match", + IF_UNMODIFIED_SINCE: "if-unmodified-since", + PREFIX_FOR_STORAGE: "x-ms-", + RANGE: "Range", + USER_AGENT: "User-Agent", + X_MS_CLIENT_REQUEST_ID: "x-ms-client-request-id", + X_MS_COPY_SOURCE: "x-ms-copy-source", + X_MS_DATE: "x-ms-date", + X_MS_ERROR_CODE: "x-ms-error-code", + X_MS_VERSION: "x-ms-version", + X_MS_CopySourceErrorCode: "x-ms-copy-source-error-code" + }, StorageBlobLoggingAllowedHeaderNames = [ "Access-Control-Allow-Origin", "Cache-Control", "Content-Length", "Content-Type", "Date", "Request-Id", "traceparent", "Transfer-Encoding", "User-Agent", "x-ms-client-request-id", "x-ms-date", "x-ms-error-code", "x-ms-request-id", "x-ms-return-client-request-id", "x-ms-version", "Accept-Ranges", "Content-Disposition", "Content-Encoding", "Content-Language", "Content-MD5", "Content-Range", "ETag", "Last-Modified", "Server", "Vary", "x-ms-content-crc64", "x-ms-copy-action", "x-ms-copy-completion-time", "x-ms-copy-id", "x-ms-copy-progress", "x-ms-copy-status", "x-ms-has-immutability-policy", "x-ms-has-legal-hold", "x-ms-lease-state", "x-ms-lease-status", "x-ms-range", "x-ms-request-server-encrypted", "x-ms-server-encrypted", "x-ms-snapshot", "x-ms-source-range", "If-Match", "If-Modified-Since", "If-None-Match", "If-Unmodified-Since", "x-ms-access-tier", "x-ms-access-tier-change-time", "x-ms-access-tier-inferred", "x-ms-account-kind", "x-ms-archive-status", "x-ms-blob-append-offset", "x-ms-blob-cache-control", "x-ms-blob-committed-block-count", "x-ms-blob-condition-appendpos", "x-ms-blob-condition-maxsize", "x-ms-blob-content-disposition", "x-ms-blob-content-encoding", "x-ms-blob-content-language", "x-ms-blob-content-length", "x-ms-blob-content-md5", "x-ms-blob-content-type", "x-ms-blob-public-access", "x-ms-blob-sequence-number", "x-ms-blob-type", "x-ms-copy-destination-snapshot", "x-ms-creation-time", "x-ms-default-encryption-scope", "x-ms-delete-snapshots", "x-ms-delete-type-permanent", "x-ms-deny-encryption-scope-override", "x-ms-encryption-algorithm", "x-ms-if-sequence-number-eq", "x-ms-if-sequence-number-le", "x-ms-if-sequence-number-lt", "x-ms-incremental-copy", "x-ms-lease-action", "x-ms-lease-break-period", "x-ms-lease-duration", "x-ms-lease-id", "x-ms-lease-time", "x-ms-page-write", "x-ms-proposed-lease-id", "x-ms-range-get-content-md5", "x-ms-rehydrate-priority", "x-ms-sequence-number-action", "x-ms-sku-name", "x-ms-source-content-md5", "x-ms-source-if-match", "x-ms-source-if-modified-since", "x-ms-source-if-none-match", "x-ms-source-if-unmodified-since", "x-ms-tag-count", "x-ms-encryption-key-sha256", "x-ms-copy-source-error-code", "x-ms-copy-source-status-code", "x-ms-if-tags", "x-ms-source-if-tags" ], StorageBlobLoggingAllowedQueryParameters = [ "comp", "maxresults", "rscc", "rscd", "rsce", "rscl", "rsct", "se", "si", "sip", "sp", "spr", "sr", "srt", "ss", "st", "sv", "include", "marker", "prefix", "copyid", "restype", "blockid", "blocklisttype", "delimiter", "prevsnapshot", "ske", "skoid", "sks", "skt", "sktid", "skv", "snapshot" ], PathStylePorts = [ "10000", "10001", "10002", "10003", "10004", "10100", "10101", "10102", "10103", "10104", "11000", "11001", "11002", "11003", "11004", "11100", "11101", "11102", "11103", "11104" ]; + function escapeURLPath(url) { + const urlParsed = new URL(url); + let path = urlParsed.pathname; + return path = path || "/", path = encodeURIComponent(path).replace(/%2F/g, "/").replace(/'/g, "%27").replace(/\+/g, "%20").replace(/%25/g, "%"), + urlParsed.pathname = path, urlParsed.toString(); + } + function getValueInConnString(connectionString, argument) { + const elements = connectionString.split(";"); + for (const element of elements) if (element.trim().startsWith(argument)) return element.trim().match(argument + "=(.*)")[1]; + return ""; + } + function extractConnectionStringParts(connectionString) { + let proxyUri = ""; + connectionString.startsWith("UseDevelopmentStorage=true") && (proxyUri = function(connectionString) { + let proxyUri = ""; + if (-1 !== connectionString.search("DevelopmentStorageProxyUri=")) { + const matchCredentials = connectionString.split(";"); + for (const element of matchCredentials) element.trim().startsWith("DevelopmentStorageProxyUri=") && (proxyUri = element.trim().match("DevelopmentStorageProxyUri=(.*)")[1]); + } + return proxyUri; + }(connectionString), connectionString = "DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;"); + let blobEndpoint = getValueInConnString(connectionString, "BlobEndpoint"); + if (blobEndpoint = blobEndpoint.endsWith("/") ? blobEndpoint.slice(0, -1) : blobEndpoint, + -1 !== connectionString.search("DefaultEndpointsProtocol=") && -1 !== connectionString.search("AccountKey=")) { + let defaultEndpointsProtocol = "", accountName = "", accountKey = Buffer.from("accountKey", "base64"), endpointSuffix = ""; + if (accountName = getValueInConnString(connectionString, "AccountName"), accountKey = Buffer.from(getValueInConnString(connectionString, "AccountKey"), "base64"), + !blobEndpoint) { + defaultEndpointsProtocol = getValueInConnString(connectionString, "DefaultEndpointsProtocol"); + const protocol = defaultEndpointsProtocol.toLowerCase(); + if ("https" !== protocol && "http" !== protocol) throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'"); + if (endpointSuffix = getValueInConnString(connectionString, "EndpointSuffix"), !endpointSuffix) throw new Error("Invalid EndpointSuffix in the provided Connection String"); + blobEndpoint = `${defaultEndpointsProtocol}://${accountName}.blob.${endpointSuffix}`; } + if (!accountName) throw new Error("Invalid AccountName in the provided Connection String"); + if (0 === accountKey.length) throw new Error("Invalid AccountKey in the provided Connection String"); + return { + kind: "AccountConnString", + url: blobEndpoint, + accountName, + accountKey, + proxyUri + }; } - }, ContainerItem = { - serializedName: "ContainerItem", - xmlName: "Container", - type: { - name: "Composite", - className: "ContainerItem", - modelProperties: { - name: { - serializedName: "Name", - required: !0, - xmlName: "Name", - type: { - name: "String" - } - }, - deleted: { - serializedName: "Deleted", - xmlName: "Deleted", - type: { - name: "Boolean" - } - }, - version: { - serializedName: "Version", - xmlName: "Version", - type: { - name: "String" + { + let accountSas = getValueInConnString(connectionString, "SharedAccessSignature"), accountName = getValueInConnString(connectionString, "AccountName"); + if (accountName || (accountName = getAccountNameFromUrl(blobEndpoint)), !blobEndpoint) throw new Error("Invalid BlobEndpoint in the provided SAS Connection String"); + if (!accountSas) throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String"); + return accountSas.startsWith("?") && (accountSas = accountSas.substring(1)), { + kind: "SASConnString", + url: blobEndpoint, + accountName, + accountSas + }; + } + } + function appendToURLPath(url, name) { + const urlParsed = new URL(url); + let path = urlParsed.pathname; + return path = path ? path.endsWith("/") ? `${path}${name}` : `${path}/${name}` : name, + urlParsed.pathname = path, urlParsed.toString(); + } + function setURLParameter(url, name, value) { + const urlParsed = new URL(url), encodedName = encodeURIComponent(name), encodedValue = value ? encodeURIComponent(value) : void 0, searchString = "" === urlParsed.search ? "?" : urlParsed.search, searchPieces = []; + for (const pair of searchString.slice(1).split("&")) if (pair) { + const [key] = pair.split("=", 2); + key !== encodedName && searchPieces.push(pair); + } + return encodedValue && searchPieces.push(`${encodedName}=${encodedValue}`), urlParsed.search = searchPieces.length ? `?${searchPieces.join("&")}` : "", + urlParsed.toString(); + } + function getURLParameter(url, name) { + var _a; + return null !== (_a = new URL(url).searchParams.get(name)) && void 0 !== _a ? _a : void 0; + } + function setURLHost(url, host) { + const urlParsed = new URL(url); + return urlParsed.hostname = host, urlParsed.toString(); + } + function getURLPath(url) { + try { + return new URL(url).pathname; + } catch (e) { + return; + } + } + function getURLPathAndQuery(url) { + const urlParsed = new URL(url), pathString = urlParsed.pathname; + if (!pathString) throw new RangeError("Invalid url without valid path."); + let queryString = urlParsed.search || ""; + return queryString = queryString.trim(), "" !== queryString && (queryString = queryString.startsWith("?") ? queryString : `?${queryString}`), + `${pathString}${queryString}`; + } + function getURLQueries(url) { + let queryString = new URL(url).search; + if (!queryString) return {}; + queryString = queryString.trim(), queryString = queryString.startsWith("?") ? queryString.substring(1) : queryString; + let querySubStrings = queryString.split("&"); + querySubStrings = querySubStrings.filter((value => { + const indexOfEqual = value.indexOf("="), lastIndexOfEqual = value.lastIndexOf("="); + return indexOfEqual > 0 && indexOfEqual === lastIndexOfEqual && lastIndexOfEqual < value.length - 1; + })); + const queries = {}; + for (const querySubString of querySubStrings) { + const splitResults = querySubString.split("="), key = splitResults[0], value = splitResults[1]; + queries[key] = value; + } + return queries; + } + function appendToURLQuery(url, queryParts) { + const urlParsed = new URL(url); + let query = urlParsed.search; + return query ? query += "&" + queryParts : query = queryParts, urlParsed.search = query, + urlParsed.toString(); + } + function truncatedISO8061Date(date, withMilliseconds = !0) { + const dateString = date.toISOString(); + return withMilliseconds ? dateString.substring(0, dateString.length - 1) + "0000Z" : dateString.substring(0, dateString.length - 5) + "Z"; + } + function generateBlockID(blockIDPrefix, blockIndex) { + blockIDPrefix.length > 42 && (blockIDPrefix = blockIDPrefix.slice(0, 42)); + const res = blockIDPrefix + function(currentString, targetLength, padString = " ") { + if (String.prototype.padStart) return currentString.padStart(targetLength, padString); + return padString = padString || " ", currentString.length > targetLength ? currentString : ((targetLength -= currentString.length) > padString.length && (padString += padString.repeat(targetLength / padString.length)), + padString.slice(0, targetLength) + currentString); + }(blockIndex.toString(), 48 - blockIDPrefix.length, "0"); + return content = res, checkEnvironment_isNode ? Buffer.from(content).toString("base64") : btoa(content); + var content; + } + async function utils_common_delay(timeInMs, aborter, abortError) { + return new Promise(((resolve, reject) => { + let timeout; + const abortHandler = () => { + void 0 !== timeout && clearTimeout(timeout), reject(abortError); + }; + timeout = setTimeout((() => { + void 0 !== aborter && aborter.removeEventListener("abort", abortHandler), resolve(); + }), timeInMs), void 0 !== aborter && aborter.addEventListener("abort", abortHandler); + })); + } + function iEqual(str1, str2) { + return str1.toLocaleLowerCase() === str2.toLocaleLowerCase(); + } + function getAccountNameFromUrl(url) { + const parsedUrl = new URL(url); + let accountName; + try { + return accountName = "blob" === parsedUrl.hostname.split(".")[1] ? parsedUrl.hostname.split(".")[0] : isIpEndpointStyle(parsedUrl) ? parsedUrl.pathname.split("/")[1] : "", + accountName; + } catch (error) { + throw new Error("Unable to extract accountName with provided information."); + } + } + function isIpEndpointStyle(parsedUrl) { + const host = parsedUrl.host; + return /^.*:.*:.*$|^(localhost|host.docker.internal)(:[0-9]+)?$|^(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])){3}(:[0-9]+)?$/.test(host) || Boolean(parsedUrl.port) && PathStylePorts.includes(parsedUrl.port); + } + function toBlobTagsString(tags) { + if (void 0 === tags) return; + const tagPairs = []; + for (const key in tags) if (Object.prototype.hasOwnProperty.call(tags, key)) { + const value = tags[key]; + tagPairs.push(`${encodeURIComponent(key)}=${encodeURIComponent(value)}`); + } + return tagPairs.join("&"); + } + function toBlobTags(tags) { + if (void 0 === tags) return; + const res = { + blobTagSet: [] + }; + for (const key in tags) if (Object.prototype.hasOwnProperty.call(tags, key)) { + const value = tags[key]; + res.blobTagSet.push({ + key, + value + }); + } + return res; + } + function toTags(tags) { + if (void 0 === tags) return; + const res = {}; + for (const blobTag of tags.blobTagSet) res[blobTag.key] = blobTag.value; + return res; + } + function toQuerySerialization(textConfiguration) { + if (void 0 !== textConfiguration) switch (textConfiguration.kind) { + case "csv": + return { + format: { + type: "delimited", + delimitedTextConfiguration: { + columnSeparator: textConfiguration.columnSeparator || ",", + fieldQuote: textConfiguration.fieldQuote || "", + recordSeparator: textConfiguration.recordSeparator, + escapeChar: textConfiguration.escapeCharacter || "", + headersPresent: textConfiguration.hasHeaders || !1 } - }, - properties: { - serializedName: "Properties", - xmlName: "Properties", - type: { - name: "Composite", - className: "ContainerProperties" + } + }; + + case "json": + return { + format: { + type: "json", + jsonTextConfiguration: { + recordSeparator: textConfiguration.recordSeparator } - }, - metadata: { - serializedName: "Metadata", - xmlName: "Metadata", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } + } + }; + + case "arrow": + return { + format: { + type: "arrow", + arrowConfiguration: { + schema: textConfiguration.schema } } - } - } - }, ContainerProperties = { - serializedName: "ContainerProperties", - type: { - name: "Composite", - className: "ContainerProperties", - modelProperties: { - lastModified: { - serializedName: "Last-Modified", - required: !0, - xmlName: "Last-Modified", - type: { - name: "DateTimeRfc1123" - } - }, - etag: { - serializedName: "Etag", - required: !0, - xmlName: "Etag", - type: { - name: "String" - } - }, - leaseStatus: { - serializedName: "LeaseStatus", - xmlName: "LeaseStatus", - type: { - name: "Enum", - allowedValues: [ "locked", "unlocked" ] - } - }, - leaseState: { - serializedName: "LeaseState", - xmlName: "LeaseState", - type: { - name: "Enum", - allowedValues: [ "available", "leased", "expired", "breaking", "broken" ] - } - }, - leaseDuration: { - serializedName: "LeaseDuration", - xmlName: "LeaseDuration", - type: { - name: "Enum", - allowedValues: [ "infinite", "fixed" ] - } - }, - publicAccess: { - serializedName: "PublicAccess", - xmlName: "PublicAccess", - type: { - name: "Enum", - allowedValues: [ "container", "blob" ] - } - }, - hasImmutabilityPolicy: { - serializedName: "HasImmutabilityPolicy", - xmlName: "HasImmutabilityPolicy", - type: { - name: "Boolean" - } - }, - hasLegalHold: { - serializedName: "HasLegalHold", - xmlName: "HasLegalHold", - type: { - name: "Boolean" - } - }, - defaultEncryptionScope: { - serializedName: "DefaultEncryptionScope", - xmlName: "DefaultEncryptionScope", - type: { - name: "String" - } - }, - preventEncryptionScopeOverride: { - serializedName: "DenyEncryptionScopeOverride", - xmlName: "DenyEncryptionScopeOverride", - type: { - name: "Boolean" - } - }, - deletedOn: { - serializedName: "DeletedTime", - xmlName: "DeletedTime", - type: { - name: "DateTimeRfc1123" - } - }, - remainingRetentionDays: { - serializedName: "RemainingRetentionDays", - xmlName: "RemainingRetentionDays", - type: { - name: "Number" - } - }, - isImmutableStorageWithVersioningEnabled: { - serializedName: "ImmutableStorageWithVersioningEnabled", - xmlName: "ImmutableStorageWithVersioningEnabled", - type: { - name: "Boolean" - } + }; + + case "parquet": + return { + format: { + type: "parquet" } + }; + + default: + throw Error("Invalid BlobQueryTextConfiguration."); + } + } + function parseObjectReplicationRecord(objectReplicationRecord) { + if (!objectReplicationRecord) return; + if ("policy-id" in objectReplicationRecord) return; + const orProperties = []; + for (const key in objectReplicationRecord) { + const ids = key.split("_"), policyPrefix = "or-"; + ids[0].startsWith(policyPrefix) && (ids[0] = ids[0].substring(policyPrefix.length)); + const rule = { + ruleId: ids[1], + replicationStatus: objectReplicationRecord[key] + }, policyIndex = orProperties.findIndex((policy => policy.policyId === ids[0])); + policyIndex > -1 ? orProperties[policyIndex].rules.push(rule) : orProperties.push({ + policyId: ids[0], + rules: [ rule ] + }); + } + return orProperties; + } + function httpAuthorizationToString(httpAuthorization) { + return httpAuthorization ? httpAuthorization.scheme + " " + httpAuthorization.value : void 0; + } + function BlobNameToString(name) { + return name.encoded ? decodeURIComponent(name.content) : name.content; + } + function ConvertInternalResponseOfListBlobHierarchy(internalResponse) { + var _a; + return Object.assign(Object.assign({}, internalResponse), { + segment: { + blobPrefixes: null === (_a = internalResponse.segment.blobPrefixes) || void 0 === _a ? void 0 : _a.map((blobPrefixInternal => Object.assign(Object.assign({}, blobPrefixInternal), { + name: BlobNameToString(blobPrefixInternal.name) + }))), + blobItems: internalResponse.segment.blobItems.map((blobItemInteral => Object.assign(Object.assign({}, blobItemInteral), { + name: BlobNameToString(blobItemInteral.name) + }))) } + }); + } + function* ExtractPageRangeInfoItems(getPageRangesSegment) { + let pageRange = [], clearRange = []; + getPageRangesSegment.pageRange && (pageRange = getPageRangesSegment.pageRange), + getPageRangesSegment.clearRange && (clearRange = getPageRangesSegment.clearRange); + let pageRangeIndex = 0, clearRangeIndex = 0; + for (;pageRangeIndex < pageRange.length && clearRangeIndex < clearRange.length; ) pageRange[pageRangeIndex].start < clearRange[clearRangeIndex].start ? (yield { + start: pageRange[pageRangeIndex].start, + end: pageRange[pageRangeIndex].end, + isClear: !1 + }, ++pageRangeIndex) : (yield { + start: clearRange[clearRangeIndex].start, + end: clearRange[clearRangeIndex].end, + isClear: !0 + }, ++clearRangeIndex); + for (;pageRangeIndex < pageRange.length; ++pageRangeIndex) yield { + start: pageRange[pageRangeIndex].start, + end: pageRange[pageRangeIndex].end, + isClear: !1 + }; + for (;clearRangeIndex < clearRange.length; ++clearRangeIndex) yield { + start: clearRange[clearRangeIndex].start, + end: clearRange[clearRangeIndex].end, + isClear: !0 + }; + } + function EscapePath(blobName) { + const split = blobName.split("/"); + for (let i = 0; i < split.length; i++) split[i] = encodeURIComponent(split[i]); + return split.join("/"); + } + function assertResponse(response) { + if ("_response" in response) return response; + throw new TypeError(`Unexpected response object ${response}`); + } + var StorageRetryPolicyType; + !function(StorageRetryPolicyType) { + StorageRetryPolicyType[StorageRetryPolicyType.EXPONENTIAL = 0] = "EXPONENTIAL", + StorageRetryPolicyType[StorageRetryPolicyType.FIXED = 1] = "FIXED"; + }(StorageRetryPolicyType || (StorageRetryPolicyType = {})); + const DEFAULT_RETRY_OPTIONS = { + maxRetryDelayInMs: 12e4, + maxTries: 4, + retryDelayInMs: 4e3, + retryPolicyType: StorageRetryPolicyType.EXPONENTIAL, + secondaryHost: "", + tryTimeoutInMs: void 0 + }, RETRY_ABORT_ERROR = new AbortController_AbortError("The operation was aborted."); + class StorageRetryPolicy extends BaseRequestPolicy { + constructor(nextPolicy, options, retryOptions = DEFAULT_RETRY_OPTIONS) { + super(nextPolicy, options), this.retryOptions = { + retryPolicyType: retryOptions.retryPolicyType ? retryOptions.retryPolicyType : DEFAULT_RETRY_OPTIONS.retryPolicyType, + maxTries: retryOptions.maxTries && retryOptions.maxTries >= 1 ? Math.floor(retryOptions.maxTries) : DEFAULT_RETRY_OPTIONS.maxTries, + tryTimeoutInMs: retryOptions.tryTimeoutInMs && retryOptions.tryTimeoutInMs >= 0 ? retryOptions.tryTimeoutInMs : DEFAULT_RETRY_OPTIONS.tryTimeoutInMs, + retryDelayInMs: retryOptions.retryDelayInMs && retryOptions.retryDelayInMs >= 0 ? Math.min(retryOptions.retryDelayInMs, retryOptions.maxRetryDelayInMs ? retryOptions.maxRetryDelayInMs : DEFAULT_RETRY_OPTIONS.maxRetryDelayInMs) : DEFAULT_RETRY_OPTIONS.retryDelayInMs, + maxRetryDelayInMs: retryOptions.maxRetryDelayInMs && retryOptions.maxRetryDelayInMs >= 0 ? retryOptions.maxRetryDelayInMs : DEFAULT_RETRY_OPTIONS.maxRetryDelayInMs, + secondaryHost: retryOptions.secondaryHost ? retryOptions.secondaryHost : DEFAULT_RETRY_OPTIONS.secondaryHost + }; } - }, KeyInfo = { - serializedName: "KeyInfo", - type: { - name: "Composite", - className: "KeyInfo", - modelProperties: { - startsOn: { - serializedName: "Start", - required: !0, - xmlName: "Start", - type: { - name: "String" - } - }, - expiresOn: { - serializedName: "Expiry", - required: !0, - xmlName: "Expiry", - type: { - name: "String" - } - } + async sendRequest(request) { + return this.attemptSendRequest(request, !1, 1); + } + async attemptSendRequest(request, secondaryHas404, attempt) { + const newRequest = request.clone(), isPrimaryRetry = secondaryHas404 || !this.retryOptions.secondaryHost || !("GET" === request.method || "HEAD" === request.method || "OPTIONS" === request.method) || attempt % 2 == 1; + let response; + isPrimaryRetry || (newRequest.url = setURLHost(newRequest.url, this.retryOptions.secondaryHost)), + this.retryOptions.tryTimeoutInMs && (newRequest.url = setURLParameter(newRequest.url, constants_URLConstants.Parameters.TIMEOUT, Math.floor(this.retryOptions.tryTimeoutInMs / 1e3).toString())); + try { + if (src_log_logger.info(`RetryPolicy: =====> Try=${attempt} ${isPrimaryRetry ? "Primary" : "Secondary"}`), + response = await this._nextPolicy.sendRequest(newRequest), !this.shouldRetry(isPrimaryRetry, attempt, response)) return response; + secondaryHas404 = secondaryHas404 || !isPrimaryRetry && 404 === response.status; + } catch (err) { + if (src_log_logger.error(`RetryPolicy: Caught error, message: ${err.message}, code: ${err.code}`), + !this.shouldRetry(isPrimaryRetry, attempt, response, err)) throw err; } + return await this.delay(isPrimaryRetry, attempt, request.abortSignal), this.attemptSendRequest(request, secondaryHas404, ++attempt); } - }, UserDelegationKey = { - serializedName: "UserDelegationKey", - type: { - name: "Composite", - className: "UserDelegationKey", - modelProperties: { - signedObjectId: { - serializedName: "SignedOid", - required: !0, - xmlName: "SignedOid", - type: { - name: "String" - } - }, - signedTenantId: { - serializedName: "SignedTid", - required: !0, - xmlName: "SignedTid", - type: { - name: "String" - } - }, - signedStartsOn: { - serializedName: "SignedStart", - required: !0, - xmlName: "SignedStart", - type: { - name: "String" - } - }, - signedExpiresOn: { - serializedName: "SignedExpiry", - required: !0, - xmlName: "SignedExpiry", - type: { - name: "String" + shouldRetry(isPrimaryRetry, attempt, response, err) { + if (attempt >= this.retryOptions.maxTries) return src_log_logger.info(`RetryPolicy: Attempt(s) ${attempt} >= maxTries ${this.retryOptions.maxTries}, no further try.`), + !1; + const retriableErrors = [ "ETIMEDOUT", "ESOCKETTIMEDOUT", "ECONNREFUSED", "ECONNRESET", "ENOENT", "ENOTFOUND", "TIMEOUT", "EPIPE", "REQUEST_SEND_ERROR" ]; + if (err) for (const retriableError of retriableErrors) if (err.name.toUpperCase().includes(retriableError) || err.message.toUpperCase().includes(retriableError) || err.code && err.code.toString().toUpperCase() === retriableError) return src_log_logger.info(`RetryPolicy: Network error ${retriableError} found, will retry.`), + !0; + if (response || err) { + const statusCode = response ? response.status : err ? err.statusCode : 0; + if (!isPrimaryRetry && 404 === statusCode) return src_log_logger.info("RetryPolicy: Secondary access with 404, will retry."), + !0; + if (503 === statusCode || 500 === statusCode) return src_log_logger.info(`RetryPolicy: Will retry for status code ${statusCode}.`), + !0; + } + return !("PARSE_ERROR" !== (null == err ? void 0 : err.code) || !(null == err ? void 0 : err.message.startsWith('Error "Error: Unclosed root tag'))) && (src_log_logger.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."), + !0); + } + async delay(isPrimaryRetry, attempt, abortSignal) { + let delayTimeInMs = 0; + if (isPrimaryRetry) switch (this.retryOptions.retryPolicyType) { + case StorageRetryPolicyType.EXPONENTIAL: + delayTimeInMs = Math.min((Math.pow(2, attempt - 1) - 1) * this.retryOptions.retryDelayInMs, this.retryOptions.maxRetryDelayInMs); + break; + + case StorageRetryPolicyType.FIXED: + delayTimeInMs = this.retryOptions.retryDelayInMs; + } else delayTimeInMs = 1e3 * Math.random(); + return src_log_logger.info(`RetryPolicy: Delay for ${delayTimeInMs}ms`), utils_common_delay(delayTimeInMs, abortSignal, RETRY_ABORT_ERROR); + } + } + class StorageRetryPolicyFactory { + constructor(retryOptions) { + this.retryOptions = retryOptions; + } + create(nextPolicy, options) { + return new StorageRetryPolicy(nextPolicy, options, this.retryOptions); + } + } + class CredentialPolicy extends BaseRequestPolicy { + sendRequest(request) { + return this._nextPolicy.sendRequest(this.signRequest(request)); + } + signRequest(request) { + return request; + } + } + const table_lv0 = new Uint32Array([ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1820, 0, 1823, 1825, 1827, 1829, 0, 0, 0, 1837, 2051, 0, 0, 1843, 0, 3331, 3354, 3356, 3358, 3360, 3362, 3364, 3366, 3368, 3370, 0, 0, 0, 0, 0, 0, 0, 3586, 3593, 3594, 3610, 3617, 3619, 3621, 3628, 3634, 3637, 3638, 3656, 3665, 3696, 3708, 3710, 3721, 3722, 3729, 3737, 3743, 3746, 3748, 3750, 3751, 3753, 0, 0, 0, 1859, 1860, 1864, 3586, 3593, 3594, 3610, 3617, 3619, 3621, 3628, 3634, 3637, 3638, 3656, 3665, 3696, 3708, 3710, 3721, 3722, 3729, 3737, 3743, 3746, 3748, 3750, 3751, 3753, 0, 1868, 0, 1872, 0 ]), table_lv2 = new Uint32Array([ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]), table_lv4 = new Uint32Array([ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32786, 0, 0, 0, 0, 0, 33298, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]); + function compareHeader(lhs, rhs) { + return function(lhs, rhs) { + const tables = [ table_lv0, table_lv2, table_lv4 ]; + let curr_level = 0, i = 0, j = 0; + for (;curr_level < tables.length; ) { + if (curr_level === tables.length - 1 && i !== j) return i > j; + const weight1 = i < lhs.length ? tables[curr_level][lhs[i].charCodeAt(0)] : 1, weight2 = j < rhs.length ? tables[curr_level][rhs[j].charCodeAt(0)] : 1; + if (1 === weight1 && 1 === weight2) i = 0, j = 0, ++curr_level; else if (weight1 === weight2) ++i, + ++j; else if (0 === weight1) ++i; else { + if (0 !== weight2) return weight1 < weight2; + ++j; + } + } + return !1; + }(lhs, rhs) ? -1 : 1; + } + class StorageSharedKeyCredentialPolicy extends CredentialPolicy { + constructor(nextPolicy, options, factory) { + super(nextPolicy, options), this.factory = factory; + } + signRequest(request) { + request.headers.set(constants_HeaderConstants.X_MS_DATE, (new Date).toUTCString()), + request.body && ("string" == typeof request.body || void 0 !== request.body) && request.body.length > 0 && request.headers.set(constants_HeaderConstants.CONTENT_LENGTH, Buffer.byteLength(request.body)); + const stringToSign = [ request.method.toUpperCase(), this.getHeaderValueToSign(request, constants_HeaderConstants.CONTENT_LANGUAGE), this.getHeaderValueToSign(request, constants_HeaderConstants.CONTENT_ENCODING), this.getHeaderValueToSign(request, constants_HeaderConstants.CONTENT_LENGTH), this.getHeaderValueToSign(request, constants_HeaderConstants.CONTENT_MD5), this.getHeaderValueToSign(request, constants_HeaderConstants.CONTENT_TYPE), this.getHeaderValueToSign(request, constants_HeaderConstants.DATE), this.getHeaderValueToSign(request, constants_HeaderConstants.IF_MODIFIED_SINCE), this.getHeaderValueToSign(request, constants_HeaderConstants.IF_MATCH), this.getHeaderValueToSign(request, constants_HeaderConstants.IF_NONE_MATCH), this.getHeaderValueToSign(request, constants_HeaderConstants.IF_UNMODIFIED_SINCE), this.getHeaderValueToSign(request, constants_HeaderConstants.RANGE) ].join("\n") + "\n" + this.getCanonicalizedHeadersString(request) + this.getCanonicalizedResourceString(request), signature = this.factory.computeHMACSHA256(stringToSign); + return request.headers.set(constants_HeaderConstants.AUTHORIZATION, `SharedKey ${this.factory.accountName}:${signature}`), + request; + } + getHeaderValueToSign(request, headerName) { + const value = request.headers.get(headerName); + return value ? headerName === constants_HeaderConstants.CONTENT_LENGTH && "0" === value ? "" : value : ""; + } + getCanonicalizedHeadersString(request) { + let headersArray = request.headers.headersArray().filter((value => value.name.toLowerCase().startsWith(constants_HeaderConstants.PREFIX_FOR_STORAGE))); + headersArray.sort(((a, b) => compareHeader(a.name.toLowerCase(), b.name.toLowerCase()))), + headersArray = headersArray.filter(((value, index, array) => !(index > 0 && value.name.toLowerCase() === array[index - 1].name.toLowerCase()))); + let canonicalizedHeadersStringToSign = ""; + return headersArray.forEach((header => { + canonicalizedHeadersStringToSign += `${header.name.toLowerCase().trimRight()}:${header.value.trimLeft()}\n`; + })), canonicalizedHeadersStringToSign; + } + getCanonicalizedResourceString(request) { + const path = getURLPath(request.url) || "/"; + let canonicalizedResourceString = ""; + canonicalizedResourceString += `/${this.factory.accountName}${path}`; + const queries = getURLQueries(request.url), lowercaseQueries = {}; + if (queries) { + const queryKeys = []; + for (const key in queries) if (Object.prototype.hasOwnProperty.call(queries, key)) { + const lowercaseKey = key.toLowerCase(); + lowercaseQueries[lowercaseKey] = queries[key], queryKeys.push(lowercaseKey); + } + queryKeys.sort(); + for (const key of queryKeys) canonicalizedResourceString += `\n${key}:${decodeURIComponent(lowercaseQueries[key])}`; + } + return canonicalizedResourceString; + } + } + class Credential { + create(_nextPolicy, _options) { + throw new Error("Method should be implemented in children classes."); + } + } + class StorageSharedKeyCredential extends Credential { + constructor(accountName, accountKey) { + super(), this.accountName = accountName, this.accountKey = Buffer.from(accountKey, "base64"); + } + create(nextPolicy, options) { + return new StorageSharedKeyCredentialPolicy(nextPolicy, options, this); + } + computeHMACSHA256(stringToSign) { + return (0, external_crypto_.createHmac)("sha256", this.accountKey).update(stringToSign, "utf8").digest("base64"); + } + } + class AnonymousCredentialPolicy extends CredentialPolicy { + constructor(nextPolicy, options) { + super(nextPolicy, options); + } + } + class AnonymousCredential extends Credential { + create(nextPolicy, options) { + return new AnonymousCredentialPolicy(nextPolicy, options); + } + } + let _defaultHttpClient; + const storageBrowserPolicyName = "storageBrowserPolicy"; + const storageRetryPolicyName = "storageRetryPolicy"; + var StorageRetryPolicyV2_StorageRetryPolicyType; + !function(StorageRetryPolicyType) { + StorageRetryPolicyType[StorageRetryPolicyType.EXPONENTIAL = 0] = "EXPONENTIAL", + StorageRetryPolicyType[StorageRetryPolicyType.FIXED = 1] = "FIXED"; + }(StorageRetryPolicyV2_StorageRetryPolicyType || (StorageRetryPolicyV2_StorageRetryPolicyType = {})); + const StorageRetryPolicyV2_DEFAULT_RETRY_OPTIONS = { + maxRetryDelayInMs: 12e4, + maxTries: 4, + retryDelayInMs: 4e3, + retryPolicyType: StorageRetryPolicyV2_StorageRetryPolicyType.EXPONENTIAL, + secondaryHost: "", + tryTimeoutInMs: void 0 + }, retriableErrors = [ "ETIMEDOUT", "ESOCKETTIMEDOUT", "ECONNREFUSED", "ECONNRESET", "ENOENT", "ENOTFOUND", "TIMEOUT", "EPIPE", "REQUEST_SEND_ERROR" ], StorageRetryPolicyV2_RETRY_ABORT_ERROR = new AbortController_AbortError("The operation was aborted."); + const storageSharedKeyCredentialPolicyName = "storageSharedKeyCredentialPolicy"; + function storageSharedKeyCredentialPolicy(options) { + function signRequest(request) { + request.headers.set(constants_HeaderConstants.X_MS_DATE, (new Date).toUTCString()), + request.body && ("string" == typeof request.body || Buffer.isBuffer(request.body)) && request.body.length > 0 && request.headers.set(constants_HeaderConstants.CONTENT_LENGTH, Buffer.byteLength(request.body)); + const stringToSign = [ request.method.toUpperCase(), getHeaderValueToSign(request, constants_HeaderConstants.CONTENT_LANGUAGE), getHeaderValueToSign(request, constants_HeaderConstants.CONTENT_ENCODING), getHeaderValueToSign(request, constants_HeaderConstants.CONTENT_LENGTH), getHeaderValueToSign(request, constants_HeaderConstants.CONTENT_MD5), getHeaderValueToSign(request, constants_HeaderConstants.CONTENT_TYPE), getHeaderValueToSign(request, constants_HeaderConstants.DATE), getHeaderValueToSign(request, constants_HeaderConstants.IF_MODIFIED_SINCE), getHeaderValueToSign(request, constants_HeaderConstants.IF_MATCH), getHeaderValueToSign(request, constants_HeaderConstants.IF_NONE_MATCH), getHeaderValueToSign(request, constants_HeaderConstants.IF_UNMODIFIED_SINCE), getHeaderValueToSign(request, constants_HeaderConstants.RANGE) ].join("\n") + "\n" + function(request) { + let headersArray = []; + for (const [name, value] of request.headers) name.toLowerCase().startsWith(constants_HeaderConstants.PREFIX_FOR_STORAGE) && headersArray.push({ + name, + value + }); + headersArray.sort(((a, b) => compareHeader(a.name.toLowerCase(), b.name.toLowerCase()))), + headersArray = headersArray.filter(((value, index, array) => !(index > 0 && value.name.toLowerCase() === array[index - 1].name.toLowerCase()))); + let canonicalizedHeadersStringToSign = ""; + return headersArray.forEach((header => { + canonicalizedHeadersStringToSign += `${header.name.toLowerCase().trimRight()}:${header.value.trimLeft()}\n`; + })), canonicalizedHeadersStringToSign; + }(request) + function(request) { + const path = getURLPath(request.url) || "/"; + let canonicalizedResourceString = ""; + canonicalizedResourceString += `/${options.accountName}${path}`; + const queries = getURLQueries(request.url), lowercaseQueries = {}; + if (queries) { + const queryKeys = []; + for (const key in queries) if (Object.prototype.hasOwnProperty.call(queries, key)) { + const lowercaseKey = key.toLowerCase(); + lowercaseQueries[lowercaseKey] = queries[key], queryKeys.push(lowercaseKey); + } + queryKeys.sort(); + for (const key of queryKeys) canonicalizedResourceString += `\n${key}:${decodeURIComponent(lowercaseQueries[key])}`; + } + return canonicalizedResourceString; + }(request), signature = (0, external_crypto_.createHmac)("sha256", options.accountKey).update(stringToSign, "utf8").digest("base64"); + request.headers.set(constants_HeaderConstants.AUTHORIZATION, `SharedKey ${options.accountName}:${signature}`); + } + function getHeaderValueToSign(request, headerName) { + const value = request.headers.get(headerName); + return value ? headerName === constants_HeaderConstants.CONTENT_LENGTH && "0" === value ? "" : value : ""; + } + return { + name: storageSharedKeyCredentialPolicyName, + sendRequest: async (request, next) => (signRequest(request), next(request)) + }; + } + class StorageBrowserPolicy extends BaseRequestPolicy { + constructor(nextPolicy, options) { + super(nextPolicy, options); + } + async sendRequest(request) { + return checkEnvironment_isNode || ("GET" !== request.method.toUpperCase() && "HEAD" !== request.method.toUpperCase() || (request.url = setURLParameter(request.url, constants_URLConstants.Parameters.FORCE_BROWSER_NO_CACHE, (new Date).getTime().toString())), + request.headers.remove(constants_HeaderConstants.COOKIE), request.headers.remove(constants_HeaderConstants.CONTENT_LENGTH)), + this._nextPolicy.sendRequest(request); + } + } + class StorageBrowserPolicyFactory { + create(nextPolicy, options) { + return new StorageBrowserPolicy(nextPolicy, options); + } + } + const storageCorrectContentLengthPolicyName = "StorageCorrectContentLengthPolicy"; + function storageCorrectContentLengthPolicy() { + return { + name: storageCorrectContentLengthPolicyName, + sendRequest: async (request, next) => (function(request) { + request.body && ("string" == typeof request.body || Buffer.isBuffer(request.body)) && request.body.length > 0 && request.headers.set(constants_HeaderConstants.CONTENT_LENGTH, Buffer.byteLength(request.body)); + }(request), next(request)) + }; + } + function isPipelineLike(pipeline) { + if (!pipeline || "object" != typeof pipeline) return !1; + const castPipeline = pipeline; + return Array.isArray(castPipeline.factories) && "object" == typeof castPipeline.options && "function" == typeof castPipeline.toServiceClientOptions; + } + class Pipeline { + constructor(factories, options = {}) { + this.factories = factories, this.options = options; + } + toServiceClientOptions() { + return { + httpClient: this.options.httpClient, + requestPolicyFactories: this.factories + }; + } + } + function newPipeline(credential, pipelineOptions = {}) { + credential || (credential = new AnonymousCredential); + const pipeline = new Pipeline([], pipelineOptions); + return pipeline._credential = credential, pipeline; + } + function getCoreClientOptions(pipeline) { + var _a; + const _b = pipeline.options, {httpClient: v1Client} = _b, restOptions = __rest(_b, [ "httpClient" ]); + let httpClient = pipeline._coreHttpClient; + var requestPolicyClient; + httpClient || (httpClient = v1Client ? (requestPolicyClient = v1Client, { + sendRequest: async request => toPipelineResponse(await requestPolicyClient.sendRequest(toWebResourceLike(request, { + createProxy: !0 + }))) + }) : (_defaultHttpClient || (_defaultHttpClient = createDefaultHttpClient()), _defaultHttpClient), + pipeline._coreHttpClient = httpClient); + let corePipeline = pipeline._corePipeline; + if (!corePipeline) { + const packageDetails = "azsdk-js-azure-storage-blob/12.24.0", userAgentPrefix = restOptions.userAgentOptions && restOptions.userAgentOptions.userAgentPrefix ? `${restOptions.userAgentOptions.userAgentPrefix} ${packageDetails}` : `${packageDetails}`; + corePipeline = createClientPipeline(Object.assign(Object.assign({}, restOptions), { + loggingOptions: { + additionalAllowedHeaderNames: StorageBlobLoggingAllowedHeaderNames, + additionalAllowedQueryParameters: StorageBlobLoggingAllowedQueryParameters, + logger: src_log_logger.info + }, + userAgentOptions: { + userAgentPrefix + }, + serializationOptions: { + stringifyXML, + serializerOptions: { + xml: { + xmlCharKey: "#" + } } }, - signedService: { - serializedName: "SignedService", - required: !0, - xmlName: "SignedService", - type: { - name: "String" + deserializationOptions: { + parseXML, + serializerOptions: { + xml: { + xmlCharKey: "#" + } } - }, - signedVersion: { - serializedName: "SignedVersion", - required: !0, - xmlName: "SignedVersion", - type: { - name: "String" + } + })), corePipeline.removePolicy({ + phase: "Retry" + }), corePipeline.removePolicy({ + name: decompressResponsePolicyName + }), corePipeline.addPolicy(storageCorrectContentLengthPolicy()), corePipeline.addPolicy(function(options = {}) { + var _a, _b, _c, _d, _e, _f; + const retryPolicyType = null !== (_a = options.retryPolicyType) && void 0 !== _a ? _a : StorageRetryPolicyV2_DEFAULT_RETRY_OPTIONS.retryPolicyType, maxTries = null !== (_b = options.maxTries) && void 0 !== _b ? _b : StorageRetryPolicyV2_DEFAULT_RETRY_OPTIONS.maxTries, retryDelayInMs = null !== (_c = options.retryDelayInMs) && void 0 !== _c ? _c : StorageRetryPolicyV2_DEFAULT_RETRY_OPTIONS.retryDelayInMs, maxRetryDelayInMs = null !== (_d = options.maxRetryDelayInMs) && void 0 !== _d ? _d : StorageRetryPolicyV2_DEFAULT_RETRY_OPTIONS.maxRetryDelayInMs, secondaryHost = null !== (_e = options.secondaryHost) && void 0 !== _e ? _e : StorageRetryPolicyV2_DEFAULT_RETRY_OPTIONS.secondaryHost, tryTimeoutInMs = null !== (_f = options.tryTimeoutInMs) && void 0 !== _f ? _f : StorageRetryPolicyV2_DEFAULT_RETRY_OPTIONS.tryTimeoutInMs; + function shouldRetry({isPrimaryRetry, attempt, response, error}) { + var _a, _b; + if (attempt >= maxTries) return src_log_logger.info(`RetryPolicy: Attempt(s) ${attempt} >= maxTries ${maxTries}, no further try.`), + !1; + if (error) { + for (const retriableError of retriableErrors) if (error.name.toUpperCase().includes(retriableError) || error.message.toUpperCase().includes(retriableError) || error.code && error.code.toString().toUpperCase() === retriableError) return src_log_logger.info(`RetryPolicy: Network error ${retriableError} found, will retry.`), + !0; + if ("PARSE_ERROR" === (null == error ? void 0 : error.code) && (null == error ? void 0 : error.message.startsWith('Error "Error: Unclosed root tag'))) return src_log_logger.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."), + !0; + } + if (response || error) { + const statusCode = null !== (_b = null !== (_a = null == response ? void 0 : response.status) && void 0 !== _a ? _a : null == error ? void 0 : error.statusCode) && void 0 !== _b ? _b : 0; + if (!isPrimaryRetry && 404 === statusCode) return src_log_logger.info("RetryPolicy: Secondary access with 404, will retry."), + !0; + if (503 === statusCode || 500 === statusCode) return src_log_logger.info(`RetryPolicy: Will retry for status code ${statusCode}.`), + !0; } - }, - value: { - serializedName: "Value", - required: !0, - xmlName: "Value", - type: { - name: "String" + return !1; + } + function calculateDelay(isPrimaryRetry, attempt) { + let delayTimeInMs = 0; + if (isPrimaryRetry) switch (retryPolicyType) { + case StorageRetryPolicyV2_StorageRetryPolicyType.EXPONENTIAL: + delayTimeInMs = Math.min((Math.pow(2, attempt - 1) - 1) * retryDelayInMs, maxRetryDelayInMs); + break; + + case StorageRetryPolicyV2_StorageRetryPolicyType.FIXED: + delayTimeInMs = retryDelayInMs; + } else delayTimeInMs = 1e3 * Math.random(); + return src_log_logger.info(`RetryPolicy: Delay for ${delayTimeInMs}ms`), delayTimeInMs; + } + return { + name: storageRetryPolicyName, + async sendRequest(request, next) { + tryTimeoutInMs && (request.url = setURLParameter(request.url, constants_URLConstants.Parameters.TIMEOUT, String(Math.floor(tryTimeoutInMs / 1e3)))); + const primaryUrl = request.url, secondaryUrl = secondaryHost ? setURLHost(request.url, secondaryHost) : void 0; + let response, error, secondaryHas404 = !1, attempt = 1, retryAgain = !0; + for (;retryAgain; ) { + const isPrimaryRetry = secondaryHas404 || !secondaryUrl || ![ "GET", "HEAD", "OPTIONS" ].includes(request.method) || attempt % 2 == 1; + request.url = isPrimaryRetry ? primaryUrl : secondaryUrl, response = void 0, error = void 0; + try { + src_log_logger.info(`RetryPolicy: =====> Try=${attempt} ${isPrimaryRetry ? "Primary" : "Secondary"}`), + response = await next(request), secondaryHas404 = secondaryHas404 || !isPrimaryRetry && 404 === response.status; + } catch (e) { + if (!isRestError(e)) throw src_log_logger.error(`RetryPolicy: Caught error, message: ${getErrorMessage(e)}`), + e; + src_log_logger.error(`RetryPolicy: Caught error, message: ${e.message}, code: ${e.code}`), + error = e; + } + retryAgain = shouldRetry({ + isPrimaryRetry, + attempt, + response, + error + }), retryAgain && await utils_common_delay(calculateDelay(isPrimaryRetry, attempt), request.abortSignal, StorageRetryPolicyV2_RETRY_ABORT_ERROR), + attempt++; + } + if (response) return response; + throw null != error ? error : new RestError("RetryPolicy failed without known error."); + } + }; + }(restOptions.retryOptions), { + phase: "Retry" + }), corePipeline.addPolicy({ + name: storageBrowserPolicyName, + sendRequest: async (request, next) => (checkEnvironment_isNode || ("GET" !== request.method && "HEAD" !== request.method || (request.url = setURLParameter(request.url, constants_URLConstants.Parameters.FORCE_BROWSER_NO_CACHE, (new Date).getTime().toString())), + request.headers.delete(constants_HeaderConstants.COOKIE), request.headers.delete(constants_HeaderConstants.CONTENT_LENGTH)), + next(request)) + }); + const downlevelResults = function(pipeline) { + const knownFactoryFunctions = [ isAnonymousCredential, isStorageSharedKeyCredential, isCoreHttpBearerTokenFactory, isStorageBrowserPolicyFactory, isStorageRetryPolicyFactory, isStorageTelemetryPolicyFactory, isCoreHttpPolicyFactory ]; + if (pipeline.factories.length) { + const novelFactories = pipeline.factories.filter((factory => !knownFactoryFunctions.some((knownFactory => knownFactory(factory))))); + if (novelFactories.length) { + const hasInjector = novelFactories.some((factory => function(factory) { + return "InjectorPolicyFactory" === factory.constructor.name; + }(factory))); + return { + wrappedPolicies: createRequestPolicyFactoryPolicy(novelFactories), + afterRetry: hasInjector + }; } } - } - } - }, FilterBlobSegment = { - serializedName: "FilterBlobSegment", - xmlName: "EnumerationResults", + }(pipeline); + downlevelResults && corePipeline.addPolicy(downlevelResults.wrappedPolicies, downlevelResults.afterRetry ? { + afterPhase: "Retry" + } : void 0); + const credential = getCredentialFromPipeline(pipeline); + isTokenCredential(credential) ? corePipeline.addPolicy(bearerTokenAuthenticationPolicy({ + credential, + scopes: null !== (_a = restOptions.audience) && void 0 !== _a ? _a : StorageOAuthScopes, + challengeCallbacks: { + authorizeRequestOnChallenge: authorizeRequestOnTenantChallenge + } + }), { + phase: "Sign" + }) : credential instanceof StorageSharedKeyCredential && corePipeline.addPolicy(storageSharedKeyCredentialPolicy({ + accountName: credential.accountName, + accountKey: credential.accountKey + }), { + phase: "Sign" + }), pipeline._corePipeline = corePipeline; + } + return Object.assign(Object.assign({}, restOptions), { + allowInsecureConnection: !0, + httpClient, + pipeline: corePipeline + }); + } + function getCredentialFromPipeline(pipeline) { + if (pipeline._credential) return pipeline._credential; + let credential = new AnonymousCredential; + for (const factory of pipeline.factories) if (isTokenCredential(factory.credential)) credential = factory.credential; else if (isStorageSharedKeyCredential(factory)) return factory; + return credential; + } + function isStorageSharedKeyCredential(factory) { + return factory instanceof StorageSharedKeyCredential || "StorageSharedKeyCredential" === factory.constructor.name; + } + function isAnonymousCredential(factory) { + return factory instanceof AnonymousCredential || "AnonymousCredential" === factory.constructor.name; + } + function isCoreHttpBearerTokenFactory(factory) { + return isTokenCredential(factory.credential); + } + function isStorageBrowserPolicyFactory(factory) { + return factory instanceof StorageBrowserPolicyFactory || "StorageBrowserPolicyFactory" === factory.constructor.name; + } + function isStorageRetryPolicyFactory(factory) { + return factory instanceof StorageRetryPolicyFactory || "StorageRetryPolicyFactory" === factory.constructor.name; + } + function isStorageTelemetryPolicyFactory(factory) { + return "TelemetryPolicyFactory" === factory.constructor.name; + } + function isCoreHttpPolicyFactory(factory) { + const mockRequestPolicyOptions = { + log(_logLevel, _message) {}, + shouldLog: _logLevel => !1 + }, policyName = factory.create({ + sendRequest: async request => ({ + request, + headers: request.headers.clone(), + status: 500 + }) + }, mockRequestPolicyOptions).constructor.name; + return [ "GenerateClientRequestIdPolicy", "TracingPolicy", "LogPolicy", "ProxyPolicy", "DisableResponseDecompressionPolicy", "KeepAlivePolicy", "DeserializationPolicy" ].some((knownPolicyName => policyName.startsWith(knownPolicyName))); + } + const BlobServiceProperties = { + serializedName: "BlobServiceProperties", + xmlName: "StorageServiceProperties", type: { name: "Composite", - className: "FilterBlobSegment", + className: "BlobServiceProperties", modelProperties: { - serviceEndpoint: { - serializedName: "ServiceEndpoint", - required: !0, - xmlName: "ServiceEndpoint", - xmlIsAttribute: !0, + blobAnalyticsLogging: { + serializedName: "Logging", + xmlName: "Logging", type: { - name: "String" + name: "Composite", + className: "Logging" } }, - where: { - serializedName: "Where", - required: !0, - xmlName: "Where", + hourMetrics: { + serializedName: "HourMetrics", + xmlName: "HourMetrics", type: { - name: "String" + name: "Composite", + className: "Metrics" } }, - blobs: { - serializedName: "Blobs", - required: !0, - xmlName: "Blobs", + minuteMetrics: { + serializedName: "MinuteMetrics", + xmlName: "MinuteMetrics", + type: { + name: "Composite", + className: "Metrics" + } + }, + cors: { + serializedName: "Cors", + xmlName: "Cors", xmlIsWrapped: !0, - xmlElementName: "Blob", + xmlElementName: "CorsRule", type: { name: "Sequence", element: { type: { name: "Composite", - className: "FilterBlobItem" + className: "CorsRule" } } } }, - continuationToken: { - serializedName: "NextMarker", - xmlName: "NextMarker", + defaultServiceVersion: { + serializedName: "DefaultServiceVersion", + xmlName: "DefaultServiceVersion", type: { name: "String" } + }, + deleteRetentionPolicy: { + serializedName: "DeleteRetentionPolicy", + xmlName: "DeleteRetentionPolicy", + type: { + name: "Composite", + className: "RetentionPolicy" + } + }, + staticWebsite: { + serializedName: "StaticWebsite", + xmlName: "StaticWebsite", + type: { + name: "Composite", + className: "StaticWebsite" + } } } } - }, FilterBlobItem = { - serializedName: "FilterBlobItem", - xmlName: "Blob", + }, Logging = { + serializedName: "Logging", type: { name: "Composite", - className: "FilterBlobItem", + className: "Logging", modelProperties: { - name: { - serializedName: "Name", + version: { + serializedName: "Version", required: !0, - xmlName: "Name", + xmlName: "Version", type: { name: "String" } }, - containerName: { - serializedName: "ContainerName", + deleteProperty: { + serializedName: "Delete", required: !0, - xmlName: "ContainerName", + xmlName: "Delete", type: { - name: "String" + name: "Boolean" } }, - tags: { - serializedName: "Tags", - xmlName: "Tags", - type: { - name: "Composite", - className: "BlobTags" - } - } - } - } - }, BlobTags = { - serializedName: "BlobTags", - xmlName: "Tags", - type: { - name: "Composite", - className: "BlobTags", - modelProperties: { - blobTagSet: { - serializedName: "BlobTagSet", + read: { + serializedName: "Read", required: !0, - xmlName: "TagSet", - xmlIsWrapped: !0, - xmlElementName: "Tag", + xmlName: "Read", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "BlobTag" - } - } + name: "Boolean" } - } - } - } - }, BlobTag = { - serializedName: "BlobTag", - xmlName: "Tag", - type: { - name: "Composite", - className: "BlobTag", - modelProperties: { - key: { - serializedName: "Key", + }, + write: { + serializedName: "Write", required: !0, - xmlName: "Key", + xmlName: "Write", type: { - name: "String" + name: "Boolean" } }, - value: { - serializedName: "Value", - required: !0, - xmlName: "Value", + retentionPolicy: { + serializedName: "RetentionPolicy", + xmlName: "RetentionPolicy", type: { - name: "String" + name: "Composite", + className: "RetentionPolicy" } } } } - }, SignedIdentifier = { - serializedName: "SignedIdentifier", - xmlName: "SignedIdentifier", + }, RetentionPolicy = { + serializedName: "RetentionPolicy", type: { name: "Composite", - className: "SignedIdentifier", + className: "RetentionPolicy", modelProperties: { - id: { - serializedName: "Id", + enabled: { + serializedName: "Enabled", required: !0, - xmlName: "Id", + xmlName: "Enabled", type: { - name: "String" + name: "Boolean" } }, - accessPolicy: { - serializedName: "AccessPolicy", - xmlName: "AccessPolicy", + days: { + constraints: { + InclusiveMinimum: 1 + }, + serializedName: "Days", + xmlName: "Days", type: { - name: "Composite", - className: "AccessPolicy" + name: "Number" } } } } - }, AccessPolicy = { - serializedName: "AccessPolicy", + }, Metrics = { + serializedName: "Metrics", type: { name: "Composite", - className: "AccessPolicy", + className: "Metrics", modelProperties: { - startsOn: { - serializedName: "Start", - xmlName: "Start", + version: { + serializedName: "Version", + xmlName: "Version", type: { name: "String" } }, - expiresOn: { - serializedName: "Expiry", - xmlName: "Expiry", + enabled: { + serializedName: "Enabled", + required: !0, + xmlName: "Enabled", type: { - name: "String" + name: "Boolean" } }, - permissions: { - serializedName: "Permission", - xmlName: "Permission", + includeAPIs: { + serializedName: "IncludeAPIs", + xmlName: "IncludeAPIs", type: { - name: "String" + name: "Boolean" + } + }, + retentionPolicy: { + serializedName: "RetentionPolicy", + xmlName: "RetentionPolicy", + type: { + name: "Composite", + className: "RetentionPolicy" } } } } - }, ListBlobsFlatSegmentResponse = { - serializedName: "ListBlobsFlatSegmentResponse", - xmlName: "EnumerationResults", + }, CorsRule = { + serializedName: "CorsRule", type: { name: "Composite", - className: "ListBlobsFlatSegmentResponse", + className: "CorsRule", modelProperties: { - serviceEndpoint: { - serializedName: "ServiceEndpoint", + allowedOrigins: { + serializedName: "AllowedOrigins", required: !0, - xmlName: "ServiceEndpoint", - xmlIsAttribute: !0, + xmlName: "AllowedOrigins", type: { name: "String" } }, - containerName: { - serializedName: "ContainerName", + allowedMethods: { + serializedName: "AllowedMethods", required: !0, - xmlName: "ContainerName", - xmlIsAttribute: !0, + xmlName: "AllowedMethods", type: { name: "String" } }, - prefix: { - serializedName: "Prefix", - xmlName: "Prefix", + allowedHeaders: { + serializedName: "AllowedHeaders", + required: !0, + xmlName: "AllowedHeaders", type: { name: "String" } }, - marker: { - serializedName: "Marker", - xmlName: "Marker", + exposedHeaders: { + serializedName: "ExposedHeaders", + required: !0, + xmlName: "ExposedHeaders", type: { name: "String" } }, - maxPageSize: { - serializedName: "MaxResults", - xmlName: "MaxResults", + maxAgeInSeconds: { + constraints: { + InclusiveMinimum: 0 + }, + serializedName: "MaxAgeInSeconds", + required: !0, + xmlName: "MaxAgeInSeconds", type: { name: "Number" } + } + } + } + }, StaticWebsite = { + serializedName: "StaticWebsite", + type: { + name: "Composite", + className: "StaticWebsite", + modelProperties: { + enabled: { + serializedName: "Enabled", + required: !0, + xmlName: "Enabled", + type: { + name: "Boolean" + } }, - segment: { - serializedName: "Segment", - xmlName: "Blobs", + indexDocument: { + serializedName: "IndexDocument", + xmlName: "IndexDocument", type: { - name: "Composite", - className: "BlobFlatListSegment" + name: "String" } }, - continuationToken: { - serializedName: "NextMarker", - xmlName: "NextMarker", + errorDocument404Path: { + serializedName: "ErrorDocument404Path", + xmlName: "ErrorDocument404Path", + type: { + name: "String" + } + }, + defaultIndexDocumentPath: { + serializedName: "DefaultIndexDocumentPath", + xmlName: "DefaultIndexDocumentPath", type: { name: "String" } } } } - }, BlobFlatListSegment = { - serializedName: "BlobFlatListSegment", - xmlName: "Blobs", + }, StorageError = { + serializedName: "StorageError", type: { name: "Composite", - className: "BlobFlatListSegment", + className: "StorageError", modelProperties: { - blobItems: { - serializedName: "BlobItems", - required: !0, - xmlName: "BlobItems", - xmlElementName: "Blob", + message: { + serializedName: "Message", + xmlName: "Message", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "BlobItemInternal" - } - } + name: "String" + } + }, + code: { + serializedName: "Code", + xmlName: "Code", + type: { + name: "String" + } + }, + authenticationErrorDetail: { + serializedName: "AuthenticationErrorDetail", + xmlName: "AuthenticationErrorDetail", + type: { + name: "String" } } } } - }, BlobItemInternal = { - serializedName: "BlobItemInternal", - xmlName: "Blob", + }, BlobServiceStatistics = { + serializedName: "BlobServiceStatistics", + xmlName: "StorageServiceStats", type: { name: "Composite", - className: "BlobItemInternal", + className: "BlobServiceStatistics", modelProperties: { - name: { - serializedName: "Name", - xmlName: "Name", + geoReplication: { + serializedName: "GeoReplication", + xmlName: "GeoReplication", type: { name: "Composite", - className: "BlobName" + className: "GeoReplication" } - }, - deleted: { - serializedName: "Deleted", + } + } + } + }, GeoReplication = { + serializedName: "GeoReplication", + type: { + name: "Composite", + className: "GeoReplication", + modelProperties: { + status: { + serializedName: "Status", required: !0, - xmlName: "Deleted", + xmlName: "Status", type: { - name: "Boolean" + name: "Enum", + allowedValues: [ "live", "bootstrap", "unavailable" ] } }, - snapshot: { - serializedName: "Snapshot", + lastSyncOn: { + serializedName: "LastSyncTime", required: !0, - xmlName: "Snapshot", + xmlName: "LastSyncTime", type: { - name: "String" + name: "DateTimeRfc1123" } - }, - versionId: { - serializedName: "VersionId", - xmlName: "VersionId", + } + } + } + }, ListContainersSegmentResponse = { + serializedName: "ListContainersSegmentResponse", + xmlName: "EnumerationResults", + type: { + name: "Composite", + className: "ListContainersSegmentResponse", + modelProperties: { + serviceEndpoint: { + serializedName: "ServiceEndpoint", + required: !0, + xmlName: "ServiceEndpoint", + xmlIsAttribute: !0, type: { name: "String" } }, - isCurrentVersion: { - serializedName: "IsCurrentVersion", - xmlName: "IsCurrentVersion", - type: { - name: "Boolean" - } - }, - properties: { - serializedName: "Properties", - xmlName: "Properties", + prefix: { + serializedName: "Prefix", + xmlName: "Prefix", type: { - name: "Composite", - className: "BlobPropertiesInternal" + name: "String" } }, - metadata: { - serializedName: "Metadata", - xmlName: "Metadata", + marker: { + serializedName: "Marker", + xmlName: "Marker", type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } + name: "String" } }, - blobTags: { - serializedName: "BlobTags", - xmlName: "Tags", + maxPageSize: { + serializedName: "MaxResults", + xmlName: "MaxResults", type: { - name: "Composite", - className: "BlobTags" + name: "Number" } }, - objectReplicationMetadata: { - serializedName: "ObjectReplicationMetadata", - xmlName: "OrMetadata", + containerItems: { + serializedName: "ContainerItems", + required: !0, + xmlName: "Containers", + xmlIsWrapped: !0, + xmlElementName: "Container", type: { - name: "Dictionary", - value: { + name: "Sequence", + element: { type: { - name: "String" + name: "Composite", + className: "ContainerItem" } } } }, - hasVersionsOnly: { - serializedName: "HasVersionsOnly", - xmlName: "HasVersionsOnly", + continuationToken: { + serializedName: "NextMarker", + xmlName: "NextMarker", type: { - name: "Boolean" + name: "String" } } } } - }, BlobName = { - serializedName: "BlobName", + }, ContainerItem = { + serializedName: "ContainerItem", + xmlName: "Container", type: { name: "Composite", - className: "BlobName", + className: "ContainerItem", modelProperties: { - encoded: { - serializedName: "Encoded", - xmlName: "Encoded", - xmlIsAttribute: !0, + name: { + serializedName: "Name", + required: !0, + xmlName: "Name", + type: { + name: "String" + } + }, + deleted: { + serializedName: "Deleted", + xmlName: "Deleted", type: { name: "Boolean" } }, - content: { - serializedName: "content", - xmlName: "content", + version: { + serializedName: "Version", + xmlName: "Version", type: { name: "String" } + }, + properties: { + serializedName: "Properties", + xmlName: "Properties", + type: { + name: "Composite", + className: "ContainerProperties" + } + }, + metadata: { + serializedName: "Metadata", + xmlName: "Metadata", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } } } } - }, BlobPropertiesInternal = { - serializedName: "BlobPropertiesInternal", - xmlName: "Properties", + }, ContainerProperties = { + serializedName: "ContainerProperties", type: { name: "Composite", - className: "BlobPropertiesInternal", + className: "ContainerProperties", modelProperties: { - createdOn: { - serializedName: "Creation-Time", - xmlName: "Creation-Time", - type: { - name: "DateTimeRfc1123" - } - }, lastModified: { serializedName: "Last-Modified", required: !0, @@ -8071,282 +8863,369 @@ name: "String" } }, - contentLength: { - serializedName: "Content-Length", - xmlName: "Content-Length", + leaseStatus: { + serializedName: "LeaseStatus", + xmlName: "LeaseStatus", type: { - name: "Number" + name: "Enum", + allowedValues: [ "locked", "unlocked" ] } }, - contentType: { - serializedName: "Content-Type", - xmlName: "Content-Type", + leaseState: { + serializedName: "LeaseState", + xmlName: "LeaseState", type: { - name: "String" + name: "Enum", + allowedValues: [ "available", "leased", "expired", "breaking", "broken" ] } }, - contentEncoding: { - serializedName: "Content-Encoding", - xmlName: "Content-Encoding", + leaseDuration: { + serializedName: "LeaseDuration", + xmlName: "LeaseDuration", type: { - name: "String" + name: "Enum", + allowedValues: [ "infinite", "fixed" ] } }, - contentLanguage: { - serializedName: "Content-Language", - xmlName: "Content-Language", + publicAccess: { + serializedName: "PublicAccess", + xmlName: "PublicAccess", type: { - name: "String" + name: "Enum", + allowedValues: [ "container", "blob" ] } }, - contentMD5: { - serializedName: "Content-MD5", - xmlName: "Content-MD5", + hasImmutabilityPolicy: { + serializedName: "HasImmutabilityPolicy", + xmlName: "HasImmutabilityPolicy", type: { - name: "ByteArray" + name: "Boolean" } }, - contentDisposition: { - serializedName: "Content-Disposition", - xmlName: "Content-Disposition", + hasLegalHold: { + serializedName: "HasLegalHold", + xmlName: "HasLegalHold", type: { - name: "String" + name: "Boolean" } }, - cacheControl: { - serializedName: "Cache-Control", - xmlName: "Cache-Control", + defaultEncryptionScope: { + serializedName: "DefaultEncryptionScope", + xmlName: "DefaultEncryptionScope", type: { name: "String" } }, - blobSequenceNumber: { - serializedName: "x-ms-blob-sequence-number", - xmlName: "x-ms-blob-sequence-number", - type: { - name: "Number" - } - }, - blobType: { - serializedName: "BlobType", - xmlName: "BlobType", + preventEncryptionScopeOverride: { + serializedName: "DenyEncryptionScopeOverride", + xmlName: "DenyEncryptionScopeOverride", type: { - name: "Enum", - allowedValues: [ "BlockBlob", "PageBlob", "AppendBlob" ] + name: "Boolean" } }, - leaseStatus: { - serializedName: "LeaseStatus", - xmlName: "LeaseStatus", + deletedOn: { + serializedName: "DeletedTime", + xmlName: "DeletedTime", type: { - name: "Enum", - allowedValues: [ "locked", "unlocked" ] + name: "DateTimeRfc1123" } }, - leaseState: { - serializedName: "LeaseState", - xmlName: "LeaseState", + remainingRetentionDays: { + serializedName: "RemainingRetentionDays", + xmlName: "RemainingRetentionDays", type: { - name: "Enum", - allowedValues: [ "available", "leased", "expired", "breaking", "broken" ] + name: "Number" } }, - leaseDuration: { - serializedName: "LeaseDuration", - xmlName: "LeaseDuration", + isImmutableStorageWithVersioningEnabled: { + serializedName: "ImmutableStorageWithVersioningEnabled", + xmlName: "ImmutableStorageWithVersioningEnabled", type: { - name: "Enum", - allowedValues: [ "infinite", "fixed" ] + name: "Boolean" } - }, - copyId: { - serializedName: "CopyId", - xmlName: "CopyId", + } + } + } + }, KeyInfo = { + serializedName: "KeyInfo", + type: { + name: "Composite", + className: "KeyInfo", + modelProperties: { + startsOn: { + serializedName: "Start", + required: !0, + xmlName: "Start", type: { name: "String" } }, - copyStatus: { - serializedName: "CopyStatus", - xmlName: "CopyStatus", - type: { - name: "Enum", - allowedValues: [ "pending", "success", "aborted", "failed" ] - } - }, - copySource: { - serializedName: "CopySource", - xmlName: "CopySource", + expiresOn: { + serializedName: "Expiry", + required: !0, + xmlName: "Expiry", type: { name: "String" } - }, - copyProgress: { - serializedName: "CopyProgress", - xmlName: "CopyProgress", + } + } + } + }, UserDelegationKey = { + serializedName: "UserDelegationKey", + type: { + name: "Composite", + className: "UserDelegationKey", + modelProperties: { + signedObjectId: { + serializedName: "SignedOid", + required: !0, + xmlName: "SignedOid", type: { name: "String" } }, - copyCompletedOn: { - serializedName: "CopyCompletionTime", - xmlName: "CopyCompletionTime", - type: { - name: "DateTimeRfc1123" - } - }, - copyStatusDescription: { - serializedName: "CopyStatusDescription", - xmlName: "CopyStatusDescription", + signedTenantId: { + serializedName: "SignedTid", + required: !0, + xmlName: "SignedTid", type: { name: "String" } }, - serverEncrypted: { - serializedName: "ServerEncrypted", - xmlName: "ServerEncrypted", + signedStartsOn: { + serializedName: "SignedStart", + required: !0, + xmlName: "SignedStart", type: { - name: "Boolean" + name: "String" } }, - incrementalCopy: { - serializedName: "IncrementalCopy", - xmlName: "IncrementalCopy", + signedExpiresOn: { + serializedName: "SignedExpiry", + required: !0, + xmlName: "SignedExpiry", type: { - name: "Boolean" + name: "String" } }, - destinationSnapshot: { - serializedName: "DestinationSnapshot", - xmlName: "DestinationSnapshot", + signedService: { + serializedName: "SignedService", + required: !0, + xmlName: "SignedService", type: { name: "String" } }, - deletedOn: { - serializedName: "DeletedTime", - xmlName: "DeletedTime", + signedVersion: { + serializedName: "SignedVersion", + required: !0, + xmlName: "SignedVersion", type: { - name: "DateTimeRfc1123" + name: "String" } }, - remainingRetentionDays: { - serializedName: "RemainingRetentionDays", - xmlName: "RemainingRetentionDays", + value: { + serializedName: "Value", + required: !0, + xmlName: "Value", type: { - name: "Number" + name: "String" } - }, - accessTier: { - serializedName: "AccessTier", - xmlName: "AccessTier", + } + } + } + }, FilterBlobSegment = { + serializedName: "FilterBlobSegment", + xmlName: "EnumerationResults", + type: { + name: "Composite", + className: "FilterBlobSegment", + modelProperties: { + serviceEndpoint: { + serializedName: "ServiceEndpoint", + required: !0, + xmlName: "ServiceEndpoint", + xmlIsAttribute: !0, type: { - name: "Enum", - allowedValues: [ "P4", "P6", "P10", "P15", "P20", "P30", "P40", "P50", "P60", "P70", "P80", "Hot", "Cool", "Archive" ] + name: "String" } }, - accessTierInferred: { - serializedName: "AccessTierInferred", - xmlName: "AccessTierInferred", + where: { + serializedName: "Where", + required: !0, + xmlName: "Where", type: { - name: "Boolean" + name: "String" } }, - archiveStatus: { - serializedName: "ArchiveStatus", - xmlName: "ArchiveStatus", + blobs: { + serializedName: "Blobs", + required: !0, + xmlName: "Blobs", + xmlIsWrapped: !0, + xmlElementName: "Blob", type: { - name: "Enum", - allowedValues: [ "rehydrate-pending-to-hot", "rehydrate-pending-to-cool" ] + name: "Sequence", + element: { + type: { + name: "Composite", + className: "FilterBlobItem" + } + } } }, - customerProvidedKeySha256: { - serializedName: "CustomerProvidedKeySha256", - xmlName: "CustomerProvidedKeySha256", + continuationToken: { + serializedName: "NextMarker", + xmlName: "NextMarker", type: { name: "String" } - }, - encryptionScope: { - serializedName: "EncryptionScope", - xmlName: "EncryptionScope", + } + } + } + }, FilterBlobItem = { + serializedName: "FilterBlobItem", + xmlName: "Blob", + type: { + name: "Composite", + className: "FilterBlobItem", + modelProperties: { + name: { + serializedName: "Name", + required: !0, + xmlName: "Name", type: { name: "String" } }, - accessTierChangedOn: { - serializedName: "AccessTierChangeTime", - xmlName: "AccessTierChangeTime", + containerName: { + serializedName: "ContainerName", + required: !0, + xmlName: "ContainerName", type: { - name: "DateTimeRfc1123" + name: "String" } }, - tagCount: { - serializedName: "TagCount", - xmlName: "TagCount", + tags: { + serializedName: "Tags", + xmlName: "Tags", type: { - name: "Number" + name: "Composite", + className: "BlobTags" } - }, - expiresOn: { - serializedName: "Expiry-Time", - xmlName: "Expiry-Time", + } + } + } + }, BlobTags = { + serializedName: "BlobTags", + xmlName: "Tags", + type: { + name: "Composite", + className: "BlobTags", + modelProperties: { + blobTagSet: { + serializedName: "BlobTagSet", + required: !0, + xmlName: "TagSet", + xmlIsWrapped: !0, + xmlElementName: "Tag", type: { - name: "DateTimeRfc1123" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "BlobTag" + } + } } - }, - isSealed: { - serializedName: "Sealed", - xmlName: "Sealed", + } + } + } + }, BlobTag = { + serializedName: "BlobTag", + xmlName: "Tag", + type: { + name: "Composite", + className: "BlobTag", + modelProperties: { + key: { + serializedName: "Key", + required: !0, + xmlName: "Key", type: { - name: "Boolean" + name: "String" } }, - rehydratePriority: { - serializedName: "RehydratePriority", - xmlName: "RehydratePriority", + value: { + serializedName: "Value", + required: !0, + xmlName: "Value", type: { - name: "Enum", - allowedValues: [ "High", "Standard" ] + name: "String" } - }, - lastAccessedOn: { - serializedName: "LastAccessTime", - xmlName: "LastAccessTime", + } + } + } + }, SignedIdentifier = { + serializedName: "SignedIdentifier", + xmlName: "SignedIdentifier", + type: { + name: "Composite", + className: "SignedIdentifier", + modelProperties: { + id: { + serializedName: "Id", + required: !0, + xmlName: "Id", type: { - name: "DateTimeRfc1123" + name: "String" } }, - immutabilityPolicyExpiresOn: { - serializedName: "ImmutabilityPolicyUntilDate", - xmlName: "ImmutabilityPolicyUntilDate", + accessPolicy: { + serializedName: "AccessPolicy", + xmlName: "AccessPolicy", type: { - name: "DateTimeRfc1123" + name: "Composite", + className: "AccessPolicy" + } + } + } + } + }, AccessPolicy = { + serializedName: "AccessPolicy", + type: { + name: "Composite", + className: "AccessPolicy", + modelProperties: { + startsOn: { + serializedName: "Start", + xmlName: "Start", + type: { + name: "String" } }, - immutabilityPolicyMode: { - serializedName: "ImmutabilityPolicyMode", - xmlName: "ImmutabilityPolicyMode", + expiresOn: { + serializedName: "Expiry", + xmlName: "Expiry", type: { - name: "Enum", - allowedValues: [ "Mutable", "Unlocked", "Locked" ] + name: "String" } }, - legalHold: { - serializedName: "LegalHold", - xmlName: "LegalHold", + permissions: { + serializedName: "Permission", + xmlName: "Permission", type: { - name: "Boolean" + name: "String" } } } } - }, ListBlobsHierarchySegmentResponse = { - serializedName: "ListBlobsHierarchySegmentResponse", + }, ListBlobsFlatSegmentResponse = { + serializedName: "ListBlobsFlatSegmentResponse", xmlName: "EnumerationResults", type: { name: "Composite", - className: "ListBlobsHierarchySegmentResponse", + className: "ListBlobsFlatSegmentResponse", modelProperties: { serviceEndpoint: { serializedName: "ServiceEndpoint", @@ -8387,19 +9266,12 @@ name: "Number" } }, - delimiter: { - serializedName: "Delimiter", - xmlName: "Delimiter", - type: { - name: "String" - } - }, segment: { serializedName: "Segment", xmlName: "Blobs", type: { name: "Composite", - className: "BlobHierarchyListSegment" + className: "BlobFlatListSegment" } }, continuationToken: { @@ -8411,27 +9283,13 @@ } } } - }, BlobHierarchyListSegment = { - serializedName: "BlobHierarchyListSegment", + }, BlobFlatListSegment = { + serializedName: "BlobFlatListSegment", xmlName: "Blobs", type: { name: "Composite", - className: "BlobHierarchyListSegment", + className: "BlobFlatListSegment", modelProperties: { - blobPrefixes: { - serializedName: "BlobPrefixes", - xmlName: "BlobPrefixes", - xmlElementName: "BlobPrefix", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "BlobPrefix" - } - } - } - }, blobItems: { serializedName: "BlobItems", required: !0, @@ -8449,11 +9307,12 @@ } } } - }, BlobPrefix = { - serializedName: "BlobPrefix", + }, BlobItemInternal = { + serializedName: "BlobItemInternal", + xmlName: "Blob", type: { name: "Composite", - className: "BlobPrefix", + className: "BlobItemInternal", modelProperties: { name: { serializedName: "Name", @@ -8462,1035 +9321,976 @@ name: "Composite", className: "BlobName" } - } - } - } - }, BlockLookupList = { - serializedName: "BlockLookupList", - xmlName: "BlockList", - type: { - name: "Composite", - className: "BlockLookupList", - modelProperties: { - committed: { - serializedName: "Committed", - xmlName: "Committed", - xmlElementName: "Committed", + }, + deleted: { + serializedName: "Deleted", + required: !0, + xmlName: "Deleted", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Boolean" } }, - uncommitted: { - serializedName: "Uncommitted", - xmlName: "Uncommitted", - xmlElementName: "Uncommitted", + snapshot: { + serializedName: "Snapshot", + required: !0, + xmlName: "Snapshot", type: { - name: "Sequence", - element: { + name: "String" + } + }, + versionId: { + serializedName: "VersionId", + xmlName: "VersionId", + type: { + name: "String" + } + }, + isCurrentVersion: { + serializedName: "IsCurrentVersion", + xmlName: "IsCurrentVersion", + type: { + name: "Boolean" + } + }, + properties: { + serializedName: "Properties", + xmlName: "Properties", + type: { + name: "Composite", + className: "BlobPropertiesInternal" + } + }, + metadata: { + serializedName: "Metadata", + xmlName: "Metadata", + type: { + name: "Dictionary", + value: { type: { name: "String" } } } }, - latest: { - serializedName: "Latest", - xmlName: "Latest", - xmlElementName: "Latest", + blobTags: { + serializedName: "BlobTags", + xmlName: "Tags", type: { - name: "Sequence", - element: { + name: "Composite", + className: "BlobTags" + } + }, + objectReplicationMetadata: { + serializedName: "ObjectReplicationMetadata", + xmlName: "OrMetadata", + type: { + name: "Dictionary", + value: { type: { name: "String" } } } + }, + hasVersionsOnly: { + serializedName: "HasVersionsOnly", + xmlName: "HasVersionsOnly", + type: { + name: "Boolean" + } } } } - }, BlockList = { - serializedName: "BlockList", + }, BlobName = { + serializedName: "BlobName", type: { name: "Composite", - className: "BlockList", + className: "BlobName", modelProperties: { - committedBlocks: { - serializedName: "CommittedBlocks", - xmlName: "CommittedBlocks", - xmlIsWrapped: !0, - xmlElementName: "Block", + encoded: { + serializedName: "Encoded", + xmlName: "Encoded", + xmlIsAttribute: !0, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Block" - } - } + name: "Boolean" } }, - uncommittedBlocks: { - serializedName: "UncommittedBlocks", - xmlName: "UncommittedBlocks", - xmlIsWrapped: !0, - xmlElementName: "Block", + content: { + serializedName: "content", + xmlName: "content", + xmlIsMsText: !0, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Block" - } - } + name: "String" } } } } - }, Block = { - serializedName: "Block", + }, BlobPropertiesInternal = { + serializedName: "BlobPropertiesInternal", + xmlName: "Properties", type: { name: "Composite", - className: "Block", + className: "BlobPropertiesInternal", modelProperties: { - name: { - serializedName: "Name", - required: !0, - xmlName: "Name", + createdOn: { + serializedName: "Creation-Time", + xmlName: "Creation-Time", type: { - name: "String" + name: "DateTimeRfc1123" } }, - size: { - serializedName: "Size", + lastModified: { + serializedName: "Last-Modified", required: !0, - xmlName: "Size", + xmlName: "Last-Modified", type: { - name: "Number" + name: "DateTimeRfc1123" } - } - } - } - }, PageList = { - serializedName: "PageList", - type: { - name: "Composite", - className: "PageList", - modelProperties: { - pageRange: { - serializedName: "PageRange", - xmlName: "PageRange", - xmlElementName: "PageRange", + }, + etag: { + serializedName: "Etag", + required: !0, + xmlName: "Etag", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PageRange" - } - } + name: "String" } }, - clearRange: { - serializedName: "ClearRange", - xmlName: "ClearRange", - xmlElementName: "ClearRange", + contentLength: { + serializedName: "Content-Length", + xmlName: "Content-Length", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ClearRange" - } - } + name: "Number" } }, - continuationToken: { - serializedName: "NextMarker", - xmlName: "NextMarker", + contentType: { + serializedName: "Content-Type", + xmlName: "Content-Type", type: { name: "String" } - } - } - } - }, PageRange = { - serializedName: "PageRange", - xmlName: "PageRange", - type: { - name: "Composite", - className: "PageRange", - modelProperties: { - start: { - serializedName: "Start", - required: !0, - xmlName: "Start", - type: { - name: "Number" - } }, - end: { - serializedName: "End", - required: !0, - xmlName: "End", + contentEncoding: { + serializedName: "Content-Encoding", + xmlName: "Content-Encoding", type: { - name: "Number" + name: "String" } - } - } - } - }, ClearRange = { - serializedName: "ClearRange", - xmlName: "ClearRange", - type: { - name: "Composite", - className: "ClearRange", - modelProperties: { - start: { - serializedName: "Start", - required: !0, - xmlName: "Start", + }, + contentLanguage: { + serializedName: "Content-Language", + xmlName: "Content-Language", type: { - name: "Number" + name: "String" } }, - end: { - serializedName: "End", - required: !0, - xmlName: "End", + contentMD5: { + serializedName: "Content-MD5", + xmlName: "Content-MD5", type: { - name: "Number" + name: "ByteArray" } - } - } - } - }, QueryRequest = { - serializedName: "QueryRequest", - xmlName: "QueryRequest", - type: { - name: "Composite", - className: "QueryRequest", - modelProperties: { - queryType: { - serializedName: "QueryType", - required: !0, - xmlName: "QueryType", + }, + contentDisposition: { + serializedName: "Content-Disposition", + xmlName: "Content-Disposition", type: { name: "String" } }, - expression: { - serializedName: "Expression", - required: !0, - xmlName: "Expression", + cacheControl: { + serializedName: "Cache-Control", + xmlName: "Cache-Control", type: { name: "String" } }, - inputSerialization: { - serializedName: "InputSerialization", - xmlName: "InputSerialization", + blobSequenceNumber: { + serializedName: "x-ms-blob-sequence-number", + xmlName: "x-ms-blob-sequence-number", type: { - name: "Composite", - className: "QuerySerialization" + name: "Number" } }, - outputSerialization: { - serializedName: "OutputSerialization", - xmlName: "OutputSerialization", + blobType: { + serializedName: "BlobType", + xmlName: "BlobType", type: { - name: "Composite", - className: "QuerySerialization" + name: "Enum", + allowedValues: [ "BlockBlob", "PageBlob", "AppendBlob" ] } - } - } - } - }, QuerySerialization = { - serializedName: "QuerySerialization", - type: { - name: "Composite", - className: "QuerySerialization", - modelProperties: { - format: { - serializedName: "Format", - xmlName: "Format", + }, + leaseStatus: { + serializedName: "LeaseStatus", + xmlName: "LeaseStatus", type: { - name: "Composite", - className: "QueryFormat" + name: "Enum", + allowedValues: [ "locked", "unlocked" ] } - } - } - } - }, QueryFormat = { - serializedName: "QueryFormat", - type: { - name: "Composite", - className: "QueryFormat", - modelProperties: { - type: { - serializedName: "Type", - required: !0, - xmlName: "Type", + }, + leaseState: { + serializedName: "LeaseState", + xmlName: "LeaseState", type: { name: "Enum", - allowedValues: [ "delimited", "json", "arrow", "parquet" ] + allowedValues: [ "available", "leased", "expired", "breaking", "broken" ] } }, - delimitedTextConfiguration: { - serializedName: "DelimitedTextConfiguration", - xmlName: "DelimitedTextConfiguration", + leaseDuration: { + serializedName: "LeaseDuration", + xmlName: "LeaseDuration", type: { - name: "Composite", - className: "DelimitedTextConfiguration" + name: "Enum", + allowedValues: [ "infinite", "fixed" ] } }, - jsonTextConfiguration: { - serializedName: "JsonTextConfiguration", - xmlName: "JsonTextConfiguration", + copyId: { + serializedName: "CopyId", + xmlName: "CopyId", type: { - name: "Composite", - className: "JsonTextConfiguration" + name: "String" } }, - arrowConfiguration: { - serializedName: "ArrowConfiguration", - xmlName: "ArrowConfiguration", + copyStatus: { + serializedName: "CopyStatus", + xmlName: "CopyStatus", type: { - name: "Composite", - className: "ArrowConfiguration" + name: "Enum", + allowedValues: [ "pending", "success", "aborted", "failed" ] } }, - parquetTextConfiguration: { - serializedName: "ParquetTextConfiguration", - xmlName: "ParquetTextConfiguration", + copySource: { + serializedName: "CopySource", + xmlName: "CopySource", type: { - name: "any" + name: "String" } - } - } - } - }, DelimitedTextConfiguration = { - serializedName: "DelimitedTextConfiguration", - xmlName: "DelimitedTextConfiguration", - type: { - name: "Composite", - className: "DelimitedTextConfiguration", - modelProperties: { - columnSeparator: { - serializedName: "ColumnSeparator", - xmlName: "ColumnSeparator", + }, + copyProgress: { + serializedName: "CopyProgress", + xmlName: "CopyProgress", type: { name: "String" } }, - fieldQuote: { - serializedName: "FieldQuote", - xmlName: "FieldQuote", + copyCompletedOn: { + serializedName: "CopyCompletionTime", + xmlName: "CopyCompletionTime", type: { - name: "String" + name: "DateTimeRfc1123" } }, - recordSeparator: { - serializedName: "RecordSeparator", - xmlName: "RecordSeparator", + copyStatusDescription: { + serializedName: "CopyStatusDescription", + xmlName: "CopyStatusDescription", type: { name: "String" } }, - escapeChar: { - serializedName: "EscapeChar", - xmlName: "EscapeChar", + serverEncrypted: { + serializedName: "ServerEncrypted", + xmlName: "ServerEncrypted", type: { - name: "String" + name: "Boolean" } }, - headersPresent: { - serializedName: "HeadersPresent", - xmlName: "HasHeaders", + incrementalCopy: { + serializedName: "IncrementalCopy", + xmlName: "IncrementalCopy", type: { name: "Boolean" } - } - } - } - }, JsonTextConfiguration = { - serializedName: "JsonTextConfiguration", - xmlName: "JsonTextConfiguration", - type: { - name: "Composite", - className: "JsonTextConfiguration", - modelProperties: { - recordSeparator: { - serializedName: "RecordSeparator", - xmlName: "RecordSeparator", + }, + destinationSnapshot: { + serializedName: "DestinationSnapshot", + xmlName: "DestinationSnapshot", type: { name: "String" } - } - } - } - }, ArrowConfiguration = { - serializedName: "ArrowConfiguration", - xmlName: "ArrowConfiguration", - type: { - name: "Composite", - className: "ArrowConfiguration", - modelProperties: { - schema: { - serializedName: "Schema", - required: !0, - xmlName: "Schema", - xmlIsWrapped: !0, - xmlElementName: "Field", + }, + deletedOn: { + serializedName: "DeletedTime", + xmlName: "DeletedTime", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ArrowField" - } - } + name: "DateTimeRfc1123" } - } - } - } - }, ArrowField = { - serializedName: "ArrowField", - xmlName: "Field", - type: { - name: "Composite", - className: "ArrowField", - modelProperties: { - type: { - serializedName: "Type", - required: !0, - xmlName: "Type", + }, + remainingRetentionDays: { + serializedName: "RemainingRetentionDays", + xmlName: "RemainingRetentionDays", type: { - name: "String" + name: "Number" } }, - name: { - serializedName: "Name", - xmlName: "Name", + accessTier: { + serializedName: "AccessTier", + xmlName: "AccessTier", type: { - name: "String" + name: "Enum", + allowedValues: [ "P4", "P6", "P10", "P15", "P20", "P30", "P40", "P50", "P60", "P70", "P80", "Hot", "Cool", "Archive", "Cold" ] } }, - precision: { - serializedName: "Precision", - xmlName: "Precision", + accessTierInferred: { + serializedName: "AccessTierInferred", + xmlName: "AccessTierInferred", type: { - name: "Number" + name: "Boolean" } }, - scale: { - serializedName: "Scale", - xmlName: "Scale", + archiveStatus: { + serializedName: "ArchiveStatus", + xmlName: "ArchiveStatus", type: { - name: "Number" + name: "Enum", + allowedValues: [ "rehydrate-pending-to-hot", "rehydrate-pending-to-cool", "rehydrate-pending-to-cold" ] } - } - } - } - }, ServiceSetPropertiesHeaders = { - serializedName: "Service_setPropertiesHeaders", - type: { - name: "Composite", - className: "ServiceSetPropertiesHeaders", - modelProperties: { - clientRequestId: { - serializedName: "x-ms-client-request-id", - xmlName: "x-ms-client-request-id", + }, + customerProvidedKeySha256: { + serializedName: "CustomerProvidedKeySha256", + xmlName: "CustomerProvidedKeySha256", type: { name: "String" } }, - requestId: { - serializedName: "x-ms-request-id", - xmlName: "x-ms-request-id", + encryptionScope: { + serializedName: "EncryptionScope", + xmlName: "EncryptionScope", type: { name: "String" } }, - version: { - serializedName: "x-ms-version", - xmlName: "x-ms-version", + accessTierChangedOn: { + serializedName: "AccessTierChangeTime", + xmlName: "AccessTierChangeTime", type: { - name: "String" + name: "DateTimeRfc1123" } }, - errorCode: { - serializedName: "x-ms-error-code", - xmlName: "x-ms-error-code", + tagCount: { + serializedName: "TagCount", + xmlName: "TagCount", type: { - name: "String" + name: "Number" } - } - } - } - }, ServiceSetPropertiesExceptionHeaders = { - serializedName: "Service_setPropertiesExceptionHeaders", - type: { - name: "Composite", - className: "ServiceSetPropertiesExceptionHeaders", - modelProperties: { - errorCode: { - serializedName: "x-ms-error-code", - xmlName: "x-ms-error-code", + }, + expiresOn: { + serializedName: "Expiry-Time", + xmlName: "Expiry-Time", type: { - name: "String" + name: "DateTimeRfc1123" } - } - } - } - }, ServiceGetPropertiesHeaders = { - serializedName: "Service_getPropertiesHeaders", - type: { - name: "Composite", - className: "ServiceGetPropertiesHeaders", - modelProperties: { - clientRequestId: { - serializedName: "x-ms-client-request-id", - xmlName: "x-ms-client-request-id", + }, + isSealed: { + serializedName: "Sealed", + xmlName: "Sealed", type: { - name: "String" + name: "Boolean" } }, - requestId: { - serializedName: "x-ms-request-id", - xmlName: "x-ms-request-id", + rehydratePriority: { + serializedName: "RehydratePriority", + xmlName: "RehydratePriority", type: { - name: "String" + name: "Enum", + allowedValues: [ "High", "Standard" ] } }, - version: { - serializedName: "x-ms-version", - xmlName: "x-ms-version", + lastAccessedOn: { + serializedName: "LastAccessTime", + xmlName: "LastAccessTime", type: { - name: "String" + name: "DateTimeRfc1123" } }, - errorCode: { - serializedName: "x-ms-error-code", - xmlName: "x-ms-error-code", + immutabilityPolicyExpiresOn: { + serializedName: "ImmutabilityPolicyUntilDate", + xmlName: "ImmutabilityPolicyUntilDate", type: { - name: "String" + name: "DateTimeRfc1123" + } + }, + immutabilityPolicyMode: { + serializedName: "ImmutabilityPolicyMode", + xmlName: "ImmutabilityPolicyMode", + type: { + name: "Enum", + allowedValues: [ "Mutable", "Unlocked", "Locked" ] + } + }, + legalHold: { + serializedName: "LegalHold", + xmlName: "LegalHold", + type: { + name: "Boolean" } } } } - }, ServiceGetPropertiesExceptionHeaders = { - serializedName: "Service_getPropertiesExceptionHeaders", + }, ListBlobsHierarchySegmentResponse = { + serializedName: "ListBlobsHierarchySegmentResponse", + xmlName: "EnumerationResults", type: { name: "Composite", - className: "ServiceGetPropertiesExceptionHeaders", + className: "ListBlobsHierarchySegmentResponse", modelProperties: { - errorCode: { - serializedName: "x-ms-error-code", - xmlName: "x-ms-error-code", + serviceEndpoint: { + serializedName: "ServiceEndpoint", + required: !0, + xmlName: "ServiceEndpoint", + xmlIsAttribute: !0, type: { name: "String" } - } - } - } - }, ServiceGetStatisticsHeaders = { - serializedName: "Service_getStatisticsHeaders", - type: { - name: "Composite", - className: "ServiceGetStatisticsHeaders", - modelProperties: { - clientRequestId: { - serializedName: "x-ms-client-request-id", - xmlName: "x-ms-client-request-id", + }, + containerName: { + serializedName: "ContainerName", + required: !0, + xmlName: "ContainerName", + xmlIsAttribute: !0, type: { name: "String" } }, - requestId: { - serializedName: "x-ms-request-id", - xmlName: "x-ms-request-id", + prefix: { + serializedName: "Prefix", + xmlName: "Prefix", type: { name: "String" } }, - version: { - serializedName: "x-ms-version", - xmlName: "x-ms-version", + marker: { + serializedName: "Marker", + xmlName: "Marker", type: { name: "String" } }, - date: { - serializedName: "date", - xmlName: "date", + maxPageSize: { + serializedName: "MaxResults", + xmlName: "MaxResults", type: { - name: "DateTimeRfc1123" + name: "Number" } }, - errorCode: { - serializedName: "x-ms-error-code", - xmlName: "x-ms-error-code", + delimiter: { + serializedName: "Delimiter", + xmlName: "Delimiter", type: { name: "String" } - } - } - } - }, ServiceGetStatisticsExceptionHeaders = { - serializedName: "Service_getStatisticsExceptionHeaders", - type: { - name: "Composite", - className: "ServiceGetStatisticsExceptionHeaders", - modelProperties: { - errorCode: { - serializedName: "x-ms-error-code", - xmlName: "x-ms-error-code", + }, + segment: { + serializedName: "Segment", + xmlName: "Blobs", + type: { + name: "Composite", + className: "BlobHierarchyListSegment" + } + }, + continuationToken: { + serializedName: "NextMarker", + xmlName: "NextMarker", type: { name: "String" } } } } - }, ServiceListContainersSegmentHeaders = { - serializedName: "Service_listContainersSegmentHeaders", + }, BlobHierarchyListSegment = { + serializedName: "BlobHierarchyListSegment", + xmlName: "Blobs", type: { name: "Composite", - className: "ServiceListContainersSegmentHeaders", + className: "BlobHierarchyListSegment", modelProperties: { - clientRequestId: { - serializedName: "x-ms-client-request-id", - xmlName: "x-ms-client-request-id", - type: { - name: "String" - } - }, - requestId: { - serializedName: "x-ms-request-id", - xmlName: "x-ms-request-id", - type: { - name: "String" - } - }, - version: { - serializedName: "x-ms-version", - xmlName: "x-ms-version", + blobPrefixes: { + serializedName: "BlobPrefixes", + xmlName: "BlobPrefixes", + xmlElementName: "BlobPrefix", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "BlobPrefix" + } + } } }, - errorCode: { - serializedName: "x-ms-error-code", - xmlName: "x-ms-error-code", + blobItems: { + serializedName: "BlobItems", + required: !0, + xmlName: "BlobItems", + xmlElementName: "Blob", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "BlobItemInternal" + } + } } } } } - }, ServiceListContainersSegmentExceptionHeaders = { - serializedName: "Service_listContainersSegmentExceptionHeaders", + }, BlobPrefix = { + serializedName: "BlobPrefix", type: { name: "Composite", - className: "ServiceListContainersSegmentExceptionHeaders", + className: "BlobPrefix", modelProperties: { - errorCode: { - serializedName: "x-ms-error-code", - xmlName: "x-ms-error-code", + name: { + serializedName: "Name", + xmlName: "Name", type: { - name: "String" + name: "Composite", + className: "BlobName" } } } } - }, ServiceGetUserDelegationKeyHeaders = { - serializedName: "Service_getUserDelegationKeyHeaders", + }, BlockLookupList = { + serializedName: "BlockLookupList", + xmlName: "BlockList", type: { name: "Composite", - className: "ServiceGetUserDelegationKeyHeaders", + className: "BlockLookupList", modelProperties: { - clientRequestId: { - serializedName: "x-ms-client-request-id", - xmlName: "x-ms-client-request-id", - type: { - name: "String" - } - }, - requestId: { - serializedName: "x-ms-request-id", - xmlName: "x-ms-request-id", - type: { - name: "String" - } - }, - version: { - serializedName: "x-ms-version", - xmlName: "x-ms-version", + committed: { + serializedName: "Committed", + xmlName: "Committed", + xmlElementName: "Committed", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - date: { - serializedName: "date", - xmlName: "date", + uncommitted: { + serializedName: "Uncommitted", + xmlName: "Uncommitted", + xmlElementName: "Uncommitted", type: { - name: "DateTimeRfc1123" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - errorCode: { - serializedName: "x-ms-error-code", - xmlName: "x-ms-error-code", + latest: { + serializedName: "Latest", + xmlName: "Latest", + xmlElementName: "Latest", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } } } } - }, ServiceGetUserDelegationKeyExceptionHeaders = { - serializedName: "Service_getUserDelegationKeyExceptionHeaders", + }, BlockList = { + serializedName: "BlockList", type: { name: "Composite", - className: "ServiceGetUserDelegationKeyExceptionHeaders", + className: "BlockList", modelProperties: { - errorCode: { - serializedName: "x-ms-error-code", - xmlName: "x-ms-error-code", + committedBlocks: { + serializedName: "CommittedBlocks", + xmlName: "CommittedBlocks", + xmlIsWrapped: !0, + xmlElementName: "Block", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Block" + } + } } - } - } - } - }, ServiceGetAccountInfoHeaders = { - serializedName: "Service_getAccountInfoHeaders", + }, + uncommittedBlocks: { + serializedName: "UncommittedBlocks", + xmlName: "UncommittedBlocks", + xmlIsWrapped: !0, + xmlElementName: "Block", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Block" + } + } + } + } + } + } + }, Block = { + serializedName: "Block", type: { name: "Composite", - className: "ServiceGetAccountInfoHeaders", + className: "Block", modelProperties: { - clientRequestId: { - serializedName: "x-ms-client-request-id", - xmlName: "x-ms-client-request-id", - type: { - name: "String" - } - }, - requestId: { - serializedName: "x-ms-request-id", - xmlName: "x-ms-request-id", + name: { + serializedName: "Name", + required: !0, + xmlName: "Name", type: { name: "String" } }, - version: { - serializedName: "x-ms-version", - xmlName: "x-ms-version", + size: { + serializedName: "Size", + required: !0, + xmlName: "Size", type: { - name: "String" + name: "Number" } - }, - date: { - serializedName: "date", - xmlName: "date", + } + } + } + }, PageList = { + serializedName: "PageList", + type: { + name: "Composite", + className: "PageList", + modelProperties: { + pageRange: { + serializedName: "PageRange", + xmlName: "PageRange", + xmlElementName: "PageRange", type: { - name: "DateTimeRfc1123" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PageRange" + } + } } }, - skuName: { - serializedName: "x-ms-sku-name", - xmlName: "x-ms-sku-name", + clearRange: { + serializedName: "ClearRange", + xmlName: "ClearRange", + xmlElementName: "ClearRange", type: { - name: "Enum", - allowedValues: [ "Standard_LRS", "Standard_GRS", "Standard_RAGRS", "Standard_ZRS", "Premium_LRS" ] + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ClearRange" + } + } } }, - accountKind: { - serializedName: "x-ms-account-kind", - xmlName: "x-ms-account-kind", + continuationToken: { + serializedName: "NextMarker", + xmlName: "NextMarker", type: { - name: "Enum", - allowedValues: [ "Storage", "BlobStorage", "StorageV2", "FileStorage", "BlockBlobStorage" ] + name: "String" } - }, - isHierarchicalNamespaceEnabled: { - serializedName: "x-ms-is-hns-enabled", - xmlName: "x-ms-is-hns-enabled", + } + } + } + }, PageRange = { + serializedName: "PageRange", + xmlName: "PageRange", + type: { + name: "Composite", + className: "PageRange", + modelProperties: { + start: { + serializedName: "Start", + required: !0, + xmlName: "Start", type: { - name: "Boolean" + name: "Number" } }, - errorCode: { - serializedName: "x-ms-error-code", - xmlName: "x-ms-error-code", + end: { + serializedName: "End", + required: !0, + xmlName: "End", type: { - name: "String" + name: "Number" } } } } - }, ServiceGetAccountInfoExceptionHeaders = { - serializedName: "Service_getAccountInfoExceptionHeaders", + }, ClearRange = { + serializedName: "ClearRange", + xmlName: "ClearRange", type: { name: "Composite", - className: "ServiceGetAccountInfoExceptionHeaders", + className: "ClearRange", modelProperties: { - errorCode: { - serializedName: "x-ms-error-code", - xmlName: "x-ms-error-code", + start: { + serializedName: "Start", + required: !0, + xmlName: "Start", type: { - name: "String" + name: "Number" + } + }, + end: { + serializedName: "End", + required: !0, + xmlName: "End", + type: { + name: "Number" } } } } - }, ServiceSubmitBatchHeaders = { - serializedName: "Service_submitBatchHeaders", + }, QueryRequest = { + serializedName: "QueryRequest", + xmlName: "QueryRequest", type: { name: "Composite", - className: "ServiceSubmitBatchHeaders", + className: "QueryRequest", modelProperties: { - contentType: { - serializedName: "content-type", - xmlName: "content-type", - type: { - name: "String" - } - }, - requestId: { - serializedName: "x-ms-request-id", - xmlName: "x-ms-request-id", + queryType: { + serializedName: "QueryType", + required: !0, + xmlName: "QueryType", type: { name: "String" } }, - version: { - serializedName: "x-ms-version", - xmlName: "x-ms-version", + expression: { + serializedName: "Expression", + required: !0, + xmlName: "Expression", type: { name: "String" } }, - clientRequestId: { - serializedName: "x-ms-client-request-id", - xmlName: "x-ms-client-request-id", + inputSerialization: { + serializedName: "InputSerialization", + xmlName: "InputSerialization", type: { - name: "String" + name: "Composite", + className: "QuerySerialization" } }, - errorCode: { - serializedName: "x-ms-error-code", - xmlName: "x-ms-error-code", + outputSerialization: { + serializedName: "OutputSerialization", + xmlName: "OutputSerialization", type: { - name: "String" + name: "Composite", + className: "QuerySerialization" } } } } - }, ServiceSubmitBatchExceptionHeaders = { - serializedName: "Service_submitBatchExceptionHeaders", + }, QuerySerialization = { + serializedName: "QuerySerialization", type: { name: "Composite", - className: "ServiceSubmitBatchExceptionHeaders", + className: "QuerySerialization", modelProperties: { - errorCode: { - serializedName: "x-ms-error-code", - xmlName: "x-ms-error-code", + format: { + serializedName: "Format", + xmlName: "Format", type: { - name: "String" + name: "Composite", + className: "QueryFormat" } } } } - }, ServiceFilterBlobsHeaders = { - serializedName: "Service_filterBlobsHeaders", + }, QueryFormat = { + serializedName: "QueryFormat", type: { name: "Composite", - className: "ServiceFilterBlobsHeaders", + className: "QueryFormat", modelProperties: { - clientRequestId: { - serializedName: "x-ms-client-request-id", - xmlName: "x-ms-client-request-id", + type: { + serializedName: "Type", + required: !0, + xmlName: "Type", type: { - name: "String" + name: "Enum", + allowedValues: [ "delimited", "json", "arrow", "parquet" ] } }, - requestId: { - serializedName: "x-ms-request-id", - xmlName: "x-ms-request-id", + delimitedTextConfiguration: { + serializedName: "DelimitedTextConfiguration", + xmlName: "DelimitedTextConfiguration", type: { - name: "String" + name: "Composite", + className: "DelimitedTextConfiguration" } }, - version: { - serializedName: "x-ms-version", - xmlName: "x-ms-version", + jsonTextConfiguration: { + serializedName: "JsonTextConfiguration", + xmlName: "JsonTextConfiguration", type: { - name: "String" + name: "Composite", + className: "JsonTextConfiguration" } }, - date: { - serializedName: "date", - xmlName: "date", + arrowConfiguration: { + serializedName: "ArrowConfiguration", + xmlName: "ArrowConfiguration", type: { - name: "DateTimeRfc1123" + name: "Composite", + className: "ArrowConfiguration" } }, - errorCode: { - serializedName: "x-ms-error-code", - xmlName: "x-ms-error-code", - type: { - name: "String" - } - } - } - } - }, ServiceFilterBlobsExceptionHeaders = { - serializedName: "Service_filterBlobsExceptionHeaders", - type: { - name: "Composite", - className: "ServiceFilterBlobsExceptionHeaders", - modelProperties: { - errorCode: { - serializedName: "x-ms-error-code", - xmlName: "x-ms-error-code", + parquetTextConfiguration: { + serializedName: "ParquetTextConfiguration", + xmlName: "ParquetTextConfiguration", type: { - name: "String" + name: "Dictionary", + value: { + type: { + name: "any" + } + } } } } } - }, ContainerCreateHeaders = { - serializedName: "Container_createHeaders", + }, DelimitedTextConfiguration = { + serializedName: "DelimitedTextConfiguration", + xmlName: "DelimitedTextConfiguration", type: { name: "Composite", - className: "ContainerCreateHeaders", + className: "DelimitedTextConfiguration", modelProperties: { - etag: { - serializedName: "etag", - xmlName: "etag", + columnSeparator: { + serializedName: "ColumnSeparator", + xmlName: "ColumnSeparator", type: { name: "String" } }, - lastModified: { - serializedName: "last-modified", - xmlName: "last-modified", - type: { - name: "DateTimeRfc1123" - } - }, - clientRequestId: { - serializedName: "x-ms-client-request-id", - xmlName: "x-ms-client-request-id", + fieldQuote: { + serializedName: "FieldQuote", + xmlName: "FieldQuote", type: { name: "String" } }, - requestId: { - serializedName: "x-ms-request-id", - xmlName: "x-ms-request-id", + recordSeparator: { + serializedName: "RecordSeparator", + xmlName: "RecordSeparator", type: { name: "String" } }, - version: { - serializedName: "x-ms-version", - xmlName: "x-ms-version", + escapeChar: { + serializedName: "EscapeChar", + xmlName: "EscapeChar", type: { name: "String" } }, - date: { - serializedName: "date", - xmlName: "date", - type: { - name: "DateTimeRfc1123" - } - }, - errorCode: { - serializedName: "x-ms-error-code", - xmlName: "x-ms-error-code", + headersPresent: { + serializedName: "HeadersPresent", + xmlName: "HasHeaders", type: { - name: "String" + name: "Boolean" } } } } - }, ContainerCreateExceptionHeaders = { - serializedName: "Container_createExceptionHeaders", + }, JsonTextConfiguration = { + serializedName: "JsonTextConfiguration", + xmlName: "JsonTextConfiguration", type: { name: "Composite", - className: "ContainerCreateExceptionHeaders", + className: "JsonTextConfiguration", modelProperties: { - errorCode: { - serializedName: "x-ms-error-code", - xmlName: "x-ms-error-code", + recordSeparator: { + serializedName: "RecordSeparator", + xmlName: "RecordSeparator", type: { name: "String" } } } } - }, ContainerGetPropertiesHeaders = { - serializedName: "Container_getPropertiesHeaders", + }, ArrowConfiguration = { + serializedName: "ArrowConfiguration", + xmlName: "ArrowConfiguration", type: { name: "Composite", - className: "ContainerGetPropertiesHeaders", + className: "ArrowConfiguration", modelProperties: { - metadata: { - serializedName: "x-ms-meta", - xmlName: "x-ms-meta", + schema: { + serializedName: "Schema", + required: !0, + xmlName: "Schema", + xmlIsWrapped: !0, + xmlElementName: "Field", type: { - name: "Dictionary", - value: { + name: "Sequence", + element: { type: { - name: "String" + name: "Composite", + className: "ArrowField" } } - }, - headerCollectionPrefix: "x-ms-meta-" - }, - etag: { - serializedName: "etag", - xmlName: "etag", - type: { - name: "String" } - }, - lastModified: { - serializedName: "last-modified", - xmlName: "last-modified", + } + } + } + }, ArrowField = { + serializedName: "ArrowField", + xmlName: "Field", + type: { + name: "Composite", + className: "ArrowField", + modelProperties: { + type: { + serializedName: "Type", + required: !0, + xmlName: "Type", type: { - name: "DateTimeRfc1123" + name: "String" } }, - leaseDuration: { - serializedName: "x-ms-lease-duration", - xmlName: "x-ms-lease-duration", + name: { + serializedName: "Name", + xmlName: "Name", type: { - name: "Enum", - allowedValues: [ "infinite", "fixed" ] + name: "String" } }, - leaseState: { - serializedName: "x-ms-lease-state", - xmlName: "x-ms-lease-state", + precision: { + serializedName: "Precision", + xmlName: "Precision", type: { - name: "Enum", - allowedValues: [ "available", "leased", "expired", "breaking", "broken" ] + name: "Number" } }, - leaseStatus: { - serializedName: "x-ms-lease-status", - xmlName: "x-ms-lease-status", + scale: { + serializedName: "Scale", + xmlName: "Scale", type: { - name: "Enum", - allowedValues: [ "locked", "unlocked" ] + name: "Number" } - }, + } + } + } + }, ServiceSetPropertiesHeaders = { + serializedName: "Service_setPropertiesHeaders", + type: { + name: "Composite", + className: "ServiceSetPropertiesHeaders", + modelProperties: { clientRequestId: { serializedName: "x-ms-client-request-id", xmlName: "x-ms-client-request-id", @@ -9512,56 +10312,6 @@ name: "String" } }, - date: { - serializedName: "date", - xmlName: "date", - type: { - name: "DateTimeRfc1123" - } - }, - blobPublicAccess: { - serializedName: "x-ms-blob-public-access", - xmlName: "x-ms-blob-public-access", - type: { - name: "Enum", - allowedValues: [ "container", "blob" ] - } - }, - hasImmutabilityPolicy: { - serializedName: "x-ms-has-immutability-policy", - xmlName: "x-ms-has-immutability-policy", - type: { - name: "Boolean" - } - }, - hasLegalHold: { - serializedName: "x-ms-has-legal-hold", - xmlName: "x-ms-has-legal-hold", - type: { - name: "Boolean" - } - }, - defaultEncryptionScope: { - serializedName: "x-ms-default-encryption-scope", - xmlName: "x-ms-default-encryption-scope", - type: { - name: "String" - } - }, - denyEncryptionScopeOverride: { - serializedName: "x-ms-deny-encryption-scope-override", - xmlName: "x-ms-deny-encryption-scope-override", - type: { - name: "Boolean" - } - }, - isImmutableStorageWithVersioningEnabled: { - serializedName: "x-ms-immutable-storage-with-versioning-enabled", - xmlName: "x-ms-immutable-storage-with-versioning-enabled", - type: { - name: "Boolean" - } - }, errorCode: { serializedName: "x-ms-error-code", xmlName: "x-ms-error-code", @@ -9571,11 +10321,11 @@ } } } - }, ContainerGetPropertiesExceptionHeaders = { - serializedName: "Container_getPropertiesExceptionHeaders", + }, ServiceSetPropertiesExceptionHeaders = { + serializedName: "Service_setPropertiesExceptionHeaders", type: { name: "Composite", - className: "ContainerGetPropertiesExceptionHeaders", + className: "ServiceSetPropertiesExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -9586,11 +10336,11 @@ } } } - }, ContainerDeleteHeaders = { - serializedName: "Container_deleteHeaders", + }, ServiceGetPropertiesHeaders = { + serializedName: "Service_getPropertiesHeaders", type: { name: "Composite", - className: "ContainerDeleteHeaders", + className: "ServiceGetPropertiesHeaders", modelProperties: { clientRequestId: { serializedName: "x-ms-client-request-id", @@ -9613,13 +10363,6 @@ name: "String" } }, - date: { - serializedName: "date", - xmlName: "date", - type: { - name: "DateTimeRfc1123" - } - }, errorCode: { serializedName: "x-ms-error-code", xmlName: "x-ms-error-code", @@ -9629,11 +10372,11 @@ } } } - }, ContainerDeleteExceptionHeaders = { - serializedName: "Container_deleteExceptionHeaders", + }, ServiceGetPropertiesExceptionHeaders = { + serializedName: "Service_getPropertiesExceptionHeaders", type: { name: "Composite", - className: "ContainerDeleteExceptionHeaders", + className: "ServiceGetPropertiesExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -9644,26 +10387,12 @@ } } } - }, ContainerSetMetadataHeaders = { - serializedName: "Container_setMetadataHeaders", + }, ServiceGetStatisticsHeaders = { + serializedName: "Service_getStatisticsHeaders", type: { name: "Composite", - className: "ContainerSetMetadataHeaders", + className: "ServiceGetStatisticsHeaders", modelProperties: { - etag: { - serializedName: "etag", - xmlName: "etag", - type: { - name: "String" - } - }, - lastModified: { - serializedName: "last-modified", - xmlName: "last-modified", - type: { - name: "DateTimeRfc1123" - } - }, clientRequestId: { serializedName: "x-ms-client-request-id", xmlName: "x-ms-client-request-id", @@ -9701,11 +10430,11 @@ } } } - }, ContainerSetMetadataExceptionHeaders = { - serializedName: "Container_setMetadataExceptionHeaders", + }, ServiceGetStatisticsExceptionHeaders = { + serializedName: "Service_getStatisticsExceptionHeaders", type: { name: "Composite", - className: "ContainerSetMetadataExceptionHeaders", + className: "ServiceGetStatisticsExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -9716,34 +10445,12 @@ } } } - }, ContainerGetAccessPolicyHeaders = { - serializedName: "Container_getAccessPolicyHeaders", + }, ServiceListContainersSegmentHeaders = { + serializedName: "Service_listContainersSegmentHeaders", type: { name: "Composite", - className: "ContainerGetAccessPolicyHeaders", + className: "ServiceListContainersSegmentHeaders", modelProperties: { - blobPublicAccess: { - serializedName: "x-ms-blob-public-access", - xmlName: "x-ms-blob-public-access", - type: { - name: "Enum", - allowedValues: [ "container", "blob" ] - } - }, - etag: { - serializedName: "etag", - xmlName: "etag", - type: { - name: "String" - } - }, - lastModified: { - serializedName: "last-modified", - xmlName: "last-modified", - type: { - name: "DateTimeRfc1123" - } - }, clientRequestId: { serializedName: "x-ms-client-request-id", xmlName: "x-ms-client-request-id", @@ -9765,13 +10472,6 @@ name: "String" } }, - date: { - serializedName: "date", - xmlName: "date", - type: { - name: "DateTimeRfc1123" - } - }, errorCode: { serializedName: "x-ms-error-code", xmlName: "x-ms-error-code", @@ -9781,11 +10481,11 @@ } } } - }, ContainerGetAccessPolicyExceptionHeaders = { - serializedName: "Container_getAccessPolicyExceptionHeaders", + }, ServiceListContainersSegmentExceptionHeaders = { + serializedName: "Service_listContainersSegmentExceptionHeaders", type: { name: "Composite", - className: "ContainerGetAccessPolicyExceptionHeaders", + className: "ServiceListContainersSegmentExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -9796,26 +10496,12 @@ } } } - }, ContainerSetAccessPolicyHeaders = { - serializedName: "Container_setAccessPolicyHeaders", + }, ServiceGetUserDelegationKeyHeaders = { + serializedName: "Service_getUserDelegationKeyHeaders", type: { name: "Composite", - className: "ContainerSetAccessPolicyHeaders", + className: "ServiceGetUserDelegationKeyHeaders", modelProperties: { - etag: { - serializedName: "etag", - xmlName: "etag", - type: { - name: "String" - } - }, - lastModified: { - serializedName: "last-modified", - xmlName: "last-modified", - type: { - name: "DateTimeRfc1123" - } - }, clientRequestId: { serializedName: "x-ms-client-request-id", xmlName: "x-ms-client-request-id", @@ -9853,11 +10539,11 @@ } } } - }, ContainerSetAccessPolicyExceptionHeaders = { - serializedName: "Container_setAccessPolicyExceptionHeaders", + }, ServiceGetUserDelegationKeyExceptionHeaders = { + serializedName: "Service_getUserDelegationKeyExceptionHeaders", type: { name: "Composite", - className: "ContainerSetAccessPolicyExceptionHeaders", + className: "ServiceGetUserDelegationKeyExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -9868,11 +10554,11 @@ } } } - }, ContainerRestoreHeaders = { - serializedName: "Container_restoreHeaders", + }, ServiceGetAccountInfoHeaders = { + serializedName: "Service_getAccountInfoHeaders", type: { name: "Composite", - className: "ContainerRestoreHeaders", + className: "ServiceGetAccountInfoHeaders", modelProperties: { clientRequestId: { serializedName: "x-ms-client-request-id", @@ -9902,62 +10588,27 @@ name: "DateTimeRfc1123" } }, - errorCode: { - serializedName: "x-ms-error-code", - xmlName: "x-ms-error-code", - type: { - name: "String" - } - } - } - } - }, ContainerRestoreExceptionHeaders = { - serializedName: "Container_restoreExceptionHeaders", - type: { - name: "Composite", - className: "ContainerRestoreExceptionHeaders", - modelProperties: { - errorCode: { - serializedName: "x-ms-error-code", - xmlName: "x-ms-error-code", - type: { - name: "String" - } - } - } - } - }, ContainerRenameHeaders = { - serializedName: "Container_renameHeaders", - type: { - name: "Composite", - className: "ContainerRenameHeaders", - modelProperties: { - clientRequestId: { - serializedName: "x-ms-client-request-id", - xmlName: "x-ms-client-request-id", - type: { - name: "String" - } - }, - requestId: { - serializedName: "x-ms-request-id", - xmlName: "x-ms-request-id", + skuName: { + serializedName: "x-ms-sku-name", + xmlName: "x-ms-sku-name", type: { - name: "String" + name: "Enum", + allowedValues: [ "Standard_LRS", "Standard_GRS", "Standard_RAGRS", "Standard_ZRS", "Premium_LRS" ] } }, - version: { - serializedName: "x-ms-version", - xmlName: "x-ms-version", + accountKind: { + serializedName: "x-ms-account-kind", + xmlName: "x-ms-account-kind", type: { - name: "String" + name: "Enum", + allowedValues: [ "Storage", "BlobStorage", "StorageV2", "FileStorage", "BlockBlobStorage" ] } }, - date: { - serializedName: "date", - xmlName: "date", + isHierarchicalNamespaceEnabled: { + serializedName: "x-ms-is-hns-enabled", + xmlName: "x-ms-is-hns-enabled", type: { - name: "DateTimeRfc1123" + name: "Boolean" } }, errorCode: { @@ -9969,11 +10620,11 @@ } } } - }, ContainerRenameExceptionHeaders = { - serializedName: "Container_renameExceptionHeaders", + }, ServiceGetAccountInfoExceptionHeaders = { + serializedName: "Service_getAccountInfoExceptionHeaders", type: { name: "Composite", - className: "ContainerRenameExceptionHeaders", + className: "ServiceGetAccountInfoExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -9984,11 +10635,11 @@ } } } - }, ContainerSubmitBatchHeaders = { - serializedName: "Container_submitBatchHeaders", + }, ServiceSubmitBatchHeaders = { + serializedName: "Service_submitBatchHeaders", type: { name: "Composite", - className: "ContainerSubmitBatchHeaders", + className: "ServiceSubmitBatchHeaders", modelProperties: { contentType: { serializedName: "content-type", @@ -10010,14 +10661,28 @@ type: { name: "String" } + }, + clientRequestId: { + serializedName: "x-ms-client-request-id", + xmlName: "x-ms-client-request-id", + type: { + name: "String" + } + }, + errorCode: { + serializedName: "x-ms-error-code", + xmlName: "x-ms-error-code", + type: { + name: "String" + } } } } - }, ContainerSubmitBatchExceptionHeaders = { - serializedName: "Container_submitBatchExceptionHeaders", + }, ServiceSubmitBatchExceptionHeaders = { + serializedName: "Service_submitBatchExceptionHeaders", type: { name: "Composite", - className: "ContainerSubmitBatchExceptionHeaders", + className: "ServiceSubmitBatchExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -10028,11 +10693,11 @@ } } } - }, ContainerFilterBlobsHeaders = { - serializedName: "Container_filterBlobsHeaders", + }, ServiceFilterBlobsHeaders = { + serializedName: "Service_filterBlobsHeaders", type: { name: "Composite", - className: "ContainerFilterBlobsHeaders", + className: "ServiceFilterBlobsHeaders", modelProperties: { clientRequestId: { serializedName: "x-ms-client-request-id", @@ -10061,14 +10726,21 @@ type: { name: "DateTimeRfc1123" } + }, + errorCode: { + serializedName: "x-ms-error-code", + xmlName: "x-ms-error-code", + type: { + name: "String" + } } } } - }, ContainerFilterBlobsExceptionHeaders = { - serializedName: "Container_filterBlobsExceptionHeaders", + }, ServiceFilterBlobsExceptionHeaders = { + serializedName: "Service_filterBlobsExceptionHeaders", type: { name: "Composite", - className: "ContainerFilterBlobsExceptionHeaders", + className: "ServiceFilterBlobsExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -10079,11 +10751,11 @@ } } } - }, ContainerAcquireLeaseHeaders = { - serializedName: "Container_acquireLeaseHeaders", + }, ContainerCreateHeaders = { + serializedName: "Container_createHeaders", type: { name: "Composite", - className: "ContainerAcquireLeaseHeaders", + className: "ContainerCreateHeaders", modelProperties: { etag: { serializedName: "etag", @@ -10099,13 +10771,6 @@ name: "DateTimeRfc1123" } }, - leaseId: { - serializedName: "x-ms-lease-id", - xmlName: "x-ms-lease-id", - type: { - name: "String" - } - }, clientRequestId: { serializedName: "x-ms-client-request-id", xmlName: "x-ms-client-request-id", @@ -10133,14 +10798,21 @@ type: { name: "DateTimeRfc1123" } + }, + errorCode: { + serializedName: "x-ms-error-code", + xmlName: "x-ms-error-code", + type: { + name: "String" + } } } } - }, ContainerAcquireLeaseExceptionHeaders = { - serializedName: "Container_acquireLeaseExceptionHeaders", + }, ContainerCreateExceptionHeaders = { + serializedName: "Container_createExceptionHeaders", type: { name: "Composite", - className: "ContainerAcquireLeaseExceptionHeaders", + className: "ContainerCreateExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -10151,12 +10823,25 @@ } } } - }, ContainerReleaseLeaseHeaders = { - serializedName: "Container_releaseLeaseHeaders", + }, ContainerGetPropertiesHeaders = { + serializedName: "Container_getPropertiesHeaders", type: { name: "Composite", - className: "ContainerReleaseLeaseHeaders", + className: "ContainerGetPropertiesHeaders", modelProperties: { + metadata: { + serializedName: "x-ms-meta", + headerCollectionPrefix: "x-ms-meta-", + xmlName: "x-ms-meta", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, etag: { serializedName: "etag", xmlName: "etag", @@ -10171,10 +10856,34 @@ name: "DateTimeRfc1123" } }, - clientRequestId: { - serializedName: "x-ms-client-request-id", - xmlName: "x-ms-client-request-id", - type: { + leaseDuration: { + serializedName: "x-ms-lease-duration", + xmlName: "x-ms-lease-duration", + type: { + name: "Enum", + allowedValues: [ "infinite", "fixed" ] + } + }, + leaseState: { + serializedName: "x-ms-lease-state", + xmlName: "x-ms-lease-state", + type: { + name: "Enum", + allowedValues: [ "available", "leased", "expired", "breaking", "broken" ] + } + }, + leaseStatus: { + serializedName: "x-ms-lease-status", + xmlName: "x-ms-lease-status", + type: { + name: "Enum", + allowedValues: [ "locked", "unlocked" ] + } + }, + clientRequestId: { + serializedName: "x-ms-client-request-id", + xmlName: "x-ms-client-request-id", + type: { name: "String" } }, @@ -10198,14 +10907,64 @@ type: { name: "DateTimeRfc1123" } + }, + blobPublicAccess: { + serializedName: "x-ms-blob-public-access", + xmlName: "x-ms-blob-public-access", + type: { + name: "Enum", + allowedValues: [ "container", "blob" ] + } + }, + hasImmutabilityPolicy: { + serializedName: "x-ms-has-immutability-policy", + xmlName: "x-ms-has-immutability-policy", + type: { + name: "Boolean" + } + }, + hasLegalHold: { + serializedName: "x-ms-has-legal-hold", + xmlName: "x-ms-has-legal-hold", + type: { + name: "Boolean" + } + }, + defaultEncryptionScope: { + serializedName: "x-ms-default-encryption-scope", + xmlName: "x-ms-default-encryption-scope", + type: { + name: "String" + } + }, + denyEncryptionScopeOverride: { + serializedName: "x-ms-deny-encryption-scope-override", + xmlName: "x-ms-deny-encryption-scope-override", + type: { + name: "Boolean" + } + }, + isImmutableStorageWithVersioningEnabled: { + serializedName: "x-ms-immutable-storage-with-versioning-enabled", + xmlName: "x-ms-immutable-storage-with-versioning-enabled", + type: { + name: "Boolean" + } + }, + errorCode: { + serializedName: "x-ms-error-code", + xmlName: "x-ms-error-code", + type: { + name: "String" + } } } } - }, ContainerReleaseLeaseExceptionHeaders = { - serializedName: "Container_releaseLeaseExceptionHeaders", + }, ContainerGetPropertiesExceptionHeaders = { + serializedName: "Container_getPropertiesExceptionHeaders", type: { name: "Composite", - className: "ContainerReleaseLeaseExceptionHeaders", + className: "ContainerGetPropertiesExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -10216,33 +10975,12 @@ } } } - }, ContainerRenewLeaseHeaders = { - serializedName: "Container_renewLeaseHeaders", + }, ContainerDeleteHeaders = { + serializedName: "Container_deleteHeaders", type: { name: "Composite", - className: "ContainerRenewLeaseHeaders", + className: "ContainerDeleteHeaders", modelProperties: { - etag: { - serializedName: "etag", - xmlName: "etag", - type: { - name: "String" - } - }, - lastModified: { - serializedName: "last-modified", - xmlName: "last-modified", - type: { - name: "DateTimeRfc1123" - } - }, - leaseId: { - serializedName: "x-ms-lease-id", - xmlName: "x-ms-lease-id", - type: { - name: "String" - } - }, clientRequestId: { serializedName: "x-ms-client-request-id", xmlName: "x-ms-client-request-id", @@ -10270,14 +11008,21 @@ type: { name: "DateTimeRfc1123" } + }, + errorCode: { + serializedName: "x-ms-error-code", + xmlName: "x-ms-error-code", + type: { + name: "String" + } } } } - }, ContainerRenewLeaseExceptionHeaders = { - serializedName: "Container_renewLeaseExceptionHeaders", + }, ContainerDeleteExceptionHeaders = { + serializedName: "Container_deleteExceptionHeaders", type: { name: "Composite", - className: "ContainerRenewLeaseExceptionHeaders", + className: "ContainerDeleteExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -10288,11 +11033,11 @@ } } } - }, ContainerBreakLeaseHeaders = { - serializedName: "Container_breakLeaseHeaders", + }, ContainerSetMetadataHeaders = { + serializedName: "Container_setMetadataHeaders", type: { name: "Composite", - className: "ContainerBreakLeaseHeaders", + className: "ContainerSetMetadataHeaders", modelProperties: { etag: { serializedName: "etag", @@ -10308,13 +11053,6 @@ name: "DateTimeRfc1123" } }, - leaseTime: { - serializedName: "x-ms-lease-time", - xmlName: "x-ms-lease-time", - type: { - name: "Number" - } - }, clientRequestId: { serializedName: "x-ms-client-request-id", xmlName: "x-ms-client-request-id", @@ -10342,14 +11080,21 @@ type: { name: "DateTimeRfc1123" } + }, + errorCode: { + serializedName: "x-ms-error-code", + xmlName: "x-ms-error-code", + type: { + name: "String" + } } } } - }, ContainerBreakLeaseExceptionHeaders = { - serializedName: "Container_breakLeaseExceptionHeaders", + }, ContainerSetMetadataExceptionHeaders = { + serializedName: "Container_setMetadataExceptionHeaders", type: { name: "Composite", - className: "ContainerBreakLeaseExceptionHeaders", + className: "ContainerSetMetadataExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -10360,12 +11105,20 @@ } } } - }, ContainerChangeLeaseHeaders = { - serializedName: "Container_changeLeaseHeaders", + }, ContainerGetAccessPolicyHeaders = { + serializedName: "Container_getAccessPolicyHeaders", type: { name: "Composite", - className: "ContainerChangeLeaseHeaders", + className: "ContainerGetAccessPolicyHeaders", modelProperties: { + blobPublicAccess: { + serializedName: "x-ms-blob-public-access", + xmlName: "x-ms-blob-public-access", + type: { + name: "Enum", + allowedValues: [ "container", "blob" ] + } + }, etag: { serializedName: "etag", xmlName: "etag", @@ -10380,13 +11133,6 @@ name: "DateTimeRfc1123" } }, - leaseId: { - serializedName: "x-ms-lease-id", - xmlName: "x-ms-lease-id", - type: { - name: "String" - } - }, clientRequestId: { serializedName: "x-ms-client-request-id", xmlName: "x-ms-client-request-id", @@ -10414,14 +11160,21 @@ type: { name: "DateTimeRfc1123" } + }, + errorCode: { + serializedName: "x-ms-error-code", + xmlName: "x-ms-error-code", + type: { + name: "String" + } } } } - }, ContainerChangeLeaseExceptionHeaders = { - serializedName: "Container_changeLeaseExceptionHeaders", + }, ContainerGetAccessPolicyExceptionHeaders = { + serializedName: "Container_getAccessPolicyExceptionHeaders", type: { name: "Composite", - className: "ContainerChangeLeaseExceptionHeaders", + className: "ContainerGetAccessPolicyExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -10432,19 +11185,26 @@ } } } - }, ContainerListBlobFlatSegmentHeaders = { - serializedName: "Container_listBlobFlatSegmentHeaders", + }, ContainerSetAccessPolicyHeaders = { + serializedName: "Container_setAccessPolicyHeaders", type: { name: "Composite", - className: "ContainerListBlobFlatSegmentHeaders", + className: "ContainerSetAccessPolicyHeaders", modelProperties: { - contentType: { - serializedName: "content-type", - xmlName: "content-type", + etag: { + serializedName: "etag", + xmlName: "etag", type: { name: "String" } }, + lastModified: { + serializedName: "last-modified", + xmlName: "last-modified", + type: { + name: "DateTimeRfc1123" + } + }, clientRequestId: { serializedName: "x-ms-client-request-id", xmlName: "x-ms-client-request-id", @@ -10482,11 +11242,11 @@ } } } - }, ContainerListBlobFlatSegmentExceptionHeaders = { - serializedName: "Container_listBlobFlatSegmentExceptionHeaders", + }, ContainerSetAccessPolicyExceptionHeaders = { + serializedName: "Container_setAccessPolicyExceptionHeaders", type: { name: "Composite", - className: "ContainerListBlobFlatSegmentExceptionHeaders", + className: "ContainerSetAccessPolicyExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -10497,19 +11257,12 @@ } } } - }, ContainerListBlobHierarchySegmentHeaders = { - serializedName: "Container_listBlobHierarchySegmentHeaders", + }, ContainerRestoreHeaders = { + serializedName: "Container_restoreHeaders", type: { name: "Composite", - className: "ContainerListBlobHierarchySegmentHeaders", + className: "ContainerRestoreHeaders", modelProperties: { - contentType: { - serializedName: "content-type", - xmlName: "content-type", - type: { - name: "String" - } - }, clientRequestId: { serializedName: "x-ms-client-request-id", xmlName: "x-ms-client-request-id", @@ -10547,11 +11300,11 @@ } } } - }, ContainerListBlobHierarchySegmentExceptionHeaders = { - serializedName: "Container_listBlobHierarchySegmentExceptionHeaders", + }, ContainerRestoreExceptionHeaders = { + serializedName: "Container_restoreExceptionHeaders", type: { name: "Composite", - className: "ContainerListBlobHierarchySegmentExceptionHeaders", + className: "ContainerRestoreExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -10562,11 +11315,11 @@ } } } - }, ContainerGetAccountInfoHeaders = { - serializedName: "Container_getAccountInfoHeaders", + }, ContainerRenameHeaders = { + serializedName: "Container_renameHeaders", type: { name: "Composite", - className: "ContainerGetAccountInfoHeaders", + className: "ContainerRenameHeaders", modelProperties: { clientRequestId: { serializedName: "x-ms-client-request-id", @@ -10596,29 +11349,20 @@ name: "DateTimeRfc1123" } }, - skuName: { - serializedName: "x-ms-sku-name", - xmlName: "x-ms-sku-name", - type: { - name: "Enum", - allowedValues: [ "Standard_LRS", "Standard_GRS", "Standard_RAGRS", "Standard_ZRS", "Premium_LRS" ] - } - }, - accountKind: { - serializedName: "x-ms-account-kind", - xmlName: "x-ms-account-kind", + errorCode: { + serializedName: "x-ms-error-code", + xmlName: "x-ms-error-code", type: { - name: "Enum", - allowedValues: [ "Storage", "BlobStorage", "StorageV2", "FileStorage", "BlockBlobStorage" ] + name: "String" } } } } - }, ContainerGetAccountInfoExceptionHeaders = { - serializedName: "Container_getAccountInfoExceptionHeaders", + }, ContainerRenameExceptionHeaders = { + serializedName: "Container_renameExceptionHeaders", type: { name: "Composite", - className: "ContainerGetAccountInfoExceptionHeaders", + className: "ContainerRenameExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -10629,59 +11373,12 @@ } } } - }, BlobDownloadHeaders = { - serializedName: "Blob_downloadHeaders", + }, ContainerSubmitBatchHeaders = { + serializedName: "Container_submitBatchHeaders", type: { name: "Composite", - className: "BlobDownloadHeaders", + className: "ContainerSubmitBatchHeaders", modelProperties: { - lastModified: { - serializedName: "last-modified", - xmlName: "last-modified", - type: { - name: "DateTimeRfc1123" - } - }, - metadata: { - serializedName: "x-ms-meta", - xmlName: "x-ms-meta", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - }, - headerCollectionPrefix: "x-ms-meta-" - }, - objectReplicationPolicyId: { - serializedName: "x-ms-or-policy-id", - xmlName: "x-ms-or-policy-id", - type: { - name: "String" - } - }, - objectReplicationRules: { - serializedName: "x-ms-or", - xmlName: "x-ms-or", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - }, - headerCollectionPrefix: "x-ms-or-" - }, - contentLength: { - serializedName: "content-length", - xmlName: "content-length", - type: { - name: "Number" - } - }, contentType: { serializedName: "content-type", xmlName: "content-type", @@ -10689,135 +11386,178 @@ name: "String" } }, - contentRange: { - serializedName: "content-range", - xmlName: "content-range", + requestId: { + serializedName: "x-ms-request-id", + xmlName: "x-ms-request-id", type: { name: "String" } }, - etag: { - serializedName: "etag", - xmlName: "etag", + version: { + serializedName: "x-ms-version", + xmlName: "x-ms-version", type: { name: "String" } - }, - contentMD5: { - serializedName: "content-md5", - xmlName: "content-md5", + } + } + } + }, ContainerSubmitBatchExceptionHeaders = { + serializedName: "Container_submitBatchExceptionHeaders", + type: { + name: "Composite", + className: "ContainerSubmitBatchExceptionHeaders", + modelProperties: { + errorCode: { + serializedName: "x-ms-error-code", + xmlName: "x-ms-error-code", type: { - name: "ByteArray" + name: "String" } - }, - contentEncoding: { - serializedName: "content-encoding", - xmlName: "content-encoding", + } + } + } + }, ContainerFilterBlobsHeaders = { + serializedName: "Container_filterBlobsHeaders", + type: { + name: "Composite", + className: "ContainerFilterBlobsHeaders", + modelProperties: { + clientRequestId: { + serializedName: "x-ms-client-request-id", + xmlName: "x-ms-client-request-id", type: { name: "String" } }, - cacheControl: { - serializedName: "cache-control", - xmlName: "cache-control", + requestId: { + serializedName: "x-ms-request-id", + xmlName: "x-ms-request-id", type: { name: "String" } }, - contentDisposition: { - serializedName: "content-disposition", - xmlName: "content-disposition", + version: { + serializedName: "x-ms-version", + xmlName: "x-ms-version", type: { name: "String" } }, - contentLanguage: { - serializedName: "content-language", - xmlName: "content-language", + date: { + serializedName: "date", + xmlName: "date", type: { - name: "String" + name: "DateTimeRfc1123" } - }, - blobSequenceNumber: { - serializedName: "x-ms-blob-sequence-number", - xmlName: "x-ms-blob-sequence-number", + } + } + } + }, ContainerFilterBlobsExceptionHeaders = { + serializedName: "Container_filterBlobsExceptionHeaders", + type: { + name: "Composite", + className: "ContainerFilterBlobsExceptionHeaders", + modelProperties: { + errorCode: { + serializedName: "x-ms-error-code", + xmlName: "x-ms-error-code", type: { - name: "Number" + name: "String" } - }, - blobType: { - serializedName: "x-ms-blob-type", - xmlName: "x-ms-blob-type", + } + } + } + }, ContainerAcquireLeaseHeaders = { + serializedName: "Container_acquireLeaseHeaders", + type: { + name: "Composite", + className: "ContainerAcquireLeaseHeaders", + modelProperties: { + etag: { + serializedName: "etag", + xmlName: "etag", type: { - name: "Enum", - allowedValues: [ "BlockBlob", "PageBlob", "AppendBlob" ] + name: "String" } }, - copyCompletedOn: { - serializedName: "x-ms-copy-completion-time", - xmlName: "x-ms-copy-completion-time", + lastModified: { + serializedName: "last-modified", + xmlName: "last-modified", type: { name: "DateTimeRfc1123" } }, - copyStatusDescription: { - serializedName: "x-ms-copy-status-description", - xmlName: "x-ms-copy-status-description", + leaseId: { + serializedName: "x-ms-lease-id", + xmlName: "x-ms-lease-id", type: { name: "String" } }, - copyId: { - serializedName: "x-ms-copy-id", - xmlName: "x-ms-copy-id", + clientRequestId: { + serializedName: "x-ms-client-request-id", + xmlName: "x-ms-client-request-id", type: { name: "String" } }, - copyProgress: { - serializedName: "x-ms-copy-progress", - xmlName: "x-ms-copy-progress", + requestId: { + serializedName: "x-ms-request-id", + xmlName: "x-ms-request-id", type: { name: "String" } }, - copySource: { - serializedName: "x-ms-copy-source", - xmlName: "x-ms-copy-source", + version: { + serializedName: "x-ms-version", + xmlName: "x-ms-version", type: { name: "String" } }, - copyStatus: { - serializedName: "x-ms-copy-status", - xmlName: "x-ms-copy-status", + date: { + serializedName: "date", + xmlName: "date", type: { - name: "Enum", - allowedValues: [ "pending", "success", "aborted", "failed" ] + name: "DateTimeRfc1123" } - }, - leaseDuration: { - serializedName: "x-ms-lease-duration", - xmlName: "x-ms-lease-duration", + } + } + } + }, ContainerAcquireLeaseExceptionHeaders = { + serializedName: "Container_acquireLeaseExceptionHeaders", + type: { + name: "Composite", + className: "ContainerAcquireLeaseExceptionHeaders", + modelProperties: { + errorCode: { + serializedName: "x-ms-error-code", + xmlName: "x-ms-error-code", type: { - name: "Enum", - allowedValues: [ "infinite", "fixed" ] + name: "String" } - }, - leaseState: { - serializedName: "x-ms-lease-state", - xmlName: "x-ms-lease-state", + } + } + } + }, ContainerReleaseLeaseHeaders = { + serializedName: "Container_releaseLeaseHeaders", + type: { + name: "Composite", + className: "ContainerReleaseLeaseHeaders", + modelProperties: { + etag: { + serializedName: "etag", + xmlName: "etag", type: { - name: "Enum", - allowedValues: [ "available", "leased", "expired", "breaking", "broken" ] + name: "String" } }, - leaseStatus: { - serializedName: "x-ms-lease-status", - xmlName: "x-ms-lease-status", + lastModified: { + serializedName: "last-modified", + xmlName: "last-modified", type: { - name: "Enum", - allowedValues: [ "locked", "unlocked" ] + name: "DateTimeRfc1123" } }, clientRequestId: { @@ -10841,133 +11581,164 @@ name: "String" } }, - versionId: { - serializedName: "x-ms-version-id", - xmlName: "x-ms-version-id", - type: { - name: "String" - } - }, - isCurrentVersion: { - serializedName: "x-ms-is-current-version", - xmlName: "x-ms-is-current-version", + date: { + serializedName: "date", + xmlName: "date", type: { - name: "Boolean" + name: "DateTimeRfc1123" } - }, - acceptRanges: { - serializedName: "accept-ranges", - xmlName: "accept-ranges", + } + } + } + }, ContainerReleaseLeaseExceptionHeaders = { + serializedName: "Container_releaseLeaseExceptionHeaders", + type: { + name: "Composite", + className: "ContainerReleaseLeaseExceptionHeaders", + modelProperties: { + errorCode: { + serializedName: "x-ms-error-code", + xmlName: "x-ms-error-code", + type: { + name: "String" + } + } + } + } + }, ContainerRenewLeaseHeaders = { + serializedName: "Container_renewLeaseHeaders", + type: { + name: "Composite", + className: "ContainerRenewLeaseHeaders", + modelProperties: { + etag: { + serializedName: "etag", + xmlName: "etag", type: { name: "String" } }, - date: { - serializedName: "date", - xmlName: "date", + lastModified: { + serializedName: "last-modified", + xmlName: "last-modified", type: { name: "DateTimeRfc1123" } }, - blobCommittedBlockCount: { - serializedName: "x-ms-blob-committed-block-count", - xmlName: "x-ms-blob-committed-block-count", + leaseId: { + serializedName: "x-ms-lease-id", + xmlName: "x-ms-lease-id", type: { - name: "Number" + name: "String" } }, - isServerEncrypted: { - serializedName: "x-ms-server-encrypted", - xmlName: "x-ms-server-encrypted", + clientRequestId: { + serializedName: "x-ms-client-request-id", + xmlName: "x-ms-client-request-id", type: { - name: "Boolean" + name: "String" } }, - encryptionKeySha256: { - serializedName: "x-ms-encryption-key-sha256", - xmlName: "x-ms-encryption-key-sha256", + requestId: { + serializedName: "x-ms-request-id", + xmlName: "x-ms-request-id", type: { name: "String" } }, - encryptionScope: { - serializedName: "x-ms-encryption-scope", - xmlName: "x-ms-encryption-scope", + version: { + serializedName: "x-ms-version", + xmlName: "x-ms-version", type: { name: "String" } }, - blobContentMD5: { - serializedName: "x-ms-blob-content-md5", - xmlName: "x-ms-blob-content-md5", + date: { + serializedName: "date", + xmlName: "date", type: { - name: "ByteArray" + name: "DateTimeRfc1123" } - }, - tagCount: { - serializedName: "x-ms-tag-count", - xmlName: "x-ms-tag-count", + } + } + } + }, ContainerRenewLeaseExceptionHeaders = { + serializedName: "Container_renewLeaseExceptionHeaders", + type: { + name: "Composite", + className: "ContainerRenewLeaseExceptionHeaders", + modelProperties: { + errorCode: { + serializedName: "x-ms-error-code", + xmlName: "x-ms-error-code", type: { - name: "Number" + name: "String" } - }, - isSealed: { - serializedName: "x-ms-blob-sealed", - xmlName: "x-ms-blob-sealed", + } + } + } + }, ContainerBreakLeaseHeaders = { + serializedName: "Container_breakLeaseHeaders", + type: { + name: "Composite", + className: "ContainerBreakLeaseHeaders", + modelProperties: { + etag: { + serializedName: "etag", + xmlName: "etag", type: { - name: "Boolean" + name: "String" } }, - lastAccessed: { - serializedName: "x-ms-last-access-time", - xmlName: "x-ms-last-access-time", + lastModified: { + serializedName: "last-modified", + xmlName: "last-modified", type: { name: "DateTimeRfc1123" } }, - immutabilityPolicyExpiresOn: { - serializedName: "x-ms-immutability-policy-until-date", - xmlName: "x-ms-immutability-policy-until-date", + leaseTime: { + serializedName: "x-ms-lease-time", + xmlName: "x-ms-lease-time", type: { - name: "DateTimeRfc1123" + name: "Number" } }, - immutabilityPolicyMode: { - serializedName: "x-ms-immutability-policy-mode", - xmlName: "x-ms-immutability-policy-mode", + clientRequestId: { + serializedName: "x-ms-client-request-id", + xmlName: "x-ms-client-request-id", type: { - name: "Enum", - allowedValues: [ "Mutable", "Unlocked", "Locked" ] + name: "String" } }, - legalHold: { - serializedName: "x-ms-legal-hold", - xmlName: "x-ms-legal-hold", + requestId: { + serializedName: "x-ms-request-id", + xmlName: "x-ms-request-id", type: { - name: "Boolean" + name: "String" } }, - errorCode: { - serializedName: "x-ms-error-code", - xmlName: "x-ms-error-code", + version: { + serializedName: "x-ms-version", + xmlName: "x-ms-version", type: { name: "String" } }, - contentCrc64: { - serializedName: "x-ms-content-crc64", - xmlName: "x-ms-content-crc64", + date: { + serializedName: "date", + xmlName: "date", type: { - name: "ByteArray" + name: "DateTimeRfc1123" } } } } - }, BlobDownloadExceptionHeaders = { - serializedName: "Blob_downloadExceptionHeaders", + }, ContainerBreakLeaseExceptionHeaders = { + serializedName: "Container_breakLeaseExceptionHeaders", type: { name: "Composite", - className: "BlobDownloadExceptionHeaders", + className: "ContainerBreakLeaseExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -10978,155 +11749,149 @@ } } } - }, BlobGetPropertiesHeaders = { - serializedName: "Blob_getPropertiesHeaders", + }, ContainerChangeLeaseHeaders = { + serializedName: "Container_changeLeaseHeaders", type: { name: "Composite", - className: "BlobGetPropertiesHeaders", + className: "ContainerChangeLeaseHeaders", modelProperties: { - lastModified: { - serializedName: "last-modified", - xmlName: "last-modified", - type: { - name: "DateTimeRfc1123" - } - }, - createdOn: { - serializedName: "x-ms-creation-time", - xmlName: "x-ms-creation-time", - type: { - name: "DateTimeRfc1123" - } - }, - metadata: { - serializedName: "x-ms-meta", - xmlName: "x-ms-meta", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - }, - headerCollectionPrefix: "x-ms-meta-" - }, - objectReplicationPolicyId: { - serializedName: "x-ms-or-policy-id", - xmlName: "x-ms-or-policy-id", + etag: { + serializedName: "etag", + xmlName: "etag", type: { name: "String" } }, - objectReplicationRules: { - serializedName: "x-ms-or", - xmlName: "x-ms-or", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - }, - headerCollectionPrefix: "x-ms-or-" - }, - blobType: { - serializedName: "x-ms-blob-type", - xmlName: "x-ms-blob-type", - type: { - name: "Enum", - allowedValues: [ "BlockBlob", "PageBlob", "AppendBlob" ] - } - }, - copyCompletedOn: { - serializedName: "x-ms-copy-completion-time", - xmlName: "x-ms-copy-completion-time", + lastModified: { + serializedName: "last-modified", + xmlName: "last-modified", type: { name: "DateTimeRfc1123" } }, - copyStatusDescription: { - serializedName: "x-ms-copy-status-description", - xmlName: "x-ms-copy-status-description", + leaseId: { + serializedName: "x-ms-lease-id", + xmlName: "x-ms-lease-id", type: { name: "String" } }, - copyId: { - serializedName: "x-ms-copy-id", - xmlName: "x-ms-copy-id", + clientRequestId: { + serializedName: "x-ms-client-request-id", + xmlName: "x-ms-client-request-id", type: { name: "String" } }, - copyProgress: { - serializedName: "x-ms-copy-progress", - xmlName: "x-ms-copy-progress", + requestId: { + serializedName: "x-ms-request-id", + xmlName: "x-ms-request-id", type: { name: "String" } }, - copySource: { - serializedName: "x-ms-copy-source", - xmlName: "x-ms-copy-source", + version: { + serializedName: "x-ms-version", + xmlName: "x-ms-version", type: { name: "String" } }, - copyStatus: { - serializedName: "x-ms-copy-status", - xmlName: "x-ms-copy-status", + date: { + serializedName: "date", + xmlName: "date", type: { - name: "Enum", - allowedValues: [ "pending", "success", "aborted", "failed" ] + name: "DateTimeRfc1123" } - }, - isIncrementalCopy: { - serializedName: "x-ms-incremental-copy", - xmlName: "x-ms-incremental-copy", + } + } + } + }, ContainerChangeLeaseExceptionHeaders = { + serializedName: "Container_changeLeaseExceptionHeaders", + type: { + name: "Composite", + className: "ContainerChangeLeaseExceptionHeaders", + modelProperties: { + errorCode: { + serializedName: "x-ms-error-code", + xmlName: "x-ms-error-code", type: { - name: "Boolean" + name: "String" } - }, - destinationSnapshot: { - serializedName: "x-ms-copy-destination-snapshot", - xmlName: "x-ms-copy-destination-snapshot", + } + } + } + }, ContainerListBlobFlatSegmentHeaders = { + serializedName: "Container_listBlobFlatSegmentHeaders", + type: { + name: "Composite", + className: "ContainerListBlobFlatSegmentHeaders", + modelProperties: { + contentType: { + serializedName: "content-type", + xmlName: "content-type", type: { name: "String" } }, - leaseDuration: { - serializedName: "x-ms-lease-duration", - xmlName: "x-ms-lease-duration", + clientRequestId: { + serializedName: "x-ms-client-request-id", + xmlName: "x-ms-client-request-id", type: { - name: "Enum", - allowedValues: [ "infinite", "fixed" ] + name: "String" } }, - leaseState: { - serializedName: "x-ms-lease-state", - xmlName: "x-ms-lease-state", + requestId: { + serializedName: "x-ms-request-id", + xmlName: "x-ms-request-id", type: { - name: "Enum", - allowedValues: [ "available", "leased", "expired", "breaking", "broken" ] + name: "String" } }, - leaseStatus: { - serializedName: "x-ms-lease-status", - xmlName: "x-ms-lease-status", + version: { + serializedName: "x-ms-version", + xmlName: "x-ms-version", type: { - name: "Enum", - allowedValues: [ "locked", "unlocked" ] + name: "String" } }, - contentLength: { - serializedName: "content-length", - xmlName: "content-length", + date: { + serializedName: "date", + xmlName: "date", type: { - name: "Number" + name: "DateTimeRfc1123" } }, + errorCode: { + serializedName: "x-ms-error-code", + xmlName: "x-ms-error-code", + type: { + name: "String" + } + } + } + } + }, ContainerListBlobFlatSegmentExceptionHeaders = { + serializedName: "Container_listBlobFlatSegmentExceptionHeaders", + type: { + name: "Composite", + className: "ContainerListBlobFlatSegmentExceptionHeaders", + modelProperties: { + errorCode: { + serializedName: "x-ms-error-code", + xmlName: "x-ms-error-code", + type: { + name: "String" + } + } + } + } + }, ContainerListBlobHierarchySegmentHeaders = { + serializedName: "Container_listBlobHierarchySegmentHeaders", + type: { + name: "Composite", + className: "ContainerListBlobHierarchySegmentHeaders", + modelProperties: { contentType: { serializedName: "content-type", xmlName: "content-type", @@ -11134,55 +11899,64 @@ name: "String" } }, - etag: { - serializedName: "etag", - xmlName: "etag", + clientRequestId: { + serializedName: "x-ms-client-request-id", + xmlName: "x-ms-client-request-id", type: { name: "String" } }, - contentMD5: { - serializedName: "content-md5", - xmlName: "content-md5", - type: { - name: "ByteArray" - } - }, - contentEncoding: { - serializedName: "content-encoding", - xmlName: "content-encoding", + requestId: { + serializedName: "x-ms-request-id", + xmlName: "x-ms-request-id", type: { name: "String" } }, - contentDisposition: { - serializedName: "content-disposition", - xmlName: "content-disposition", + version: { + serializedName: "x-ms-version", + xmlName: "x-ms-version", type: { name: "String" } }, - contentLanguage: { - serializedName: "content-language", - xmlName: "content-language", + date: { + serializedName: "date", + xmlName: "date", type: { - name: "String" + name: "DateTimeRfc1123" } }, - cacheControl: { - serializedName: "cache-control", - xmlName: "cache-control", + errorCode: { + serializedName: "x-ms-error-code", + xmlName: "x-ms-error-code", type: { name: "String" } - }, - blobSequenceNumber: { - serializedName: "x-ms-blob-sequence-number", - xmlName: "x-ms-blob-sequence-number", + } + } + } + }, ContainerListBlobHierarchySegmentExceptionHeaders = { + serializedName: "Container_listBlobHierarchySegmentExceptionHeaders", + type: { + name: "Composite", + className: "ContainerListBlobHierarchySegmentExceptionHeaders", + modelProperties: { + errorCode: { + serializedName: "x-ms-error-code", + xmlName: "x-ms-error-code", type: { - name: "Number" + name: "String" } - }, + } + } + } + }, ContainerGetAccountInfoHeaders = { + serializedName: "Container_getAccountInfoHeaders", + type: { + name: "Composite", + className: "ContainerGetAccountInfoHeaders", + modelProperties: { clientRequestId: { serializedName: "x-ms-client-request-id", xmlName: "x-ms-client-request-id", @@ -11211,229 +11985,244 @@ name: "DateTimeRfc1123" } }, - acceptRanges: { - serializedName: "accept-ranges", - xmlName: "accept-ranges", + skuName: { + serializedName: "x-ms-sku-name", + xmlName: "x-ms-sku-name", type: { - name: "String" + name: "Enum", + allowedValues: [ "Standard_LRS", "Standard_GRS", "Standard_RAGRS", "Standard_ZRS", "Premium_LRS" ] } }, - blobCommittedBlockCount: { - serializedName: "x-ms-blob-committed-block-count", - xmlName: "x-ms-blob-committed-block-count", + accountKind: { + serializedName: "x-ms-account-kind", + xmlName: "x-ms-account-kind", type: { - name: "Number" + name: "Enum", + allowedValues: [ "Storage", "BlobStorage", "StorageV2", "FileStorage", "BlockBlobStorage" ] } }, - isServerEncrypted: { - serializedName: "x-ms-server-encrypted", - xmlName: "x-ms-server-encrypted", + isHierarchicalNamespaceEnabled: { + serializedName: "x-ms-is-hns-enabled", + xmlName: "x-ms-is-hns-enabled", type: { name: "Boolean" } - }, - encryptionKeySha256: { - serializedName: "x-ms-encryption-key-sha256", - xmlName: "x-ms-encryption-key-sha256", + } + } + } + }, ContainerGetAccountInfoExceptionHeaders = { + serializedName: "Container_getAccountInfoExceptionHeaders", + type: { + name: "Composite", + className: "ContainerGetAccountInfoExceptionHeaders", + modelProperties: { + errorCode: { + serializedName: "x-ms-error-code", + xmlName: "x-ms-error-code", type: { name: "String" } - }, - encryptionScope: { - serializedName: "x-ms-encryption-scope", - xmlName: "x-ms-encryption-scope", + } + } + } + }, BlobDownloadHeaders = { + serializedName: "Blob_downloadHeaders", + type: { + name: "Composite", + className: "BlobDownloadHeaders", + modelProperties: { + lastModified: { + serializedName: "last-modified", + xmlName: "last-modified", type: { - name: "String" + name: "DateTimeRfc1123" } }, - accessTier: { - serializedName: "x-ms-access-tier", - xmlName: "x-ms-access-tier", + createdOn: { + serializedName: "x-ms-creation-time", + xmlName: "x-ms-creation-time", type: { - name: "String" + name: "DateTimeRfc1123" } }, - accessTierInferred: { - serializedName: "x-ms-access-tier-inferred", - xmlName: "x-ms-access-tier-inferred", + metadata: { + serializedName: "x-ms-meta", + headerCollectionPrefix: "x-ms-meta-", + xmlName: "x-ms-meta", type: { - name: "Boolean" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } }, - archiveStatus: { - serializedName: "x-ms-archive-status", - xmlName: "x-ms-archive-status", + objectReplicationPolicyId: { + serializedName: "x-ms-or-policy-id", + xmlName: "x-ms-or-policy-id", type: { name: "String" } }, - accessTierChangedOn: { - serializedName: "x-ms-access-tier-change-time", - xmlName: "x-ms-access-tier-change-time", - type: { - name: "DateTimeRfc1123" + objectReplicationRules: { + serializedName: "x-ms-or", + headerCollectionPrefix: "x-ms-or-", + xmlName: "x-ms-or", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } } }, - versionId: { - serializedName: "x-ms-version-id", - xmlName: "x-ms-version-id", + contentLength: { + serializedName: "content-length", + xmlName: "content-length", + type: { + name: "Number" + } + }, + contentType: { + serializedName: "content-type", + xmlName: "content-type", type: { name: "String" } }, - isCurrentVersion: { - serializedName: "x-ms-is-current-version", - xmlName: "x-ms-is-current-version", + contentRange: { + serializedName: "content-range", + xmlName: "content-range", type: { - name: "Boolean" + name: "String" } }, - tagCount: { - serializedName: "x-ms-tag-count", - xmlName: "x-ms-tag-count", + etag: { + serializedName: "etag", + xmlName: "etag", type: { - name: "Number" + name: "String" } }, - expiresOn: { - serializedName: "x-ms-expiry-time", - xmlName: "x-ms-expiry-time", + contentMD5: { + serializedName: "content-md5", + xmlName: "content-md5", type: { - name: "DateTimeRfc1123" + name: "ByteArray" } }, - isSealed: { - serializedName: "x-ms-blob-sealed", - xmlName: "x-ms-blob-sealed", + contentEncoding: { + serializedName: "content-encoding", + xmlName: "content-encoding", type: { - name: "Boolean" + name: "String" } }, - rehydratePriority: { - serializedName: "x-ms-rehydrate-priority", - xmlName: "x-ms-rehydrate-priority", + cacheControl: { + serializedName: "cache-control", + xmlName: "cache-control", type: { - name: "Enum", - allowedValues: [ "High", "Standard" ] + name: "String" } }, - lastAccessed: { - serializedName: "x-ms-last-access-time", - xmlName: "x-ms-last-access-time", + contentDisposition: { + serializedName: "content-disposition", + xmlName: "content-disposition", type: { - name: "DateTimeRfc1123" + name: "String" } }, - immutabilityPolicyExpiresOn: { - serializedName: "x-ms-immutability-policy-until-date", - xmlName: "x-ms-immutability-policy-until-date", + contentLanguage: { + serializedName: "content-language", + xmlName: "content-language", type: { - name: "DateTimeRfc1123" + name: "String" } }, - immutabilityPolicyMode: { - serializedName: "x-ms-immutability-policy-mode", - xmlName: "x-ms-immutability-policy-mode", + blobSequenceNumber: { + serializedName: "x-ms-blob-sequence-number", + xmlName: "x-ms-blob-sequence-number", + type: { + name: "Number" + } + }, + blobType: { + serializedName: "x-ms-blob-type", + xmlName: "x-ms-blob-type", type: { name: "Enum", - allowedValues: [ "Mutable", "Unlocked", "Locked" ] + allowedValues: [ "BlockBlob", "PageBlob", "AppendBlob" ] } }, - legalHold: { - serializedName: "x-ms-legal-hold", - xmlName: "x-ms-legal-hold", + copyCompletedOn: { + serializedName: "x-ms-copy-completion-time", + xmlName: "x-ms-copy-completion-time", type: { - name: "Boolean" + name: "DateTimeRfc1123" } }, - errorCode: { - serializedName: "x-ms-error-code", - xmlName: "x-ms-error-code", + copyStatusDescription: { + serializedName: "x-ms-copy-status-description", + xmlName: "x-ms-copy-status-description", type: { name: "String" } - } - } - } - }, BlobGetPropertiesExceptionHeaders = { - serializedName: "Blob_getPropertiesExceptionHeaders", - type: { - name: "Composite", - className: "BlobGetPropertiesExceptionHeaders", - modelProperties: { - errorCode: { - serializedName: "x-ms-error-code", - xmlName: "x-ms-error-code", + }, + copyId: { + serializedName: "x-ms-copy-id", + xmlName: "x-ms-copy-id", type: { name: "String" } - } - } - } - }, BlobDeleteHeaders = { - serializedName: "Blob_deleteHeaders", - type: { - name: "Composite", - className: "BlobDeleteHeaders", - modelProperties: { - clientRequestId: { - serializedName: "x-ms-client-request-id", - xmlName: "x-ms-client-request-id", + }, + copyProgress: { + serializedName: "x-ms-copy-progress", + xmlName: "x-ms-copy-progress", type: { name: "String" } }, - requestId: { - serializedName: "x-ms-request-id", - xmlName: "x-ms-request-id", + copySource: { + serializedName: "x-ms-copy-source", + xmlName: "x-ms-copy-source", type: { name: "String" } }, - version: { - serializedName: "x-ms-version", - xmlName: "x-ms-version", + copyStatus: { + serializedName: "x-ms-copy-status", + xmlName: "x-ms-copy-status", type: { - name: "String" + name: "Enum", + allowedValues: [ "pending", "success", "aborted", "failed" ] } }, - date: { - serializedName: "date", - xmlName: "date", + leaseDuration: { + serializedName: "x-ms-lease-duration", + xmlName: "x-ms-lease-duration", type: { - name: "DateTimeRfc1123" + name: "Enum", + allowedValues: [ "infinite", "fixed" ] } }, - errorCode: { - serializedName: "x-ms-error-code", - xmlName: "x-ms-error-code", + leaseState: { + serializedName: "x-ms-lease-state", + xmlName: "x-ms-lease-state", type: { - name: "String" + name: "Enum", + allowedValues: [ "available", "leased", "expired", "breaking", "broken" ] } - } - } - } - }, BlobDeleteExceptionHeaders = { - serializedName: "Blob_deleteExceptionHeaders", - type: { - name: "Composite", - className: "BlobDeleteExceptionHeaders", - modelProperties: { - errorCode: { - serializedName: "x-ms-error-code", - xmlName: "x-ms-error-code", + }, + leaseStatus: { + serializedName: "x-ms-lease-status", + xmlName: "x-ms-lease-status", type: { - name: "String" + name: "Enum", + allowedValues: [ "locked", "unlocked" ] } - } - } - } - }, BlobUndeleteHeaders = { - serializedName: "Blob_undeleteHeaders", - type: { - name: "Composite", - className: "BlobUndeleteHeaders", - modelProperties: { + }, clientRequestId: { serializedName: "x-ms-client-request-id", xmlName: "x-ms-client-request-id", @@ -11455,6 +12244,27 @@ name: "String" } }, + versionId: { + serializedName: "x-ms-version-id", + xmlName: "x-ms-version-id", + type: { + name: "String" + } + }, + isCurrentVersion: { + serializedName: "x-ms-is-current-version", + xmlName: "x-ms-is-current-version", + type: { + name: "Boolean" + } + }, + acceptRanges: { + serializedName: "accept-ranges", + xmlName: "accept-ranges", + type: { + name: "String" + } + }, date: { serializedName: "date", xmlName: "date", @@ -11462,85 +12272,105 @@ name: "DateTimeRfc1123" } }, - errorCode: { - serializedName: "x-ms-error-code", - xmlName: "x-ms-error-code", + blobCommittedBlockCount: { + serializedName: "x-ms-blob-committed-block-count", + xmlName: "x-ms-blob-committed-block-count", type: { - name: "String" + name: "Number" } - } - } - } - }, BlobUndeleteExceptionHeaders = { - serializedName: "Blob_undeleteExceptionHeaders", - type: { - name: "Composite", - className: "BlobUndeleteExceptionHeaders", - modelProperties: { - errorCode: { - serializedName: "x-ms-error-code", - xmlName: "x-ms-error-code", + }, + isServerEncrypted: { + serializedName: "x-ms-server-encrypted", + xmlName: "x-ms-server-encrypted", + type: { + name: "Boolean" + } + }, + encryptionKeySha256: { + serializedName: "x-ms-encryption-key-sha256", + xmlName: "x-ms-encryption-key-sha256", type: { name: "String" } - } - } - } - }, BlobSetExpiryHeaders = { - serializedName: "Blob_setExpiryHeaders", - type: { - name: "Composite", - className: "BlobSetExpiryHeaders", - modelProperties: { - etag: { - serializedName: "etag", - xmlName: "etag", + }, + encryptionScope: { + serializedName: "x-ms-encryption-scope", + xmlName: "x-ms-encryption-scope", type: { name: "String" } }, - lastModified: { - serializedName: "last-modified", - xmlName: "last-modified", + blobContentMD5: { + serializedName: "x-ms-blob-content-md5", + xmlName: "x-ms-blob-content-md5", + type: { + name: "ByteArray" + } + }, + tagCount: { + serializedName: "x-ms-tag-count", + xmlName: "x-ms-tag-count", + type: { + name: "Number" + } + }, + isSealed: { + serializedName: "x-ms-blob-sealed", + xmlName: "x-ms-blob-sealed", + type: { + name: "Boolean" + } + }, + lastAccessed: { + serializedName: "x-ms-last-access-time", + xmlName: "x-ms-last-access-time", type: { name: "DateTimeRfc1123" } }, - clientRequestId: { - serializedName: "x-ms-client-request-id", - xmlName: "x-ms-client-request-id", + immutabilityPolicyExpiresOn: { + serializedName: "x-ms-immutability-policy-until-date", + xmlName: "x-ms-immutability-policy-until-date", type: { - name: "String" + name: "DateTimeRfc1123" } }, - requestId: { - serializedName: "x-ms-request-id", - xmlName: "x-ms-request-id", + immutabilityPolicyMode: { + serializedName: "x-ms-immutability-policy-mode", + xmlName: "x-ms-immutability-policy-mode", type: { - name: "String" + name: "Enum", + allowedValues: [ "Mutable", "Unlocked", "Locked" ] } }, - version: { - serializedName: "x-ms-version", - xmlName: "x-ms-version", + legalHold: { + serializedName: "x-ms-legal-hold", + xmlName: "x-ms-legal-hold", + type: { + name: "Boolean" + } + }, + errorCode: { + serializedName: "x-ms-error-code", + xmlName: "x-ms-error-code", type: { name: "String" } }, - date: { - serializedName: "date", - xmlName: "date", + contentCrc64: { + serializedName: "x-ms-content-crc64", + xmlName: "x-ms-content-crc64", type: { - name: "DateTimeRfc1123" + name: "ByteArray" } } } } - }, BlobSetExpiryExceptionHeaders = { - serializedName: "Blob_setExpiryExceptionHeaders", + }, BlobDownloadExceptionHeaders = { + serializedName: "Blob_downloadExceptionHeaders", type: { name: "Composite", - className: "BlobSetExpiryExceptionHeaders", + className: "BlobDownloadExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -11551,19 +12381,12 @@ } } } - }, BlobSetHttpHeadersHeaders = { - serializedName: "Blob_setHttpHeadersHeaders", + }, BlobGetPropertiesHeaders = { + serializedName: "Blob_getPropertiesHeaders", type: { name: "Composite", - className: "BlobSetHttpHeadersHeaders", + className: "BlobGetPropertiesHeaders", modelProperties: { - etag: { - serializedName: "etag", - xmlName: "etag", - type: { - name: "String" - } - }, lastModified: { serializedName: "last-modified", xmlName: "last-modified", @@ -11571,188 +12394,198 @@ name: "DateTimeRfc1123" } }, - blobSequenceNumber: { - serializedName: "x-ms-blob-sequence-number", - xmlName: "x-ms-blob-sequence-number", + createdOn: { + serializedName: "x-ms-creation-time", + xmlName: "x-ms-creation-time", type: { - name: "Number" + name: "DateTimeRfc1123" } }, - clientRequestId: { - serializedName: "x-ms-client-request-id", - xmlName: "x-ms-client-request-id", + metadata: { + serializedName: "x-ms-meta", + headerCollectionPrefix: "x-ms-meta-", + xmlName: "x-ms-meta", type: { - name: "String" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } }, - requestId: { - serializedName: "x-ms-request-id", - xmlName: "x-ms-request-id", + objectReplicationPolicyId: { + serializedName: "x-ms-or-policy-id", + xmlName: "x-ms-or-policy-id", type: { name: "String" } }, - version: { - serializedName: "x-ms-version", - xmlName: "x-ms-version", + objectReplicationRules: { + serializedName: "x-ms-or", + headerCollectionPrefix: "x-ms-or-", + xmlName: "x-ms-or", type: { - name: "String" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } }, - date: { - serializedName: "date", - xmlName: "date", + blobType: { + serializedName: "x-ms-blob-type", + xmlName: "x-ms-blob-type", + type: { + name: "Enum", + allowedValues: [ "BlockBlob", "PageBlob", "AppendBlob" ] + } + }, + copyCompletedOn: { + serializedName: "x-ms-copy-completion-time", + xmlName: "x-ms-copy-completion-time", type: { name: "DateTimeRfc1123" } }, - errorCode: { - serializedName: "x-ms-error-code", - xmlName: "x-ms-error-code", + copyStatusDescription: { + serializedName: "x-ms-copy-status-description", + xmlName: "x-ms-copy-status-description", type: { name: "String" } - } - } - } - }, BlobSetHttpHeadersExceptionHeaders = { - serializedName: "Blob_setHttpHeadersExceptionHeaders", - type: { - name: "Composite", - className: "BlobSetHttpHeadersExceptionHeaders", - modelProperties: { - errorCode: { - serializedName: "x-ms-error-code", - xmlName: "x-ms-error-code", + }, + copyId: { + serializedName: "x-ms-copy-id", + xmlName: "x-ms-copy-id", type: { name: "String" } - } - } - } - }, BlobSetImmutabilityPolicyHeaders = { - serializedName: "Blob_setImmutabilityPolicyHeaders", - type: { - name: "Composite", - className: "BlobSetImmutabilityPolicyHeaders", - modelProperties: { - clientRequestId: { - serializedName: "x-ms-client-request-id", - xmlName: "x-ms-client-request-id", + }, + copyProgress: { + serializedName: "x-ms-copy-progress", + xmlName: "x-ms-copy-progress", type: { name: "String" } }, - requestId: { - serializedName: "x-ms-request-id", - xmlName: "x-ms-request-id", + copySource: { + serializedName: "x-ms-copy-source", + xmlName: "x-ms-copy-source", type: { name: "String" } }, - version: { - serializedName: "x-ms-version", - xmlName: "x-ms-version", + copyStatus: { + serializedName: "x-ms-copy-status", + xmlName: "x-ms-copy-status", type: { - name: "String" + name: "Enum", + allowedValues: [ "pending", "success", "aborted", "failed" ] } }, - date: { - serializedName: "date", - xmlName: "date", + isIncrementalCopy: { + serializedName: "x-ms-incremental-copy", + xmlName: "x-ms-incremental-copy", type: { - name: "DateTimeRfc1123" + name: "Boolean" } }, - immutabilityPolicyExpiry: { - serializedName: "x-ms-immutability-policy-until-date", - xmlName: "x-ms-immutability-policy-until-date", + destinationSnapshot: { + serializedName: "x-ms-copy-destination-snapshot", + xmlName: "x-ms-copy-destination-snapshot", type: { - name: "DateTimeRfc1123" + name: "String" } }, - immutabilityPolicyMode: { - serializedName: "x-ms-immutability-policy-mode", - xmlName: "x-ms-immutability-policy-mode", + leaseDuration: { + serializedName: "x-ms-lease-duration", + xmlName: "x-ms-lease-duration", type: { name: "Enum", - allowedValues: [ "Mutable", "Unlocked", "Locked" ] + allowedValues: [ "infinite", "fixed" ] } - } - } - } - }, BlobSetImmutabilityPolicyExceptionHeaders = { - serializedName: "Blob_setImmutabilityPolicyExceptionHeaders", - type: { - name: "Composite", - className: "BlobSetImmutabilityPolicyExceptionHeaders", - modelProperties: { - errorCode: { - serializedName: "x-ms-error-code", - xmlName: "x-ms-error-code", + }, + leaseState: { + serializedName: "x-ms-lease-state", + xmlName: "x-ms-lease-state", type: { - name: "String" + name: "Enum", + allowedValues: [ "available", "leased", "expired", "breaking", "broken" ] } - } - } - } - }, BlobDeleteImmutabilityPolicyHeaders = { - serializedName: "Blob_deleteImmutabilityPolicyHeaders", - type: { - name: "Composite", - className: "BlobDeleteImmutabilityPolicyHeaders", - modelProperties: { - clientRequestId: { - serializedName: "x-ms-client-request-id", - xmlName: "x-ms-client-request-id", + }, + leaseStatus: { + serializedName: "x-ms-lease-status", + xmlName: "x-ms-lease-status", + type: { + name: "Enum", + allowedValues: [ "locked", "unlocked" ] + } + }, + contentLength: { + serializedName: "content-length", + xmlName: "content-length", + type: { + name: "Number" + } + }, + contentType: { + serializedName: "content-type", + xmlName: "content-type", type: { name: "String" } }, - requestId: { - serializedName: "x-ms-request-id", - xmlName: "x-ms-request-id", + etag: { + serializedName: "etag", + xmlName: "etag", type: { name: "String" } }, - version: { - serializedName: "x-ms-version", - xmlName: "x-ms-version", + contentMD5: { + serializedName: "content-md5", + xmlName: "content-md5", + type: { + name: "ByteArray" + } + }, + contentEncoding: { + serializedName: "content-encoding", + xmlName: "content-encoding", type: { name: "String" } }, - date: { - serializedName: "date", - xmlName: "date", + contentDisposition: { + serializedName: "content-disposition", + xmlName: "content-disposition", type: { - name: "DateTimeRfc1123" + name: "String" } - } - } - } - }, BlobDeleteImmutabilityPolicyExceptionHeaders = { - serializedName: "Blob_deleteImmutabilityPolicyExceptionHeaders", - type: { - name: "Composite", - className: "BlobDeleteImmutabilityPolicyExceptionHeaders", - modelProperties: { - errorCode: { - serializedName: "x-ms-error-code", - xmlName: "x-ms-error-code", + }, + contentLanguage: { + serializedName: "content-language", + xmlName: "content-language", type: { name: "String" } - } - } - } - }, BlobSetLegalHoldHeaders = { - serializedName: "Blob_setLegalHoldHeaders", - type: { - name: "Composite", - className: "BlobSetLegalHoldHeaders", - modelProperties: { + }, + cacheControl: { + serializedName: "cache-control", + xmlName: "cache-control", + type: { + name: "String" + } + }, + blobSequenceNumber: { + serializedName: "x-ms-blob-sequence-number", + xmlName: "x-ms-blob-sequence-number", + type: { + name: "Number" + } + }, clientRequestId: { serializedName: "x-ms-client-request-id", xmlName: "x-ms-client-request-id", @@ -11781,69 +12614,67 @@ name: "DateTimeRfc1123" } }, - legalHold: { - serializedName: "x-ms-legal-hold", - xmlName: "x-ms-legal-hold", + acceptRanges: { + serializedName: "accept-ranges", + xmlName: "accept-ranges", + type: { + name: "String" + } + }, + blobCommittedBlockCount: { + serializedName: "x-ms-blob-committed-block-count", + xmlName: "x-ms-blob-committed-block-count", + type: { + name: "Number" + } + }, + isServerEncrypted: { + serializedName: "x-ms-server-encrypted", + xmlName: "x-ms-server-encrypted", type: { name: "Boolean" } - } - } - } - }, BlobSetLegalHoldExceptionHeaders = { - serializedName: "Blob_setLegalHoldExceptionHeaders", - type: { - name: "Composite", - className: "BlobSetLegalHoldExceptionHeaders", - modelProperties: { - errorCode: { - serializedName: "x-ms-error-code", - xmlName: "x-ms-error-code", + }, + encryptionKeySha256: { + serializedName: "x-ms-encryption-key-sha256", + xmlName: "x-ms-encryption-key-sha256", type: { name: "String" } - } - } - } - }, BlobSetMetadataHeaders = { - serializedName: "Blob_setMetadataHeaders", - type: { - name: "Composite", - className: "BlobSetMetadataHeaders", - modelProperties: { - etag: { - serializedName: "etag", - xmlName: "etag", + }, + encryptionScope: { + serializedName: "x-ms-encryption-scope", + xmlName: "x-ms-encryption-scope", type: { name: "String" } }, - lastModified: { - serializedName: "last-modified", - xmlName: "last-modified", + accessTier: { + serializedName: "x-ms-access-tier", + xmlName: "x-ms-access-tier", type: { - name: "DateTimeRfc1123" + name: "String" } }, - clientRequestId: { - serializedName: "x-ms-client-request-id", - xmlName: "x-ms-client-request-id", + accessTierInferred: { + serializedName: "x-ms-access-tier-inferred", + xmlName: "x-ms-access-tier-inferred", type: { - name: "String" + name: "Boolean" } }, - requestId: { - serializedName: "x-ms-request-id", - xmlName: "x-ms-request-id", + archiveStatus: { + serializedName: "x-ms-archive-status", + xmlName: "x-ms-archive-status", type: { name: "String" } }, - version: { - serializedName: "x-ms-version", - xmlName: "x-ms-version", + accessTierChangedOn: { + serializedName: "x-ms-access-tier-change-time", + xmlName: "x-ms-access-tier-change-time", type: { - name: "String" + name: "DateTimeRfc1123" } }, versionId: { @@ -11853,32 +12684,69 @@ name: "String" } }, - date: { - serializedName: "date", - xmlName: "date", + isCurrentVersion: { + serializedName: "x-ms-is-current-version", + xmlName: "x-ms-is-current-version", + type: { + name: "Boolean" + } + }, + tagCount: { + serializedName: "x-ms-tag-count", + xmlName: "x-ms-tag-count", + type: { + name: "Number" + } + }, + expiresOn: { + serializedName: "x-ms-expiry-time", + xmlName: "x-ms-expiry-time", type: { name: "DateTimeRfc1123" } }, - isServerEncrypted: { - serializedName: "x-ms-request-server-encrypted", - xmlName: "x-ms-request-server-encrypted", + isSealed: { + serializedName: "x-ms-blob-sealed", + xmlName: "x-ms-blob-sealed", type: { name: "Boolean" } }, - encryptionKeySha256: { - serializedName: "x-ms-encryption-key-sha256", - xmlName: "x-ms-encryption-key-sha256", + rehydratePriority: { + serializedName: "x-ms-rehydrate-priority", + xmlName: "x-ms-rehydrate-priority", type: { - name: "String" + name: "Enum", + allowedValues: [ "High", "Standard" ] } }, - encryptionScope: { - serializedName: "x-ms-encryption-scope", - xmlName: "x-ms-encryption-scope", + lastAccessed: { + serializedName: "x-ms-last-access-time", + xmlName: "x-ms-last-access-time", type: { - name: "String" + name: "DateTimeRfc1123" + } + }, + immutabilityPolicyExpiresOn: { + serializedName: "x-ms-immutability-policy-until-date", + xmlName: "x-ms-immutability-policy-until-date", + type: { + name: "DateTimeRfc1123" + } + }, + immutabilityPolicyMode: { + serializedName: "x-ms-immutability-policy-mode", + xmlName: "x-ms-immutability-policy-mode", + type: { + name: "Enum", + allowedValues: [ "Mutable", "Unlocked", "Locked" ] + } + }, + legalHold: { + serializedName: "x-ms-legal-hold", + xmlName: "x-ms-legal-hold", + type: { + name: "Boolean" } }, errorCode: { @@ -11890,11 +12758,11 @@ } } } - }, BlobSetMetadataExceptionHeaders = { - serializedName: "Blob_setMetadataExceptionHeaders", + }, BlobGetPropertiesExceptionHeaders = { + serializedName: "Blob_getPropertiesExceptionHeaders", type: { name: "Composite", - className: "BlobSetMetadataExceptionHeaders", + className: "BlobGetPropertiesExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -11905,33 +12773,70 @@ } } } - }, BlobAcquireLeaseHeaders = { - serializedName: "Blob_acquireLeaseHeaders", + }, BlobDeleteHeaders = { + serializedName: "Blob_deleteHeaders", type: { name: "Composite", - className: "BlobAcquireLeaseHeaders", + className: "BlobDeleteHeaders", modelProperties: { - etag: { - serializedName: "etag", - xmlName: "etag", - type: { - name: "String" + clientRequestId: { + serializedName: "x-ms-client-request-id", + xmlName: "x-ms-client-request-id", + type: { + name: "String" } }, - lastModified: { - serializedName: "last-modified", - xmlName: "last-modified", + requestId: { + serializedName: "x-ms-request-id", + xmlName: "x-ms-request-id", type: { - name: "DateTimeRfc1123" + name: "String" } }, - leaseId: { - serializedName: "x-ms-lease-id", - xmlName: "x-ms-lease-id", + version: { + serializedName: "x-ms-version", + xmlName: "x-ms-version", type: { name: "String" } }, + date: { + serializedName: "date", + xmlName: "date", + type: { + name: "DateTimeRfc1123" + } + }, + errorCode: { + serializedName: "x-ms-error-code", + xmlName: "x-ms-error-code", + type: { + name: "String" + } + } + } + } + }, BlobDeleteExceptionHeaders = { + serializedName: "Blob_deleteExceptionHeaders", + type: { + name: "Composite", + className: "BlobDeleteExceptionHeaders", + modelProperties: { + errorCode: { + serializedName: "x-ms-error-code", + xmlName: "x-ms-error-code", + type: { + name: "String" + } + } + } + } + }, BlobUndeleteHeaders = { + serializedName: "Blob_undeleteHeaders", + type: { + name: "Composite", + className: "BlobUndeleteHeaders", + modelProperties: { clientRequestId: { serializedName: "x-ms-client-request-id", xmlName: "x-ms-client-request-id", @@ -11959,14 +12864,21 @@ type: { name: "DateTimeRfc1123" } + }, + errorCode: { + serializedName: "x-ms-error-code", + xmlName: "x-ms-error-code", + type: { + name: "String" + } } } } - }, BlobAcquireLeaseExceptionHeaders = { - serializedName: "Blob_acquireLeaseExceptionHeaders", + }, BlobUndeleteExceptionHeaders = { + serializedName: "Blob_undeleteExceptionHeaders", type: { name: "Composite", - className: "BlobAcquireLeaseExceptionHeaders", + className: "BlobUndeleteExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -11977,11 +12889,11 @@ } } } - }, BlobReleaseLeaseHeaders = { - serializedName: "Blob_releaseLeaseHeaders", + }, BlobSetExpiryHeaders = { + serializedName: "Blob_setExpiryHeaders", type: { name: "Composite", - className: "BlobReleaseLeaseHeaders", + className: "BlobSetExpiryHeaders", modelProperties: { etag: { serializedName: "etag", @@ -12027,11 +12939,11 @@ } } } - }, BlobReleaseLeaseExceptionHeaders = { - serializedName: "Blob_releaseLeaseExceptionHeaders", + }, BlobSetExpiryExceptionHeaders = { + serializedName: "Blob_setExpiryExceptionHeaders", type: { name: "Composite", - className: "BlobReleaseLeaseExceptionHeaders", + className: "BlobSetExpiryExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -12042,11 +12954,11 @@ } } } - }, BlobRenewLeaseHeaders = { - serializedName: "Blob_renewLeaseHeaders", + }, BlobSetHttpHeadersHeaders = { + serializedName: "Blob_setHttpHeadersHeaders", type: { name: "Composite", - className: "BlobRenewLeaseHeaders", + className: "BlobSetHttpHeadersHeaders", modelProperties: { etag: { serializedName: "etag", @@ -12062,11 +12974,11 @@ name: "DateTimeRfc1123" } }, - leaseId: { - serializedName: "x-ms-lease-id", - xmlName: "x-ms-lease-id", + blobSequenceNumber: { + serializedName: "x-ms-blob-sequence-number", + xmlName: "x-ms-blob-sequence-number", type: { - name: "String" + name: "Number" } }, clientRequestId: { @@ -12096,14 +13008,21 @@ type: { name: "DateTimeRfc1123" } + }, + errorCode: { + serializedName: "x-ms-error-code", + xmlName: "x-ms-error-code", + type: { + name: "String" + } } } } - }, BlobRenewLeaseExceptionHeaders = { - serializedName: "Blob_renewLeaseExceptionHeaders", + }, BlobSetHttpHeadersExceptionHeaders = { + serializedName: "Blob_setHttpHeadersExceptionHeaders", type: { name: "Composite", - className: "BlobRenewLeaseExceptionHeaders", + className: "BlobSetHttpHeadersExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -12114,26 +13033,12 @@ } } } - }, BlobChangeLeaseHeaders = { - serializedName: "Blob_changeLeaseHeaders", + }, BlobSetImmutabilityPolicyHeaders = { + serializedName: "Blob_setImmutabilityPolicyHeaders", type: { name: "Composite", - className: "BlobChangeLeaseHeaders", + className: "BlobSetImmutabilityPolicyHeaders", modelProperties: { - etag: { - serializedName: "etag", - xmlName: "etag", - type: { - name: "String" - } - }, - lastModified: { - serializedName: "last-modified", - xmlName: "last-modified", - type: { - name: "DateTimeRfc1123" - } - }, clientRequestId: { serializedName: "x-ms-client-request-id", xmlName: "x-ms-client-request-id", @@ -12148,13 +13053,6 @@ name: "String" } }, - leaseId: { - serializedName: "x-ms-lease-id", - xmlName: "x-ms-lease-id", - type: { - name: "String" - } - }, version: { serializedName: "x-ms-version", xmlName: "x-ms-version", @@ -12168,14 +13066,29 @@ type: { name: "DateTimeRfc1123" } + }, + immutabilityPolicyExpiry: { + serializedName: "x-ms-immutability-policy-until-date", + xmlName: "x-ms-immutability-policy-until-date", + type: { + name: "DateTimeRfc1123" + } + }, + immutabilityPolicyMode: { + serializedName: "x-ms-immutability-policy-mode", + xmlName: "x-ms-immutability-policy-mode", + type: { + name: "Enum", + allowedValues: [ "Mutable", "Unlocked", "Locked" ] + } } } } - }, BlobChangeLeaseExceptionHeaders = { - serializedName: "Blob_changeLeaseExceptionHeaders", + }, BlobSetImmutabilityPolicyExceptionHeaders = { + serializedName: "Blob_setImmutabilityPolicyExceptionHeaders", type: { name: "Composite", - className: "BlobChangeLeaseExceptionHeaders", + className: "BlobSetImmutabilityPolicyExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -12186,33 +13099,12 @@ } } } - }, BlobBreakLeaseHeaders = { - serializedName: "Blob_breakLeaseHeaders", + }, BlobDeleteImmutabilityPolicyHeaders = { + serializedName: "Blob_deleteImmutabilityPolicyHeaders", type: { name: "Composite", - className: "BlobBreakLeaseHeaders", + className: "BlobDeleteImmutabilityPolicyHeaders", modelProperties: { - etag: { - serializedName: "etag", - xmlName: "etag", - type: { - name: "String" - } - }, - lastModified: { - serializedName: "last-modified", - xmlName: "last-modified", - type: { - name: "DateTimeRfc1123" - } - }, - leaseTime: { - serializedName: "x-ms-lease-time", - xmlName: "x-ms-lease-time", - type: { - name: "Number" - } - }, clientRequestId: { serializedName: "x-ms-client-request-id", xmlName: "x-ms-client-request-id", @@ -12243,11 +13135,11 @@ } } } - }, BlobBreakLeaseExceptionHeaders = { - serializedName: "Blob_breakLeaseExceptionHeaders", + }, BlobDeleteImmutabilityPolicyExceptionHeaders = { + serializedName: "Blob_deleteImmutabilityPolicyExceptionHeaders", type: { name: "Composite", - className: "BlobBreakLeaseExceptionHeaders", + className: "BlobDeleteImmutabilityPolicyExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -12258,33 +13150,12 @@ } } } - }, BlobCreateSnapshotHeaders = { - serializedName: "Blob_createSnapshotHeaders", + }, BlobSetLegalHoldHeaders = { + serializedName: "Blob_setLegalHoldHeaders", type: { name: "Composite", - className: "BlobCreateSnapshotHeaders", + className: "BlobSetLegalHoldHeaders", modelProperties: { - snapshot: { - serializedName: "x-ms-snapshot", - xmlName: "x-ms-snapshot", - type: { - name: "String" - } - }, - etag: { - serializedName: "etag", - xmlName: "etag", - type: { - name: "String" - } - }, - lastModified: { - serializedName: "last-modified", - xmlName: "last-modified", - type: { - name: "DateTimeRfc1123" - } - }, clientRequestId: { serializedName: "x-ms-client-request-id", xmlName: "x-ms-client-request-id", @@ -12306,13 +13177,6 @@ name: "String" } }, - versionId: { - serializedName: "x-ms-version-id", - xmlName: "x-ms-version-id", - type: { - name: "String" - } - }, date: { serializedName: "date", xmlName: "date", @@ -12320,27 +13184,20 @@ name: "DateTimeRfc1123" } }, - isServerEncrypted: { - serializedName: "x-ms-request-server-encrypted", - xmlName: "x-ms-request-server-encrypted", + legalHold: { + serializedName: "x-ms-legal-hold", + xmlName: "x-ms-legal-hold", type: { name: "Boolean" } - }, - errorCode: { - serializedName: "x-ms-error-code", - xmlName: "x-ms-error-code", - type: { - name: "String" - } } } } - }, BlobCreateSnapshotExceptionHeaders = { - serializedName: "Blob_createSnapshotExceptionHeaders", + }, BlobSetLegalHoldExceptionHeaders = { + serializedName: "Blob_setLegalHoldExceptionHeaders", type: { name: "Composite", - className: "BlobCreateSnapshotExceptionHeaders", + className: "BlobSetLegalHoldExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -12351,11 +13208,11 @@ } } } - }, BlobStartCopyFromURLHeaders = { - serializedName: "Blob_startCopyFromURLHeaders", + }, BlobSetMetadataHeaders = { + serializedName: "Blob_setMetadataHeaders", type: { name: "Composite", - className: "BlobStartCopyFromURLHeaders", + className: "BlobSetMetadataHeaders", modelProperties: { etag: { serializedName: "etag", @@ -12406,19 +13263,25 @@ name: "DateTimeRfc1123" } }, - copyId: { - serializedName: "x-ms-copy-id", - xmlName: "x-ms-copy-id", + isServerEncrypted: { + serializedName: "x-ms-request-server-encrypted", + xmlName: "x-ms-request-server-encrypted", type: { - name: "String" + name: "Boolean" } }, - copyStatus: { - serializedName: "x-ms-copy-status", - xmlName: "x-ms-copy-status", + encryptionKeySha256: { + serializedName: "x-ms-encryption-key-sha256", + xmlName: "x-ms-encryption-key-sha256", type: { - name: "Enum", - allowedValues: [ "pending", "success", "aborted", "failed" ] + name: "String" + } + }, + encryptionScope: { + serializedName: "x-ms-encryption-scope", + xmlName: "x-ms-encryption-scope", + type: { + name: "String" } }, errorCode: { @@ -12430,11 +13293,11 @@ } } } - }, BlobStartCopyFromURLExceptionHeaders = { - serializedName: "Blob_startCopyFromURLExceptionHeaders", + }, BlobSetMetadataExceptionHeaders = { + serializedName: "Blob_setMetadataExceptionHeaders", type: { name: "Composite", - className: "BlobStartCopyFromURLExceptionHeaders", + className: "BlobSetMetadataExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -12445,11 +13308,11 @@ } } } - }, BlobCopyFromURLHeaders = { - serializedName: "Blob_copyFromURLHeaders", + }, BlobAcquireLeaseHeaders = { + serializedName: "Blob_acquireLeaseHeaders", type: { name: "Composite", - className: "BlobCopyFromURLHeaders", + className: "BlobAcquireLeaseHeaders", modelProperties: { etag: { serializedName: "etag", @@ -12465,6 +13328,13 @@ name: "DateTimeRfc1123" } }, + leaseId: { + serializedName: "x-ms-lease-id", + xmlName: "x-ms-lease-id", + type: { + name: "String" + } + }, clientRequestId: { serializedName: "x-ms-client-request-id", xmlName: "x-ms-client-request-id", @@ -12486,70 +13356,85 @@ name: "String" } }, - versionId: { - serializedName: "x-ms-version-id", - xmlName: "x-ms-version-id", - type: { - name: "String" - } - }, date: { serializedName: "date", xmlName: "date", type: { name: "DateTimeRfc1123" } - }, - copyId: { - serializedName: "x-ms-copy-id", - xmlName: "x-ms-copy-id", + } + } + } + }, BlobAcquireLeaseExceptionHeaders = { + serializedName: "Blob_acquireLeaseExceptionHeaders", + type: { + name: "Composite", + className: "BlobAcquireLeaseExceptionHeaders", + modelProperties: { + errorCode: { + serializedName: "x-ms-error-code", + xmlName: "x-ms-error-code", type: { name: "String" } - }, - copyStatus: { - defaultValue: "success", - isConstant: !0, - serializedName: "x-ms-copy-status", + } + } + } + }, BlobReleaseLeaseHeaders = { + serializedName: "Blob_releaseLeaseHeaders", + type: { + name: "Composite", + className: "BlobReleaseLeaseHeaders", + modelProperties: { + etag: { + serializedName: "etag", + xmlName: "etag", type: { name: "String" } }, - contentMD5: { - serializedName: "content-md5", - xmlName: "content-md5", + lastModified: { + serializedName: "last-modified", + xmlName: "last-modified", type: { - name: "ByteArray" + name: "DateTimeRfc1123" } }, - xMsContentCrc64: { - serializedName: "x-ms-content-crc64", - xmlName: "x-ms-content-crc64", + clientRequestId: { + serializedName: "x-ms-client-request-id", + xmlName: "x-ms-client-request-id", type: { - name: "ByteArray" + name: "String" } }, - encryptionScope: { - serializedName: "x-ms-encryption-scope", - xmlName: "x-ms-encryption-scope", + requestId: { + serializedName: "x-ms-request-id", + xmlName: "x-ms-request-id", type: { name: "String" } }, - errorCode: { - serializedName: "x-ms-error-code", - xmlName: "x-ms-error-code", + version: { + serializedName: "x-ms-version", + xmlName: "x-ms-version", type: { name: "String" } + }, + date: { + serializedName: "date", + xmlName: "date", + type: { + name: "DateTimeRfc1123" + } } } } - }, BlobCopyFromURLExceptionHeaders = { - serializedName: "Blob_copyFromURLExceptionHeaders", + }, BlobReleaseLeaseExceptionHeaders = { + serializedName: "Blob_releaseLeaseExceptionHeaders", type: { name: "Composite", - className: "BlobCopyFromURLExceptionHeaders", + className: "BlobReleaseLeaseExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -12560,12 +13445,33 @@ } } } - }, BlobAbortCopyFromURLHeaders = { - serializedName: "Blob_abortCopyFromURLHeaders", + }, BlobRenewLeaseHeaders = { + serializedName: "Blob_renewLeaseHeaders", type: { name: "Composite", - className: "BlobAbortCopyFromURLHeaders", + className: "BlobRenewLeaseHeaders", modelProperties: { + etag: { + serializedName: "etag", + xmlName: "etag", + type: { + name: "String" + } + }, + lastModified: { + serializedName: "last-modified", + xmlName: "last-modified", + type: { + name: "DateTimeRfc1123" + } + }, + leaseId: { + serializedName: "x-ms-lease-id", + xmlName: "x-ms-lease-id", + type: { + name: "String" + } + }, clientRequestId: { serializedName: "x-ms-client-request-id", xmlName: "x-ms-client-request-id", @@ -12593,21 +13499,14 @@ type: { name: "DateTimeRfc1123" } - }, - errorCode: { - serializedName: "x-ms-error-code", - xmlName: "x-ms-error-code", - type: { - name: "String" - } } } } - }, BlobAbortCopyFromURLExceptionHeaders = { - serializedName: "Blob_abortCopyFromURLExceptionHeaders", + }, BlobRenewLeaseExceptionHeaders = { + serializedName: "Blob_renewLeaseExceptionHeaders", type: { name: "Composite", - className: "BlobAbortCopyFromURLExceptionHeaders", + className: "BlobRenewLeaseExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -12618,12 +13517,26 @@ } } } - }, BlobSetTierHeaders = { - serializedName: "Blob_setTierHeaders", + }, BlobChangeLeaseHeaders = { + serializedName: "Blob_changeLeaseHeaders", type: { name: "Composite", - className: "BlobSetTierHeaders", + className: "BlobChangeLeaseHeaders", modelProperties: { + etag: { + serializedName: "etag", + xmlName: "etag", + type: { + name: "String" + } + }, + lastModified: { + serializedName: "last-modified", + xmlName: "last-modified", + type: { + name: "DateTimeRfc1123" + } + }, clientRequestId: { serializedName: "x-ms-client-request-id", xmlName: "x-ms-client-request-id", @@ -12638,6 +13551,13 @@ name: "String" } }, + leaseId: { + serializedName: "x-ms-lease-id", + xmlName: "x-ms-lease-id", + type: { + name: "String" + } + }, version: { serializedName: "x-ms-version", xmlName: "x-ms-version", @@ -12645,20 +13565,20 @@ name: "String" } }, - errorCode: { - serializedName: "x-ms-error-code", - xmlName: "x-ms-error-code", + date: { + serializedName: "date", + xmlName: "date", type: { - name: "String" + name: "DateTimeRfc1123" } } } } - }, BlobSetTierExceptionHeaders = { - serializedName: "Blob_setTierExceptionHeaders", + }, BlobChangeLeaseExceptionHeaders = { + serializedName: "Blob_changeLeaseExceptionHeaders", type: { name: "Composite", - className: "BlobSetTierExceptionHeaders", + className: "BlobChangeLeaseExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -12669,12 +13589,33 @@ } } } - }, BlobGetAccountInfoHeaders = { - serializedName: "Blob_getAccountInfoHeaders", + }, BlobBreakLeaseHeaders = { + serializedName: "Blob_breakLeaseHeaders", type: { name: "Composite", - className: "BlobGetAccountInfoHeaders", + className: "BlobBreakLeaseHeaders", modelProperties: { + etag: { + serializedName: "etag", + xmlName: "etag", + type: { + name: "String" + } + }, + lastModified: { + serializedName: "last-modified", + xmlName: "last-modified", + type: { + name: "DateTimeRfc1123" + } + }, + leaseTime: { + serializedName: "x-ms-lease-time", + xmlName: "x-ms-lease-time", + type: { + name: "Number" + } + }, clientRequestId: { serializedName: "x-ms-client-request-id", xmlName: "x-ms-client-request-id", @@ -12702,30 +13643,14 @@ type: { name: "DateTimeRfc1123" } - }, - skuName: { - serializedName: "x-ms-sku-name", - xmlName: "x-ms-sku-name", - type: { - name: "Enum", - allowedValues: [ "Standard_LRS", "Standard_GRS", "Standard_RAGRS", "Standard_ZRS", "Premium_LRS" ] - } - }, - accountKind: { - serializedName: "x-ms-account-kind", - xmlName: "x-ms-account-kind", - type: { - name: "Enum", - allowedValues: [ "Storage", "BlobStorage", "StorageV2", "FileStorage", "BlockBlobStorage" ] - } } } } - }, BlobGetAccountInfoExceptionHeaders = { - serializedName: "Blob_getAccountInfoExceptionHeaders", + }, BlobBreakLeaseExceptionHeaders = { + serializedName: "Blob_breakLeaseExceptionHeaders", type: { name: "Composite", - className: "BlobGetAccountInfoExceptionHeaders", + className: "BlobBreakLeaseExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -12736,48 +13661,15 @@ } } } - }, BlobQueryHeaders = { - serializedName: "Blob_queryHeaders", + }, BlobCreateSnapshotHeaders = { + serializedName: "Blob_createSnapshotHeaders", type: { name: "Composite", - className: "BlobQueryHeaders", + className: "BlobCreateSnapshotHeaders", modelProperties: { - lastModified: { - serializedName: "last-modified", - xmlName: "last-modified", - type: { - name: "DateTimeRfc1123" - } - }, - metadata: { - serializedName: "x-ms-meta", - xmlName: "x-ms-meta", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - }, - contentLength: { - serializedName: "content-length", - xmlName: "content-length", - type: { - name: "Number" - } - }, - contentType: { - serializedName: "content-type", - xmlName: "content-type", - type: { - name: "String" - } - }, - contentRange: { - serializedName: "content-range", - xmlName: "content-range", + snapshot: { + serializedName: "x-ms-snapshot", + xmlName: "x-ms-snapshot", type: { name: "String" } @@ -12789,121 +13681,97 @@ name: "String" } }, - contentMD5: { - serializedName: "content-md5", - xmlName: "content-md5", + lastModified: { + serializedName: "last-modified", + xmlName: "last-modified", type: { - name: "ByteArray" + name: "DateTimeRfc1123" } }, - contentEncoding: { - serializedName: "content-encoding", - xmlName: "content-encoding", + clientRequestId: { + serializedName: "x-ms-client-request-id", + xmlName: "x-ms-client-request-id", type: { name: "String" } }, - cacheControl: { - serializedName: "cache-control", - xmlName: "cache-control", + requestId: { + serializedName: "x-ms-request-id", + xmlName: "x-ms-request-id", type: { name: "String" } }, - contentDisposition: { - serializedName: "content-disposition", - xmlName: "content-disposition", + version: { + serializedName: "x-ms-version", + xmlName: "x-ms-version", type: { name: "String" } }, - contentLanguage: { - serializedName: "content-language", - xmlName: "content-language", + versionId: { + serializedName: "x-ms-version-id", + xmlName: "x-ms-version-id", type: { name: "String" } }, - blobSequenceNumber: { - serializedName: "x-ms-blob-sequence-number", - xmlName: "x-ms-blob-sequence-number", - type: { - name: "Number" - } - }, - blobType: { - serializedName: "x-ms-blob-type", - xmlName: "x-ms-blob-type", - type: { - name: "Enum", - allowedValues: [ "BlockBlob", "PageBlob", "AppendBlob" ] - } - }, - copyCompletionTime: { - serializedName: "x-ms-copy-completion-time", - xmlName: "x-ms-copy-completion-time", + date: { + serializedName: "date", + xmlName: "date", type: { name: "DateTimeRfc1123" } }, - copyStatusDescription: { - serializedName: "x-ms-copy-status-description", - xmlName: "x-ms-copy-status-description", + isServerEncrypted: { + serializedName: "x-ms-request-server-encrypted", + xmlName: "x-ms-request-server-encrypted", type: { - name: "String" + name: "Boolean" } }, - copyId: { - serializedName: "x-ms-copy-id", - xmlName: "x-ms-copy-id", + errorCode: { + serializedName: "x-ms-error-code", + xmlName: "x-ms-error-code", type: { name: "String" } - }, - copyProgress: { - serializedName: "x-ms-copy-progress", - xmlName: "x-ms-copy-progress", + } + } + } + }, BlobCreateSnapshotExceptionHeaders = { + serializedName: "Blob_createSnapshotExceptionHeaders", + type: { + name: "Composite", + className: "BlobCreateSnapshotExceptionHeaders", + modelProperties: { + errorCode: { + serializedName: "x-ms-error-code", + xmlName: "x-ms-error-code", type: { name: "String" } - }, - copySource: { - serializedName: "x-ms-copy-source", - xmlName: "x-ms-copy-source", + } + } + } + }, BlobStartCopyFromURLHeaders = { + serializedName: "Blob_startCopyFromURLHeaders", + type: { + name: "Composite", + className: "BlobStartCopyFromURLHeaders", + modelProperties: { + etag: { + serializedName: "etag", + xmlName: "etag", type: { name: "String" } }, - copyStatus: { - serializedName: "x-ms-copy-status", - xmlName: "x-ms-copy-status", - type: { - name: "Enum", - allowedValues: [ "pending", "success", "aborted", "failed" ] - } - }, - leaseDuration: { - serializedName: "x-ms-lease-duration", - xmlName: "x-ms-lease-duration", - type: { - name: "Enum", - allowedValues: [ "infinite", "fixed" ] - } - }, - leaseState: { - serializedName: "x-ms-lease-state", - xmlName: "x-ms-lease-state", - type: { - name: "Enum", - allowedValues: [ "available", "leased", "expired", "breaking", "broken" ] - } - }, - leaseStatus: { - serializedName: "x-ms-lease-status", - xmlName: "x-ms-lease-status", + lastModified: { + serializedName: "last-modified", + xmlName: "last-modified", type: { - name: "Enum", - allowedValues: [ "locked", "unlocked" ] + name: "DateTimeRfc1123" } }, clientRequestId: { @@ -12927,9 +13795,9 @@ name: "String" } }, - acceptRanges: { - serializedName: "accept-ranges", - xmlName: "accept-ranges", + versionId: { + serializedName: "x-ms-version-id", + xmlName: "x-ms-version-id", type: { name: "String" } @@ -12941,39 +13809,19 @@ name: "DateTimeRfc1123" } }, - blobCommittedBlockCount: { - serializedName: "x-ms-blob-committed-block-count", - xmlName: "x-ms-blob-committed-block-count", - type: { - name: "Number" - } - }, - isServerEncrypted: { - serializedName: "x-ms-server-encrypted", - xmlName: "x-ms-server-encrypted", - type: { - name: "Boolean" - } - }, - encryptionKeySha256: { - serializedName: "x-ms-encryption-key-sha256", - xmlName: "x-ms-encryption-key-sha256", - type: { - name: "String" - } - }, - encryptionScope: { - serializedName: "x-ms-encryption-scope", - xmlName: "x-ms-encryption-scope", + copyId: { + serializedName: "x-ms-copy-id", + xmlName: "x-ms-copy-id", type: { name: "String" } }, - blobContentMD5: { - serializedName: "x-ms-blob-content-md5", - xmlName: "x-ms-blob-content-md5", + copyStatus: { + serializedName: "x-ms-copy-status", + xmlName: "x-ms-copy-status", type: { - name: "ByteArray" + name: "Enum", + allowedValues: [ "pending", "success", "aborted", "failed" ] } }, errorCode: { @@ -12982,21 +13830,14 @@ type: { name: "String" } - }, - contentCrc64: { - serializedName: "x-ms-content-crc64", - xmlName: "x-ms-content-crc64", - type: { - name: "ByteArray" - } } } } - }, BlobQueryExceptionHeaders = { - serializedName: "Blob_queryExceptionHeaders", + }, BlobStartCopyFromURLExceptionHeaders = { + serializedName: "Blob_startCopyFromURLExceptionHeaders", type: { name: "Composite", - className: "BlobQueryExceptionHeaders", + className: "BlobStartCopyFromURLExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -13007,12 +13848,26 @@ } } } - }, BlobGetTagsHeaders = { - serializedName: "Blob_getTagsHeaders", + }, BlobCopyFromURLHeaders = { + serializedName: "Blob_copyFromURLHeaders", type: { name: "Composite", - className: "BlobGetTagsHeaders", + className: "BlobCopyFromURLHeaders", modelProperties: { + etag: { + serializedName: "etag", + xmlName: "etag", + type: { + name: "String" + } + }, + lastModified: { + serializedName: "last-modified", + xmlName: "last-modified", + type: { + name: "DateTimeRfc1123" + } + }, clientRequestId: { serializedName: "x-ms-client-request-id", xmlName: "x-ms-client-request-id", @@ -13034,6 +13889,13 @@ name: "String" } }, + versionId: { + serializedName: "x-ms-version-id", + xmlName: "x-ms-version-id", + type: { + name: "String" + } + }, date: { serializedName: "date", xmlName: "date", @@ -13041,20 +13903,56 @@ name: "DateTimeRfc1123" } }, - errorCode: { - serializedName: "x-ms-error-code", - xmlName: "x-ms-error-code", + copyId: { + serializedName: "x-ms-copy-id", + xmlName: "x-ms-copy-id", type: { name: "String" } - } + }, + copyStatus: { + defaultValue: "success", + isConstant: !0, + serializedName: "x-ms-copy-status", + type: { + name: "String" + } + }, + contentMD5: { + serializedName: "content-md5", + xmlName: "content-md5", + type: { + name: "ByteArray" + } + }, + xMsContentCrc64: { + serializedName: "x-ms-content-crc64", + xmlName: "x-ms-content-crc64", + type: { + name: "ByteArray" + } + }, + encryptionScope: { + serializedName: "x-ms-encryption-scope", + xmlName: "x-ms-encryption-scope", + type: { + name: "String" + } + }, + errorCode: { + serializedName: "x-ms-error-code", + xmlName: "x-ms-error-code", + type: { + name: "String" + } + } } } - }, BlobGetTagsExceptionHeaders = { - serializedName: "Blob_getTagsExceptionHeaders", + }, BlobCopyFromURLExceptionHeaders = { + serializedName: "Blob_copyFromURLExceptionHeaders", type: { name: "Composite", - className: "BlobGetTagsExceptionHeaders", + className: "BlobCopyFromURLExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -13065,11 +13963,11 @@ } } } - }, BlobSetTagsHeaders = { - serializedName: "Blob_setTagsHeaders", + }, BlobAbortCopyFromURLHeaders = { + serializedName: "Blob_abortCopyFromURLHeaders", type: { name: "Composite", - className: "BlobSetTagsHeaders", + className: "BlobAbortCopyFromURLHeaders", modelProperties: { clientRequestId: { serializedName: "x-ms-client-request-id", @@ -13108,11 +14006,11 @@ } } } - }, BlobSetTagsExceptionHeaders = { - serializedName: "Blob_setTagsExceptionHeaders", + }, BlobAbortCopyFromURLExceptionHeaders = { + serializedName: "Blob_abortCopyFromURLExceptionHeaders", type: { name: "Composite", - className: "BlobSetTagsExceptionHeaders", + className: "BlobAbortCopyFromURLExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -13123,33 +14021,12 @@ } } } - }, PageBlobCreateHeaders = { - serializedName: "PageBlob_createHeaders", + }, BlobSetTierHeaders = { + serializedName: "Blob_setTierHeaders", type: { name: "Composite", - className: "PageBlobCreateHeaders", + className: "BlobSetTierHeaders", modelProperties: { - etag: { - serializedName: "etag", - xmlName: "etag", - type: { - name: "String" - } - }, - lastModified: { - serializedName: "last-modified", - xmlName: "last-modified", - type: { - name: "DateTimeRfc1123" - } - }, - contentMD5: { - serializedName: "content-md5", - xmlName: "content-md5", - type: { - name: "ByteArray" - } - }, clientRequestId: { serializedName: "x-ms-client-request-id", xmlName: "x-ms-client-request-id", @@ -13171,41 +14048,6 @@ name: "String" } }, - versionId: { - serializedName: "x-ms-version-id", - xmlName: "x-ms-version-id", - type: { - name: "String" - } - }, - date: { - serializedName: "date", - xmlName: "date", - type: { - name: "DateTimeRfc1123" - } - }, - isServerEncrypted: { - serializedName: "x-ms-request-server-encrypted", - xmlName: "x-ms-request-server-encrypted", - type: { - name: "Boolean" - } - }, - encryptionKeySha256: { - serializedName: "x-ms-encryption-key-sha256", - xmlName: "x-ms-encryption-key-sha256", - type: { - name: "String" - } - }, - encryptionScope: { - serializedName: "x-ms-encryption-scope", - xmlName: "x-ms-encryption-scope", - type: { - name: "String" - } - }, errorCode: { serializedName: "x-ms-error-code", xmlName: "x-ms-error-code", @@ -13215,11 +14057,11 @@ } } } - }, PageBlobCreateExceptionHeaders = { - serializedName: "PageBlob_createExceptionHeaders", + }, BlobSetTierExceptionHeaders = { + serializedName: "Blob_setTierExceptionHeaders", type: { name: "Composite", - className: "PageBlobCreateExceptionHeaders", + className: "BlobSetTierExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -13230,47 +14072,12 @@ } } } - }, PageBlobUploadPagesHeaders = { - serializedName: "PageBlob_uploadPagesHeaders", + }, BlobGetAccountInfoHeaders = { + serializedName: "Blob_getAccountInfoHeaders", type: { name: "Composite", - className: "PageBlobUploadPagesHeaders", + className: "BlobGetAccountInfoHeaders", modelProperties: { - etag: { - serializedName: "etag", - xmlName: "etag", - type: { - name: "String" - } - }, - lastModified: { - serializedName: "last-modified", - xmlName: "last-modified", - type: { - name: "DateTimeRfc1123" - } - }, - contentMD5: { - serializedName: "content-md5", - xmlName: "content-md5", - type: { - name: "ByteArray" - } - }, - xMsContentCrc64: { - serializedName: "x-ms-content-crc64", - xmlName: "x-ms-content-crc64", - type: { - name: "ByteArray" - } - }, - blobSequenceNumber: { - serializedName: "x-ms-blob-sequence-number", - xmlName: "x-ms-blob-sequence-number", - type: { - name: "Number" - } - }, clientRequestId: { serializedName: "x-ms-client-request-id", xmlName: "x-ms-client-request-id", @@ -13299,41 +14106,36 @@ name: "DateTimeRfc1123" } }, - isServerEncrypted: { - serializedName: "x-ms-request-server-encrypted", - xmlName: "x-ms-request-server-encrypted", - type: { - name: "Boolean" - } - }, - encryptionKeySha256: { - serializedName: "x-ms-encryption-key-sha256", - xmlName: "x-ms-encryption-key-sha256", + skuName: { + serializedName: "x-ms-sku-name", + xmlName: "x-ms-sku-name", type: { - name: "String" + name: "Enum", + allowedValues: [ "Standard_LRS", "Standard_GRS", "Standard_RAGRS", "Standard_ZRS", "Premium_LRS" ] } }, - encryptionScope: { - serializedName: "x-ms-encryption-scope", - xmlName: "x-ms-encryption-scope", + accountKind: { + serializedName: "x-ms-account-kind", + xmlName: "x-ms-account-kind", type: { - name: "String" + name: "Enum", + allowedValues: [ "Storage", "BlobStorage", "StorageV2", "FileStorage", "BlockBlobStorage" ] } }, - errorCode: { - serializedName: "x-ms-error-code", - xmlName: "x-ms-error-code", + isHierarchicalNamespaceEnabled: { + serializedName: "x-ms-is-hns-enabled", + xmlName: "x-ms-is-hns-enabled", type: { - name: "String" + name: "Boolean" } } } } - }, PageBlobUploadPagesExceptionHeaders = { - serializedName: "PageBlob_uploadPagesExceptionHeaders", + }, BlobGetAccountInfoExceptionHeaders = { + serializedName: "Blob_getAccountInfoExceptionHeaders", type: { name: "Composite", - className: "PageBlobUploadPagesExceptionHeaders", + className: "BlobGetAccountInfoExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -13344,19 +14146,12 @@ } } } - }, PageBlobClearPagesHeaders = { - serializedName: "PageBlob_clearPagesHeaders", + }, BlobQueryHeaders = { + serializedName: "Blob_queryHeaders", type: { name: "Composite", - className: "PageBlobClearPagesHeaders", + className: "BlobQueryHeaders", modelProperties: { - etag: { - serializedName: "etag", - xmlName: "etag", - type: { - name: "String" - } - }, lastModified: { serializedName: "last-modified", xmlName: "last-modified", @@ -13364,118 +14159,169 @@ name: "DateTimeRfc1123" } }, - contentMD5: { - serializedName: "content-md5", - xmlName: "content-md5", - type: { - name: "ByteArray" - } - }, - xMsContentCrc64: { - serializedName: "x-ms-content-crc64", - xmlName: "x-ms-content-crc64", + metadata: { + serializedName: "x-ms-meta", + headerCollectionPrefix: "x-ms-meta-", + xmlName: "x-ms-meta", type: { - name: "ByteArray" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } }, - blobSequenceNumber: { - serializedName: "x-ms-blob-sequence-number", - xmlName: "x-ms-blob-sequence-number", + contentLength: { + serializedName: "content-length", + xmlName: "content-length", type: { name: "Number" } }, - clientRequestId: { - serializedName: "x-ms-client-request-id", - xmlName: "x-ms-client-request-id", + contentType: { + serializedName: "content-type", + xmlName: "content-type", type: { name: "String" } }, - requestId: { - serializedName: "x-ms-request-id", - xmlName: "x-ms-request-id", + contentRange: { + serializedName: "content-range", + xmlName: "content-range", type: { name: "String" } }, - version: { - serializedName: "x-ms-version", - xmlName: "x-ms-version", + etag: { + serializedName: "etag", + xmlName: "etag", type: { name: "String" } }, - date: { - serializedName: "date", - xmlName: "date", + contentMD5: { + serializedName: "content-md5", + xmlName: "content-md5", type: { - name: "DateTimeRfc1123" + name: "ByteArray" } }, - errorCode: { - serializedName: "x-ms-error-code", - xmlName: "x-ms-error-code", + contentEncoding: { + serializedName: "content-encoding", + xmlName: "content-encoding", type: { name: "String" } - } - } - } - }, PageBlobClearPagesExceptionHeaders = { - serializedName: "PageBlob_clearPagesExceptionHeaders", - type: { - name: "Composite", - className: "PageBlobClearPagesExceptionHeaders", - modelProperties: { - errorCode: { - serializedName: "x-ms-error-code", - xmlName: "x-ms-error-code", + }, + cacheControl: { + serializedName: "cache-control", + xmlName: "cache-control", type: { name: "String" } - } - } - } - }, PageBlobUploadPagesFromURLHeaders = { - serializedName: "PageBlob_uploadPagesFromURLHeaders", - type: { - name: "Composite", - className: "PageBlobUploadPagesFromURLHeaders", - modelProperties: { - etag: { - serializedName: "etag", - xmlName: "etag", + }, + contentDisposition: { + serializedName: "content-disposition", + xmlName: "content-disposition", type: { name: "String" } }, - lastModified: { - serializedName: "last-modified", - xmlName: "last-modified", + contentLanguage: { + serializedName: "content-language", + xmlName: "content-language", + type: { + name: "String" + } + }, + blobSequenceNumber: { + serializedName: "x-ms-blob-sequence-number", + xmlName: "x-ms-blob-sequence-number", + type: { + name: "Number" + } + }, + blobType: { + serializedName: "x-ms-blob-type", + xmlName: "x-ms-blob-type", + type: { + name: "Enum", + allowedValues: [ "BlockBlob", "PageBlob", "AppendBlob" ] + } + }, + copyCompletionTime: { + serializedName: "x-ms-copy-completion-time", + xmlName: "x-ms-copy-completion-time", type: { name: "DateTimeRfc1123" } }, - contentMD5: { - serializedName: "content-md5", - xmlName: "content-md5", + copyStatusDescription: { + serializedName: "x-ms-copy-status-description", + xmlName: "x-ms-copy-status-description", type: { - name: "ByteArray" + name: "String" } }, - xMsContentCrc64: { - serializedName: "x-ms-content-crc64", - xmlName: "x-ms-content-crc64", + copyId: { + serializedName: "x-ms-copy-id", + xmlName: "x-ms-copy-id", type: { - name: "ByteArray" + name: "String" } }, - blobSequenceNumber: { - serializedName: "x-ms-blob-sequence-number", - xmlName: "x-ms-blob-sequence-number", + copyProgress: { + serializedName: "x-ms-copy-progress", + xmlName: "x-ms-copy-progress", type: { - name: "Number" + name: "String" + } + }, + copySource: { + serializedName: "x-ms-copy-source", + xmlName: "x-ms-copy-source", + type: { + name: "String" + } + }, + copyStatus: { + serializedName: "x-ms-copy-status", + xmlName: "x-ms-copy-status", + type: { + name: "Enum", + allowedValues: [ "pending", "success", "aborted", "failed" ] + } + }, + leaseDuration: { + serializedName: "x-ms-lease-duration", + xmlName: "x-ms-lease-duration", + type: { + name: "Enum", + allowedValues: [ "infinite", "fixed" ] + } + }, + leaseState: { + serializedName: "x-ms-lease-state", + xmlName: "x-ms-lease-state", + type: { + name: "Enum", + allowedValues: [ "available", "leased", "expired", "breaking", "broken" ] + } + }, + leaseStatus: { + serializedName: "x-ms-lease-status", + xmlName: "x-ms-lease-status", + type: { + name: "Enum", + allowedValues: [ "locked", "unlocked" ] + } + }, + clientRequestId: { + serializedName: "x-ms-client-request-id", + xmlName: "x-ms-client-request-id", + type: { + name: "String" } }, requestId: { @@ -13492,6 +14338,13 @@ name: "String" } }, + acceptRanges: { + serializedName: "accept-ranges", + xmlName: "accept-ranges", + type: { + name: "String" + } + }, date: { serializedName: "date", xmlName: "date", @@ -13499,9 +14352,16 @@ name: "DateTimeRfc1123" } }, + blobCommittedBlockCount: { + serializedName: "x-ms-blob-committed-block-count", + xmlName: "x-ms-blob-committed-block-count", + type: { + name: "Number" + } + }, isServerEncrypted: { - serializedName: "x-ms-request-server-encrypted", - xmlName: "x-ms-request-server-encrypted", + serializedName: "x-ms-server-encrypted", + xmlName: "x-ms-server-encrypted", type: { name: "Boolean" } @@ -13520,20 +14380,34 @@ name: "String" } }, + blobContentMD5: { + serializedName: "x-ms-blob-content-md5", + xmlName: "x-ms-blob-content-md5", + type: { + name: "ByteArray" + } + }, errorCode: { serializedName: "x-ms-error-code", xmlName: "x-ms-error-code", type: { name: "String" } + }, + contentCrc64: { + serializedName: "x-ms-content-crc64", + xmlName: "x-ms-content-crc64", + type: { + name: "ByteArray" + } } } } - }, PageBlobUploadPagesFromURLExceptionHeaders = { - serializedName: "PageBlob_uploadPagesFromURLExceptionHeaders", + }, BlobQueryExceptionHeaders = { + serializedName: "Blob_queryExceptionHeaders", type: { name: "Composite", - className: "PageBlobUploadPagesFromURLExceptionHeaders", + className: "BlobQueryExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -13544,33 +14418,12 @@ } } } - }, PageBlobGetPageRangesHeaders = { - serializedName: "PageBlob_getPageRangesHeaders", + }, BlobGetTagsHeaders = { + serializedName: "Blob_getTagsHeaders", type: { name: "Composite", - className: "PageBlobGetPageRangesHeaders", + className: "BlobGetTagsHeaders", modelProperties: { - lastModified: { - serializedName: "last-modified", - xmlName: "last-modified", - type: { - name: "DateTimeRfc1123" - } - }, - etag: { - serializedName: "etag", - xmlName: "etag", - type: { - name: "String" - } - }, - blobContentLength: { - serializedName: "x-ms-blob-content-length", - xmlName: "x-ms-blob-content-length", - type: { - name: "Number" - } - }, clientRequestId: { serializedName: "x-ms-client-request-id", xmlName: "x-ms-client-request-id", @@ -13608,11 +14461,11 @@ } } } - }, PageBlobGetPageRangesExceptionHeaders = { - serializedName: "PageBlob_getPageRangesExceptionHeaders", + }, BlobGetTagsExceptionHeaders = { + serializedName: "Blob_getTagsExceptionHeaders", type: { name: "Composite", - className: "PageBlobGetPageRangesExceptionHeaders", + className: "BlobGetTagsExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -13623,33 +14476,12 @@ } } } - }, PageBlobGetPageRangesDiffHeaders = { - serializedName: "PageBlob_getPageRangesDiffHeaders", + }, BlobSetTagsHeaders = { + serializedName: "Blob_setTagsHeaders", type: { name: "Composite", - className: "PageBlobGetPageRangesDiffHeaders", + className: "BlobSetTagsHeaders", modelProperties: { - lastModified: { - serializedName: "last-modified", - xmlName: "last-modified", - type: { - name: "DateTimeRfc1123" - } - }, - etag: { - serializedName: "etag", - xmlName: "etag", - type: { - name: "String" - } - }, - blobContentLength: { - serializedName: "x-ms-blob-content-length", - xmlName: "x-ms-blob-content-length", - type: { - name: "Number" - } - }, clientRequestId: { serializedName: "x-ms-client-request-id", xmlName: "x-ms-client-request-id", @@ -13687,11 +14519,11 @@ } } } - }, PageBlobGetPageRangesDiffExceptionHeaders = { - serializedName: "PageBlob_getPageRangesDiffExceptionHeaders", + }, BlobSetTagsExceptionHeaders = { + serializedName: "Blob_setTagsExceptionHeaders", type: { name: "Composite", - className: "PageBlobGetPageRangesDiffExceptionHeaders", + className: "BlobSetTagsExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -13702,11 +14534,11 @@ } } } - }, PageBlobResizeHeaders = { - serializedName: "PageBlob_resizeHeaders", + }, PageBlobCreateHeaders = { + serializedName: "PageBlob_createHeaders", type: { name: "Composite", - className: "PageBlobResizeHeaders", + className: "PageBlobCreateHeaders", modelProperties: { etag: { serializedName: "etag", @@ -13722,11 +14554,11 @@ name: "DateTimeRfc1123" } }, - blobSequenceNumber: { - serializedName: "x-ms-blob-sequence-number", - xmlName: "x-ms-blob-sequence-number", + contentMD5: { + serializedName: "content-md5", + xmlName: "content-md5", type: { - name: "Number" + name: "ByteArray" } }, clientRequestId: { @@ -13750,6 +14582,13 @@ name: "String" } }, + versionId: { + serializedName: "x-ms-version-id", + xmlName: "x-ms-version-id", + type: { + name: "String" + } + }, date: { serializedName: "date", xmlName: "date", @@ -13757,6 +14596,27 @@ name: "DateTimeRfc1123" } }, + isServerEncrypted: { + serializedName: "x-ms-request-server-encrypted", + xmlName: "x-ms-request-server-encrypted", + type: { + name: "Boolean" + } + }, + encryptionKeySha256: { + serializedName: "x-ms-encryption-key-sha256", + xmlName: "x-ms-encryption-key-sha256", + type: { + name: "String" + } + }, + encryptionScope: { + serializedName: "x-ms-encryption-scope", + xmlName: "x-ms-encryption-scope", + type: { + name: "String" + } + }, errorCode: { serializedName: "x-ms-error-code", xmlName: "x-ms-error-code", @@ -13766,11 +14626,11 @@ } } } - }, PageBlobResizeExceptionHeaders = { - serializedName: "PageBlob_resizeExceptionHeaders", + }, PageBlobCreateExceptionHeaders = { + serializedName: "PageBlob_createExceptionHeaders", type: { name: "Composite", - className: "PageBlobResizeExceptionHeaders", + className: "PageBlobCreateExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -13781,11 +14641,11 @@ } } } - }, PageBlobUpdateSequenceNumberHeaders = { - serializedName: "PageBlob_updateSequenceNumberHeaders", + }, PageBlobUploadPagesHeaders = { + serializedName: "PageBlob_uploadPagesHeaders", type: { name: "Composite", - className: "PageBlobUpdateSequenceNumberHeaders", + className: "PageBlobUploadPagesHeaders", modelProperties: { etag: { serializedName: "etag", @@ -13801,6 +14661,20 @@ name: "DateTimeRfc1123" } }, + contentMD5: { + serializedName: "content-md5", + xmlName: "content-md5", + type: { + name: "ByteArray" + } + }, + xMsContentCrc64: { + serializedName: "x-ms-content-crc64", + xmlName: "x-ms-content-crc64", + type: { + name: "ByteArray" + } + }, blobSequenceNumber: { serializedName: "x-ms-blob-sequence-number", xmlName: "x-ms-blob-sequence-number", @@ -13836,6 +14710,27 @@ name: "DateTimeRfc1123" } }, + isServerEncrypted: { + serializedName: "x-ms-request-server-encrypted", + xmlName: "x-ms-request-server-encrypted", + type: { + name: "Boolean" + } + }, + encryptionKeySha256: { + serializedName: "x-ms-encryption-key-sha256", + xmlName: "x-ms-encryption-key-sha256", + type: { + name: "String" + } + }, + encryptionScope: { + serializedName: "x-ms-encryption-scope", + xmlName: "x-ms-encryption-scope", + type: { + name: "String" + } + }, errorCode: { serializedName: "x-ms-error-code", xmlName: "x-ms-error-code", @@ -13845,11 +14740,11 @@ } } } - }, PageBlobUpdateSequenceNumberExceptionHeaders = { - serializedName: "PageBlob_updateSequenceNumberExceptionHeaders", + }, PageBlobUploadPagesExceptionHeaders = { + serializedName: "PageBlob_uploadPagesExceptionHeaders", type: { name: "Composite", - className: "PageBlobUpdateSequenceNumberExceptionHeaders", + className: "PageBlobUploadPagesExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -13860,11 +14755,11 @@ } } } - }, PageBlobCopyIncrementalHeaders = { - serializedName: "PageBlob_copyIncrementalHeaders", + }, PageBlobClearPagesHeaders = { + serializedName: "PageBlob_clearPagesHeaders", type: { name: "Composite", - className: "PageBlobCopyIncrementalHeaders", + className: "PageBlobClearPagesHeaders", modelProperties: { etag: { serializedName: "etag", @@ -13880,6 +14775,27 @@ name: "DateTimeRfc1123" } }, + contentMD5: { + serializedName: "content-md5", + xmlName: "content-md5", + type: { + name: "ByteArray" + } + }, + xMsContentCrc64: { + serializedName: "x-ms-content-crc64", + xmlName: "x-ms-content-crc64", + type: { + name: "ByteArray" + } + }, + blobSequenceNumber: { + serializedName: "x-ms-blob-sequence-number", + xmlName: "x-ms-blob-sequence-number", + type: { + name: "Number" + } + }, clientRequestId: { serializedName: "x-ms-client-request-id", xmlName: "x-ms-client-request-id", @@ -13908,21 +14824,6 @@ name: "DateTimeRfc1123" } }, - copyId: { - serializedName: "x-ms-copy-id", - xmlName: "x-ms-copy-id", - type: { - name: "String" - } - }, - copyStatus: { - serializedName: "x-ms-copy-status", - xmlName: "x-ms-copy-status", - type: { - name: "Enum", - allowedValues: [ "pending", "success", "aborted", "failed" ] - } - }, errorCode: { serializedName: "x-ms-error-code", xmlName: "x-ms-error-code", @@ -13932,11 +14833,11 @@ } } } - }, PageBlobCopyIncrementalExceptionHeaders = { - serializedName: "PageBlob_copyIncrementalExceptionHeaders", + }, PageBlobClearPagesExceptionHeaders = { + serializedName: "PageBlob_clearPagesExceptionHeaders", type: { name: "Composite", - className: "PageBlobCopyIncrementalExceptionHeaders", + className: "PageBlobClearPagesExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -13947,11 +14848,11 @@ } } } - }, AppendBlobCreateHeaders = { - serializedName: "AppendBlob_createHeaders", + }, PageBlobUploadPagesFromURLHeaders = { + serializedName: "PageBlob_uploadPagesFromURLHeaders", type: { name: "Composite", - className: "AppendBlobCreateHeaders", + className: "PageBlobUploadPagesFromURLHeaders", modelProperties: { etag: { serializedName: "etag", @@ -13974,11 +14875,18 @@ name: "ByteArray" } }, - clientRequestId: { - serializedName: "x-ms-client-request-id", - xmlName: "x-ms-client-request-id", + xMsContentCrc64: { + serializedName: "x-ms-content-crc64", + xmlName: "x-ms-content-crc64", type: { - name: "String" + name: "ByteArray" + } + }, + blobSequenceNumber: { + serializedName: "x-ms-blob-sequence-number", + xmlName: "x-ms-blob-sequence-number", + type: { + name: "Number" } }, requestId: { @@ -13995,13 +14903,6 @@ name: "String" } }, - versionId: { - serializedName: "x-ms-version-id", - xmlName: "x-ms-version-id", - type: { - name: "String" - } - }, date: { serializedName: "date", xmlName: "date", @@ -14039,11 +14940,11 @@ } } } - }, AppendBlobCreateExceptionHeaders = { - serializedName: "AppendBlob_createExceptionHeaders", + }, PageBlobUploadPagesFromURLExceptionHeaders = { + serializedName: "PageBlob_uploadPagesFromURLExceptionHeaders", type: { name: "Composite", - className: "AppendBlobCreateExceptionHeaders", + className: "PageBlobUploadPagesFromURLExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -14054,19 +14955,12 @@ } } } - }, AppendBlobAppendBlockHeaders = { - serializedName: "AppendBlob_appendBlockHeaders", + }, PageBlobGetPageRangesHeaders = { + serializedName: "PageBlob_getPageRangesHeaders", type: { name: "Composite", - className: "AppendBlobAppendBlockHeaders", + className: "PageBlobGetPageRangesHeaders", modelProperties: { - etag: { - serializedName: "etag", - xmlName: "etag", - type: { - name: "String" - } - }, lastModified: { serializedName: "last-modified", xmlName: "last-modified", @@ -14074,18 +14968,18 @@ name: "DateTimeRfc1123" } }, - contentMD5: { - serializedName: "content-md5", - xmlName: "content-md5", + etag: { + serializedName: "etag", + xmlName: "etag", type: { - name: "ByteArray" + name: "String" } }, - xMsContentCrc64: { - serializedName: "x-ms-content-crc64", - xmlName: "x-ms-content-crc64", + blobContentLength: { + serializedName: "x-ms-blob-content-length", + xmlName: "x-ms-blob-content-length", type: { - name: "ByteArray" + name: "Number" } }, clientRequestId: { @@ -14116,41 +15010,6 @@ name: "DateTimeRfc1123" } }, - blobAppendOffset: { - serializedName: "x-ms-blob-append-offset", - xmlName: "x-ms-blob-append-offset", - type: { - name: "String" - } - }, - blobCommittedBlockCount: { - serializedName: "x-ms-blob-committed-block-count", - xmlName: "x-ms-blob-committed-block-count", - type: { - name: "Number" - } - }, - isServerEncrypted: { - serializedName: "x-ms-request-server-encrypted", - xmlName: "x-ms-request-server-encrypted", - type: { - name: "Boolean" - } - }, - encryptionKeySha256: { - serializedName: "x-ms-encryption-key-sha256", - xmlName: "x-ms-encryption-key-sha256", - type: { - name: "String" - } - }, - encryptionScope: { - serializedName: "x-ms-encryption-scope", - xmlName: "x-ms-encryption-scope", - type: { - name: "String" - } - }, errorCode: { serializedName: "x-ms-error-code", xmlName: "x-ms-error-code", @@ -14160,11 +15019,11 @@ } } } - }, AppendBlobAppendBlockExceptionHeaders = { - serializedName: "AppendBlob_appendBlockExceptionHeaders", + }, PageBlobGetPageRangesExceptionHeaders = { + serializedName: "PageBlob_getPageRangesExceptionHeaders", type: { name: "Composite", - className: "AppendBlobAppendBlockExceptionHeaders", + className: "PageBlobGetPageRangesExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -14175,19 +15034,12 @@ } } } - }, AppendBlobAppendBlockFromUrlHeaders = { - serializedName: "AppendBlob_appendBlockFromUrlHeaders", + }, PageBlobGetPageRangesDiffHeaders = { + serializedName: "PageBlob_getPageRangesDiffHeaders", type: { name: "Composite", - className: "AppendBlobAppendBlockFromUrlHeaders", + className: "PageBlobGetPageRangesDiffHeaders", modelProperties: { - etag: { - serializedName: "etag", - xmlName: "etag", - type: { - name: "String" - } - }, lastModified: { serializedName: "last-modified", xmlName: "last-modified", @@ -14195,18 +15047,25 @@ name: "DateTimeRfc1123" } }, - contentMD5: { - serializedName: "content-md5", - xmlName: "content-md5", + etag: { + serializedName: "etag", + xmlName: "etag", type: { - name: "ByteArray" + name: "String" } }, - xMsContentCrc64: { - serializedName: "x-ms-content-crc64", - xmlName: "x-ms-content-crc64", + blobContentLength: { + serializedName: "x-ms-blob-content-length", + xmlName: "x-ms-blob-content-length", type: { - name: "ByteArray" + name: "Number" + } + }, + clientRequestId: { + serializedName: "x-ms-client-request-id", + xmlName: "x-ms-client-request-id", + type: { + name: "String" } }, requestId: { @@ -14230,39 +15089,83 @@ name: "DateTimeRfc1123" } }, - blobAppendOffset: { - serializedName: "x-ms-blob-append-offset", - xmlName: "x-ms-blob-append-offset", + errorCode: { + serializedName: "x-ms-error-code", + xmlName: "x-ms-error-code", + type: { + name: "String" + } + } + } + } + }, PageBlobGetPageRangesDiffExceptionHeaders = { + serializedName: "PageBlob_getPageRangesDiffExceptionHeaders", + type: { + name: "Composite", + className: "PageBlobGetPageRangesDiffExceptionHeaders", + modelProperties: { + errorCode: { + serializedName: "x-ms-error-code", + xmlName: "x-ms-error-code", + type: { + name: "String" + } + } + } + } + }, PageBlobResizeHeaders = { + serializedName: "PageBlob_resizeHeaders", + type: { + name: "Composite", + className: "PageBlobResizeHeaders", + modelProperties: { + etag: { + serializedName: "etag", + xmlName: "etag", type: { name: "String" } }, - blobCommittedBlockCount: { - serializedName: "x-ms-blob-committed-block-count", - xmlName: "x-ms-blob-committed-block-count", + lastModified: { + serializedName: "last-modified", + xmlName: "last-modified", + type: { + name: "DateTimeRfc1123" + } + }, + blobSequenceNumber: { + serializedName: "x-ms-blob-sequence-number", + xmlName: "x-ms-blob-sequence-number", type: { name: "Number" } }, - encryptionKeySha256: { - serializedName: "x-ms-encryption-key-sha256", - xmlName: "x-ms-encryption-key-sha256", + clientRequestId: { + serializedName: "x-ms-client-request-id", + xmlName: "x-ms-client-request-id", type: { name: "String" } }, - encryptionScope: { - serializedName: "x-ms-encryption-scope", - xmlName: "x-ms-encryption-scope", + requestId: { + serializedName: "x-ms-request-id", + xmlName: "x-ms-request-id", type: { name: "String" } }, - isServerEncrypted: { - serializedName: "x-ms-request-server-encrypted", - xmlName: "x-ms-request-server-encrypted", + version: { + serializedName: "x-ms-version", + xmlName: "x-ms-version", type: { - name: "Boolean" + name: "String" + } + }, + date: { + serializedName: "date", + xmlName: "date", + type: { + name: "DateTimeRfc1123" } }, errorCode: { @@ -14274,11 +15177,11 @@ } } } - }, AppendBlobAppendBlockFromUrlExceptionHeaders = { - serializedName: "AppendBlob_appendBlockFromUrlExceptionHeaders", + }, PageBlobResizeExceptionHeaders = { + serializedName: "PageBlob_resizeExceptionHeaders", type: { name: "Composite", - className: "AppendBlobAppendBlockFromUrlExceptionHeaders", + className: "PageBlobResizeExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -14289,11 +15192,11 @@ } } } - }, AppendBlobSealHeaders = { - serializedName: "AppendBlob_sealHeaders", + }, PageBlobUpdateSequenceNumberHeaders = { + serializedName: "PageBlob_updateSequenceNumberHeaders", type: { name: "Composite", - className: "AppendBlobSealHeaders", + className: "PageBlobUpdateSequenceNumberHeaders", modelProperties: { etag: { serializedName: "etag", @@ -14309,6 +15212,13 @@ name: "DateTimeRfc1123" } }, + blobSequenceNumber: { + serializedName: "x-ms-blob-sequence-number", + xmlName: "x-ms-blob-sequence-number", + type: { + name: "Number" + } + }, clientRequestId: { serializedName: "x-ms-client-request-id", xmlName: "x-ms-client-request-id", @@ -14337,20 +15247,20 @@ name: "DateTimeRfc1123" } }, - isSealed: { - serializedName: "x-ms-blob-sealed", - xmlName: "x-ms-blob-sealed", + errorCode: { + serializedName: "x-ms-error-code", + xmlName: "x-ms-error-code", type: { - name: "Boolean" + name: "String" } } } } - }, AppendBlobSealExceptionHeaders = { - serializedName: "AppendBlob_sealExceptionHeaders", + }, PageBlobUpdateSequenceNumberExceptionHeaders = { + serializedName: "PageBlob_updateSequenceNumberExceptionHeaders", type: { name: "Composite", - className: "AppendBlobSealExceptionHeaders", + className: "PageBlobUpdateSequenceNumberExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -14361,11 +15271,11 @@ } } } - }, BlockBlobUploadHeaders = { - serializedName: "BlockBlob_uploadHeaders", + }, PageBlobCopyIncrementalHeaders = { + serializedName: "PageBlob_copyIncrementalHeaders", type: { name: "Composite", - className: "BlockBlobUploadHeaders", + className: "PageBlobCopyIncrementalHeaders", modelProperties: { etag: { serializedName: "etag", @@ -14381,13 +15291,6 @@ name: "DateTimeRfc1123" } }, - contentMD5: { - serializedName: "content-md5", - xmlName: "content-md5", - type: { - name: "ByteArray" - } - }, clientRequestId: { serializedName: "x-ms-client-request-id", xmlName: "x-ms-client-request-id", @@ -14409,13 +15312,6 @@ name: "String" } }, - versionId: { - serializedName: "x-ms-version-id", - xmlName: "x-ms-version-id", - type: { - name: "String" - } - }, date: { serializedName: "date", xmlName: "date", @@ -14423,25 +15319,19 @@ name: "DateTimeRfc1123" } }, - isServerEncrypted: { - serializedName: "x-ms-request-server-encrypted", - xmlName: "x-ms-request-server-encrypted", - type: { - name: "Boolean" - } - }, - encryptionKeySha256: { - serializedName: "x-ms-encryption-key-sha256", - xmlName: "x-ms-encryption-key-sha256", + copyId: { + serializedName: "x-ms-copy-id", + xmlName: "x-ms-copy-id", type: { name: "String" } }, - encryptionScope: { - serializedName: "x-ms-encryption-scope", - xmlName: "x-ms-encryption-scope", + copyStatus: { + serializedName: "x-ms-copy-status", + xmlName: "x-ms-copy-status", type: { - name: "String" + name: "Enum", + allowedValues: [ "pending", "success", "aborted", "failed" ] } }, errorCode: { @@ -14453,11 +15343,11 @@ } } } - }, BlockBlobUploadExceptionHeaders = { - serializedName: "BlockBlob_uploadExceptionHeaders", + }, PageBlobCopyIncrementalExceptionHeaders = { + serializedName: "PageBlob_copyIncrementalExceptionHeaders", type: { name: "Composite", - className: "BlockBlobUploadExceptionHeaders", + className: "PageBlobCopyIncrementalExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -14468,11 +15358,11 @@ } } } - }, BlockBlobPutBlobFromUrlHeaders = { - serializedName: "BlockBlob_putBlobFromUrlHeaders", + }, AppendBlobCreateHeaders = { + serializedName: "AppendBlob_createHeaders", type: { name: "Composite", - className: "BlockBlobPutBlobFromUrlHeaders", + className: "AppendBlobCreateHeaders", modelProperties: { etag: { serializedName: "etag", @@ -14560,11 +15450,11 @@ } } } - }, BlockBlobPutBlobFromUrlExceptionHeaders = { - serializedName: "BlockBlob_putBlobFromUrlExceptionHeaders", + }, AppendBlobCreateExceptionHeaders = { + serializedName: "AppendBlob_createExceptionHeaders", type: { name: "Composite", - className: "BlockBlobPutBlobFromUrlExceptionHeaders", + className: "AppendBlobCreateExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -14575,12 +15465,26 @@ } } } - }, BlockBlobStageBlockHeaders = { - serializedName: "BlockBlob_stageBlockHeaders", + }, AppendBlobAppendBlockHeaders = { + serializedName: "AppendBlob_appendBlockHeaders", type: { name: "Composite", - className: "BlockBlobStageBlockHeaders", + className: "AppendBlobAppendBlockHeaders", modelProperties: { + etag: { + serializedName: "etag", + xmlName: "etag", + type: { + name: "String" + } + }, + lastModified: { + serializedName: "last-modified", + xmlName: "last-modified", + type: { + name: "DateTimeRfc1123" + } + }, contentMD5: { serializedName: "content-md5", xmlName: "content-md5", @@ -14588,6 +15492,13 @@ name: "ByteArray" } }, + xMsContentCrc64: { + serializedName: "x-ms-content-crc64", + xmlName: "x-ms-content-crc64", + type: { + name: "ByteArray" + } + }, clientRequestId: { serializedName: "x-ms-client-request-id", xmlName: "x-ms-client-request-id", @@ -14616,11 +15527,18 @@ name: "DateTimeRfc1123" } }, - xMsContentCrc64: { - serializedName: "x-ms-content-crc64", - xmlName: "x-ms-content-crc64", + blobAppendOffset: { + serializedName: "x-ms-blob-append-offset", + xmlName: "x-ms-blob-append-offset", type: { - name: "ByteArray" + name: "String" + } + }, + blobCommittedBlockCount: { + serializedName: "x-ms-blob-committed-block-count", + xmlName: "x-ms-blob-committed-block-count", + type: { + name: "Number" } }, isServerEncrypted: { @@ -14653,11 +15571,11 @@ } } } - }, BlockBlobStageBlockExceptionHeaders = { - serializedName: "BlockBlob_stageBlockExceptionHeaders", + }, AppendBlobAppendBlockExceptionHeaders = { + serializedName: "AppendBlob_appendBlockExceptionHeaders", type: { name: "Composite", - className: "BlockBlobStageBlockExceptionHeaders", + className: "AppendBlobAppendBlockExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -14668,31 +15586,38 @@ } } } - }, BlockBlobStageBlockFromURLHeaders = { - serializedName: "BlockBlob_stageBlockFromURLHeaders", + }, AppendBlobAppendBlockFromUrlHeaders = { + serializedName: "AppendBlob_appendBlockFromUrlHeaders", type: { name: "Composite", - className: "BlockBlobStageBlockFromURLHeaders", + className: "AppendBlobAppendBlockFromUrlHeaders", modelProperties: { - contentMD5: { - serializedName: "content-md5", - xmlName: "content-md5", + etag: { + serializedName: "etag", + xmlName: "etag", type: { - name: "ByteArray" + name: "String" } }, - xMsContentCrc64: { - serializedName: "x-ms-content-crc64", - xmlName: "x-ms-content-crc64", + lastModified: { + serializedName: "last-modified", + xmlName: "last-modified", + type: { + name: "DateTimeRfc1123" + } + }, + contentMD5: { + serializedName: "content-md5", + xmlName: "content-md5", type: { name: "ByteArray" } }, - clientRequestId: { - serializedName: "x-ms-client-request-id", - xmlName: "x-ms-client-request-id", + xMsContentCrc64: { + serializedName: "x-ms-content-crc64", + xmlName: "x-ms-content-crc64", type: { - name: "String" + name: "ByteArray" } }, requestId: { @@ -14716,11 +15641,18 @@ name: "DateTimeRfc1123" } }, - isServerEncrypted: { - serializedName: "x-ms-request-server-encrypted", - xmlName: "x-ms-request-server-encrypted", + blobAppendOffset: { + serializedName: "x-ms-blob-append-offset", + xmlName: "x-ms-blob-append-offset", type: { - name: "Boolean" + name: "String" + } + }, + blobCommittedBlockCount: { + serializedName: "x-ms-blob-committed-block-count", + xmlName: "x-ms-blob-committed-block-count", + type: { + name: "Number" } }, encryptionKeySha256: { @@ -14737,6 +15669,13 @@ name: "String" } }, + isServerEncrypted: { + serializedName: "x-ms-request-server-encrypted", + xmlName: "x-ms-request-server-encrypted", + type: { + name: "Boolean" + } + }, errorCode: { serializedName: "x-ms-error-code", xmlName: "x-ms-error-code", @@ -14746,11 +15685,11 @@ } } } - }, BlockBlobStageBlockFromURLExceptionHeaders = { - serializedName: "BlockBlob_stageBlockFromURLExceptionHeaders", + }, AppendBlobAppendBlockFromUrlExceptionHeaders = { + serializedName: "AppendBlob_appendBlockFromUrlExceptionHeaders", type: { name: "Composite", - className: "BlockBlobStageBlockFromURLExceptionHeaders", + className: "AppendBlobAppendBlockFromUrlExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -14761,11 +15700,11 @@ } } } - }, BlockBlobCommitBlockListHeaders = { - serializedName: "BlockBlob_commitBlockListHeaders", + }, AppendBlobSealHeaders = { + serializedName: "AppendBlob_sealHeaders", type: { name: "Composite", - className: "BlockBlobCommitBlockListHeaders", + className: "AppendBlobSealHeaders", modelProperties: { etag: { serializedName: "etag", @@ -14781,16 +15720,81 @@ name: "DateTimeRfc1123" } }, - contentMD5: { - serializedName: "content-md5", - xmlName: "content-md5", + clientRequestId: { + serializedName: "x-ms-client-request-id", + xmlName: "x-ms-client-request-id", type: { - name: "ByteArray" + name: "String" } }, - xMsContentCrc64: { - serializedName: "x-ms-content-crc64", - xmlName: "x-ms-content-crc64", + requestId: { + serializedName: "x-ms-request-id", + xmlName: "x-ms-request-id", + type: { + name: "String" + } + }, + version: { + serializedName: "x-ms-version", + xmlName: "x-ms-version", + type: { + name: "String" + } + }, + date: { + serializedName: "date", + xmlName: "date", + type: { + name: "DateTimeRfc1123" + } + }, + isSealed: { + serializedName: "x-ms-blob-sealed", + xmlName: "x-ms-blob-sealed", + type: { + name: "Boolean" + } + } + } + } + }, AppendBlobSealExceptionHeaders = { + serializedName: "AppendBlob_sealExceptionHeaders", + type: { + name: "Composite", + className: "AppendBlobSealExceptionHeaders", + modelProperties: { + errorCode: { + serializedName: "x-ms-error-code", + xmlName: "x-ms-error-code", + type: { + name: "String" + } + } + } + } + }, BlockBlobUploadHeaders = { + serializedName: "BlockBlob_uploadHeaders", + type: { + name: "Composite", + className: "BlockBlobUploadHeaders", + modelProperties: { + etag: { + serializedName: "etag", + xmlName: "etag", + type: { + name: "String" + } + }, + lastModified: { + serializedName: "last-modified", + xmlName: "last-modified", + type: { + name: "DateTimeRfc1123" + } + }, + contentMD5: { + serializedName: "content-md5", + xmlName: "content-md5", type: { name: "ByteArray" } @@ -14860,11 +15864,11 @@ } } } - }, BlockBlobCommitBlockListExceptionHeaders = { - serializedName: "BlockBlob_commitBlockListExceptionHeaders", + }, BlockBlobUploadExceptionHeaders = { + serializedName: "BlockBlob_uploadExceptionHeaders", type: { name: "Composite", - className: "BlockBlobCommitBlockListExceptionHeaders", + className: "BlockBlobUploadExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -14875,19 +15879,12 @@ } } } - }, BlockBlobGetBlockListHeaders = { - serializedName: "BlockBlob_getBlockListHeaders", + }, BlockBlobPutBlobFromUrlHeaders = { + serializedName: "BlockBlob_putBlobFromUrlHeaders", type: { name: "Composite", - className: "BlockBlobGetBlockListHeaders", + className: "BlockBlobPutBlobFromUrlHeaders", modelProperties: { - lastModified: { - serializedName: "last-modified", - xmlName: "last-modified", - type: { - name: "DateTimeRfc1123" - } - }, etag: { serializedName: "etag", xmlName: "etag", @@ -14895,18 +15892,18 @@ name: "String" } }, - contentType: { - serializedName: "content-type", - xmlName: "content-type", + lastModified: { + serializedName: "last-modified", + xmlName: "last-modified", type: { - name: "String" + name: "DateTimeRfc1123" } }, - blobContentLength: { - serializedName: "x-ms-blob-content-length", - xmlName: "x-ms-blob-content-length", + contentMD5: { + serializedName: "content-md5", + xmlName: "content-md5", type: { - name: "Number" + name: "ByteArray" } }, clientRequestId: { @@ -14930,6 +15927,13 @@ name: "String" } }, + versionId: { + serializedName: "x-ms-version-id", + xmlName: "x-ms-version-id", + type: { + name: "String" + } + }, date: { serializedName: "date", xmlName: "date", @@ -14937,6 +15941,27 @@ name: "DateTimeRfc1123" } }, + isServerEncrypted: { + serializedName: "x-ms-request-server-encrypted", + xmlName: "x-ms-request-server-encrypted", + type: { + name: "Boolean" + } + }, + encryptionKeySha256: { + serializedName: "x-ms-encryption-key-sha256", + xmlName: "x-ms-encryption-key-sha256", + type: { + name: "String" + } + }, + encryptionScope: { + serializedName: "x-ms-encryption-scope", + xmlName: "x-ms-encryption-scope", + type: { + name: "String" + } + }, errorCode: { serializedName: "x-ms-error-code", xmlName: "x-ms-error-code", @@ -14946,11 +15971,11 @@ } } } - }, BlockBlobGetBlockListExceptionHeaders = { - serializedName: "BlockBlob_getBlockListExceptionHeaders", + }, BlockBlobPutBlobFromUrlExceptionHeaders = { + serializedName: "BlockBlob_putBlobFromUrlExceptionHeaders", type: { name: "Composite", - className: "BlockBlobGetBlockListExceptionHeaders", + className: "BlockBlobPutBlobFromUrlExceptionHeaders", modelProperties: { errorCode: { serializedName: "x-ms-error-code", @@ -14961,232 +15986,595 @@ } } } - }; - var QueryCollectionFormat; - !function(QueryCollectionFormat) { - QueryCollectionFormat.Csv = ",", QueryCollectionFormat.Ssv = " ", QueryCollectionFormat.Tsv = "\t", - QueryCollectionFormat.Pipes = "|", QueryCollectionFormat.Multi = "Multi"; - }(QueryCollectionFormat || (QueryCollectionFormat = {})); - const contentType = { - parameterPath: [ "options", "contentType" ], - mapper: { - defaultValue: "application/xml", - isConstant: !0, - serializedName: "Content-Type", - type: { - name: "String" - } - } - }, blobServiceProperties = { - parameterPath: "blobServiceProperties", - mapper: BlobServiceProperties - }, accept = { - parameterPath: "accept", - mapper: { - defaultValue: "application/xml", - isConstant: !0, - serializedName: "Accept", - type: { - name: "String" - } - } - }, url = { - parameterPath: "url", - mapper: { - serializedName: "url", - required: !0, - xmlName: "url", - type: { - name: "String" - } - }, - skipEncoding: !0 - }, restype = { - parameterPath: "restype", - mapper: { - defaultValue: "service", - isConstant: !0, - serializedName: "restype", - type: { - name: "String" - } - } - }, comp = { - parameterPath: "comp", - mapper: { - defaultValue: "properties", - isConstant: !0, - serializedName: "comp", - type: { - name: "String" - } - } - }, timeoutInSeconds = { - parameterPath: [ "options", "timeoutInSeconds" ], - mapper: { - constraints: { - InclusiveMinimum: 0 - }, - serializedName: "timeout", - xmlName: "timeout", - type: { - name: "Number" - } - } - }, version = { - parameterPath: "version", - mapper: { - defaultValue: "2021-10-04", - isConstant: !0, - serializedName: "x-ms-version", - type: { - name: "String" - } - } - }, requestId = { - parameterPath: [ "options", "requestId" ], - mapper: { - serializedName: "x-ms-client-request-id", - xmlName: "x-ms-client-request-id", - type: { - name: "String" - } - } - }, accept1 = { - parameterPath: "accept", - mapper: { - defaultValue: "application/xml", - isConstant: !0, - serializedName: "Accept", - type: { - name: "String" - } - } - }, comp2 = { - parameterPath: "comp", - mapper: { - defaultValue: "list", - isConstant: !0, - serializedName: "comp", - type: { - name: "String" - } - } - }, prefix = { - parameterPath: [ "options", "prefix" ], - mapper: { - serializedName: "prefix", - xmlName: "prefix", - type: { - name: "String" + }, BlockBlobStageBlockHeaders = { + serializedName: "BlockBlob_stageBlockHeaders", + type: { + name: "Composite", + className: "BlockBlobStageBlockHeaders", + modelProperties: { + contentMD5: { + serializedName: "content-md5", + xmlName: "content-md5", + type: { + name: "ByteArray" + } + }, + clientRequestId: { + serializedName: "x-ms-client-request-id", + xmlName: "x-ms-client-request-id", + type: { + name: "String" + } + }, + requestId: { + serializedName: "x-ms-request-id", + xmlName: "x-ms-request-id", + type: { + name: "String" + } + }, + version: { + serializedName: "x-ms-version", + xmlName: "x-ms-version", + type: { + name: "String" + } + }, + date: { + serializedName: "date", + xmlName: "date", + type: { + name: "DateTimeRfc1123" + } + }, + xMsContentCrc64: { + serializedName: "x-ms-content-crc64", + xmlName: "x-ms-content-crc64", + type: { + name: "ByteArray" + } + }, + isServerEncrypted: { + serializedName: "x-ms-request-server-encrypted", + xmlName: "x-ms-request-server-encrypted", + type: { + name: "Boolean" + } + }, + encryptionKeySha256: { + serializedName: "x-ms-encryption-key-sha256", + xmlName: "x-ms-encryption-key-sha256", + type: { + name: "String" + } + }, + encryptionScope: { + serializedName: "x-ms-encryption-scope", + xmlName: "x-ms-encryption-scope", + type: { + name: "String" + } + }, + errorCode: { + serializedName: "x-ms-error-code", + xmlName: "x-ms-error-code", + type: { + name: "String" + } + } } } - }, marker = { - parameterPath: [ "options", "marker" ], - mapper: { - serializedName: "marker", - xmlName: "marker", - type: { - name: "String" + }, BlockBlobStageBlockExceptionHeaders = { + serializedName: "BlockBlob_stageBlockExceptionHeaders", + type: { + name: "Composite", + className: "BlockBlobStageBlockExceptionHeaders", + modelProperties: { + errorCode: { + serializedName: "x-ms-error-code", + xmlName: "x-ms-error-code", + type: { + name: "String" + } + } } } - }, maxPageSize = { - parameterPath: [ "options", "maxPageSize" ], - mapper: { - constraints: { - InclusiveMinimum: 1 - }, - serializedName: "maxresults", - xmlName: "maxresults", - type: { - name: "Number" + }, BlockBlobStageBlockFromURLHeaders = { + serializedName: "BlockBlob_stageBlockFromURLHeaders", + type: { + name: "Composite", + className: "BlockBlobStageBlockFromURLHeaders", + modelProperties: { + contentMD5: { + serializedName: "content-md5", + xmlName: "content-md5", + type: { + name: "ByteArray" + } + }, + xMsContentCrc64: { + serializedName: "x-ms-content-crc64", + xmlName: "x-ms-content-crc64", + type: { + name: "ByteArray" + } + }, + clientRequestId: { + serializedName: "x-ms-client-request-id", + xmlName: "x-ms-client-request-id", + type: { + name: "String" + } + }, + requestId: { + serializedName: "x-ms-request-id", + xmlName: "x-ms-request-id", + type: { + name: "String" + } + }, + version: { + serializedName: "x-ms-version", + xmlName: "x-ms-version", + type: { + name: "String" + } + }, + date: { + serializedName: "date", + xmlName: "date", + type: { + name: "DateTimeRfc1123" + } + }, + isServerEncrypted: { + serializedName: "x-ms-request-server-encrypted", + xmlName: "x-ms-request-server-encrypted", + type: { + name: "Boolean" + } + }, + encryptionKeySha256: { + serializedName: "x-ms-encryption-key-sha256", + xmlName: "x-ms-encryption-key-sha256", + type: { + name: "String" + } + }, + encryptionScope: { + serializedName: "x-ms-encryption-scope", + xmlName: "x-ms-encryption-scope", + type: { + name: "String" + } + }, + errorCode: { + serializedName: "x-ms-error-code", + xmlName: "x-ms-error-code", + type: { + name: "String" + } + } } } - }, include = { - parameterPath: [ "options", "include" ], - mapper: { - serializedName: "include", - xmlName: "include", - xmlElementName: "ListContainersIncludeType", - type: { - name: "Sequence", - element: { + }, BlockBlobStageBlockFromURLExceptionHeaders = { + serializedName: "BlockBlob_stageBlockFromURLExceptionHeaders", + type: { + name: "Composite", + className: "BlockBlobStageBlockFromURLExceptionHeaders", + modelProperties: { + errorCode: { + serializedName: "x-ms-error-code", + xmlName: "x-ms-error-code", type: { - name: "Enum", - allowedValues: [ "metadata", "deleted", "system" ] + name: "String" } } } - }, - collectionFormat: QueryCollectionFormat.Csv - }, keyInfo = { - parameterPath: "keyInfo", - mapper: KeyInfo - }, restype1 = { - parameterPath: "restype", - mapper: { - defaultValue: "account", - isConstant: !0, - serializedName: "restype", - type: { - name: "String" + } + }, BlockBlobCommitBlockListHeaders = { + serializedName: "BlockBlob_commitBlockListHeaders", + type: { + name: "Composite", + className: "BlockBlobCommitBlockListHeaders", + modelProperties: { + etag: { + serializedName: "etag", + xmlName: "etag", + type: { + name: "String" + } + }, + lastModified: { + serializedName: "last-modified", + xmlName: "last-modified", + type: { + name: "DateTimeRfc1123" + } + }, + contentMD5: { + serializedName: "content-md5", + xmlName: "content-md5", + type: { + name: "ByteArray" + } + }, + xMsContentCrc64: { + serializedName: "x-ms-content-crc64", + xmlName: "x-ms-content-crc64", + type: { + name: "ByteArray" + } + }, + clientRequestId: { + serializedName: "x-ms-client-request-id", + xmlName: "x-ms-client-request-id", + type: { + name: "String" + } + }, + requestId: { + serializedName: "x-ms-request-id", + xmlName: "x-ms-request-id", + type: { + name: "String" + } + }, + version: { + serializedName: "x-ms-version", + xmlName: "x-ms-version", + type: { + name: "String" + } + }, + versionId: { + serializedName: "x-ms-version-id", + xmlName: "x-ms-version-id", + type: { + name: "String" + } + }, + date: { + serializedName: "date", + xmlName: "date", + type: { + name: "DateTimeRfc1123" + } + }, + isServerEncrypted: { + serializedName: "x-ms-request-server-encrypted", + xmlName: "x-ms-request-server-encrypted", + type: { + name: "Boolean" + } + }, + encryptionKeySha256: { + serializedName: "x-ms-encryption-key-sha256", + xmlName: "x-ms-encryption-key-sha256", + type: { + name: "String" + } + }, + encryptionScope: { + serializedName: "x-ms-encryption-scope", + xmlName: "x-ms-encryption-scope", + type: { + name: "String" + } + }, + errorCode: { + serializedName: "x-ms-error-code", + xmlName: "x-ms-error-code", + type: { + name: "String" + } + } } } - }, body = { - parameterPath: "body", - mapper: { - serializedName: "body", - required: !0, - xmlName: "body", - type: { - name: "Stream" + }, BlockBlobCommitBlockListExceptionHeaders = { + serializedName: "BlockBlob_commitBlockListExceptionHeaders", + type: { + name: "Composite", + className: "BlockBlobCommitBlockListExceptionHeaders", + modelProperties: { + errorCode: { + serializedName: "x-ms-error-code", + xmlName: "x-ms-error-code", + type: { + name: "String" + } + } } } - }, comp4 = { - parameterPath: "comp", - mapper: { - defaultValue: "batch", - isConstant: !0, - serializedName: "comp", - type: { - name: "String" + }, BlockBlobGetBlockListHeaders = { + serializedName: "BlockBlob_getBlockListHeaders", + type: { + name: "Composite", + className: "BlockBlobGetBlockListHeaders", + modelProperties: { + lastModified: { + serializedName: "last-modified", + xmlName: "last-modified", + type: { + name: "DateTimeRfc1123" + } + }, + etag: { + serializedName: "etag", + xmlName: "etag", + type: { + name: "String" + } + }, + contentType: { + serializedName: "content-type", + xmlName: "content-type", + type: { + name: "String" + } + }, + blobContentLength: { + serializedName: "x-ms-blob-content-length", + xmlName: "x-ms-blob-content-length", + type: { + name: "Number" + } + }, + clientRequestId: { + serializedName: "x-ms-client-request-id", + xmlName: "x-ms-client-request-id", + type: { + name: "String" + } + }, + requestId: { + serializedName: "x-ms-request-id", + xmlName: "x-ms-request-id", + type: { + name: "String" + } + }, + version: { + serializedName: "x-ms-version", + xmlName: "x-ms-version", + type: { + name: "String" + } + }, + date: { + serializedName: "date", + xmlName: "date", + type: { + name: "DateTimeRfc1123" + } + }, + errorCode: { + serializedName: "x-ms-error-code", + xmlName: "x-ms-error-code", + type: { + name: "String" + } + } } } - }, contentLength = { - parameterPath: "contentLength", - mapper: { - serializedName: "Content-Length", - required: !0, - xmlName: "Content-Length", - type: { - name: "Number" + }, BlockBlobGetBlockListExceptionHeaders = { + serializedName: "BlockBlob_getBlockListExceptionHeaders", + type: { + name: "Composite", + className: "BlockBlobGetBlockListExceptionHeaders", + modelProperties: { + errorCode: { + serializedName: "x-ms-error-code", + xmlName: "x-ms-error-code", + type: { + name: "String" + } + } } } - }, multipartContentType = { - parameterPath: "multipartContentType", + }, contentType = { + parameterPath: [ "options", "contentType" ], mapper: { + defaultValue: "application/xml", + isConstant: !0, serializedName: "Content-Type", - required: !0, - xmlName: "Content-Type", type: { name: "String" } } - }, comp5 = { - parameterPath: "comp", + }, blobServiceProperties = { + parameterPath: "blobServiceProperties", + mapper: BlobServiceProperties + }, accept = { + parameterPath: "accept", mapper: { - defaultValue: "blobs", + defaultValue: "application/xml", isConstant: !0, - serializedName: "comp", + serializedName: "Accept", type: { name: "String" } } - }, where = { - parameterPath: [ "options", "where" ], + }, url = { + parameterPath: "url", mapper: { - serializedName: "where", - xmlName: "where", + serializedName: "url", + required: !0, + xmlName: "url", + type: { + name: "String" + } + }, + skipEncoding: !0 + }, restype = { + parameterPath: "restype", + mapper: { + defaultValue: "service", + isConstant: !0, + serializedName: "restype", + type: { + name: "String" + } + } + }, comp = { + parameterPath: "comp", + mapper: { + defaultValue: "properties", + isConstant: !0, + serializedName: "comp", + type: { + name: "String" + } + } + }, timeoutInSeconds = { + parameterPath: [ "options", "timeoutInSeconds" ], + mapper: { + constraints: { + InclusiveMinimum: 0 + }, + serializedName: "timeout", + xmlName: "timeout", + type: { + name: "Number" + } + } + }, version = { + parameterPath: "version", + mapper: { + defaultValue: "2024-08-04", + isConstant: !0, + serializedName: "x-ms-version", + type: { + name: "String" + } + } + }, requestId = { + parameterPath: [ "options", "requestId" ], + mapper: { + serializedName: "x-ms-client-request-id", + xmlName: "x-ms-client-request-id", + type: { + name: "String" + } + } + }, accept1 = { + parameterPath: "accept", + mapper: { + defaultValue: "application/xml", + isConstant: !0, + serializedName: "Accept", + type: { + name: "String" + } + } + }, comp2 = { + parameterPath: "comp", + mapper: { + defaultValue: "list", + isConstant: !0, + serializedName: "comp", + type: { + name: "String" + } + } + }, prefix = { + parameterPath: [ "options", "prefix" ], + mapper: { + serializedName: "prefix", + xmlName: "prefix", + type: { + name: "String" + } + } + }, marker = { + parameterPath: [ "options", "marker" ], + mapper: { + serializedName: "marker", + xmlName: "marker", + type: { + name: "String" + } + } + }, maxPageSize = { + parameterPath: [ "options", "maxPageSize" ], + mapper: { + constraints: { + InclusiveMinimum: 1 + }, + serializedName: "maxresults", + xmlName: "maxresults", + type: { + name: "Number" + } + } + }, keyInfo = { + parameterPath: "keyInfo", + mapper: KeyInfo + }, restype1 = { + parameterPath: "restype", + mapper: { + defaultValue: "account", + isConstant: !0, + serializedName: "restype", + type: { + name: "String" + } + } + }, body = { + parameterPath: "body", + mapper: { + serializedName: "body", + required: !0, + xmlName: "body", + type: { + name: "Stream" + } + } + }, comp4 = { + parameterPath: "comp", + mapper: { + defaultValue: "batch", + isConstant: !0, + serializedName: "comp", + type: { + name: "String" + } + } + }, contentLength = { + parameterPath: "contentLength", + mapper: { + serializedName: "Content-Length", + required: !0, + xmlName: "Content-Length", + type: { + name: "Number" + } + } + }, multipartContentType = { + parameterPath: "multipartContentType", + mapper: { + serializedName: "Content-Type", + required: !0, + xmlName: "Content-Type", + type: { + name: "String" + } + } + }, comp5 = { + parameterPath: "comp", + mapper: { + defaultValue: "blobs", + isConstant: !0, + serializedName: "comp", + type: { + name: "String" + } + } + }, where = { + parameterPath: [ "options", "where" ], + mapper: { + serializedName: "where", + xmlName: "where", type: { name: "String" } @@ -15206,6 +16594,7 @@ mapper: { serializedName: "x-ms-meta", xmlName: "x-ms-meta", + headerCollectionPrefix: "x-ms-meta-", type: { name: "Dictionary", value: { @@ -15213,8 +16602,7 @@ name: "String" } } - }, - headerCollectionPrefix: "x-ms-meta-" + } } }, access = { parameterPath: [ "options", "access" ], @@ -15406,7 +16794,7 @@ } } }, - collectionFormat: QueryCollectionFormat.Csv + collectionFormat: "CSV" }, snapshot = { parameterPath: [ "options", "snapshot" ], mapper: { @@ -15587,7 +16975,7 @@ xmlName: "x-ms-access-tier", type: { name: "Enum", - allowedValues: [ "P4", "P6", "P10", "P15", "P20", "P30", "P40", "P50", "P60", "P70", "P80", "Hot", "Cool", "Archive" ] + allowedValues: [ "P4", "P6", "P10", "P15", "P20", "P30", "P40", "P50", "P60", "P70", "P80", "Hot", "Cool", "Archive", "Cold" ] } } }, rehydratePriority = { @@ -15748,6 +17136,7 @@ }, blobSequenceNumber = { parameterPath: [ "options", "blobSequenceNumber" ], mapper: { + defaultValue: 0, serializedName: "x-ms-blob-sequence-number", xmlName: "x-ms-blob-sequence-number", type: { @@ -15941,65 +17330,57 @@ } } }; - class Service { + class ServiceImpl { constructor(client) { this.client = client; } setProperties(blobServiceProperties, options) { - const operationArguments = { + return this.client.sendOperationRequest({ blobServiceProperties, - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, setPropertiesOperationSpec); + options + }, setPropertiesOperationSpec); } getProperties(options) { - const operationArguments = { - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, getPropertiesOperationSpec); + return this.client.sendOperationRequest({ + options + }, getPropertiesOperationSpec); } getStatistics(options) { - const operationArguments = { - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, getStatisticsOperationSpec); + return this.client.sendOperationRequest({ + options + }, getStatisticsOperationSpec); } listContainersSegment(options) { - const operationArguments = { - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, listContainersSegmentOperationSpec); + return this.client.sendOperationRequest({ + options + }, listContainersSegmentOperationSpec); } getUserDelegationKey(keyInfo, options) { - const operationArguments = { + return this.client.sendOperationRequest({ keyInfo, - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, getUserDelegationKeyOperationSpec); + options + }, getUserDelegationKeyOperationSpec); } getAccountInfo(options) { - const operationArguments = { - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, getAccountInfoOperationSpec); + return this.client.sendOperationRequest({ + options + }, getAccountInfoOperationSpec); } submitBatch(contentLength, multipartContentType, body, options) { - const operationArguments = { + return this.client.sendOperationRequest({ contentLength, multipartContentType, body, - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, submitBatchOperationSpec); + options + }, submitBatchOperationSpec); } filterBlobs(options) { - const operationArguments = { - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, filterBlobsOperationSpec); + return this.client.sendOperationRequest({ + options + }, filterBlobsOperationSpec); } } - const xmlSerializer = new Serializer(mappers_namespaceObject, !0), setPropertiesOperationSpec = { + const xmlSerializer = createSerializer(mappers_namespaceObject, !0), setPropertiesOperationSpec = { path: "/", httpMethod: "PUT", responses: { @@ -16078,7 +17459,24 @@ headersMapper: ServiceListContainersSegmentExceptionHeaders } }, - queryParameters: [ timeoutInSeconds, comp2, prefix, marker, maxPageSize, include ], + queryParameters: [ timeoutInSeconds, comp2, prefix, marker, maxPageSize, { + parameterPath: [ "options", "include" ], + mapper: { + serializedName: "include", + xmlName: "include", + xmlElementName: "ListContainersIncludeType", + type: { + name: "Sequence", + element: { + type: { + name: "Enum", + allowedValues: [ "metadata", "deleted", "system" ] + } + } + } + }, + collectionFormat: "CSV" + } ], urlParameters: [ url ], headerParameters: [ version, requestId, accept1 ], isXML: !0, @@ -16126,9 +17524,9 @@ headersMapper: ServiceGetAccountInfoExceptionHeaders } }, - queryParameters: [ comp, restype1 ], + queryParameters: [ comp, timeoutInSeconds, restype1 ], urlParameters: [ url ], - headerParameters: [ version, accept1 ], + headerParameters: [ version, requestId, accept1 ], isXML: !0, serializer: xmlSerializer }, submitBatchOperationSpec = { @@ -16152,7 +17550,7 @@ requestBody: body, queryParameters: [ timeoutInSeconds, comp4 ], urlParameters: [ url ], - headerParameters: [ contentType, accept, version, requestId, contentLength, multipartContentType ], + headerParameters: [ accept, version, requestId, contentLength, multipartContentType ], isXML: !0, contentType: "application/xml; charset=utf-8", mediaType: "xml", @@ -16176,129 +17574,111 @@ isXML: !0, serializer: xmlSerializer }; - class Container { + class ContainerImpl { constructor(client) { this.client = client; } create(options) { - const operationArguments = { - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, createOperationSpec); + return this.client.sendOperationRequest({ + options + }, createOperationSpec); } getProperties(options) { - const operationArguments = { - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, container_getPropertiesOperationSpec); + return this.client.sendOperationRequest({ + options + }, container_getPropertiesOperationSpec); } delete(options) { - const operationArguments = { - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, deleteOperationSpec); + return this.client.sendOperationRequest({ + options + }, deleteOperationSpec); } setMetadata(options) { - const operationArguments = { - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, setMetadataOperationSpec); + return this.client.sendOperationRequest({ + options + }, setMetadataOperationSpec); } getAccessPolicy(options) { - const operationArguments = { - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, getAccessPolicyOperationSpec); + return this.client.sendOperationRequest({ + options + }, getAccessPolicyOperationSpec); } setAccessPolicy(options) { - const operationArguments = { - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, setAccessPolicyOperationSpec); + return this.client.sendOperationRequest({ + options + }, setAccessPolicyOperationSpec); } restore(options) { - const operationArguments = { - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, restoreOperationSpec); + return this.client.sendOperationRequest({ + options + }, restoreOperationSpec); } rename(sourceContainerName, options) { - const operationArguments = { + return this.client.sendOperationRequest({ sourceContainerName, - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, renameOperationSpec); + options + }, renameOperationSpec); } submitBatch(contentLength, multipartContentType, body, options) { - const operationArguments = { + return this.client.sendOperationRequest({ contentLength, multipartContentType, body, - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, container_submitBatchOperationSpec); + options + }, container_submitBatchOperationSpec); } filterBlobs(options) { - const operationArguments = { - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, container_filterBlobsOperationSpec); + return this.client.sendOperationRequest({ + options + }, container_filterBlobsOperationSpec); } acquireLease(options) { - const operationArguments = { - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, acquireLeaseOperationSpec); + return this.client.sendOperationRequest({ + options + }, acquireLeaseOperationSpec); } releaseLease(leaseId, options) { - const operationArguments = { + return this.client.sendOperationRequest({ leaseId, - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, releaseLeaseOperationSpec); + options + }, releaseLeaseOperationSpec); } renewLease(leaseId, options) { - const operationArguments = { + return this.client.sendOperationRequest({ leaseId, - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, renewLeaseOperationSpec); + options + }, renewLeaseOperationSpec); } breakLease(options) { - const operationArguments = { - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, breakLeaseOperationSpec); + return this.client.sendOperationRequest({ + options + }, breakLeaseOperationSpec); } changeLease(leaseId, proposedLeaseId, options) { - const operationArguments = { + return this.client.sendOperationRequest({ leaseId, proposedLeaseId, - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, changeLeaseOperationSpec); + options + }, changeLeaseOperationSpec); } listBlobFlatSegment(options) { - const operationArguments = { - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, listBlobFlatSegmentOperationSpec); + return this.client.sendOperationRequest({ + options + }, listBlobFlatSegmentOperationSpec); } listBlobHierarchySegment(delimiter, options) { - const operationArguments = { + return this.client.sendOperationRequest({ delimiter, - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, listBlobHierarchySegmentOperationSpec); + options + }, listBlobHierarchySegmentOperationSpec); } getAccountInfo(options) { - const operationArguments = { - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, container_getAccountInfoOperationSpec); + return this.client.sendOperationRequest({ + options + }, container_getAccountInfoOperationSpec); } } - const container_xmlSerializer = new Serializer(mappers_namespaceObject, !0), createOperationSpec = { + const container_xmlSerializer = createSerializer(mappers_namespaceObject, !0), createOperationSpec = { path: "/{containerName}", httpMethod: "PUT", responses: { @@ -16555,7 +17935,7 @@ requestBody: body, queryParameters: [ timeoutInSeconds, comp4, restype2 ], urlParameters: [ url ], - headerParameters: [ contentType, accept, version, requestId, contentLength, multipartContentType ], + headerParameters: [ accept, version, requestId, contentLength, multipartContentType ], isXML: !0, contentType: "application/xml; charset=utf-8", mediaType: "xml", @@ -16721,3235 +18101,1694 @@ headersMapper: ContainerGetAccountInfoExceptionHeaders } }, - queryParameters: [ comp, restype1 ], + queryParameters: [ comp, timeoutInSeconds, restype1 ], urlParameters: [ url ], - headerParameters: [ version, accept1 ], + headerParameters: [ version, requestId, accept1 ], isXML: !0, serializer: container_xmlSerializer }; - function createSpanFunction(args) { - return function(operationName, operationOptions) { - const tracer = function(name, version) { - return trace.getTracer(name || "azure/core-tracing", version); - }(), tracingOptions = (null == operationOptions ? void 0 : operationOptions.tracingOptions) || {}, spanOptions = Object.assign({ - kind: SpanKind.INTERNAL - }, tracingOptions.spanOptions), spanName = args.packagePrefix ? `${args.packagePrefix}.${operationName}` : operationName; - let span; - span = function() { - var _a; - if ("undefined" == typeof process) return !1; - const azureTracingDisabledValue = null === (_a = process.env.AZURE_TRACING_DISABLED) || void 0 === _a ? void 0 : _a.toLowerCase(); - return "false" !== azureTracingDisabledValue && "0" !== azureTracingDisabledValue && Boolean(azureTracingDisabledValue); - }() ? trace.wrapSpanContext(INVALID_SPAN_CONTEXT) : tracer.startSpan(spanName, spanOptions, tracingOptions.tracingContext), - args.namespace && span.setAttribute("az.namespace", args.namespace); - let newSpanOptions = tracingOptions.spanOptions || {}; - span.isRecording() && args.namespace && (newSpanOptions = Object.assign(Object.assign({}, tracingOptions.spanOptions), { - attributes: Object.assign(Object.assign({}, spanOptions.attributes), { - "az.namespace": args.namespace - }) - })); - const newTracingOptions = Object.assign(Object.assign({}, tracingOptions), { - spanOptions: newSpanOptions, - tracingContext: interfaces_setSpan(tracingOptions.tracingContext || interfaces_context.active(), span) - }); - return { - span, - updatedOptions: Object.assign(Object.assign({}, operationOptions), { - tracingOptions: newTracingOptions - }) - }; - }; - } - const traceParentHeader_VERSION = "00"; - var external_os_ = __webpack_require__(9563); - const debugEnvVariable = "undefined" != typeof process && process.env && process.env.DEBUG || void 0; - let enabledString, enabledNamespaces = [], skippedNamespaces = []; - const debuggers = []; - debugEnvVariable && enable(debugEnvVariable); - const debugObj = Object.assign((namespace => createDebugger(namespace)), { - enable, - enabled, - disable: function() { - const result = enabledString || ""; - return enable(""), result; - }, - log: function(message, ...args) { - process.stderr.write(`${external_util_default().format(message, ...args)}${external_os_.EOL}`); + class BlobImpl { + constructor(client) { + this.client = client; } - }); - function enable(namespaces) { - enabledString = namespaces, enabledNamespaces = [], skippedNamespaces = []; - const wildcard = /\*/g, namespaceList = namespaces.split(",").map((ns => ns.trim().replace(wildcard, ".*?"))); - for (const ns of namespaceList) ns.startsWith("-") ? skippedNamespaces.push(new RegExp(`^${ns.substr(1)}$`)) : enabledNamespaces.push(new RegExp(`^${ns}$`)); - for (const instance of debuggers) instance.enabled = enabled(instance.namespace); - } - function enabled(namespace) { - if (namespace.endsWith("*")) return !0; - for (const skipped of skippedNamespaces) if (skipped.test(namespace)) return !1; - for (const enabledNamespace of enabledNamespaces) if (enabledNamespace.test(namespace)) return !0; - return !1; - } - function createDebugger(namespace) { - const newDebugger = Object.assign((function(...args) { - if (!newDebugger.enabled) return; - args.length > 0 && (args[0] = `${namespace} ${args[0]}`); - newDebugger.log(...args); - }), { - enabled: enabled(namespace), - destroy, - log: debugObj.log, - namespace, - extend - }); - return debuggers.push(newDebugger), newDebugger; - } - function destroy() { - const index = debuggers.indexOf(this); - return index >= 0 && (debuggers.splice(index, 1), !0); - } - function extend(namespace) { - const newDebugger = createDebugger(`${this.namespace}:${namespace}`); - return newDebugger.log = this.log, newDebugger; - } - const debug = debugObj, registeredLoggers = new Set, logLevelFromEnv = "undefined" != typeof process && process.env && process.env.AZURE_LOG_LEVEL || void 0; - let azureLogLevel; - const AzureLogger = debug("azure"); - AzureLogger.log = (...args) => { - debug.log(...args); - }; - const AZURE_LOG_LEVELS = [ "verbose", "info", "warning", "error" ]; - logLevelFromEnv && (isAzureLogLevel(logLevelFromEnv) ? function(level) { - if (level && !isAzureLogLevel(level)) throw new Error(`Unknown log level '${level}'. Acceptable values: ${AZURE_LOG_LEVELS.join(",")}`); - azureLogLevel = level; - const enabledNamespaces = []; - for (const logger of registeredLoggers) shouldEnable(logger) && enabledNamespaces.push(logger.namespace); - debug.enable(enabledNamespaces.join(",")); - }(logLevelFromEnv) : console.error(`AZURE_LOG_LEVEL set to unknown log level '${logLevelFromEnv}'; logging is not enabled. Acceptable values: ${AZURE_LOG_LEVELS.join(", ")}.`)); - const levelMap = { - verbose: 400, - info: 300, - warning: 200, - error: 100 - }; - function createClientLogger(namespace) { - const clientRootLogger = AzureLogger.extend(namespace); - return patchLogMethod(AzureLogger, clientRootLogger), { - error: createLogger(clientRootLogger, "error"), - warning: createLogger(clientRootLogger, "warning"), - info: createLogger(clientRootLogger, "info"), - verbose: createLogger(clientRootLogger, "verbose") - }; - } - function patchLogMethod(parent, child) { - child.log = (...args) => { - parent.log(...args); - }; - } - function createLogger(parent, level) { - const logger = Object.assign(parent.extend(level), { - level - }); - if (patchLogMethod(parent, logger), shouldEnable(logger)) { - const enabledNamespaces = debug.disable(); - debug.enable(enabledNamespaces + "," + logger.namespace); - } - return registeredLoggers.add(logger), logger; - } - function shouldEnable(logger) { - return !!(azureLogLevel && levelMap[logger.level] <= levelMap[azureLogLevel]); - } - function isAzureLogLevel(logLevel) { - return AZURE_LOG_LEVELS.includes(logLevel); - } - const log_logger = createClientLogger("core-http"), createSpan = createSpanFunction({ - packagePrefix: "", - namespace: "" - }); - function tracingPolicy_tracingPolicy(tracingOptions = {}) { - return { - create: (nextPolicy, options) => new TracingPolicy(nextPolicy, options, tracingOptions) - }; - } - class TracingPolicy extends BaseRequestPolicy { - constructor(nextPolicy, options, tracingOptions) { - super(nextPolicy, options), this.userAgent = tracingOptions.userAgent; - } - async sendRequest(request) { - if (!request.tracingContext) return this._nextPolicy.sendRequest(request); - const span = this.tryCreateSpan(request); - if (!span) return this._nextPolicy.sendRequest(request); - try { - const response = await this._nextPolicy.sendRequest(request); - return this.tryProcessResponse(span, response), response; - } catch (err) { - throw this.tryProcessError(span, err), err; - } - } - tryCreateSpan(request) { - var _a; - try { - const {span} = createSpan(`HTTP ${request.method}`, { - tracingOptions: { - spanOptions: Object.assign(Object.assign({}, request.spanOptions), { - kind: SpanKind.CLIENT - }), - tracingContext: request.tracingContext - } - }); - if (!span.isRecording()) return void span.end(); - const namespaceFromContext = null === (_a = request.tracingContext) || void 0 === _a ? void 0 : _a.getValue(Symbol.for("az.namespace")); - "string" == typeof namespaceFromContext && span.setAttribute("az.namespace", namespaceFromContext), - span.setAttributes({ - "http.method": request.method, - "http.url": request.url, - requestId: request.requestId - }), this.userAgent && span.setAttribute("http.user_agent", this.userAgent); - const spanContext = span.spanContext(), traceParentHeader = function(spanContext) { - const missingFields = []; - if (spanContext.traceId || missingFields.push("traceId"), spanContext.spanId || missingFields.push("spanId"), - missingFields.length) return; - const hexFlags = (spanContext.traceFlags || 0).toString(16), traceFlags = 1 === hexFlags.length ? `0${hexFlags}` : hexFlags; - return `${traceParentHeader_VERSION}-${spanContext.traceId}-${spanContext.spanId}-${traceFlags}`; - }(spanContext); - if (traceParentHeader && function(context) { - return trace.isSpanContextValid(context); - }(spanContext)) { - request.headers.set("traceparent", traceParentHeader); - const traceState = spanContext.traceState && spanContext.traceState.serialize(); - traceState && request.headers.set("tracestate", traceState); - } - return span; - } catch (error) { - return void log_logger.warning(`Skipping creating a tracing span due to an error: ${error.message}`); - } - } - tryProcessError(span, err) { - try { - span.setStatus({ - code: SpanStatusCode.ERROR, - message: err.message - }), err.statusCode && span.setAttribute("http.status_code", err.statusCode), span.end(); - } catch (error) { - log_logger.warning(`Skipping tracing span processing due to an error: ${error.message}`); - } - } - tryProcessResponse(span, response) { - try { - span.setAttribute("http.status_code", response.status); - const serviceRequestId = response.headers.get("x-ms-request-id"); - serviceRequestId && span.setAttribute("serviceRequestId", serviceRequestId), span.setStatus({ - code: SpanStatusCode.OK - }), span.end(); - } catch (error) { - log_logger.warning(`Skipping tracing span processing due to an error: ${error.message}`); - } - } - } - const keepAlivePolicy_DefaultKeepAliveOptions = { - enable: !0 - }; - class KeepAlivePolicy extends BaseRequestPolicy { - constructor(nextPolicy, options, keepAliveOptions) { - super(nextPolicy, options), this.keepAliveOptions = keepAliveOptions; - } - async sendRequest(request) { - return request.keepAlive = this.keepAliveOptions.enable, this._nextPolicy.sendRequest(request); + download(options) { + return this.client.sendOperationRequest({ + options + }, downloadOperationSpec); } - } - function generateClientRequestIdPolicy_generateClientRequestIdPolicy(requestIdHeaderName = "x-ms-client-request-id") { - return { - create: (nextPolicy, options) => new GenerateClientRequestIdPolicy(nextPolicy, options, requestIdHeaderName) - }; - } - class GenerateClientRequestIdPolicy extends BaseRequestPolicy { - constructor(nextPolicy, options, _requestIdHeaderName) { - super(nextPolicy, options), this._requestIdHeaderName = _requestIdHeaderName; + getProperties(options) { + return this.client.sendOperationRequest({ + options + }, blob_getPropertiesOperationSpec); } - sendRequest(request) { - return request.headers.contains(this._requestIdHeaderName) || request.headers.set(this._requestIdHeaderName, request.requestId), - this._nextPolicy.sendRequest(request); + delete(options) { + return this.client.sendOperationRequest({ + options + }, blob_deleteOperationSpec); } - } - var xml2js = __webpack_require__(2662); - const xml2jsDefaultOptionsV2 = { - explicitCharkey: !1, - trim: !1, - normalize: !1, - normalizeTags: !1, - attrkey: XML_ATTRKEY, - explicitArray: !0, - ignoreAttrs: !1, - mergeAttrs: !1, - explicitRoot: !0, - validator: void 0, - xmlns: !1, - explicitChildren: !1, - preserveChildrenOrder: !1, - childkey: "$$", - charsAsChildren: !1, - includeWhiteChars: !1, - async: !1, - strict: !0, - attrNameProcessors: void 0, - attrValueProcessors: void 0, - tagNameProcessors: void 0, - valueProcessors: void 0, - rootName: "root", - xmldec: { - version: "1.0", - encoding: "UTF-8", - standalone: !0 - }, - doctype: void 0, - renderOpts: { - pretty: !0, - indent: " ", - newline: "\n" - }, - headless: !1, - chunkSize: 1e4, - emptyTag: "", - cdata: !1 - }, xml2jsParserSettings = Object.assign({}, xml2jsDefaultOptionsV2); - xml2jsParserSettings.explicitArray = !1; - const xml2jsBuilderSettings = Object.assign({}, xml2jsDefaultOptionsV2); - function stringifyXML(obj, opts = {}) { - var _a; - xml2jsBuilderSettings.rootName = opts.rootName, xml2jsBuilderSettings.charkey = null !== (_a = opts.xmlCharKey) && void 0 !== _a ? _a : XML_CHARKEY; - return new xml2js.Builder(xml2jsBuilderSettings).buildObject(obj); - } - function deserializationPolicy_deserializationPolicy(deserializationContentTypes, parsingOptions) { - return { - create: (nextPolicy, options) => new DeserializationPolicy(nextPolicy, options, deserializationContentTypes, parsingOptions) - }; - } - xml2jsBuilderSettings.explicitArray = !1, xml2jsBuilderSettings.renderOpts = { - pretty: !1 - }; - const defaultJsonContentTypes = [ "application/json", "text/json" ], defaultXmlContentTypes = [ "application/xml", "application/atom+xml" ]; - class DeserializationPolicy extends BaseRequestPolicy { - constructor(nextPolicy, requestPolicyOptions, deserializationContentTypes, parsingOptions = {}) { - var _a; - super(nextPolicy, requestPolicyOptions), this.jsonContentTypes = deserializationContentTypes && deserializationContentTypes.json || defaultJsonContentTypes, - this.xmlContentTypes = deserializationContentTypes && deserializationContentTypes.xml || defaultXmlContentTypes, - this.xmlCharKey = null !== (_a = parsingOptions.xmlCharKey) && void 0 !== _a ? _a : XML_CHARKEY; + undelete(options) { + return this.client.sendOperationRequest({ + options + }, undeleteOperationSpec); } - async sendRequest(request) { - return this._nextPolicy.sendRequest(request).then((response => function(jsonContentTypes, xmlContentTypes, response, options = {}) { - var _a, _b, _c; - const updatedOptions = { - rootName: null !== (_a = options.rootName) && void 0 !== _a ? _a : "", - includeRoot: null !== (_b = options.includeRoot) && void 0 !== _b && _b, - xmlCharKey: null !== (_c = options.xmlCharKey) && void 0 !== _c ? _c : XML_CHARKEY - }; - return function(jsonContentTypes, xmlContentTypes, operationResponse, opts) { - var _a; - const errorHandler = err => { - const msg = `Error "${err}" occurred while parsing the response body - ${operationResponse.bodyAsText}.`, errCode = err.code || RestError.PARSE_ERROR, e = new RestError(msg, errCode, operationResponse.status, operationResponse.request, operationResponse); - return Promise.reject(e); - }, streaming = (null === (_a = operationResponse.request.streamResponseStatusCodes) || void 0 === _a ? void 0 : _a.has(operationResponse.status)) || operationResponse.request.streamResponseBody; - if (!streaming && operationResponse.bodyAsText) { - const text = operationResponse.bodyAsText, contentType = operationResponse.headers.get("Content-Type") || "", contentComponents = contentType ? contentType.split(";").map((component => component.toLowerCase())) : []; - if (0 === contentComponents.length || contentComponents.some((component => -1 !== jsonContentTypes.indexOf(component)))) return new Promise((resolve => { - operationResponse.parsedBody = JSON.parse(text), resolve(operationResponse); - })).catch(errorHandler); - if (contentComponents.some((component => -1 !== xmlContentTypes.indexOf(component)))) return function(str, opts = {}) { - var _a; - xml2jsParserSettings.explicitRoot = !!opts.includeRoot, xml2jsParserSettings.charkey = null !== (_a = opts.xmlCharKey) && void 0 !== _a ? _a : XML_CHARKEY; - const xmlParser = new xml2js.Parser(xml2jsParserSettings); - return new Promise(((resolve, reject) => { - str ? xmlParser.parseString(str, ((err, res) => { - err ? reject(err) : resolve(res); - })) : reject(new Error("Document is empty")); - })); - }(text, opts).then((body => (operationResponse.parsedBody = body, operationResponse))).catch(errorHandler); - } - return Promise.resolve(operationResponse); - }(jsonContentTypes, xmlContentTypes, response, updatedOptions).then((parsedResponse => { - if (!function(parsedResponse) { - const shouldDeserialize = parsedResponse.request.shouldDeserialize; - let result; - result = void 0 === shouldDeserialize || ("boolean" == typeof shouldDeserialize ? shouldDeserialize : shouldDeserialize(parsedResponse)); - return result; - }(parsedResponse)) return parsedResponse; - const operationSpec = parsedResponse.request.operationSpec; - if (!operationSpec || !operationSpec.responses) return parsedResponse; - const responseSpec = function(parsedResponse) { - let result; - const request = parsedResponse.request, operationSpec = request.operationSpec; - if (operationSpec) { - const operationResponseGetter = request.operationResponseGetter; - result = operationResponseGetter ? operationResponseGetter(operationSpec, parsedResponse) : operationSpec.responses[parsedResponse.status]; - } - return result; - }(parsedResponse), {error, shouldReturnResponse} = function(parsedResponse, operationSpec, responseSpec) { - var _a; - const isSuccessByStatus = 200 <= parsedResponse.status && parsedResponse.status < 300, isExpectedStatusCode = function(operationSpec) { - const expectedStatusCodes = Object.keys(operationSpec.responses); - return 0 === expectedStatusCodes.length || 1 === expectedStatusCodes.length && "default" === expectedStatusCodes[0]; - }(operationSpec) ? isSuccessByStatus : !!responseSpec; - if (isExpectedStatusCode) { - if (!responseSpec) return { - error: null, - shouldReturnResponse: !1 - }; - if (!responseSpec.isError) return { - error: null, - shouldReturnResponse: !1 - }; - } - const errorResponseSpec = null != responseSpec ? responseSpec : operationSpec.responses.default, streaming = (null === (_a = parsedResponse.request.streamResponseStatusCodes) || void 0 === _a ? void 0 : _a.has(parsedResponse.status)) || parsedResponse.request.streamResponseBody, initialErrorMessage = streaming ? `Unexpected status code: ${parsedResponse.status}` : parsedResponse.bodyAsText, error = new RestError(initialErrorMessage, void 0, parsedResponse.status, parsedResponse.request, parsedResponse); - if (!errorResponseSpec) throw error; - const defaultBodyMapper = errorResponseSpec.bodyMapper, defaultHeadersMapper = errorResponseSpec.headersMapper; - try { - if (parsedResponse.parsedBody) { - const parsedBody = parsedResponse.parsedBody; - let parsedError; - if (defaultBodyMapper) { - let valueToDeserialize = parsedBody; - operationSpec.isXML && defaultBodyMapper.type.name === MapperType.Sequence && (valueToDeserialize = "object" == typeof parsedBody ? parsedBody[defaultBodyMapper.xmlElementName] : []), - parsedError = operationSpec.serializer.deserialize(defaultBodyMapper, valueToDeserialize, "error.response.parsedBody"); - } - const internalError = parsedBody.error || parsedError || parsedBody; - error.code = internalError.code, internalError.message && (error.message = internalError.message), - defaultBodyMapper && (error.response.parsedBody = parsedError); - } - parsedResponse.headers && defaultHeadersMapper && (error.response.parsedHeaders = operationSpec.serializer.deserialize(defaultHeadersMapper, parsedResponse.headers.toJson(), "operationRes.parsedHeaders")); - } catch (defaultError) { - error.message = `Error "${defaultError.message}" occurred in deserializing the responseBody - "${parsedResponse.bodyAsText}" for the default response.`; - } - return { - error, - shouldReturnResponse: !1 - }; - }(parsedResponse, operationSpec, responseSpec); - if (error) throw error; - if (shouldReturnResponse) return parsedResponse; - if (responseSpec) { - if (responseSpec.bodyMapper) { - let valueToDeserialize = parsedResponse.parsedBody; - operationSpec.isXML && responseSpec.bodyMapper.type.name === MapperType.Sequence && (valueToDeserialize = "object" == typeof valueToDeserialize ? valueToDeserialize[responseSpec.bodyMapper.xmlElementName] : []); - try { - parsedResponse.parsedBody = operationSpec.serializer.deserialize(responseSpec.bodyMapper, valueToDeserialize, "operationRes.parsedBody", options); - } catch (innerError) { - throw new RestError(`Error ${innerError} occurred in deserializing the responseBody - ${parsedResponse.bodyAsText}`, void 0, parsedResponse.status, parsedResponse.request, parsedResponse); - } - } else "HEAD" === operationSpec.httpMethod && (parsedResponse.parsedBody = response.status >= 200 && response.status < 300); - responseSpec.headersMapper && (parsedResponse.parsedHeaders = operationSpec.serializer.deserialize(responseSpec.headersMapper, parsedResponse.headers.toJson(), "operationRes.parsedHeaders", options)); - } - return parsedResponse; - })); - }(this.jsonContentTypes, this.xmlContentTypes, response, { - xmlCharKey: this.xmlCharKey - }))); + setExpiry(expiryOptions, options) { + return this.client.sendOperationRequest({ + expiryOptions, + options + }, setExpiryOperationSpec); } - } - function logPolicy_logPolicy(loggingOptions = {}) { - return { - create: (nextPolicy, options) => new LogPolicy(nextPolicy, options, loggingOptions) - }; - } - class LogPolicy extends BaseRequestPolicy { - constructor(nextPolicy, options, {logger = log_logger.info, allowedHeaderNames = [], allowedQueryParameters = []} = {}) { - super(nextPolicy, options), this.logger = logger, this.sanitizer = new Sanitizer({ - allowedHeaderNames, - allowedQueryParameters - }); + setHttpHeaders(options) { + return this.client.sendOperationRequest({ + options + }, setHttpHeadersOperationSpec); } - get allowedHeaderNames() { - return this.sanitizer.allowedHeaderNames; + setImmutabilityPolicy(options) { + return this.client.sendOperationRequest({ + options + }, setImmutabilityPolicyOperationSpec); } - set allowedHeaderNames(allowedHeaderNames) { - this.sanitizer.allowedHeaderNames = allowedHeaderNames; + deleteImmutabilityPolicy(options) { + return this.client.sendOperationRequest({ + options + }, deleteImmutabilityPolicyOperationSpec); } - get allowedQueryParameters() { - return this.sanitizer.allowedQueryParameters; + setLegalHold(legalHold, options) { + return this.client.sendOperationRequest({ + legalHold, + options + }, setLegalHoldOperationSpec); } - set allowedQueryParameters(allowedQueryParameters) { - this.sanitizer.allowedQueryParameters = allowedQueryParameters; + setMetadata(options) { + return this.client.sendOperationRequest({ + options + }, blob_setMetadataOperationSpec); } - sendRequest(request) { - return this.logger.enabled ? (this.logRequest(request), this._nextPolicy.sendRequest(request).then((response => this.logResponse(response)))) : this._nextPolicy.sendRequest(request); + acquireLease(options) { + return this.client.sendOperationRequest({ + options + }, blob_acquireLeaseOperationSpec); } - logRequest(request) { - this.logger(`Request: ${this.sanitizer.sanitize(request)}`); + releaseLease(leaseId, options) { + return this.client.sendOperationRequest({ + leaseId, + options + }, blob_releaseLeaseOperationSpec); } - logResponse(response) { - return this.logger(`Response status code: ${response.status}`), this.logger(`Headers: ${this.sanitizer.sanitize(response.headers)}`), - response; + renewLease(leaseId, options) { + return this.client.sendOperationRequest({ + leaseId, + options + }, blob_renewLeaseOperationSpec); } - } - class DisableResponseDecompressionPolicy extends BaseRequestPolicy { - constructor(nextPolicy, options) { - super(nextPolicy, options); + changeLease(leaseId, proposedLeaseId, options) { + return this.client.sendOperationRequest({ + leaseId, + proposedLeaseId, + options + }, blob_changeLeaseOperationSpec); } - async sendRequest(request) { - return request.decompressResponse = !1, this._nextPolicy.sendRequest(request); + breakLease(options) { + return this.client.sendOperationRequest({ + options + }, blob_breakLeaseOperationSpec); } - } - function getHeaderKey(headerName) { - return headerName.toLowerCase(); - } - function isHttpHeadersLike(object) { - if (object && "object" == typeof object) { - const castObject = object; - if ("function" == typeof castObject.rawHeaders && "function" == typeof castObject.clone && "function" == typeof castObject.get && "function" == typeof castObject.set && "function" == typeof castObject.contains && "function" == typeof castObject.remove && "function" == typeof castObject.headersArray && "function" == typeof castObject.headerValues && "function" == typeof castObject.headerNames && "function" == typeof castObject.toJson) return !0; + createSnapshot(options) { + return this.client.sendOperationRequest({ + options + }, createSnapshotOperationSpec); } - return !1; - } - class httpHeaders_HttpHeaders { - constructor(rawHeaders) { - if (this._headersMap = {}, rawHeaders) for (const headerName in rawHeaders) this.set(headerName, rawHeaders[headerName]); + startCopyFromURL(copySource, options) { + return this.client.sendOperationRequest({ + copySource, + options + }, startCopyFromURLOperationSpec); } - set(headerName, headerValue) { - this._headersMap[getHeaderKey(headerName)] = { - name: headerName, - value: headerValue.toString() - }; + copyFromURL(copySource, options) { + return this.client.sendOperationRequest({ + copySource, + options + }, copyFromURLOperationSpec); } - get(headerName) { - const header = this._headersMap[getHeaderKey(headerName)]; - return header ? header.value : void 0; + abortCopyFromURL(copyId, options) { + return this.client.sendOperationRequest({ + copyId, + options + }, abortCopyFromURLOperationSpec); } - contains(headerName) { - return !!this._headersMap[getHeaderKey(headerName)]; + setTier(tier, options) { + return this.client.sendOperationRequest({ + tier, + options + }, setTierOperationSpec); } - remove(headerName) { - const result = this.contains(headerName); - return delete this._headersMap[getHeaderKey(headerName)], result; + getAccountInfo(options) { + return this.client.sendOperationRequest({ + options + }, blob_getAccountInfoOperationSpec); } - rawHeaders() { - return this.toJson({ - preserveCase: !0 - }); + query(options) { + return this.client.sendOperationRequest({ + options + }, queryOperationSpec); } - headersArray() { - const headers = []; - for (const headerKey in this._headersMap) headers.push(this._headersMap[headerKey]); - return headers; + getTags(options) { + return this.client.sendOperationRequest({ + options + }, getTagsOperationSpec); } - headerNames() { - const headerNames = [], headers = this.headersArray(); - for (let i = 0; i < headers.length; ++i) headerNames.push(headers[i].name); - return headerNames; + setTags(options) { + return this.client.sendOperationRequest({ + options + }, setTagsOperationSpec); } - headerValues() { - const headerValues = [], headers = this.headersArray(); - for (let i = 0; i < headers.length; ++i) headerValues.push(headers[i].value); - return headerValues; - } - toJson(options = {}) { - const result = {}; - if (options.preserveCase) for (const headerKey in this._headersMap) { - const header = this._headersMap[headerKey]; - result[header.name] = header.value; - } else for (const headerKey in this._headersMap) { - const header = this._headersMap[headerKey]; - result[getHeaderKey(header.name)] = header.value; - } - return result; - } - toString() { - return JSON.stringify(this.toJson({ - preserveCase: !0 - })); - } - clone() { - const resultPreservingCasing = {}; - for (const headerKey in this._headersMap) { - const header = this._headersMap[headerKey]; - resultPreservingCasing[header.name] = header.value; + } + const blob_xmlSerializer = createSerializer(mappers_namespaceObject, !0), downloadOperationSpec = { + path: "/{containerName}/{blob}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: { + type: { + name: "Stream" + }, + serializedName: "parsedResponse" + }, + headersMapper: BlobDownloadHeaders + }, + 206: { + bodyMapper: { + type: { + name: "Stream" + }, + serializedName: "parsedResponse" + }, + headersMapper: BlobDownloadHeaders + }, + default: { + bodyMapper: StorageError, + headersMapper: BlobDownloadExceptionHeaders } - return new httpHeaders_HttpHeaders(resultPreservingCasing); - } - } - class WebResource { - constructor(url, method, body, query, headers, streamResponseBody, withCredentials, abortSignal, timeout, onUploadProgress, onDownloadProgress, proxySettings, keepAlive, decompressResponse, streamResponseStatusCodes) { - this.streamResponseBody = streamResponseBody, this.streamResponseStatusCodes = streamResponseStatusCodes, - this.url = url || "", this.method = method || "GET", this.headers = isHttpHeadersLike(headers) ? headers : new httpHeaders_HttpHeaders(headers), - this.body = body, this.query = query, this.formData = void 0, this.withCredentials = withCredentials || !1, - this.abortSignal = abortSignal, this.timeout = timeout || 0, this.onUploadProgress = onUploadProgress, - this.onDownloadProgress = onDownloadProgress, this.proxySettings = proxySettings, - this.keepAlive = keepAlive, this.decompressResponse = decompressResponse, this.requestId = this.headers.get("x-ms-client-request-id") || generateUuid(); - } - validateRequestProperties() { - if (!this.method) throw new Error("WebResource.method is required."); - if (!this.url) throw new Error("WebResource.url is required."); - } - prepare(options) { - if (!options) throw new Error("options object is required"); - if (void 0 === options.method || null === options.method || "string" != typeof options.method.valueOf()) throw new Error("options.method must be a string."); - if (options.url && options.pathTemplate) throw new Error("options.url and options.pathTemplate are mutually exclusive. Please provide exactly one of them."); - if (!(void 0 !== options.pathTemplate && null !== options.pathTemplate && "string" == typeof options.pathTemplate.valueOf() || void 0 !== options.url && null !== options.url && "string" == typeof options.url.valueOf())) throw new Error("Please provide exactly one of options.pathTemplate or options.url."); - if (options.url) { - if ("string" != typeof options.url) throw new Error('options.url must be of type "string".'); - this.url = options.url; - } - if (options.method) { - const validMethods = [ "GET", "PUT", "HEAD", "DELETE", "OPTIONS", "POST", "PATCH", "TRACE" ]; - if (-1 === validMethods.indexOf(options.method.toUpperCase())) throw new Error('The provided method "' + options.method + '" is invalid. Supported HTTP methods are: ' + JSON.stringify(validMethods)); - } - if (this.method = options.method.toUpperCase(), options.pathTemplate) { - const {pathTemplate, pathParameters} = options; - if ("string" != typeof pathTemplate) throw new Error('options.pathTemplate must be of type "string".'); - options.baseUrl || (options.baseUrl = "https://management.azure.com"); - const baseUrl = options.baseUrl; - let url = baseUrl + (baseUrl.endsWith("/") ? "" : "/") + (pathTemplate.startsWith("/") ? pathTemplate.slice(1) : pathTemplate); - const segments = url.match(/({[\w-]*\s*[\w-]*})/gi); - if (segments && segments.length) { - if (!pathParameters) throw new Error(`pathTemplate: ${pathTemplate} has been provided. Hence, options.pathParameters must also be provided.`); - segments.forEach((function(item) { - const pathParamName = item.slice(1, -1), pathParam = pathParameters[pathParamName]; - if (null == pathParam || "string" != typeof pathParam && "object" != typeof pathParam) { - const stringifiedPathParameters = JSON.stringify(pathParameters, void 0, 2); - throw new Error(`pathTemplate: ${pathTemplate} contains the path parameter ${pathParamName} however, it is not present in parameters: ${stringifiedPathParameters}.The value of the path parameter can either be a "string" of the form { ${pathParamName}: "some sample value" } or it can be an "object" of the form { "${pathParamName}": { value: "some sample value", skipUrlEncoding: true } }.`); - } - if ("string" == typeof pathParam.valueOf() && (url = url.replace(item, encodeURIComponent(pathParam))), - "object" == typeof pathParam.valueOf()) { - if (!pathParam.value) throw new Error(`options.pathParameters[${pathParamName}] is of type "object" but it does not contain a "value" property.`); - url = pathParam.skipUrlEncoding ? url.replace(item, pathParam.value) : url.replace(item, encodeURIComponent(pathParam.value)); - } - })); + }, + queryParameters: [ timeoutInSeconds, snapshot, versionId ], + urlParameters: [ url ], + headerParameters: [ version, requestId, accept1, leaseId, ifModifiedSince, ifUnmodifiedSince, range, { + parameterPath: [ "options", "rangeGetContentMD5" ], + mapper: { + serializedName: "x-ms-range-get-content-md5", + xmlName: "x-ms-range-get-content-md5", + type: { + name: "Boolean" } - this.url = url; } - if (options.queryParameters) { - const queryParameters = options.queryParameters; - if ("object" != typeof queryParameters) throw new Error('options.queryParameters must be of type object. It should be a JSON object of "query-parameter-name" as the key and the "query-parameter-value" as the value. The "query-parameter-value" may be fo type "string" or an "object" of the form { value: "query-parameter-value", skipUrlEncoding: true }.'); - this.url && -1 === this.url.indexOf("?") && (this.url += "?"); - const queryParams = []; - this.query = {}; - for (const queryParamName in queryParameters) { - const queryParam = queryParameters[queryParamName]; - if (queryParam) if ("string" == typeof queryParam) queryParams.push(queryParamName + "=" + encodeURIComponent(queryParam)), - this.query[queryParamName] = encodeURIComponent(queryParam); else if ("object" == typeof queryParam) { - if (!queryParam.value) throw new Error(`options.queryParameters[${queryParamName}] is of type "object" but it does not contain a "value" property.`); - queryParam.skipUrlEncoding ? (queryParams.push(queryParamName + "=" + queryParam.value), - this.query[queryParamName] = queryParam.value) : (queryParams.push(queryParamName + "=" + encodeURIComponent(queryParam.value)), - this.query[queryParamName] = encodeURIComponent(queryParam.value)); - } + }, { + parameterPath: [ "options", "rangeGetContentCRC64" ], + mapper: { + serializedName: "x-ms-range-get-content-crc64", + xmlName: "x-ms-range-get-content-crc64", + type: { + name: "Boolean" } - this.url += queryParams.join("&"); } - if (options.headers) { - const headers = options.headers; - for (const headerName of Object.keys(options.headers)) this.headers.set(headerName, headers[headerName]); - } - return this.headers.get("accept-language") || this.headers.set("accept-language", "en-US"), - this.headers.get("x-ms-client-request-id") || options.disableClientRequestId || this.headers.set("x-ms-client-request-id", this.requestId), - this.headers.get("Content-Type") || this.headers.set("Content-Type", "application/json; charset=utf-8"), - this.body = options.body, void 0 !== options.body && null !== options.body && (options.bodyIsStream ? (this.headers.get("Transfer-Encoding") || this.headers.set("Transfer-Encoding", "chunked"), - "application/octet-stream" !== this.headers.get("Content-Type") && this.headers.set("Content-Type", "application/octet-stream")) : (options.serializationMapper && (this.body = new Serializer(options.mappers).serialize(options.serializationMapper, options.body, "requestBody")), - options.disableJsonStringifyOnBody || (this.body = JSON.stringify(options.body)))), - options.spanOptions && (this.spanOptions = options.spanOptions), options.tracingContext && (this.tracingContext = options.tracingContext), - this.abortSignal = options.abortSignal, this.onDownloadProgress = options.onDownloadProgress, - this.onUploadProgress = options.onUploadProgress, this; - } - clone() { - const result = new WebResource(this.url, this.method, this.body, this.query, this.headers && this.headers.clone(), this.streamResponseBody, this.withCredentials, this.abortSignal, this.timeout, this.onUploadProgress, this.onDownloadProgress, this.proxySettings, this.keepAlive, this.decompressResponse, this.streamResponseStatusCodes); - return this.formData && (result.formData = this.formData), this.operationSpec && (result.operationSpec = this.operationSpec), - this.shouldDeserialize && (result.shouldDeserialize = this.shouldDeserialize), this.operationResponseGetter && (result.operationResponseGetter = this.operationResponseGetter), - result; - } - } - const logger = createClientLogger("storage-blob"), SERVICE_VERSION = "2021-10-04", REQUEST_TIMEOUT = 1e5, StorageOAuthScopes = "https://storage.azure.com/.default", constants_URLConstants_Parameters = { - FORCE_BROWSER_NO_CACHE: "_", - SIGNATURE: "sig", - SNAPSHOT: "snapshot", - VERSIONID: "versionid", - TIMEOUT: "timeout" - }, HTTPURLConnection_HTTP_ACCEPTED = 202, constants_HeaderConstants_AUTHORIZATION = "Authorization", constants_HeaderConstants_CONTENT_ENCODING = "Content-Encoding", constants_HeaderConstants_CONTENT_ID = "Content-ID", constants_HeaderConstants_CONTENT_LANGUAGE = "Content-Language", constants_HeaderConstants_CONTENT_LENGTH = "Content-Length", constants_HeaderConstants_CONTENT_MD5 = "Content-Md5", constants_HeaderConstants_CONTENT_TRANSFER_ENCODING = "Content-Transfer-Encoding", constants_HeaderConstants_CONTENT_TYPE = "Content-Type", constants_HeaderConstants_COOKIE = "Cookie", constants_HeaderConstants_DATE = "date", constants_HeaderConstants_IF_MATCH = "if-match", constants_HeaderConstants_IF_MODIFIED_SINCE = "if-modified-since", constants_HeaderConstants_IF_NONE_MATCH = "if-none-match", constants_HeaderConstants_IF_UNMODIFIED_SINCE = "if-unmodified-since", constants_HeaderConstants_PREFIX_FOR_STORAGE = "x-ms-", constants_HeaderConstants_RANGE = "Range", constants_HeaderConstants_USER_AGENT = "User-Agent", constants_HeaderConstants_X_MS_DATE = "x-ms-date", constants_HeaderConstants_X_MS_ERROR_CODE = "x-ms-error-code", constants_HeaderConstants_X_MS_VERSION = "x-ms-version", BATCH_MAX_PAYLOAD_IN_BYTES = 4194304, EncryptionAlgorithmAES25 = "AES256", DevelopmentConnectionString = "DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;", StorageBlobLoggingAllowedHeaderNames = [ "Access-Control-Allow-Origin", "Cache-Control", "Content-Length", "Content-Type", "Date", "Request-Id", "traceparent", "Transfer-Encoding", "User-Agent", "x-ms-client-request-id", "x-ms-date", "x-ms-error-code", "x-ms-request-id", "x-ms-return-client-request-id", "x-ms-version", "Accept-Ranges", "Content-Disposition", "Content-Encoding", "Content-Language", "Content-MD5", "Content-Range", "ETag", "Last-Modified", "Server", "Vary", "x-ms-content-crc64", "x-ms-copy-action", "x-ms-copy-completion-time", "x-ms-copy-id", "x-ms-copy-progress", "x-ms-copy-status", "x-ms-has-immutability-policy", "x-ms-has-legal-hold", "x-ms-lease-state", "x-ms-lease-status", "x-ms-range", "x-ms-request-server-encrypted", "x-ms-server-encrypted", "x-ms-snapshot", "x-ms-source-range", "If-Match", "If-Modified-Since", "If-None-Match", "If-Unmodified-Since", "x-ms-access-tier", "x-ms-access-tier-change-time", "x-ms-access-tier-inferred", "x-ms-account-kind", "x-ms-archive-status", "x-ms-blob-append-offset", "x-ms-blob-cache-control", "x-ms-blob-committed-block-count", "x-ms-blob-condition-appendpos", "x-ms-blob-condition-maxsize", "x-ms-blob-content-disposition", "x-ms-blob-content-encoding", "x-ms-blob-content-language", "x-ms-blob-content-length", "x-ms-blob-content-md5", "x-ms-blob-content-type", "x-ms-blob-public-access", "x-ms-blob-sequence-number", "x-ms-blob-type", "x-ms-copy-destination-snapshot", "x-ms-creation-time", "x-ms-default-encryption-scope", "x-ms-delete-snapshots", "x-ms-delete-type-permanent", "x-ms-deny-encryption-scope-override", "x-ms-encryption-algorithm", "x-ms-if-sequence-number-eq", "x-ms-if-sequence-number-le", "x-ms-if-sequence-number-lt", "x-ms-incremental-copy", "x-ms-lease-action", "x-ms-lease-break-period", "x-ms-lease-duration", "x-ms-lease-id", "x-ms-lease-time", "x-ms-page-write", "x-ms-proposed-lease-id", "x-ms-range-get-content-md5", "x-ms-rehydrate-priority", "x-ms-sequence-number-action", "x-ms-sku-name", "x-ms-source-content-md5", "x-ms-source-if-match", "x-ms-source-if-modified-since", "x-ms-source-if-none-match", "x-ms-source-if-unmodified-since", "x-ms-tag-count", "x-ms-encryption-key-sha256", "x-ms-if-tags", "x-ms-source-if-tags" ], StorageBlobLoggingAllowedQueryParameters = [ "comp", "maxresults", "rscc", "rscd", "rsce", "rscl", "rsct", "se", "si", "sip", "sp", "spr", "sr", "srt", "ss", "st", "sv", "include", "marker", "prefix", "copyid", "restype", "blockid", "blocklisttype", "delimiter", "prevsnapshot", "ske", "skoid", "sks", "skt", "sktid", "skv", "snapshot" ], PathStylePorts = [ "10000", "10001", "10002", "10003", "10004", "10100", "10101", "10102", "10103", "10104", "11000", "11001", "11002", "11003", "11004", "11100", "11101", "11102", "11103", "11104" ]; - function escapeURLPath(url) { - const urlParsed = URLBuilder.parse(url); - let path = urlParsed.getPath(); - return path = path || "/", path = encodeURIComponent(path).replace(/%2F/g, "/").replace(/'/g, "%27").replace(/\+/g, "%20").replace(/%25/g, "%"), - urlParsed.setPath(path), urlParsed.toString(); - } - function getValueInConnString(connectionString, argument) { - const elements = connectionString.split(";"); - for (const element of elements) if (element.trim().startsWith(argument)) return element.trim().match(argument + "=(.*)")[1]; - return ""; - } - function extractConnectionStringParts(connectionString) { - let proxyUri = ""; - connectionString.startsWith("UseDevelopmentStorage=true") && (proxyUri = function(connectionString) { - let proxyUri = ""; - if (-1 !== connectionString.search("DevelopmentStorageProxyUri=")) { - const matchCredentials = connectionString.split(";"); - for (const element of matchCredentials) element.trim().startsWith("DevelopmentStorageProxyUri=") && (proxyUri = element.trim().match("DevelopmentStorageProxyUri=(.*)")[1]); + }, encryptionKey, encryptionKeySha256, encryptionAlgorithm, ifMatch, ifNoneMatch, ifTags ], + isXML: !0, + serializer: blob_xmlSerializer + }, blob_getPropertiesOperationSpec = { + path: "/{containerName}/{blob}", + httpMethod: "HEAD", + responses: { + 200: { + headersMapper: BlobGetPropertiesHeaders + }, + default: { + bodyMapper: StorageError, + headersMapper: BlobGetPropertiesExceptionHeaders } - return proxyUri; - }(connectionString), connectionString = DevelopmentConnectionString); - let blobEndpoint = getValueInConnString(connectionString, "BlobEndpoint"); - if (blobEndpoint = blobEndpoint.endsWith("/") ? blobEndpoint.slice(0, -1) : blobEndpoint, - -1 !== connectionString.search("DefaultEndpointsProtocol=") && -1 !== connectionString.search("AccountKey=")) { - let defaultEndpointsProtocol = "", accountName = "", accountKey = Buffer.from("accountKey", "base64"), endpointSuffix = ""; - if (accountName = getValueInConnString(connectionString, "AccountName"), accountKey = Buffer.from(getValueInConnString(connectionString, "AccountKey"), "base64"), - !blobEndpoint) { - defaultEndpointsProtocol = getValueInConnString(connectionString, "DefaultEndpointsProtocol"); - const protocol = defaultEndpointsProtocol.toLowerCase(); - if ("https" !== protocol && "http" !== protocol) throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'"); - if (endpointSuffix = getValueInConnString(connectionString, "EndpointSuffix"), !endpointSuffix) throw new Error("Invalid EndpointSuffix in the provided Connection String"); - blobEndpoint = `${defaultEndpointsProtocol}://${accountName}.blob.${endpointSuffix}`; + }, + queryParameters: [ timeoutInSeconds, snapshot, versionId ], + urlParameters: [ url ], + headerParameters: [ version, requestId, accept1, leaseId, ifModifiedSince, ifUnmodifiedSince, encryptionKey, encryptionKeySha256, encryptionAlgorithm, ifMatch, ifNoneMatch, ifTags ], + isXML: !0, + serializer: blob_xmlSerializer + }, blob_deleteOperationSpec = { + path: "/{containerName}/{blob}", + httpMethod: "DELETE", + responses: { + 202: { + headersMapper: BlobDeleteHeaders + }, + default: { + bodyMapper: StorageError, + headersMapper: BlobDeleteExceptionHeaders } - if (!accountName) throw new Error("Invalid AccountName in the provided Connection String"); - if (0 === accountKey.length) throw new Error("Invalid AccountKey in the provided Connection String"); - return { - kind: "AccountConnString", - url: blobEndpoint, - accountName, - accountKey, - proxyUri - }; - } - { - const accountSas = getValueInConnString(connectionString, "SharedAccessSignature"), accountName = getAccountNameFromUrl(blobEndpoint); - if (!blobEndpoint) throw new Error("Invalid BlobEndpoint in the provided SAS Connection String"); - if (!accountSas) throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String"); - return { - kind: "SASConnString", - url: blobEndpoint, - accountName, - accountSas - }; - } - } - function appendToURLPath(url, name) { - const urlParsed = URLBuilder.parse(url); - let path = urlParsed.getPath(); - return path = path ? path.endsWith("/") ? `${path}${name}` : `${path}/${name}` : name, - urlParsed.setPath(path), urlParsed.toString(); - } - function setURLParameter(url, name, value) { - const urlParsed = URLBuilder.parse(url); - return urlParsed.setQueryParameter(name, value), urlParsed.toString(); - } - function getURLParameter(url, name) { - return URLBuilder.parse(url).getQueryParameterValue(name); - } - function getURLPath(url) { - return URLBuilder.parse(url).getPath(); - } - function getURLPathAndQuery(url) { - const urlParsed = URLBuilder.parse(url), pathString = urlParsed.getPath(); - if (!pathString) throw new RangeError("Invalid url without valid path."); - let queryString = urlParsed.getQuery() || ""; - return queryString = queryString.trim(), "" !== queryString && (queryString = queryString.startsWith("?") ? queryString : `?${queryString}`), - `${pathString}${queryString}`; - } - function appendToURLQuery(url, queryParts) { - const urlParsed = URLBuilder.parse(url); - let query = urlParsed.getQuery(); - return query ? query += "&" + queryParts : query = queryParts, urlParsed.setQuery(query), - urlParsed.toString(); - } - function truncatedISO8061Date(date, withMilliseconds = !0) { - const dateString = date.toISOString(); - return withMilliseconds ? dateString.substring(0, dateString.length - 1) + "0000Z" : dateString.substring(0, dateString.length - 5) + "Z"; - } - function generateBlockID(blockIDPrefix, blockIndex) { - blockIDPrefix.length > 42 && (blockIDPrefix = blockIDPrefix.slice(0, 42)); - const res = blockIDPrefix + function(currentString, targetLength, padString = " ") { - if (String.prototype.padStart) return currentString.padStart(targetLength, padString); - return padString = padString || " ", currentString.length > targetLength ? currentString : ((targetLength -= currentString.length) > padString.length && (padString += padString.repeat(targetLength / padString.length)), - padString.slice(0, targetLength) + currentString); - }(blockIndex.toString(), 48 - blockIDPrefix.length, "0"); - return content = res, utils_isNode ? Buffer.from(content).toString("base64") : btoa(content); - var content; - } - function iEqual(str1, str2) { - return str1.toLocaleLowerCase() === str2.toLocaleLowerCase(); - } - function getAccountNameFromUrl(url) { - const parsedUrl = URLBuilder.parse(url); - let accountName; - try { - return accountName = "blob" === parsedUrl.getHost().split(".")[1] ? parsedUrl.getHost().split(".")[0] : isIpEndpointStyle(parsedUrl) ? parsedUrl.getPath().split("/")[1] : "", - accountName; - } catch (error) { - throw new Error("Unable to extract accountName with provided information."); - } - } - function isIpEndpointStyle(parsedUrl) { - if (void 0 === parsedUrl.getHost()) return !1; - const host = parsedUrl.getHost() + (void 0 === parsedUrl.getPort() ? "" : ":" + parsedUrl.getPort()); - return /^.*:.*:.*$|^localhost(:[0-9]+)?$|^(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])){3}(:[0-9]+)?$/.test(host) || void 0 !== parsedUrl.getPort() && PathStylePorts.includes(parsedUrl.getPort()); - } - function toBlobTagsString(tags) { - if (void 0 === tags) return; - const tagPairs = []; - for (const key in tags) if (Object.prototype.hasOwnProperty.call(tags, key)) { - const value = tags[key]; - tagPairs.push(`${encodeURIComponent(key)}=${encodeURIComponent(value)}`); - } - return tagPairs.join("&"); - } - function toBlobTags(tags) { - if (void 0 === tags) return; - const res = { - blobTagSet: [] - }; - for (const key in tags) if (Object.prototype.hasOwnProperty.call(tags, key)) { - const value = tags[key]; - res.blobTagSet.push({ - key, - value - }); - } - return res; - } - function toTags(tags) { - if (void 0 === tags) return; - const res = {}; - for (const blobTag of tags.blobTagSet) res[blobTag.key] = blobTag.value; - return res; - } - function toQuerySerialization(textConfiguration) { - if (void 0 !== textConfiguration) switch (textConfiguration.kind) { - case "csv": - return { - format: { - type: "delimited", - delimitedTextConfiguration: { - columnSeparator: textConfiguration.columnSeparator || ",", - fieldQuote: textConfiguration.fieldQuote || "", - recordSeparator: textConfiguration.recordSeparator, - escapeChar: textConfiguration.escapeCharacter || "", - headersPresent: textConfiguration.hasHeaders || !1 - } - } - }; - - case "json": - return { - format: { - type: "json", - jsonTextConfiguration: { - recordSeparator: textConfiguration.recordSeparator - } + }, + queryParameters: [ timeoutInSeconds, snapshot, versionId, { + parameterPath: [ "options", "blobDeleteType" ], + mapper: { + serializedName: "deletetype", + xmlName: "deletetype", + type: { + name: "String" } - }; - - case "arrow": - return { - format: { - type: "arrow", - arrowConfiguration: { - schema: textConfiguration.schema - } + } + } ], + urlParameters: [ url ], + headerParameters: [ version, requestId, accept1, leaseId, ifModifiedSince, ifUnmodifiedSince, ifMatch, ifNoneMatch, ifTags, { + parameterPath: [ "options", "deleteSnapshots" ], + mapper: { + serializedName: "x-ms-delete-snapshots", + xmlName: "x-ms-delete-snapshots", + type: { + name: "Enum", + allowedValues: [ "include", "only" ] } - }; - - case "parquet": - return { - format: { - type: "parquet" + } + } ], + isXML: !0, + serializer: blob_xmlSerializer + }, undeleteOperationSpec = { + path: "/{containerName}/{blob}", + httpMethod: "PUT", + responses: { + 200: { + headersMapper: BlobUndeleteHeaders + }, + default: { + bodyMapper: StorageError, + headersMapper: BlobUndeleteExceptionHeaders + } + }, + queryParameters: [ timeoutInSeconds, comp8 ], + urlParameters: [ url ], + headerParameters: [ version, requestId, accept1 ], + isXML: !0, + serializer: blob_xmlSerializer + }, setExpiryOperationSpec = { + path: "/{containerName}/{blob}", + httpMethod: "PUT", + responses: { + 200: { + headersMapper: BlobSetExpiryHeaders + }, + default: { + bodyMapper: StorageError, + headersMapper: BlobSetExpiryExceptionHeaders + } + }, + queryParameters: [ timeoutInSeconds, { + parameterPath: "comp", + mapper: { + defaultValue: "expiry", + isConstant: !0, + serializedName: "comp", + type: { + name: "String" } - }; - - default: - throw Error("Invalid BlobQueryTextConfiguration."); - } - } - function parseObjectReplicationRecord(objectReplicationRecord) { - if (!objectReplicationRecord) return; - if ("policy-id" in objectReplicationRecord) return; - const orProperties = []; - for (const key in objectReplicationRecord) { - const ids = key.split("_"), policyPrefix = "or-"; - ids[0].startsWith(policyPrefix) && (ids[0] = ids[0].substring(policyPrefix.length)); - const rule = { - ruleId: ids[1], - replicationStatus: objectReplicationRecord[key] - }, policyIndex = orProperties.findIndex((policy => policy.policyId === ids[0])); - policyIndex > -1 ? orProperties[policyIndex].rules.push(rule) : orProperties.push({ - policyId: ids[0], - rules: [ rule ] - }); - } - return orProperties; - } - function attachCredential(thing, credential) { - return thing.credential = credential, thing; - } - function httpAuthorizationToString(httpAuthorization) { - return httpAuthorization ? httpAuthorization.scheme + " " + httpAuthorization.value : void 0; - } - function BlobNameToString(name) { - return name.encoded ? decodeURIComponent(name.content) : name.content; - } - function ConvertInternalResponseOfListBlobHierarchy(internalResponse) { - var _a; - return Object.assign(Object.assign({}, internalResponse), { - segment: { - blobPrefixes: null === (_a = internalResponse.segment.blobPrefixes) || void 0 === _a ? void 0 : _a.map((blobPrefixInternal => ({ - name: BlobNameToString(blobPrefixInternal.name) - }))), - blobItems: internalResponse.segment.blobItems.map((blobItemInteral => Object.assign(Object.assign({}, blobItemInteral), { - name: BlobNameToString(blobItemInteral.name) - }))) } - }); - } - function ParseBoolean(content) { - if (void 0 !== content) return "true" === content || "false" !== content && void 0; - } - function ParseBlobName(blobNameInXML) { - return void 0 !== blobNameInXML.$ && void 0 !== blobNameInXML["#"] ? { - encoded: ParseBoolean(blobNameInXML.$.Encoded), - content: blobNameInXML["#"] - } : { - encoded: !1, - content: blobNameInXML - }; - } - function ParseBlobProperties(blobPropertiesInXML) { - const blobProperties = blobPropertiesInXML; - return blobPropertiesInXML["Creation-Time"] && (blobProperties.createdOn = new Date(blobPropertiesInXML["Creation-Time"]), - delete blobProperties["Creation-Time"]), blobPropertiesInXML["Last-Modified"] && (blobProperties.lastModified = new Date(blobPropertiesInXML["Last-Modified"]), - delete blobProperties["Last-Modified"]), blobPropertiesInXML.Etag && (blobProperties.etag = blobPropertiesInXML.Etag, - delete blobProperties.Etag), blobPropertiesInXML["Content-Length"] && (blobProperties.contentLength = parseFloat(blobPropertiesInXML["Content-Length"]), - delete blobProperties["Content-Length"]), blobPropertiesInXML["Content-Type"] && (blobProperties.contentType = blobPropertiesInXML["Content-Type"], - delete blobProperties["Content-Type"]), blobPropertiesInXML["Content-Encoding"] && (blobProperties.contentEncoding = blobPropertiesInXML["Content-Encoding"], - delete blobProperties["Content-Encoding"]), blobPropertiesInXML["Content-Language"] && (blobProperties.contentLanguage = blobPropertiesInXML["Content-Language"], - delete blobProperties["Content-Language"]), blobPropertiesInXML["Content-MD5"] && (blobProperties.contentMD5 = function(value) { - if (utils_isNode) return Buffer.from(value, "base64"); - { - const byteString = atob(value), arr = new Uint8Array(byteString.length); - for (let i = 0; i < byteString.length; i++) arr[i] = byteString.charCodeAt(i); - return arr; - } - }(blobPropertiesInXML["Content-MD5"]), delete blobProperties["Content-MD5"]), blobPropertiesInXML["Content-Disposition"] && (blobProperties.contentDisposition = blobPropertiesInXML["Content-Disposition"], - delete blobProperties["Content-Disposition"]), blobPropertiesInXML["Cache-Control"] && (blobProperties.cacheControl = blobPropertiesInXML["Cache-Control"], - delete blobProperties["Cache-Control"]), blobPropertiesInXML["x-ms-blob-sequence-number"] && (blobProperties.blobSequenceNumber = parseFloat(blobPropertiesInXML["x-ms-blob-sequence-number"]), - delete blobProperties["x-ms-blob-sequence-number"]), blobPropertiesInXML.BlobType && (blobProperties.blobType = blobPropertiesInXML.BlobType, - delete blobProperties.BlobType), blobPropertiesInXML.LeaseStatus && (blobProperties.leaseStatus = blobPropertiesInXML.LeaseStatus, - delete blobProperties.LeaseStatus), blobPropertiesInXML.LeaseState && (blobProperties.leaseState = blobPropertiesInXML.LeaseState, - delete blobProperties.LeaseState), blobPropertiesInXML.LeaseDuration && (blobProperties.leaseDuration = blobPropertiesInXML.LeaseDuration, - delete blobProperties.LeaseDuration), blobPropertiesInXML.CopyId && (blobProperties.copyId = blobPropertiesInXML.CopyId, - delete blobProperties.CopyId), blobPropertiesInXML.CopyStatus && (blobProperties.copyStatus = blobPropertiesInXML.CopyStatus, - delete blobProperties.CopyStatus), blobPropertiesInXML.CopySource && (blobProperties.copySource = blobPropertiesInXML.CopySource, - delete blobProperties.CopySource), blobPropertiesInXML.CopyProgress && (blobProperties.copyProgress = blobPropertiesInXML.CopyProgress, - delete blobProperties.CopyProgress), blobPropertiesInXML.CopyCompletionTime && (blobProperties.copyCompletedOn = new Date(blobPropertiesInXML.CopyCompletionTime), - delete blobProperties.CopyCompletionTime), blobPropertiesInXML.CopyStatusDescription && (blobProperties.copyStatusDescription = blobPropertiesInXML.CopyStatusDescription, - delete blobProperties.CopyStatusDescription), blobPropertiesInXML.ServerEncrypted && (blobProperties.serverEncrypted = ParseBoolean(blobPropertiesInXML.ServerEncrypted), - delete blobProperties.ServerEncrypted), blobPropertiesInXML.IncrementalCopy && (blobProperties.incrementalCopy = ParseBoolean(blobPropertiesInXML.IncrementalCopy), - delete blobProperties.IncrementalCopy), blobPropertiesInXML.DestinationSnapshot && (blobProperties.destinationSnapshot = blobPropertiesInXML.DestinationSnapshot, - delete blobProperties.DestinationSnapshot), blobPropertiesInXML.DeletedTime && (blobProperties.deletedOn = new Date(blobPropertiesInXML.DeletedTime), - delete blobProperties.DeletedTime), blobPropertiesInXML.RemainingRetentionDays && (blobProperties.remainingRetentionDays = parseFloat(blobPropertiesInXML.RemainingRetentionDays), - delete blobProperties.RemainingRetentionDays), blobPropertiesInXML.AccessTier && (blobProperties.accessTier = blobPropertiesInXML.AccessTier, - delete blobProperties.AccessTier), blobPropertiesInXML.AccessTierInferred && (blobProperties.accessTierInferred = ParseBoolean(blobPropertiesInXML.AccessTierInferred), - delete blobProperties.AccessTierInferred), blobPropertiesInXML.ArchiveStatus && (blobProperties.archiveStatus = blobPropertiesInXML.ArchiveStatus, - delete blobProperties.ArchiveStatus), blobPropertiesInXML.CustomerProvidedKeySha256 && (blobProperties.customerProvidedKeySha256 = blobPropertiesInXML.CustomerProvidedKeySha256, - delete blobProperties.CustomerProvidedKeySha256), blobPropertiesInXML.EncryptionScope && (blobProperties.encryptionScope = blobPropertiesInXML.EncryptionScope, - delete blobProperties.EncryptionScope), blobPropertiesInXML.AccessTierChangeTime && (blobProperties.accessTierChangedOn = new Date(blobPropertiesInXML.AccessTierChangeTime), - delete blobProperties.AccessTierChangeTime), blobPropertiesInXML.TagCount && (blobProperties.tagCount = parseFloat(blobPropertiesInXML.TagCount), - delete blobProperties.TagCount), blobPropertiesInXML["Expiry-Time"] && (blobProperties.expiresOn = new Date(blobPropertiesInXML["Expiry-Time"]), - delete blobProperties["Expiry-Time"]), blobPropertiesInXML.Sealed && (blobProperties.isSealed = ParseBoolean(blobPropertiesInXML.Sealed), - delete blobProperties.Sealed), blobPropertiesInXML.RehydratePriority && (blobProperties.rehydratePriority = blobPropertiesInXML.RehydratePriority, - delete blobProperties.RehydratePriority), blobPropertiesInXML.LastAccessTime && (blobProperties.lastAccessedOn = new Date(blobPropertiesInXML.LastAccessTime), - delete blobProperties.LastAccessTime), blobPropertiesInXML.ImmutabilityPolicyUntilDate && (blobProperties.immutabilityPolicyExpiresOn = new Date(blobPropertiesInXML.ImmutabilityPolicyUntilDate), - delete blobProperties.ImmutabilityPolicyUntilDate), blobPropertiesInXML.ImmutabilityPolicyMode && (blobProperties.immutabilityPolicyMode = blobPropertiesInXML.ImmutabilityPolicyMode, - delete blobProperties.ImmutabilityPolicyMode), blobPropertiesInXML.LegalHold && (blobProperties.legalHold = ParseBoolean(blobPropertiesInXML.LegalHold), - delete blobProperties.LegalHold), blobProperties; - } - function ParseBlobItem(blobInXML) { - const blobItem = blobInXML; - return blobItem.properties = ParseBlobProperties(blobInXML.Properties), delete blobItem.Properties, - blobItem.name = ParseBlobName(blobInXML.Name), delete blobItem.Name, blobItem.deleted = ParseBoolean(blobInXML.Deleted), - delete blobItem.Deleted, blobInXML.Snapshot && (blobItem.snapshot = blobInXML.Snapshot, - delete blobItem.Snapshot), blobInXML.VersionId && (blobItem.versionId = blobInXML.VersionId, - delete blobItem.VersionId), blobInXML.IsCurrentVersion && (blobItem.isCurrentVersion = ParseBoolean(blobInXML.IsCurrentVersion), - delete blobItem.IsCurrentVersion), blobInXML.Metadata && (blobItem.metadata = blobInXML.Metadata, - delete blobItem.Metadata), blobInXML.Tags && (blobItem.blobTags = function(blobTagsInXML) { - if (void 0 === blobTagsInXML || void 0 === blobTagsInXML.TagSet || void 0 === blobTagsInXML.TagSet.Tag) return; - const blobTagSet = []; - blobTagsInXML.TagSet.Tag instanceof Array ? blobTagsInXML.TagSet.Tag.forEach((blobTagInXML => { - blobTagSet.push(ParseBlobTag(blobTagInXML)); - })) : blobTagSet.push(ParseBlobTag(blobTagsInXML.TagSet.Tag)); - return { - blobTagSet - }; - }(blobInXML.Tags), delete blobItem.Tags), blobInXML.OrMetadata && (blobItem.objectReplicationMetadata = blobInXML.OrMetadata, - delete blobItem.OrMetadata), blobInXML.HasVersionsOnly && (blobItem.hasVersionsOnly = ParseBoolean(blobInXML.HasVersionsOnly), - delete blobItem.HasVersionsOnly), blobItem; - } - function ParseBlobPrefix(blobPrefixInXML) { - return { - name: ParseBlobName(blobPrefixInXML.Name) - }; - } - function ParseBlobTag(blobTagInXML) { - return { - key: blobTagInXML.Key, - value: blobTagInXML.Value - }; - } - function ProcessBlobItems(blobArrayInXML) { - const blobItems = []; - return blobArrayInXML instanceof Array ? blobArrayInXML.forEach((blobInXML => { - blobItems.push(ParseBlobItem(blobInXML)); - })) : blobItems.push(ParseBlobItem(blobArrayInXML)), blobItems; - } - function* ExtractPageRangeInfoItems(getPageRangesSegment) { - let pageRange = [], clearRange = []; - getPageRangesSegment.pageRange && (pageRange = getPageRangesSegment.pageRange), - getPageRangesSegment.clearRange && (clearRange = getPageRangesSegment.clearRange); - let pageRangeIndex = 0, clearRangeIndex = 0; - for (;pageRangeIndex < pageRange.length && clearRangeIndex < clearRange.length; ) pageRange[pageRangeIndex].start < clearRange[clearRangeIndex].start ? (yield { - start: pageRange[pageRangeIndex].start, - end: pageRange[pageRangeIndex].end, - isClear: !1 - }, ++pageRangeIndex) : (yield { - start: clearRange[clearRangeIndex].start, - end: clearRange[clearRangeIndex].end, - isClear: !0 - }, ++clearRangeIndex); - for (;pageRangeIndex < pageRange.length; ++pageRangeIndex) yield { - start: pageRange[pageRangeIndex].start, - end: pageRange[pageRangeIndex].end, - isClear: !1 - }; - for (;clearRangeIndex < clearRange.length; ++clearRangeIndex) yield { - start: clearRange[clearRangeIndex].start, - end: clearRange[clearRangeIndex].end, - isClear: !0 - }; - } - function EscapePath(blobName) { - const split = blobName.split("/"); - for (let i = 0; i < split.length; i++) split[i] = encodeURIComponent(split[i]); - return split.join("/"); - } - class StorageBrowserPolicy extends BaseRequestPolicy { - constructor(nextPolicy, options) { - super(nextPolicy, options); - } - async sendRequest(request) { - return utils_isNode || ("GET" !== request.method.toUpperCase() && "HEAD" !== request.method.toUpperCase() || (request.url = setURLParameter(request.url, constants_URLConstants_Parameters.FORCE_BROWSER_NO_CACHE, (new Date).getTime().toString())), - request.headers.remove(constants_HeaderConstants_COOKIE), request.headers.remove(constants_HeaderConstants_CONTENT_LENGTH)), - this._nextPolicy.sendRequest(request); - } - } - class StorageBrowserPolicyFactory { - create(nextPolicy, options) { - return new StorageBrowserPolicy(nextPolicy, options); - } - } - var StorageRetryPolicyType, AbortController = __webpack_require__(7959); - !function(StorageRetryPolicyType) { - StorageRetryPolicyType[StorageRetryPolicyType.EXPONENTIAL = 0] = "EXPONENTIAL", - StorageRetryPolicyType[StorageRetryPolicyType.FIXED = 1] = "FIXED"; - }(StorageRetryPolicyType || (StorageRetryPolicyType = {})); - const DEFAULT_RETRY_OPTIONS = { - maxRetryDelayInMs: 12e4, - maxTries: 4, - retryDelayInMs: 4e3, - retryPolicyType: StorageRetryPolicyType.EXPONENTIAL, - secondaryHost: "", - tryTimeoutInMs: void 0 - }, RETRY_ABORT_ERROR = new AbortController._("The operation was aborted."); - class StorageRetryPolicy extends BaseRequestPolicy { - constructor(nextPolicy, options, retryOptions = DEFAULT_RETRY_OPTIONS) { - super(nextPolicy, options), this.retryOptions = { - retryPolicyType: retryOptions.retryPolicyType ? retryOptions.retryPolicyType : DEFAULT_RETRY_OPTIONS.retryPolicyType, - maxTries: retryOptions.maxTries && retryOptions.maxTries >= 1 ? Math.floor(retryOptions.maxTries) : DEFAULT_RETRY_OPTIONS.maxTries, - tryTimeoutInMs: retryOptions.tryTimeoutInMs && retryOptions.tryTimeoutInMs >= 0 ? retryOptions.tryTimeoutInMs : DEFAULT_RETRY_OPTIONS.tryTimeoutInMs, - retryDelayInMs: retryOptions.retryDelayInMs && retryOptions.retryDelayInMs >= 0 ? Math.min(retryOptions.retryDelayInMs, retryOptions.maxRetryDelayInMs ? retryOptions.maxRetryDelayInMs : DEFAULT_RETRY_OPTIONS.maxRetryDelayInMs) : DEFAULT_RETRY_OPTIONS.retryDelayInMs, - maxRetryDelayInMs: retryOptions.maxRetryDelayInMs && retryOptions.maxRetryDelayInMs >= 0 ? retryOptions.maxRetryDelayInMs : DEFAULT_RETRY_OPTIONS.maxRetryDelayInMs, - secondaryHost: retryOptions.secondaryHost ? retryOptions.secondaryHost : DEFAULT_RETRY_OPTIONS.secondaryHost - }; - } - async sendRequest(request) { - return this.attemptSendRequest(request, !1, 1); - } - async attemptSendRequest(request, secondaryHas404, attempt) { - const newRequest = request.clone(), isPrimaryRetry = secondaryHas404 || !this.retryOptions.secondaryHost || !("GET" === request.method || "HEAD" === request.method || "OPTIONS" === request.method) || attempt % 2 == 1; - let response; - isPrimaryRetry || (newRequest.url = function(url, host) { - const urlParsed = URLBuilder.parse(url); - return urlParsed.setHost(host), urlParsed.toString(); - }(newRequest.url, this.retryOptions.secondaryHost)), this.retryOptions.tryTimeoutInMs && (newRequest.url = setURLParameter(newRequest.url, constants_URLConstants_Parameters.TIMEOUT, Math.floor(this.retryOptions.tryTimeoutInMs / 1e3).toString())); - try { - if (logger.info(`RetryPolicy: =====> Try=${attempt} ${isPrimaryRetry ? "Primary" : "Secondary"}`), - response = await this._nextPolicy.sendRequest(newRequest), !this.shouldRetry(isPrimaryRetry, attempt, response)) return response; - secondaryHas404 = secondaryHas404 || !isPrimaryRetry && 404 === response.status; - } catch (err) { - if (logger.error(`RetryPolicy: Caught error, message: ${err.message}, code: ${err.code}`), - !this.shouldRetry(isPrimaryRetry, attempt, response, err)) throw err; + } ], + urlParameters: [ url ], + headerParameters: [ version, requestId, accept1, { + parameterPath: "expiryOptions", + mapper: { + serializedName: "x-ms-expiry-option", + required: !0, + xmlName: "x-ms-expiry-option", + type: { + name: "String" + } } - return await this.delay(isPrimaryRetry, attempt, request.abortSignal), this.attemptSendRequest(request, secondaryHas404, ++attempt); - } - shouldRetry(isPrimaryRetry, attempt, response, err) { - if (attempt >= this.retryOptions.maxTries) return logger.info(`RetryPolicy: Attempt(s) ${attempt} >= maxTries ${this.retryOptions.maxTries}, no further try.`), - !1; - const retriableErrors = [ "ETIMEDOUT", "ESOCKETTIMEDOUT", "ECONNREFUSED", "ECONNRESET", "ENOENT", "ENOTFOUND", "TIMEOUT", "EPIPE", "REQUEST_SEND_ERROR" ]; - if (err) for (const retriableError of retriableErrors) if (err.name.toUpperCase().includes(retriableError) || err.message.toUpperCase().includes(retriableError) || err.code && err.code.toString().toUpperCase() === retriableError) return logger.info(`RetryPolicy: Network error ${retriableError} found, will retry.`), - !0; - if (response || err) { - const statusCode = response ? response.status : err ? err.statusCode : 0; - if (!isPrimaryRetry && 404 === statusCode) return logger.info("RetryPolicy: Secondary access with 404, will retry."), - !0; - if (503 === statusCode || 500 === statusCode) return logger.info(`RetryPolicy: Will retry for status code ${statusCode}.`), - !0; + }, { + parameterPath: [ "options", "expiresOn" ], + mapper: { + serializedName: "x-ms-expiry-time", + xmlName: "x-ms-expiry-time", + type: { + name: "String" + } } - return !("PARSE_ERROR" !== (null == err ? void 0 : err.code) || !(null == err ? void 0 : err.message.startsWith('Error "Error: Unclosed root tag'))) && (logger.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."), - !0); - } - async delay(isPrimaryRetry, attempt, abortSignal) { - let delayTimeInMs = 0; - if (isPrimaryRetry) switch (this.retryOptions.retryPolicyType) { - case StorageRetryPolicyType.EXPONENTIAL: - delayTimeInMs = Math.min((Math.pow(2, attempt - 1) - 1) * this.retryOptions.retryDelayInMs, this.retryOptions.maxRetryDelayInMs); - break; - - case StorageRetryPolicyType.FIXED: - delayTimeInMs = this.retryOptions.retryDelayInMs; - } else delayTimeInMs = 1e3 * Math.random(); - return logger.info(`RetryPolicy: Delay for ${delayTimeInMs}ms`), async function(timeInMs, aborter, abortError) { - return new Promise(((resolve, reject) => { - let timeout; - const abortHandler = () => { - void 0 !== timeout && clearTimeout(timeout), reject(abortError); - }; - timeout = setTimeout((() => { - void 0 !== aborter && aborter.removeEventListener("abort", abortHandler), resolve(); - }), timeInMs), void 0 !== aborter && aborter.addEventListener("abort", abortHandler); - })); - }(delayTimeInMs, abortSignal, RETRY_ABORT_ERROR); - } - } - class StorageRetryPolicyFactory { - constructor(retryOptions) { - this.retryOptions = retryOptions; - } - create(nextPolicy, options) { - return new StorageRetryPolicy(nextPolicy, options, this.retryOptions); - } - } - class CredentialPolicy extends BaseRequestPolicy { - sendRequest(request) { - return this._nextPolicy.sendRequest(this.signRequest(request)); - } - signRequest(request) { - return request; - } - } - class AnonymousCredentialPolicy extends CredentialPolicy { - constructor(nextPolicy, options) { - super(nextPolicy, options); - } - } - class Credential { - create(_nextPolicy, _options) { - throw new Error("Method should be implemented in children classes."); - } - } - class AnonymousCredential extends Credential { - create(nextPolicy, options) { - return new AnonymousCredentialPolicy(nextPolicy, options); - } - } - class TelemetryPolicy extends BaseRequestPolicy { - constructor(nextPolicy, options, telemetry) { - super(nextPolicy, options), this.telemetry = telemetry; - } - async sendRequest(request) { - return utils_isNode && (request.headers || (request.headers = new httpHeaders_HttpHeaders), - request.headers.get(constants_HeaderConstants_USER_AGENT) || request.headers.set(constants_HeaderConstants_USER_AGENT, this.telemetry)), - this._nextPolicy.sendRequest(request); - } - } - class TelemetryPolicyFactory { - constructor(telemetry) { - const userAgentInfo = []; - if (utils_isNode) { - if (telemetry) { - const telemetryString = telemetry.userAgentPrefix || ""; - telemetryString.length > 0 && -1 === userAgentInfo.indexOf(telemetryString) && userAgentInfo.push(telemetryString); - } - const libInfo = "azsdk-js-storageblob/12.12.0"; - -1 === userAgentInfo.indexOf(libInfo) && userAgentInfo.push(libInfo); - let runtimeInfo = `(NODE-VERSION ${process.version})`; - external_os_ && (runtimeInfo = `(NODE-VERSION ${process.version}; ${external_os_.type()} ${external_os_.release()})`), - -1 === userAgentInfo.indexOf(runtimeInfo) && userAgentInfo.push(runtimeInfo); - } - this.telemetryString = userAgentInfo.join(" "); - } - create(nextPolicy, options) { - return new TelemetryPolicy(nextPolicy, options, this.telemetryString); - } - } - var external_http_ = __webpack_require__(3685), external_https_ = __webpack_require__(5687), cookie = __webpack_require__(2157), tunnel = __webpack_require__(6694); - function isUrlHttps(url) { - return "https" === (URLBuilder.parse(url).getScheme() || "").toLowerCase(); - } - function createTunnel(isRequestHttps, isProxyHttps, tunnelOptions) { - return isRequestHttps && isProxyHttps ? tunnel.httpsOverHttps(tunnelOptions) : isRequestHttps && !isProxyHttps ? tunnel.httpsOverHttp(tunnelOptions) : !isRequestHttps && isProxyHttps ? tunnel.httpOverHttps(tunnelOptions) : tunnel.httpOverHttp(tunnelOptions); - } - var external_stream_ = __webpack_require__(2781), form_data = __webpack_require__(3162), form_data_default = __webpack_require__.n(form_data), external_url_ = __webpack_require__(7310), public_api = __webpack_require__(9106); - const external_zlib_namespaceObject = require("zlib"), Readable = external_stream_.Readable, BUFFER = Symbol("buffer"), TYPE = Symbol("type"); - class lib_Blob { - constructor() { - this[TYPE] = ""; - const blobParts = arguments[0], options = arguments[1], buffers = []; - let size = 0; - if (blobParts) { - const a = blobParts, length = Number(a.length); - for (let i = 0; i < length; i++) { - const element = a[i]; - let buffer; - buffer = element instanceof Buffer ? element : ArrayBuffer.isView(element) ? Buffer.from(element.buffer, element.byteOffset, element.byteLength) : element instanceof ArrayBuffer ? Buffer.from(element) : element instanceof lib_Blob ? element[BUFFER] : Buffer.from("string" == typeof element ? element : String(element)), - size += buffer.length, buffers.push(buffer); - } + } ], + isXML: !0, + serializer: blob_xmlSerializer + }, setHttpHeadersOperationSpec = { + path: "/{containerName}/{blob}", + httpMethod: "PUT", + responses: { + 200: { + headersMapper: BlobSetHttpHeadersHeaders + }, + default: { + bodyMapper: StorageError, + headersMapper: BlobSetHttpHeadersExceptionHeaders } - this[BUFFER] = Buffer.concat(buffers); - let type = options && void 0 !== options.type && String(options.type).toLowerCase(); - type && !/[^\u0020-\u007E]/.test(type) && (this[TYPE] = type); - } - get size() { - return this[BUFFER].length; - } - get type() { - return this[TYPE]; - } - text() { - return Promise.resolve(this[BUFFER].toString()); - } - arrayBuffer() { - const buf = this[BUFFER], ab = buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength); - return Promise.resolve(ab); - } - stream() { - const readable = new Readable; - return readable._read = function() {}, readable.push(this[BUFFER]), readable.push(null), - readable; - } - toString() { - return "[object Blob]"; - } - slice() { - const size = this.size, start = arguments[0], end = arguments[1]; - let relativeStart, relativeEnd; - relativeStart = void 0 === start ? 0 : start < 0 ? Math.max(size + start, 0) : Math.min(start, size), - relativeEnd = void 0 === end ? size : end < 0 ? Math.max(size + end, 0) : Math.min(end, size); - const span = Math.max(relativeEnd - relativeStart, 0), slicedBuffer = this[BUFFER].slice(relativeStart, relativeStart + span), blob = new lib_Blob([], { - type: arguments[2] - }); - return blob[BUFFER] = slicedBuffer, blob; - } - } - function FetchError(message, type, systemError) { - Error.call(this, message), this.message = message, this.type = type, systemError && (this.code = this.errno = systemError.code), - Error.captureStackTrace(this, this.constructor); - } - let convert; - Object.defineProperties(lib_Blob.prototype, { - size: { - enumerable: !0 - }, - type: { - enumerable: !0 - }, - slice: { - enumerable: !0 - } - }), Object.defineProperty(lib_Blob.prototype, Symbol.toStringTag, { - value: "Blob", - writable: !1, - enumerable: !1, - configurable: !0 - }), FetchError.prototype = Object.create(Error.prototype), FetchError.prototype.constructor = FetchError, - FetchError.prototype.name = "FetchError"; - try { - convert = require("encoding").convert; - } catch (e) {} - const INTERNALS = Symbol("Body internals"), PassThrough = external_stream_.PassThrough; - function Body(body) { - var _this = this, _ref = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, _ref$size = _ref.size; - let size = void 0 === _ref$size ? 0 : _ref$size; - var _ref$timeout = _ref.timeout; - let timeout = void 0 === _ref$timeout ? 0 : _ref$timeout; - null == body ? body = null : isURLSearchParams(body) ? body = Buffer.from(body.toString()) : isBlob(body) || Buffer.isBuffer(body) || ("[object ArrayBuffer]" === Object.prototype.toString.call(body) ? body = Buffer.from(body) : ArrayBuffer.isView(body) ? body = Buffer.from(body.buffer, body.byteOffset, body.byteLength) : body instanceof external_stream_ || (body = Buffer.from(String(body)))), - this[INTERNALS] = { - body, - disturbed: !1, - error: null - }, this.size = size, this.timeout = timeout, body instanceof external_stream_ && body.on("error", (function(err) { - const error = "AbortError" === err.name ? err : new FetchError(`Invalid response body while trying to fetch ${_this.url}: ${err.message}`, "system", err); - _this[INTERNALS].error = error; - })); - } - function consumeBody() { - var _this4 = this; - if (this[INTERNALS].disturbed) return Body.Promise.reject(new TypeError(`body used already for: ${this.url}`)); - if (this[INTERNALS].disturbed = !0, this[INTERNALS].error) return Body.Promise.reject(this[INTERNALS].error); - let body = this.body; - if (null === body) return Body.Promise.resolve(Buffer.alloc(0)); - if (isBlob(body) && (body = body.stream()), Buffer.isBuffer(body)) return Body.Promise.resolve(body); - if (!(body instanceof external_stream_)) return Body.Promise.resolve(Buffer.alloc(0)); - let accum = [], accumBytes = 0, abort = !1; - return new Body.Promise((function(resolve, reject) { - let resTimeout; - _this4.timeout && (resTimeout = setTimeout((function() { - abort = !0, reject(new FetchError(`Response timeout while trying to fetch ${_this4.url} (over ${_this4.timeout}ms)`, "body-timeout")); - }), _this4.timeout)), body.on("error", (function(err) { - "AbortError" === err.name ? (abort = !0, reject(err)) : reject(new FetchError(`Invalid response body while trying to fetch ${_this4.url}: ${err.message}`, "system", err)); - })), body.on("data", (function(chunk) { - if (!abort && null !== chunk) { - if (_this4.size && accumBytes + chunk.length > _this4.size) return abort = !0, void reject(new FetchError(`content size at ${_this4.url} over limit: ${_this4.size}`, "max-size")); - accumBytes += chunk.length, accum.push(chunk); - } - })), body.on("end", (function() { - if (!abort) { - clearTimeout(resTimeout); - try { - resolve(Buffer.concat(accum, accumBytes)); - } catch (err) { - reject(new FetchError(`Could not create Buffer from response body for ${_this4.url}: ${err.message}`, "system", err)); - } - } - })); - })); - } - function isURLSearchParams(obj) { - return "object" == typeof obj && "function" == typeof obj.append && "function" == typeof obj.delete && "function" == typeof obj.get && "function" == typeof obj.getAll && "function" == typeof obj.has && "function" == typeof obj.set && ("URLSearchParams" === obj.constructor.name || "[object URLSearchParams]" === Object.prototype.toString.call(obj) || "function" == typeof obj.sort); - } - function isBlob(obj) { - return "object" == typeof obj && "function" == typeof obj.arrayBuffer && "string" == typeof obj.type && "function" == typeof obj.stream && "function" == typeof obj.constructor && "string" == typeof obj.constructor.name && /^(Blob|File)$/.test(obj.constructor.name) && /^(Blob|File)$/.test(obj[Symbol.toStringTag]); - } - function clone(instance) { - let p1, p2, body = instance.body; - if (instance.bodyUsed) throw new Error("cannot clone body after it is used"); - return body instanceof external_stream_ && "function" != typeof body.getBoundary && (p1 = new PassThrough, - p2 = new PassThrough, body.pipe(p1), body.pipe(p2), instance[INTERNALS].body = p1, - body = p2), body; - } - function extractContentType(body) { - return null === body ? null : "string" == typeof body ? "text/plain;charset=UTF-8" : isURLSearchParams(body) ? "application/x-www-form-urlencoded;charset=UTF-8" : isBlob(body) ? body.type || null : Buffer.isBuffer(body) || "[object ArrayBuffer]" === Object.prototype.toString.call(body) || ArrayBuffer.isView(body) ? null : "function" == typeof body.getBoundary ? `multipart/form-data;boundary=${body.getBoundary()}` : body instanceof external_stream_ ? null : "text/plain;charset=UTF-8"; - } - function getTotalBytes(instance) { - const body = instance.body; - return null === body ? 0 : isBlob(body) ? body.size : Buffer.isBuffer(body) ? body.length : body && "function" == typeof body.getLengthSync && (body._lengthRetrievers && 0 == body._lengthRetrievers.length || body.hasKnownLength && body.hasKnownLength()) ? body.getLengthSync() : null; - } - Body.prototype = { - get body() { - return this[INTERNALS].body; }, - get bodyUsed() { - return this[INTERNALS].disturbed; + queryParameters: [ comp, timeoutInSeconds ], + urlParameters: [ url ], + headerParameters: [ version, requestId, accept1, leaseId, ifModifiedSince, ifUnmodifiedSince, ifMatch, ifNoneMatch, ifTags, blobCacheControl, blobContentType, blobContentMD5, blobContentEncoding, blobContentLanguage, blobContentDisposition ], + isXML: !0, + serializer: blob_xmlSerializer + }, setImmutabilityPolicyOperationSpec = { + path: "/{containerName}/{blob}", + httpMethod: "PUT", + responses: { + 200: { + headersMapper: BlobSetImmutabilityPolicyHeaders + }, + default: { + bodyMapper: StorageError, + headersMapper: BlobSetImmutabilityPolicyExceptionHeaders + } }, - arrayBuffer() { - return consumeBody.call(this).then((function(buf) { - return buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength); - })); + queryParameters: [ timeoutInSeconds, comp12 ], + urlParameters: [ url ], + headerParameters: [ version, requestId, accept1, ifUnmodifiedSince, immutabilityPolicyExpiry, immutabilityPolicyMode ], + isXML: !0, + serializer: blob_xmlSerializer + }, deleteImmutabilityPolicyOperationSpec = { + path: "/{containerName}/{blob}", + httpMethod: "DELETE", + responses: { + 200: { + headersMapper: BlobDeleteImmutabilityPolicyHeaders + }, + default: { + bodyMapper: StorageError, + headersMapper: BlobDeleteImmutabilityPolicyExceptionHeaders + } }, - blob() { - let ct = this.headers && this.headers.get("content-type") || ""; - return consumeBody.call(this).then((function(buf) { - return Object.assign(new lib_Blob([], { - type: ct.toLowerCase() - }), { - [BUFFER]: buf - }); - })); + queryParameters: [ timeoutInSeconds, comp12 ], + urlParameters: [ url ], + headerParameters: [ version, requestId, accept1 ], + isXML: !0, + serializer: blob_xmlSerializer + }, setLegalHoldOperationSpec = { + path: "/{containerName}/{blob}", + httpMethod: "PUT", + responses: { + 200: { + headersMapper: BlobSetLegalHoldHeaders + }, + default: { + bodyMapper: StorageError, + headersMapper: BlobSetLegalHoldExceptionHeaders + } }, - json() { - var _this2 = this; - return consumeBody.call(this).then((function(buffer) { - try { - return JSON.parse(buffer.toString()); - } catch (err) { - return Body.Promise.reject(new FetchError(`invalid json response body at ${_this2.url} reason: ${err.message}`, "invalid-json")); + queryParameters: [ timeoutInSeconds, { + parameterPath: "comp", + mapper: { + defaultValue: "legalhold", + isConstant: !0, + serializedName: "comp", + type: { + name: "String" } - })); - }, - text() { - return consumeBody.call(this).then((function(buffer) { - return buffer.toString(); - })); - }, - buffer() { - return consumeBody.call(this); - }, - textConverted() { - var _this3 = this; - return consumeBody.call(this).then((function(buffer) { - return function(buffer, headers) { - if ("function" != typeof convert) throw new Error("The package `encoding` must be installed to use the textConverted() function"); - const ct = headers.get("content-type"); - let res, str, charset = "utf-8"; - ct && (res = /charset=([^;]*)/i.exec(ct)); - str = buffer.slice(0, 1024).toString(), !res && str && (res = / 0 && void 0 !== arguments[0] ? arguments[0] : void 0; - if (this[MAP] = Object.create(null), init instanceof Headers) { - const rawHeaders = init.raw(), headerNames = Object.keys(rawHeaders); - for (const headerName of headerNames) for (const value of rawHeaders[headerName]) this.append(headerName, value); - } else if (null == init) ; else { - if ("object" != typeof init) throw new TypeError("Provided initializer must be an object"); - { - const method = init[Symbol.iterator]; - if (null != method) { - if ("function" != typeof method) throw new TypeError("Header pairs must be iterable"); - const pairs = []; - for (const pair of init) { - if ("object" != typeof pair || "function" != typeof pair[Symbol.iterator]) throw new TypeError("Each header pair must be iterable"); - pairs.push(Array.from(pair)); - } - for (const pair of pairs) { - if (2 !== pair.length) throw new TypeError("Each header pair must be a name/value tuple"); - this.append(pair[0], pair[1]); - } - } else for (const key of Object.keys(init)) { - const value = init[key]; - this.append(key, value); - } + } + } ], + urlParameters: [ url ], + headerParameters: [ version, requestId, accept1, { + parameterPath: "legalHold", + mapper: { + serializedName: "x-ms-legal-hold", + required: !0, + xmlName: "x-ms-legal-hold", + type: { + name: "Boolean" } } - } - get(name) { - validateName(name = `${name}`); - const key = find(this[MAP], name); - return void 0 === key ? null : this[MAP][key].join(", "); - } - forEach(callback) { - let thisArg = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : void 0, pairs = getHeaders(this), i = 0; - for (;i < pairs.length; ) { - var _pairs$i = pairs[i]; - const name = _pairs$i[0], value = _pairs$i[1]; - callback.call(thisArg, value, name, this), pairs = getHeaders(this), i++; + } ], + isXML: !0, + serializer: blob_xmlSerializer + }, blob_setMetadataOperationSpec = { + path: "/{containerName}/{blob}", + httpMethod: "PUT", + responses: { + 200: { + headersMapper: BlobSetMetadataHeaders + }, + default: { + bodyMapper: StorageError, + headersMapper: BlobSetMetadataExceptionHeaders } - } - set(name, value) { - value = `${value}`, validateName(name = `${name}`), validateValue(value); - const key = find(this[MAP], name); - this[MAP][void 0 !== key ? key : name] = [ value ]; - } - append(name, value) { - value = `${value}`, validateName(name = `${name}`), validateValue(value); - const key = find(this[MAP], name); - void 0 !== key ? this[MAP][key].push(value) : this[MAP][name] = [ value ]; - } - has(name) { - return validateName(name = `${name}`), void 0 !== find(this[MAP], name); - } - delete(name) { - validateName(name = `${name}`); - const key = find(this[MAP], name); - void 0 !== key && delete this[MAP][key]; - } - raw() { - return this[MAP]; - } - keys() { - return createHeadersIterator(this, "key"); - } - values() { - return createHeadersIterator(this, "value"); - } - [Symbol.iterator]() { - return createHeadersIterator(this, "key+value"); - } - } - function getHeaders(headers) { - let kind = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "key+value"; - return Object.keys(headers[MAP]).sort().map("key" === kind ? function(k) { - return k.toLowerCase(); - } : "value" === kind ? function(k) { - return headers[MAP][k].join(", "); - } : function(k) { - return [ k.toLowerCase(), headers[MAP][k].join(", ") ]; - }); - } - Headers.prototype.entries = Headers.prototype[Symbol.iterator], Object.defineProperty(Headers.prototype, Symbol.toStringTag, { - value: "Headers", - writable: !1, - enumerable: !1, - configurable: !0 - }), Object.defineProperties(Headers.prototype, { - get: { - enumerable: !0 - }, - forEach: { - enumerable: !0 - }, - set: { - enumerable: !0 - }, - append: { - enumerable: !0 - }, - has: { - enumerable: !0 }, - delete: { - enumerable: !0 - }, - keys: { - enumerable: !0 + queryParameters: [ timeoutInSeconds, comp6 ], + urlParameters: [ url ], + headerParameters: [ version, requestId, accept1, metadata, leaseId, ifModifiedSince, ifUnmodifiedSince, encryptionKey, encryptionKeySha256, encryptionAlgorithm, ifMatch, ifNoneMatch, ifTags, encryptionScope ], + isXML: !0, + serializer: blob_xmlSerializer + }, blob_acquireLeaseOperationSpec = { + path: "/{containerName}/{blob}", + httpMethod: "PUT", + responses: { + 201: { + headersMapper: BlobAcquireLeaseHeaders + }, + default: { + bodyMapper: StorageError, + headersMapper: BlobAcquireLeaseExceptionHeaders + } }, - values: { - enumerable: !0 + queryParameters: [ timeoutInSeconds, comp10 ], + urlParameters: [ url ], + headerParameters: [ version, requestId, accept1, ifModifiedSince, ifUnmodifiedSince, action, duration, proposedLeaseId, ifMatch, ifNoneMatch, ifTags ], + isXML: !0, + serializer: blob_xmlSerializer + }, blob_releaseLeaseOperationSpec = { + path: "/{containerName}/{blob}", + httpMethod: "PUT", + responses: { + 200: { + headersMapper: BlobReleaseLeaseHeaders + }, + default: { + bodyMapper: StorageError, + headersMapper: BlobReleaseLeaseExceptionHeaders + } }, - entries: { - enumerable: !0 - } - }); - const INTERNAL = Symbol("internal"); - function createHeadersIterator(target, kind) { - const iterator = Object.create(HeadersIteratorPrototype); - return iterator[INTERNAL] = { - target, - kind, - index: 0 - }, iterator; - } - const HeadersIteratorPrototype = Object.setPrototypeOf({ - next() { - if (!this || Object.getPrototypeOf(this) !== HeadersIteratorPrototype) throw new TypeError("Value of `this` is not a HeadersIterator"); - var _INTERNAL = this[INTERNAL]; - const target = _INTERNAL.target, kind = _INTERNAL.kind, index = _INTERNAL.index, values = getHeaders(target, kind); - return index >= values.length ? { - value: void 0, - done: !0 - } : (this[INTERNAL].index = index + 1, { - value: values[index], - done: !1 - }); - } - }, Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()))); - function exportNodeCompatibleHeaders(headers) { - const obj = Object.assign({ - __proto__: null - }, headers[MAP]), hostHeaderKey = find(headers[MAP], "Host"); - return void 0 !== hostHeaderKey && (obj[hostHeaderKey] = obj[hostHeaderKey][0]), - obj; - } - Object.defineProperty(HeadersIteratorPrototype, Symbol.toStringTag, { - value: "HeadersIterator", - writable: !1, - enumerable: !1, - configurable: !0 - }); - const INTERNALS$1 = Symbol("Response internals"), STATUS_CODES = external_http_.STATUS_CODES; - class Response { - constructor() { - let body = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null, opts = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}; - Body.call(this, body, opts); - const status = opts.status || 200, headers = new Headers(opts.headers); - if (null != body && !headers.has("Content-Type")) { - const contentType = extractContentType(body); - contentType && headers.append("Content-Type", contentType); - } - this[INTERNALS$1] = { - url: opts.url, - status, - statusText: opts.statusText || STATUS_CODES[status], - headers, - counter: opts.counter - }; - } - get url() { - return this[INTERNALS$1].url || ""; - } - get status() { - return this[INTERNALS$1].status; - } - get ok() { - return this[INTERNALS$1].status >= 200 && this[INTERNALS$1].status < 300; - } - get redirected() { - return this[INTERNALS$1].counter > 0; - } - get statusText() { - return this[INTERNALS$1].statusText; - } - get headers() { - return this[INTERNALS$1].headers; - } - clone() { - return new Response(clone(this), { - url: this.url, - status: this.status, - statusText: this.statusText, - headers: this.headers, - ok: this.ok, - redirected: this.redirected - }); - } - } - Body.mixIn(Response.prototype), Object.defineProperties(Response.prototype, { - url: { - enumerable: !0 - }, - status: { - enumerable: !0 - }, - ok: { - enumerable: !0 - }, - redirected: { - enumerable: !0 - }, - statusText: { - enumerable: !0 - }, - headers: { - enumerable: !0 - }, - clone: { - enumerable: !0 - } - }), Object.defineProperty(Response.prototype, Symbol.toStringTag, { - value: "Response", - writable: !1, - enumerable: !1, - configurable: !0 - }); - const INTERNALS$2 = Symbol("Request internals"), lib_URL = external_url_.URL || public_api.URL, parse_url = external_url_.parse, format_url = external_url_.format; - function parseURL(urlStr) { - return /^[a-zA-Z][a-zA-Z\d+\-.]*:/.exec(urlStr) && (urlStr = new lib_URL(urlStr).toString()), - parse_url(urlStr); - } - const streamDestructionSupported = "destroy" in external_stream_.Readable.prototype; - function isRequest(input) { - return "object" == typeof input && "object" == typeof input[INTERNALS$2]; - } - class Request { - constructor(input) { - let parsedURL, init = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}; - isRequest(input) ? parsedURL = parseURL(input.url) : (parsedURL = input && input.href ? parseURL(input.href) : parseURL(`${input}`), - input = {}); - let method = init.method || input.method || "GET"; - if (method = method.toUpperCase(), (null != init.body || isRequest(input) && null !== input.body) && ("GET" === method || "HEAD" === method)) throw new TypeError("Request with GET/HEAD method cannot have body"); - let inputBody = null != init.body ? init.body : isRequest(input) && null !== input.body ? clone(input) : null; - Body.call(this, inputBody, { - timeout: init.timeout || input.timeout || 0, - size: init.size || input.size || 0 - }); - const headers = new Headers(init.headers || input.headers || {}); - if (null != inputBody && !headers.has("Content-Type")) { - const contentType = extractContentType(inputBody); - contentType && headers.append("Content-Type", contentType); - } - let signal = isRequest(input) ? input.signal : null; - if ("signal" in init && (signal = init.signal), null != signal && !function isAbortSignal(signal) { - const proto = signal && "object" == typeof signal && Object.getPrototypeOf(signal); - return !(!proto || "AbortSignal" !== proto.constructor.name); - }(signal)) throw new TypeError("Expected signal to be an instanceof AbortSignal"); - this[INTERNALS$2] = { - method, - redirect: init.redirect || input.redirect || "follow", - headers, - parsedURL, - signal - }, this.follow = void 0 !== init.follow ? init.follow : void 0 !== input.follow ? input.follow : 20, - this.compress = void 0 !== init.compress ? init.compress : void 0 === input.compress || input.compress, - this.counter = init.counter || input.counter || 0, this.agent = init.agent || input.agent; - } - get method() { - return this[INTERNALS$2].method; - } - get url() { - return format_url(this[INTERNALS$2].parsedURL); - } - get headers() { - return this[INTERNALS$2].headers; - } - get redirect() { - return this[INTERNALS$2].redirect; - } - get signal() { - return this[INTERNALS$2].signal; - } - clone() { - return new Request(this); - } - } - function AbortError(message) { - Error.call(this, message), this.type = "aborted", this.message = message, Error.captureStackTrace(this, this.constructor); - } - Body.mixIn(Request.prototype), Object.defineProperty(Request.prototype, Symbol.toStringTag, { - value: "Request", - writable: !1, - enumerable: !1, - configurable: !0 - }), Object.defineProperties(Request.prototype, { - method: { - enumerable: !0 - }, - url: { - enumerable: !0 - }, - headers: { - enumerable: !0 + queryParameters: [ timeoutInSeconds, comp10 ], + urlParameters: [ url ], + headerParameters: [ version, requestId, accept1, ifModifiedSince, ifUnmodifiedSince, action1, leaseId1, ifMatch, ifNoneMatch, ifTags ], + isXML: !0, + serializer: blob_xmlSerializer + }, blob_renewLeaseOperationSpec = { + path: "/{containerName}/{blob}", + httpMethod: "PUT", + responses: { + 200: { + headersMapper: BlobRenewLeaseHeaders + }, + default: { + bodyMapper: StorageError, + headersMapper: BlobRenewLeaseExceptionHeaders + } }, - redirect: { - enumerable: !0 + queryParameters: [ timeoutInSeconds, comp10 ], + urlParameters: [ url ], + headerParameters: [ version, requestId, accept1, ifModifiedSince, ifUnmodifiedSince, leaseId1, action2, ifMatch, ifNoneMatch, ifTags ], + isXML: !0, + serializer: blob_xmlSerializer + }, blob_changeLeaseOperationSpec = { + path: "/{containerName}/{blob}", + httpMethod: "PUT", + responses: { + 200: { + headersMapper: BlobChangeLeaseHeaders + }, + default: { + bodyMapper: StorageError, + headersMapper: BlobChangeLeaseExceptionHeaders + } }, - clone: { - enumerable: !0 + queryParameters: [ timeoutInSeconds, comp10 ], + urlParameters: [ url ], + headerParameters: [ version, requestId, accept1, ifModifiedSince, ifUnmodifiedSince, leaseId1, action4, proposedLeaseId1, ifMatch, ifNoneMatch, ifTags ], + isXML: !0, + serializer: blob_xmlSerializer + }, blob_breakLeaseOperationSpec = { + path: "/{containerName}/{blob}", + httpMethod: "PUT", + responses: { + 202: { + headersMapper: BlobBreakLeaseHeaders + }, + default: { + bodyMapper: StorageError, + headersMapper: BlobBreakLeaseExceptionHeaders + } }, - signal: { - enumerable: !0 - } - }), AbortError.prototype = Object.create(Error.prototype), AbortError.prototype.constructor = AbortError, - AbortError.prototype.name = "AbortError"; - const URL$1 = external_url_.URL || public_api.URL, PassThrough$1 = external_stream_.PassThrough, isDomainOrSubdomain = function(destination, original) { - const orig = new URL$1(original).hostname, dest = new URL$1(destination).hostname; - return orig === dest || "." === orig[orig.length - dest.length - 1] && orig.endsWith(dest); - }, isSameProtocol = function(destination, original) { - return new URL$1(original).protocol === new URL$1(destination).protocol; - }; - function fetch(url, opts) { - if (!fetch.Promise) throw new Error("native promise missing, set fetch.Promise to your favorite alternative"); - return Body.Promise = fetch.Promise, new fetch.Promise((function(resolve, reject) { - const request = new Request(url, opts), options = function(request) { - const parsedURL = request[INTERNALS$2].parsedURL, headers = new Headers(request[INTERNALS$2].headers); - if (headers.has("Accept") || headers.set("Accept", "*/*"), !parsedURL.protocol || !parsedURL.hostname) throw new TypeError("Only absolute URLs are supported"); - if (!/^https?:$/.test(parsedURL.protocol)) throw new TypeError("Only HTTP(S) protocols are supported"); - if (request.signal && request.body instanceof external_stream_.Readable && !streamDestructionSupported) throw new Error("Cancellation of streamed requests with AbortSignal is not supported in node < 8"); - let contentLengthValue = null; - if (null == request.body && /^(POST|PUT)$/i.test(request.method) && (contentLengthValue = "0"), - null != request.body) { - const totalBytes = getTotalBytes(request); - "number" == typeof totalBytes && (contentLengthValue = String(totalBytes)); - } - contentLengthValue && headers.set("Content-Length", contentLengthValue), headers.has("User-Agent") || headers.set("User-Agent", "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)"), - request.compress && !headers.has("Accept-Encoding") && headers.set("Accept-Encoding", "gzip,deflate"); - let agent = request.agent; - return "function" == typeof agent && (agent = agent(parsedURL)), headers.has("Connection") || agent || headers.set("Connection", "close"), - Object.assign({}, parsedURL, { - method: request.method, - headers: exportNodeCompatibleHeaders(headers), - agent - }); - }(request), send = ("https:" === options.protocol ? external_https_ : external_http_).request, signal = request.signal; - let response = null; - const abort = function() { - let error = new AbortError("The user aborted a request."); - reject(error), request.body && request.body instanceof external_stream_.Readable && destroyStream(request.body, error), - response && response.body && response.body.emit("error", error); - }; - if (signal && signal.aborted) return void abort(); - const abortAndFinalize = function() { - abort(), finalize(); - }, req = send(options); - let reqTimeout; - function finalize() { - req.abort(), signal && signal.removeEventListener("abort", abortAndFinalize), clearTimeout(reqTimeout); - } - signal && signal.addEventListener("abort", abortAndFinalize), request.timeout && req.once("socket", (function(socket) { - reqTimeout = setTimeout((function() { - reject(new FetchError(`network timeout at: ${request.url}`, "request-timeout")), - finalize(); - }), request.timeout); - })), req.on("error", (function(err) { - reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, "system", err)), - response && response.body && destroyStream(response.body, err), finalize(); - })), function(request, errorCallback) { - let socket; - request.on("socket", (function(s) { - socket = s; - })), request.on("response", (function(response) { - const headers = response.headers; - "chunked" !== headers["transfer-encoding"] || headers["content-length"] || response.once("close", (function(hadError) { - if (socket.listenerCount("data") > 0 && !hadError) { - const err = new Error("Premature close"); - err.code = "ERR_STREAM_PREMATURE_CLOSE", errorCallback(err); - } - })); - })); - }(req, (function(err) { - signal && signal.aborted || response && response.body && destroyStream(response.body, err); - })), parseInt(process.version.substring(1)) < 14 && req.on("socket", (function(s) { - s.addListener("close", (function(hadError) { - const hasDataListener = s.listenerCount("data") > 0; - if (response && hasDataListener && !hadError && (!signal || !signal.aborted)) { - const err = new Error("Premature close"); - err.code = "ERR_STREAM_PREMATURE_CLOSE", response.body.emit("error", err); - } - })); - })), req.on("response", (function(res) { - clearTimeout(reqTimeout); - const headers = function(obj) { - const headers = new Headers; - for (const name of Object.keys(obj)) if (!invalidTokenRegex.test(name)) if (Array.isArray(obj[name])) for (const val of obj[name]) invalidHeaderCharRegex.test(val) || (void 0 === headers[MAP][name] ? headers[MAP][name] = [ val ] : headers[MAP][name].push(val)); else invalidHeaderCharRegex.test(obj[name]) || (headers[MAP][name] = [ obj[name] ]); - return headers; - }(res.headers); - if (fetch.isRedirect(res.statusCode)) { - const location = headers.get("Location"); - let locationURL = null; - try { - locationURL = null === location ? null : new URL$1(location, request.url).toString(); - } catch (err) { - if ("manual" !== request.redirect) return reject(new FetchError(`uri requested responds with an invalid redirect URL: ${location}`, "invalid-redirect")), - void finalize(); - } - switch (request.redirect) { - case "error": - return reject(new FetchError(`uri requested responds with a redirect, redirect mode is set to error: ${request.url}`, "no-redirect")), - void finalize(); - - case "manual": - if (null !== locationURL) try { - headers.set("Location", locationURL); - } catch (err) { - reject(err); - } - break; - - case "follow": - if (null === locationURL) break; - if (request.counter >= request.follow) return reject(new FetchError(`maximum redirect reached at: ${request.url}`, "max-redirect")), - void finalize(); - const requestOpts = { - headers: new Headers(request.headers), - follow: request.follow, - counter: request.counter + 1, - agent: request.agent, - compress: request.compress, - method: request.method, - body: request.body, - signal: request.signal, - timeout: request.timeout, - size: request.size - }; - if (!isDomainOrSubdomain(request.url, locationURL) || !isSameProtocol(request.url, locationURL)) for (const name of [ "authorization", "www-authenticate", "cookie", "cookie2" ]) requestOpts.headers.delete(name); - return 303 !== res.statusCode && request.body && null === getTotalBytes(request) ? (reject(new FetchError("Cannot follow redirect with body being a readable stream", "unsupported-redirect")), - void finalize()) : (303 !== res.statusCode && (301 !== res.statusCode && 302 !== res.statusCode || "POST" !== request.method) || (requestOpts.method = "GET", - requestOpts.body = void 0, requestOpts.headers.delete("content-length")), resolve(fetch(new Request(locationURL, requestOpts))), - void finalize()); - } - } - res.once("end", (function() { - signal && signal.removeEventListener("abort", abortAndFinalize); - })); - let body = res.pipe(new PassThrough$1); - const response_options = { - url: request.url, - status: res.statusCode, - statusText: res.statusMessage, - headers, - size: request.size, - timeout: request.timeout, - counter: request.counter - }, codings = headers.get("Content-Encoding"); - if (!request.compress || "HEAD" === request.method || null === codings || 204 === res.statusCode || 304 === res.statusCode) return response = new Response(body, response_options), - void resolve(response); - const zlibOptions = { - flush: external_zlib_namespaceObject.Z_SYNC_FLUSH, - finishFlush: external_zlib_namespaceObject.Z_SYNC_FLUSH - }; - if ("gzip" == codings || "x-gzip" == codings) return body = body.pipe(external_zlib_namespaceObject.createGunzip(zlibOptions)), - response = new Response(body, response_options), void resolve(response); - if ("deflate" == codings || "x-deflate" == codings) { - const raw = res.pipe(new PassThrough$1); - return raw.once("data", (function(chunk) { - body = 8 == (15 & chunk[0]) ? body.pipe(external_zlib_namespaceObject.createInflate()) : body.pipe(external_zlib_namespaceObject.createInflateRaw()), - response = new Response(body, response_options), resolve(response); - })), void raw.on("end", (function() { - response || (response = new Response(body, response_options), resolve(response)); - })); - } - if ("br" == codings && "function" == typeof external_zlib_namespaceObject.createBrotliDecompress) return body = body.pipe(external_zlib_namespaceObject.createBrotliDecompress()), - response = new Response(body, response_options), void resolve(response); - response = new Response(body, response_options), resolve(response); - })), function(dest, instance) { - const body = instance.body; - null === body ? dest.end() : isBlob(body) ? body.stream().pipe(dest) : Buffer.isBuffer(body) ? (dest.write(body), - dest.end()) : body.pipe(dest); - }(req, request); - })); - } - function destroyStream(stream, err) { - stream.destroy ? stream.destroy(err) : (stream.emit("error", err), stream.end()); - } - fetch.isRedirect = function(code) { - return 301 === code || 302 === code || 303 === code || 307 === code || 308 === code; - }, fetch.Promise = global.Promise; - const lib = fetch; - function getCachedAgent(isHttps, agentCache) { - return isHttps ? agentCache.httpsAgent : agentCache.httpAgent; - } - class ReportTransform extends external_stream_.Transform { - constructor(progressCallback) { - super(), this.progressCallback = progressCallback, this.loadedBytes = 0; - } - _transform(chunk, _encoding, callback) { - this.push(chunk), this.loadedBytes += chunk.length, this.progressCallback({ - loadedBytes: this.loadedBytes - }), callback(void 0); - } - } - function isReadableStream(body) { - return body && "function" == typeof body.pipe; - } - function isStreamComplete(stream, aborter) { - return new Promise((resolve => { - stream.once("close", (() => { - null == aborter || aborter.abort(), resolve(); - })), stream.once("end", resolve), stream.once("error", resolve); - })); - } - class NodeFetchHttpClient { - constructor() { - this.proxyAgentMap = new Map, this.keepAliveAgents = {}, this.cookieJar = new cookie.US(void 0, { - looseMode: !0 - }); - } - async sendRequest(httpRequest) { - var _a; - if (!httpRequest && "object" != typeof httpRequest) throw new Error("'httpRequest' (WebResourceLike) cannot be null or undefined and must be of type object."); - const abortController = new AbortController.H; - let abortListener; - if (httpRequest.abortSignal) { - if (httpRequest.abortSignal.aborted) throw new AbortController._("The operation was aborted."); - abortListener = event => { - "abort" === event.type && abortController.abort(); - }, httpRequest.abortSignal.addEventListener("abort", abortListener); + queryParameters: [ timeoutInSeconds, comp10 ], + urlParameters: [ url ], + headerParameters: [ version, requestId, accept1, ifModifiedSince, ifUnmodifiedSince, action3, breakPeriod, ifMatch, ifNoneMatch, ifTags ], + isXML: !0, + serializer: blob_xmlSerializer + }, createSnapshotOperationSpec = { + path: "/{containerName}/{blob}", + httpMethod: "PUT", + responses: { + 201: { + headersMapper: BlobCreateSnapshotHeaders + }, + default: { + bodyMapper: StorageError, + headersMapper: BlobCreateSnapshotExceptionHeaders } - if (httpRequest.timeout && setTimeout((() => { - abortController.abort(); - }), httpRequest.timeout), httpRequest.formData) { - const formData = httpRequest.formData, requestForm = new (form_data_default()), appendFormValue = (key, value) => { - "function" == typeof value && (value = value()), value && Object.prototype.hasOwnProperty.call(value, "value") && Object.prototype.hasOwnProperty.call(value, "options") ? requestForm.append(key, value.value, value.options) : requestForm.append(key, value); - }; - for (const formKey of Object.keys(formData)) { - const formValue = formData[formKey]; - if (Array.isArray(formValue)) for (let j = 0; j < formValue.length; j++) appendFormValue(formKey, formValue[j]); else appendFormValue(formKey, formValue); + }, + queryParameters: [ timeoutInSeconds, { + parameterPath: "comp", + mapper: { + defaultValue: "snapshot", + isConstant: !0, + serializedName: "comp", + type: { + name: "String" } - httpRequest.body = requestForm, httpRequest.formData = void 0; - const contentType = httpRequest.headers.get("Content-Type"); - contentType && -1 !== contentType.indexOf("multipart/form-data") && ("function" == typeof requestForm.getBoundary ? httpRequest.headers.set("Content-Type", `multipart/form-data; boundary=${requestForm.getBoundary()}`) : httpRequest.headers.remove("Content-Type")); } - let body = httpRequest.body ? "function" == typeof httpRequest.body ? httpRequest.body() : httpRequest.body : void 0; - if (httpRequest.onUploadProgress && httpRequest.body) { - const onUploadProgress = httpRequest.onUploadProgress, uploadReportStream = new ReportTransform(onUploadProgress); - isReadableStream(body) ? body.pipe(uploadReportStream) : uploadReportStream.end(body), - body = uploadReportStream; + } ], + urlParameters: [ url ], + headerParameters: [ version, requestId, accept1, metadata, leaseId, ifModifiedSince, ifUnmodifiedSince, encryptionKey, encryptionKeySha256, encryptionAlgorithm, ifMatch, ifNoneMatch, ifTags, encryptionScope ], + isXML: !0, + serializer: blob_xmlSerializer + }, startCopyFromURLOperationSpec = { + path: "/{containerName}/{blob}", + httpMethod: "PUT", + responses: { + 202: { + headersMapper: BlobStartCopyFromURLHeaders + }, + default: { + bodyMapper: StorageError, + headersMapper: BlobStartCopyFromURLExceptionHeaders } - const platformSpecificRequestInit = await this.prepareRequest(httpRequest), requestInit = Object.assign({ - body, - headers: httpRequest.headers.rawHeaders(), - method: httpRequest.method, - signal: abortController.signal, - redirect: "manual" - }, platformSpecificRequestInit); - let operationResponse; - try { - const response = await this.fetch(httpRequest.url, requestInit), headers = function(headers) { - const httpHeaders = new httpHeaders_HttpHeaders; - return headers.forEach(((value, key) => { - httpHeaders.set(key, value); - })), httpHeaders; - }(response.headers), streaming = (null === (_a = httpRequest.streamResponseStatusCodes) || void 0 === _a ? void 0 : _a.has(response.status)) || httpRequest.streamResponseBody; - operationResponse = { - headers, - request: httpRequest, - status: response.status, - readableStreamBody: streaming ? response.body : void 0, - bodyAsText: streaming ? void 0 : await response.text() - }; - const onDownloadProgress = httpRequest.onDownloadProgress; - if (onDownloadProgress) { - const responseBody = response.body || void 0; - if (isReadableStream(responseBody)) { - const downloadReportStream = new ReportTransform(onDownloadProgress); - responseBody.pipe(downloadReportStream), operationResponse.readableStreamBody = downloadReportStream; - } else { - const length = parseInt(headers.get("Content-Length")) || void 0; - length && onDownloadProgress({ - loadedBytes: length - }); - } - } - return await this.processRequest(operationResponse), operationResponse; - } catch (error) { - const fetchError = error; - if ("ENOTFOUND" === fetchError.code) throw new RestError(fetchError.message, RestError.REQUEST_SEND_ERROR, void 0, httpRequest); - if ("aborted" === fetchError.type) throw new AbortController._("The operation was aborted."); - throw fetchError; - } finally { - if (httpRequest.abortSignal && abortListener) { - let uploadStreamDone = Promise.resolve(); - isReadableStream(body) && (uploadStreamDone = isStreamComplete(body)); - let downloadStreamDone = Promise.resolve(); - isReadableStream(null == operationResponse ? void 0 : operationResponse.readableStreamBody) && (downloadStreamDone = isStreamComplete(operationResponse.readableStreamBody, abortController)), - Promise.all([ uploadStreamDone, downloadStreamDone ]).then((() => { - var _a; - null === (_a = httpRequest.abortSignal) || void 0 === _a || _a.removeEventListener("abort", abortListener); - })).catch((e => { - log_logger.warning("Error when cleaning up abortListener on httpRequest", e); - })); + }, + queryParameters: [ timeoutInSeconds ], + urlParameters: [ url ], + headerParameters: [ version, requestId, accept1, metadata, leaseId, ifModifiedSince, ifUnmodifiedSince, ifMatch, ifNoneMatch, ifTags, immutabilityPolicyExpiry, immutabilityPolicyMode, tier, rehydratePriority, sourceIfModifiedSince, sourceIfUnmodifiedSince, sourceIfMatch, sourceIfNoneMatch, sourceIfTags, copySource, blobTagsString, { + parameterPath: [ "options", "sealBlob" ], + mapper: { + serializedName: "x-ms-seal-blob", + xmlName: "x-ms-seal-blob", + type: { + name: "Boolean" } } - } - getOrCreateAgent(httpRequest) { - var _a; - const isHttps = isUrlHttps(httpRequest.url); - if (httpRequest.proxySettings) { - const {host, port, username, password} = httpRequest.proxySettings, key = `${host}:${port}:${username}:${password}`, proxyAgents = null !== (_a = this.proxyAgentMap.get(key)) && void 0 !== _a ? _a : {}; - let agent = getCachedAgent(isHttps, proxyAgents); - if (agent) return agent; - const tunnel = function(requestUrl, proxySettings, headers) { - const host = URLBuilder.parse(proxySettings.host).getHost(); - if (!host) throw new Error("Expecting a non-empty host in proxy settings."); - if (!(0 <= (port = proxySettings.port) && port <= 65535)) throw new Error("Expecting a valid port number in the range of [0, 65535] in proxy settings."); - var port; - const tunnelOptions = { - proxy: { - host, - port: proxySettings.port, - headers: headers && headers.rawHeaders() || {} - } - }; - proxySettings.username && proxySettings.password ? tunnelOptions.proxy.proxyAuth = `${proxySettings.username}:${proxySettings.password}` : proxySettings.username && (tunnelOptions.proxy.proxyAuth = `${proxySettings.username}`); - const isRequestHttps = isUrlHttps(requestUrl); - return { - isHttps: isRequestHttps, - agent: createTunnel(isRequestHttps, isUrlHttps(proxySettings.host), tunnelOptions) - }; - }(httpRequest.url, httpRequest.proxySettings, httpRequest.headers); - return agent = tunnel.agent, tunnel.isHttps ? proxyAgents.httpsAgent = tunnel.agent : proxyAgents.httpAgent = tunnel.agent, - this.proxyAgentMap.set(key, proxyAgents), agent; - } - if (httpRequest.keepAlive) { - let agent = getCachedAgent(isHttps, this.keepAliveAgents); - if (agent) return agent; - const agentOptions = { - keepAlive: httpRequest.keepAlive - }; - return agent = isHttps ? this.keepAliveAgents.httpsAgent = new external_https_.Agent(agentOptions) : this.keepAliveAgents.httpAgent = new external_http_.Agent(agentOptions), - agent; + }, legalHold1 ], + isXML: !0, + serializer: blob_xmlSerializer + }, copyFromURLOperationSpec = { + path: "/{containerName}/{blob}", + httpMethod: "PUT", + responses: { + 202: { + headersMapper: BlobCopyFromURLHeaders + }, + default: { + bodyMapper: StorageError, + headersMapper: BlobCopyFromURLExceptionHeaders } - return isHttps ? external_https_.globalAgent : external_http_.globalAgent; - } - async fetch(input, init) { - return lib(input, init); - } - async prepareRequest(httpRequest) { - const requestInit = {}; - if (this.cookieJar && !httpRequest.headers.get("Cookie")) { - const cookieString = await new Promise(((resolve, reject) => { - this.cookieJar.getCookieString(httpRequest.url, ((err, cookie) => { - err ? reject(err) : resolve(cookie); - })); - })); - httpRequest.headers.set("Cookie", cookieString); - } - return requestInit.agent = this.getOrCreateAgent(httpRequest), requestInit.compress = httpRequest.decompressResponse, - requestInit; - } - async processRequest(operationResponse) { - if (this.cookieJar) { - const setCookieHeader = operationResponse.headers.get("Set-Cookie"); - void 0 !== setCookieHeader && await new Promise(((resolve, reject) => { - this.cookieJar.setCookie(setCookieHeader, operationResponse.request.url, { - ignoreError: !0 - }, (err => { - err ? reject(err) : resolve(); - })); - })); + }, + queryParameters: [ timeoutInSeconds ], + urlParameters: [ url ], + headerParameters: [ version, requestId, accept1, metadata, leaseId, ifModifiedSince, ifUnmodifiedSince, ifMatch, ifNoneMatch, ifTags, immutabilityPolicyExpiry, immutabilityPolicyMode, encryptionScope, tier, sourceIfModifiedSince, sourceIfUnmodifiedSince, sourceIfMatch, sourceIfNoneMatch, copySource, blobTagsString, legalHold1, { + parameterPath: "xMsRequiresSync", + mapper: { + defaultValue: "true", + isConstant: !0, + serializedName: "x-ms-requires-sync", + type: { + name: "String" + } } - } - } - const _defaultHttpClient = new NodeFetchHttpClient; - function isDefined(thing) { - return null != thing; - } - const StandardAbortMessage = "The operation was aborted."; - function delay_delay(timeInMs, options) { - return new Promise(((resolve, reject) => { - let timer, onAborted; - const rejectOnAbort = () => { - var _a; - return reject(new AbortController._(null !== (_a = null == options ? void 0 : options.abortErrorMsg) && void 0 !== _a ? _a : StandardAbortMessage)); - }, removeListeners = () => { - (null == options ? void 0 : options.abortSignal) && onAborted && options.abortSignal.removeEventListener("abort", onAborted); - }; - if (onAborted = () => (isDefined(timer) && clearTimeout(timer), removeListeners(), - rejectOnAbort()), (null == options ? void 0 : options.abortSignal) && options.abortSignal.aborted) return rejectOnAbort(); - timer = setTimeout((() => { - removeListeners(), resolve(); - }), timeInMs), (null == options ? void 0 : options.abortSignal) && options.abortSignal.addEventListener("abort", onAborted); - })); - } - const StorageBearerTokenChallengeAuthenticationPolicy_Constants = { - DefaultScope: "/.default", - HeaderConstants: { - AUTHORIZATION: "authorization" - } - }, DEFAULT_CYCLER_OPTIONS = { - forcedRefreshWindowInMs: 1e3, - retryIntervalInMs: 3e3, - refreshWindowInMs: 12e4 - }; - function createTokenCycler(credential, scopes, tokenCyclerOptions) { - let refreshWorker = null, token = null; - const options = Object.assign(Object.assign({}, DEFAULT_CYCLER_OPTIONS), tokenCyclerOptions), cycler = { - get isRefreshing() { - return null !== refreshWorker; - }, - get shouldRefresh() { - var _a; - return !cycler.isRefreshing && (null !== (_a = null == token ? void 0 : token.expiresOnTimestamp) && void 0 !== _a ? _a : 0) - options.refreshWindowInMs < Date.now(); + }, sourceContentMD5, copySourceAuthorization, copySourceTags ], + isXML: !0, + serializer: blob_xmlSerializer + }, abortCopyFromURLOperationSpec = { + path: "/{containerName}/{blob}", + httpMethod: "PUT", + responses: { + 204: { + headersMapper: BlobAbortCopyFromURLHeaders }, - get mustRefresh() { - return null === token || token.expiresOnTimestamp - options.forcedRefreshWindowInMs < Date.now(); - } - }; - function refresh(getTokenOptions) { - var _a; - if (!cycler.isRefreshing) { - refreshWorker = async function(getAccessToken, retryIntervalInMs, timeoutInMs) { - async function tryGetAccessToken() { - if (!(Date.now() < timeoutInMs)) { - const finalToken = await getAccessToken(); - if (null === finalToken) throw new Error("Failed to refresh access token."); - return finalToken; - } - try { - return await getAccessToken(); - } catch (_a) { - return null; - } - } - let token = await tryGetAccessToken(); - for (;null === token; ) await delay_delay(retryIntervalInMs), token = await tryGetAccessToken(); - return token; - }((() => credential.getToken(scopes, getTokenOptions)), options.retryIntervalInMs, null !== (_a = null == token ? void 0 : token.expiresOnTimestamp) && void 0 !== _a ? _a : Date.now()).then((_token => (refreshWorker = null, - token = _token, token))).catch((reason => { - throw refreshWorker = null, token = null, reason; - })); + default: { + bodyMapper: StorageError, + headersMapper: BlobAbortCopyFromURLExceptionHeaders } - return refreshWorker; - } - return async tokenOptions => cycler.mustRefresh ? refresh(tokenOptions) : (cycler.shouldRefresh && refresh(tokenOptions), - token); - } - function storageBearerTokenChallengeAuthenticationPolicy(credential, scopes) { - let getToken = createTokenCycler(credential, scopes); - class StorageBearerTokenChallengeAuthenticationPolicy extends BaseRequestPolicy { - constructor(nextPolicy, options) { - super(nextPolicy, options); - } - async sendRequest(webResource) { - if (!webResource.url.toLowerCase().startsWith("https://")) throw new Error("Bearer token authentication is not permitted for non-TLS protected (non-https) URLs."); - const getTokenInternal = getToken, token = (await getTokenInternal({ - abortSignal: webResource.abortSignal, - tracingOptions: { - tracingContext: webResource.tracingContext - } - })).token; - webResource.headers.set(StorageBearerTokenChallengeAuthenticationPolicy_Constants.HeaderConstants.AUTHORIZATION, `Bearer ${token}`); - const response = await this._nextPolicy.sendRequest(webResource); - if (401 === (null == response ? void 0 : response.status)) { - const challenge = function(response) { - const challenge = response.headers.get("WWW-Authenticate"); - if (401 === response.status && challenge) return challenge; - }(response); - if (challenge) { - const challengeInfo = function(challenge) { - return `${challenge.slice("Bearer ".length).trim()} `.split(" ").filter((x => x)).map((keyValue => (([key, value]) => ({ - [key]: value - }))(keyValue.trim().split("=")))).reduce(((a, b) => Object.assign(Object.assign({}, a), b)), {}); - }(challenge), challengeScopes = challengeInfo.resource_id + StorageBearerTokenChallengeAuthenticationPolicy_Constants.DefaultScope, tenantId = URLBuilder.parse(challengeInfo.authorization_uri).getPath().split("/")[1], getTokenForChallenge = createTokenCycler(credential, challengeScopes), tokenForChallenge = (await getTokenForChallenge({ - abortSignal: webResource.abortSignal, - tracingOptions: { - tracingContext: webResource.tracingContext - }, - tenantId - })).token; - return getToken = getTokenForChallenge, webResource.headers.set(StorageBearerTokenChallengeAuthenticationPolicy_Constants.HeaderConstants.AUTHORIZATION, `Bearer ${tokenForChallenge}`), - this._nextPolicy.sendRequest(webResource); - } + }, + queryParameters: [ timeoutInSeconds, { + parameterPath: "comp", + mapper: { + defaultValue: "copy", + isConstant: !0, + serializedName: "comp", + type: { + name: "String" } - return response; } - } - return { - create: (nextPolicy, options) => new StorageBearerTokenChallengeAuthenticationPolicy(nextPolicy, options) - }; - } - function isPipelineLike(pipeline) { - if (!pipeline || "object" != typeof pipeline) return !1; - const castPipeline = pipeline; - return Array.isArray(castPipeline.factories) && "object" == typeof castPipeline.options && "function" == typeof castPipeline.toServiceClientOptions; - } - class Pipeline { - constructor(factories, options = {}) { - this.factories = factories, this.options = Object.assign(Object.assign({}, options), { - httpClient: options.httpClient || _defaultHttpClient - }); - } - toServiceClientOptions() { - return { - httpClient: this.options.httpClient, - requestPolicyFactories: this.factories - }; - } - } - function newPipeline(credential, pipelineOptions = {}) { - var _a; - void 0 === credential && (credential = new AnonymousCredential); - const telemetryPolicy = new TelemetryPolicyFactory(pipelineOptions.userAgentOptions), factories = [ tracingPolicy_tracingPolicy({ - userAgent: telemetryPolicy.telemetryString - }), (keepAliveOptions = pipelineOptions.keepAliveOptions, { - create: (nextPolicy, options) => new KeepAlivePolicy(nextPolicy, options, keepAliveOptions || keepAlivePolicy_DefaultKeepAliveOptions) - }), telemetryPolicy, generateClientRequestIdPolicy_generateClientRequestIdPolicy(), new StorageBrowserPolicyFactory, new StorageRetryPolicyFactory(pipelineOptions.retryOptions), deserializationPolicy_deserializationPolicy(void 0, { - xmlCharKey: "#" - }), logPolicy_logPolicy({ - logger: logger.info, - allowedHeaderNames: StorageBlobLoggingAllowedHeaderNames, - allowedQueryParameters: StorageBlobLoggingAllowedQueryParameters - }) ]; - var keepAliveOptions; - return utils_isNode && (factories.push(proxyPolicy_proxyPolicy(pipelineOptions.proxyOptions)), - factories.push({ - create: (nextPolicy, options) => new DisableResponseDecompressionPolicy(nextPolicy, options) - })), factories.push(isTokenCredential(credential) ? attachCredential(storageBearerTokenChallengeAuthenticationPolicy(credential, null !== (_a = pipelineOptions.audience) && void 0 !== _a ? _a : StorageOAuthScopes), credential) : credential), - new Pipeline(factories, pipelineOptions); - } - var external_crypto_ = __webpack_require__(6113); - class StorageSharedKeyCredentialPolicy extends CredentialPolicy { - constructor(nextPolicy, options, factory) { - super(nextPolicy, options), this.factory = factory; - } - signRequest(request) { - request.headers.set(constants_HeaderConstants_X_MS_DATE, (new Date).toUTCString()), - request.body && ("string" == typeof request.body || void 0 !== request.body) && request.body.length > 0 && request.headers.set(constants_HeaderConstants_CONTENT_LENGTH, Buffer.byteLength(request.body)); - const stringToSign = [ request.method.toUpperCase(), this.getHeaderValueToSign(request, constants_HeaderConstants_CONTENT_LANGUAGE), this.getHeaderValueToSign(request, constants_HeaderConstants_CONTENT_ENCODING), this.getHeaderValueToSign(request, constants_HeaderConstants_CONTENT_LENGTH), this.getHeaderValueToSign(request, constants_HeaderConstants_CONTENT_MD5), this.getHeaderValueToSign(request, constants_HeaderConstants_CONTENT_TYPE), this.getHeaderValueToSign(request, constants_HeaderConstants_DATE), this.getHeaderValueToSign(request, constants_HeaderConstants_IF_MODIFIED_SINCE), this.getHeaderValueToSign(request, constants_HeaderConstants_IF_MATCH), this.getHeaderValueToSign(request, constants_HeaderConstants_IF_NONE_MATCH), this.getHeaderValueToSign(request, constants_HeaderConstants_IF_UNMODIFIED_SINCE), this.getHeaderValueToSign(request, constants_HeaderConstants_RANGE) ].join("\n") + "\n" + this.getCanonicalizedHeadersString(request) + this.getCanonicalizedResourceString(request), signature = this.factory.computeHMACSHA256(stringToSign); - return request.headers.set(constants_HeaderConstants_AUTHORIZATION, `SharedKey ${this.factory.accountName}:${signature}`), - request; - } - getHeaderValueToSign(request, headerName) { - const value = request.headers.get(headerName); - return value ? headerName === constants_HeaderConstants_CONTENT_LENGTH && "0" === value ? "" : value : ""; - } - getCanonicalizedHeadersString(request) { - let headersArray = request.headers.headersArray().filter((value => value.name.toLowerCase().startsWith(constants_HeaderConstants_PREFIX_FOR_STORAGE))); - headersArray.sort(((a, b) => a.name.toLowerCase().localeCompare(b.name.toLowerCase()))), - headersArray = headersArray.filter(((value, index, array) => !(index > 0 && value.name.toLowerCase() === array[index - 1].name.toLowerCase()))); - let canonicalizedHeadersStringToSign = ""; - return headersArray.forEach((header => { - canonicalizedHeadersStringToSign += `${header.name.toLowerCase().trimRight()}:${header.value.trimLeft()}\n`; - })), canonicalizedHeadersStringToSign; - } - getCanonicalizedResourceString(request) { - const path = getURLPath(request.url) || "/"; - let canonicalizedResourceString = ""; - canonicalizedResourceString += `/${this.factory.accountName}${path}`; - const queries = function(url) { - let queryString = URLBuilder.parse(url).getQuery(); - if (!queryString) return {}; - queryString = queryString.trim(), queryString = queryString.startsWith("?") ? queryString.substr(1) : queryString; - let querySubStrings = queryString.split("&"); - querySubStrings = querySubStrings.filter((value => { - const indexOfEqual = value.indexOf("="), lastIndexOfEqual = value.lastIndexOf("="); - return indexOfEqual > 0 && indexOfEqual === lastIndexOfEqual && lastIndexOfEqual < value.length - 1; - })); - const queries = {}; - for (const querySubString of querySubStrings) { - const splitResults = querySubString.split("="), key = splitResults[0], value = splitResults[1]; - queries[key] = value; + }, { + parameterPath: "copyId", + mapper: { + serializedName: "copyid", + required: !0, + xmlName: "copyid", + type: { + name: "String" } - return queries; - }(request.url), lowercaseQueries = {}; - if (queries) { - const queryKeys = []; - for (const key in queries) if (Object.prototype.hasOwnProperty.call(queries, key)) { - const lowercaseKey = key.toLowerCase(); - lowercaseQueries[lowercaseKey] = queries[key], queryKeys.push(lowercaseKey); + } + } ], + urlParameters: [ url ], + headerParameters: [ version, requestId, accept1, leaseId, { + parameterPath: "copyActionAbortConstant", + mapper: { + defaultValue: "abort", + isConstant: !0, + serializedName: "x-ms-copy-action", + type: { + name: "String" } - queryKeys.sort(); - for (const key of queryKeys) canonicalizedResourceString += `\n${key}:${decodeURIComponent(lowercaseQueries[key])}`; } - return canonicalizedResourceString; - } - } - class StorageSharedKeyCredential extends Credential { - constructor(accountName, accountKey) { - super(), this.accountName = accountName, this.accountKey = Buffer.from(accountKey, "base64"); - } - create(nextPolicy, options) { - return new StorageSharedKeyCredentialPolicy(nextPolicy, options, this); - } - computeHMACSHA256(stringToSign) { - return (0, external_crypto_.createHmac)("sha256", this.accountKey).update(stringToSign, "utf8").digest("base64"); - } - } - const allowedRedirect = [ "GET", "HEAD" ]; - class RedirectPolicy extends BaseRequestPolicy { - constructor(nextPolicy, options, maxRetries = 20) { - super(nextPolicy, options), this.maxRetries = maxRetries; - } - sendRequest(request) { - return this._nextPolicy.sendRequest(request).then((response => handleRedirect(this, response, 0))); - } - } - function handleRedirect(policy, response, currentRetries) { - const {request, status} = response, locationHeader = response.headers.get("location"); - if (locationHeader && (300 === status || 301 === status && allowedRedirect.includes(request.method) || 302 === status && allowedRedirect.includes(request.method) || 303 === status && "POST" === request.method || 307 === status) && (!policy.maxRetries || currentRetries < policy.maxRetries)) { - const builder = URLBuilder.parse(request.url); - return builder.setPath(locationHeader), request.url = builder.toString(), 303 === status && (request.method = "GET", - delete request.body), policy._nextPolicy.sendRequest(request).then((res => handleRedirect(policy, res, currentRetries + 1))); - } - return Promise.resolve(response); - } - function isNumber(n) { - return "number" == typeof n; - } - function shouldRetry(retryLimit, predicate, retryData, response, error) { - return !!predicate(response, error) && retryData.retryCount < retryLimit; - } - function updateRetryData(retryOptions, retryData = { - retryCount: 0, - retryInterval: 0 - }, err) { - err && (retryData.error && (err.innerError = retryData.error), retryData.error = err), - retryData.retryCount++; - let incrementDelta = Math.pow(2, retryData.retryCount - 1) - 1; - return incrementDelta *= .8 * retryOptions.retryInterval + Math.floor(Math.random() * (.4 * retryOptions.retryInterval)), - retryData.retryInterval = Math.min(retryOptions.minRetryInterval + incrementDelta, retryOptions.maxRetryInterval), - retryData; - } - var RetryMode; - !function(RetryMode) { - RetryMode[RetryMode.Exponential = 0] = "Exponential"; - }(RetryMode || (RetryMode = {})); - class ExponentialRetryPolicy extends BaseRequestPolicy { - constructor(nextPolicy, options, retryCount, retryInterval, maxRetryInterval) { - super(nextPolicy, options), this.retryCount = isNumber(retryCount) ? retryCount : 3, - this.retryInterval = isNumber(retryInterval) ? retryInterval : 3e4, this.maxRetryInterval = isNumber(maxRetryInterval) ? maxRetryInterval : 9e4; - } - sendRequest(request) { - return this._nextPolicy.sendRequest(request.clone()).then((response => retry(this, request, response))).catch((error => retry(this, request, error.response, void 0, error))); - } - } - async function retry(policy, request, response, retryData, requestError) { - retryData = updateRetryData({ - retryInterval: policy.retryInterval, - minRetryInterval: 0, - maxRetryInterval: policy.maxRetryInterval - }, retryData, requestError); - const isAborted = request.abortSignal && request.abortSignal.aborted; - if (isAborted || !shouldRetry(policy.retryCount, (function(responseParam) { - const statusCode = null == responseParam ? void 0 : responseParam.status; - return (503 !== statusCode || !(null == response ? void 0 : response.headers.get(constants_Constants.HeaderConstants.RETRY_AFTER))) && !(void 0 === statusCode || statusCode < 500 && 408 !== statusCode || 501 === statusCode || 505 === statusCode); - }), retryData, response)) { - if (isAborted || requestError || !response) { - throw retryData.error || new RestError("Failed to send the request.", RestError.REQUEST_SEND_ERROR, response && response.status, response && response.request, response); - } - return response; - } - log_logger.info(`Retrying request in ${retryData.retryInterval}`); - try { - await delay_delay(retryData.retryInterval); - const res = await policy._nextPolicy.sendRequest(request.clone()); - return retry(policy, request, res, retryData); - } catch (err) { - return retry(policy, request, response, retryData, err); - } - } - function getPathStringFromParameter(parameter) { - return getPathStringFromParameterPath(parameter.parameterPath, parameter.mapper); - } - function getPathStringFromParameterPath(parameterPath, mapper) { - let result; - return result = "string" == typeof parameterPath ? parameterPath : Array.isArray(parameterPath) ? parameterPath.join(".") : mapper.serializedName, - result; - } - function getDefaultUserAgentKey() { - return constants_Constants.HeaderConstants.USER_AGENT; - } - const getDefaultUserAgentHeaderName = getDefaultUserAgentKey; - function userAgentPolicy_getDefaultUserAgentValue() { - const runtimeInfo = [ { - key: "core-http", - value: constants_Constants.coreHttpVersion - } ], platformSpecificData = [ { - key: "Node", - value: process.version - }, { - key: "OS", - value: `(${external_os_.arch()}-${external_os_.type()}-${external_os_.release()})` - } ]; - return function(telemetryInfo, keySeparator = " ", valueSeparator = "/") { - return telemetryInfo.map((info => { - const value = info.value ? `${valueSeparator}${info.value}` : ""; - return `${info.key}${value}`; - })).join(keySeparator); - }(runtimeInfo.concat(platformSpecificData)); - } - class UserAgentPolicy extends BaseRequestPolicy { - constructor(_nextPolicy, _options, headerKey, headerValue) { - super(_nextPolicy, _options), this._nextPolicy = _nextPolicy, this._options = _options, - this.headerKey = headerKey, this.headerValue = headerValue; - } - sendRequest(request) { - return this.addUserAgentHeader(request), this._nextPolicy.sendRequest(request); - } - addUserAgentHeader(request) { - request.headers || (request.headers = new httpHeaders_HttpHeaders), !request.headers.get(this.headerKey) && this.headerValue && request.headers.set(this.headerKey, this.headerValue); - } - } - const bearerTokenAuthenticationPolicy_DEFAULT_CYCLER_OPTIONS = { - forcedRefreshWindowInMs: 1e3, - retryIntervalInMs: 3e3, - refreshWindowInMs: 12e4 - }; - function bearerTokenAuthenticationPolicy_createTokenCycler(credential, scopes, tokenCyclerOptions) { - let refreshWorker = null, token = null; - const options = Object.assign(Object.assign({}, bearerTokenAuthenticationPolicy_DEFAULT_CYCLER_OPTIONS), tokenCyclerOptions), cycler = { - get isRefreshing() { - return null !== refreshWorker; + } ], + isXML: !0, + serializer: blob_xmlSerializer + }, setTierOperationSpec = { + path: "/{containerName}/{blob}", + httpMethod: "PUT", + responses: { + 200: { + headersMapper: BlobSetTierHeaders }, - get shouldRefresh() { - var _a; - return !cycler.isRefreshing && (null !== (_a = null == token ? void 0 : token.expiresOnTimestamp) && void 0 !== _a ? _a : 0) - options.refreshWindowInMs < Date.now(); + 202: { + headersMapper: BlobSetTierHeaders }, - get mustRefresh() { - return null === token || token.expiresOnTimestamp - options.forcedRefreshWindowInMs < Date.now(); + default: { + bodyMapper: StorageError, + headersMapper: BlobSetTierExceptionHeaders } - }; - function refresh(getTokenOptions) { - var _a; - if (!cycler.isRefreshing) { - refreshWorker = async function(getAccessToken, retryIntervalInMs, timeoutInMs) { - async function tryGetAccessToken() { - if (!(Date.now() < timeoutInMs)) { - const finalToken = await getAccessToken(); - if (null === finalToken) throw new Error("Failed to refresh access token."); - return finalToken; - } - try { - return await getAccessToken(); - } catch (_a) { - return null; - } - } - let token = await tryGetAccessToken(); - for (;null === token; ) await delay_delay(retryIntervalInMs), token = await tryGetAccessToken(); - return token; - }((() => credential.getToken(scopes, getTokenOptions)), options.retryIntervalInMs, null !== (_a = null == token ? void 0 : token.expiresOnTimestamp) && void 0 !== _a ? _a : Date.now()).then((_token => (refreshWorker = null, - token = _token, token))).catch((reason => { - throw refreshWorker = null, token = null, reason; - })); + }, + queryParameters: [ timeoutInSeconds, snapshot, versionId, { + parameterPath: "comp", + mapper: { + defaultValue: "tier", + isConstant: !0, + serializedName: "comp", + type: { + name: "String" + } } - return refreshWorker; - } - return async tokenOptions => cycler.mustRefresh ? refresh(tokenOptions) : (cycler.shouldRefresh && refresh(tokenOptions), - token); - } - function bearerTokenAuthenticationPolicy(credential, scopes) { - const getToken = bearerTokenAuthenticationPolicy_createTokenCycler(credential, scopes); - class BearerTokenAuthenticationPolicy extends BaseRequestPolicy { - constructor(nextPolicy, options) { - super(nextPolicy, options); + } ], + urlParameters: [ url ], + headerParameters: [ version, requestId, accept1, leaseId, ifTags, rehydratePriority, { + parameterPath: "tier", + mapper: { + serializedName: "x-ms-access-tier", + required: !0, + xmlName: "x-ms-access-tier", + type: { + name: "Enum", + allowedValues: [ "P4", "P6", "P10", "P15", "P20", "P30", "P40", "P50", "P60", "P70", "P80", "Hot", "Cool", "Archive", "Cold" ] + } } - async sendRequest(webResource) { - if (!webResource.url.toLowerCase().startsWith("https://")) throw new Error("Bearer token authentication is not permitted for non-TLS protected (non-https) URLs."); - const {token} = await getToken({ - abortSignal: webResource.abortSignal, - tracingOptions: { - tracingContext: webResource.tracingContext - } - }); - return webResource.headers.set(constants_Constants.HeaderConstants.AUTHORIZATION, `Bearer ${token}`), - this._nextPolicy.sendRequest(webResource); + } ], + isXML: !0, + serializer: blob_xmlSerializer + }, blob_getAccountInfoOperationSpec = { + path: "/{containerName}/{blob}", + httpMethod: "GET", + responses: { + 200: { + headersMapper: BlobGetAccountInfoHeaders + }, + default: { + bodyMapper: StorageError, + headersMapper: BlobGetAccountInfoExceptionHeaders } + }, + queryParameters: [ comp, timeoutInSeconds, restype1 ], + urlParameters: [ url ], + headerParameters: [ version, requestId, accept1 ], + isXML: !0, + serializer: blob_xmlSerializer + }, queryOperationSpec = { + path: "/{containerName}/{blob}", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: { + type: { + name: "Stream" + }, + serializedName: "parsedResponse" + }, + headersMapper: BlobQueryHeaders + }, + 206: { + bodyMapper: { + type: { + name: "Stream" + }, + serializedName: "parsedResponse" + }, + headersMapper: BlobQueryHeaders + }, + default: { + bodyMapper: StorageError, + headersMapper: BlobQueryExceptionHeaders + } + }, + requestBody: queryRequest, + queryParameters: [ timeoutInSeconds, snapshot, { + parameterPath: "comp", + mapper: { + defaultValue: "query", + isConstant: !0, + serializedName: "comp", + type: { + name: "String" + } + } + } ], + urlParameters: [ url ], + headerParameters: [ contentType, accept, version, requestId, leaseId, ifModifiedSince, ifUnmodifiedSince, encryptionKey, encryptionKeySha256, encryptionAlgorithm, ifMatch, ifNoneMatch, ifTags ], + isXML: !0, + contentType: "application/xml; charset=utf-8", + mediaType: "xml", + serializer: blob_xmlSerializer + }, getTagsOperationSpec = { + path: "/{containerName}/{blob}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: BlobTags, + headersMapper: BlobGetTagsHeaders + }, + default: { + bodyMapper: StorageError, + headersMapper: BlobGetTagsExceptionHeaders + } + }, + queryParameters: [ timeoutInSeconds, snapshot, versionId, comp18 ], + urlParameters: [ url ], + headerParameters: [ version, requestId, accept1, leaseId, ifTags ], + isXML: !0, + serializer: blob_xmlSerializer + }, setTagsOperationSpec = { + path: "/{containerName}/{blob}", + httpMethod: "PUT", + responses: { + 204: { + headersMapper: BlobSetTagsHeaders + }, + default: { + bodyMapper: StorageError, + headersMapper: BlobSetTagsExceptionHeaders + } + }, + requestBody: tags, + queryParameters: [ timeoutInSeconds, versionId, comp18 ], + urlParameters: [ url ], + headerParameters: [ contentType, accept, version, requestId, leaseId, ifTags, transactionalContentMD5, transactionalContentCrc64 ], + isXML: !0, + contentType: "application/xml; charset=utf-8", + mediaType: "xml", + serializer: blob_xmlSerializer + }; + class PageBlobImpl { + constructor(client) { + this.client = client; } - return { - create: (nextPolicy, options) => new BearerTokenAuthenticationPolicy(nextPolicy, options) - }; - } - let cachedHttpClient; - class RPRegistrationPolicy extends BaseRequestPolicy { - constructor(nextPolicy, options, _retryTimeout = 30) { - super(nextPolicy, options), this._retryTimeout = _retryTimeout; - } - sendRequest(request) { - return this._nextPolicy.sendRequest(request.clone()).then((response => function(policy, request, response) { - if (409 === response.status) { - const rpName = function(body) { - let result, responseBody; - if (body) { - try { - responseBody = JSON.parse(body); - } catch (err) {} - if (responseBody && responseBody.error && responseBody.error.message && responseBody.error.code && "MissingSubscriptionRegistration" === responseBody.error.code) { - const matchRes = responseBody.error.message.match(/.*'(.*)'/i); - matchRes && (result = matchRes.pop()); - } - } - return result; - }(response.bodyAsText); - if (rpName) { - const urlPrefix = function(url) { - let result; - const matchRes = url.match(/.*\/subscriptions\/[a-f0-9-]+\//gi); - if (!matchRes || !matchRes[0]) throw new Error(`Unable to extract subscriptionId from the given url - ${url}.`); - result = matchRes[0]; - return result; - }(request.url); - return async function(policy, urlPrefix, provider, originalRequest) { - const postUrl = `${urlPrefix}providers/${provider}/register?api-version=2016-02-01`, getUrl = `${urlPrefix}providers/${provider}?api-version=2016-02-01`, reqOptions = getRequestEssentials(originalRequest); - reqOptions.method = "POST", reqOptions.url = postUrl; - const response = await policy._nextPolicy.sendRequest(reqOptions); - if (200 !== response.status) throw new Error(`Autoregistration of ${provider} failed. Please try registering manually.`); - return getRegistrationStatus(policy, getUrl, originalRequest); - }(policy, urlPrefix, rpName, request).catch((() => !1)).then((registrationStatus => registrationStatus ? (request.headers.set("x-ms-client-request-id", generateUuid()), - policy._nextPolicy.sendRequest(request.clone())) : response)); - } - } - return Promise.resolve(response); - }(this, request, response))); - } - } - function getRequestEssentials(originalRequest, reuseUrlToo = !1) { - const reqOptions = originalRequest.clone(); - return reuseUrlToo && (reqOptions.url = originalRequest.url), reqOptions.headers.set("x-ms-client-request-id", generateUuid()), - reqOptions.headers.set("Content-Type", "application/json; charset=utf-8"), reqOptions; - } - async function getRegistrationStatus(policy, url, originalRequest) { - const reqOptions = getRequestEssentials(originalRequest); - reqOptions.url = url, reqOptions.method = "GET"; - const res = await policy._nextPolicy.sendRequest(reqOptions), obj = res.parsedBody; - return !(!res.parsedBody || !obj.registrationState || "Registered" !== obj.registrationState) || (await delay_delay(1e3 * policy._retryTimeout), - getRegistrationStatus(policy, url, originalRequest)); - } - class SigningPolicy extends BaseRequestPolicy { - constructor(nextPolicy, options, authenticationProvider) { - super(nextPolicy, options), this.authenticationProvider = authenticationProvider; - } - signRequest(request) { - return this.authenticationProvider.signRequest(request); - } - sendRequest(request) { - return this.signRequest(request).then((nextRequest => this._nextPolicy.sendRequest(nextRequest))); + create(contentLength, blobContentLength, options) { + return this.client.sendOperationRequest({ + contentLength, + blobContentLength, + options + }, pageBlob_createOperationSpec); } - } - class SystemErrorRetryPolicy extends BaseRequestPolicy { - constructor(nextPolicy, options, retryCount, retryInterval, minRetryInterval, maxRetryInterval) { - super(nextPolicy, options), this.retryCount = isNumber(retryCount) ? retryCount : 3, - this.retryInterval = isNumber(retryInterval) ? retryInterval : 3e4, this.minRetryInterval = isNumber(minRetryInterval) ? minRetryInterval : 3e3, - this.maxRetryInterval = isNumber(maxRetryInterval) ? maxRetryInterval : 9e4; + uploadPages(contentLength, body, options) { + return this.client.sendOperationRequest({ + contentLength, + body, + options + }, uploadPagesOperationSpec); } - sendRequest(request) { - return this._nextPolicy.sendRequest(request.clone()).catch((error => systemErrorRetryPolicy_retry(this, request, error.response, error))); + clearPages(contentLength, options) { + return this.client.sendOperationRequest({ + contentLength, + options + }, clearPagesOperationSpec); } - } - async function systemErrorRetryPolicy_retry(policy, request, operationResponse, err, retryData) { - if (retryData = updateRetryData(policy, retryData, err), !shouldRetry(policy.retryCount, (function(_response, error) { - return !(!error || !error.code || "ETIMEDOUT" !== error.code && "ESOCKETTIMEDOUT" !== error.code && "ECONNREFUSED" !== error.code && "ECONNRESET" !== error.code && "ENOENT" !== error.code); - }), retryData, operationResponse, err)) return err ? Promise.reject(retryData.error) : operationResponse; - try { - return await delay_delay(retryData.retryInterval), policy._nextPolicy.sendRequest(request.clone()); - } catch (nestedErr) { - return systemErrorRetryPolicy_retry(policy, request, operationResponse, nestedErr, retryData); + uploadPagesFromURL(sourceUrl, sourceRange, contentLength, range, options) { + return this.client.sendOperationRequest({ + sourceUrl, + sourceRange, + contentLength, + range, + options + }, uploadPagesFromURLOperationSpec); } - } - const StatusCodes = constants_Constants.HttpConstants.StatusCodes; - class ThrottlingRetryPolicy extends BaseRequestPolicy { - constructor(nextPolicy, options, _handleResponse) { - super(nextPolicy, options), this.numberOfRetries = 0, this._handleResponse = _handleResponse || this._defaultResponseHandler; + getPageRanges(options) { + return this.client.sendOperationRequest({ + options + }, getPageRangesOperationSpec); } - async sendRequest(httpRequest) { - const response = await this._nextPolicy.sendRequest(httpRequest.clone()); - return response.status !== StatusCodes.TooManyRequests && response.status !== StatusCodes.ServiceUnavailable ? response : this._handleResponse(httpRequest, response); + getPageRangesDiff(options) { + return this.client.sendOperationRequest({ + options + }, getPageRangesDiffOperationSpec); } - async _defaultResponseHandler(httpRequest, httpResponse) { - var _a; - const retryAfterHeader = httpResponse.headers.get(constants_Constants.HeaderConstants.RETRY_AFTER); - if (retryAfterHeader) { - const delayInMs = ThrottlingRetryPolicy.parseRetryAfterHeader(retryAfterHeader); - if (delayInMs) { - if (this.numberOfRetries += 1, await delay_delay(delayInMs, { - abortSignal: httpRequest.abortSignal, - abortErrorMsg: "The operation was aborted." - }), null === (_a = httpRequest.abortSignal) || void 0 === _a ? void 0 : _a.aborted) throw new AbortController._("The operation was aborted."); - return this.numberOfRetries < 3 ? this.sendRequest(httpRequest) : this._nextPolicy.sendRequest(httpRequest); - } - } - return httpResponse; + resize(blobContentLength, options) { + return this.client.sendOperationRequest({ + blobContentLength, + options + }, resizeOperationSpec); } - static parseRetryAfterHeader(headerValue) { - const retryAfterInSeconds = Number(headerValue); - return Number.isNaN(retryAfterInSeconds) ? ThrottlingRetryPolicy.parseDateRetryAfterHeader(headerValue) : 1e3 * retryAfterInSeconds; + updateSequenceNumber(sequenceNumberAction, options) { + return this.client.sendOperationRequest({ + sequenceNumberAction, + options + }, updateSequenceNumberOperationSpec); } - static parseDateRetryAfterHeader(headerValue) { - try { - const now = Date.now(), diff = Date.parse(headerValue) - now; - return Number.isNaN(diff) ? void 0 : diff; - } catch (error) { - return; - } + copyIncremental(copySource, options) { + return this.client.sendOperationRequest({ + copySource, + options + }, copyIncrementalOperationSpec); } } - class ServiceClient { - constructor(credentials, options) { - let requestPolicyFactories; - if (options || (options = {}), this._withCredentials = options.withCredentials || !1, - this._httpClient = options.httpClient || (cachedHttpClient || (cachedHttpClient = new NodeFetchHttpClient), - cachedHttpClient), this._requestPolicyOptions = new RequestPolicyOptions(options.httpPipelineLogger), - Array.isArray(options.requestPolicyFactories)) log_logger.info("ServiceClient: using custom request policies"), - requestPolicyFactories = options.requestPolicyFactories; else { - let authPolicyFactory; - if (isTokenCredential(credentials)) { - log_logger.info("ServiceClient: creating bearer token authentication policy from provided credentials"); - const wrappedPolicyFactory = () => { - let bearerTokenPolicyFactory; - const serviceClient = this, serviceClientOptions = options; - return { - create(nextPolicy, createOptions) { - const credentialScopes = function(options, baseUri) { - if (null == options ? void 0 : options.credentialScopes) { - const scopes = options.credentialScopes; - return Array.isArray(scopes) ? scopes.map((scope => new URL(scope).toString())) : new URL(scopes).toString(); - } - if (baseUri) return `${baseUri}/.default`; - return; - }(serviceClientOptions, serviceClient.baseUri); - if (!credentialScopes) throw new Error("When using credential, the ServiceClient must contain a baseUri or a credentialScopes in ServiceClientOptions. Unable to create a bearerTokenAuthenticationPolicy"); - return null == bearerTokenPolicyFactory && (bearerTokenPolicyFactory = bearerTokenAuthenticationPolicy(credentials, credentialScopes)), - bearerTokenPolicyFactory.create(nextPolicy, createOptions); - } - }; - }; - authPolicyFactory = wrappedPolicyFactory(); - } else if (credentials && "function" == typeof credentials.signRequest) log_logger.info("ServiceClient: creating signing policy from provided credentials"), - authenticationProvider = credentials, authPolicyFactory = { - create: (nextPolicy, options) => new SigningPolicy(nextPolicy, options, authenticationProvider) - }; else if (null != credentials) throw new Error("The credentials argument must implement the TokenCredential interface"); - if (log_logger.info("ServiceClient: using default request policies"), requestPolicyFactories = function(authPolicyFactory, options) { - const factories = []; - options.generateClientRequestIdHeader && factories.push(generateClientRequestIdPolicy_generateClientRequestIdPolicy(options.clientRequestIdHeaderName)); - authPolicyFactory && factories.push(authPolicyFactory); - const userAgentHeaderName = getValueOrFunctionResult(options.userAgentHeaderName, getDefaultUserAgentHeaderName), userAgentHeaderValue = getValueOrFunctionResult(options.userAgent, userAgentPolicy_getDefaultUserAgentValue); - userAgentHeaderName && userAgentHeaderValue && factories.push(function(userAgentData) { - const key = userAgentData && void 0 !== userAgentData.key && null !== userAgentData.key ? userAgentData.key : getDefaultUserAgentKey(), value = userAgentData && void 0 !== userAgentData.value && null !== userAgentData.value ? userAgentData.value : userAgentPolicy_getDefaultUserAgentValue(); - return { - create: (nextPolicy, options) => new UserAgentPolicy(nextPolicy, options, key, value) - }; - }({ - key: userAgentHeaderName, - value: userAgentHeaderValue - })); - factories.push(function(maximumRetries = 20) { - return { - create: (nextPolicy, options) => new RedirectPolicy(nextPolicy, options, maximumRetries) - }; - }()), factories.push(function(retryTimeout = 30) { - return { - create: (nextPolicy, options) => new RPRegistrationPolicy(nextPolicy, options, retryTimeout) - }; - }(options.rpRegistrationRetryTimeout)), options.noRetryPolicy || (factories.push({ - create: (nextPolicy, options) => new ExponentialRetryPolicy(nextPolicy, options, retryCount, retryInterval, maxRetryInterval) - }), factories.push(function(retryCount, retryInterval, minRetryInterval, maxRetryInterval) { - return { - create: (nextPolicy, options) => new SystemErrorRetryPolicy(nextPolicy, options, retryCount, retryInterval, minRetryInterval, maxRetryInterval) - }; - }()), factories.push({ - create: (nextPolicy, options) => new ThrottlingRetryPolicy(nextPolicy, options) - })); - var retryCount, retryInterval, maxRetryInterval; - factories.push(deserializationPolicy_deserializationPolicy(options.deserializationContentTypes)), - utils_isNode && factories.push(proxyPolicy_proxyPolicy(options.proxySettings)); - return factories.push(logPolicy_logPolicy({ - logger: log_logger.info - })), factories; - }(authPolicyFactory, options), options.requestPolicyFactories) { - const newRequestPolicyFactories = options.requestPolicyFactories(requestPolicyFactories); - newRequestPolicyFactories && (requestPolicyFactories = newRequestPolicyFactories); - } - } - var authenticationProvider; - this._requestPolicyFactories = requestPolicyFactories; - } - sendRequest(options) { - if (null == options || "object" != typeof options) throw new Error("options cannot be null or undefined and it must be of type object."); - let httpRequest; - try { - !function(object) { - if (object && "object" == typeof object) { - const castObject = object; - if ("string" == typeof castObject.url && "string" == typeof castObject.method && "object" == typeof castObject.headers && isHttpHeadersLike(castObject.headers) && "function" == typeof castObject.validateRequestProperties && "function" == typeof castObject.prepare && "function" == typeof castObject.clone) return !0; - } - return !1; - }(options) ? (httpRequest = new WebResource, httpRequest = httpRequest.prepare(options)) : (options.validateRequestProperties(), - httpRequest = options); - } catch (error) { - return Promise.reject(error); + const pageBlob_xmlSerializer = createSerializer(mappers_namespaceObject, !0), pageBlob_createOperationSpec = { + path: "/{containerName}/{blob}", + httpMethod: "PUT", + responses: { + 201: { + headersMapper: PageBlobCreateHeaders + }, + default: { + bodyMapper: StorageError, + headersMapper: PageBlobCreateExceptionHeaders } - let httpPipeline = this._httpClient; - if (this._requestPolicyFactories && this._requestPolicyFactories.length > 0) for (let i = this._requestPolicyFactories.length - 1; i >= 0; --i) httpPipeline = this._requestPolicyFactories[i].create(httpPipeline, this._requestPolicyOptions); - return httpPipeline.sendRequest(httpRequest); - } - async sendOperationRequest(operationArguments, operationSpec, callback) { - var _a; - "function" == typeof operationArguments.options && (callback = operationArguments.options, - operationArguments.options = void 0); - const serializerOptions = null === (_a = operationArguments.options) || void 0 === _a ? void 0 : _a.serializerOptions, httpRequest = new WebResource; - let result; - try { - const baseUri = operationSpec.baseUrl || this.baseUri; - if (!baseUri) throw new Error("If operationSpec.baseUrl is not specified, then the ServiceClient must have a baseUri string property that contains the base URL to use."); - httpRequest.method = operationSpec.httpMethod, httpRequest.operationSpec = operationSpec; - const requestUrl = URLBuilder.parse(baseUri); - if (operationSpec.path && requestUrl.appendPath(operationSpec.path), operationSpec.urlParameters && operationSpec.urlParameters.length > 0) for (const urlParameter of operationSpec.urlParameters) { - let urlParameterValue = getOperationArgumentValueFromParameter(this, operationArguments, urlParameter, operationSpec.serializer); - urlParameterValue = operationSpec.serializer.serialize(urlParameter.mapper, urlParameterValue, getPathStringFromParameter(urlParameter), serializerOptions), - urlParameter.skipEncoding || (urlParameterValue = encodeURIComponent(urlParameterValue)), - requestUrl.replaceAll(`{${urlParameter.mapper.serializedName || getPathStringFromParameter(urlParameter)}}`, urlParameterValue); - } - if (operationSpec.queryParameters && operationSpec.queryParameters.length > 0) for (const queryParameter of operationSpec.queryParameters) { - let queryParameterValue = getOperationArgumentValueFromParameter(this, operationArguments, queryParameter, operationSpec.serializer); - if (null != queryParameterValue) { - if (queryParameterValue = operationSpec.serializer.serialize(queryParameter.mapper, queryParameterValue, getPathStringFromParameter(queryParameter), serializerOptions), - void 0 !== queryParameter.collectionFormat && null !== queryParameter.collectionFormat) if (queryParameter.collectionFormat === QueryCollectionFormat.Multi) { - if (0 === queryParameterValue.length) continue; - for (const index in queryParameterValue) { - const item = queryParameterValue[index]; - queryParameterValue[index] = null == item ? "" : item.toString(); - } - } else queryParameter.collectionFormat !== QueryCollectionFormat.Ssv && queryParameter.collectionFormat !== QueryCollectionFormat.Tsv || (queryParameterValue = queryParameterValue.join(queryParameter.collectionFormat)); - if (!queryParameter.skipEncoding) if (Array.isArray(queryParameterValue)) for (const index in queryParameterValue) void 0 !== queryParameterValue[index] && null !== queryParameterValue[index] && (queryParameterValue[index] = encodeURIComponent(queryParameterValue[index])); else queryParameterValue = encodeURIComponent(queryParameterValue); - void 0 !== queryParameter.collectionFormat && null !== queryParameter.collectionFormat && queryParameter.collectionFormat !== QueryCollectionFormat.Multi && queryParameter.collectionFormat !== QueryCollectionFormat.Ssv && queryParameter.collectionFormat !== QueryCollectionFormat.Tsv && (queryParameterValue = queryParameterValue.join(queryParameter.collectionFormat)), - requestUrl.setQueryParameter(queryParameter.mapper.serializedName || getPathStringFromParameter(queryParameter), queryParameterValue); - } - } - httpRequest.url = requestUrl.toString(); - const contentType = operationSpec.contentType || this.requestContentType; - if (contentType && operationSpec.requestBody && httpRequest.headers.set("Content-Type", contentType), - operationSpec.headerParameters) for (const headerParameter of operationSpec.headerParameters) { - let headerValue = getOperationArgumentValueFromParameter(this, operationArguments, headerParameter, operationSpec.serializer); - if (null != headerValue) { - headerValue = operationSpec.serializer.serialize(headerParameter.mapper, headerValue, getPathStringFromParameter(headerParameter), serializerOptions); - const headerCollectionPrefix = headerParameter.mapper.headerCollectionPrefix; - if (headerCollectionPrefix) for (const key of Object.keys(headerValue)) httpRequest.headers.set(headerCollectionPrefix + key, headerValue[key]); else httpRequest.headers.set(headerParameter.mapper.serializedName || getPathStringFromParameter(headerParameter), headerValue); - } - } - const options = operationArguments.options; - if (options) { - if (options.customHeaders) for (const customHeaderName in options.customHeaders) httpRequest.headers.set(customHeaderName, options.customHeaders[customHeaderName]); - options.abortSignal && (httpRequest.abortSignal = options.abortSignal), options.timeout && (httpRequest.timeout = options.timeout), - options.onUploadProgress && (httpRequest.onUploadProgress = options.onUploadProgress), - options.onDownloadProgress && (httpRequest.onDownloadProgress = options.onDownloadProgress), - options.spanOptions && (httpRequest.spanOptions = options.spanOptions), options.tracingContext && (httpRequest.tracingContext = options.tracingContext), - void 0 !== options.shouldDeserialize && null !== options.shouldDeserialize && (httpRequest.shouldDeserialize = options.shouldDeserialize); - } - let rawResponse, sendRequestError; - httpRequest.withCredentials = this._withCredentials, function(serviceClient, httpRequest, operationArguments, operationSpec) { - var _a, _b, _c, _d, _e, _f; - const serializerOptions = null !== (_b = null === (_a = operationArguments.options) || void 0 === _a ? void 0 : _a.serializerOptions) && void 0 !== _b ? _b : {}, updatedOptions = { - rootName: null !== (_c = serializerOptions.rootName) && void 0 !== _c ? _c : "", - includeRoot: null !== (_d = serializerOptions.includeRoot) && void 0 !== _d && _d, - xmlCharKey: null !== (_e = serializerOptions.xmlCharKey) && void 0 !== _e ? _e : XML_CHARKEY - }, xmlCharKey = serializerOptions.xmlCharKey; - if (operationSpec.requestBody && operationSpec.requestBody.mapper) { - httpRequest.body = getOperationArgumentValueFromParameter(serviceClient, operationArguments, operationSpec.requestBody, operationSpec.serializer); - const bodyMapper = operationSpec.requestBody.mapper, {required, xmlName, xmlElementName, serializedName, xmlNamespace, xmlNamespacePrefix} = bodyMapper, typeName = bodyMapper.type.name; - try { - if (void 0 !== httpRequest.body && null !== httpRequest.body || required) { - const requestBodyParameterPathString = getPathStringFromParameter(operationSpec.requestBody); - httpRequest.body = operationSpec.serializer.serialize(bodyMapper, httpRequest.body, requestBodyParameterPathString, updatedOptions); - const isStream = typeName === MapperType.Stream; - if (operationSpec.isXML) { - const xmlnsKey = xmlNamespacePrefix ? `xmlns:${xmlNamespacePrefix}` : "xmlns", value = function(xmlNamespace, xmlnsKey, typeName, serializedValue, options) { - if (xmlNamespace && ![ "Composite", "Sequence", "Dictionary" ].includes(typeName)) { - const result = {}; - return result[options.xmlCharKey] = serializedValue, result[XML_ATTRKEY] = { - [xmlnsKey]: xmlNamespace - }, result; - } - return serializedValue; - }(xmlNamespace, xmlnsKey, typeName, httpRequest.body, updatedOptions); - typeName === MapperType.Sequence ? httpRequest.body = stringifyXML(function(obj, elementName, xmlNamespaceKey, xmlNamespace) { - if (Array.isArray(obj) || (obj = [ obj ]), !xmlNamespaceKey || !xmlNamespace) return { - [elementName]: obj - }; - const result = { - [elementName]: obj - }; - return result[XML_ATTRKEY] = { - [xmlNamespaceKey]: xmlNamespace - }, result; - }(value, xmlElementName || xmlName || serializedName, xmlnsKey, xmlNamespace), { - rootName: xmlName || serializedName, - xmlCharKey - }) : isStream || (httpRequest.body = stringifyXML(value, { - rootName: xmlName || serializedName, - xmlCharKey - })); - } else { - if (typeName === MapperType.String && ((null === (_f = operationSpec.contentType) || void 0 === _f ? void 0 : _f.match("text/plain")) || "text" === operationSpec.mediaType)) return; - isStream || (httpRequest.body = JSON.stringify(httpRequest.body)); - } - } - } catch (error) { - throw new Error(`Error "${error.message}" occurred in serializing the payload - ${JSON.stringify(serializedName, void 0, " ")}.`); - } - } else if (operationSpec.formDataParameters && operationSpec.formDataParameters.length > 0) { - httpRequest.formData = {}; - for (const formDataParameter of operationSpec.formDataParameters) { - const formDataParameterValue = getOperationArgumentValueFromParameter(serviceClient, operationArguments, formDataParameter, operationSpec.serializer); - if (null != formDataParameterValue) { - const formDataParameterPropertyName = formDataParameter.mapper.serializedName || getPathStringFromParameter(formDataParameter); - httpRequest.formData[formDataParameterPropertyName] = operationSpec.serializer.serialize(formDataParameter.mapper, formDataParameterValue, getPathStringFromParameter(formDataParameter), updatedOptions); - } - } - } - }(this, httpRequest, operationArguments, operationSpec), void 0 === httpRequest.streamResponseStatusCodes && (httpRequest.streamResponseStatusCodes = function(operationSpec) { - const result = new Set; - for (const statusCode in operationSpec.responses) { - const operationResponse = operationSpec.responses[statusCode]; - operationResponse.bodyMapper && operationResponse.bodyMapper.type.name === MapperType.Stream && result.add(Number(statusCode)); - } - return result; - }(operationSpec)); - try { - rawResponse = await this.sendRequest(httpRequest); - } catch (error) { - sendRequestError = error; + }, + queryParameters: [ timeoutInSeconds ], + urlParameters: [ url ], + headerParameters: [ version, requestId, accept1, contentLength, metadata, leaseId, ifModifiedSince, ifUnmodifiedSince, encryptionKey, encryptionKeySha256, encryptionAlgorithm, ifMatch, ifNoneMatch, ifTags, blobCacheControl, blobContentType, blobContentMD5, blobContentEncoding, blobContentLanguage, blobContentDisposition, immutabilityPolicyExpiry, immutabilityPolicyMode, encryptionScope, tier, blobTagsString, legalHold1, { + parameterPath: "blobType", + mapper: { + defaultValue: "PageBlob", + isConstant: !0, + serializedName: "x-ms-blob-type", + type: { + name: "String" } - sendRequestError ? (sendRequestError.response && (sendRequestError.details = flattenResponse(sendRequestError.response, operationSpec.responses[sendRequestError.statusCode] || operationSpec.responses.default)), - result = Promise.reject(sendRequestError)) : result = Promise.resolve(flattenResponse(rawResponse, operationSpec.responses[rawResponse.status])); - } catch (error) { - result = Promise.reject(error); } - const cb = callback; - return cb && result.then((res => cb(null, res._response.parsedBody, res._response.request, res._response))).catch((err => cb(err))), - result; - } - } - function getValueOrFunctionResult(value, defaultValueCreator) { - let result; - return "string" == typeof value ? result = value : (result = defaultValueCreator(), - "function" == typeof value && (result = value(result))), result; - } - function getOperationArgumentValueFromParameter(serviceClient, operationArguments, parameter, serializer) { - return getOperationArgumentValueFromParameterPath(serviceClient, operationArguments, parameter.parameterPath, parameter.mapper, serializer); - } - function getOperationArgumentValueFromParameterPath(serviceClient, operationArguments, parameterPath, parameterMapper, serializer) { - var _a; - let value; - "string" == typeof parameterPath && (parameterPath = [ parameterPath ]); - const serializerOptions = null === (_a = operationArguments.options) || void 0 === _a ? void 0 : _a.serializerOptions; - if (Array.isArray(parameterPath)) { - if (parameterPath.length > 0) { - if (parameterMapper.isConstant) value = parameterMapper.defaultValue; else { - let propertySearchResult = getPropertyFromParameterPath(operationArguments, parameterPath); - propertySearchResult.propertyFound || (propertySearchResult = getPropertyFromParameterPath(serviceClient, parameterPath)); - let useDefaultValue = !1; - propertySearchResult.propertyFound || (useDefaultValue = parameterMapper.required || "options" === parameterPath[0] && 2 === parameterPath.length), - value = useDefaultValue ? parameterMapper.defaultValue : propertySearchResult.propertyValue; - } - const parameterPathString = getPathStringFromParameterPath(parameterPath, parameterMapper); - serializer.serialize(parameterMapper, value, parameterPathString, serializerOptions); - } - } else { - parameterMapper.required && (value = {}); - for (const propertyName in parameterPath) { - const propertyMapper = parameterMapper.type.modelProperties[propertyName], propertyPath = parameterPath[propertyName], propertyValue = getOperationArgumentValueFromParameterPath(serviceClient, operationArguments, propertyPath, propertyMapper, serializer), propertyPathString = getPathStringFromParameterPath(propertyPath, propertyMapper); - serializer.serialize(propertyMapper, propertyValue, propertyPathString, serializerOptions), - null != propertyValue && (value || (value = {}), value[propertyName] = propertyValue); + }, blobContentLength, blobSequenceNumber ], + isXML: !0, + serializer: pageBlob_xmlSerializer + }, uploadPagesOperationSpec = { + path: "/{containerName}/{blob}", + httpMethod: "PUT", + responses: { + 201: { + headersMapper: PageBlobUploadPagesHeaders + }, + default: { + bodyMapper: StorageError, + headersMapper: PageBlobUploadPagesExceptionHeaders } - } - return value; - } - function getPropertyFromParameterPath(parent, parameterPath) { - const result = { - propertyFound: !1 - }; - let i = 0; - for (;i < parameterPath.length; ++i) { - const parameterPathPart = parameterPath[i]; - if (null == parent || !(parameterPathPart in parent)) break; - parent = parent[parameterPathPart]; - } - return i === parameterPath.length && (result.propertyValue = parent, result.propertyFound = !0), - result; - } - function flattenResponse(_response, responseSpec) { - const parsedHeaders = _response.parsedHeaders, bodyMapper = responseSpec && responseSpec.bodyMapper, addOperationResponse = obj => Object.defineProperty(obj, "_response", { - value: _response - }); - if (bodyMapper) { - const typeName = bodyMapper.type.name; - if ("Stream" === typeName) return addOperationResponse(Object.assign(Object.assign({}, parsedHeaders), { - blobBody: _response.blobBody, - readableStreamBody: _response.readableStreamBody - })); - const modelProperties = "Composite" === typeName && bodyMapper.type.modelProperties || {}, isPageableResponse = Object.keys(modelProperties).some((k => "" === modelProperties[k].serializedName)); - if ("Sequence" === typeName || isPageableResponse) { - const arrayResponse = [ ..._response.parsedBody || [] ]; - for (const key of Object.keys(modelProperties)) modelProperties[key].serializedName && (arrayResponse[key] = _response.parsedBody[key]); - if (parsedHeaders) for (const key of Object.keys(parsedHeaders)) arrayResponse[key] = parsedHeaders[key]; - return addOperationResponse(arrayResponse), arrayResponse; + }, + requestBody: body1, + queryParameters: [ timeoutInSeconds, comp19 ], + urlParameters: [ url ], + headerParameters: [ version, requestId, contentLength, leaseId, ifModifiedSince, ifUnmodifiedSince, range, encryptionKey, encryptionKeySha256, encryptionAlgorithm, ifMatch, ifNoneMatch, ifTags, encryptionScope, transactionalContentMD5, transactionalContentCrc64, contentType1, accept2, pageWrite, ifSequenceNumberLessThanOrEqualTo, ifSequenceNumberLessThan, ifSequenceNumberEqualTo ], + isXML: !0, + contentType: "application/xml; charset=utf-8", + mediaType: "binary", + serializer: pageBlob_xmlSerializer + }, clearPagesOperationSpec = { + path: "/{containerName}/{blob}", + httpMethod: "PUT", + responses: { + 201: { + headersMapper: PageBlobClearPagesHeaders + }, + default: { + bodyMapper: StorageError, + headersMapper: PageBlobClearPagesExceptionHeaders } - if ("Composite" === typeName || "Dictionary" === typeName) return addOperationResponse(Object.assign(Object.assign({}, parsedHeaders), _response.parsedBody)); - } - return bodyMapper || "HEAD" === _response.request.method || ("object" != typeof (value = _response.parsedBody) && "function" != typeof value || null === value) ? addOperationResponse(Object.assign(Object.assign({}, parsedHeaders), { - body: _response.parsedBody - })) : addOperationResponse(Object.assign(Object.assign({}, parsedHeaders), _response.parsedBody)); - var value; - } - class StorageClientContext extends ServiceClient { - constructor(url, options) { - if (void 0 === url) throw new Error("'url' cannot be null"); - if (options || (options = {}), !options.userAgent) { - const defaultUserAgent = userAgentPolicy_getDefaultUserAgentValue(); - options.userAgent = `azure-storage-blob/12.12.0 ${defaultUserAgent}`; + }, + queryParameters: [ timeoutInSeconds, comp19 ], + urlParameters: [ url ], + headerParameters: [ version, requestId, accept1, contentLength, leaseId, ifModifiedSince, ifUnmodifiedSince, range, encryptionKey, encryptionKeySha256, encryptionAlgorithm, ifMatch, ifNoneMatch, ifTags, encryptionScope, ifSequenceNumberLessThanOrEqualTo, ifSequenceNumberLessThan, ifSequenceNumberEqualTo, { + parameterPath: "pageWrite", + mapper: { + defaultValue: "clear", + isConstant: !0, + serializedName: "x-ms-page-write", + type: { + name: "String" + } + } + } ], + isXML: !0, + serializer: pageBlob_xmlSerializer + }, uploadPagesFromURLOperationSpec = { + path: "/{containerName}/{blob}", + httpMethod: "PUT", + responses: { + 201: { + headersMapper: PageBlobUploadPagesFromURLHeaders + }, + default: { + bodyMapper: StorageError, + headersMapper: PageBlobUploadPagesFromURLExceptionHeaders + } + }, + queryParameters: [ timeoutInSeconds, comp19 ], + urlParameters: [ url ], + headerParameters: [ version, requestId, accept1, contentLength, leaseId, ifModifiedSince, ifUnmodifiedSince, encryptionKey, encryptionKeySha256, encryptionAlgorithm, ifMatch, ifNoneMatch, ifTags, encryptionScope, sourceIfModifiedSince, sourceIfUnmodifiedSince, sourceIfMatch, sourceIfNoneMatch, sourceContentMD5, copySourceAuthorization, pageWrite, ifSequenceNumberLessThanOrEqualTo, ifSequenceNumberLessThan, ifSequenceNumberEqualTo, sourceUrl, { + parameterPath: "sourceRange", + mapper: { + serializedName: "x-ms-source-range", + required: !0, + xmlName: "x-ms-source-range", + type: { + name: "String" + } + } + }, sourceContentCrc64, { + parameterPath: "range", + mapper: { + serializedName: "x-ms-range", + required: !0, + xmlName: "x-ms-range", + type: { + name: "String" + } + } + } ], + isXML: !0, + serializer: pageBlob_xmlSerializer + }, getPageRangesOperationSpec = { + path: "/{containerName}/{blob}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: PageList, + headersMapper: PageBlobGetPageRangesHeaders + }, + default: { + bodyMapper: StorageError, + headersMapper: PageBlobGetPageRangesExceptionHeaders + } + }, + queryParameters: [ timeoutInSeconds, marker, maxPageSize, snapshot, comp20 ], + urlParameters: [ url ], + headerParameters: [ version, requestId, accept1, leaseId, ifModifiedSince, ifUnmodifiedSince, range, ifMatch, ifNoneMatch, ifTags ], + isXML: !0, + serializer: pageBlob_xmlSerializer + }, getPageRangesDiffOperationSpec = { + path: "/{containerName}/{blob}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: PageList, + headersMapper: PageBlobGetPageRangesDiffHeaders + }, + default: { + bodyMapper: StorageError, + headersMapper: PageBlobGetPageRangesDiffExceptionHeaders + } + }, + queryParameters: [ timeoutInSeconds, marker, maxPageSize, snapshot, comp20, { + parameterPath: [ "options", "prevsnapshot" ], + mapper: { + serializedName: "prevsnapshot", + xmlName: "prevsnapshot", + type: { + name: "String" + } + } + } ], + urlParameters: [ url ], + headerParameters: [ version, requestId, accept1, leaseId, ifModifiedSince, ifUnmodifiedSince, range, ifMatch, ifNoneMatch, ifTags, { + parameterPath: [ "options", "prevSnapshotUrl" ], + mapper: { + serializedName: "x-ms-previous-snapshot-url", + xmlName: "x-ms-previous-snapshot-url", + type: { + name: "String" + } + } + } ], + isXML: !0, + serializer: pageBlob_xmlSerializer + }, resizeOperationSpec = { + path: "/{containerName}/{blob}", + httpMethod: "PUT", + responses: { + 200: { + headersMapper: PageBlobResizeHeaders + }, + default: { + bodyMapper: StorageError, + headersMapper: PageBlobResizeExceptionHeaders + } + }, + queryParameters: [ comp, timeoutInSeconds ], + urlParameters: [ url ], + headerParameters: [ version, requestId, accept1, leaseId, ifModifiedSince, ifUnmodifiedSince, encryptionKey, encryptionKeySha256, encryptionAlgorithm, ifMatch, ifNoneMatch, ifTags, encryptionScope, blobContentLength ], + isXML: !0, + serializer: pageBlob_xmlSerializer + }, updateSequenceNumberOperationSpec = { + path: "/{containerName}/{blob}", + httpMethod: "PUT", + responses: { + 200: { + headersMapper: PageBlobUpdateSequenceNumberHeaders + }, + default: { + bodyMapper: StorageError, + headersMapper: PageBlobUpdateSequenceNumberExceptionHeaders + } + }, + queryParameters: [ comp, timeoutInSeconds ], + urlParameters: [ url ], + headerParameters: [ version, requestId, accept1, leaseId, ifModifiedSince, ifUnmodifiedSince, ifMatch, ifNoneMatch, ifTags, blobSequenceNumber, { + parameterPath: "sequenceNumberAction", + mapper: { + serializedName: "x-ms-sequence-number-action", + required: !0, + xmlName: "x-ms-sequence-number-action", + type: { + name: "Enum", + allowedValues: [ "max", "update", "increment" ] + } + } + } ], + isXML: !0, + serializer: pageBlob_xmlSerializer + }, copyIncrementalOperationSpec = { + path: "/{containerName}/{blob}", + httpMethod: "PUT", + responses: { + 202: { + headersMapper: PageBlobCopyIncrementalHeaders + }, + default: { + bodyMapper: StorageError, + headersMapper: PageBlobCopyIncrementalExceptionHeaders + } + }, + queryParameters: [ timeoutInSeconds, { + parameterPath: "comp", + mapper: { + defaultValue: "incrementalcopy", + isConstant: !0, + serializedName: "comp", + type: { + name: "String" + } } - super(void 0, options), this.requestContentType = "application/json; charset=utf-8", - this.baseUri = options.endpoint || "{url}", this.url = url, this.version = options.version || "2021-10-04"; + } ], + urlParameters: [ url ], + headerParameters: [ version, requestId, accept1, ifModifiedSince, ifUnmodifiedSince, ifMatch, ifNoneMatch, ifTags, copySource ], + isXML: !0, + serializer: pageBlob_xmlSerializer + }; + class AppendBlobImpl { + constructor(client) { + this.client = client; } - } - class StorageClient { - constructor(url, pipeline) { - this.url = escapeURLPath(url), this.accountName = getAccountNameFromUrl(url), this.pipeline = pipeline, - this.storageClientContext = new StorageClientContext(this.url, pipeline.toServiceClientOptions()), - this.isHttps = iEqual(function(url) { - return URLBuilder.parse(url).getScheme(); - }(this.url) || "", "https"), this.credential = new AnonymousCredential; - for (const factory of this.pipeline.factories) utils_isNode && factory instanceof StorageSharedKeyCredential || factory instanceof AnonymousCredential ? this.credential = factory : isTokenCredential(factory.credential) && (this.credential = factory.credential); - this.storageClientContext.requestContentType = void 0; + create(contentLength, options) { + return this.client.sendOperationRequest({ + contentLength, + options + }, appendBlob_createOperationSpec); } - } - const tracing_createSpan = createSpanFunction({ - packagePrefix: "Azure.Storage.Blob", - namespace: "Microsoft.Storage" - }); - function convertTracingToRequestOptionsBase(options) { - var _a, _b; - return { - spanOptions: null === (_a = null == options ? void 0 : options.tracingOptions) || void 0 === _a ? void 0 : _a.spanOptions, - tracingContext: null === (_b = null == options ? void 0 : options.tracingOptions) || void 0 === _b ? void 0 : _b.tracingContext - }; - } - class BlobSASPermissions { - constructor() { - this.read = !1, this.add = !1, this.create = !1, this.write = !1, this.delete = !1, - this.deleteVersion = !1, this.tag = !1, this.move = !1, this.execute = !1, this.setImmutabilityPolicy = !1, - this.permanentDelete = !1; + appendBlock(contentLength, body, options) { + return this.client.sendOperationRequest({ + contentLength, + body, + options + }, appendBlockOperationSpec); } - static parse(permissions) { - const blobSASPermissions = new BlobSASPermissions; - for (const char of permissions) switch (char) { - case "r": - blobSASPermissions.read = !0; - break; - - case "a": - blobSASPermissions.add = !0; - break; - - case "c": - blobSASPermissions.create = !0; - break; - - case "w": - blobSASPermissions.write = !0; - break; - - case "d": - blobSASPermissions.delete = !0; - break; - - case "x": - blobSASPermissions.deleteVersion = !0; - break; - - case "t": - blobSASPermissions.tag = !0; - break; - - case "m": - blobSASPermissions.move = !0; - break; - - case "e": - blobSASPermissions.execute = !0; - break; - - case "i": - blobSASPermissions.setImmutabilityPolicy = !0; - break; - - case "y": - blobSASPermissions.permanentDelete = !0; - break; - - default: - throw new RangeError(`Invalid permission: ${char}`); - } - return blobSASPermissions; - } - static from(permissionLike) { - const blobSASPermissions = new BlobSASPermissions; - return permissionLike.read && (blobSASPermissions.read = !0), permissionLike.add && (blobSASPermissions.add = !0), - permissionLike.create && (blobSASPermissions.create = !0), permissionLike.write && (blobSASPermissions.write = !0), - permissionLike.delete && (blobSASPermissions.delete = !0), permissionLike.deleteVersion && (blobSASPermissions.deleteVersion = !0), - permissionLike.tag && (blobSASPermissions.tag = !0), permissionLike.move && (blobSASPermissions.move = !0), - permissionLike.execute && (blobSASPermissions.execute = !0), permissionLike.setImmutabilityPolicy && (blobSASPermissions.setImmutabilityPolicy = !0), - permissionLike.permanentDelete && (blobSASPermissions.permanentDelete = !0), blobSASPermissions; + appendBlockFromUrl(sourceUrl, contentLength, options) { + return this.client.sendOperationRequest({ + sourceUrl, + contentLength, + options + }, appendBlockFromUrlOperationSpec); } - toString() { - const permissions = []; - return this.read && permissions.push("r"), this.add && permissions.push("a"), this.create && permissions.push("c"), - this.write && permissions.push("w"), this.delete && permissions.push("d"), this.deleteVersion && permissions.push("x"), - this.tag && permissions.push("t"), this.move && permissions.push("m"), this.execute && permissions.push("e"), - this.setImmutabilityPolicy && permissions.push("i"), this.permanentDelete && permissions.push("y"), - permissions.join(""); + seal(options) { + return this.client.sendOperationRequest({ + options + }, sealOperationSpec); } } - class ContainerSASPermissions { - constructor() { - this.read = !1, this.add = !1, this.create = !1, this.write = !1, this.delete = !1, - this.deleteVersion = !1, this.list = !1, this.tag = !1, this.move = !1, this.execute = !1, - this.setImmutabilityPolicy = !1, this.permanentDelete = !1, this.filterByTags = !1; - } - static parse(permissions) { - const containerSASPermissions = new ContainerSASPermissions; - for (const char of permissions) switch (char) { - case "r": - containerSASPermissions.read = !0; - break; - - case "a": - containerSASPermissions.add = !0; - break; - - case "c": - containerSASPermissions.create = !0; - break; - - case "w": - containerSASPermissions.write = !0; - break; - - case "d": - containerSASPermissions.delete = !0; - break; - - case "l": - containerSASPermissions.list = !0; - break; - - case "t": - containerSASPermissions.tag = !0; - break; - - case "x": - containerSASPermissions.deleteVersion = !0; - break; - - case "m": - containerSASPermissions.move = !0; - break; - - case "e": - containerSASPermissions.execute = !0; - break; - - case "i": - containerSASPermissions.setImmutabilityPolicy = !0; - break; - - case "y": - containerSASPermissions.permanentDelete = !0; - break; - - case "f": - containerSASPermissions.filterByTags = !0; - break; - - default: - throw new RangeError(`Invalid permission ${char}`); + const appendBlob_xmlSerializer = createSerializer(mappers_namespaceObject, !0), appendBlob_createOperationSpec = { + path: "/{containerName}/{blob}", + httpMethod: "PUT", + responses: { + 201: { + headersMapper: AppendBlobCreateHeaders + }, + default: { + bodyMapper: StorageError, + headersMapper: AppendBlobCreateExceptionHeaders } - return containerSASPermissions; + }, + queryParameters: [ timeoutInSeconds ], + urlParameters: [ url ], + headerParameters: [ version, requestId, accept1, contentLength, metadata, leaseId, ifModifiedSince, ifUnmodifiedSince, encryptionKey, encryptionKeySha256, encryptionAlgorithm, ifMatch, ifNoneMatch, ifTags, blobCacheControl, blobContentType, blobContentMD5, blobContentEncoding, blobContentLanguage, blobContentDisposition, immutabilityPolicyExpiry, immutabilityPolicyMode, encryptionScope, blobTagsString, legalHold1, { + parameterPath: "blobType", + mapper: { + defaultValue: "AppendBlob", + isConstant: !0, + serializedName: "x-ms-blob-type", + type: { + name: "String" + } + } + } ], + isXML: !0, + serializer: appendBlob_xmlSerializer + }, appendBlockOperationSpec = { + path: "/{containerName}/{blob}", + httpMethod: "PUT", + responses: { + 201: { + headersMapper: AppendBlobAppendBlockHeaders + }, + default: { + bodyMapper: StorageError, + headersMapper: AppendBlobAppendBlockExceptionHeaders + } + }, + requestBody: body1, + queryParameters: [ timeoutInSeconds, comp22 ], + urlParameters: [ url ], + headerParameters: [ version, requestId, contentLength, leaseId, ifModifiedSince, ifUnmodifiedSince, encryptionKey, encryptionKeySha256, encryptionAlgorithm, ifMatch, ifNoneMatch, ifTags, encryptionScope, transactionalContentMD5, transactionalContentCrc64, contentType1, accept2, maxSize, appendPosition ], + isXML: !0, + contentType: "application/xml; charset=utf-8", + mediaType: "binary", + serializer: appendBlob_xmlSerializer + }, appendBlockFromUrlOperationSpec = { + path: "/{containerName}/{blob}", + httpMethod: "PUT", + responses: { + 201: { + headersMapper: AppendBlobAppendBlockFromUrlHeaders + }, + default: { + bodyMapper: StorageError, + headersMapper: AppendBlobAppendBlockFromUrlExceptionHeaders + } + }, + queryParameters: [ timeoutInSeconds, comp22 ], + urlParameters: [ url ], + headerParameters: [ version, requestId, accept1, contentLength, leaseId, ifModifiedSince, ifUnmodifiedSince, encryptionKey, encryptionKeySha256, encryptionAlgorithm, ifMatch, ifNoneMatch, ifTags, encryptionScope, sourceIfModifiedSince, sourceIfUnmodifiedSince, sourceIfMatch, sourceIfNoneMatch, sourceContentMD5, copySourceAuthorization, transactionalContentMD5, sourceUrl, sourceContentCrc64, maxSize, appendPosition, sourceRange1 ], + isXML: !0, + serializer: appendBlob_xmlSerializer + }, sealOperationSpec = { + path: "/{containerName}/{blob}", + httpMethod: "PUT", + responses: { + 200: { + headersMapper: AppendBlobSealHeaders + }, + default: { + bodyMapper: StorageError, + headersMapper: AppendBlobSealExceptionHeaders + } + }, + queryParameters: [ timeoutInSeconds, { + parameterPath: "comp", + mapper: { + defaultValue: "seal", + isConstant: !0, + serializedName: "comp", + type: { + name: "String" + } + } + } ], + urlParameters: [ url ], + headerParameters: [ version, requestId, accept1, leaseId, ifModifiedSince, ifUnmodifiedSince, ifMatch, ifNoneMatch, appendPosition ], + isXML: !0, + serializer: appendBlob_xmlSerializer + }; + class BlockBlobImpl { + constructor(client) { + this.client = client; } - static from(permissionLike) { - const containerSASPermissions = new ContainerSASPermissions; - return permissionLike.read && (containerSASPermissions.read = !0), permissionLike.add && (containerSASPermissions.add = !0), - permissionLike.create && (containerSASPermissions.create = !0), permissionLike.write && (containerSASPermissions.write = !0), - permissionLike.delete && (containerSASPermissions.delete = !0), permissionLike.list && (containerSASPermissions.list = !0), - permissionLike.deleteVersion && (containerSASPermissions.deleteVersion = !0), permissionLike.tag && (containerSASPermissions.tag = !0), - permissionLike.move && (containerSASPermissions.move = !0), permissionLike.execute && (containerSASPermissions.execute = !0), - permissionLike.setImmutabilityPolicy && (containerSASPermissions.setImmutabilityPolicy = !0), - permissionLike.permanentDelete && (containerSASPermissions.permanentDelete = !0), - permissionLike.filterByTags && (containerSASPermissions.filterByTags = !0), containerSASPermissions; + upload(contentLength, body, options) { + return this.client.sendOperationRequest({ + contentLength, + body, + options + }, uploadOperationSpec); } - toString() { - const permissions = []; - return this.read && permissions.push("r"), this.add && permissions.push("a"), this.create && permissions.push("c"), - this.write && permissions.push("w"), this.delete && permissions.push("d"), this.deleteVersion && permissions.push("x"), - this.list && permissions.push("l"), this.tag && permissions.push("t"), this.move && permissions.push("m"), - this.execute && permissions.push("e"), this.setImmutabilityPolicy && permissions.push("i"), - this.permanentDelete && permissions.push("y"), this.filterByTags && permissions.push("f"), - permissions.join(""); + putBlobFromUrl(contentLength, copySource, options) { + return this.client.sendOperationRequest({ + contentLength, + copySource, + options + }, putBlobFromUrlOperationSpec); } - } - class UserDelegationKeyCredential { - constructor(accountName, userDelegationKey) { - this.accountName = accountName, this.userDelegationKey = userDelegationKey, this.key = Buffer.from(userDelegationKey.value, "base64"); + stageBlock(blockId, contentLength, body, options) { + return this.client.sendOperationRequest({ + blockId, + contentLength, + body, + options + }, stageBlockOperationSpec); } - computeHMACSHA256(stringToSign) { - return (0, external_crypto_.createHmac)("sha256", this.key).update(stringToSign, "utf8").digest("base64"); + stageBlockFromURL(blockId, contentLength, sourceUrl, options) { + return this.client.sendOperationRequest({ + blockId, + contentLength, + sourceUrl, + options + }, stageBlockFromURLOperationSpec); + } + commitBlockList(blocks, options) { + return this.client.sendOperationRequest({ + blocks, + options + }, commitBlockListOperationSpec); + } + getBlockList(listType, options) { + return this.client.sendOperationRequest({ + listType, + options + }, getBlockListOperationSpec); } } - function ipRangeToString(ipRange) { - return ipRange.end ? `${ipRange.start}-${ipRange.end}` : ipRange.start; - } - var SASProtocol; - !function(SASProtocol) { - SASProtocol.Https = "https", SASProtocol.HttpsAndHttp = "https,http"; - }(SASProtocol || (SASProtocol = {})); - class SASQueryParameters { - constructor(version, signature, permissionsOrOptions, services, resourceTypes, protocol, startsOn, expiresOn, ipRange, identifier, resource, cacheControl, contentDisposition, contentEncoding, contentLanguage, contentType, userDelegationKey, preauthorizedAgentObjectId, correlationId, encryptionScope) { - this.version = version, this.signature = signature, void 0 !== permissionsOrOptions && "string" != typeof permissionsOrOptions ? (this.permissions = permissionsOrOptions.permissions, - this.services = permissionsOrOptions.services, this.resourceTypes = permissionsOrOptions.resourceTypes, - this.protocol = permissionsOrOptions.protocol, this.startsOn = permissionsOrOptions.startsOn, - this.expiresOn = permissionsOrOptions.expiresOn, this.ipRangeInner = permissionsOrOptions.ipRange, - this.identifier = permissionsOrOptions.identifier, this.encryptionScope = permissionsOrOptions.encryptionScope, - this.resource = permissionsOrOptions.resource, this.cacheControl = permissionsOrOptions.cacheControl, - this.contentDisposition = permissionsOrOptions.contentDisposition, this.contentEncoding = permissionsOrOptions.contentEncoding, - this.contentLanguage = permissionsOrOptions.contentLanguage, this.contentType = permissionsOrOptions.contentType, - permissionsOrOptions.userDelegationKey && (this.signedOid = permissionsOrOptions.userDelegationKey.signedObjectId, - this.signedTenantId = permissionsOrOptions.userDelegationKey.signedTenantId, this.signedStartsOn = permissionsOrOptions.userDelegationKey.signedStartsOn, - this.signedExpiresOn = permissionsOrOptions.userDelegationKey.signedExpiresOn, this.signedService = permissionsOrOptions.userDelegationKey.signedService, - this.signedVersion = permissionsOrOptions.userDelegationKey.signedVersion, this.preauthorizedAgentObjectId = permissionsOrOptions.preauthorizedAgentObjectId, - this.correlationId = permissionsOrOptions.correlationId)) : (this.services = services, - this.resourceTypes = resourceTypes, this.expiresOn = expiresOn, this.permissions = permissionsOrOptions, - this.protocol = protocol, this.startsOn = startsOn, this.ipRangeInner = ipRange, - this.encryptionScope = encryptionScope, this.identifier = identifier, this.resource = resource, - this.cacheControl = cacheControl, this.contentDisposition = contentDisposition, - this.contentEncoding = contentEncoding, this.contentLanguage = contentLanguage, - this.contentType = contentType, userDelegationKey && (this.signedOid = userDelegationKey.signedObjectId, - this.signedTenantId = userDelegationKey.signedTenantId, this.signedStartsOn = userDelegationKey.signedStartsOn, - this.signedExpiresOn = userDelegationKey.signedExpiresOn, this.signedService = userDelegationKey.signedService, - this.signedVersion = userDelegationKey.signedVersion, this.preauthorizedAgentObjectId = preauthorizedAgentObjectId, - this.correlationId = correlationId)); + const blockBlob_xmlSerializer = createSerializer(mappers_namespaceObject, !0), uploadOperationSpec = { + path: "/{containerName}/{blob}", + httpMethod: "PUT", + responses: { + 201: { + headersMapper: BlockBlobUploadHeaders + }, + default: { + bodyMapper: StorageError, + headersMapper: BlockBlobUploadExceptionHeaders + } + }, + requestBody: body1, + queryParameters: [ timeoutInSeconds ], + urlParameters: [ url ], + headerParameters: [ version, requestId, contentLength, metadata, leaseId, ifModifiedSince, ifUnmodifiedSince, encryptionKey, encryptionKeySha256, encryptionAlgorithm, ifMatch, ifNoneMatch, ifTags, blobCacheControl, blobContentType, blobContentMD5, blobContentEncoding, blobContentLanguage, blobContentDisposition, immutabilityPolicyExpiry, immutabilityPolicyMode, encryptionScope, tier, blobTagsString, legalHold1, transactionalContentMD5, transactionalContentCrc64, contentType1, accept2, blobType2 ], + isXML: !0, + contentType: "application/xml; charset=utf-8", + mediaType: "binary", + serializer: blockBlob_xmlSerializer + }, putBlobFromUrlOperationSpec = { + path: "/{containerName}/{blob}", + httpMethod: "PUT", + responses: { + 201: { + headersMapper: BlockBlobPutBlobFromUrlHeaders + }, + default: { + bodyMapper: StorageError, + headersMapper: BlockBlobPutBlobFromUrlExceptionHeaders + } + }, + queryParameters: [ timeoutInSeconds ], + urlParameters: [ url ], + headerParameters: [ version, requestId, accept1, contentLength, metadata, leaseId, ifModifiedSince, ifUnmodifiedSince, encryptionKey, encryptionKeySha256, encryptionAlgorithm, ifMatch, ifNoneMatch, ifTags, blobCacheControl, blobContentType, blobContentMD5, blobContentEncoding, blobContentLanguage, blobContentDisposition, encryptionScope, tier, sourceIfModifiedSince, sourceIfUnmodifiedSince, sourceIfMatch, sourceIfNoneMatch, sourceIfTags, copySource, blobTagsString, sourceContentMD5, copySourceAuthorization, copySourceTags, transactionalContentMD5, blobType2, { + parameterPath: [ "options", "copySourceBlobProperties" ], + mapper: { + serializedName: "x-ms-copy-source-blob-properties", + xmlName: "x-ms-copy-source-blob-properties", + type: { + name: "Boolean" + } + } + } ], + isXML: !0, + serializer: blockBlob_xmlSerializer + }, stageBlockOperationSpec = { + path: "/{containerName}/{blob}", + httpMethod: "PUT", + responses: { + 201: { + headersMapper: BlockBlobStageBlockHeaders + }, + default: { + bodyMapper: StorageError, + headersMapper: BlockBlobStageBlockExceptionHeaders + } + }, + requestBody: body1, + queryParameters: [ timeoutInSeconds, comp24, blockId ], + urlParameters: [ url ], + headerParameters: [ version, requestId, contentLength, leaseId, encryptionKey, encryptionKeySha256, encryptionAlgorithm, encryptionScope, transactionalContentMD5, transactionalContentCrc64, contentType1, accept2 ], + isXML: !0, + contentType: "application/xml; charset=utf-8", + mediaType: "binary", + serializer: blockBlob_xmlSerializer + }, stageBlockFromURLOperationSpec = { + path: "/{containerName}/{blob}", + httpMethod: "PUT", + responses: { + 201: { + headersMapper: BlockBlobStageBlockFromURLHeaders + }, + default: { + bodyMapper: StorageError, + headersMapper: BlockBlobStageBlockFromURLExceptionHeaders + } + }, + queryParameters: [ timeoutInSeconds, comp24, blockId ], + urlParameters: [ url ], + headerParameters: [ version, requestId, accept1, contentLength, leaseId, encryptionKey, encryptionKeySha256, encryptionAlgorithm, encryptionScope, sourceIfModifiedSince, sourceIfUnmodifiedSince, sourceIfMatch, sourceIfNoneMatch, sourceContentMD5, copySourceAuthorization, sourceUrl, sourceContentCrc64, sourceRange1 ], + isXML: !0, + serializer: blockBlob_xmlSerializer + }, commitBlockListOperationSpec = { + path: "/{containerName}/{blob}", + httpMethod: "PUT", + responses: { + 201: { + headersMapper: BlockBlobCommitBlockListHeaders + }, + default: { + bodyMapper: StorageError, + headersMapper: BlockBlobCommitBlockListExceptionHeaders + } + }, + requestBody: blocks, + queryParameters: [ timeoutInSeconds, comp25 ], + urlParameters: [ url ], + headerParameters: [ contentType, accept, version, requestId, metadata, leaseId, ifModifiedSince, ifUnmodifiedSince, encryptionKey, encryptionKeySha256, encryptionAlgorithm, ifMatch, ifNoneMatch, ifTags, blobCacheControl, blobContentType, blobContentMD5, blobContentEncoding, blobContentLanguage, blobContentDisposition, immutabilityPolicyExpiry, immutabilityPolicyMode, encryptionScope, tier, blobTagsString, legalHold1, transactionalContentMD5, transactionalContentCrc64 ], + isXML: !0, + contentType: "application/xml; charset=utf-8", + mediaType: "xml", + serializer: blockBlob_xmlSerializer + }, getBlockListOperationSpec = { + path: "/{containerName}/{blob}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: BlockList, + headersMapper: BlockBlobGetBlockListHeaders + }, + default: { + bodyMapper: StorageError, + headersMapper: BlockBlobGetBlockListExceptionHeaders + } + }, + queryParameters: [ timeoutInSeconds, snapshot, comp25, { + parameterPath: "listType", + mapper: { + defaultValue: "committed", + serializedName: "blocklisttype", + required: !0, + xmlName: "blocklisttype", + type: { + name: "Enum", + allowedValues: [ "committed", "uncommitted", "all" ] + } + } + } ], + urlParameters: [ url ], + headerParameters: [ version, requestId, accept1, leaseId, ifTags ], + isXML: !0, + serializer: blockBlob_xmlSerializer + }; + class StorageClient extends ExtendedServiceClient { + constructor(url, options) { + var _a, _b; + if (void 0 === url) throw new Error("'url' cannot be null"); + options || (options = {}); + const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} azsdk-js-azure-storage-blob/12.24.0` : "azsdk-js-azure-storage-blob/12.24.0"; + super(Object.assign(Object.assign(Object.assign({}, { + requestContentType: "application/json; charset=utf-8" + }), options), { + userAgentOptions: { + userAgentPrefix + }, + endpoint: null !== (_b = null !== (_a = options.endpoint) && void 0 !== _a ? _a : options.baseUri) && void 0 !== _b ? _b : "{url}" + })), this.url = url, this.version = options.version || "2024-08-04", this.service = new ServiceImpl(this), + this.container = new ContainerImpl(this), this.blob = new BlobImpl(this), this.pageBlob = new PageBlobImpl(this), + this.appendBlob = new AppendBlobImpl(this), this.blockBlob = new BlockBlobImpl(this); } - get ipRange() { - if (this.ipRangeInner) return { - end: this.ipRangeInner.end, - start: this.ipRangeInner.start - }; + } + class StorageContextClient extends StorageClient { + async sendOperationRequest(operationArguments, operationSpec) { + const operationSpecToSend = Object.assign({}, operationSpec); + return "/{containerName}" !== operationSpecToSend.path && "/{containerName}/{blob}" !== operationSpecToSend.path || (operationSpecToSend.path = ""), + super.sendOperationRequest(operationArguments, operationSpecToSend); } - toString() { - const params = [ "sv", "ss", "srt", "spr", "st", "se", "sip", "si", "ses", "skoid", "sktid", "skt", "ske", "sks", "skv", "sr", "sp", "sig", "rscc", "rscd", "rsce", "rscl", "rsct", "saoid", "scid" ], queries = []; - for (const param of params) switch (param) { - case "sv": - this.tryAppendQueryParameter(queries, param, this.version); - break; - - case "ss": - this.tryAppendQueryParameter(queries, param, this.services); - break; - - case "srt": - this.tryAppendQueryParameter(queries, param, this.resourceTypes); - break; - - case "spr": - this.tryAppendQueryParameter(queries, param, this.protocol); - break; - - case "st": - this.tryAppendQueryParameter(queries, param, this.startsOn ? truncatedISO8061Date(this.startsOn, !1) : void 0); + } + class StorageClient_StorageClient { + constructor(url, pipeline) { + this.url = escapeURLPath(url), this.accountName = getAccountNameFromUrl(url), this.pipeline = pipeline, + this.storageClientContext = new StorageContextClient(this.url, getCoreClientOptions(pipeline)), + this.isHttps = iEqual(function(url) { + try { + const urlParsed = new URL(url); + return urlParsed.protocol.endsWith(":") ? urlParsed.protocol.slice(0, -1) : urlParsed.protocol; + } catch (e) { + return; + } + }(this.url) || "", "https"), this.credential = getCredentialFromPipeline(pipeline); + this.storageClientContext.requestContentType = void 0; + } + } + const tracingClient = createTracingClient({ + packageName: "@azure/storage-blob", + packageVersion: "12.24.0", + namespace: "Microsoft.Storage" + }); + class BlobSASPermissions { + constructor() { + this.read = !1, this.add = !1, this.create = !1, this.write = !1, this.delete = !1, + this.deleteVersion = !1, this.tag = !1, this.move = !1, this.execute = !1, this.setImmutabilityPolicy = !1, + this.permanentDelete = !1; + } + static parse(permissions) { + const blobSASPermissions = new BlobSASPermissions; + for (const char of permissions) switch (char) { + case "r": + blobSASPermissions.read = !0; break; - case "se": - this.tryAppendQueryParameter(queries, param, this.expiresOn ? truncatedISO8061Date(this.expiresOn, !1) : void 0); + case "a": + blobSASPermissions.add = !0; break; - case "sip": - this.tryAppendQueryParameter(queries, param, this.ipRange ? ipRangeToString(this.ipRange) : void 0); + case "c": + blobSASPermissions.create = !0; break; - case "si": - this.tryAppendQueryParameter(queries, param, this.identifier); + case "w": + blobSASPermissions.write = !0; break; - case "ses": - this.tryAppendQueryParameter(queries, param, this.encryptionScope); + case "d": + blobSASPermissions.delete = !0; break; - case "skoid": - this.tryAppendQueryParameter(queries, param, this.signedOid); + case "x": + blobSASPermissions.deleteVersion = !0; break; - case "sktid": - this.tryAppendQueryParameter(queries, param, this.signedTenantId); + case "t": + blobSASPermissions.tag = !0; break; - case "skt": - this.tryAppendQueryParameter(queries, param, this.signedStartsOn ? truncatedISO8061Date(this.signedStartsOn, !1) : void 0); + case "m": + blobSASPermissions.move = !0; break; - case "ske": - this.tryAppendQueryParameter(queries, param, this.signedExpiresOn ? truncatedISO8061Date(this.signedExpiresOn, !1) : void 0); + case "e": + blobSASPermissions.execute = !0; break; - case "sks": - this.tryAppendQueryParameter(queries, param, this.signedService); + case "i": + blobSASPermissions.setImmutabilityPolicy = !0; break; - case "skv": - this.tryAppendQueryParameter(queries, param, this.signedVersion); + case "y": + blobSASPermissions.permanentDelete = !0; break; - case "sr": + default: + throw new RangeError(`Invalid permission: ${char}`); + } + return blobSASPermissions; + } + static from(permissionLike) { + const blobSASPermissions = new BlobSASPermissions; + return permissionLike.read && (blobSASPermissions.read = !0), permissionLike.add && (blobSASPermissions.add = !0), + permissionLike.create && (blobSASPermissions.create = !0), permissionLike.write && (blobSASPermissions.write = !0), + permissionLike.delete && (blobSASPermissions.delete = !0), permissionLike.deleteVersion && (blobSASPermissions.deleteVersion = !0), + permissionLike.tag && (blobSASPermissions.tag = !0), permissionLike.move && (blobSASPermissions.move = !0), + permissionLike.execute && (blobSASPermissions.execute = !0), permissionLike.setImmutabilityPolicy && (blobSASPermissions.setImmutabilityPolicy = !0), + permissionLike.permanentDelete && (blobSASPermissions.permanentDelete = !0), blobSASPermissions; + } + toString() { + const permissions = []; + return this.read && permissions.push("r"), this.add && permissions.push("a"), this.create && permissions.push("c"), + this.write && permissions.push("w"), this.delete && permissions.push("d"), this.deleteVersion && permissions.push("x"), + this.tag && permissions.push("t"), this.move && permissions.push("m"), this.execute && permissions.push("e"), + this.setImmutabilityPolicy && permissions.push("i"), this.permanentDelete && permissions.push("y"), + permissions.join(""); + } + } + class ContainerSASPermissions { + constructor() { + this.read = !1, this.add = !1, this.create = !1, this.write = !1, this.delete = !1, + this.deleteVersion = !1, this.list = !1, this.tag = !1, this.move = !1, this.execute = !1, + this.setImmutabilityPolicy = !1, this.permanentDelete = !1, this.filterByTags = !1; + } + static parse(permissions) { + const containerSASPermissions = new ContainerSASPermissions; + for (const char of permissions) switch (char) { + case "r": + containerSASPermissions.read = !0; + break; + + case "a": + containerSASPermissions.add = !0; + break; + + case "c": + containerSASPermissions.create = !0; + break; + + case "w": + containerSASPermissions.write = !0; + break; + + case "d": + containerSASPermissions.delete = !0; + break; + + case "l": + containerSASPermissions.list = !0; + break; + + case "t": + containerSASPermissions.tag = !0; + break; + + case "x": + containerSASPermissions.deleteVersion = !0; + break; + + case "m": + containerSASPermissions.move = !0; + break; + + case "e": + containerSASPermissions.execute = !0; + break; + + case "i": + containerSASPermissions.setImmutabilityPolicy = !0; + break; + + case "y": + containerSASPermissions.permanentDelete = !0; + break; + + case "f": + containerSASPermissions.filterByTags = !0; + break; + + default: + throw new RangeError(`Invalid permission ${char}`); + } + return containerSASPermissions; + } + static from(permissionLike) { + const containerSASPermissions = new ContainerSASPermissions; + return permissionLike.read && (containerSASPermissions.read = !0), permissionLike.add && (containerSASPermissions.add = !0), + permissionLike.create && (containerSASPermissions.create = !0), permissionLike.write && (containerSASPermissions.write = !0), + permissionLike.delete && (containerSASPermissions.delete = !0), permissionLike.list && (containerSASPermissions.list = !0), + permissionLike.deleteVersion && (containerSASPermissions.deleteVersion = !0), permissionLike.tag && (containerSASPermissions.tag = !0), + permissionLike.move && (containerSASPermissions.move = !0), permissionLike.execute && (containerSASPermissions.execute = !0), + permissionLike.setImmutabilityPolicy && (containerSASPermissions.setImmutabilityPolicy = !0), + permissionLike.permanentDelete && (containerSASPermissions.permanentDelete = !0), + permissionLike.filterByTags && (containerSASPermissions.filterByTags = !0), containerSASPermissions; + } + toString() { + const permissions = []; + return this.read && permissions.push("r"), this.add && permissions.push("a"), this.create && permissions.push("c"), + this.write && permissions.push("w"), this.delete && permissions.push("d"), this.deleteVersion && permissions.push("x"), + this.list && permissions.push("l"), this.tag && permissions.push("t"), this.move && permissions.push("m"), + this.execute && permissions.push("e"), this.setImmutabilityPolicy && permissions.push("i"), + this.permanentDelete && permissions.push("y"), this.filterByTags && permissions.push("f"), + permissions.join(""); + } + } + class UserDelegationKeyCredential { + constructor(accountName, userDelegationKey) { + this.accountName = accountName, this.userDelegationKey = userDelegationKey, this.key = Buffer.from(userDelegationKey.value, "base64"); + } + computeHMACSHA256(stringToSign) { + return (0, external_crypto_.createHmac)("sha256", this.key).update(stringToSign, "utf8").digest("base64"); + } + } + function ipRangeToString(ipRange) { + return ipRange.end ? `${ipRange.start}-${ipRange.end}` : ipRange.start; + } + var SASProtocol; + !function(SASProtocol) { + SASProtocol.Https = "https", SASProtocol.HttpsAndHttp = "https,http"; + }(SASProtocol || (SASProtocol = {})); + class SASQueryParameters { + get ipRange() { + if (this.ipRangeInner) return { + end: this.ipRangeInner.end, + start: this.ipRangeInner.start + }; + } + constructor(version, signature, permissionsOrOptions, services, resourceTypes, protocol, startsOn, expiresOn, ipRange, identifier, resource, cacheControl, contentDisposition, contentEncoding, contentLanguage, contentType, userDelegationKey, preauthorizedAgentObjectId, correlationId, encryptionScope) { + this.version = version, this.signature = signature, void 0 !== permissionsOrOptions && "string" != typeof permissionsOrOptions ? (this.permissions = permissionsOrOptions.permissions, + this.services = permissionsOrOptions.services, this.resourceTypes = permissionsOrOptions.resourceTypes, + this.protocol = permissionsOrOptions.protocol, this.startsOn = permissionsOrOptions.startsOn, + this.expiresOn = permissionsOrOptions.expiresOn, this.ipRangeInner = permissionsOrOptions.ipRange, + this.identifier = permissionsOrOptions.identifier, this.encryptionScope = permissionsOrOptions.encryptionScope, + this.resource = permissionsOrOptions.resource, this.cacheControl = permissionsOrOptions.cacheControl, + this.contentDisposition = permissionsOrOptions.contentDisposition, this.contentEncoding = permissionsOrOptions.contentEncoding, + this.contentLanguage = permissionsOrOptions.contentLanguage, this.contentType = permissionsOrOptions.contentType, + permissionsOrOptions.userDelegationKey && (this.signedOid = permissionsOrOptions.userDelegationKey.signedObjectId, + this.signedTenantId = permissionsOrOptions.userDelegationKey.signedTenantId, this.signedStartsOn = permissionsOrOptions.userDelegationKey.signedStartsOn, + this.signedExpiresOn = permissionsOrOptions.userDelegationKey.signedExpiresOn, this.signedService = permissionsOrOptions.userDelegationKey.signedService, + this.signedVersion = permissionsOrOptions.userDelegationKey.signedVersion, this.preauthorizedAgentObjectId = permissionsOrOptions.preauthorizedAgentObjectId, + this.correlationId = permissionsOrOptions.correlationId)) : (this.services = services, + this.resourceTypes = resourceTypes, this.expiresOn = expiresOn, this.permissions = permissionsOrOptions, + this.protocol = protocol, this.startsOn = startsOn, this.ipRangeInner = ipRange, + this.encryptionScope = encryptionScope, this.identifier = identifier, this.resource = resource, + this.cacheControl = cacheControl, this.contentDisposition = contentDisposition, + this.contentEncoding = contentEncoding, this.contentLanguage = contentLanguage, + this.contentType = contentType, userDelegationKey && (this.signedOid = userDelegationKey.signedObjectId, + this.signedTenantId = userDelegationKey.signedTenantId, this.signedStartsOn = userDelegationKey.signedStartsOn, + this.signedExpiresOn = userDelegationKey.signedExpiresOn, this.signedService = userDelegationKey.signedService, + this.signedVersion = userDelegationKey.signedVersion, this.preauthorizedAgentObjectId = preauthorizedAgentObjectId, + this.correlationId = correlationId)); + } + toString() { + const params = [ "sv", "ss", "srt", "spr", "st", "se", "sip", "si", "ses", "skoid", "sktid", "skt", "ske", "sks", "skv", "sr", "sp", "sig", "rscc", "rscd", "rsce", "rscl", "rsct", "saoid", "scid" ], queries = []; + for (const param of params) switch (param) { + case "sv": + this.tryAppendQueryParameter(queries, param, this.version); + break; + + case "ss": + this.tryAppendQueryParameter(queries, param, this.services); + break; + + case "srt": + this.tryAppendQueryParameter(queries, param, this.resourceTypes); + break; + + case "spr": + this.tryAppendQueryParameter(queries, param, this.protocol); + break; + + case "st": + this.tryAppendQueryParameter(queries, param, this.startsOn ? truncatedISO8061Date(this.startsOn, !1) : void 0); + break; + + case "se": + this.tryAppendQueryParameter(queries, param, this.expiresOn ? truncatedISO8061Date(this.expiresOn, !1) : void 0); + break; + + case "sip": + this.tryAppendQueryParameter(queries, param, this.ipRange ? ipRangeToString(this.ipRange) : void 0); + break; + + case "si": + this.tryAppendQueryParameter(queries, param, this.identifier); + break; + + case "ses": + this.tryAppendQueryParameter(queries, param, this.encryptionScope); + break; + + case "skoid": + this.tryAppendQueryParameter(queries, param, this.signedOid); + break; + + case "sktid": + this.tryAppendQueryParameter(queries, param, this.signedTenantId); + break; + + case "skt": + this.tryAppendQueryParameter(queries, param, this.signedStartsOn ? truncatedISO8061Date(this.signedStartsOn, !1) : void 0); + break; + + case "ske": + this.tryAppendQueryParameter(queries, param, this.signedExpiresOn ? truncatedISO8061Date(this.signedExpiresOn, !1) : void 0); + break; + + case "sks": + this.tryAppendQueryParameter(queries, param, this.signedService); + break; + + case "skv": + this.tryAppendQueryParameter(queries, param, this.signedVersion); + break; + + case "sr": this.tryAppendQueryParameter(queries, param, this.resource); break; @@ -20080,2223 +19919,805 @@ if (blobSASSignatureValues.encryptionScope && version < "2020-12-06") throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS."); return blobSASSignatureValues.version = version, blobSASSignatureValues; } - class blob_Blob { - constructor(client) { - this.client = client; - } - download(options) { - const operationArguments = { - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, downloadOperationSpec); - } - getProperties(options) { - const operationArguments = { - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, blob_getPropertiesOperationSpec); + class BlobLeaseClient { + get leaseId() { + return this._leaseId; } - delete(options) { - const operationArguments = { - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, blob_deleteOperationSpec); + get url() { + return this._url; } - undelete(options) { - const operationArguments = { - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, undeleteOperationSpec); + constructor(client, leaseId) { + const clientContext = client.storageClientContext; + this._url = client.url, void 0 === client.name ? (this._isContainer = !0, this._containerOrBlobOperation = clientContext.container) : (this._isContainer = !1, + this._containerOrBlobOperation = clientContext.blob), leaseId || (leaseId = randomUUID()), + this._leaseId = leaseId; } - setExpiry(expiryOptions, options) { - const operationArguments = { - expiryOptions, - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, setExpiryOperationSpec); + async acquireLease(duration, options = {}) { + var _a, _b, _c, _d, _e; + if (this._isContainer && ((null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.ifMatch) && "" !== (null === (_b = options.conditions) || void 0 === _b ? void 0 : _b.ifMatch) || (null === (_c = options.conditions) || void 0 === _c ? void 0 : _c.ifNoneMatch) && "" !== (null === (_d = options.conditions) || void 0 === _d ? void 0 : _d.ifNoneMatch) || (null === (_e = options.conditions) || void 0 === _e ? void 0 : _e.tagConditions))) throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable."); + return tracingClient.withSpan("BlobLeaseClient-acquireLease", options, (async updatedOptions => { + var _a; + return assertResponse(await this._containerOrBlobOperation.acquireLease({ + abortSignal: options.abortSignal, + duration, + modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { + ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions + }), + proposedLeaseId: this._leaseId, + tracingOptions: updatedOptions.tracingOptions + })); + })); } - setHttpHeaders(options) { - const operationArguments = { - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, setHttpHeadersOperationSpec); + async changeLease(proposedLeaseId, options = {}) { + var _a, _b, _c, _d, _e; + if (this._isContainer && ((null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.ifMatch) && "" !== (null === (_b = options.conditions) || void 0 === _b ? void 0 : _b.ifMatch) || (null === (_c = options.conditions) || void 0 === _c ? void 0 : _c.ifNoneMatch) && "" !== (null === (_d = options.conditions) || void 0 === _d ? void 0 : _d.ifNoneMatch) || (null === (_e = options.conditions) || void 0 === _e ? void 0 : _e.tagConditions))) throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable."); + return tracingClient.withSpan("BlobLeaseClient-changeLease", options, (async updatedOptions => { + var _a; + const response = assertResponse(await this._containerOrBlobOperation.changeLease(this._leaseId, proposedLeaseId, { + abortSignal: options.abortSignal, + modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { + ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions + }), + tracingOptions: updatedOptions.tracingOptions + })); + return this._leaseId = proposedLeaseId, response; + })); } - setImmutabilityPolicy(options) { - const operationArguments = { - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, setImmutabilityPolicyOperationSpec); + async releaseLease(options = {}) { + var _a, _b, _c, _d, _e; + if (this._isContainer && ((null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.ifMatch) && "" !== (null === (_b = options.conditions) || void 0 === _b ? void 0 : _b.ifMatch) || (null === (_c = options.conditions) || void 0 === _c ? void 0 : _c.ifNoneMatch) && "" !== (null === (_d = options.conditions) || void 0 === _d ? void 0 : _d.ifNoneMatch) || (null === (_e = options.conditions) || void 0 === _e ? void 0 : _e.tagConditions))) throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable."); + return tracingClient.withSpan("BlobLeaseClient-releaseLease", options, (async updatedOptions => { + var _a; + return assertResponse(await this._containerOrBlobOperation.releaseLease(this._leaseId, { + abortSignal: options.abortSignal, + modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { + ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions + }), + tracingOptions: updatedOptions.tracingOptions + })); + })); } - deleteImmutabilityPolicy(options) { - const operationArguments = { - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, deleteImmutabilityPolicyOperationSpec); + async renewLease(options = {}) { + var _a, _b, _c, _d, _e; + if (this._isContainer && ((null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.ifMatch) && "" !== (null === (_b = options.conditions) || void 0 === _b ? void 0 : _b.ifMatch) || (null === (_c = options.conditions) || void 0 === _c ? void 0 : _c.ifNoneMatch) && "" !== (null === (_d = options.conditions) || void 0 === _d ? void 0 : _d.ifNoneMatch) || (null === (_e = options.conditions) || void 0 === _e ? void 0 : _e.tagConditions))) throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable."); + return tracingClient.withSpan("BlobLeaseClient-renewLease", options, (async updatedOptions => { + var _a; + return this._containerOrBlobOperation.renewLease(this._leaseId, { + abortSignal: options.abortSignal, + modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { + ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions + }), + tracingOptions: updatedOptions.tracingOptions + }); + })); } - setLegalHold(legalHold, options) { - const operationArguments = { - legalHold, - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, setLegalHoldOperationSpec); + async breakLease(breakPeriod, options = {}) { + var _a, _b, _c, _d, _e; + if (this._isContainer && ((null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.ifMatch) && "" !== (null === (_b = options.conditions) || void 0 === _b ? void 0 : _b.ifMatch) || (null === (_c = options.conditions) || void 0 === _c ? void 0 : _c.ifNoneMatch) && "" !== (null === (_d = options.conditions) || void 0 === _d ? void 0 : _d.ifNoneMatch) || (null === (_e = options.conditions) || void 0 === _e ? void 0 : _e.tagConditions))) throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable."); + return tracingClient.withSpan("BlobLeaseClient-breakLease", options, (async updatedOptions => { + var _a; + const operationOptions = { + abortSignal: options.abortSignal, + breakPeriod, + modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { + ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions + }), + tracingOptions: updatedOptions.tracingOptions + }; + return assertResponse(await this._containerOrBlobOperation.breakLease(operationOptions)); + })); } - setMetadata(options) { - const operationArguments = { - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, blob_setMetadataOperationSpec); + } + var external_stream_ = __webpack_require__(2203); + class RetriableReadableStream extends external_stream_.Readable { + constructor(source, getter, offset, count, options = {}) { + super({ + highWaterMark: options.highWaterMark + }), this.retries = 0, this.sourceDataHandler = data => { + if (this.options.doInjectErrorOnce) return this.options.doInjectErrorOnce = void 0, + this.source.pause(), this.sourceErrorOrEndHandler(), void this.source.destroy(); + this.offset += data.length, this.onProgress && this.onProgress({ + loadedBytes: this.offset - this.start + }), this.push(data) || this.source.pause(); + }, this.sourceAbortedHandler = () => { + const abortError = new AbortController_AbortError("The operation was aborted."); + this.destroy(abortError); + }, this.sourceErrorOrEndHandler = err => { + err && "AbortError" === err.name ? this.destroy(err) : (this.removeSourceEventHandlers(), + this.offset - 1 === this.end ? this.push(null) : this.offset <= this.end ? this.retries < this.maxRetryRequests ? (this.retries += 1, + this.getter(this.offset).then((newSource => { + this.source = newSource, this.setSourceEventHandlers(); + })).catch((error => { + this.destroy(error); + }))) : this.destroy(new Error(`Data corruption failure: received less data than required and reached maxRetires limitation. Received data offset: ${this.offset - 1}, data needed offset: ${this.end}, retries: ${this.retries}, max retries: ${this.maxRetryRequests}`)) : this.destroy(new Error(`Data corruption failure: Received more data than original request, data needed offset is ${this.end}, received offset: ${this.offset - 1}`))); + }, this.getter = getter, this.source = source, this.start = offset, this.offset = offset, + this.end = offset + count - 1, this.maxRetryRequests = options.maxRetryRequests && options.maxRetryRequests >= 0 ? options.maxRetryRequests : 0, + this.onProgress = options.onProgress, this.options = options, this.setSourceEventHandlers(); } - acquireLease(options) { - const operationArguments = { - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, blob_acquireLeaseOperationSpec); + _read() { + this.source.resume(); } - releaseLease(leaseId, options) { - const operationArguments = { - leaseId, - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, blob_releaseLeaseOperationSpec); + setSourceEventHandlers() { + this.source.on("data", this.sourceDataHandler), this.source.on("end", this.sourceErrorOrEndHandler), + this.source.on("error", this.sourceErrorOrEndHandler), this.source.on("aborted", this.sourceAbortedHandler); } - renewLease(leaseId, options) { - const operationArguments = { - leaseId, - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, blob_renewLeaseOperationSpec); + removeSourceEventHandlers() { + this.source.removeListener("data", this.sourceDataHandler), this.source.removeListener("end", this.sourceErrorOrEndHandler), + this.source.removeListener("error", this.sourceErrorOrEndHandler), this.source.removeListener("aborted", this.sourceAbortedHandler); } - changeLease(leaseId, proposedLeaseId, options) { - const operationArguments = { - leaseId, - proposedLeaseId, - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, blob_changeLeaseOperationSpec); + _destroy(error, callback) { + this.removeSourceEventHandlers(), this.source.destroy(), callback(null === error ? void 0 : error); } - breakLease(options) { - const operationArguments = { - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, blob_breakLeaseOperationSpec); + } + class BlobDownloadResponse { + get acceptRanges() { + return this.originalResponse.acceptRanges; } - createSnapshot(options) { - const operationArguments = { - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, createSnapshotOperationSpec); + get cacheControl() { + return this.originalResponse.cacheControl; } - startCopyFromURL(copySource, options) { - const operationArguments = { - copySource, - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, startCopyFromURLOperationSpec); + get contentDisposition() { + return this.originalResponse.contentDisposition; } - copyFromURL(copySource, options) { - const operationArguments = { - copySource, - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, copyFromURLOperationSpec); + get contentEncoding() { + return this.originalResponse.contentEncoding; } - abortCopyFromURL(copyId, options) { - const operationArguments = { - copyId, - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, abortCopyFromURLOperationSpec); + get contentLanguage() { + return this.originalResponse.contentLanguage; } - setTier(tier, options) { - const operationArguments = { - tier, - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, setTierOperationSpec); + get blobSequenceNumber() { + return this.originalResponse.blobSequenceNumber; } - getAccountInfo(options) { - const operationArguments = { - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, blob_getAccountInfoOperationSpec); + get blobType() { + return this.originalResponse.blobType; } - query(options) { - const operationArguments = { - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, queryOperationSpec); + get contentLength() { + return this.originalResponse.contentLength; } - getTags(options) { - const operationArguments = { - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, getTagsOperationSpec); + get contentMD5() { + return this.originalResponse.contentMD5; } - setTags(options) { - const operationArguments = { - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, setTagsOperationSpec); + get contentRange() { + return this.originalResponse.contentRange; + } + get contentType() { + return this.originalResponse.contentType; + } + get copyCompletedOn() { + return this.originalResponse.copyCompletedOn; + } + get copyId() { + return this.originalResponse.copyId; + } + get copyProgress() { + return this.originalResponse.copyProgress; + } + get copySource() { + return this.originalResponse.copySource; + } + get copyStatus() { + return this.originalResponse.copyStatus; + } + get copyStatusDescription() { + return this.originalResponse.copyStatusDescription; + } + get leaseDuration() { + return this.originalResponse.leaseDuration; + } + get leaseState() { + return this.originalResponse.leaseState; + } + get leaseStatus() { + return this.originalResponse.leaseStatus; + } + get date() { + return this.originalResponse.date; + } + get blobCommittedBlockCount() { + return this.originalResponse.blobCommittedBlockCount; + } + get etag() { + return this.originalResponse.etag; + } + get tagCount() { + return this.originalResponse.tagCount; + } + get errorCode() { + return this.originalResponse.errorCode; + } + get isServerEncrypted() { + return this.originalResponse.isServerEncrypted; + } + get blobContentMD5() { + return this.originalResponse.blobContentMD5; + } + get lastModified() { + return this.originalResponse.lastModified; + } + get lastAccessed() { + return this.originalResponse.lastAccessed; + } + get createdOn() { + return this.originalResponse.createdOn; + } + get metadata() { + return this.originalResponse.metadata; + } + get requestId() { + return this.originalResponse.requestId; + } + get clientRequestId() { + return this.originalResponse.clientRequestId; + } + get version() { + return this.originalResponse.version; + } + get versionId() { + return this.originalResponse.versionId; + } + get isCurrentVersion() { + return this.originalResponse.isCurrentVersion; + } + get encryptionKeySha256() { + return this.originalResponse.encryptionKeySha256; + } + get contentCrc64() { + return this.originalResponse.contentCrc64; + } + get objectReplicationDestinationPolicyId() { + return this.originalResponse.objectReplicationDestinationPolicyId; + } + get objectReplicationSourceProperties() { + return this.originalResponse.objectReplicationSourceProperties; + } + get isSealed() { + return this.originalResponse.isSealed; + } + get immutabilityPolicyExpiresOn() { + return this.originalResponse.immutabilityPolicyExpiresOn; + } + get immutabilityPolicyMode() { + return this.originalResponse.immutabilityPolicyMode; + } + get legalHold() { + return this.originalResponse.legalHold; + } + get contentAsBlob() { + return this.originalResponse.blobBody; + } + get readableStreamBody() { + return checkEnvironment_isNode ? this.blobDownloadStream : void 0; + } + get _response() { + return this.originalResponse._response; + } + constructor(originalResponse, getter, offset, count, options = {}) { + this.originalResponse = originalResponse, this.blobDownloadStream = new RetriableReadableStream(this.originalResponse.readableStreamBody, getter, offset, count, options); } } - const blob_xmlSerializer = new Serializer(mappers_namespaceObject, !0), downloadOperationSpec = { - path: "/{containerName}/{blob}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: { - type: { - name: "Stream" - }, - serializedName: "parsedResponse" - }, - headersMapper: BlobDownloadHeaders - }, - 206: { - bodyMapper: { - type: { - name: "Stream" - }, - serializedName: "parsedResponse" - }, - headersMapper: BlobDownloadHeaders - }, - default: { - bodyMapper: StorageError, - headersMapper: BlobDownloadExceptionHeaders - } - }, - queryParameters: [ timeoutInSeconds, snapshot, versionId ], - urlParameters: [ url ], - headerParameters: [ version, requestId, accept1, leaseId, ifModifiedSince, ifUnmodifiedSince, range, { - parameterPath: [ "options", "rangeGetContentMD5" ], - mapper: { - serializedName: "x-ms-range-get-content-md5", - xmlName: "x-ms-range-get-content-md5", - type: { - name: "Boolean" - } + const AVRO_INIT_BYTES = new Uint8Array([ 79, 98, 106, 1 ]); + class AvroParser { + static async readFixedBytes(stream, length, options = {}) { + const bytes = await stream.read(length, { + abortSignal: options.abortSignal + }); + if (bytes.length !== length) throw new Error("Hit stream end."); + return bytes; + } + static async readByte(stream, options = {}) { + return (await AvroParser.readFixedBytes(stream, 1, options))[0]; + } + static async readZigZagLong(stream, options = {}) { + let byte, haveMoreByte, significanceInFloat, zigZagEncoded = 0, significanceInBit = 0; + do { + byte = await AvroParser.readByte(stream, options), haveMoreByte = 128 & byte, zigZagEncoded |= (127 & byte) << significanceInBit, + significanceInBit += 7; + } while (haveMoreByte && significanceInBit < 28); + if (haveMoreByte) { + significanceInFloat = 268435456; + do { + byte = await AvroParser.readByte(stream, options), zigZagEncoded += (127 & byte) * significanceInFloat, + significanceInFloat *= 128; + } while (128 & byte); + const res = (zigZagEncoded % 2 ? -(zigZagEncoded + 1) : zigZagEncoded) / 2; + if (res < Number.MIN_SAFE_INTEGER || res > Number.MAX_SAFE_INTEGER) throw new Error("Integer overflow."); + return res; } - }, { - parameterPath: [ "options", "rangeGetContentCRC64" ], - mapper: { - serializedName: "x-ms-range-get-content-crc64", - xmlName: "x-ms-range-get-content-crc64", - type: { - name: "Boolean" - } + return zigZagEncoded >> 1 ^ -(1 & zigZagEncoded); + } + static async readLong(stream, options = {}) { + return AvroParser.readZigZagLong(stream, options); + } + static async readInt(stream, options = {}) { + return AvroParser.readZigZagLong(stream, options); + } + static async readNull() { + return null; + } + static async readBoolean(stream, options = {}) { + const b = await AvroParser.readByte(stream, options); + if (1 === b) return !0; + if (0 === b) return !1; + throw new Error("Byte was not a boolean."); + } + static async readFloat(stream, options = {}) { + const u8arr = await AvroParser.readFixedBytes(stream, 4, options); + return new DataView(u8arr.buffer, u8arr.byteOffset, u8arr.byteLength).getFloat32(0, !0); + } + static async readDouble(stream, options = {}) { + const u8arr = await AvroParser.readFixedBytes(stream, 8, options); + return new DataView(u8arr.buffer, u8arr.byteOffset, u8arr.byteLength).getFloat64(0, !0); + } + static async readBytes(stream, options = {}) { + const size = await AvroParser.readLong(stream, options); + if (size < 0) throw new Error("Bytes size was negative."); + return stream.read(size, { + abortSignal: options.abortSignal + }); + } + static async readString(stream, options = {}) { + const u8arr = await AvroParser.readBytes(stream, options); + return (new TextDecoder).decode(u8arr); + } + static async readMapPair(stream, readItemMethod, options = {}) { + return { + key: await AvroParser.readString(stream, options), + value: await readItemMethod(stream, options) + }; + } + static async readMap(stream, readItemMethod, options = {}) { + const pairs = await AvroParser.readArray(stream, ((s, opts = {}) => AvroParser.readMapPair(s, readItemMethod, opts)), options), dict = {}; + for (const pair of pairs) dict[pair.key] = pair.value; + return dict; + } + static async readArray(stream, readItemMethod, options = {}) { + const items = []; + for (let count = await AvroParser.readLong(stream, options); 0 !== count; count = await AvroParser.readLong(stream, options)) for (count < 0 && (await AvroParser.readLong(stream, options), + count = -count); count--; ) { + const item = await readItemMethod(stream, options); + items.push(item); } - }, encryptionKey, encryptionKeySha256, encryptionAlgorithm, ifMatch, ifNoneMatch, ifTags ], - isXML: !0, - serializer: blob_xmlSerializer - }, blob_getPropertiesOperationSpec = { - path: "/{containerName}/{blob}", - httpMethod: "HEAD", - responses: { - 200: { - headersMapper: BlobGetPropertiesHeaders - }, - default: { - bodyMapper: StorageError, - headersMapper: BlobGetPropertiesExceptionHeaders + return items; + } + } + var AvroComplex, AvroPrimitive; + !function(AvroComplex) { + AvroComplex.RECORD = "record", AvroComplex.ENUM = "enum", AvroComplex.ARRAY = "array", + AvroComplex.MAP = "map", AvroComplex.UNION = "union", AvroComplex.FIXED = "fixed"; + }(AvroComplex || (AvroComplex = {})), function(AvroPrimitive) { + AvroPrimitive.NULL = "null", AvroPrimitive.BOOLEAN = "boolean", AvroPrimitive.INT = "int", + AvroPrimitive.LONG = "long", AvroPrimitive.FLOAT = "float", AvroPrimitive.DOUBLE = "double", + AvroPrimitive.BYTES = "bytes", AvroPrimitive.STRING = "string"; + }(AvroPrimitive || (AvroPrimitive = {})); + class AvroType { + static fromSchema(schema) { + return "string" == typeof schema ? AvroType.fromStringSchema(schema) : Array.isArray(schema) ? AvroType.fromArraySchema(schema) : AvroType.fromObjectSchema(schema); + } + static fromStringSchema(schema) { + switch (schema) { + case AvroPrimitive.NULL: + case AvroPrimitive.BOOLEAN: + case AvroPrimitive.INT: + case AvroPrimitive.LONG: + case AvroPrimitive.FLOAT: + case AvroPrimitive.DOUBLE: + case AvroPrimitive.BYTES: + case AvroPrimitive.STRING: + return new AvroPrimitiveType(schema); + + default: + throw new Error(`Unexpected Avro type ${schema}`); } - }, - queryParameters: [ timeoutInSeconds, snapshot, versionId ], - urlParameters: [ url ], - headerParameters: [ version, requestId, accept1, leaseId, ifModifiedSince, ifUnmodifiedSince, encryptionKey, encryptionKeySha256, encryptionAlgorithm, ifMatch, ifNoneMatch, ifTags ], - isXML: !0, - serializer: blob_xmlSerializer - }, blob_deleteOperationSpec = { - path: "/{containerName}/{blob}", - httpMethod: "DELETE", - responses: { - 202: { - headersMapper: BlobDeleteHeaders - }, - default: { - bodyMapper: StorageError, - headersMapper: BlobDeleteExceptionHeaders + } + static fromArraySchema(schema) { + return new AvroUnionType(schema.map(AvroType.fromSchema)); + } + static fromObjectSchema(schema) { + const type = schema.type; + try { + return AvroType.fromStringSchema(type); + } catch (err) {} + switch (type) { + case AvroComplex.RECORD: + if (schema.aliases) throw new Error(`aliases currently is not supported, schema: ${schema}`); + if (!schema.name) throw new Error(`Required attribute 'name' doesn't exist on schema: ${schema}`); + const fields = {}; + if (!schema.fields) throw new Error(`Required attribute 'fields' doesn't exist on schema: ${schema}`); + for (const field of schema.fields) fields[field.name] = AvroType.fromSchema(field.type); + return new AvroRecordType(fields, schema.name); + + case AvroComplex.ENUM: + if (schema.aliases) throw new Error(`aliases currently is not supported, schema: ${schema}`); + if (!schema.symbols) throw new Error(`Required attribute 'symbols' doesn't exist on schema: ${schema}`); + return new AvroEnumType(schema.symbols); + + case AvroComplex.MAP: + if (!schema.values) throw new Error(`Required attribute 'values' doesn't exist on schema: ${schema}`); + return new AvroMapType(AvroType.fromSchema(schema.values)); + + case AvroComplex.ARRAY: + case AvroComplex.FIXED: + default: + throw new Error(`Unexpected Avro type ${type} in ${schema}`); } - }, - queryParameters: [ timeoutInSeconds, snapshot, versionId, { - parameterPath: [ "options", "blobDeleteType" ], - mapper: { - serializedName: "deletetype", - xmlName: "deletetype", - type: { - name: "String" - } + } + } + class AvroPrimitiveType extends AvroType { + constructor(primitive) { + super(), this._primitive = primitive; + } + read(stream, options = {}) { + switch (this._primitive) { + case AvroPrimitive.NULL: + return AvroParser.readNull(); + + case AvroPrimitive.BOOLEAN: + return AvroParser.readBoolean(stream, options); + + case AvroPrimitive.INT: + return AvroParser.readInt(stream, options); + + case AvroPrimitive.LONG: + return AvroParser.readLong(stream, options); + + case AvroPrimitive.FLOAT: + return AvroParser.readFloat(stream, options); + + case AvroPrimitive.DOUBLE: + return AvroParser.readDouble(stream, options); + + case AvroPrimitive.BYTES: + return AvroParser.readBytes(stream, options); + + case AvroPrimitive.STRING: + return AvroParser.readString(stream, options); + + default: + throw new Error("Unknown Avro Primitive"); } - } ], - urlParameters: [ url ], - headerParameters: [ version, requestId, accept1, leaseId, ifModifiedSince, ifUnmodifiedSince, ifMatch, ifNoneMatch, ifTags, { - parameterPath: [ "options", "deleteSnapshots" ], - mapper: { - serializedName: "x-ms-delete-snapshots", - xmlName: "x-ms-delete-snapshots", - type: { - name: "Enum", - allowedValues: [ "include", "only" ] - } - } - } ], - isXML: !0, - serializer: blob_xmlSerializer - }, undeleteOperationSpec = { - path: "/{containerName}/{blob}", - httpMethod: "PUT", - responses: { - 200: { - headersMapper: BlobUndeleteHeaders - }, - default: { - bodyMapper: StorageError, - headersMapper: BlobUndeleteExceptionHeaders - } - }, - queryParameters: [ timeoutInSeconds, comp8 ], - urlParameters: [ url ], - headerParameters: [ version, requestId, accept1 ], - isXML: !0, - serializer: blob_xmlSerializer - }, setExpiryOperationSpec = { - path: "/{containerName}/{blob}", - httpMethod: "PUT", - responses: { - 200: { - headersMapper: BlobSetExpiryHeaders - }, - default: { - bodyMapper: StorageError, - headersMapper: BlobSetExpiryExceptionHeaders - } - }, - queryParameters: [ timeoutInSeconds, { - parameterPath: "comp", - mapper: { - defaultValue: "expiry", - isConstant: !0, - serializedName: "comp", - type: { - name: "String" - } - } - } ], - urlParameters: [ url ], - headerParameters: [ version, requestId, accept1, { - parameterPath: "expiryOptions", - mapper: { - serializedName: "x-ms-expiry-option", - required: !0, - xmlName: "x-ms-expiry-option", - type: { - name: "String" - } - } - }, { - parameterPath: [ "options", "expiresOn" ], - mapper: { - serializedName: "x-ms-expiry-time", - xmlName: "x-ms-expiry-time", - type: { - name: "String" - } - } - } ], - isXML: !0, - serializer: blob_xmlSerializer - }, setHttpHeadersOperationSpec = { - path: "/{containerName}/{blob}", - httpMethod: "PUT", - responses: { - 200: { - headersMapper: BlobSetHttpHeadersHeaders - }, - default: { - bodyMapper: StorageError, - headersMapper: BlobSetHttpHeadersExceptionHeaders - } - }, - queryParameters: [ comp, timeoutInSeconds ], - urlParameters: [ url ], - headerParameters: [ version, requestId, accept1, leaseId, ifModifiedSince, ifUnmodifiedSince, ifMatch, ifNoneMatch, ifTags, blobCacheControl, blobContentType, blobContentMD5, blobContentEncoding, blobContentLanguage, blobContentDisposition ], - isXML: !0, - serializer: blob_xmlSerializer - }, setImmutabilityPolicyOperationSpec = { - path: "/{containerName}/{blob}", - httpMethod: "PUT", - responses: { - 200: { - headersMapper: BlobSetImmutabilityPolicyHeaders - }, - default: { - bodyMapper: StorageError, - headersMapper: BlobSetImmutabilityPolicyExceptionHeaders - } - }, - queryParameters: [ timeoutInSeconds, comp12 ], - urlParameters: [ url ], - headerParameters: [ version, requestId, accept1, ifUnmodifiedSince, immutabilityPolicyExpiry, immutabilityPolicyMode ], - isXML: !0, - serializer: blob_xmlSerializer - }, deleteImmutabilityPolicyOperationSpec = { - path: "/{containerName}/{blob}", - httpMethod: "DELETE", - responses: { - 200: { - headersMapper: BlobDeleteImmutabilityPolicyHeaders - }, - default: { - bodyMapper: StorageError, - headersMapper: BlobDeleteImmutabilityPolicyExceptionHeaders - } - }, - queryParameters: [ timeoutInSeconds, comp12 ], - urlParameters: [ url ], - headerParameters: [ version, requestId, accept1 ], - isXML: !0, - serializer: blob_xmlSerializer - }, setLegalHoldOperationSpec = { - path: "/{containerName}/{blob}", - httpMethod: "PUT", - responses: { - 200: { - headersMapper: BlobSetLegalHoldHeaders - }, - default: { - bodyMapper: StorageError, - headersMapper: BlobSetLegalHoldExceptionHeaders - } - }, - queryParameters: [ timeoutInSeconds, { - parameterPath: "comp", - mapper: { - defaultValue: "legalhold", - isConstant: !0, - serializedName: "comp", - type: { - name: "String" - } - } - } ], - urlParameters: [ url ], - headerParameters: [ version, requestId, accept1, { - parameterPath: "legalHold", - mapper: { - serializedName: "x-ms-legal-hold", - required: !0, - xmlName: "x-ms-legal-hold", - type: { - name: "Boolean" - } - } - } ], - isXML: !0, - serializer: blob_xmlSerializer - }, blob_setMetadataOperationSpec = { - path: "/{containerName}/{blob}", - httpMethod: "PUT", - responses: { - 200: { - headersMapper: BlobSetMetadataHeaders - }, - default: { - bodyMapper: StorageError, - headersMapper: BlobSetMetadataExceptionHeaders - } - }, - queryParameters: [ timeoutInSeconds, comp6 ], - urlParameters: [ url ], - headerParameters: [ version, requestId, accept1, metadata, leaseId, ifModifiedSince, ifUnmodifiedSince, encryptionKey, encryptionKeySha256, encryptionAlgorithm, ifMatch, ifNoneMatch, ifTags, encryptionScope ], - isXML: !0, - serializer: blob_xmlSerializer - }, blob_acquireLeaseOperationSpec = { - path: "/{containerName}/{blob}", - httpMethod: "PUT", - responses: { - 201: { - headersMapper: BlobAcquireLeaseHeaders - }, - default: { - bodyMapper: StorageError, - headersMapper: BlobAcquireLeaseExceptionHeaders - } - }, - queryParameters: [ timeoutInSeconds, comp10 ], - urlParameters: [ url ], - headerParameters: [ version, requestId, accept1, ifModifiedSince, ifUnmodifiedSince, action, duration, proposedLeaseId, ifMatch, ifNoneMatch, ifTags ], - isXML: !0, - serializer: blob_xmlSerializer - }, blob_releaseLeaseOperationSpec = { - path: "/{containerName}/{blob}", - httpMethod: "PUT", - responses: { - 200: { - headersMapper: BlobReleaseLeaseHeaders - }, - default: { - bodyMapper: StorageError, - headersMapper: BlobReleaseLeaseExceptionHeaders - } - }, - queryParameters: [ timeoutInSeconds, comp10 ], - urlParameters: [ url ], - headerParameters: [ version, requestId, accept1, ifModifiedSince, ifUnmodifiedSince, action1, leaseId1, ifMatch, ifNoneMatch, ifTags ], - isXML: !0, - serializer: blob_xmlSerializer - }, blob_renewLeaseOperationSpec = { - path: "/{containerName}/{blob}", - httpMethod: "PUT", - responses: { - 200: { - headersMapper: BlobRenewLeaseHeaders - }, - default: { - bodyMapper: StorageError, - headersMapper: BlobRenewLeaseExceptionHeaders - } - }, - queryParameters: [ timeoutInSeconds, comp10 ], - urlParameters: [ url ], - headerParameters: [ version, requestId, accept1, ifModifiedSince, ifUnmodifiedSince, leaseId1, action2, ifMatch, ifNoneMatch, ifTags ], - isXML: !0, - serializer: blob_xmlSerializer - }, blob_changeLeaseOperationSpec = { - path: "/{containerName}/{blob}", - httpMethod: "PUT", - responses: { - 200: { - headersMapper: BlobChangeLeaseHeaders - }, - default: { - bodyMapper: StorageError, - headersMapper: BlobChangeLeaseExceptionHeaders - } - }, - queryParameters: [ timeoutInSeconds, comp10 ], - urlParameters: [ url ], - headerParameters: [ version, requestId, accept1, ifModifiedSince, ifUnmodifiedSince, leaseId1, action4, proposedLeaseId1, ifMatch, ifNoneMatch, ifTags ], - isXML: !0, - serializer: blob_xmlSerializer - }, blob_breakLeaseOperationSpec = { - path: "/{containerName}/{blob}", - httpMethod: "PUT", - responses: { - 202: { - headersMapper: BlobBreakLeaseHeaders - }, - default: { - bodyMapper: StorageError, - headersMapper: BlobBreakLeaseExceptionHeaders - } - }, - queryParameters: [ timeoutInSeconds, comp10 ], - urlParameters: [ url ], - headerParameters: [ version, requestId, accept1, ifModifiedSince, ifUnmodifiedSince, action3, breakPeriod, ifMatch, ifNoneMatch, ifTags ], - isXML: !0, - serializer: blob_xmlSerializer - }, createSnapshotOperationSpec = { - path: "/{containerName}/{blob}", - httpMethod: "PUT", - responses: { - 201: { - headersMapper: BlobCreateSnapshotHeaders - }, - default: { - bodyMapper: StorageError, - headersMapper: BlobCreateSnapshotExceptionHeaders - } - }, - queryParameters: [ timeoutInSeconds, { - parameterPath: "comp", - mapper: { - defaultValue: "snapshot", - isConstant: !0, - serializedName: "comp", - type: { - name: "String" - } - } - } ], - urlParameters: [ url ], - headerParameters: [ version, requestId, accept1, metadata, leaseId, ifModifiedSince, ifUnmodifiedSince, encryptionKey, encryptionKeySha256, encryptionAlgorithm, ifMatch, ifNoneMatch, ifTags, encryptionScope ], - isXML: !0, - serializer: blob_xmlSerializer - }, startCopyFromURLOperationSpec = { - path: "/{containerName}/{blob}", - httpMethod: "PUT", - responses: { - 202: { - headersMapper: BlobStartCopyFromURLHeaders - }, - default: { - bodyMapper: StorageError, - headersMapper: BlobStartCopyFromURLExceptionHeaders - } - }, - queryParameters: [ timeoutInSeconds ], - urlParameters: [ url ], - headerParameters: [ version, requestId, accept1, metadata, leaseId, ifModifiedSince, ifUnmodifiedSince, ifMatch, ifNoneMatch, ifTags, immutabilityPolicyExpiry, immutabilityPolicyMode, tier, rehydratePriority, sourceIfModifiedSince, sourceIfUnmodifiedSince, sourceIfMatch, sourceIfNoneMatch, sourceIfTags, copySource, blobTagsString, { - parameterPath: [ "options", "sealBlob" ], - mapper: { - serializedName: "x-ms-seal-blob", - xmlName: "x-ms-seal-blob", - type: { - name: "Boolean" - } - } - }, legalHold1 ], - isXML: !0, - serializer: blob_xmlSerializer - }, copyFromURLOperationSpec = { - path: "/{containerName}/{blob}", - httpMethod: "PUT", - responses: { - 202: { - headersMapper: BlobCopyFromURLHeaders - }, - default: { - bodyMapper: StorageError, - headersMapper: BlobCopyFromURLExceptionHeaders - } - }, - queryParameters: [ timeoutInSeconds ], - urlParameters: [ url ], - headerParameters: [ version, requestId, accept1, metadata, leaseId, ifModifiedSince, ifUnmodifiedSince, ifMatch, ifNoneMatch, ifTags, immutabilityPolicyExpiry, immutabilityPolicyMode, encryptionScope, tier, sourceIfModifiedSince, sourceIfUnmodifiedSince, sourceIfMatch, sourceIfNoneMatch, copySource, blobTagsString, legalHold1, { - parameterPath: "xMsRequiresSync", - mapper: { - defaultValue: "true", - isConstant: !0, - serializedName: "x-ms-requires-sync", - type: { - name: "String" - } - } - }, sourceContentMD5, copySourceAuthorization, copySourceTags ], - isXML: !0, - serializer: blob_xmlSerializer - }, abortCopyFromURLOperationSpec = { - path: "/{containerName}/{blob}", - httpMethod: "PUT", - responses: { - 204: { - headersMapper: BlobAbortCopyFromURLHeaders - }, - default: { - bodyMapper: StorageError, - headersMapper: BlobAbortCopyFromURLExceptionHeaders - } - }, - queryParameters: [ timeoutInSeconds, { - parameterPath: "comp", - mapper: { - defaultValue: "copy", - isConstant: !0, - serializedName: "comp", - type: { - name: "String" - } - } - }, { - parameterPath: "copyId", - mapper: { - serializedName: "copyid", - required: !0, - xmlName: "copyid", - type: { - name: "String" - } - } - } ], - urlParameters: [ url ], - headerParameters: [ version, requestId, accept1, leaseId, { - parameterPath: "copyActionAbortConstant", - mapper: { - defaultValue: "abort", - isConstant: !0, - serializedName: "x-ms-copy-action", - type: { - name: "String" - } - } - } ], - isXML: !0, - serializer: blob_xmlSerializer - }, setTierOperationSpec = { - path: "/{containerName}/{blob}", - httpMethod: "PUT", - responses: { - 200: { - headersMapper: BlobSetTierHeaders - }, - 202: { - headersMapper: BlobSetTierHeaders - }, - default: { - bodyMapper: StorageError, - headersMapper: BlobSetTierExceptionHeaders - } - }, - queryParameters: [ timeoutInSeconds, snapshot, versionId, { - parameterPath: "comp", - mapper: { - defaultValue: "tier", - isConstant: !0, - serializedName: "comp", - type: { - name: "String" - } - } - } ], - urlParameters: [ url ], - headerParameters: [ version, requestId, accept1, leaseId, ifTags, rehydratePriority, { - parameterPath: "tier", - mapper: { - serializedName: "x-ms-access-tier", - required: !0, - xmlName: "x-ms-access-tier", - type: { - name: "Enum", - allowedValues: [ "P4", "P6", "P10", "P15", "P20", "P30", "P40", "P50", "P60", "P70", "P80", "Hot", "Cool", "Archive" ] - } - } - } ], - isXML: !0, - serializer: blob_xmlSerializer - }, blob_getAccountInfoOperationSpec = { - path: "/{containerName}/{blob}", - httpMethod: "GET", - responses: { - 200: { - headersMapper: BlobGetAccountInfoHeaders - }, - default: { - bodyMapper: StorageError, - headersMapper: BlobGetAccountInfoExceptionHeaders - } - }, - queryParameters: [ comp, restype1 ], - urlParameters: [ url ], - headerParameters: [ version, accept1 ], - isXML: !0, - serializer: blob_xmlSerializer - }, queryOperationSpec = { - path: "/{containerName}/{blob}", - httpMethod: "POST", - responses: { - 200: { - bodyMapper: { - type: { - name: "Stream" - }, - serializedName: "parsedResponse" - }, - headersMapper: BlobQueryHeaders - }, - 206: { - bodyMapper: { - type: { - name: "Stream" - }, - serializedName: "parsedResponse" - }, - headersMapper: BlobQueryHeaders - }, - default: { - bodyMapper: StorageError, - headersMapper: BlobQueryExceptionHeaders - } - }, - requestBody: queryRequest, - queryParameters: [ timeoutInSeconds, snapshot, { - parameterPath: "comp", - mapper: { - defaultValue: "query", - isConstant: !0, - serializedName: "comp", - type: { - name: "String" - } - } - } ], - urlParameters: [ url ], - headerParameters: [ contentType, accept, version, requestId, leaseId, ifModifiedSince, ifUnmodifiedSince, encryptionKey, encryptionKeySha256, encryptionAlgorithm, ifMatch, ifNoneMatch, ifTags ], - isXML: !0, - contentType: "application/xml; charset=utf-8", - mediaType: "xml", - serializer: blob_xmlSerializer - }, getTagsOperationSpec = { - path: "/{containerName}/{blob}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: BlobTags, - headersMapper: BlobGetTagsHeaders - }, - default: { - bodyMapper: StorageError, - headersMapper: BlobGetTagsExceptionHeaders - } - }, - queryParameters: [ timeoutInSeconds, snapshot, versionId, comp18 ], - urlParameters: [ url ], - headerParameters: [ version, requestId, accept1, leaseId, ifTags ], - isXML: !0, - serializer: blob_xmlSerializer - }, setTagsOperationSpec = { - path: "/{containerName}/{blob}", - httpMethod: "PUT", - responses: { - 204: { - headersMapper: BlobSetTagsHeaders - }, - default: { - bodyMapper: StorageError, - headersMapper: BlobSetTagsExceptionHeaders - } - }, - requestBody: tags, - queryParameters: [ timeoutInSeconds, versionId, comp18 ], - urlParameters: [ url ], - headerParameters: [ contentType, accept, version, requestId, leaseId, ifTags, transactionalContentMD5, transactionalContentCrc64 ], - isXML: !0, - contentType: "application/xml; charset=utf-8", - mediaType: "xml", - serializer: blob_xmlSerializer - }; - class BlobLeaseClient { - constructor(client, leaseId) { - const clientContext = new StorageClientContext(client.url, client.pipeline.toServiceClientOptions()); - this._url = client.url, void 0 === client.name ? (this._isContainer = !0, this._containerOrBlobOperation = new Container(clientContext)) : (this._isContainer = !1, - this._containerOrBlobOperation = new blob_Blob(clientContext)), leaseId || (leaseId = generateUuid()), - this._leaseId = leaseId; - } - get leaseId() { - return this._leaseId; - } - get url() { - return this._url; - } - async acquireLease(duration, options = {}) { - var _a, _b, _c, _d, _e, _f; - const {span, updatedOptions} = tracing_createSpan("BlobLeaseClient-acquireLease", options); - if (this._isContainer && ((null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.ifMatch) && "" !== (null === (_b = options.conditions) || void 0 === _b ? void 0 : _b.ifMatch) || (null === (_c = options.conditions) || void 0 === _c ? void 0 : _c.ifNoneMatch) && "" !== (null === (_d = options.conditions) || void 0 === _d ? void 0 : _d.ifNoneMatch) || (null === (_e = options.conditions) || void 0 === _e ? void 0 : _e.tagConditions))) throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable."); - try { - return await this._containerOrBlobOperation.acquireLease(Object.assign({ - abortSignal: options.abortSignal, - duration, - modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { - ifTags: null === (_f = options.conditions) || void 0 === _f ? void 0 : _f.tagConditions - }), - proposedLeaseId: this._leaseId - }, convertTracingToRequestOptionsBase(updatedOptions))); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } - } - async changeLease(proposedLeaseId, options = {}) { - var _a, _b, _c, _d, _e, _f; - const {span, updatedOptions} = tracing_createSpan("BlobLeaseClient-changeLease", options); - if (this._isContainer && ((null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.ifMatch) && "" !== (null === (_b = options.conditions) || void 0 === _b ? void 0 : _b.ifMatch) || (null === (_c = options.conditions) || void 0 === _c ? void 0 : _c.ifNoneMatch) && "" !== (null === (_d = options.conditions) || void 0 === _d ? void 0 : _d.ifNoneMatch) || (null === (_e = options.conditions) || void 0 === _e ? void 0 : _e.tagConditions))) throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable."); - try { - const response = await this._containerOrBlobOperation.changeLease(this._leaseId, proposedLeaseId, Object.assign({ - abortSignal: options.abortSignal, - modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { - ifTags: null === (_f = options.conditions) || void 0 === _f ? void 0 : _f.tagConditions - }) - }, convertTracingToRequestOptionsBase(updatedOptions))); - return this._leaseId = proposedLeaseId, response; - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } - } - async releaseLease(options = {}) { - var _a, _b, _c, _d, _e, _f; - const {span, updatedOptions} = tracing_createSpan("BlobLeaseClient-releaseLease", options); - if (this._isContainer && ((null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.ifMatch) && "" !== (null === (_b = options.conditions) || void 0 === _b ? void 0 : _b.ifMatch) || (null === (_c = options.conditions) || void 0 === _c ? void 0 : _c.ifNoneMatch) && "" !== (null === (_d = options.conditions) || void 0 === _d ? void 0 : _d.ifNoneMatch) || (null === (_e = options.conditions) || void 0 === _e ? void 0 : _e.tagConditions))) throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable."); - try { - return await this._containerOrBlobOperation.releaseLease(this._leaseId, Object.assign({ - abortSignal: options.abortSignal, - modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { - ifTags: null === (_f = options.conditions) || void 0 === _f ? void 0 : _f.tagConditions - }) - }, convertTracingToRequestOptionsBase(updatedOptions))); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } - } - async renewLease(options = {}) { - var _a, _b, _c, _d, _e, _f; - const {span, updatedOptions} = tracing_createSpan("BlobLeaseClient-renewLease", options); - if (this._isContainer && ((null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.ifMatch) && "" !== (null === (_b = options.conditions) || void 0 === _b ? void 0 : _b.ifMatch) || (null === (_c = options.conditions) || void 0 === _c ? void 0 : _c.ifNoneMatch) && "" !== (null === (_d = options.conditions) || void 0 === _d ? void 0 : _d.ifNoneMatch) || (null === (_e = options.conditions) || void 0 === _e ? void 0 : _e.tagConditions))) throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable."); - try { - return await this._containerOrBlobOperation.renewLease(this._leaseId, Object.assign({ - abortSignal: options.abortSignal, - modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { - ifTags: null === (_f = options.conditions) || void 0 === _f ? void 0 : _f.tagConditions - }) - }, convertTracingToRequestOptionsBase(updatedOptions))); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } - } - async breakLease(breakPeriod, options = {}) { - var _a, _b, _c, _d, _e, _f; - const {span, updatedOptions} = tracing_createSpan("BlobLeaseClient-breakLease", options); - if (this._isContainer && ((null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.ifMatch) && "" !== (null === (_b = options.conditions) || void 0 === _b ? void 0 : _b.ifMatch) || (null === (_c = options.conditions) || void 0 === _c ? void 0 : _c.ifNoneMatch) && "" !== (null === (_d = options.conditions) || void 0 === _d ? void 0 : _d.ifNoneMatch) || (null === (_e = options.conditions) || void 0 === _e ? void 0 : _e.tagConditions))) throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable."); - try { - const operationOptions = Object.assign({ - abortSignal: options.abortSignal, - breakPeriod, - modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { - ifTags: null === (_f = options.conditions) || void 0 === _f ? void 0 : _f.tagConditions - }) - }, convertTracingToRequestOptionsBase(updatedOptions)); - return await this._containerOrBlobOperation.breakLease(operationOptions); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } - } - } - class RetriableReadableStream extends external_stream_.Readable { - constructor(source, getter, offset, count, options = {}) { - super({ - highWaterMark: options.highWaterMark - }), this.retries = 0, this.sourceDataHandler = data => { - if (this.options.doInjectErrorOnce) return this.options.doInjectErrorOnce = void 0, - this.source.pause(), this.source.removeAllListeners("data"), void this.source.emit("end"); - this.offset += data.length, this.onProgress && this.onProgress({ - loadedBytes: this.offset - this.start - }), this.push(data) || this.source.pause(); - }, this.sourceErrorOrEndHandler = err => { - err && "AbortError" === err.name ? this.destroy(err) : (this.removeSourceEventHandlers(), - this.offset - 1 === this.end ? this.push(null) : this.offset <= this.end ? this.retries < this.maxRetryRequests ? (this.retries += 1, - this.getter(this.offset).then((newSource => { - this.source = newSource, this.setSourceEventHandlers(); - })).catch((error => { - this.destroy(error); - }))) : this.destroy(new Error(`Data corruption failure: received less data than required and reached maxRetires limitation. Received data offset: ${this.offset - 1}, data needed offset: ${this.end}, retries: ${this.retries}, max retries: ${this.maxRetryRequests}`)) : this.destroy(new Error(`Data corruption failure: Received more data than original request, data needed offset is ${this.end}, received offset: ${this.offset - 1}`))); - }, this.getter = getter, this.source = source, this.start = offset, this.offset = offset, - this.end = offset + count - 1, this.maxRetryRequests = options.maxRetryRequests && options.maxRetryRequests >= 0 ? options.maxRetryRequests : 0, - this.onProgress = options.onProgress, this.options = options, this.setSourceEventHandlers(); - } - _read() { - this.source.resume(); - } - setSourceEventHandlers() { - this.source.on("data", this.sourceDataHandler), this.source.on("end", this.sourceErrorOrEndHandler), - this.source.on("error", this.sourceErrorOrEndHandler); - } - removeSourceEventHandlers() { - this.source.removeListener("data", this.sourceDataHandler), this.source.removeListener("end", this.sourceErrorOrEndHandler), - this.source.removeListener("error", this.sourceErrorOrEndHandler); - } - _destroy(error, callback) { - this.removeSourceEventHandlers(), this.source.destroy(), callback(null === error ? void 0 : error); - } - } - class BlobDownloadResponse { - constructor(originalResponse, getter, offset, count, options = {}) { - this.originalResponse = originalResponse, this.blobDownloadStream = new RetriableReadableStream(this.originalResponse.readableStreamBody, getter, offset, count, options); - } - get acceptRanges() { - return this.originalResponse.acceptRanges; - } - get cacheControl() { - return this.originalResponse.cacheControl; - } - get contentDisposition() { - return this.originalResponse.contentDisposition; - } - get contentEncoding() { - return this.originalResponse.contentEncoding; - } - get contentLanguage() { - return this.originalResponse.contentLanguage; - } - get blobSequenceNumber() { - return this.originalResponse.blobSequenceNumber; - } - get blobType() { - return this.originalResponse.blobType; - } - get contentLength() { - return this.originalResponse.contentLength; - } - get contentMD5() { - return this.originalResponse.contentMD5; - } - get contentRange() { - return this.originalResponse.contentRange; - } - get contentType() { - return this.originalResponse.contentType; - } - get copyCompletedOn() { - return this.originalResponse.copyCompletedOn; - } - get copyId() { - return this.originalResponse.copyId; - } - get copyProgress() { - return this.originalResponse.copyProgress; - } - get copySource() { - return this.originalResponse.copySource; - } - get copyStatus() { - return this.originalResponse.copyStatus; - } - get copyStatusDescription() { - return this.originalResponse.copyStatusDescription; - } - get leaseDuration() { - return this.originalResponse.leaseDuration; - } - get leaseState() { - return this.originalResponse.leaseState; - } - get leaseStatus() { - return this.originalResponse.leaseStatus; - } - get date() { - return this.originalResponse.date; - } - get blobCommittedBlockCount() { - return this.originalResponse.blobCommittedBlockCount; - } - get etag() { - return this.originalResponse.etag; - } - get tagCount() { - return this.originalResponse.tagCount; - } - get errorCode() { - return this.originalResponse.errorCode; - } - get isServerEncrypted() { - return this.originalResponse.isServerEncrypted; - } - get blobContentMD5() { - return this.originalResponse.blobContentMD5; - } - get lastModified() { - return this.originalResponse.lastModified; - } - get lastAccessed() { - return this.originalResponse.lastAccessed; - } - get metadata() { - return this.originalResponse.metadata; - } - get requestId() { - return this.originalResponse.requestId; - } - get clientRequestId() { - return this.originalResponse.clientRequestId; - } - get version() { - return this.originalResponse.version; - } - get versionId() { - return this.originalResponse.versionId; - } - get isCurrentVersion() { - return this.originalResponse.isCurrentVersion; - } - get encryptionKeySha256() { - return this.originalResponse.encryptionKeySha256; - } - get contentCrc64() { - return this.originalResponse.contentCrc64; - } - get objectReplicationDestinationPolicyId() { - return this.originalResponse.objectReplicationDestinationPolicyId; - } - get objectReplicationSourceProperties() { - return this.originalResponse.objectReplicationSourceProperties; - } - get isSealed() { - return this.originalResponse.isSealed; - } - get immutabilityPolicyExpiresOn() { - return this.originalResponse.immutabilityPolicyExpiresOn; - } - get immutabilityPolicyMode() { - return this.originalResponse.immutabilityPolicyMode; - } - get legalHold() { - return this.originalResponse.legalHold; - } - get contentAsBlob() { - return this.originalResponse.blobBody; - } - get readableStreamBody() { - return utils_isNode ? this.blobDownloadStream : void 0; - } - get _response() { - return this.originalResponse._response; - } - } - const AVRO_INIT_BYTES = new Uint8Array([ 79, 98, 106, 1 ]); - class AvroParser { - static async readFixedBytes(stream, length, options = {}) { - const bytes = await stream.read(length, { - abortSignal: options.abortSignal - }); - if (bytes.length !== length) throw new Error("Hit stream end."); - return bytes; - } - static async readByte(stream, options = {}) { - return (await AvroParser.readFixedBytes(stream, 1, options))[0]; - } - static async readZigZagLong(stream, options = {}) { - let byte, haveMoreByte, significanceInFloat, zigZagEncoded = 0, significanceInBit = 0; - do { - byte = await AvroParser.readByte(stream, options), haveMoreByte = 128 & byte, zigZagEncoded |= (127 & byte) << significanceInBit, - significanceInBit += 7; - } while (haveMoreByte && significanceInBit < 28); - if (haveMoreByte) { - significanceInFloat = 268435456; - do { - byte = await AvroParser.readByte(stream, options), zigZagEncoded += (127 & byte) * significanceInFloat, - significanceInFloat *= 128; - } while (128 & byte); - const res = (zigZagEncoded % 2 ? -(zigZagEncoded + 1) : zigZagEncoded) / 2; - if (res < Number.MIN_SAFE_INTEGER || res > Number.MAX_SAFE_INTEGER) throw new Error("Integer overflow."); - return res; - } - return zigZagEncoded >> 1 ^ -(1 & zigZagEncoded); - } - static async readLong(stream, options = {}) { - return AvroParser.readZigZagLong(stream, options); - } - static async readInt(stream, options = {}) { - return AvroParser.readZigZagLong(stream, options); - } - static async readNull() { - return null; - } - static async readBoolean(stream, options = {}) { - const b = await AvroParser.readByte(stream, options); - if (1 === b) return !0; - if (0 === b) return !1; - throw new Error("Byte was not a boolean."); - } - static async readFloat(stream, options = {}) { - const u8arr = await AvroParser.readFixedBytes(stream, 4, options); - return new DataView(u8arr.buffer, u8arr.byteOffset, u8arr.byteLength).getFloat32(0, !0); - } - static async readDouble(stream, options = {}) { - const u8arr = await AvroParser.readFixedBytes(stream, 8, options); - return new DataView(u8arr.buffer, u8arr.byteOffset, u8arr.byteLength).getFloat64(0, !0); - } - static async readBytes(stream, options = {}) { - const size = await AvroParser.readLong(stream, options); - if (size < 0) throw new Error("Bytes size was negative."); - return stream.read(size, { - abortSignal: options.abortSignal - }); - } - static async readString(stream, options = {}) { - const u8arr = await AvroParser.readBytes(stream, options); - return (new TextDecoder).decode(u8arr); - } - static async readMapPair(stream, readItemMethod, options = {}) { - return { - key: await AvroParser.readString(stream, options), - value: await readItemMethod(stream, options) - }; - } - static async readMap(stream, readItemMethod, options = {}) { - const pairs = await AvroParser.readArray(stream, ((s, opts = {}) => AvroParser.readMapPair(s, readItemMethod, opts)), options), dict = {}; - for (const pair of pairs) dict[pair.key] = pair.value; - return dict; - } - static async readArray(stream, readItemMethod, options = {}) { - const items = []; - for (let count = await AvroParser.readLong(stream, options); 0 !== count; count = await AvroParser.readLong(stream, options)) for (count < 0 && (await AvroParser.readLong(stream, options), - count = -count); count--; ) { - const item = await readItemMethod(stream, options); - items.push(item); - } - return items; - } - } - var AvroComplex, AvroPrimitive; - !function(AvroComplex) { - AvroComplex.RECORD = "record", AvroComplex.ENUM = "enum", AvroComplex.ARRAY = "array", - AvroComplex.MAP = "map", AvroComplex.UNION = "union", AvroComplex.FIXED = "fixed"; - }(AvroComplex || (AvroComplex = {})), function(AvroPrimitive) { - AvroPrimitive.NULL = "null", AvroPrimitive.BOOLEAN = "boolean", AvroPrimitive.INT = "int", - AvroPrimitive.LONG = "long", AvroPrimitive.FLOAT = "float", AvroPrimitive.DOUBLE = "double", - AvroPrimitive.BYTES = "bytes", AvroPrimitive.STRING = "string"; - }(AvroPrimitive || (AvroPrimitive = {})); - class AvroType { - static fromSchema(schema) { - return "string" == typeof schema ? AvroType.fromStringSchema(schema) : Array.isArray(schema) ? AvroType.fromArraySchema(schema) : AvroType.fromObjectSchema(schema); - } - static fromStringSchema(schema) { - switch (schema) { - case AvroPrimitive.NULL: - case AvroPrimitive.BOOLEAN: - case AvroPrimitive.INT: - case AvroPrimitive.LONG: - case AvroPrimitive.FLOAT: - case AvroPrimitive.DOUBLE: - case AvroPrimitive.BYTES: - case AvroPrimitive.STRING: - return new AvroPrimitiveType(schema); - - default: - throw new Error(`Unexpected Avro type ${schema}`); - } - } - static fromArraySchema(schema) { - return new AvroUnionType(schema.map(AvroType.fromSchema)); - } - static fromObjectSchema(schema) { - const type = schema.type; - try { - return AvroType.fromStringSchema(type); - } catch (err) {} - switch (type) { - case AvroComplex.RECORD: - if (schema.aliases) throw new Error(`aliases currently is not supported, schema: ${schema}`); - if (!schema.name) throw new Error(`Required attribute 'name' doesn't exist on schema: ${schema}`); - const fields = {}; - if (!schema.fields) throw new Error(`Required attribute 'fields' doesn't exist on schema: ${schema}`); - for (const field of schema.fields) fields[field.name] = AvroType.fromSchema(field.type); - return new AvroRecordType(fields, schema.name); - - case AvroComplex.ENUM: - if (schema.aliases) throw new Error(`aliases currently is not supported, schema: ${schema}`); - if (!schema.symbols) throw new Error(`Required attribute 'symbols' doesn't exist on schema: ${schema}`); - return new AvroEnumType(schema.symbols); - - case AvroComplex.MAP: - if (!schema.values) throw new Error(`Required attribute 'values' doesn't exist on schema: ${schema}`); - return new AvroMapType(AvroType.fromSchema(schema.values)); - - case AvroComplex.ARRAY: - case AvroComplex.FIXED: - default: - throw new Error(`Unexpected Avro type ${type} in ${schema}`); - } - } - } - class AvroPrimitiveType extends AvroType { - constructor(primitive) { - super(), this._primitive = primitive; - } - read(stream, options = {}) { - switch (this._primitive) { - case AvroPrimitive.NULL: - return AvroParser.readNull(); - - case AvroPrimitive.BOOLEAN: - return AvroParser.readBoolean(stream, options); - - case AvroPrimitive.INT: - return AvroParser.readInt(stream, options); - - case AvroPrimitive.LONG: - return AvroParser.readLong(stream, options); - - case AvroPrimitive.FLOAT: - return AvroParser.readFloat(stream, options); - - case AvroPrimitive.DOUBLE: - return AvroParser.readDouble(stream, options); - - case AvroPrimitive.BYTES: - return AvroParser.readBytes(stream, options); - - case AvroPrimitive.STRING: - return AvroParser.readString(stream, options); - - default: - throw new Error("Unknown Avro Primitive"); - } - } - } - class AvroEnumType extends AvroType { - constructor(symbols) { - super(), this._symbols = symbols; - } - async read(stream, options = {}) { - const value = await AvroParser.readInt(stream, options); - return this._symbols[value]; - } - } - class AvroUnionType extends AvroType { - constructor(types) { - super(), this._types = types; - } - async read(stream, options = {}) { - const typeIndex = await AvroParser.readInt(stream, options); - return this._types[typeIndex].read(stream, options); - } - } - class AvroMapType extends AvroType { - constructor(itemType) { - super(), this._itemType = itemType; - } - read(stream, options = {}) { - return AvroParser.readMap(stream, ((s, opts) => this._itemType.read(s, opts)), options); - } - } - class AvroRecordType extends AvroType { - constructor(fields, name) { - super(), this._fields = fields, this._name = name; - } - async read(stream, options = {}) { - const record = {}; - record.$schema = this._name; - for (const key in this._fields) Object.prototype.hasOwnProperty.call(this._fields, key) && (record[key] = await this._fields[key].read(stream, options)); - return record; - } - } - function arraysEqual(a, b) { - if (a === b) return !0; - if (null == a || null == b) return !1; - if (a.length !== b.length) return !1; - for (let i = 0; i < a.length; ++i) if (a[i] !== b[i]) return !1; - return !0; - } - class AvroReader { - constructor(dataStream, headerStream, currentBlockOffset, indexWithinCurrentBlock) { - this._dataStream = dataStream, this._headerStream = headerStream || dataStream, - this._initialized = !1, this._blockOffset = currentBlockOffset || 0, this._objectIndex = indexWithinCurrentBlock || 0, - this._initialBlockOffset = currentBlockOffset || 0; - } - get blockOffset() { - return this._blockOffset; - } - get objectIndex() { - return this._objectIndex; - } - async initialize(options = {}) { - if (!arraysEqual(await AvroParser.readFixedBytes(this._headerStream, AVRO_INIT_BYTES.length, { - abortSignal: options.abortSignal - }), AVRO_INIT_BYTES)) throw new Error("Stream is not an Avro file."); - this._metadata = await AvroParser.readMap(this._headerStream, AvroParser.readString, { - abortSignal: options.abortSignal - }); - const codec = this._metadata["avro.codec"]; - if (null != codec && "null" !== codec) throw new Error("Codecs are not supported"); - this._syncMarker = await AvroParser.readFixedBytes(this._headerStream, 16, { - abortSignal: options.abortSignal - }); - const schema = JSON.parse(this._metadata["avro.schema"]); - if (this._itemType = AvroType.fromSchema(schema), 0 === this._blockOffset && (this._blockOffset = this._initialBlockOffset + this._dataStream.position), - this._itemsRemainingInBlock = await AvroParser.readLong(this._dataStream, { - abortSignal: options.abortSignal - }), await AvroParser.readLong(this._dataStream, { - abortSignal: options.abortSignal - }), this._initialized = !0, this._objectIndex && this._objectIndex > 0) for (let i = 0; i < this._objectIndex; i++) await this._itemType.read(this._dataStream, { - abortSignal: options.abortSignal - }), this._itemsRemainingInBlock--; - } - hasNext() { - return !this._initialized || this._itemsRemainingInBlock > 0; - } - parseObjects(options = {}) { - return tslib_es6_asyncGenerator(this, arguments, (function*() { - for (this._initialized || (yield tslib_es6_await(this.initialize(options))); this.hasNext(); ) { - const result = yield tslib_es6_await(this._itemType.read(this._dataStream, { - abortSignal: options.abortSignal - })); - if (this._itemsRemainingInBlock--, this._objectIndex++, 0 === this._itemsRemainingInBlock) { - const marker = yield tslib_es6_await(AvroParser.readFixedBytes(this._dataStream, 16, { - abortSignal: options.abortSignal - })); - if (this._blockOffset = this._initialBlockOffset + this._dataStream.position, this._objectIndex = 0, - !arraysEqual(this._syncMarker, marker)) throw new Error("Stream is not a valid Avro file."); - try { - this._itemsRemainingInBlock = yield tslib_es6_await(AvroParser.readLong(this._dataStream, { - abortSignal: options.abortSignal - })); - } catch (err) { - this._itemsRemainingInBlock = 0; - } - this._itemsRemainingInBlock > 0 && (yield tslib_es6_await(AvroParser.readLong(this._dataStream, { - abortSignal: options.abortSignal - }))); - } - yield yield tslib_es6_await(result); - } - })); - } - } - class AvroReadable {} - const ABORT_ERROR = new AbortController._("Reading from the avro stream was aborted."); - class AvroReadableFromStream extends AvroReadable { - constructor(readable) { - super(), this._readable = readable, this._position = 0; - } - toUint8Array(data) { - return "string" == typeof data ? Buffer.from(data) : data; - } - get position() { - return this._position; - } - async read(size, options = {}) { - var _a; - if (null === (_a = options.abortSignal) || void 0 === _a ? void 0 : _a.aborted) throw ABORT_ERROR; - if (size < 0) throw new Error(`size parameter should be positive: ${size}`); - if (0 === size) return new Uint8Array; - if (!this._readable.readable) throw new Error("Stream no longer readable."); - const chunk = this._readable.read(size); - return chunk ? (this._position += chunk.length, this.toUint8Array(chunk)) : new Promise(((resolve, reject) => { - const cleanUp = () => { - this._readable.removeListener("readable", readableCallback), this._readable.removeListener("error", rejectCallback), - this._readable.removeListener("end", rejectCallback), this._readable.removeListener("close", rejectCallback), - options.abortSignal && options.abortSignal.removeEventListener("abort", abortHandler); - }, readableCallback = () => { - const callbackChunk = this._readable.read(size); - callbackChunk && (this._position += callbackChunk.length, cleanUp(), resolve(this.toUint8Array(callbackChunk))); - }, rejectCallback = () => { - cleanUp(), reject(); - }, abortHandler = () => { - cleanUp(), reject(ABORT_ERROR); - }; - this._readable.on("readable", readableCallback), this._readable.once("error", rejectCallback), - this._readable.once("end", rejectCallback), this._readable.once("close", rejectCallback), - options.abortSignal && options.abortSignal.addEventListener("abort", abortHandler); - })); - } - } - class BlobQuickQueryStream extends external_stream_.Readable { - constructor(source, options = {}) { - super(), this.avroPaused = !0, this.source = source, this.onProgress = options.onProgress, - this.onError = options.onError, this.avroReader = new AvroReader(new AvroReadableFromStream(this.source)), - this.avroIter = this.avroReader.parseObjects({ - abortSignal: options.abortSignal - }); - } - _read() { - this.avroPaused && this.readInternal().catch((err => { - this.emit("error", err); - })); - } - async readInternal() { - let avroNext; - this.avroPaused = !1; - do { - if (avroNext = await this.avroIter.next(), avroNext.done) break; - const obj = avroNext.value, schema = obj.$schema; - if ("string" != typeof schema) throw Error("Missing schema in avro record."); - switch (schema) { - case "com.microsoft.azure.storage.queryBlobContents.resultData": - { - const data = obj.data; - if (data instanceof Uint8Array == !1) throw Error("Invalid data in avro result record."); - this.push(Buffer.from(data)) || (this.avroPaused = !0); - } - break; - - case "com.microsoft.azure.storage.queryBlobContents.progress": - { - const bytesScanned = obj.bytesScanned; - if ("number" != typeof bytesScanned) throw Error("Invalid bytesScanned in avro progress record."); - this.onProgress && this.onProgress({ - loadedBytes: bytesScanned - }); - } - break; - - case "com.microsoft.azure.storage.queryBlobContents.end": - if (this.onProgress) { - const totalBytes = obj.totalBytes; - if ("number" != typeof totalBytes) throw Error("Invalid totalBytes in avro end record."); - this.onProgress({ - loadedBytes: totalBytes - }); - } - this.push(null); - break; - - case "com.microsoft.azure.storage.queryBlobContents.error": - if (this.onError) { - const fatal = obj.fatal; - if ("boolean" != typeof fatal) throw Error("Invalid fatal in avro error record."); - const name = obj.name; - if ("string" != typeof name) throw Error("Invalid name in avro error record."); - const description = obj.description; - if ("string" != typeof description) throw Error("Invalid description in avro error record."); - const position = obj.position; - if ("number" != typeof position) throw Error("Invalid position in avro error record."); - this.onError({ - position, - name, - isFatal: fatal, - description - }); - } - break; - - default: - throw Error(`Unknown schema ${schema} in avro progress record.`); - } - } while (!avroNext.done && !this.avroPaused); - } - } - class BlobQueryResponse { - constructor(originalResponse, options = {}) { - this.originalResponse = originalResponse, this.blobDownloadStream = new BlobQuickQueryStream(this.originalResponse.readableStreamBody, options); - } - get acceptRanges() { - return this.originalResponse.acceptRanges; - } - get cacheControl() { - return this.originalResponse.cacheControl; - } - get contentDisposition() { - return this.originalResponse.contentDisposition; - } - get contentEncoding() { - return this.originalResponse.contentEncoding; - } - get contentLanguage() { - return this.originalResponse.contentLanguage; - } - get blobSequenceNumber() { - return this.originalResponse.blobSequenceNumber; - } - get blobType() { - return this.originalResponse.blobType; - } - get contentLength() { - return this.originalResponse.contentLength; - } - get contentMD5() { - return this.originalResponse.contentMD5; - } - get contentRange() { - return this.originalResponse.contentRange; - } - get contentType() { - return this.originalResponse.contentType; - } - get copyCompletedOn() {} - get copyId() { - return this.originalResponse.copyId; - } - get copyProgress() { - return this.originalResponse.copyProgress; - } - get copySource() { - return this.originalResponse.copySource; - } - get copyStatus() { - return this.originalResponse.copyStatus; - } - get copyStatusDescription() { - return this.originalResponse.copyStatusDescription; - } - get leaseDuration() { - return this.originalResponse.leaseDuration; - } - get leaseState() { - return this.originalResponse.leaseState; - } - get leaseStatus() { - return this.originalResponse.leaseStatus; - } - get date() { - return this.originalResponse.date; - } - get blobCommittedBlockCount() { - return this.originalResponse.blobCommittedBlockCount; - } - get etag() { - return this.originalResponse.etag; } - get errorCode() { - return this.originalResponse.errorCode; - } - get isServerEncrypted() { - return this.originalResponse.isServerEncrypted; - } - get blobContentMD5() { - return this.originalResponse.blobContentMD5; - } - get lastModified() { - return this.originalResponse.lastModified; - } - get metadata() { - return this.originalResponse.metadata; + } + class AvroEnumType extends AvroType { + constructor(symbols) { + super(), this._symbols = symbols; } - get requestId() { - return this.originalResponse.requestId; + async read(stream, options = {}) { + const value = await AvroParser.readInt(stream, options); + return this._symbols[value]; } - get clientRequestId() { - return this.originalResponse.clientRequestId; + } + class AvroUnionType extends AvroType { + constructor(types) { + super(), this._types = types; } - get version() { - return this.originalResponse.version; + async read(stream, options = {}) { + const typeIndex = await AvroParser.readInt(stream, options); + return this._types[typeIndex].read(stream, options); } - get encryptionKeySha256() { - return this.originalResponse.encryptionKeySha256; + } + class AvroMapType extends AvroType { + constructor(itemType) { + super(), this._itemType = itemType; } - get contentCrc64() { - return this.originalResponse.contentCrc64; + read(stream, options = {}) { + return AvroParser.readMap(stream, ((s, opts) => this._itemType.read(s, opts)), options); } - get blobBody() {} - get readableStreamBody() { - return utils_isNode ? this.blobDownloadStream : void 0; + } + class AvroRecordType extends AvroType { + constructor(fields, name) { + super(), this._fields = fields, this._name = name; } - get _response() { - return this.originalResponse._response; + async read(stream, options = {}) { + const record = {}; + record.$schema = this._name; + for (const key in this._fields) Object.prototype.hasOwnProperty.call(this._fields, key) && (record[key] = await this._fields[key].read(stream, options)); + return record; } } - class AppendBlob { - constructor(client) { - this.client = client; + function arraysEqual(a, b) { + if (a === b) return !0; + if (null == a || null == b) return !1; + if (a.length !== b.length) return !1; + for (let i = 0; i < a.length; ++i) if (a[i] !== b[i]) return !1; + return !0; + } + class AvroReader { + get blockOffset() { + return this._blockOffset; } - create(contentLength, options) { - const operationArguments = { - contentLength, - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, appendBlob_createOperationSpec); + get objectIndex() { + return this._objectIndex; } - appendBlock(contentLength, body, options) { - const operationArguments = { - contentLength, - body, - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, appendBlockOperationSpec); + constructor(dataStream, headerStream, currentBlockOffset, indexWithinCurrentBlock) { + this._dataStream = dataStream, this._headerStream = headerStream || dataStream, + this._initialized = !1, this._blockOffset = currentBlockOffset || 0, this._objectIndex = indexWithinCurrentBlock || 0, + this._initialBlockOffset = currentBlockOffset || 0; } - appendBlockFromUrl(sourceUrl, contentLength, options) { - const operationArguments = { - sourceUrl, - contentLength, - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, appendBlockFromUrlOperationSpec); + async initialize(options = {}) { + if (!arraysEqual(await AvroParser.readFixedBytes(this._headerStream, AVRO_INIT_BYTES.length, { + abortSignal: options.abortSignal + }), AVRO_INIT_BYTES)) throw new Error("Stream is not an Avro file."); + this._metadata = await AvroParser.readMap(this._headerStream, AvroParser.readString, { + abortSignal: options.abortSignal + }); + const codec = this._metadata["avro.codec"]; + if (null != codec && "null" !== codec) throw new Error("Codecs are not supported"); + this._syncMarker = await AvroParser.readFixedBytes(this._headerStream, 16, { + abortSignal: options.abortSignal + }); + const schema = JSON.parse(this._metadata["avro.schema"]); + if (this._itemType = AvroType.fromSchema(schema), 0 === this._blockOffset && (this._blockOffset = this._initialBlockOffset + this._dataStream.position), + this._itemsRemainingInBlock = await AvroParser.readLong(this._dataStream, { + abortSignal: options.abortSignal + }), await AvroParser.readLong(this._dataStream, { + abortSignal: options.abortSignal + }), this._initialized = !0, this._objectIndex && this._objectIndex > 0) for (let i = 0; i < this._objectIndex; i++) await this._itemType.read(this._dataStream, { + abortSignal: options.abortSignal + }), this._itemsRemainingInBlock--; } - seal(options) { - const operationArguments = { - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, sealOperationSpec); + hasNext() { + return !this._initialized || this._itemsRemainingInBlock > 0; } - } - const appendBlob_xmlSerializer = new Serializer(mappers_namespaceObject, !0), serializer = new Serializer(mappers_namespaceObject, !1), appendBlob_createOperationSpec = { - path: "/{containerName}/{blob}", - httpMethod: "PUT", - responses: { - 201: { - headersMapper: AppendBlobCreateHeaders - }, - default: { - bodyMapper: StorageError, - headersMapper: AppendBlobCreateExceptionHeaders - } - }, - queryParameters: [ timeoutInSeconds ], - urlParameters: [ url ], - headerParameters: [ version, requestId, accept1, contentLength, metadata, leaseId, ifModifiedSince, ifUnmodifiedSince, encryptionKey, encryptionKeySha256, encryptionAlgorithm, ifMatch, ifNoneMatch, ifTags, blobCacheControl, blobContentType, blobContentMD5, blobContentEncoding, blobContentLanguage, blobContentDisposition, immutabilityPolicyExpiry, immutabilityPolicyMode, encryptionScope, blobTagsString, legalHold1, { - parameterPath: "blobType", - mapper: { - defaultValue: "AppendBlob", - isConstant: !0, - serializedName: "x-ms-blob-type", - type: { - name: "String" - } - } - } ], - isXML: !0, - serializer: appendBlob_xmlSerializer - }, appendBlockOperationSpec = { - path: "/{containerName}/{blob}", - httpMethod: "PUT", - responses: { - 201: { - headersMapper: AppendBlobAppendBlockHeaders - }, - default: { - bodyMapper: StorageError, - headersMapper: AppendBlobAppendBlockExceptionHeaders - } - }, - requestBody: body1, - queryParameters: [ timeoutInSeconds, comp22 ], - urlParameters: [ url ], - headerParameters: [ version, requestId, contentLength, leaseId, ifModifiedSince, ifUnmodifiedSince, encryptionKey, encryptionKeySha256, encryptionAlgorithm, ifMatch, ifNoneMatch, ifTags, encryptionScope, transactionalContentMD5, transactionalContentCrc64, contentType1, accept2, maxSize, appendPosition ], - mediaType: "binary", - serializer - }, appendBlockFromUrlOperationSpec = { - path: "/{containerName}/{blob}", - httpMethod: "PUT", - responses: { - 201: { - headersMapper: AppendBlobAppendBlockFromUrlHeaders - }, - default: { - bodyMapper: StorageError, - headersMapper: AppendBlobAppendBlockFromUrlExceptionHeaders - } - }, - queryParameters: [ timeoutInSeconds, comp22 ], - urlParameters: [ url ], - headerParameters: [ version, requestId, accept1, contentLength, leaseId, ifModifiedSince, ifUnmodifiedSince, encryptionKey, encryptionKeySha256, encryptionAlgorithm, ifMatch, ifNoneMatch, ifTags, encryptionScope, sourceIfModifiedSince, sourceIfUnmodifiedSince, sourceIfMatch, sourceIfNoneMatch, sourceContentMD5, copySourceAuthorization, transactionalContentMD5, sourceUrl, sourceContentCrc64, maxSize, appendPosition, sourceRange1 ], - isXML: !0, - serializer: appendBlob_xmlSerializer - }, sealOperationSpec = { - path: "/{containerName}/{blob}", - httpMethod: "PUT", - responses: { - 200: { - headersMapper: AppendBlobSealHeaders - }, - default: { - bodyMapper: StorageError, - headersMapper: AppendBlobSealExceptionHeaders - } - }, - queryParameters: [ timeoutInSeconds, { - parameterPath: "comp", - mapper: { - defaultValue: "seal", - isConstant: !0, - serializedName: "comp", - type: { - name: "String" + parseObjects() { + return __asyncGenerator(this, arguments, (function*(options = {}) { + for (this._initialized || (yield __await(this.initialize(options))); this.hasNext(); ) { + const result = yield __await(this._itemType.read(this._dataStream, { + abortSignal: options.abortSignal + })); + if (this._itemsRemainingInBlock--, this._objectIndex++, 0 === this._itemsRemainingInBlock) { + const marker = yield __await(AvroParser.readFixedBytes(this._dataStream, 16, { + abortSignal: options.abortSignal + })); + if (this._blockOffset = this._initialBlockOffset + this._dataStream.position, this._objectIndex = 0, + !arraysEqual(this._syncMarker, marker)) throw new Error("Stream is not a valid Avro file."); + try { + this._itemsRemainingInBlock = yield __await(AvroParser.readLong(this._dataStream, { + abortSignal: options.abortSignal + })); + } catch (err) { + this._itemsRemainingInBlock = 0; + } + this._itemsRemainingInBlock > 0 && (yield __await(AvroParser.readLong(this._dataStream, { + abortSignal: options.abortSignal + }))); + } + yield yield __await(result); } - } - } ], - urlParameters: [ url ], - headerParameters: [ version, requestId, accept1, leaseId, ifModifiedSince, ifUnmodifiedSince, ifMatch, ifNoneMatch, appendPosition ], - isXML: !0, - serializer: appendBlob_xmlSerializer - }; - class BlockBlob { - constructor(client) { - this.client = client; + })); } - upload(contentLength, body, options) { - const operationArguments = { - contentLength, - body, - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, uploadOperationSpec); + } + class AvroReadable {} + const ABORT_ERROR = new AbortController_AbortError("Reading from the avro stream was aborted."); + class AvroReadableFromStream extends AvroReadable { + toUint8Array(data) { + return "string" == typeof data ? Buffer.from(data) : data; } - putBlobFromUrl(contentLength, copySource, options) { - const operationArguments = { - contentLength, - copySource, - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, putBlobFromUrlOperationSpec); + constructor(readable) { + super(), this._readable = readable, this._position = 0; } - stageBlock(blockId, contentLength, body, options) { - const operationArguments = { - blockId, - contentLength, - body, - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, stageBlockOperationSpec); + get position() { + return this._position; + } + async read(size, options = {}) { + var _a; + if (null === (_a = options.abortSignal) || void 0 === _a ? void 0 : _a.aborted) throw ABORT_ERROR; + if (size < 0) throw new Error(`size parameter should be positive: ${size}`); + if (0 === size) return new Uint8Array; + if (!this._readable.readable) throw new Error("Stream no longer readable."); + const chunk = this._readable.read(size); + return chunk ? (this._position += chunk.length, this.toUint8Array(chunk)) : new Promise(((resolve, reject) => { + const cleanUp = () => { + this._readable.removeListener("readable", readableCallback), this._readable.removeListener("error", rejectCallback), + this._readable.removeListener("end", rejectCallback), this._readable.removeListener("close", rejectCallback), + options.abortSignal && options.abortSignal.removeEventListener("abort", abortHandler); + }, readableCallback = () => { + const callbackChunk = this._readable.read(size); + callbackChunk && (this._position += callbackChunk.length, cleanUp(), resolve(this.toUint8Array(callbackChunk))); + }, rejectCallback = () => { + cleanUp(), reject(); + }, abortHandler = () => { + cleanUp(), reject(ABORT_ERROR); + }; + this._readable.on("readable", readableCallback), this._readable.once("error", rejectCallback), + this._readable.once("end", rejectCallback), this._readable.once("close", rejectCallback), + options.abortSignal && options.abortSignal.addEventListener("abort", abortHandler); + })); } - stageBlockFromURL(blockId, contentLength, sourceUrl, options) { - const operationArguments = { - blockId, - contentLength, - sourceUrl, - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, stageBlockFromURLOperationSpec); + } + class BlobQuickQueryStream extends external_stream_.Readable { + constructor(source, options = {}) { + super(), this.avroPaused = !0, this.source = source, this.onProgress = options.onProgress, + this.onError = options.onError, this.avroReader = new AvroReader(new AvroReadableFromStream(this.source)), + this.avroIter = this.avroReader.parseObjects({ + abortSignal: options.abortSignal + }); } - commitBlockList(blocks, options) { - const operationArguments = { - blocks, - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, commitBlockListOperationSpec); + _read() { + this.avroPaused && this.readInternal().catch((err => { + this.emit("error", err); + })); } - getBlockList(listType, options) { - const operationArguments = { - listType, - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, getBlockListOperationSpec); + async readInternal() { + let avroNext; + this.avroPaused = !1; + do { + if (avroNext = await this.avroIter.next(), avroNext.done) break; + const obj = avroNext.value, schema = obj.$schema; + if ("string" != typeof schema) throw Error("Missing schema in avro record."); + switch (schema) { + case "com.microsoft.azure.storage.queryBlobContents.resultData": + { + const data = obj.data; + if (data instanceof Uint8Array == !1) throw Error("Invalid data in avro result record."); + this.push(Buffer.from(data)) || (this.avroPaused = !0); + } + break; + + case "com.microsoft.azure.storage.queryBlobContents.progress": + { + const bytesScanned = obj.bytesScanned; + if ("number" != typeof bytesScanned) throw Error("Invalid bytesScanned in avro progress record."); + this.onProgress && this.onProgress({ + loadedBytes: bytesScanned + }); + } + break; + + case "com.microsoft.azure.storage.queryBlobContents.end": + if (this.onProgress) { + const totalBytes = obj.totalBytes; + if ("number" != typeof totalBytes) throw Error("Invalid totalBytes in avro end record."); + this.onProgress({ + loadedBytes: totalBytes + }); + } + this.push(null); + break; + + case "com.microsoft.azure.storage.queryBlobContents.error": + if (this.onError) { + const fatal = obj.fatal; + if ("boolean" != typeof fatal) throw Error("Invalid fatal in avro error record."); + const name = obj.name; + if ("string" != typeof name) throw Error("Invalid name in avro error record."); + const description = obj.description; + if ("string" != typeof description) throw Error("Invalid description in avro error record."); + const position = obj.position; + if ("number" != typeof position) throw Error("Invalid position in avro error record."); + this.onError({ + position, + name, + isFatal: fatal, + description + }); + } + break; + + default: + throw Error(`Unknown schema ${schema} in avro progress record.`); + } + } while (!avroNext.done && !this.avroPaused); } } - const blockBlob_xmlSerializer = new Serializer(mappers_namespaceObject, !0), blockBlob_serializer = new Serializer(mappers_namespaceObject, !1), uploadOperationSpec = { - path: "/{containerName}/{blob}", - httpMethod: "PUT", - responses: { - 201: { - headersMapper: BlockBlobUploadHeaders - }, - default: { - bodyMapper: StorageError, - headersMapper: BlockBlobUploadExceptionHeaders - } - }, - requestBody: body1, - queryParameters: [ timeoutInSeconds ], - urlParameters: [ url ], - headerParameters: [ version, requestId, contentLength, metadata, leaseId, ifModifiedSince, ifUnmodifiedSince, encryptionKey, encryptionKeySha256, encryptionAlgorithm, ifMatch, ifNoneMatch, ifTags, blobCacheControl, blobContentType, blobContentMD5, blobContentEncoding, blobContentLanguage, blobContentDisposition, immutabilityPolicyExpiry, immutabilityPolicyMode, encryptionScope, tier, blobTagsString, legalHold1, transactionalContentMD5, contentType1, accept2, blobType2 ], - mediaType: "binary", - serializer: blockBlob_serializer - }, putBlobFromUrlOperationSpec = { - path: "/{containerName}/{blob}", - httpMethod: "PUT", - responses: { - 201: { - headersMapper: BlockBlobPutBlobFromUrlHeaders - }, - default: { - bodyMapper: StorageError, - headersMapper: BlockBlobPutBlobFromUrlExceptionHeaders - } - }, - queryParameters: [ timeoutInSeconds ], - urlParameters: [ url ], - headerParameters: [ version, requestId, accept1, contentLength, metadata, leaseId, ifModifiedSince, ifUnmodifiedSince, encryptionKey, encryptionKeySha256, encryptionAlgorithm, ifMatch, ifNoneMatch, ifTags, blobCacheControl, blobContentType, blobContentMD5, blobContentEncoding, blobContentLanguage, blobContentDisposition, encryptionScope, tier, sourceIfModifiedSince, sourceIfUnmodifiedSince, sourceIfMatch, sourceIfNoneMatch, sourceIfTags, copySource, blobTagsString, sourceContentMD5, copySourceAuthorization, copySourceTags, transactionalContentMD5, blobType2, { - parameterPath: [ "options", "copySourceBlobProperties" ], - mapper: { - serializedName: "x-ms-copy-source-blob-properties", - xmlName: "x-ms-copy-source-blob-properties", - type: { - name: "Boolean" - } - } - } ], - isXML: !0, - serializer: blockBlob_xmlSerializer - }, stageBlockOperationSpec = { - path: "/{containerName}/{blob}", - httpMethod: "PUT", - responses: { - 201: { - headersMapper: BlockBlobStageBlockHeaders - }, - default: { - bodyMapper: StorageError, - headersMapper: BlockBlobStageBlockExceptionHeaders - } - }, - requestBody: body1, - queryParameters: [ timeoutInSeconds, comp24, blockId ], - urlParameters: [ url ], - headerParameters: [ version, requestId, contentLength, leaseId, encryptionKey, encryptionKeySha256, encryptionAlgorithm, encryptionScope, transactionalContentMD5, transactionalContentCrc64, contentType1, accept2 ], - mediaType: "binary", - serializer: blockBlob_serializer - }, stageBlockFromURLOperationSpec = { - path: "/{containerName}/{blob}", - httpMethod: "PUT", - responses: { - 201: { - headersMapper: BlockBlobStageBlockFromURLHeaders - }, - default: { - bodyMapper: StorageError, - headersMapper: BlockBlobStageBlockFromURLExceptionHeaders - } - }, - queryParameters: [ timeoutInSeconds, comp24, blockId ], - urlParameters: [ url ], - headerParameters: [ version, requestId, accept1, contentLength, leaseId, encryptionKey, encryptionKeySha256, encryptionAlgorithm, encryptionScope, sourceIfModifiedSince, sourceIfUnmodifiedSince, sourceIfMatch, sourceIfNoneMatch, sourceContentMD5, copySourceAuthorization, sourceUrl, sourceContentCrc64, sourceRange1 ], - isXML: !0, - serializer: blockBlob_xmlSerializer - }, commitBlockListOperationSpec = { - path: "/{containerName}/{blob}", - httpMethod: "PUT", - responses: { - 201: { - headersMapper: BlockBlobCommitBlockListHeaders - }, - default: { - bodyMapper: StorageError, - headersMapper: BlockBlobCommitBlockListExceptionHeaders - } - }, - requestBody: blocks, - queryParameters: [ timeoutInSeconds, comp25 ], - urlParameters: [ url ], - headerParameters: [ contentType, accept, version, requestId, metadata, leaseId, ifModifiedSince, ifUnmodifiedSince, encryptionKey, encryptionKeySha256, encryptionAlgorithm, ifMatch, ifNoneMatch, ifTags, blobCacheControl, blobContentType, blobContentMD5, blobContentEncoding, blobContentLanguage, blobContentDisposition, immutabilityPolicyExpiry, immutabilityPolicyMode, encryptionScope, tier, blobTagsString, legalHold1, transactionalContentMD5, transactionalContentCrc64 ], - isXML: !0, - contentType: "application/xml; charset=utf-8", - mediaType: "xml", - serializer: blockBlob_xmlSerializer - }, getBlockListOperationSpec = { - path: "/{containerName}/{blob}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: BlockList, - headersMapper: BlockBlobGetBlockListHeaders - }, - default: { - bodyMapper: StorageError, - headersMapper: BlockBlobGetBlockListExceptionHeaders - } - }, - queryParameters: [ timeoutInSeconds, snapshot, comp25, { - parameterPath: "listType", - mapper: { - defaultValue: "committed", - serializedName: "blocklisttype", - required: !0, - xmlName: "blocklisttype", - type: { - name: "Enum", - allowedValues: [ "committed", "uncommitted", "all" ] - } - } - } ], - urlParameters: [ url ], - headerParameters: [ version, requestId, accept1, leaseId, ifTags ], - isXML: !0, - serializer: blockBlob_xmlSerializer - }; - class PageBlob { - constructor(client) { - this.client = client; + class BlobQueryResponse { + get acceptRanges() { + return this.originalResponse.acceptRanges; } - create(contentLength, blobContentLength, options) { - const operationArguments = { - contentLength, - blobContentLength, - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, pageBlob_createOperationSpec); + get cacheControl() { + return this.originalResponse.cacheControl; } - uploadPages(contentLength, body, options) { - const operationArguments = { - contentLength, - body, - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, uploadPagesOperationSpec); + get contentDisposition() { + return this.originalResponse.contentDisposition; } - clearPages(contentLength, options) { - const operationArguments = { - contentLength, - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, clearPagesOperationSpec); + get contentEncoding() { + return this.originalResponse.contentEncoding; } - uploadPagesFromURL(sourceUrl, sourceRange, contentLength, range, options) { - const operationArguments = { - sourceUrl, - sourceRange, - contentLength, - range, - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, uploadPagesFromURLOperationSpec); + get contentLanguage() { + return this.originalResponse.contentLanguage; } - getPageRanges(options) { - const operationArguments = { - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, getPageRangesOperationSpec); + get blobSequenceNumber() { + return this.originalResponse.blobSequenceNumber; } - getPageRangesDiff(options) { - const operationArguments = { - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, getPageRangesDiffOperationSpec); + get blobType() { + return this.originalResponse.blobType; } - resize(blobContentLength, options) { - const operationArguments = { - blobContentLength, - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, resizeOperationSpec); + get contentLength() { + return this.originalResponse.contentLength; } - updateSequenceNumber(sequenceNumberAction, options) { - const operationArguments = { - sequenceNumberAction, - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, updateSequenceNumberOperationSpec); + get contentMD5() { + return this.originalResponse.contentMD5; } - copyIncremental(copySource, options) { - const operationArguments = { - copySource, - options: operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest(operationArguments, copyIncrementalOperationSpec); + get contentRange() { + return this.originalResponse.contentRange; } - } - const pageBlob_xmlSerializer = new Serializer(mappers_namespaceObject, !0), pageBlob_serializer = new Serializer(mappers_namespaceObject, !1), pageBlob_createOperationSpec = { - path: "/{containerName}/{blob}", - httpMethod: "PUT", - responses: { - 201: { - headersMapper: PageBlobCreateHeaders - }, - default: { - bodyMapper: StorageError, - headersMapper: PageBlobCreateExceptionHeaders - } - }, - queryParameters: [ timeoutInSeconds ], - urlParameters: [ url ], - headerParameters: [ version, requestId, accept1, contentLength, metadata, leaseId, ifModifiedSince, ifUnmodifiedSince, encryptionKey, encryptionKeySha256, encryptionAlgorithm, ifMatch, ifNoneMatch, ifTags, blobCacheControl, blobContentType, blobContentMD5, blobContentEncoding, blobContentLanguage, blobContentDisposition, immutabilityPolicyExpiry, immutabilityPolicyMode, encryptionScope, tier, blobTagsString, legalHold1, { - parameterPath: "blobType", - mapper: { - defaultValue: "PageBlob", - isConstant: !0, - serializedName: "x-ms-blob-type", - type: { - name: "String" - } - } - }, blobContentLength, blobSequenceNumber ], - isXML: !0, - serializer: pageBlob_xmlSerializer - }, uploadPagesOperationSpec = { - path: "/{containerName}/{blob}", - httpMethod: "PUT", - responses: { - 201: { - headersMapper: PageBlobUploadPagesHeaders - }, - default: { - bodyMapper: StorageError, - headersMapper: PageBlobUploadPagesExceptionHeaders - } - }, - requestBody: body1, - queryParameters: [ timeoutInSeconds, comp19 ], - urlParameters: [ url ], - headerParameters: [ version, requestId, contentLength, leaseId, ifModifiedSince, ifUnmodifiedSince, range, encryptionKey, encryptionKeySha256, encryptionAlgorithm, ifMatch, ifNoneMatch, ifTags, encryptionScope, transactionalContentMD5, transactionalContentCrc64, contentType1, accept2, pageWrite, ifSequenceNumberLessThanOrEqualTo, ifSequenceNumberLessThan, ifSequenceNumberEqualTo ], - mediaType: "binary", - serializer: pageBlob_serializer - }, clearPagesOperationSpec = { - path: "/{containerName}/{blob}", - httpMethod: "PUT", - responses: { - 201: { - headersMapper: PageBlobClearPagesHeaders - }, - default: { - bodyMapper: StorageError, - headersMapper: PageBlobClearPagesExceptionHeaders - } - }, - queryParameters: [ timeoutInSeconds, comp19 ], - urlParameters: [ url ], - headerParameters: [ version, requestId, accept1, contentLength, leaseId, ifModifiedSince, ifUnmodifiedSince, range, encryptionKey, encryptionKeySha256, encryptionAlgorithm, ifMatch, ifNoneMatch, ifTags, encryptionScope, ifSequenceNumberLessThanOrEqualTo, ifSequenceNumberLessThan, ifSequenceNumberEqualTo, { - parameterPath: "pageWrite", - mapper: { - defaultValue: "clear", - isConstant: !0, - serializedName: "x-ms-page-write", - type: { - name: "String" - } - } - } ], - isXML: !0, - serializer: pageBlob_xmlSerializer - }, uploadPagesFromURLOperationSpec = { - path: "/{containerName}/{blob}", - httpMethod: "PUT", - responses: { - 201: { - headersMapper: PageBlobUploadPagesFromURLHeaders - }, - default: { - bodyMapper: StorageError, - headersMapper: PageBlobUploadPagesFromURLExceptionHeaders - } - }, - queryParameters: [ timeoutInSeconds, comp19 ], - urlParameters: [ url ], - headerParameters: [ version, requestId, accept1, contentLength, leaseId, ifModifiedSince, ifUnmodifiedSince, encryptionKey, encryptionKeySha256, encryptionAlgorithm, ifMatch, ifNoneMatch, ifTags, encryptionScope, sourceIfModifiedSince, sourceIfUnmodifiedSince, sourceIfMatch, sourceIfNoneMatch, sourceContentMD5, copySourceAuthorization, pageWrite, ifSequenceNumberLessThanOrEqualTo, ifSequenceNumberLessThan, ifSequenceNumberEqualTo, sourceUrl, { - parameterPath: "sourceRange", - mapper: { - serializedName: "x-ms-source-range", - required: !0, - xmlName: "x-ms-source-range", - type: { - name: "String" - } - } - }, sourceContentCrc64, { - parameterPath: "range", - mapper: { - serializedName: "x-ms-range", - required: !0, - xmlName: "x-ms-range", - type: { - name: "String" - } - } - } ], - isXML: !0, - serializer: pageBlob_xmlSerializer - }, getPageRangesOperationSpec = { - path: "/{containerName}/{blob}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: PageList, - headersMapper: PageBlobGetPageRangesHeaders - }, - default: { - bodyMapper: StorageError, - headersMapper: PageBlobGetPageRangesExceptionHeaders - } - }, - queryParameters: [ timeoutInSeconds, marker, maxPageSize, snapshot, comp20 ], - urlParameters: [ url ], - headerParameters: [ version, requestId, accept1, leaseId, ifModifiedSince, ifUnmodifiedSince, range, ifMatch, ifNoneMatch, ifTags ], - isXML: !0, - serializer: pageBlob_xmlSerializer - }, getPageRangesDiffOperationSpec = { - path: "/{containerName}/{blob}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: PageList, - headersMapper: PageBlobGetPageRangesDiffHeaders - }, - default: { - bodyMapper: StorageError, - headersMapper: PageBlobGetPageRangesDiffExceptionHeaders - } - }, - queryParameters: [ timeoutInSeconds, marker, maxPageSize, snapshot, comp20, { - parameterPath: [ "options", "prevsnapshot" ], - mapper: { - serializedName: "prevsnapshot", - xmlName: "prevsnapshot", - type: { - name: "String" - } - } - } ], - urlParameters: [ url ], - headerParameters: [ version, requestId, accept1, leaseId, ifModifiedSince, ifUnmodifiedSince, range, ifMatch, ifNoneMatch, ifTags, { - parameterPath: [ "options", "prevSnapshotUrl" ], - mapper: { - serializedName: "x-ms-previous-snapshot-url", - xmlName: "x-ms-previous-snapshot-url", - type: { - name: "String" - } - } - } ], - isXML: !0, - serializer: pageBlob_xmlSerializer - }, resizeOperationSpec = { - path: "/{containerName}/{blob}", - httpMethod: "PUT", - responses: { - 200: { - headersMapper: PageBlobResizeHeaders - }, - default: { - bodyMapper: StorageError, - headersMapper: PageBlobResizeExceptionHeaders - } - }, - queryParameters: [ comp, timeoutInSeconds ], - urlParameters: [ url ], - headerParameters: [ version, requestId, accept1, leaseId, ifModifiedSince, ifUnmodifiedSince, encryptionKey, encryptionKeySha256, encryptionAlgorithm, ifMatch, ifNoneMatch, ifTags, encryptionScope, blobContentLength ], - isXML: !0, - serializer: pageBlob_xmlSerializer - }, updateSequenceNumberOperationSpec = { - path: "/{containerName}/{blob}", - httpMethod: "PUT", - responses: { - 200: { - headersMapper: PageBlobUpdateSequenceNumberHeaders - }, - default: { - bodyMapper: StorageError, - headersMapper: PageBlobUpdateSequenceNumberExceptionHeaders - } - }, - queryParameters: [ comp, timeoutInSeconds ], - urlParameters: [ url ], - headerParameters: [ version, requestId, accept1, leaseId, ifModifiedSince, ifUnmodifiedSince, ifMatch, ifNoneMatch, ifTags, blobSequenceNumber, { - parameterPath: "sequenceNumberAction", - mapper: { - serializedName: "x-ms-sequence-number-action", - required: !0, - xmlName: "x-ms-sequence-number-action", - type: { - name: "Enum", - allowedValues: [ "max", "update", "increment" ] - } - } - } ], - isXML: !0, - serializer: pageBlob_xmlSerializer - }, copyIncrementalOperationSpec = { - path: "/{containerName}/{blob}", - httpMethod: "PUT", - responses: { - 202: { - headersMapper: PageBlobCopyIncrementalHeaders - }, - default: { - bodyMapper: StorageError, - headersMapper: PageBlobCopyIncrementalExceptionHeaders - } - }, - queryParameters: [ timeoutInSeconds, { - parameterPath: "comp", - mapper: { - defaultValue: "incrementalcopy", - isConstant: !0, - serializedName: "comp", - type: { - name: "String" - } - } - } ], - urlParameters: [ url ], - headerParameters: [ version, requestId, accept1, ifModifiedSince, ifUnmodifiedSince, ifMatch, ifNoneMatch, ifTags, copySource ], - isXML: !0, - serializer: pageBlob_xmlSerializer - }; + get contentType() { + return this.originalResponse.contentType; + } + get copyCompletedOn() {} + get copyId() { + return this.originalResponse.copyId; + } + get copyProgress() { + return this.originalResponse.copyProgress; + } + get copySource() { + return this.originalResponse.copySource; + } + get copyStatus() { + return this.originalResponse.copyStatus; + } + get copyStatusDescription() { + return this.originalResponse.copyStatusDescription; + } + get leaseDuration() { + return this.originalResponse.leaseDuration; + } + get leaseState() { + return this.originalResponse.leaseState; + } + get leaseStatus() { + return this.originalResponse.leaseStatus; + } + get date() { + return this.originalResponse.date; + } + get blobCommittedBlockCount() { + return this.originalResponse.blobCommittedBlockCount; + } + get etag() { + return this.originalResponse.etag; + } + get errorCode() { + return this.originalResponse.errorCode; + } + get isServerEncrypted() { + return this.originalResponse.isServerEncrypted; + } + get blobContentMD5() { + return this.originalResponse.blobContentMD5; + } + get lastModified() { + return this.originalResponse.lastModified; + } + get metadata() { + return this.originalResponse.metadata; + } + get requestId() { + return this.originalResponse.requestId; + } + get clientRequestId() { + return this.originalResponse.clientRequestId; + } + get version() { + return this.originalResponse.version; + } + get encryptionKeySha256() { + return this.originalResponse.encryptionKeySha256; + } + get contentCrc64() { + return this.originalResponse.contentCrc64; + } + get blobBody() {} + get readableStreamBody() { + return checkEnvironment_isNode ? this.blobDownloadStream : void 0; + } + get _response() { + return this.originalResponse._response; + } + constructor(originalResponse, options = {}) { + this.originalResponse = originalResponse, this.blobDownloadStream = new BlobQuickQueryStream(this.originalResponse.readableStreamBody, options); + } + } var BlockBlobTier, PremiumPageBlobTier, StorageBlobAudience; function toAccessTier(tier) { if (void 0 !== tier) return tier; } function ensureCpkIfSpecified(cpk, isHttps) { if (cpk && !isHttps) throw new RangeError("Customer-provided encryption key must be used over HTTPS."); - cpk && !cpk.encryptionAlgorithm && (cpk.encryptionAlgorithm = EncryptionAlgorithmAES25); + cpk && !cpk.encryptionAlgorithm && (cpk.encryptionAlgorithm = "AES256"); + } + function getBlobServiceAccountAudience(storageAccountName) { + return `https://${storageAccountName}.blob.core.windows.net/.default`; } function rangeResponseFromModel(response) { const pageRange = (response._response.parsedBody.pageRange || []).map((x => ({ @@ -22318,7 +20739,8 @@ }); } !function(BlockBlobTier) { - BlockBlobTier.Hot = "Hot", BlockBlobTier.Cool = "Cool", BlockBlobTier.Archive = "Archive"; + BlockBlobTier.Hot = "Hot", BlockBlobTier.Cool = "Cool", BlockBlobTier.Cold = "Cold", + BlockBlobTier.Archive = "Archive"; }(BlockBlobTier || (BlockBlobTier = {})), function(PremiumPageBlobTier) { PremiumPageBlobTier.P4 = "P4", PremiumPageBlobTier.P6 = "P6", PremiumPageBlobTier.P10 = "P10", PremiumPageBlobTier.P15 = "P15", PremiumPageBlobTier.P20 = "P20", PremiumPageBlobTier.P30 = "P30", @@ -22327,6 +20749,7 @@ }(PremiumPageBlobTier || (PremiumPageBlobTier = {})), function(StorageBlobAudience) { StorageBlobAudience.StorageOAuthScopes = "https://storage.azure.com/.default", StorageBlobAudience.DiskComputeOAuthScopes = "https://disk.compute.azure.com/.default"; }(StorageBlobAudience || (StorageBlobAudience = {})); + createClientLogger("core-lro"); class PollerStoppedError extends Error { constructor(message) { super(message), this.name = "PollerStoppedError", Object.setPrototypeOf(this, PollerStoppedError.prototype); @@ -22475,209 +20898,696 @@ if (iRange.count && iRange.count <= 0) throw new RangeError("Range.count must be larger than 0. Leave it undefined if you want a range from offset to the end."); return iRange.count ? `bytes=${iRange.offset}-${iRange.offset + iRange.count - 1}` : `bytes=${iRange.offset}-`; } - var BatchStates, external_events_ = __webpack_require__(2361); - !function(BatchStates) { - BatchStates[BatchStates.Good = 0] = "Good", BatchStates[BatchStates.Error = 1] = "Error"; - }(BatchStates || (BatchStates = {})); - class Batch { - constructor(concurrency = 5) { - if (this.actives = 0, this.completed = 0, this.offset = 0, this.operations = [], - this.state = BatchStates.Good, concurrency < 1) throw new RangeError("concurrency must be larger than 0"); - this.concurrency = concurrency, this.emitter = new external_events_.EventEmitter; + var BatchStates, external_events_ = __webpack_require__(4434); + !function(BatchStates) { + BatchStates[BatchStates.Good = 0] = "Good", BatchStates[BatchStates.Error = 1] = "Error"; + }(BatchStates || (BatchStates = {})); + class Batch { + constructor(concurrency = 5) { + if (this.actives = 0, this.completed = 0, this.offset = 0, this.operations = [], + this.state = BatchStates.Good, concurrency < 1) throw new RangeError("concurrency must be larger than 0"); + this.concurrency = concurrency, this.emitter = new external_events_.EventEmitter; + } + addOperation(operation) { + this.operations.push((async () => { + try { + this.actives++, await operation(), this.actives--, this.completed++, this.parallelExecute(); + } catch (error) { + this.emitter.emit("error", error); + } + })); + } + async do() { + return 0 === this.operations.length ? Promise.resolve() : (this.parallelExecute(), + new Promise(((resolve, reject) => { + this.emitter.on("finish", resolve), this.emitter.on("error", (error => { + this.state = BatchStates.Error, reject(error); + })); + }))); + } + nextOperation() { + return this.offset < this.operations.length ? this.operations[this.offset++] : null; + } + parallelExecute() { + if (this.state !== BatchStates.Error) if (this.completed >= this.operations.length) this.emitter.emit("finish"); else for (;this.actives < this.concurrency; ) { + const operation = this.nextOperation(); + if (!operation) return; + operation(); + } + } + } + class BuffersStream extends external_stream_.Readable { + constructor(buffers, byteLength, options) { + super(options), this.buffers = buffers, this.byteLength = byteLength, this.byteOffsetInCurrentBuffer = 0, + this.bufferIndex = 0, this.pushedBytesLength = 0; + let buffersLength = 0; + for (const buf of this.buffers) buffersLength += buf.byteLength; + if (buffersLength < this.byteLength) throw new Error("Data size shouldn't be larger than the total length of buffers."); + } + _read(size) { + this.pushedBytesLength >= this.byteLength && this.push(null), size || (size = this.readableHighWaterMark); + const outBuffers = []; + let i = 0; + for (;i < size && this.pushedBytesLength < this.byteLength; ) { + const remainingDataInAllBuffers = this.byteLength - this.pushedBytesLength, remainingCapacityInThisBuffer = this.buffers[this.bufferIndex].byteLength - this.byteOffsetInCurrentBuffer, remaining = Math.min(remainingCapacityInThisBuffer, remainingDataInAllBuffers); + if (remaining > size - i) { + const end = this.byteOffsetInCurrentBuffer + size - i; + outBuffers.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer, end)), + this.pushedBytesLength += size - i, this.byteOffsetInCurrentBuffer = end, i = size; + break; + } + { + const end = this.byteOffsetInCurrentBuffer + remaining; + outBuffers.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer, end)), + remaining === remainingCapacityInThisBuffer ? (this.byteOffsetInCurrentBuffer = 0, + this.bufferIndex++) : this.byteOffsetInCurrentBuffer = end, this.pushedBytesLength += remaining, + i += remaining; + } + } + outBuffers.length > 1 ? this.push(Buffer.concat(outBuffers)) : 1 === outBuffers.length && this.push(outBuffers[0]); + } + } + var external_buffer_ = __webpack_require__(181); + const maxBufferLength = __webpack_require__.n(external_buffer_)().constants.MAX_LENGTH; + class PooledBuffer { + get size() { + return this._size; + } + constructor(capacity, buffers, totalLength) { + this.buffers = [], this.capacity = capacity, this._size = 0; + const bufferNum = Math.ceil(capacity / maxBufferLength); + for (let i = 0; i < bufferNum; i++) { + let len = i === bufferNum - 1 ? capacity % maxBufferLength : maxBufferLength; + 0 === len && (len = maxBufferLength), this.buffers.push(Buffer.allocUnsafe(len)); + } + buffers && this.fill(buffers, totalLength); + } + fill(buffers, totalLength) { + this._size = Math.min(this.capacity, totalLength); + let i = 0, j = 0, targetOffset = 0, sourceOffset = 0, totalCopiedNum = 0; + for (;totalCopiedNum < this._size; ) { + const source = buffers[i], target = this.buffers[j], copiedNum = source.copy(target, targetOffset, sourceOffset); + totalCopiedNum += copiedNum, sourceOffset += copiedNum, targetOffset += copiedNum, + sourceOffset === source.length && (i++, sourceOffset = 0), targetOffset === target.length && (j++, + targetOffset = 0); + } + buffers.splice(0, i), buffers.length > 0 && (buffers[0] = buffers[0].slice(sourceOffset)); + } + getReadableStream() { + return new BuffersStream(this.buffers, this.size); + } + } + class BufferScheduler { + constructor(readable, bufferSize, maxBuffers, outgoingHandler, concurrency, encoding) { + if (this.emitter = new external_events_.EventEmitter, this.offset = 0, this.isStreamEnd = !1, + this.isError = !1, this.executingOutgoingHandlers = 0, this.numBuffers = 0, this.unresolvedDataArray = [], + this.unresolvedLength = 0, this.incoming = [], this.outgoing = [], bufferSize <= 0) throw new RangeError(`bufferSize must be larger than 0, current is ${bufferSize}`); + if (maxBuffers <= 0) throw new RangeError(`maxBuffers must be larger than 0, current is ${maxBuffers}`); + if (concurrency <= 0) throw new RangeError(`concurrency must be larger than 0, current is ${concurrency}`); + this.bufferSize = bufferSize, this.maxBuffers = maxBuffers, this.readable = readable, + this.outgoingHandler = outgoingHandler, this.concurrency = concurrency, this.encoding = encoding; + } + async do() { + return new Promise(((resolve, reject) => { + this.readable.on("data", (data => { + data = "string" == typeof data ? Buffer.from(data, this.encoding) : data, this.appendUnresolvedData(data), + this.resolveData() || this.readable.pause(); + })), this.readable.on("error", (err => { + this.emitter.emit("error", err); + })), this.readable.on("end", (() => { + this.isStreamEnd = !0, this.emitter.emit("checkEnd"); + })), this.emitter.on("error", (err => { + this.isError = !0, this.readable.pause(), reject(err); + })), this.emitter.on("checkEnd", (() => { + if (this.outgoing.length > 0) this.triggerOutgoingHandlers(); else if (this.isStreamEnd && 0 === this.executingOutgoingHandlers) if (this.unresolvedLength > 0 && this.unresolvedLength < this.bufferSize) { + const buffer = this.shiftBufferFromUnresolvedDataArray(); + this.outgoingHandler((() => buffer.getReadableStream()), buffer.size, this.offset).then(resolve).catch(reject); + } else { + if (this.unresolvedLength >= this.bufferSize) return; + resolve(); + } + })); + })); + } + appendUnresolvedData(data) { + this.unresolvedDataArray.push(data), this.unresolvedLength += data.length; + } + shiftBufferFromUnresolvedDataArray(buffer) { + return buffer ? buffer.fill(this.unresolvedDataArray, this.unresolvedLength) : buffer = new PooledBuffer(this.bufferSize, this.unresolvedDataArray, this.unresolvedLength), + this.unresolvedLength -= buffer.size, buffer; + } + resolveData() { + for (;this.unresolvedLength >= this.bufferSize; ) { + let buffer; + if (this.incoming.length > 0) buffer = this.incoming.shift(), this.shiftBufferFromUnresolvedDataArray(buffer); else { + if (!(this.numBuffers < this.maxBuffers)) return !1; + buffer = this.shiftBufferFromUnresolvedDataArray(), this.numBuffers++; + } + this.outgoing.push(buffer), this.triggerOutgoingHandlers(); + } + return !0; + } + async triggerOutgoingHandlers() { + let buffer; + do { + if (this.executingOutgoingHandlers >= this.concurrency) return; + buffer = this.outgoing.shift(), buffer && this.triggerOutgoingHandler(buffer); + } while (buffer); + } + async triggerOutgoingHandler(buffer) { + const bufferLength = buffer.size; + this.executingOutgoingHandlers++, this.offset += bufferLength; + try { + await this.outgoingHandler((() => buffer.getReadableStream()), bufferLength, this.offset - bufferLength); + } catch (err) { + return void this.emitter.emit("error", err); + } + this.executingOutgoingHandlers--, this.reuseBuffer(buffer), this.emitter.emit("checkEnd"); + } + reuseBuffer(buffer) { + this.incoming.push(buffer), this.isError || !this.resolveData() || this.isStreamEnd || this.readable.resume(); + } + } + var external_fs_ = __webpack_require__(9896); + async function streamToBuffer(stream, buffer, offset, end, encoding) { + let pos = 0; + const count = end - offset; + return new Promise(((resolve, reject) => { + const timeout = setTimeout((() => reject(new Error("The operation cannot be completed in timeout."))), 1e5); + stream.on("readable", (() => { + if (pos >= count) return clearTimeout(timeout), void resolve(); + let chunk = stream.read(); + if (!chunk) return; + "string" == typeof chunk && (chunk = Buffer.from(chunk, encoding)); + const chunkLength = pos + chunk.length > count ? count - pos : chunk.length; + buffer.fill(chunk.slice(0, chunkLength), offset + pos, offset + pos + chunkLength), + pos += chunkLength; + })), stream.on("end", (() => { + clearTimeout(timeout), pos < count && reject(new Error(`Stream drains before getting enough data needed. Data read: ${pos}, data need: ${count}`)), + resolve(); + })), stream.on("error", (msg => { + clearTimeout(timeout), reject(msg); + })); + })); + } + const fsStat = __webpack_require__(9023).promisify(external_fs_.stat), fsCreateReadStream = external_fs_.createReadStream; + class BlobClient extends StorageClient_StorageClient { + get name() { + return this._name; } - addOperation(operation) { - this.operations.push((async () => { + get containerName() { + return this._containerName; + } + constructor(urlOrConnectionString, credentialOrPipelineOrContainerName, blobNameOrOptions, options) { + let pipeline, url; + if (options = options || {}, isPipelineLike(credentialOrPipelineOrContainerName)) url = urlOrConnectionString, + pipeline = credentialOrPipelineOrContainerName; else if (checkEnvironment_isNode && credentialOrPipelineOrContainerName instanceof StorageSharedKeyCredential || credentialOrPipelineOrContainerName instanceof AnonymousCredential || isTokenCredential(credentialOrPipelineOrContainerName)) url = urlOrConnectionString, + pipeline = newPipeline(credentialOrPipelineOrContainerName, options = blobNameOrOptions); else if (credentialOrPipelineOrContainerName || "string" == typeof credentialOrPipelineOrContainerName) { + if (!credentialOrPipelineOrContainerName || "string" != typeof credentialOrPipelineOrContainerName || !blobNameOrOptions || "string" != typeof blobNameOrOptions) throw new Error("Expecting non-empty strings for containerName and blobName parameters"); + { + const containerName = credentialOrPipelineOrContainerName, blobName = blobNameOrOptions, extractedCreds = extractConnectionStringParts(urlOrConnectionString); + if ("AccountConnString" === extractedCreds.kind) { + if (!checkEnvironment_isNode) throw new Error("Account connection string is only supported in Node.js environment"); + { + const sharedKeyCredential = new StorageSharedKeyCredential(extractedCreds.accountName, extractedCreds.accountKey); + url = appendToURLPath(appendToURLPath(extractedCreds.url, encodeURIComponent(containerName)), encodeURIComponent(blobName)), + options.proxyOptions || (options.proxyOptions = getDefaultProxySettings(extractedCreds.proxyUri)), + pipeline = newPipeline(sharedKeyCredential, options); + } + } else { + if ("SASConnString" !== extractedCreds.kind) throw new Error("Connection string must be either an Account connection string or a SAS connection string"); + url = appendToURLPath(appendToURLPath(extractedCreds.url, encodeURIComponent(containerName)), encodeURIComponent(blobName)) + "?" + extractedCreds.accountSas, + pipeline = newPipeline(new AnonymousCredential, options); + } + } + } else url = urlOrConnectionString, blobNameOrOptions && "string" != typeof blobNameOrOptions && (options = blobNameOrOptions), + pipeline = newPipeline(new AnonymousCredential, options); + super(url, pipeline), ({blobName: this._name, containerName: this._containerName} = this.getBlobAndContainerNamesFromUrl()), + this.blobContext = this.storageClientContext.blob, this._snapshot = getURLParameter(this.url, constants_URLConstants.Parameters.SNAPSHOT), + this._versionId = getURLParameter(this.url, constants_URLConstants.Parameters.VERSIONID); + } + withSnapshot(snapshot) { + return new BlobClient(setURLParameter(this.url, constants_URLConstants.Parameters.SNAPSHOT, 0 === snapshot.length ? void 0 : snapshot), this.pipeline); + } + withVersion(versionId) { + return new BlobClient(setURLParameter(this.url, constants_URLConstants.Parameters.VERSIONID, 0 === versionId.length ? void 0 : versionId), this.pipeline); + } + getAppendBlobClient() { + return new AppendBlobClient(this.url, this.pipeline); + } + getBlockBlobClient() { + return new BlockBlobClient(this.url, this.pipeline); + } + getPageBlobClient() { + return new PageBlobClient(this.url, this.pipeline); + } + async download(offset = 0, count, options = {}) { + return options.conditions = options.conditions || {}, options.conditions = options.conditions || {}, + ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps), tracingClient.withSpan("BlobClient-download", options, (async updatedOptions => { + var _a; + const res = assertResponse(await this.blobContext.download({ + abortSignal: options.abortSignal, + leaseAccessConditions: options.conditions, + modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { + ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions + }), + requestOptions: { + onDownloadProgress: checkEnvironment_isNode ? void 0 : options.onProgress + }, + range: 0 !== offset || count ? rangeToString({ + offset, + count + }) : void 0, + rangeGetContentMD5: options.rangeGetContentMD5, + rangeGetContentCRC64: options.rangeGetContentCrc64, + snapshot: options.snapshot, + cpkInfo: options.customerProvidedKey, + tracingOptions: updatedOptions.tracingOptions + })), wrappedRes = Object.assign(Object.assign({}, res), { + _response: res._response, + objectReplicationDestinationPolicyId: res.objectReplicationPolicyId, + objectReplicationSourceProperties: parseObjectReplicationRecord(res.objectReplicationRules) + }); + if (!checkEnvironment_isNode) return wrappedRes; + if ((void 0 === options.maxRetryRequests || options.maxRetryRequests < 0) && (options.maxRetryRequests = 5), + void 0 === res.contentLength) throw new RangeError("File download response doesn't contain valid content length header"); + if (!res.etag) throw new RangeError("File download response doesn't contain valid etag header"); + return new BlobDownloadResponse(wrappedRes, (async start => { + var _a; + const updatedDownloadOptions = { + leaseAccessConditions: options.conditions, + modifiedAccessConditions: { + ifMatch: options.conditions.ifMatch || res.etag, + ifModifiedSince: options.conditions.ifModifiedSince, + ifNoneMatch: options.conditions.ifNoneMatch, + ifUnmodifiedSince: options.conditions.ifUnmodifiedSince, + ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions + }, + range: rangeToString({ + count: offset + res.contentLength - start, + offset: start + }), + rangeGetContentMD5: options.rangeGetContentMD5, + rangeGetContentCRC64: options.rangeGetContentCrc64, + snapshot: options.snapshot, + cpkInfo: options.customerProvidedKey + }; + return (await this.blobContext.download(Object.assign({ + abortSignal: options.abortSignal + }, updatedDownloadOptions))).readableStreamBody; + }), offset, res.contentLength, { + maxRetryRequests: options.maxRetryRequests, + onProgress: options.onProgress + }); + })); + } + async exists(options = {}) { + return tracingClient.withSpan("BlobClient-exists", options, (async updatedOptions => { try { - this.actives++, await operation(), this.actives--, this.completed++, this.parallelExecute(); - } catch (error) { - this.emitter.emit("error", error); + return ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps), await this.getProperties({ + abortSignal: options.abortSignal, + customerProvidedKey: options.customerProvidedKey, + conditions: options.conditions, + tracingOptions: updatedOptions.tracingOptions + }), !0; + } catch (e) { + if (404 === e.statusCode) return !1; + if (409 === e.statusCode && ("BlobUsesCustomerSpecifiedEncryption" === e.details.errorCode || "BlobDoesNotUseCustomerSpecifiedEncryption" === e.details.errorCode)) return !0; + throw e; } })); } - async do() { - return 0 === this.operations.length ? Promise.resolve() : (this.parallelExecute(), - new Promise(((resolve, reject) => { - this.emitter.on("finish", resolve), this.emitter.on("error", (error => { - this.state = BatchStates.Error, reject(error); + async getProperties(options = {}) { + return options.conditions = options.conditions || {}, ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps), + tracingClient.withSpan("BlobClient-getProperties", options, (async updatedOptions => { + var _a; + const res = assertResponse(await this.blobContext.getProperties({ + abortSignal: options.abortSignal, + leaseAccessConditions: options.conditions, + modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { + ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions + }), + cpkInfo: options.customerProvidedKey, + tracingOptions: updatedOptions.tracingOptions })); - }))); + return Object.assign(Object.assign({}, res), { + _response: res._response, + objectReplicationDestinationPolicyId: res.objectReplicationPolicyId, + objectReplicationSourceProperties: parseObjectReplicationRecord(res.objectReplicationRules) + }); + })); } - nextOperation() { - return this.offset < this.operations.length ? this.operations[this.offset++] : null; + async delete(options = {}) { + return options.conditions = options.conditions || {}, tracingClient.withSpan("BlobClient-delete", options, (async updatedOptions => { + var _a; + return assertResponse(await this.blobContext.delete({ + abortSignal: options.abortSignal, + deleteSnapshots: options.deleteSnapshots, + leaseAccessConditions: options.conditions, + modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { + ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions + }), + tracingOptions: updatedOptions.tracingOptions + })); + })); } - parallelExecute() { - if (this.state !== BatchStates.Error) if (this.completed >= this.operations.length) this.emitter.emit("finish"); else for (;this.actives < this.concurrency; ) { - const operation = this.nextOperation(); - if (!operation) return; - operation(); - } + async deleteIfExists(options = {}) { + return tracingClient.withSpan("BlobClient-deleteIfExists", options, (async updatedOptions => { + var _a, _b; + try { + const res = assertResponse(await this.delete(updatedOptions)); + return Object.assign(Object.assign({ + succeeded: !0 + }, res), { + _response: res._response + }); + } catch (e) { + if ("BlobNotFound" === (null === (_a = e.details) || void 0 === _a ? void 0 : _a.errorCode)) return Object.assign(Object.assign({ + succeeded: !1 + }, null === (_b = e.response) || void 0 === _b ? void 0 : _b.parsedHeaders), { + _response: e.response + }); + throw e; + } + })); } - } - class BuffersStream extends external_stream_.Readable { - constructor(buffers, byteLength, options) { - super(options), this.buffers = buffers, this.byteLength = byteLength, this.byteOffsetInCurrentBuffer = 0, - this.bufferIndex = 0, this.pushedBytesLength = 0; - let buffersLength = 0; - for (const buf of this.buffers) buffersLength += buf.byteLength; - if (buffersLength < this.byteLength) throw new Error("Data size shouldn't be larger than the total length of buffers."); + async undelete(options = {}) { + return tracingClient.withSpan("BlobClient-undelete", options, (async updatedOptions => assertResponse(await this.blobContext.undelete({ + abortSignal: options.abortSignal, + tracingOptions: updatedOptions.tracingOptions + })))); } - _read(size) { - this.pushedBytesLength >= this.byteLength && this.push(null), size || (size = this.readableHighWaterMark); - const outBuffers = []; - let i = 0; - for (;i < size && this.pushedBytesLength < this.byteLength; ) { - const remainingDataInAllBuffers = this.byteLength - this.pushedBytesLength, remainingCapacityInThisBuffer = this.buffers[this.bufferIndex].byteLength - this.byteOffsetInCurrentBuffer, remaining = Math.min(remainingCapacityInThisBuffer, remainingDataInAllBuffers); - if (remaining > size - i) { - const end = this.byteOffsetInCurrentBuffer + size - i; - outBuffers.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer, end)), - this.pushedBytesLength += size - i, this.byteOffsetInCurrentBuffer = end, i = size; - break; - } - { - const end = this.byteOffsetInCurrentBuffer + remaining; - outBuffers.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer, end)), - remaining === remainingCapacityInThisBuffer ? (this.byteOffsetInCurrentBuffer = 0, - this.bufferIndex++) : this.byteOffsetInCurrentBuffer = end, this.pushedBytesLength += remaining, - i += remaining; - } - } - outBuffers.length > 1 ? this.push(Buffer.concat(outBuffers)) : 1 === outBuffers.length && this.push(outBuffers[0]); + async setHTTPHeaders(blobHTTPHeaders, options = {}) { + return options.conditions = options.conditions || {}, ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps), + tracingClient.withSpan("BlobClient-setHTTPHeaders", options, (async updatedOptions => { + var _a; + return assertResponse(await this.blobContext.setHttpHeaders({ + abortSignal: options.abortSignal, + blobHttpHeaders: blobHTTPHeaders, + leaseAccessConditions: options.conditions, + modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { + ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions + }), + tracingOptions: updatedOptions.tracingOptions + })); + })); } - } - const maxBufferLength = __webpack_require__(4300).constants.MAX_LENGTH; - class PooledBuffer { - constructor(capacity, buffers, totalLength) { - this.buffers = [], this.capacity = capacity, this._size = 0; - const bufferNum = Math.ceil(capacity / maxBufferLength); - for (let i = 0; i < bufferNum; i++) { - let len = i === bufferNum - 1 ? capacity % maxBufferLength : maxBufferLength; - 0 === len && (len = maxBufferLength), this.buffers.push(Buffer.allocUnsafe(len)); - } - buffers && this.fill(buffers, totalLength); + async setMetadata(metadata, options = {}) { + return options.conditions = options.conditions || {}, ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps), + tracingClient.withSpan("BlobClient-setMetadata", options, (async updatedOptions => { + var _a; + return assertResponse(await this.blobContext.setMetadata({ + abortSignal: options.abortSignal, + leaseAccessConditions: options.conditions, + metadata, + modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { + ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions + }), + cpkInfo: options.customerProvidedKey, + encryptionScope: options.encryptionScope, + tracingOptions: updatedOptions.tracingOptions + })); + })); + } + async setTags(tags, options = {}) { + return tracingClient.withSpan("BlobClient-setTags", options, (async updatedOptions => { + var _a; + return assertResponse(await this.blobContext.setTags({ + abortSignal: options.abortSignal, + leaseAccessConditions: options.conditions, + modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { + ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions + }), + tracingOptions: updatedOptions.tracingOptions, + tags: toBlobTags(tags) + })); + })); + } + async getTags(options = {}) { + return tracingClient.withSpan("BlobClient-getTags", options, (async updatedOptions => { + var _a; + const response = assertResponse(await this.blobContext.getTags({ + abortSignal: options.abortSignal, + leaseAccessConditions: options.conditions, + modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { + ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions + }), + tracingOptions: updatedOptions.tracingOptions + })); + return Object.assign(Object.assign({}, response), { + _response: response._response, + tags: toTags({ + blobTagSet: response.blobTagSet + }) || {} + }); + })); } - get size() { - return this._size; + getBlobLeaseClient(proposeLeaseId) { + return new BlobLeaseClient(this, proposeLeaseId); } - fill(buffers, totalLength) { - this._size = Math.min(this.capacity, totalLength); - let i = 0, j = 0, targetOffset = 0, sourceOffset = 0, totalCopiedNum = 0; - for (;totalCopiedNum < this._size; ) { - const source = buffers[i], target = this.buffers[j], copiedNum = source.copy(target, targetOffset, sourceOffset); - totalCopiedNum += copiedNum, sourceOffset += copiedNum, targetOffset += copiedNum, - sourceOffset === source.length && (i++, sourceOffset = 0), targetOffset === target.length && (j++, - targetOffset = 0); - } - buffers.splice(0, i), buffers.length > 0 && (buffers[0] = buffers[0].slice(sourceOffset)); + async createSnapshot(options = {}) { + return options.conditions = options.conditions || {}, ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps), + tracingClient.withSpan("BlobClient-createSnapshot", options, (async updatedOptions => { + var _a; + return assertResponse(await this.blobContext.createSnapshot({ + abortSignal: options.abortSignal, + leaseAccessConditions: options.conditions, + metadata: options.metadata, + modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { + ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions + }), + cpkInfo: options.customerProvidedKey, + encryptionScope: options.encryptionScope, + tracingOptions: updatedOptions.tracingOptions + })); + })); } - getReadableStream() { - return new BuffersStream(this.buffers, this.size); + async beginCopyFromURL(copySource, options = {}) { + const poller = new BlobBeginCopyFromUrlPoller({ + blobClient: { + abortCopyFromURL: (...args) => this.abortCopyFromURL(...args), + getProperties: (...args) => this.getProperties(...args), + startCopyFromURL: (...args) => this.startCopyFromURL(...args) + }, + copySource, + intervalInMs: options.intervalInMs, + onProgress: options.onProgress, + resumeFrom: options.resumeFrom, + startCopyFromURLOptions: options + }); + return await poller.poll(), poller; } - } - class BufferScheduler { - constructor(readable, bufferSize, maxBuffers, outgoingHandler, concurrency, encoding) { - if (this.emitter = new external_events_.EventEmitter, this.offset = 0, this.isStreamEnd = !1, - this.isError = !1, this.executingOutgoingHandlers = 0, this.numBuffers = 0, this.unresolvedDataArray = [], - this.unresolvedLength = 0, this.incoming = [], this.outgoing = [], bufferSize <= 0) throw new RangeError(`bufferSize must be larger than 0, current is ${bufferSize}`); - if (maxBuffers <= 0) throw new RangeError(`maxBuffers must be larger than 0, current is ${maxBuffers}`); - if (concurrency <= 0) throw new RangeError(`concurrency must be larger than 0, current is ${concurrency}`); - this.bufferSize = bufferSize, this.maxBuffers = maxBuffers, this.readable = readable, - this.outgoingHandler = outgoingHandler, this.concurrency = concurrency, this.encoding = encoding; + async abortCopyFromURL(copyId, options = {}) { + return tracingClient.withSpan("BlobClient-abortCopyFromURL", options, (async updatedOptions => assertResponse(await this.blobContext.abortCopyFromURL(copyId, { + abortSignal: options.abortSignal, + leaseAccessConditions: options.conditions, + tracingOptions: updatedOptions.tracingOptions + })))); } - async do() { - return new Promise(((resolve, reject) => { - this.readable.on("data", (data => { - data = "string" == typeof data ? Buffer.from(data, this.encoding) : data, this.appendUnresolvedData(data), - this.resolveData() || this.readable.pause(); - })), this.readable.on("error", (err => { - this.emitter.emit("error", err); - })), this.readable.on("end", (() => { - this.isStreamEnd = !0, this.emitter.emit("checkEnd"); - })), this.emitter.on("error", (err => { - this.isError = !0, this.readable.pause(), reject(err); - })), this.emitter.on("checkEnd", (() => { - if (this.outgoing.length > 0) this.triggerOutgoingHandlers(); else if (this.isStreamEnd && 0 === this.executingOutgoingHandlers) if (this.unresolvedLength > 0 && this.unresolvedLength < this.bufferSize) { - const buffer = this.shiftBufferFromUnresolvedDataArray(); - this.outgoingHandler((() => buffer.getReadableStream()), buffer.size, this.offset).then(resolve).catch(reject); - } else { - if (this.unresolvedLength >= this.bufferSize) return; - resolve(); - } + async syncCopyFromURL(copySource, options = {}) { + return options.conditions = options.conditions || {}, options.sourceConditions = options.sourceConditions || {}, + tracingClient.withSpan("BlobClient-syncCopyFromURL", options, (async updatedOptions => { + var _a, _b, _c, _d, _e, _f, _g; + return assertResponse(await this.blobContext.copyFromURL(copySource, { + abortSignal: options.abortSignal, + metadata: options.metadata, + leaseAccessConditions: options.conditions, + modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { + ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions + }), + sourceModifiedAccessConditions: { + sourceIfMatch: null === (_b = options.sourceConditions) || void 0 === _b ? void 0 : _b.ifMatch, + sourceIfModifiedSince: null === (_c = options.sourceConditions) || void 0 === _c ? void 0 : _c.ifModifiedSince, + sourceIfNoneMatch: null === (_d = options.sourceConditions) || void 0 === _d ? void 0 : _d.ifNoneMatch, + sourceIfUnmodifiedSince: null === (_e = options.sourceConditions) || void 0 === _e ? void 0 : _e.ifUnmodifiedSince + }, + sourceContentMD5: options.sourceContentMD5, + copySourceAuthorization: httpAuthorizationToString(options.sourceAuthorization), + tier: toAccessTier(options.tier), + blobTagsString: toBlobTagsString(options.tags), + immutabilityPolicyExpiry: null === (_f = options.immutabilityPolicy) || void 0 === _f ? void 0 : _f.expiriesOn, + immutabilityPolicyMode: null === (_g = options.immutabilityPolicy) || void 0 === _g ? void 0 : _g.policyMode, + legalHold: options.legalHold, + encryptionScope: options.encryptionScope, + copySourceTags: options.copySourceTags, + tracingOptions: updatedOptions.tracingOptions })); })); } - appendUnresolvedData(data) { - this.unresolvedDataArray.push(data), this.unresolvedLength += data.length; - } - shiftBufferFromUnresolvedDataArray(buffer) { - return buffer ? buffer.fill(this.unresolvedDataArray, this.unresolvedLength) : buffer = new PooledBuffer(this.bufferSize, this.unresolvedDataArray, this.unresolvedLength), - this.unresolvedLength -= buffer.size, buffer; + async setAccessTier(tier, options = {}) { + return tracingClient.withSpan("BlobClient-setAccessTier", options, (async updatedOptions => { + var _a; + return assertResponse(await this.blobContext.setTier(toAccessTier(tier), { + abortSignal: options.abortSignal, + leaseAccessConditions: options.conditions, + modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { + ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions + }), + rehydratePriority: options.rehydratePriority, + tracingOptions: updatedOptions.tracingOptions + })); + })); } - resolveData() { - for (;this.unresolvedLength >= this.bufferSize; ) { - let buffer; - if (this.incoming.length > 0) buffer = this.incoming.shift(), this.shiftBufferFromUnresolvedDataArray(buffer); else { - if (!(this.numBuffers < this.maxBuffers)) return !1; - buffer = this.shiftBufferFromUnresolvedDataArray(), this.numBuffers++; + async downloadToBuffer(param1, param2, param3, param4 = {}) { + var _a; + let buffer, offset = 0, count = 0, options = param4; + param1 instanceof Buffer ? (buffer = param1, offset = param2 || 0, count = "number" == typeof param3 ? param3 : 0) : (offset = "number" == typeof param1 ? param1 : 0, + count = "number" == typeof param2 ? param2 : 0, options = param3 || {}); + let blockSize = null !== (_a = options.blockSize) && void 0 !== _a ? _a : 0; + if (blockSize < 0) throw new RangeError("blockSize option must be >= 0"); + if (0 === blockSize && (blockSize = 4194304), offset < 0) throw new RangeError("offset option must be >= 0"); + if (count && count <= 0) throw new RangeError("count option must be greater than 0"); + return options.conditions || (options.conditions = {}), tracingClient.withSpan("BlobClient-downloadToBuffer", options, (async updatedOptions => { + if (!count) { + const response = await this.getProperties(Object.assign(Object.assign({}, options), { + tracingOptions: updatedOptions.tracingOptions + })); + if (count = response.contentLength - offset, count < 0) throw new RangeError(`offset ${offset} shouldn't be larger than blob size ${response.contentLength}`); } - this.outgoing.push(buffer), this.triggerOutgoingHandlers(); - } - return !0; + if (!buffer) try { + buffer = Buffer.alloc(count); + } catch (error) { + throw new Error(`Unable to allocate the buffer of size: ${count}(in bytes). Please try passing your own buffer to the "downloadToBuffer" method or try using other methods like "download" or "downloadToFile".\t ${error.message}`); + } + if (buffer.length < count) throw new RangeError(`The buffer's size should be equal to or larger than the request count of bytes: ${count}`); + let transferProgress = 0; + const batch = new Batch(options.concurrency); + for (let off = offset; off < offset + count; off += blockSize) batch.addOperation((async () => { + let chunkEnd = offset + count; + off + blockSize < chunkEnd && (chunkEnd = off + blockSize); + const stream = (await this.download(off, chunkEnd - off, { + abortSignal: options.abortSignal, + conditions: options.conditions, + maxRetryRequests: options.maxRetryRequestsPerBlock, + customerProvidedKey: options.customerProvidedKey, + tracingOptions: updatedOptions.tracingOptions + })).readableStreamBody; + await streamToBuffer(stream, buffer, off - offset, chunkEnd - offset), transferProgress += chunkEnd - off, + options.onProgress && options.onProgress({ + loadedBytes: transferProgress + }); + })); + return await batch.do(), buffer; + })); } - async triggerOutgoingHandlers() { - let buffer; - do { - if (this.executingOutgoingHandlers >= this.concurrency) return; - buffer = this.outgoing.shift(), buffer && this.triggerOutgoingHandler(buffer); - } while (buffer); + async downloadToFile(filePath, offset = 0, count, options = {}) { + return tracingClient.withSpan("BlobClient-downloadToFile", options, (async updatedOptions => { + const response = await this.download(offset, count, Object.assign(Object.assign({}, options), { + tracingOptions: updatedOptions.tracingOptions + })); + return response.readableStreamBody && await async function(rs, file) { + return new Promise(((resolve, reject) => { + const ws = external_fs_.createWriteStream(file); + rs.on("error", (err => { + reject(err); + })), ws.on("error", (err => { + reject(err); + })), ws.on("close", resolve), rs.pipe(ws); + })); + }(response.readableStreamBody, filePath), response.blobDownloadStream = void 0, + response; + })); } - async triggerOutgoingHandler(buffer) { - const bufferLength = buffer.size; - this.executingOutgoingHandlers++, this.offset += bufferLength; + getBlobAndContainerNamesFromUrl() { + let containerName, blobName; try { - await this.outgoingHandler((() => buffer.getReadableStream()), bufferLength, this.offset - bufferLength); - } catch (err) { - return void this.emitter.emit("error", err); + const parsedUrl = new URL(this.url); + if ("blob" === parsedUrl.host.split(".")[1]) { + const pathComponents = parsedUrl.pathname.match("/([^/]*)(/(.*))?"); + containerName = pathComponents[1], blobName = pathComponents[3]; + } else if (isIpEndpointStyle(parsedUrl)) { + const pathComponents = parsedUrl.pathname.match("/([^/]*)/([^/]*)(/(.*))?"); + containerName = pathComponents[2], blobName = pathComponents[4]; + } else { + const pathComponents = parsedUrl.pathname.match("/([^/]*)(/(.*))?"); + containerName = pathComponents[1], blobName = pathComponents[3]; + } + if (containerName = decodeURIComponent(containerName), blobName = decodeURIComponent(blobName), + blobName = blobName.replace(/\\/g, "/"), !containerName) throw new Error("Provided containerName is invalid."); + return { + blobName, + containerName + }; + } catch (error) { + throw new Error("Unable to extract blobName and containerName with provided information."); } - this.executingOutgoingHandlers--, this.reuseBuffer(buffer), this.emitter.emit("checkEnd"); } - reuseBuffer(buffer) { - this.incoming.push(buffer), this.isError || !this.resolveData() || this.isStreamEnd || this.readable.resume(); + async startCopyFromURL(copySource, options = {}) { + return tracingClient.withSpan("BlobClient-startCopyFromURL", options, (async updatedOptions => { + var _a, _b, _c; + return options.conditions = options.conditions || {}, options.sourceConditions = options.sourceConditions || {}, + assertResponse(await this.blobContext.startCopyFromURL(copySource, { + abortSignal: options.abortSignal, + leaseAccessConditions: options.conditions, + metadata: options.metadata, + modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { + ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions + }), + sourceModifiedAccessConditions: { + sourceIfMatch: options.sourceConditions.ifMatch, + sourceIfModifiedSince: options.sourceConditions.ifModifiedSince, + sourceIfNoneMatch: options.sourceConditions.ifNoneMatch, + sourceIfUnmodifiedSince: options.sourceConditions.ifUnmodifiedSince, + sourceIfTags: options.sourceConditions.tagConditions + }, + immutabilityPolicyExpiry: null === (_b = options.immutabilityPolicy) || void 0 === _b ? void 0 : _b.expiriesOn, + immutabilityPolicyMode: null === (_c = options.immutabilityPolicy) || void 0 === _c ? void 0 : _c.policyMode, + legalHold: options.legalHold, + rehydratePriority: options.rehydratePriority, + tier: toAccessTier(options.tier), + blobTagsString: toBlobTagsString(options.tags), + sealBlob: options.sealBlob, + tracingOptions: updatedOptions.tracingOptions + })); + })); } - } - var external_fs_ = __webpack_require__(7147); - async function streamToBuffer(stream, buffer, offset, end, encoding) { - let pos = 0; - const count = end - offset; - return new Promise(((resolve, reject) => { - const timeout = setTimeout((() => reject(new Error("The operation cannot be completed in timeout."))), REQUEST_TIMEOUT); - stream.on("readable", (() => { - if (pos >= count) return clearTimeout(timeout), void resolve(); - let chunk = stream.read(); - if (!chunk) return; - "string" == typeof chunk && (chunk = Buffer.from(chunk, encoding)); - const chunkLength = pos + chunk.length > count ? count - pos : chunk.length; - buffer.fill(chunk.slice(0, chunkLength), offset + pos, offset + pos + chunkLength), - pos += chunkLength; - })), stream.on("end", (() => { - clearTimeout(timeout), pos < count && reject(new Error(`Stream drains before getting enough data needed. Data read: ${pos}, data need: ${count}`)), - resolve(); - })), stream.on("error", (msg => { - clearTimeout(timeout), reject(msg); + generateSasUrl(options) { + return new Promise((resolve => { + if (!(this.credential instanceof StorageSharedKeyCredential)) throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential"); + const sas = generateBlobSASQueryParameters(Object.assign({ + containerName: this._containerName, + blobName: this._name, + snapshotTime: this._snapshot, + versionId: this._versionId + }, options), this.credential).toString(); + resolve(appendToURLQuery(this.url, sas)); })); - })); + } + async deleteImmutabilityPolicy(options = {}) { + return tracingClient.withSpan("BlobClient-deleteImmutabilityPolicy", options, (async updatedOptions => assertResponse(await this.blobContext.deleteImmutabilityPolicy({ + tracingOptions: updatedOptions.tracingOptions + })))); + } + async setImmutabilityPolicy(immutabilityPolicy, options = {}) { + return tracingClient.withSpan("BlobClient-setImmutabilityPolicy", options, (async updatedOptions => assertResponse(await this.blobContext.setImmutabilityPolicy({ + immutabilityPolicyExpiry: immutabilityPolicy.expiriesOn, + immutabilityPolicyMode: immutabilityPolicy.policyMode, + tracingOptions: updatedOptions.tracingOptions + })))); + } + async setLegalHold(legalHoldEnabled, options = {}) { + return tracingClient.withSpan("BlobClient-setLegalHold", options, (async updatedOptions => assertResponse(await this.blobContext.setLegalHold(legalHoldEnabled, { + tracingOptions: updatedOptions.tracingOptions + })))); + } + async getAccountInfo(options = {}) { + return tracingClient.withSpan("BlobClient-getAccountInfo", options, (async updatedOptions => assertResponse(await this.blobContext.getAccountInfo({ + abortSignal: options.abortSignal, + tracingOptions: updatedOptions.tracingOptions + })))); + } } - const fsStat = external_util_.promisify(external_fs_.stat), fsCreateReadStream = external_fs_.createReadStream; - class BlobClient extends StorageClient { + class AppendBlobClient extends BlobClient { constructor(urlOrConnectionString, credentialOrPipelineOrContainerName, blobNameOrOptions, options) { let pipeline, url; if (options = options || {}, isPipelineLike(credentialOrPipelineOrContainerName)) url = urlOrConnectionString, - pipeline = credentialOrPipelineOrContainerName; else if (utils_isNode && credentialOrPipelineOrContainerName instanceof StorageSharedKeyCredential || credentialOrPipelineOrContainerName instanceof AnonymousCredential || isTokenCredential(credentialOrPipelineOrContainerName)) url = urlOrConnectionString, + pipeline = credentialOrPipelineOrContainerName; else if (checkEnvironment_isNode && credentialOrPipelineOrContainerName instanceof StorageSharedKeyCredential || credentialOrPipelineOrContainerName instanceof AnonymousCredential || isTokenCredential(credentialOrPipelineOrContainerName)) url = urlOrConnectionString, pipeline = newPipeline(credentialOrPipelineOrContainerName, options = blobNameOrOptions); else if (credentialOrPipelineOrContainerName || "string" == typeof credentialOrPipelineOrContainerName) { if (!credentialOrPipelineOrContainerName || "string" != typeof credentialOrPipelineOrContainerName || !blobNameOrOptions || "string" != typeof blobNameOrOptions) throw new Error("Expecting non-empty strings for containerName and blobName parameters"); { const containerName = credentialOrPipelineOrContainerName, blobName = blobNameOrOptions, extractedCreds = extractConnectionStringParts(urlOrConnectionString); if ("AccountConnString" === extractedCreds.kind) { - if (!utils_isNode) throw new Error("Account connection string is only supported in Node.js environment"); + if (!checkEnvironment_isNode) throw new Error("Account connection string is only supported in Node.js environment"); { const sharedKeyCredential = new StorageSharedKeyCredential(extractedCreds.accountName, extractedCreds.accountKey); url = appendToURLPath(appendToURLPath(extractedCreds.url, encodeURIComponent(containerName)), encodeURIComponent(blobName)), @@ -22691,625 +21601,400 @@ } } } else url = urlOrConnectionString, pipeline = newPipeline(new AnonymousCredential, options); - super(url, pipeline), ({blobName: this._name, containerName: this._containerName} = this.getBlobAndContainerNamesFromUrl()), - this.blobContext = new blob_Blob(this.storageClientContext), this._snapshot = getURLParameter(this.url, constants_URLConstants_Parameters.SNAPSHOT), - this._versionId = getURLParameter(this.url, constants_URLConstants_Parameters.VERSIONID); - } - get name() { - return this._name; - } - get containerName() { - return this._containerName; + super(url, pipeline), this.appendBlobContext = this.storageClientContext.appendBlob; } withSnapshot(snapshot) { - return new BlobClient(setURLParameter(this.url, constants_URLConstants_Parameters.SNAPSHOT, 0 === snapshot.length ? void 0 : snapshot), this.pipeline); - } - withVersion(versionId) { - return new BlobClient(setURLParameter(this.url, constants_URLConstants_Parameters.VERSIONID, 0 === versionId.length ? void 0 : versionId), this.pipeline); + return new AppendBlobClient(setURLParameter(this.url, constants_URLConstants.Parameters.SNAPSHOT, 0 === snapshot.length ? void 0 : snapshot), this.pipeline); } - getAppendBlobClient() { - return new AppendBlobClient(this.url, this.pipeline); - } - getBlockBlobClient() { - return new BlockBlobClient(this.url, this.pipeline); - } - getPageBlobClient() { - return new PageBlobClient(this.url, this.pipeline); - } - async download(offset = 0, count, options = {}) { - var _a; - options.conditions = options.conditions || {}, options.conditions = options.conditions || {}, - ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps); - const {span, updatedOptions} = tracing_createSpan("BlobClient-download", options); - try { - const res = await this.blobContext.download(Object.assign({ + async create(options = {}) { + return options.conditions = options.conditions || {}, ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps), + tracingClient.withSpan("AppendBlobClient-create", options, (async updatedOptions => { + var _a, _b, _c; + return assertResponse(await this.appendBlobContext.create(0, { abortSignal: options.abortSignal, + blobHttpHeaders: options.blobHTTPHeaders, leaseAccessConditions: options.conditions, + metadata: options.metadata, modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions }), - requestOptions: { - onDownloadProgress: utils_isNode ? void 0 : options.onProgress - }, - range: 0 !== offset || count ? rangeToString({ - offset, - count - }) : void 0, - rangeGetContentMD5: options.rangeGetContentMD5, - rangeGetContentCRC64: options.rangeGetContentCrc64, - snapshot: options.snapshot, - cpkInfo: options.customerProvidedKey - }, convertTracingToRequestOptionsBase(updatedOptions))), wrappedRes = Object.assign(Object.assign({}, res), { - _response: res._response, - objectReplicationDestinationPolicyId: res.objectReplicationPolicyId, - objectReplicationSourceProperties: parseObjectReplicationRecord(res.objectReplicationRules) - }); - if (!utils_isNode) return wrappedRes; - if ((void 0 === options.maxRetryRequests || options.maxRetryRequests < 0) && (options.maxRetryRequests = 5), - void 0 === res.contentLength) throw new RangeError("File download response doesn't contain valid content length header"); - if (!res.etag) throw new RangeError("File download response doesn't contain valid etag header"); - return new BlobDownloadResponse(wrappedRes, (async start => { - var _a; - const updatedDownloadOptions = { - leaseAccessConditions: options.conditions, - modifiedAccessConditions: { - ifMatch: options.conditions.ifMatch || res.etag, - ifModifiedSince: options.conditions.ifModifiedSince, - ifNoneMatch: options.conditions.ifNoneMatch, - ifUnmodifiedSince: options.conditions.ifUnmodifiedSince, - ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions - }, - range: rangeToString({ - count: offset + res.contentLength - start, - offset: start - }), - rangeGetContentMD5: options.rangeGetContentMD5, - rangeGetContentCRC64: options.rangeGetContentCrc64, - snapshot: options.snapshot, - cpkInfo: options.customerProvidedKey - }; - return (await this.blobContext.download(Object.assign({ - abortSignal: options.abortSignal - }, updatedDownloadOptions))).readableStreamBody; - }), offset, res.contentLength, { - maxRetryRequests: options.maxRetryRequests, - onProgress: options.onProgress - }); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } - } - async exists(options = {}) { - const {span, updatedOptions} = tracing_createSpan("BlobClient-exists", options); - try { - return ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps), await this.getProperties({ - abortSignal: options.abortSignal, - customerProvidedKey: options.customerProvidedKey, - conditions: options.conditions, + cpkInfo: options.customerProvidedKey, + encryptionScope: options.encryptionScope, + immutabilityPolicyExpiry: null === (_b = options.immutabilityPolicy) || void 0 === _b ? void 0 : _b.expiriesOn, + immutabilityPolicyMode: null === (_c = options.immutabilityPolicy) || void 0 === _c ? void 0 : _c.policyMode, + legalHold: options.legalHold, + blobTagsString: toBlobTagsString(options.tags), tracingOptions: updatedOptions.tracingOptions - }), !0; - } catch (e) { - if (404 === e.statusCode) return !1; - if (409 === e.statusCode && ("BlobUsesCustomerSpecifiedEncryption" === e.details.errorCode || "BlobDoesNotUseCustomerSpecifiedEncryption" === e.details.errorCode)) return !0; - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } - } - async getProperties(options = {}) { - var _a; - const {span, updatedOptions} = tracing_createSpan("BlobClient-getProperties", options); - try { - options.conditions = options.conditions || {}, ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps); - const res = await this.blobContext.getProperties(Object.assign({ - abortSignal: options.abortSignal, - leaseAccessConditions: options.conditions, - modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { - ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions - }), - cpkInfo: options.customerProvidedKey - }, convertTracingToRequestOptionsBase(updatedOptions))); - return Object.assign(Object.assign({}, res), { - _response: res._response, - objectReplicationDestinationPolicyId: res.objectReplicationPolicyId, - objectReplicationSourceProperties: parseObjectReplicationRecord(res.objectReplicationRules) - }); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } - } - async delete(options = {}) { - var _a; - const {span, updatedOptions} = tracing_createSpan("BlobClient-delete", options); - options.conditions = options.conditions || {}; - try { - return await this.blobContext.delete(Object.assign({ - abortSignal: options.abortSignal, - deleteSnapshots: options.deleteSnapshots, - leaseAccessConditions: options.conditions, - modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { - ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions - }) - }, convertTracingToRequestOptionsBase(updatedOptions))); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } - } - async deleteIfExists(options = {}) { - var _a, _b; - const {span, updatedOptions} = tracing_createSpan("BlobClient-deleteIfExists", options); - try { - const res = await this.delete(updatedOptions); - return Object.assign(Object.assign({ - succeeded: !0 - }, res), { - _response: res._response - }); - } catch (e) { - if ("BlobNotFound" === (null === (_a = e.details) || void 0 === _a ? void 0 : _a.errorCode)) return span.setStatus({ - code: SpanStatusCode.ERROR, - message: "Expected exception when deleting a blob or snapshot only if it exists." - }), Object.assign(Object.assign({ - succeeded: !1 - }, null === (_b = e.response) || void 0 === _b ? void 0 : _b.parsedHeaders), { - _response: e.response - }); - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } + })); + })); } - async undelete(options = {}) { - const {span, updatedOptions} = tracing_createSpan("BlobClient-undelete", options); - try { - return await this.blobContext.undelete(Object.assign({ - abortSignal: options.abortSignal - }, convertTracingToRequestOptionsBase(updatedOptions))); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } + async createIfNotExists(options = {}) { + const conditions = { + ifNoneMatch: "*" + }; + return tracingClient.withSpan("AppendBlobClient-createIfNotExists", options, (async updatedOptions => { + var _a, _b; + try { + const res = assertResponse(await this.create(Object.assign(Object.assign({}, updatedOptions), { + conditions + }))); + return Object.assign(Object.assign({ + succeeded: !0 + }, res), { + _response: res._response + }); + } catch (e) { + if ("BlobAlreadyExists" === (null === (_a = e.details) || void 0 === _a ? void 0 : _a.errorCode)) return Object.assign(Object.assign({ + succeeded: !1 + }, null === (_b = e.response) || void 0 === _b ? void 0 : _b.parsedHeaders), { + _response: e.response + }); + throw e; + } + })); } - async setHTTPHeaders(blobHTTPHeaders, options = {}) { - var _a; - const {span, updatedOptions} = tracing_createSpan("BlobClient-setHTTPHeaders", options); - options.conditions = options.conditions || {}; - try { - return ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps), await this.blobContext.setHttpHeaders(Object.assign({ + async seal(options = {}) { + return options.conditions = options.conditions || {}, tracingClient.withSpan("AppendBlobClient-seal", options, (async updatedOptions => { + var _a; + return assertResponse(await this.appendBlobContext.seal({ abortSignal: options.abortSignal, - blobHttpHeaders: blobHTTPHeaders, + appendPositionAccessConditions: options.conditions, leaseAccessConditions: options.conditions, modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions - }) - }, convertTracingToRequestOptionsBase(updatedOptions))); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } + }), + tracingOptions: updatedOptions.tracingOptions + })); + })); } - async setMetadata(metadata, options = {}) { - var _a; - const {span, updatedOptions} = tracing_createSpan("BlobClient-setMetadata", options); - options.conditions = options.conditions || {}; - try { - return ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps), await this.blobContext.setMetadata(Object.assign({ + async appendBlock(body, contentLength, options = {}) { + return options.conditions = options.conditions || {}, ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps), + tracingClient.withSpan("AppendBlobClient-appendBlock", options, (async updatedOptions => { + var _a; + return assertResponse(await this.appendBlobContext.appendBlock(contentLength, body, { abortSignal: options.abortSignal, + appendPositionAccessConditions: options.conditions, leaseAccessConditions: options.conditions, - metadata, modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions }), + requestOptions: { + onUploadProgress: options.onProgress + }, + transactionalContentMD5: options.transactionalContentMD5, + transactionalContentCrc64: options.transactionalContentCrc64, cpkInfo: options.customerProvidedKey, - encryptionScope: options.encryptionScope - }, convertTracingToRequestOptionsBase(updatedOptions))); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } + encryptionScope: options.encryptionScope, + tracingOptions: updatedOptions.tracingOptions + })); + })); } - async setTags(tags, options = {}) { - var _a; - const {span, updatedOptions} = tracing_createSpan("BlobClient-setTags", options); - try { - return await this.blobContext.setTags(Object.assign(Object.assign({ + async appendBlockFromURL(sourceURL, sourceOffset, count, options = {}) { + return options.conditions = options.conditions || {}, options.sourceConditions = options.sourceConditions || {}, + ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps), tracingClient.withSpan("AppendBlobClient-appendBlockFromURL", options, (async updatedOptions => { + var _a, _b, _c, _d, _e; + return assertResponse(await this.appendBlobContext.appendBlockFromUrl(sourceURL, 0, { abortSignal: options.abortSignal, + sourceRange: rangeToString({ + offset: sourceOffset, + count + }), + sourceContentMD5: options.sourceContentMD5, + sourceContentCrc64: options.sourceContentCrc64, leaseAccessConditions: options.conditions, + appendPositionAccessConditions: options.conditions, modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions - }) - }, convertTracingToRequestOptionsBase(updatedOptions)), { - tags: toBlobTags(tags) + }), + sourceModifiedAccessConditions: { + sourceIfMatch: null === (_b = options.sourceConditions) || void 0 === _b ? void 0 : _b.ifMatch, + sourceIfModifiedSince: null === (_c = options.sourceConditions) || void 0 === _c ? void 0 : _c.ifModifiedSince, + sourceIfNoneMatch: null === (_d = options.sourceConditions) || void 0 === _d ? void 0 : _d.ifNoneMatch, + sourceIfUnmodifiedSince: null === (_e = options.sourceConditions) || void 0 === _e ? void 0 : _e.ifUnmodifiedSince + }, + copySourceAuthorization: httpAuthorizationToString(options.sourceAuthorization), + cpkInfo: options.customerProvidedKey, + encryptionScope: options.encryptionScope, + tracingOptions: updatedOptions.tracingOptions })); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } + })); } - async getTags(options = {}) { - var _a; - const {span, updatedOptions} = tracing_createSpan("BlobClient-getTags", options); - try { - const response = await this.blobContext.getTags(Object.assign({ - abortSignal: options.abortSignal, - leaseAccessConditions: options.conditions, - modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { - ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions - }) - }, convertTracingToRequestOptionsBase(updatedOptions))); - return Object.assign(Object.assign({}, response), { - _response: response._response, - tags: toTags({ - blobTagSet: response.blobTagSet - }) || {} - }); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } + } + class BlockBlobClient extends BlobClient { + constructor(urlOrConnectionString, credentialOrPipelineOrContainerName, blobNameOrOptions, options) { + let pipeline, url; + if (options = options || {}, isPipelineLike(credentialOrPipelineOrContainerName)) url = urlOrConnectionString, + pipeline = credentialOrPipelineOrContainerName; else if (checkEnvironment_isNode && credentialOrPipelineOrContainerName instanceof StorageSharedKeyCredential || credentialOrPipelineOrContainerName instanceof AnonymousCredential || isTokenCredential(credentialOrPipelineOrContainerName)) url = urlOrConnectionString, + pipeline = newPipeline(credentialOrPipelineOrContainerName, options = blobNameOrOptions); else if (credentialOrPipelineOrContainerName || "string" == typeof credentialOrPipelineOrContainerName) { + if (!credentialOrPipelineOrContainerName || "string" != typeof credentialOrPipelineOrContainerName || !blobNameOrOptions || "string" != typeof blobNameOrOptions) throw new Error("Expecting non-empty strings for containerName and blobName parameters"); + { + const containerName = credentialOrPipelineOrContainerName, blobName = blobNameOrOptions, extractedCreds = extractConnectionStringParts(urlOrConnectionString); + if ("AccountConnString" === extractedCreds.kind) { + if (!checkEnvironment_isNode) throw new Error("Account connection string is only supported in Node.js environment"); + { + const sharedKeyCredential = new StorageSharedKeyCredential(extractedCreds.accountName, extractedCreds.accountKey); + url = appendToURLPath(appendToURLPath(extractedCreds.url, encodeURIComponent(containerName)), encodeURIComponent(blobName)), + options.proxyOptions || (options.proxyOptions = getDefaultProxySettings(extractedCreds.proxyUri)), + pipeline = newPipeline(sharedKeyCredential, options); + } + } else { + if ("SASConnString" !== extractedCreds.kind) throw new Error("Connection string must be either an Account connection string or a SAS connection string"); + url = appendToURLPath(appendToURLPath(extractedCreds.url, encodeURIComponent(containerName)), encodeURIComponent(blobName)) + "?" + extractedCreds.accountSas, + pipeline = newPipeline(new AnonymousCredential, options); + } + } + } else url = urlOrConnectionString, blobNameOrOptions && "string" != typeof blobNameOrOptions && (options = blobNameOrOptions), + pipeline = newPipeline(new AnonymousCredential, options); + super(url, pipeline), this.blockBlobContext = this.storageClientContext.blockBlob, + this._blobContext = this.storageClientContext.blob; } - getBlobLeaseClient(proposeLeaseId) { - return new BlobLeaseClient(this, proposeLeaseId); + withSnapshot(snapshot) { + return new BlockBlobClient(setURLParameter(this.url, constants_URLConstants.Parameters.SNAPSHOT, 0 === snapshot.length ? void 0 : snapshot), this.pipeline); } - async createSnapshot(options = {}) { - var _a; - const {span, updatedOptions} = tracing_createSpan("BlobClient-createSnapshot", options); - options.conditions = options.conditions || {}; - try { - return ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps), await this.blobContext.createSnapshot(Object.assign({ + async query(query, options = {}) { + if (ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps), !checkEnvironment_isNode) throw new Error("This operation currently is only supported in Node.js."); + return tracingClient.withSpan("BlockBlobClient-query", options, (async updatedOptions => { + var _a; + const response = assertResponse(await this._blobContext.query({ abortSignal: options.abortSignal, + queryRequest: { + queryType: "SQL", + expression: query, + inputSerialization: toQuerySerialization(options.inputTextConfiguration), + outputSerialization: toQuerySerialization(options.outputTextConfiguration) + }, leaseAccessConditions: options.conditions, - metadata: options.metadata, modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions }), cpkInfo: options.customerProvidedKey, - encryptionScope: options.encryptionScope - }, convertTracingToRequestOptionsBase(updatedOptions))); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } - } - async beginCopyFromURL(copySource, options = {}) { - const poller = new BlobBeginCopyFromUrlPoller({ - blobClient: { - abortCopyFromURL: (...args) => this.abortCopyFromURL(...args), - getProperties: (...args) => this.getProperties(...args), - startCopyFromURL: (...args) => this.startCopyFromURL(...args) - }, - copySource, - intervalInMs: options.intervalInMs, - onProgress: options.onProgress, - resumeFrom: options.resumeFrom, - startCopyFromURLOptions: options - }); - return await poller.poll(), poller; - } - async abortCopyFromURL(copyId, options = {}) { - const {span, updatedOptions} = tracing_createSpan("BlobClient-abortCopyFromURL", options); - try { - return await this.blobContext.abortCopyFromURL(copyId, Object.assign({ + tracingOptions: updatedOptions.tracingOptions + })); + return new BlobQueryResponse(response, { abortSignal: options.abortSignal, - leaseAccessConditions: options.conditions - }, convertTracingToRequestOptionsBase(updatedOptions))); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } + onProgress: options.onProgress, + onError: options.onError + }); + })); } - async syncCopyFromURL(copySource, options = {}) { - var _a, _b, _c; - const {span, updatedOptions} = tracing_createSpan("BlobClient-syncCopyFromURL", options); - options.conditions = options.conditions || {}, options.sourceConditions = options.sourceConditions || {}; - try { - return await this.blobContext.copyFromURL(copySource, Object.assign({ + async upload(body, contentLength, options = {}) { + return options.conditions = options.conditions || {}, ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps), + tracingClient.withSpan("BlockBlobClient-upload", options, (async updatedOptions => { + var _a, _b, _c; + return assertResponse(await this.blockBlobContext.upload(contentLength, body, { abortSignal: options.abortSignal, - metadata: options.metadata, + blobHttpHeaders: options.blobHTTPHeaders, leaseAccessConditions: options.conditions, + metadata: options.metadata, modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions }), - sourceModifiedAccessConditions: { - sourceIfMatch: options.sourceConditions.ifMatch, - sourceIfModifiedSince: options.sourceConditions.ifModifiedSince, - sourceIfNoneMatch: options.sourceConditions.ifNoneMatch, - sourceIfUnmodifiedSince: options.sourceConditions.ifUnmodifiedSince + requestOptions: { + onUploadProgress: options.onProgress }, - sourceContentMD5: options.sourceContentMD5, - copySourceAuthorization: httpAuthorizationToString(options.sourceAuthorization), - blobTagsString: toBlobTagsString(options.tags), + cpkInfo: options.customerProvidedKey, + encryptionScope: options.encryptionScope, immutabilityPolicyExpiry: null === (_b = options.immutabilityPolicy) || void 0 === _b ? void 0 : _b.expiriesOn, immutabilityPolicyMode: null === (_c = options.immutabilityPolicy) || void 0 === _c ? void 0 : _c.policyMode, legalHold: options.legalHold, - encryptionScope: options.encryptionScope, - copySourceTags: options.copySourceTags - }, convertTracingToRequestOptionsBase(updatedOptions))); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } + tier: toAccessTier(options.tier), + blobTagsString: toBlobTagsString(options.tags), + tracingOptions: updatedOptions.tracingOptions + })); + })); } - async setAccessTier(tier, options = {}) { - var _a; - const {span, updatedOptions} = tracing_createSpan("BlobClient-setAccessTier", options); - try { - return await this.blobContext.setTier(toAccessTier(tier), Object.assign({ - abortSignal: options.abortSignal, + async syncUploadFromURL(sourceURL, options = {}) { + return options.conditions = options.conditions || {}, ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps), + tracingClient.withSpan("BlockBlobClient-syncUploadFromURL", options, (async updatedOptions => { + var _a, _b, _c, _d, _e, _f; + return assertResponse(await this.blockBlobContext.putBlobFromUrl(0, sourceURL, Object.assign(Object.assign({}, options), { + blobHttpHeaders: options.blobHTTPHeaders, leaseAccessConditions: options.conditions, modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions }), - rehydratePriority: options.rehydratePriority - }, convertTracingToRequestOptionsBase(updatedOptions))); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } - } - async downloadToBuffer(param1, param2, param3, param4 = {}) { - let buffer, offset = 0, count = 0, options = param4; - param1 instanceof Buffer ? (buffer = param1, offset = param2 || 0, count = "number" == typeof param3 ? param3 : 0) : (offset = "number" == typeof param1 ? param1 : 0, - count = "number" == typeof param2 ? param2 : 0, options = param3 || {}); - const {span, updatedOptions} = tracing_createSpan("BlobClient-downloadToBuffer", options); - try { - if (options.blockSize || (options.blockSize = 0), options.blockSize < 0) throw new RangeError("blockSize option must be >= 0"); - if (0 === options.blockSize && (options.blockSize = 4194304), offset < 0) throw new RangeError("offset option must be >= 0"); - if (count && count <= 0) throw new RangeError("count option must be greater than 0"); - if (options.conditions || (options.conditions = {}), !count) { - const response = await this.getProperties(Object.assign(Object.assign({}, options), { - tracingOptions: Object.assign(Object.assign({}, options.tracingOptions), convertTracingToRequestOptionsBase(updatedOptions)) - })); - if (count = response.contentLength - offset, count < 0) throw new RangeError(`offset ${offset} shouldn't be larger than blob size ${response.contentLength}`); - } - if (!buffer) try { - buffer = Buffer.alloc(count); - } catch (error) { - throw new Error(`Unable to allocate the buffer of size: ${count}(in bytes). Please try passing your own buffer to the "downloadToBuffer" method or try using other methods like "download" or "downloadToFile".\t ${error.message}`); - } - if (buffer.length < count) throw new RangeError(`The buffer's size should be equal to or larger than the request count of bytes: ${count}`); - let transferProgress = 0; - const batch = new Batch(options.concurrency); - for (let off = offset; off < offset + count; off += options.blockSize) batch.addOperation((async () => { - let chunkEnd = offset + count; - off + options.blockSize < chunkEnd && (chunkEnd = off + options.blockSize); - const stream = (await this.download(off, chunkEnd - off, { - abortSignal: options.abortSignal, - conditions: options.conditions, - maxRetryRequests: options.maxRetryRequestsPerBlock, - customerProvidedKey: options.customerProvidedKey, - tracingOptions: Object.assign(Object.assign({}, options.tracingOptions), convertTracingToRequestOptionsBase(updatedOptions)) - })).readableStreamBody; - await streamToBuffer(stream, buffer, off - offset, chunkEnd - offset), transferProgress += chunkEnd - off, - options.onProgress && options.onProgress({ - loadedBytes: transferProgress - }); - })); - return await batch.do(), buffer; - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } + sourceModifiedAccessConditions: { + sourceIfMatch: null === (_b = options.sourceConditions) || void 0 === _b ? void 0 : _b.ifMatch, + sourceIfModifiedSince: null === (_c = options.sourceConditions) || void 0 === _c ? void 0 : _c.ifModifiedSince, + sourceIfNoneMatch: null === (_d = options.sourceConditions) || void 0 === _d ? void 0 : _d.ifNoneMatch, + sourceIfUnmodifiedSince: null === (_e = options.sourceConditions) || void 0 === _e ? void 0 : _e.ifUnmodifiedSince, + sourceIfTags: null === (_f = options.sourceConditions) || void 0 === _f ? void 0 : _f.tagConditions + }, + cpkInfo: options.customerProvidedKey, + copySourceAuthorization: httpAuthorizationToString(options.sourceAuthorization), + tier: toAccessTier(options.tier), + blobTagsString: toBlobTagsString(options.tags), + copySourceTags: options.copySourceTags, + tracingOptions: updatedOptions.tracingOptions + }))); + })); } - async downloadToFile(filePath, offset = 0, count, options = {}) { - const {span, updatedOptions} = tracing_createSpan("BlobClient-downloadToFile", options); - try { - const response = await this.download(offset, count, Object.assign(Object.assign({}, options), { - tracingOptions: Object.assign(Object.assign({}, options.tracingOptions), convertTracingToRequestOptionsBase(updatedOptions)) - })); - return response.readableStreamBody && await async function(rs, file) { - return new Promise(((resolve, reject) => { - const ws = external_fs_.createWriteStream(file); - rs.on("error", (err => { - reject(err); - })), ws.on("error", (err => { - reject(err); - })), ws.on("close", resolve), rs.pipe(ws); - })); - }(response.readableStreamBody, filePath), response.blobDownloadStream = void 0, - response; - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } + async stageBlock(blockId, body, contentLength, options = {}) { + return ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps), tracingClient.withSpan("BlockBlobClient-stageBlock", options, (async updatedOptions => assertResponse(await this.blockBlobContext.stageBlock(blockId, contentLength, body, { + abortSignal: options.abortSignal, + leaseAccessConditions: options.conditions, + requestOptions: { + onUploadProgress: options.onProgress + }, + transactionalContentMD5: options.transactionalContentMD5, + transactionalContentCrc64: options.transactionalContentCrc64, + cpkInfo: options.customerProvidedKey, + encryptionScope: options.encryptionScope, + tracingOptions: updatedOptions.tracingOptions + })))); } - getBlobAndContainerNamesFromUrl() { - let containerName, blobName; - try { - const parsedUrl = URLBuilder.parse(this.url); - if ("blob" === parsedUrl.getHost().split(".")[1]) { - const pathComponents = parsedUrl.getPath().match("/([^/]*)(/(.*))?"); - containerName = pathComponents[1], blobName = pathComponents[3]; - } else if (isIpEndpointStyle(parsedUrl)) { - const pathComponents = parsedUrl.getPath().match("/([^/]*)/([^/]*)(/(.*))?"); - containerName = pathComponents[2], blobName = pathComponents[4]; - } else { - const pathComponents = parsedUrl.getPath().match("/([^/]*)(/(.*))?"); - containerName = pathComponents[1], blobName = pathComponents[3]; - } - if (containerName = decodeURIComponent(containerName), blobName = decodeURIComponent(blobName), - blobName = blobName.replace(/\\/g, "/"), !containerName) throw new Error("Provided containerName is invalid."); - return { - blobName, - containerName - }; - } catch (error) { - throw new Error("Unable to extract blobName and containerName with provided information."); - } + async stageBlockFromURL(blockId, sourceURL, offset = 0, count, options = {}) { + return ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps), tracingClient.withSpan("BlockBlobClient-stageBlockFromURL", options, (async updatedOptions => assertResponse(await this.blockBlobContext.stageBlockFromURL(blockId, 0, sourceURL, { + abortSignal: options.abortSignal, + leaseAccessConditions: options.conditions, + sourceContentMD5: options.sourceContentMD5, + sourceContentCrc64: options.sourceContentCrc64, + sourceRange: 0 !== offset || count ? rangeToString({ + offset, + count + }) : void 0, + cpkInfo: options.customerProvidedKey, + encryptionScope: options.encryptionScope, + copySourceAuthorization: httpAuthorizationToString(options.sourceAuthorization), + tracingOptions: updatedOptions.tracingOptions + })))); } - async startCopyFromURL(copySource, options = {}) { - var _a, _b, _c; - const {span, updatedOptions} = tracing_createSpan("BlobClient-startCopyFromURL", options); - options.conditions = options.conditions || {}, options.sourceConditions = options.sourceConditions || {}; - try { - return await this.blobContext.startCopyFromURL(copySource, Object.assign({ + async commitBlockList(blocks, options = {}) { + return options.conditions = options.conditions || {}, ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps), + tracingClient.withSpan("BlockBlobClient-commitBlockList", options, (async updatedOptions => { + var _a, _b, _c; + return assertResponse(await this.blockBlobContext.commitBlockList({ + latest: blocks + }, { abortSignal: options.abortSignal, + blobHttpHeaders: options.blobHTTPHeaders, leaseAccessConditions: options.conditions, metadata: options.metadata, modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions }), - sourceModifiedAccessConditions: { - sourceIfMatch: options.sourceConditions.ifMatch, - sourceIfModifiedSince: options.sourceConditions.ifModifiedSince, - sourceIfNoneMatch: options.sourceConditions.ifNoneMatch, - sourceIfUnmodifiedSince: options.sourceConditions.ifUnmodifiedSince, - sourceIfTags: options.sourceConditions.tagConditions - }, + cpkInfo: options.customerProvidedKey, + encryptionScope: options.encryptionScope, immutabilityPolicyExpiry: null === (_b = options.immutabilityPolicy) || void 0 === _b ? void 0 : _b.expiriesOn, immutabilityPolicyMode: null === (_c = options.immutabilityPolicy) || void 0 === _c ? void 0 : _c.policyMode, legalHold: options.legalHold, - rehydratePriority: options.rehydratePriority, tier: toAccessTier(options.tier), blobTagsString: toBlobTagsString(options.tags), - sealBlob: options.sealBlob - }, convertTracingToRequestOptionsBase(updatedOptions))); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } + tracingOptions: updatedOptions.tracingOptions + })); + })); } - generateSasUrl(options) { - return new Promise((resolve => { - if (!(this.credential instanceof StorageSharedKeyCredential)) throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential"); - const sas = generateBlobSASQueryParameters(Object.assign({ - containerName: this._containerName, - blobName: this._name, - snapshotTime: this._snapshot, - versionId: this._versionId - }, options), this.credential).toString(); - resolve(appendToURLQuery(this.url, sas)); + async getBlockList(listType, options = {}) { + return tracingClient.withSpan("BlockBlobClient-getBlockList", options, (async updatedOptions => { + var _a; + const res = assertResponse(await this.blockBlobContext.getBlockList(listType, { + abortSignal: options.abortSignal, + leaseAccessConditions: options.conditions, + modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { + ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions + }), + tracingOptions: updatedOptions.tracingOptions + })); + return res.committedBlocks || (res.committedBlocks = []), res.uncommittedBlocks || (res.uncommittedBlocks = []), + res; })); } - async deleteImmutabilityPolicy(options) { - const {span, updatedOptions} = tracing_createSpan("BlobClient-deleteImmutabilityPolicy", options); - try { - return await this.blobContext.deleteImmutabilityPolicy(Object.assign({ - abortSignal: null == options ? void 0 : options.abortSignal - }, convertTracingToRequestOptionsBase(updatedOptions))); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } + async uploadData(data, options = {}) { + return tracingClient.withSpan("BlockBlobClient-uploadData", options, (async updatedOptions => { + if (checkEnvironment_isNode) { + let buffer; + return buffer = data instanceof Buffer ? data : data instanceof ArrayBuffer ? Buffer.from(data) : Buffer.from(data.buffer, data.byteOffset, data.byteLength), + this.uploadSeekableInternal(((offset, size) => buffer.slice(offset, offset + size)), buffer.byteLength, updatedOptions); + } + { + const browserBlob = new Blob([ data ]); + return this.uploadSeekableInternal(((offset, size) => browserBlob.slice(offset, offset + size)), browserBlob.size, updatedOptions); + } + })); } - async setImmutabilityPolicy(immutabilityPolicy, options) { - const {span, updatedOptions} = tracing_createSpan("BlobClient-setImmutabilityPolicy", options); - try { - return await this.blobContext.setImmutabilityPolicy(Object.assign({ - abortSignal: null == options ? void 0 : options.abortSignal, - immutabilityPolicyExpiry: immutabilityPolicy.expiriesOn, - immutabilityPolicyMode: immutabilityPolicy.policyMode, - modifiedAccessConditions: null == options ? void 0 : options.modifiedAccessCondition - }, convertTracingToRequestOptionsBase(updatedOptions))); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); + async uploadBrowserData(browserData, options = {}) { + return tracingClient.withSpan("BlockBlobClient-uploadBrowserData", options, (async updatedOptions => { + const browserBlob = new Blob([ browserData ]); + return this.uploadSeekableInternal(((offset, size) => browserBlob.slice(offset, offset + size)), browserBlob.size, updatedOptions); + })); + } + async uploadSeekableInternal(bodyFactory, size, options = {}) { + var _a, _b; + let blockSize = null !== (_a = options.blockSize) && void 0 !== _a ? _a : 0; + if (blockSize < 0 || blockSize > 4194304e3) throw new RangeError("blockSize option must be >= 0 and <= 4194304000"); + const maxSingleShotSize = null !== (_b = options.maxSingleShotSize) && void 0 !== _b ? _b : 268435456; + if (maxSingleShotSize < 0 || maxSingleShotSize > 268435456) throw new RangeError("maxSingleShotSize option must be >= 0 and <= 268435456"); + if (0 === blockSize) { + if (size > 2097152e8) throw new RangeError(`${size} is too larger to upload to a block blob.`); + size > maxSingleShotSize && (blockSize = Math.ceil(size / 5e4), blockSize < 4194304 && (blockSize = 4194304)); } + return options.blobHTTPHeaders || (options.blobHTTPHeaders = {}), options.conditions || (options.conditions = {}), + tracingClient.withSpan("BlockBlobClient-uploadSeekableInternal", options, (async updatedOptions => { + if (size <= maxSingleShotSize) return assertResponse(await this.upload(bodyFactory(0, size), size, updatedOptions)); + const numBlocks = Math.floor((size - 1) / blockSize) + 1; + if (numBlocks > 5e4) throw new RangeError("The buffer's size is too big or the BlockSize is too small;the number of blocks must be <= 50000"); + const blockList = [], blockIDPrefix = randomUUID(); + let transferProgress = 0; + const batch = new Batch(options.concurrency); + for (let i = 0; i < numBlocks; i++) batch.addOperation((async () => { + const blockID = generateBlockID(blockIDPrefix, i), start = blockSize * i, contentLength = (i === numBlocks - 1 ? size : start + blockSize) - start; + blockList.push(blockID), await this.stageBlock(blockID, bodyFactory(start, contentLength), contentLength, { + abortSignal: options.abortSignal, + conditions: options.conditions, + encryptionScope: options.encryptionScope, + tracingOptions: updatedOptions.tracingOptions + }), transferProgress += contentLength, options.onProgress && options.onProgress({ + loadedBytes: transferProgress + }); + })); + return await batch.do(), this.commitBlockList(blockList, updatedOptions); + })); + } + async uploadFile(filePath, options = {}) { + return tracingClient.withSpan("BlockBlobClient-uploadFile", options, (async updatedOptions => { + const size = (await fsStat(filePath)).size; + return this.uploadSeekableInternal(((offset, count) => () => fsCreateReadStream(filePath, { + autoClose: !0, + end: count ? offset + count - 1 : 1 / 0, + start: offset + })), size, Object.assign(Object.assign({}, options), { + tracingOptions: updatedOptions.tracingOptions + })); + })); } - async setLegalHold(legalHoldEnabled, options) { - const {span, updatedOptions} = tracing_createSpan("BlobClient-setLegalHold", options); - try { - return await this.blobContext.setLegalHold(legalHoldEnabled, Object.assign({ - abortSignal: null == options ? void 0 : options.abortSignal - }, convertTracingToRequestOptionsBase(updatedOptions))); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } + async uploadStream(stream, bufferSize = 8388608, maxConcurrency = 5, options = {}) { + return options.blobHTTPHeaders || (options.blobHTTPHeaders = {}), options.conditions || (options.conditions = {}), + tracingClient.withSpan("BlockBlobClient-uploadStream", options, (async updatedOptions => { + let blockNum = 0; + const blockIDPrefix = randomUUID(); + let transferProgress = 0; + const blockList = [], scheduler = new BufferScheduler(stream, bufferSize, maxConcurrency, (async (body, length) => { + const blockID = generateBlockID(blockIDPrefix, blockNum); + blockList.push(blockID), blockNum++, await this.stageBlock(blockID, body, length, { + conditions: options.conditions, + encryptionScope: options.encryptionScope, + tracingOptions: updatedOptions.tracingOptions + }), transferProgress += length, options.onProgress && options.onProgress({ + loadedBytes: transferProgress + }); + }), Math.ceil(maxConcurrency / 4 * 3)); + return await scheduler.do(), assertResponse(await this.commitBlockList(blockList, Object.assign(Object.assign({}, options), { + tracingOptions: updatedOptions.tracingOptions + }))); + })); } } - class AppendBlobClient extends BlobClient { + class PageBlobClient extends BlobClient { constructor(urlOrConnectionString, credentialOrPipelineOrContainerName, blobNameOrOptions, options) { let pipeline, url; if (options = options || {}, isPipelineLike(credentialOrPipelineOrContainerName)) url = urlOrConnectionString, - pipeline = credentialOrPipelineOrContainerName; else if (utils_isNode && credentialOrPipelineOrContainerName instanceof StorageSharedKeyCredential || credentialOrPipelineOrContainerName instanceof AnonymousCredential || isTokenCredential(credentialOrPipelineOrContainerName)) url = urlOrConnectionString, + pipeline = credentialOrPipelineOrContainerName; else if (checkEnvironment_isNode && credentialOrPipelineOrContainerName instanceof StorageSharedKeyCredential || credentialOrPipelineOrContainerName instanceof AnonymousCredential || isTokenCredential(credentialOrPipelineOrContainerName)) url = urlOrConnectionString, pipeline = newPipeline(credentialOrPipelineOrContainerName, options = blobNameOrOptions); else if (credentialOrPipelineOrContainerName || "string" == typeof credentialOrPipelineOrContainerName) { if (!credentialOrPipelineOrContainerName || "string" != typeof credentialOrPipelineOrContainerName || !blobNameOrOptions || "string" != typeof blobNameOrOptions) throw new Error("Expecting non-empty strings for containerName and blobName parameters"); { const containerName = credentialOrPipelineOrContainerName, blobName = blobNameOrOptions, extractedCreds = extractConnectionStringParts(urlOrConnectionString); if ("AccountConnString" === extractedCreds.kind) { - if (!utils_isNode) throw new Error("Account connection string is only supported in Node.js environment"); + if (!checkEnvironment_isNode) throw new Error("Account connection string is only supported in Node.js environment"); { const sharedKeyCredential = new StorageSharedKeyCredential(extractedCreds.accountName, extractedCreds.accountKey); url = appendToURLPath(appendToURLPath(extractedCreds.url, encodeURIComponent(containerName)), encodeURIComponent(blobName)), @@ -23323,19 +22008,19 @@ } } } else url = urlOrConnectionString, pipeline = newPipeline(new AnonymousCredential, options); - super(url, pipeline), this.appendBlobContext = new AppendBlob(this.storageClientContext); + super(url, pipeline), this.pageBlobContext = this.storageClientContext.pageBlob; } withSnapshot(snapshot) { - return new AppendBlobClient(setURLParameter(this.url, constants_URLConstants_Parameters.SNAPSHOT, 0 === snapshot.length ? void 0 : snapshot), this.pipeline); + return new PageBlobClient(setURLParameter(this.url, constants_URLConstants.Parameters.SNAPSHOT, 0 === snapshot.length ? void 0 : snapshot), this.pipeline); } - async create(options = {}) { - var _a, _b, _c; - const {span, updatedOptions} = tracing_createSpan("AppendBlobClient-create", options); - options.conditions = options.conditions || {}; - try { - return ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps), await this.appendBlobContext.create(0, Object.assign({ + async create(size, options = {}) { + return options.conditions = options.conditions || {}, ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps), + tracingClient.withSpan("PageBlobClient-create", options, (async updatedOptions => { + var _a, _b, _c; + return assertResponse(await this.pageBlobContext.create(0, size, { abortSignal: options.abortSignal, blobHttpHeaders: options.blobHTTPHeaders, + blobSequenceNumber: options.blobSequenceNumber, leaseAccessConditions: options.conditions, metadata: options.metadata, modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { @@ -23346,753 +22031,866 @@ immutabilityPolicyExpiry: null === (_b = options.immutabilityPolicy) || void 0 === _b ? void 0 : _b.expiriesOn, immutabilityPolicyMode: null === (_c = options.immutabilityPolicy) || void 0 === _c ? void 0 : _c.policyMode, legalHold: options.legalHold, - blobTagsString: toBlobTagsString(options.tags) - }, convertTracingToRequestOptionsBase(updatedOptions))); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } + tier: toAccessTier(options.tier), + blobTagsString: toBlobTagsString(options.tags), + tracingOptions: updatedOptions.tracingOptions + })); + })); } - async createIfNotExists(options = {}) { - var _a, _b; - const {span, updatedOptions} = tracing_createSpan("AppendBlobClient-createIfNotExists", options), conditions = { - ifNoneMatch: "*" - }; - try { - const res = await this.create(Object.assign(Object.assign({}, updatedOptions), { - conditions + async createIfNotExists(size, options = {}) { + return tracingClient.withSpan("PageBlobClient-createIfNotExists", options, (async updatedOptions => { + var _a, _b; + try { + const conditions = { + ifNoneMatch: "*" + }, res = assertResponse(await this.create(size, Object.assign(Object.assign({}, options), { + conditions, + tracingOptions: updatedOptions.tracingOptions + }))); + return Object.assign(Object.assign({ + succeeded: !0 + }, res), { + _response: res._response + }); + } catch (e) { + if ("BlobAlreadyExists" === (null === (_a = e.details) || void 0 === _a ? void 0 : _a.errorCode)) return Object.assign(Object.assign({ + succeeded: !1 + }, null === (_b = e.response) || void 0 === _b ? void 0 : _b.parsedHeaders), { + _response: e.response + }); + throw e; + } + })); + } + async uploadPages(body, offset, count, options = {}) { + return options.conditions = options.conditions || {}, ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps), + tracingClient.withSpan("PageBlobClient-uploadPages", options, (async updatedOptions => { + var _a; + return assertResponse(await this.pageBlobContext.uploadPages(count, body, { + abortSignal: options.abortSignal, + leaseAccessConditions: options.conditions, + modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { + ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions + }), + requestOptions: { + onUploadProgress: options.onProgress + }, + range: rangeToString({ + offset, + count + }), + sequenceNumberAccessConditions: options.conditions, + transactionalContentMD5: options.transactionalContentMD5, + transactionalContentCrc64: options.transactionalContentCrc64, + cpkInfo: options.customerProvidedKey, + encryptionScope: options.encryptionScope, + tracingOptions: updatedOptions.tracingOptions })); - return Object.assign(Object.assign({ - succeeded: !0 - }, res), { - _response: res._response - }); - } catch (e) { - if ("BlobAlreadyExists" === (null === (_a = e.details) || void 0 === _a ? void 0 : _a.errorCode)) return span.setStatus({ - code: SpanStatusCode.ERROR, - message: "Expected exception when creating a blob only if it does not already exist." - }), Object.assign(Object.assign({ - succeeded: !1 - }, null === (_b = e.response) || void 0 === _b ? void 0 : _b.parsedHeaders), { - _response: e.response - }); - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } + })); } - async seal(options = {}) { - var _a; - const {span, updatedOptions} = tracing_createSpan("AppendBlobClient-seal", options); + async uploadPagesFromURL(sourceURL, sourceOffset, destOffset, count, options = {}) { + return options.conditions = options.conditions || {}, options.sourceConditions = options.sourceConditions || {}, + ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps), tracingClient.withSpan("PageBlobClient-uploadPagesFromURL", options, (async updatedOptions => { + var _a, _b, _c, _d, _e; + return assertResponse(await this.pageBlobContext.uploadPagesFromURL(sourceURL, rangeToString({ + offset: sourceOffset, + count + }), 0, rangeToString({ + offset: destOffset, + count + }), { + abortSignal: options.abortSignal, + sourceContentMD5: options.sourceContentMD5, + sourceContentCrc64: options.sourceContentCrc64, + leaseAccessConditions: options.conditions, + sequenceNumberAccessConditions: options.conditions, + modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { + ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions + }), + sourceModifiedAccessConditions: { + sourceIfMatch: null === (_b = options.sourceConditions) || void 0 === _b ? void 0 : _b.ifMatch, + sourceIfModifiedSince: null === (_c = options.sourceConditions) || void 0 === _c ? void 0 : _c.ifModifiedSince, + sourceIfNoneMatch: null === (_d = options.sourceConditions) || void 0 === _d ? void 0 : _d.ifNoneMatch, + sourceIfUnmodifiedSince: null === (_e = options.sourceConditions) || void 0 === _e ? void 0 : _e.ifUnmodifiedSince + }, + cpkInfo: options.customerProvidedKey, + encryptionScope: options.encryptionScope, + copySourceAuthorization: httpAuthorizationToString(options.sourceAuthorization), + tracingOptions: updatedOptions.tracingOptions + })); + })); + } + async clearPages(offset = 0, count, options = {}) { + return options.conditions = options.conditions || {}, tracingClient.withSpan("PageBlobClient-clearPages", options, (async updatedOptions => { + var _a; + return assertResponse(await this.pageBlobContext.clearPages(0, { + abortSignal: options.abortSignal, + leaseAccessConditions: options.conditions, + modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { + ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions + }), + range: rangeToString({ + offset, + count + }), + sequenceNumberAccessConditions: options.conditions, + cpkInfo: options.customerProvidedKey, + encryptionScope: options.encryptionScope, + tracingOptions: updatedOptions.tracingOptions + })); + })); + } + async getPageRanges(offset = 0, count, options = {}) { + return options.conditions = options.conditions || {}, tracingClient.withSpan("PageBlobClient-getPageRanges", options, (async updatedOptions => { + var _a; + return rangeResponseFromModel(assertResponse(await this.pageBlobContext.getPageRanges({ + abortSignal: options.abortSignal, + leaseAccessConditions: options.conditions, + modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { + ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions + }), + range: rangeToString({ + offset, + count + }), + tracingOptions: updatedOptions.tracingOptions + }))); + })); + } + async listPageRangesSegment(offset = 0, count, marker, options = {}) { + return tracingClient.withSpan("PageBlobClient-getPageRangesSegment", options, (async updatedOptions => { + var _a; + return assertResponse(await this.pageBlobContext.getPageRanges({ + abortSignal: options.abortSignal, + leaseAccessConditions: options.conditions, + modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { + ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions + }), + range: rangeToString({ + offset, + count + }), + marker, + maxPageSize: options.maxPageSize, + tracingOptions: updatedOptions.tracingOptions + })); + })); + } + listPageRangeItemSegments() { + return __asyncGenerator(this, arguments, (function*(offset = 0, count, marker, options = {}) { + let getPageRangeItemSegmentsResponse; + if (marker || void 0 === marker) do { + getPageRangeItemSegmentsResponse = yield __await(this.listPageRangesSegment(offset, count, marker, options)), + marker = getPageRangeItemSegmentsResponse.continuationToken, yield yield __await(yield __await(getPageRangeItemSegmentsResponse)); + } while (marker); + })); + } + listPageRangeItems() { + return __asyncGenerator(this, arguments, (function*(offset = 0, count, options = {}) { + var _a, e_1, _b, _c; + try { + for (var _f, _d = !0, _e = __asyncValues(this.listPageRangeItemSegments(offset, count, undefined, options)); !(_a = (_f = yield __await(_e.next())).done); _d = !0) { + _c = _f.value, _d = !1; + const getPageRangesSegment = _c; + yield __await(yield* __asyncDelegator(__asyncValues(ExtractPageRangeInfoItems(getPageRangesSegment)))); + } + } catch (e_1_1) { + e_1 = { + error: e_1_1 + }; + } finally { + try { + _d || _a || !(_b = _e.return) || (yield __await(_b.call(_e))); + } finally { + if (e_1) throw e_1.error; + } + } + })); + } + listPageRanges(offset = 0, count, options = {}) { options.conditions = options.conditions || {}; - try { - return await this.appendBlobContext.seal(Object.assign({ + const iter = this.listPageRangeItems(offset, count, options); + return { + next: () => iter.next(), + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings = {}) => this.listPageRangeItemSegments(offset, count, settings.continuationToken, Object.assign({ + maxPageSize: settings.maxPageSize + }, options)) + }; + } + async getPageRangesDiff(offset, count, prevSnapshot, options = {}) { + return options.conditions = options.conditions || {}, tracingClient.withSpan("PageBlobClient-getPageRangesDiff", options, (async updatedOptions => { + var _a; + return rangeResponseFromModel(assertResponse(await this.pageBlobContext.getPageRangesDiff({ abortSignal: options.abortSignal, - appendPositionAccessConditions: options.conditions, leaseAccessConditions: options.conditions, modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions - }) - }, convertTracingToRequestOptionsBase(updatedOptions))); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } + }), + prevsnapshot: prevSnapshot, + range: rangeToString({ + offset, + count + }), + tracingOptions: updatedOptions.tracingOptions + }))); + })); } - async appendBlock(body, contentLength, options = {}) { - var _a; - const {span, updatedOptions} = tracing_createSpan("AppendBlobClient-appendBlock", options); + async listPageRangesDiffSegment(offset, count, prevSnapshotOrUrl, marker, options = {}) { + return tracingClient.withSpan("PageBlobClient-getPageRangesDiffSegment", options, (async updatedOptions => { + var _a; + return assertResponse(await this.pageBlobContext.getPageRangesDiff({ + abortSignal: null == options ? void 0 : options.abortSignal, + leaseAccessConditions: null == options ? void 0 : options.conditions, + modifiedAccessConditions: Object.assign(Object.assign({}, null == options ? void 0 : options.conditions), { + ifTags: null === (_a = null == options ? void 0 : options.conditions) || void 0 === _a ? void 0 : _a.tagConditions + }), + prevsnapshot: prevSnapshotOrUrl, + range: rangeToString({ + offset, + count + }), + marker, + maxPageSize: null == options ? void 0 : options.maxPageSize, + tracingOptions: updatedOptions.tracingOptions + })); + })); + } + listPageRangeDiffItemSegments(offset, count, prevSnapshotOrUrl, marker, options) { + return __asyncGenerator(this, arguments, (function*() { + let getPageRangeItemSegmentsResponse; + if (marker || void 0 === marker) do { + getPageRangeItemSegmentsResponse = yield __await(this.listPageRangesDiffSegment(offset, count, prevSnapshotOrUrl, marker, options)), + marker = getPageRangeItemSegmentsResponse.continuationToken, yield yield __await(yield __await(getPageRangeItemSegmentsResponse)); + } while (marker); + })); + } + listPageRangeDiffItems(offset, count, prevSnapshotOrUrl, options) { + return __asyncGenerator(this, arguments, (function*() { + var _a, e_2, _b, _c; + try { + for (var _f, _d = !0, _e = __asyncValues(this.listPageRangeDiffItemSegments(offset, count, prevSnapshotOrUrl, undefined, options)); !(_a = (_f = yield __await(_e.next())).done); _d = !0) { + _c = _f.value, _d = !1; + const getPageRangesSegment = _c; + yield __await(yield* __asyncDelegator(__asyncValues(ExtractPageRangeInfoItems(getPageRangesSegment)))); + } + } catch (e_2_1) { + e_2 = { + error: e_2_1 + }; + } finally { + try { + _d || _a || !(_b = _e.return) || (yield __await(_b.call(_e))); + } finally { + if (e_2) throw e_2.error; + } + } + })); + } + listPageRangesDiff(offset, count, prevSnapshot, options = {}) { options.conditions = options.conditions || {}; - try { - return ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps), await this.appendBlobContext.appendBlock(contentLength, body, Object.assign({ + const iter = this.listPageRangeDiffItems(offset, count, prevSnapshot, Object.assign({}, options)); + return { + next: () => iter.next(), + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings = {}) => this.listPageRangeDiffItemSegments(offset, count, prevSnapshot, settings.continuationToken, Object.assign({ + maxPageSize: settings.maxPageSize + }, options)) + }; + } + async getPageRangesDiffForManagedDisks(offset, count, prevSnapshotUrl, options = {}) { + return options.conditions = options.conditions || {}, tracingClient.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks", options, (async updatedOptions => { + var _a; + return rangeResponseFromModel(assertResponse(await this.pageBlobContext.getPageRangesDiff({ abortSignal: options.abortSignal, - appendPositionAccessConditions: options.conditions, leaseAccessConditions: options.conditions, modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions }), - requestOptions: { - onUploadProgress: options.onProgress - }, - transactionalContentMD5: options.transactionalContentMD5, - transactionalContentCrc64: options.transactionalContentCrc64, - cpkInfo: options.customerProvidedKey, - encryptionScope: options.encryptionScope - }, convertTracingToRequestOptionsBase(updatedOptions))); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } - } - async appendBlockFromURL(sourceURL, sourceOffset, count, options = {}) { - var _a; - const {span, updatedOptions} = tracing_createSpan("AppendBlobClient-appendBlockFromURL", options); - options.conditions = options.conditions || {}, options.sourceConditions = options.sourceConditions || {}; - try { - return ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps), await this.appendBlobContext.appendBlockFromUrl(sourceURL, 0, Object.assign({ - abortSignal: options.abortSignal, - sourceRange: rangeToString({ - offset: sourceOffset, + prevSnapshotUrl, + range: rangeToString({ + offset, count }), - sourceContentMD5: options.sourceContentMD5, - sourceContentCrc64: options.sourceContentCrc64, + tracingOptions: updatedOptions.tracingOptions + }))); + })); + } + async resize(size, options = {}) { + return options.conditions = options.conditions || {}, tracingClient.withSpan("PageBlobClient-resize", options, (async updatedOptions => { + var _a; + return assertResponse(await this.pageBlobContext.resize(size, { + abortSignal: options.abortSignal, leaseAccessConditions: options.conditions, - appendPositionAccessConditions: options.conditions, modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions }), - sourceModifiedAccessConditions: { - sourceIfMatch: options.sourceConditions.ifMatch, - sourceIfModifiedSince: options.sourceConditions.ifModifiedSince, - sourceIfNoneMatch: options.sourceConditions.ifNoneMatch, - sourceIfUnmodifiedSince: options.sourceConditions.ifUnmodifiedSince - }, - copySourceAuthorization: httpAuthorizationToString(options.sourceAuthorization), - cpkInfo: options.customerProvidedKey, - encryptionScope: options.encryptionScope - }, convertTracingToRequestOptionsBase(updatedOptions))); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } - } - } - class BlockBlobClient extends BlobClient { - constructor(urlOrConnectionString, credentialOrPipelineOrContainerName, blobNameOrOptions, options) { - let pipeline, url; - if (options = options || {}, isPipelineLike(credentialOrPipelineOrContainerName)) url = urlOrConnectionString, - pipeline = credentialOrPipelineOrContainerName; else if (utils_isNode && credentialOrPipelineOrContainerName instanceof StorageSharedKeyCredential || credentialOrPipelineOrContainerName instanceof AnonymousCredential || isTokenCredential(credentialOrPipelineOrContainerName)) url = urlOrConnectionString, - pipeline = newPipeline(credentialOrPipelineOrContainerName, options = blobNameOrOptions); else if (credentialOrPipelineOrContainerName || "string" == typeof credentialOrPipelineOrContainerName) { - if (!credentialOrPipelineOrContainerName || "string" != typeof credentialOrPipelineOrContainerName || !blobNameOrOptions || "string" != typeof blobNameOrOptions) throw new Error("Expecting non-empty strings for containerName and blobName parameters"); - { - const containerName = credentialOrPipelineOrContainerName, blobName = blobNameOrOptions, extractedCreds = extractConnectionStringParts(urlOrConnectionString); - if ("AccountConnString" === extractedCreds.kind) { - if (!utils_isNode) throw new Error("Account connection string is only supported in Node.js environment"); - { - const sharedKeyCredential = new StorageSharedKeyCredential(extractedCreds.accountName, extractedCreds.accountKey); - url = appendToURLPath(appendToURLPath(extractedCreds.url, encodeURIComponent(containerName)), encodeURIComponent(blobName)), - options.proxyOptions || (options.proxyOptions = getDefaultProxySettings(extractedCreds.proxyUri)), - pipeline = newPipeline(sharedKeyCredential, options); - } - } else { - if ("SASConnString" !== extractedCreds.kind) throw new Error("Connection string must be either an Account connection string or a SAS connection string"); - url = appendToURLPath(appendToURLPath(extractedCreds.url, encodeURIComponent(containerName)), encodeURIComponent(blobName)) + "?" + extractedCreds.accountSas, - pipeline = newPipeline(new AnonymousCredential, options); - } - } - } else url = urlOrConnectionString, pipeline = newPipeline(new AnonymousCredential, options); - super(url, pipeline), this.blockBlobContext = new BlockBlob(this.storageClientContext), - this._blobContext = new blob_Blob(this.storageClientContext); - } - withSnapshot(snapshot) { - return new BlockBlobClient(setURLParameter(this.url, constants_URLConstants_Parameters.SNAPSHOT, 0 === snapshot.length ? void 0 : snapshot), this.pipeline); + encryptionScope: options.encryptionScope, + tracingOptions: updatedOptions.tracingOptions + })); + })); } - async query(query, options = {}) { - var _a; - ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps); - const {span, updatedOptions} = tracing_createSpan("BlockBlobClient-query", options); - try { - if (!utils_isNode) throw new Error("This operation currently is only supported in Node.js."); - ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps); - const response = await this._blobContext.query(Object.assign({ + async updateSequenceNumber(sequenceNumberAction, sequenceNumber, options = {}) { + return options.conditions = options.conditions || {}, tracingClient.withSpan("PageBlobClient-updateSequenceNumber", options, (async updatedOptions => { + var _a; + return assertResponse(await this.pageBlobContext.updateSequenceNumber(sequenceNumberAction, { abortSignal: options.abortSignal, - queryRequest: { - queryType: "SQL", - expression: query, - inputSerialization: toQuerySerialization(options.inputTextConfiguration), - outputSerialization: toQuerySerialization(options.outputTextConfiguration) - }, + blobSequenceNumber: sequenceNumber, leaseAccessConditions: options.conditions, modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions }), - cpkInfo: options.customerProvidedKey - }, convertTracingToRequestOptionsBase(updatedOptions))); - return new BlobQueryResponse(response, { - abortSignal: options.abortSignal, - onProgress: options.onProgress, - onError: options.onError - }); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } + tracingOptions: updatedOptions.tracingOptions + })); + })); } - async upload(body, contentLength, options = {}) { - var _a, _b, _c; - options.conditions = options.conditions || {}; - const {span, updatedOptions} = tracing_createSpan("BlockBlobClient-upload", options); - try { - return ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps), await this.blockBlobContext.upload(contentLength, body, Object.assign({ + async startCopyIncremental(copySource, options = {}) { + return tracingClient.withSpan("PageBlobClient-startCopyIncremental", options, (async updatedOptions => { + var _a; + return assertResponse(await this.pageBlobContext.copyIncremental(copySource, { abortSignal: options.abortSignal, - blobHttpHeaders: options.blobHTTPHeaders, - leaseAccessConditions: options.conditions, - metadata: options.metadata, modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions }), - requestOptions: { - onUploadProgress: options.onProgress - }, - cpkInfo: options.customerProvidedKey, - encryptionScope: options.encryptionScope, - immutabilityPolicyExpiry: null === (_b = options.immutabilityPolicy) || void 0 === _b ? void 0 : _b.expiriesOn, - immutabilityPolicyMode: null === (_c = options.immutabilityPolicy) || void 0 === _c ? void 0 : _c.policyMode, - legalHold: options.legalHold, - tier: toAccessTier(options.tier), - blobTagsString: toBlobTagsString(options.tags) - }, convertTracingToRequestOptionsBase(updatedOptions))); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } + tracingOptions: updatedOptions.tracingOptions + })); + })); } - async syncUploadFromURL(sourceURL, options = {}) { - var _a, _b, _c, _d, _e; - options.conditions = options.conditions || {}; - const {span, updatedOptions} = tracing_createSpan("BlockBlobClient-syncUploadFromURL", options); - try { - return ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps), await this.blockBlobContext.putBlobFromUrl(0, sourceURL, Object.assign(Object.assign(Object.assign({}, options), { - blobHttpHeaders: options.blobHTTPHeaders, - leaseAccessConditions: options.conditions, - modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { - ifTags: options.conditions.tagConditions - }), - sourceModifiedAccessConditions: { - sourceIfMatch: null === (_a = options.sourceConditions) || void 0 === _a ? void 0 : _a.ifMatch, - sourceIfModifiedSince: null === (_b = options.sourceConditions) || void 0 === _b ? void 0 : _b.ifModifiedSince, - sourceIfNoneMatch: null === (_c = options.sourceConditions) || void 0 === _c ? void 0 : _c.ifNoneMatch, - sourceIfUnmodifiedSince: null === (_d = options.sourceConditions) || void 0 === _d ? void 0 : _d.ifUnmodifiedSince, - sourceIfTags: null === (_e = options.sourceConditions) || void 0 === _e ? void 0 : _e.tagConditions - }, - cpkInfo: options.customerProvidedKey, - copySourceAuthorization: httpAuthorizationToString(options.sourceAuthorization), - tier: toAccessTier(options.tier), - blobTagsString: toBlobTagsString(options.tags), - copySourceTags: options.copySourceTags - }), convertTracingToRequestOptionsBase(updatedOptions))); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } + } + async function getBodyAsText(batchResponse) { + let buffer = Buffer.alloc(4194304); + const responseLength = await async function(stream, buffer, encoding) { + let pos = 0; + const bufferSize = buffer.length; + return new Promise(((resolve, reject) => { + stream.on("readable", (() => { + let chunk = stream.read(); + chunk && ("string" == typeof chunk && (chunk = Buffer.from(chunk, encoding)), pos + chunk.length > bufferSize ? reject(new Error(`Stream exceeds buffer size. Buffer size: ${bufferSize}`)) : (buffer.fill(chunk, pos, pos + chunk.length), + pos += chunk.length)); + })), stream.on("end", (() => { + resolve(pos); + })), stream.on("error", reject); + })); + }(batchResponse.readableStreamBody, buffer); + return buffer = buffer.slice(0, responseLength), buffer.toString(); + } + class BatchResponseParser { + constructor(batchResponse, subRequests) { + if (!batchResponse || !batchResponse.contentType) throw new RangeError("batchResponse is malformed or doesn't contain valid content-type."); + if (!subRequests || 0 === subRequests.size) throw new RangeError("Invalid state: subRequests is not provided or size is 0."); + this.batchResponse = batchResponse, this.subRequests = subRequests, this.responseBatchBoundary = this.batchResponse.contentType.split("=")[1], + this.perResponsePrefix = `--${this.responseBatchBoundary}\r\n`, this.batchResponseEnding = `--${this.responseBatchBoundary}--`; } - async stageBlock(blockId, body, contentLength, options = {}) { - const {span, updatedOptions} = tracing_createSpan("BlockBlobClient-stageBlock", options); - try { - return ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps), await this.blockBlobContext.stageBlock(blockId, contentLength, body, Object.assign({ - abortSignal: options.abortSignal, - leaseAccessConditions: options.conditions, - requestOptions: { - onUploadProgress: options.onProgress - }, - transactionalContentMD5: options.transactionalContentMD5, - transactionalContentCrc64: options.transactionalContentCrc64, - cpkInfo: options.customerProvidedKey, - encryptionScope: options.encryptionScope - }, convertTracingToRequestOptionsBase(updatedOptions))); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); + async parseBatchResponse() { + if (this.batchResponse._response.status !== HTTPURLConnection_HTTP_ACCEPTED) throw new Error(`Invalid state: batch request failed with status: '${this.batchResponse._response.status}'.`); + const subResponses = (await getBodyAsText(this.batchResponse)).split(this.batchResponseEnding)[0].split(this.perResponsePrefix).slice(1), subResponseCount = subResponses.length; + if (subResponseCount !== this.subRequests.size && 1 !== subResponseCount) throw new Error("Invalid state: sub responses' count is not equal to sub requests' count."); + const deserializedSubResponses = new Array(subResponseCount); + let subResponsesSucceededCount = 0, subResponsesFailedCount = 0; + for (let index = 0; index < subResponseCount; index++) { + const subResponse = subResponses[index], deserializedSubResponse = {}; + deserializedSubResponse.headers = toHttpHeadersLike(httpHeaders_createHttpHeaders()); + const responseLines = subResponse.split("\r\n"); + let subRespHeaderStartFound = !1, subRespHeaderEndFound = !1, subRespFailed = !1, contentId = -1; + for (const responseLine of responseLines) if (subRespHeaderStartFound) if ("" !== responseLine.trim()) if (subRespHeaderEndFound) deserializedSubResponse.bodyAsText || (deserializedSubResponse.bodyAsText = ""), + deserializedSubResponse.bodyAsText += responseLine; else { + if (-1 === responseLine.indexOf(": ")) throw new Error(`Invalid state: find non-empty line '${responseLine}' without HTTP header delimiter ': '.`); + const tokens = responseLine.split(": "); + deserializedSubResponse.headers.set(tokens[0], tokens[1]), tokens[0] === constants_HeaderConstants.X_MS_ERROR_CODE && (deserializedSubResponse.errorCode = tokens[1], + subRespFailed = !0); + } else subRespHeaderEndFound || (subRespHeaderEndFound = !0); else if (responseLine.startsWith(constants_HeaderConstants.CONTENT_ID) && (contentId = parseInt(responseLine.split(": ")[1])), + responseLine.startsWith("HTTP/1.1")) { + subRespHeaderStartFound = !0; + const tokens = responseLine.split(" "); + deserializedSubResponse.status = parseInt(tokens[1]), deserializedSubResponse.statusMessage = tokens.slice(2).join(" "); + } + -1 !== contentId && Number.isInteger(contentId) && contentId >= 0 && contentId < this.subRequests.size && void 0 === deserializedSubResponses[contentId] ? (deserializedSubResponse._request = this.subRequests.get(contentId), + deserializedSubResponses[contentId] = deserializedSubResponse) : src_log_logger.error(`subResponses[${index}] is dropped as the Content-ID is not found or invalid, Content-ID: ${contentId}`), + subRespFailed ? subResponsesFailedCount++ : subResponsesSucceededCount++; } + return { + subResponses: deserializedSubResponses, + subResponsesSucceededCount, + subResponsesFailedCount + }; } - async stageBlockFromURL(blockId, sourceURL, offset = 0, count, options = {}) { - const {span, updatedOptions} = tracing_createSpan("BlockBlobClient-stageBlockFromURL", options); - try { - return ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps), await this.blockBlobContext.stageBlockFromURL(blockId, 0, sourceURL, Object.assign({ - abortSignal: options.abortSignal, - leaseAccessConditions: options.conditions, - sourceContentMD5: options.sourceContentMD5, - sourceContentCrc64: options.sourceContentCrc64, - sourceRange: 0 !== offset || count ? rangeToString({ - offset, - count - }) : void 0, - cpkInfo: options.customerProvidedKey, - encryptionScope: options.encryptionScope, - copySourceAuthorization: httpAuthorizationToString(options.sourceAuthorization) - }, convertTracingToRequestOptionsBase(updatedOptions))); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } + } + var MutexLockStatus, KnownEncryptionAlgorithmType; + !function(MutexLockStatus) { + MutexLockStatus[MutexLockStatus.LOCKED = 0] = "LOCKED", MutexLockStatus[MutexLockStatus.UNLOCKED = 1] = "UNLOCKED"; + }(MutexLockStatus || (MutexLockStatus = {})); + class Mutex { + static async lock(key) { + return new Promise((resolve => { + void 0 === this.keys[key] || this.keys[key] === MutexLockStatus.UNLOCKED ? (this.keys[key] = MutexLockStatus.LOCKED, + resolve()) : this.onUnlockEvent(key, (() => { + this.keys[key] = MutexLockStatus.LOCKED, resolve(); + })); + })); } - async commitBlockList(blocks, options = {}) { - var _a, _b, _c; - options.conditions = options.conditions || {}; - const {span, updatedOptions} = tracing_createSpan("BlockBlobClient-commitBlockList", options); - try { - return ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps), await this.blockBlobContext.commitBlockList({ - latest: blocks - }, Object.assign({ - abortSignal: options.abortSignal, - blobHttpHeaders: options.blobHTTPHeaders, - leaseAccessConditions: options.conditions, - metadata: options.metadata, - modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { - ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions - }), - cpkInfo: options.customerProvidedKey, - encryptionScope: options.encryptionScope, - immutabilityPolicyExpiry: null === (_b = options.immutabilityPolicy) || void 0 === _b ? void 0 : _b.expiriesOn, - immutabilityPolicyMode: null === (_c = options.immutabilityPolicy) || void 0 === _c ? void 0 : _c.policyMode, - legalHold: options.legalHold, - tier: toAccessTier(options.tier), - blobTagsString: toBlobTagsString(options.tags) - }, convertTracingToRequestOptionsBase(updatedOptions))); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); + static async unlock(key) { + return new Promise((resolve => { + this.keys[key] === MutexLockStatus.LOCKED && this.emitUnlockEvent(key), delete this.keys[key], + resolve(); + })); + } + static onUnlockEvent(key, handler) { + void 0 === this.listeners[key] ? this.listeners[key] = [ handler ] : this.listeners[key].push(handler); + } + static emitUnlockEvent(key) { + if (void 0 !== this.listeners[key] && this.listeners[key].length > 0) { + const handler = this.listeners[key].shift(); + setImmediate((() => { + handler.call(this); + })); } } - async getBlockList(listType, options = {}) { - var _a; - const {span, updatedOptions} = tracing_createSpan("BlockBlobClient-getBlockList", options); - try { - const res = await this.blockBlobContext.getBlockList(listType, Object.assign({ - abortSignal: options.abortSignal, - leaseAccessConditions: options.conditions, - modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { - ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions - }) - }, convertTracingToRequestOptionsBase(updatedOptions))); - return res.committedBlocks || (res.committedBlocks = []), res.uncommittedBlocks || (res.uncommittedBlocks = []), - res; - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } + } + Mutex.keys = {}, Mutex.listeners = {}; + class BlobBatch { + constructor() { + this.batch = "batch", this.batchRequest = new InnerBatchRequest; } - async uploadData(data, options = {}) { - const {span, updatedOptions} = tracing_createSpan("BlockBlobClient-uploadData", options); - try { - if (utils_isNode) { - let buffer; - return buffer = data instanceof Buffer ? data : data instanceof ArrayBuffer ? Buffer.from(data) : Buffer.from(data.buffer, data.byteOffset, data.byteLength), - this.uploadSeekableInternal(((offset, size) => buffer.slice(offset, offset + size)), buffer.byteLength, updatedOptions); - } - { - const browserBlob = new Blob([ data ]); - return this.uploadSeekableInternal(((offset, size) => browserBlob.slice(offset, offset + size)), browserBlob.size, updatedOptions); - } - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } + getMultiPartContentType() { + return this.batchRequest.getMultipartContentType(); } - async uploadBrowserData(browserData, options = {}) { - const {span, updatedOptions} = tracing_createSpan("BlockBlobClient-uploadBrowserData", options); + getHttpRequestBody() { + return this.batchRequest.getHttpRequestBody(); + } + getSubRequests() { + return this.batchRequest.getSubRequests(); + } + async addSubRequestInternal(subRequest, assembleSubRequestFunc) { + await Mutex.lock(this.batch); try { - const browserBlob = new Blob([ browserData ]); - return await this.uploadSeekableInternal(((offset, size) => browserBlob.slice(offset, offset + size)), browserBlob.size, updatedOptions); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; + this.batchRequest.preAddSubRequest(subRequest), await assembleSubRequestFunc(), + this.batchRequest.postAddSubRequest(subRequest); } finally { - span.end(); + await Mutex.unlock(this.batch); } } - async uploadSeekableInternal(bodyFactory, size, options = {}) { - if (options.blockSize || (options.blockSize = 0), options.blockSize < 0 || options.blockSize > 4194304e3) throw new RangeError("blockSize option must be >= 0 and <= 4194304000"); - if (0 === options.maxSingleShotSize || options.maxSingleShotSize || (options.maxSingleShotSize = 268435456), - options.maxSingleShotSize < 0 || options.maxSingleShotSize > 268435456) throw new RangeError("maxSingleShotSize option must be >= 0 and <= 268435456"); - if (0 === options.blockSize) { - if (size > 2097152e8) throw new RangeError(`${size} is too larger to upload to a block blob.`); - size > options.maxSingleShotSize && (options.blockSize = Math.ceil(size / 5e4), - options.blockSize < 4194304 && (options.blockSize = 4194304)); + setBatchType(batchType) { + if (this.batchType || (this.batchType = batchType), this.batchType !== batchType) throw new RangeError(`BlobBatch only supports one operation type per batch and it already is being used for ${this.batchType} operations.`); + } + async deleteBlob(urlOrBlobClient, credentialOrOptions, options) { + let url, credential; + if ("string" == typeof urlOrBlobClient && (checkEnvironment_isNode && credentialOrOptions instanceof StorageSharedKeyCredential || credentialOrOptions instanceof AnonymousCredential || isTokenCredential(credentialOrOptions))) url = urlOrBlobClient, + credential = credentialOrOptions; else { + if (!(urlOrBlobClient instanceof BlobClient)) throw new RangeError("Invalid arguments. Either url and credential, or BlobClient need be provided."); + url = urlOrBlobClient.url, credential = urlOrBlobClient.credential, options = credentialOrOptions; } - options.blobHTTPHeaders || (options.blobHTTPHeaders = {}), options.conditions || (options.conditions = {}); - const {span, updatedOptions} = tracing_createSpan("BlockBlobClient-uploadSeekableInternal", options); - try { - if (size <= options.maxSingleShotSize) return await this.upload(bodyFactory(0, size), size, updatedOptions); - const numBlocks = Math.floor((size - 1) / options.blockSize) + 1; - if (numBlocks > 5e4) throw new RangeError("The buffer's size is too big or the BlockSize is too small;the number of blocks must be <= 50000"); - const blockList = [], blockIDPrefix = generateUuid(); - let transferProgress = 0; - const batch = new Batch(options.concurrency); - for (let i = 0; i < numBlocks; i++) batch.addOperation((async () => { - const blockID = generateBlockID(blockIDPrefix, i), start = options.blockSize * i, contentLength = (i === numBlocks - 1 ? size : start + options.blockSize) - start; - blockList.push(blockID), await this.stageBlock(blockID, bodyFactory(start, contentLength), contentLength, { - abortSignal: options.abortSignal, - conditions: options.conditions, - encryptionScope: options.encryptionScope, - tracingOptions: updatedOptions.tracingOptions - }), transferProgress += contentLength, options.onProgress && options.onProgress({ - loadedBytes: transferProgress - }); + return options || (options = {}), tracingClient.withSpan("BatchDeleteRequest-addSubRequest", options, (async updatedOptions => { + this.setBatchType("delete"), await this.addSubRequestInternal({ + url, + credential + }, (async () => { + await new BlobClient(url, this.batchRequest.createPipeline(credential)).delete(updatedOptions); })); - return await batch.do(), this.commitBlockList(blockList, updatedOptions); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } + })); } - async uploadFile(filePath, options = {}) { - const {span, updatedOptions} = tracing_createSpan("BlockBlobClient-uploadFile", options); - try { - const size = (await fsStat(filePath)).size; - return await this.uploadSeekableInternal(((offset, count) => () => fsCreateReadStream(filePath, { - autoClose: !0, - end: count ? offset + count - 1 : 1 / 0, - start: offset - })), size, Object.assign(Object.assign({}, options), { - tracingOptions: Object.assign(Object.assign({}, options.tracingOptions), convertTracingToRequestOptionsBase(updatedOptions)) - })); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); + async setBlobAccessTier(urlOrBlobClient, credentialOrTier, tierOrOptions, options) { + let url, credential, tier; + if ("string" == typeof urlOrBlobClient && (checkEnvironment_isNode && credentialOrTier instanceof StorageSharedKeyCredential || credentialOrTier instanceof AnonymousCredential || isTokenCredential(credentialOrTier))) url = urlOrBlobClient, + credential = credentialOrTier, tier = tierOrOptions; else { + if (!(urlOrBlobClient instanceof BlobClient)) throw new RangeError("Invalid arguments. Either url and credential, or BlobClient need be provided."); + url = urlOrBlobClient.url, credential = urlOrBlobClient.credential, tier = credentialOrTier, + options = tierOrOptions; } - } - async uploadStream(stream, bufferSize = 8388608, maxConcurrency = 5, options = {}) { - options.blobHTTPHeaders || (options.blobHTTPHeaders = {}), options.conditions || (options.conditions = {}); - const {span, updatedOptions} = tracing_createSpan("BlockBlobClient-uploadStream", options); - try { - let blockNum = 0; - const blockIDPrefix = generateUuid(); - let transferProgress = 0; - const blockList = [], scheduler = new BufferScheduler(stream, bufferSize, maxConcurrency, (async (body, length) => { - const blockID = generateBlockID(blockIDPrefix, blockNum); - blockList.push(blockID), blockNum++, await this.stageBlock(blockID, body, length, { - conditions: options.conditions, - encryptionScope: options.encryptionScope, - tracingOptions: updatedOptions.tracingOptions - }), transferProgress += length, options.onProgress && options.onProgress({ - loadedBytes: transferProgress - }); - }), Math.ceil(maxConcurrency / 4 * 3)); - return await scheduler.do(), await this.commitBlockList(blockList, Object.assign(Object.assign({}, options), { - tracingOptions: Object.assign(Object.assign({}, options.tracingOptions), convertTracingToRequestOptionsBase(updatedOptions)) + return options || (options = {}), tracingClient.withSpan("BatchSetTierRequest-addSubRequest", options, (async updatedOptions => { + this.setBatchType("setAccessTier"), await this.addSubRequestInternal({ + url, + credential + }, (async () => { + await new BlobClient(url, this.batchRequest.createPipeline(credential)).setAccessTier(tier, updatedOptions); })); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } + })); } } - class PageBlobClient extends BlobClient { - constructor(urlOrConnectionString, credentialOrPipelineOrContainerName, blobNameOrOptions, options) { + class InnerBatchRequest { + constructor() { + this.operationCount = 0, this.body = ""; + const tempGuid = randomUUID(); + this.boundary = `batch_${tempGuid}`, this.subRequestPrefix = `--${this.boundary}\r\n${constants_HeaderConstants.CONTENT_TYPE}: application/http\r\n${constants_HeaderConstants.CONTENT_TRANSFER_ENCODING}: binary`, + this.multipartContentType = `multipart/mixed; boundary=${this.boundary}`, this.batchRequestEnding = `--${this.boundary}--`, + this.subRequests = new Map; + } + createPipeline(credential) { + const corePipeline = createEmptyPipeline(); + var batchRequest; + corePipeline.addPolicy(serializationPolicy({ + stringifyXML, + serializerOptions: { + xml: { + xmlCharKey: "#" + } + } + }), { + phase: "Serialize" + }), corePipeline.addPolicy({ + name: "batchHeaderFilterPolicy", + async sendRequest(request, next) { + let xMsHeaderName = ""; + for (const [name] of request.headers) iEqual(name, constants_HeaderConstants.X_MS_VERSION) && (xMsHeaderName = name); + return "" !== xMsHeaderName && request.headers.delete(xMsHeaderName), next(request); + } + }), corePipeline.addPolicy((batchRequest = this, { + name: "batchRequestAssemblePolicy", + sendRequest: async request => (batchRequest.appendSubRequestToBody(request), { + request, + status: 200, + headers: httpHeaders_createHttpHeaders() + }) + }), { + afterPhase: "Sign" + }), isTokenCredential(credential) ? corePipeline.addPolicy(bearerTokenAuthenticationPolicy({ + credential, + scopes: StorageOAuthScopes, + challengeCallbacks: { + authorizeRequestOnChallenge: authorizeRequestOnTenantChallenge + } + }), { + phase: "Sign" + }) : credential instanceof StorageSharedKeyCredential && corePipeline.addPolicy(storageSharedKeyCredentialPolicy({ + accountName: credential.accountName, + accountKey: credential.accountKey + }), { + phase: "Sign" + }); + const pipeline = new Pipeline([]); + return pipeline._credential = credential, pipeline._corePipeline = corePipeline, + pipeline; + } + appendSubRequestToBody(request) { + this.body += [ this.subRequestPrefix, `${constants_HeaderConstants.CONTENT_ID}: ${this.operationCount}`, "", `${request.method.toString()} ${getURLPathAndQuery(request.url)} HTTP/1.1\r\n` ].join("\r\n"); + for (const [name, value] of request.headers) this.body += `${name}: ${value}\r\n`; + this.body += "\r\n"; + } + preAddSubRequest(subRequest) { + if (this.operationCount >= 256) throw new RangeError("Cannot exceed 256 sub requests in a single batch"); + const path = getURLPath(subRequest.url); + if (!path || "" === path) throw new RangeError(`Invalid url for sub request: '${subRequest.url}'`); + } + postAddSubRequest(subRequest) { + this.subRequests.set(this.operationCount, subRequest), this.operationCount++; + } + getHttpRequestBody() { + return `${this.body}${this.batchRequestEnding}\r\n`; + } + getMultipartContentType() { + return this.multipartContentType; + } + getSubRequests() { + return this.subRequests; + } + } + class BlobBatchClient { + constructor(url, credentialOrPipeline, options) { + let pipeline; + pipeline = isPipelineLike(credentialOrPipeline) ? credentialOrPipeline : newPipeline(credentialOrPipeline || new AnonymousCredential, options); + const storageClientContext = new StorageContextClient(url, getCoreClientOptions(pipeline)), path = getURLPath(url); + this.serviceOrContainerContext = path && "/" !== path ? storageClientContext.container : storageClientContext.service; + } + createBatch() { + return new BlobBatch; + } + async deleteBlobs(urlsOrBlobClients, credentialOrOptions, options) { + const batch = new BlobBatch; + for (const urlOrBlobClient of urlsOrBlobClients) "string" == typeof urlOrBlobClient ? await batch.deleteBlob(urlOrBlobClient, credentialOrOptions, options) : await batch.deleteBlob(urlOrBlobClient, credentialOrOptions); + return this.submitBatch(batch); + } + async setBlobsAccessTier(urlsOrBlobClients, credentialOrTier, tierOrOptions, options) { + const batch = new BlobBatch; + for (const urlOrBlobClient of urlsOrBlobClients) "string" == typeof urlOrBlobClient ? await batch.setBlobAccessTier(urlOrBlobClient, credentialOrTier, tierOrOptions, options) : await batch.setBlobAccessTier(urlOrBlobClient, credentialOrTier, tierOrOptions); + return this.submitBatch(batch); + } + async submitBatch(batchRequest, options = {}) { + if (!batchRequest || 0 === batchRequest.getSubRequests().size) throw new RangeError("Batch request should contain one or more sub requests."); + return tracingClient.withSpan("BlobBatchClient-submitBatch", options, (async updatedOptions => { + const batchRequestBody = batchRequest.getHttpRequestBody(), rawBatchResponse = assertResponse(await this.serviceOrContainerContext.submitBatch((str = batchRequestBody, + Buffer.byteLength(str)), batchRequest.getMultiPartContentType(), batchRequestBody, Object.assign({}, updatedOptions))); + var str; + const batchResponseParser = new BatchResponseParser(rawBatchResponse, batchRequest.getSubRequests()), responseSummary = await batchResponseParser.parseBatchResponse(); + return { + _response: rawBatchResponse._response, + contentType: rawBatchResponse.contentType, + errorCode: rawBatchResponse.errorCode, + requestId: rawBatchResponse.requestId, + clientRequestId: rawBatchResponse.clientRequestId, + version: rawBatchResponse.version, + subResponses: responseSummary.subResponses, + subResponsesSucceededCount: responseSummary.subResponsesSucceededCount, + subResponsesFailedCount: responseSummary.subResponsesFailedCount + }; + })); + } + } + class ContainerClient extends StorageClient_StorageClient { + get containerName() { + return this._containerName; + } + constructor(urlOrConnectionString, credentialOrPipelineOrContainerName, options) { let pipeline, url; if (options = options || {}, isPipelineLike(credentialOrPipelineOrContainerName)) url = urlOrConnectionString, - pipeline = credentialOrPipelineOrContainerName; else if (utils_isNode && credentialOrPipelineOrContainerName instanceof StorageSharedKeyCredential || credentialOrPipelineOrContainerName instanceof AnonymousCredential || isTokenCredential(credentialOrPipelineOrContainerName)) url = urlOrConnectionString, - pipeline = newPipeline(credentialOrPipelineOrContainerName, options = blobNameOrOptions); else if (credentialOrPipelineOrContainerName || "string" == typeof credentialOrPipelineOrContainerName) { - if (!credentialOrPipelineOrContainerName || "string" != typeof credentialOrPipelineOrContainerName || !blobNameOrOptions || "string" != typeof blobNameOrOptions) throw new Error("Expecting non-empty strings for containerName and blobName parameters"); + pipeline = credentialOrPipelineOrContainerName; else if (checkEnvironment_isNode && credentialOrPipelineOrContainerName instanceof StorageSharedKeyCredential || credentialOrPipelineOrContainerName instanceof AnonymousCredential || isTokenCredential(credentialOrPipelineOrContainerName)) url = urlOrConnectionString, + pipeline = newPipeline(credentialOrPipelineOrContainerName, options); else if (credentialOrPipelineOrContainerName || "string" == typeof credentialOrPipelineOrContainerName) { + if (!credentialOrPipelineOrContainerName || "string" != typeof credentialOrPipelineOrContainerName) throw new Error("Expecting non-empty strings for containerName parameter"); { - const containerName = credentialOrPipelineOrContainerName, blobName = blobNameOrOptions, extractedCreds = extractConnectionStringParts(urlOrConnectionString); + const containerName = credentialOrPipelineOrContainerName, extractedCreds = extractConnectionStringParts(urlOrConnectionString); if ("AccountConnString" === extractedCreds.kind) { - if (!utils_isNode) throw new Error("Account connection string is only supported in Node.js environment"); + if (!checkEnvironment_isNode) throw new Error("Account connection string is only supported in Node.js environment"); { const sharedKeyCredential = new StorageSharedKeyCredential(extractedCreds.accountName, extractedCreds.accountKey); - url = appendToURLPath(appendToURLPath(extractedCreds.url, encodeURIComponent(containerName)), encodeURIComponent(blobName)), - options.proxyOptions || (options.proxyOptions = getDefaultProxySettings(extractedCreds.proxyUri)), + url = appendToURLPath(extractedCreds.url, encodeURIComponent(containerName)), options.proxyOptions || (options.proxyOptions = getDefaultProxySettings(extractedCreds.proxyUri)), pipeline = newPipeline(sharedKeyCredential, options); } } else { if ("SASConnString" !== extractedCreds.kind) throw new Error("Connection string must be either an Account connection string or a SAS connection string"); - url = appendToURLPath(appendToURLPath(extractedCreds.url, encodeURIComponent(containerName)), encodeURIComponent(blobName)) + "?" + extractedCreds.accountSas, + url = appendToURLPath(extractedCreds.url, encodeURIComponent(containerName)) + "?" + extractedCreds.accountSas, pipeline = newPipeline(new AnonymousCredential, options); } } } else url = urlOrConnectionString, pipeline = newPipeline(new AnonymousCredential, options); - super(url, pipeline), this.pageBlobContext = new PageBlob(this.storageClientContext); + super(url, pipeline), this._containerName = this.getContainerNameFromUrl(), this.containerContext = this.storageClientContext.container; } - withSnapshot(snapshot) { - return new PageBlobClient(setURLParameter(this.url, constants_URLConstants_Parameters.SNAPSHOT, 0 === snapshot.length ? void 0 : snapshot), this.pipeline); + async create(options = {}) { + return tracingClient.withSpan("ContainerClient-create", options, (async updatedOptions => assertResponse(await this.containerContext.create(updatedOptions)))); + } + async createIfNotExists(options = {}) { + return tracingClient.withSpan("ContainerClient-createIfNotExists", options, (async updatedOptions => { + var _a, _b; + try { + const res = await this.create(updatedOptions); + return Object.assign(Object.assign({ + succeeded: !0 + }, res), { + _response: res._response + }); + } catch (e) { + if ("ContainerAlreadyExists" === (null === (_a = e.details) || void 0 === _a ? void 0 : _a.errorCode)) return Object.assign(Object.assign({ + succeeded: !1 + }, null === (_b = e.response) || void 0 === _b ? void 0 : _b.parsedHeaders), { + _response: e.response + }); + throw e; + } + })); + } + async exists(options = {}) { + return tracingClient.withSpan("ContainerClient-exists", options, (async updatedOptions => { + try { + return await this.getProperties({ + abortSignal: options.abortSignal, + tracingOptions: updatedOptions.tracingOptions + }), !0; + } catch (e) { + if (404 === e.statusCode) return !1; + throw e; + } + })); + } + getBlobClient(blobName) { + return new BlobClient(appendToURLPath(this.url, EscapePath(blobName)), this.pipeline); + } + getAppendBlobClient(blobName) { + return new AppendBlobClient(appendToURLPath(this.url, EscapePath(blobName)), this.pipeline); + } + getBlockBlobClient(blobName) { + return new BlockBlobClient(appendToURLPath(this.url, EscapePath(blobName)), this.pipeline); + } + getPageBlobClient(blobName) { + return new PageBlobClient(appendToURLPath(this.url, EscapePath(blobName)), this.pipeline); + } + async getProperties(options = {}) { + return options.conditions || (options.conditions = {}), tracingClient.withSpan("ContainerClient-getProperties", options, (async updatedOptions => assertResponse(await this.containerContext.getProperties(Object.assign(Object.assign({ + abortSignal: options.abortSignal + }, options.conditions), { + tracingOptions: updatedOptions.tracingOptions + }))))); + } + async delete(options = {}) { + return options.conditions || (options.conditions = {}), tracingClient.withSpan("ContainerClient-delete", options, (async updatedOptions => assertResponse(await this.containerContext.delete({ + abortSignal: options.abortSignal, + leaseAccessConditions: options.conditions, + modifiedAccessConditions: options.conditions, + tracingOptions: updatedOptions.tracingOptions + })))); + } + async deleteIfExists(options = {}) { + return tracingClient.withSpan("ContainerClient-deleteIfExists", options, (async updatedOptions => { + var _a, _b; + try { + const res = await this.delete(updatedOptions); + return Object.assign(Object.assign({ + succeeded: !0 + }, res), { + _response: res._response + }); + } catch (e) { + if ("ContainerNotFound" === (null === (_a = e.details) || void 0 === _a ? void 0 : _a.errorCode)) return Object.assign(Object.assign({ + succeeded: !1 + }, null === (_b = e.response) || void 0 === _b ? void 0 : _b.parsedHeaders), { + _response: e.response + }); + throw e; + } + })); + } + async setMetadata(metadata, options = {}) { + if (options.conditions || (options.conditions = {}), options.conditions.ifUnmodifiedSince) throw new RangeError("the IfUnmodifiedSince must have their default values because they are ignored by the blob service"); + return tracingClient.withSpan("ContainerClient-setMetadata", options, (async updatedOptions => assertResponse(await this.containerContext.setMetadata({ + abortSignal: options.abortSignal, + leaseAccessConditions: options.conditions, + metadata, + modifiedAccessConditions: options.conditions, + tracingOptions: updatedOptions.tracingOptions + })))); } - async create(size, options = {}) { - var _a, _b, _c; - options.conditions = options.conditions || {}; - const {span, updatedOptions} = tracing_createSpan("PageBlobClient-create", options); - try { - return ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps), await this.pageBlobContext.create(0, size, Object.assign({ + async getAccessPolicy(options = {}) { + return options.conditions || (options.conditions = {}), tracingClient.withSpan("ContainerClient-getAccessPolicy", options, (async updatedOptions => { + const response = assertResponse(await this.containerContext.getAccessPolicy({ abortSignal: options.abortSignal, - blobHttpHeaders: options.blobHTTPHeaders, - blobSequenceNumber: options.blobSequenceNumber, leaseAccessConditions: options.conditions, - metadata: options.metadata, - modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { - ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions - }), - cpkInfo: options.customerProvidedKey, - encryptionScope: options.encryptionScope, - immutabilityPolicyExpiry: null === (_b = options.immutabilityPolicy) || void 0 === _b ? void 0 : _b.expiriesOn, - immutabilityPolicyMode: null === (_c = options.immutabilityPolicy) || void 0 === _c ? void 0 : _c.policyMode, - legalHold: options.legalHold, - tier: toAccessTier(options.tier), - blobTagsString: toBlobTagsString(options.tags) - }, convertTracingToRequestOptionsBase(updatedOptions))); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } - } - async createIfNotExists(size, options = {}) { - var _a, _b; - const {span, updatedOptions} = tracing_createSpan("PageBlobClient-createIfNotExists", options); - try { - const conditions = { - ifNoneMatch: "*" - }, res = await this.create(size, Object.assign(Object.assign({}, options), { - conditions, tracingOptions: updatedOptions.tracingOptions - })); - return Object.assign(Object.assign({ - succeeded: !0 - }, res), { - _response: res._response - }); - } catch (e) { - if ("BlobAlreadyExists" === (null === (_a = e.details) || void 0 === _a ? void 0 : _a.errorCode)) return span.setStatus({ - code: SpanStatusCode.ERROR, - message: "Expected exception when creating a blob only if it does not already exist." - }), Object.assign(Object.assign({ - succeeded: !1 - }, null === (_b = e.response) || void 0 === _b ? void 0 : _b.parsedHeaders), { - _response: e.response - }); - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } + })), res = { + _response: response._response, + blobPublicAccess: response.blobPublicAccess, + date: response.date, + etag: response.etag, + errorCode: response.errorCode, + lastModified: response.lastModified, + requestId: response.requestId, + clientRequestId: response.clientRequestId, + signedIdentifiers: [], + version: response.version + }; + for (const identifier of response) { + let accessPolicy; + identifier.accessPolicy && (accessPolicy = { + permissions: identifier.accessPolicy.permissions + }, identifier.accessPolicy.expiresOn && (accessPolicy.expiresOn = new Date(identifier.accessPolicy.expiresOn)), + identifier.accessPolicy.startsOn && (accessPolicy.startsOn = new Date(identifier.accessPolicy.startsOn))), + res.signedIdentifiers.push({ + accessPolicy, + id: identifier.id + }); + } + return res; + })); } - async uploadPages(body, offset, count, options = {}) { - var _a; - options.conditions = options.conditions || {}; - const {span, updatedOptions} = tracing_createSpan("PageBlobClient-uploadPages", options); - try { - return ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps), await this.pageBlobContext.uploadPages(count, body, Object.assign({ - abortSignal: options.abortSignal, - leaseAccessConditions: options.conditions, - modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { - ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions - }), - requestOptions: { - onUploadProgress: options.onProgress + async setAccessPolicy(access, containerAcl, options = {}) { + return options.conditions = options.conditions || {}, tracingClient.withSpan("ContainerClient-setAccessPolicy", options, (async updatedOptions => { + const acl = []; + for (const identifier of containerAcl || []) acl.push({ + accessPolicy: { + expiresOn: identifier.accessPolicy.expiresOn ? truncatedISO8061Date(identifier.accessPolicy.expiresOn) : "", + permissions: identifier.accessPolicy.permissions, + startsOn: identifier.accessPolicy.startsOn ? truncatedISO8061Date(identifier.accessPolicy.startsOn) : "" }, - range: rangeToString({ - offset, - count - }), - sequenceNumberAccessConditions: options.conditions, - transactionalContentMD5: options.transactionalContentMD5, - transactionalContentCrc64: options.transactionalContentCrc64, - cpkInfo: options.customerProvidedKey, - encryptionScope: options.encryptionScope - }, convertTracingToRequestOptionsBase(updatedOptions))); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } - } - async uploadPagesFromURL(sourceURL, sourceOffset, destOffset, count, options = {}) { - var _a; - options.conditions = options.conditions || {}, options.sourceConditions = options.sourceConditions || {}; - const {span, updatedOptions} = tracing_createSpan("PageBlobClient-uploadPagesFromURL", options); - try { - return ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps), await this.pageBlobContext.uploadPagesFromURL(sourceURL, rangeToString({ - offset: sourceOffset, - count - }), 0, rangeToString({ - offset: destOffset, - count - }), Object.assign({ + id: identifier.id + }); + return assertResponse(await this.containerContext.setAccessPolicy({ abortSignal: options.abortSignal, - sourceContentMD5: options.sourceContentMD5, - sourceContentCrc64: options.sourceContentCrc64, + access, + containerAcl: acl, leaseAccessConditions: options.conditions, - sequenceNumberAccessConditions: options.conditions, - modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { - ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions - }), - sourceModifiedAccessConditions: { - sourceIfMatch: options.sourceConditions.ifMatch, - sourceIfModifiedSince: options.sourceConditions.ifModifiedSince, - sourceIfNoneMatch: options.sourceConditions.ifNoneMatch, - sourceIfUnmodifiedSince: options.sourceConditions.ifUnmodifiedSince - }, - cpkInfo: options.customerProvidedKey, - encryptionScope: options.encryptionScope, - copySourceAuthorization: httpAuthorizationToString(options.sourceAuthorization) - }, convertTracingToRequestOptionsBase(updatedOptions))); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } + modifiedAccessConditions: options.conditions, + tracingOptions: updatedOptions.tracingOptions + })); + })); } - async clearPages(offset = 0, count, options = {}) { - var _a; - options.conditions = options.conditions || {}; - const {span, updatedOptions} = tracing_createSpan("PageBlobClient-clearPages", options); - try { - return await this.pageBlobContext.clearPages(0, Object.assign({ - abortSignal: options.abortSignal, - leaseAccessConditions: options.conditions, - modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { - ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions - }), - range: rangeToString({ - offset, - count - }), - sequenceNumberAccessConditions: options.conditions, - cpkInfo: options.customerProvidedKey, - encryptionScope: options.encryptionScope - }, convertTracingToRequestOptionsBase(updatedOptions))); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } + getBlobLeaseClient(proposeLeaseId) { + return new BlobLeaseClient(this, proposeLeaseId); } - async getPageRanges(offset = 0, count, options = {}) { - var _a; - options.conditions = options.conditions || {}; - const {span, updatedOptions} = tracing_createSpan("PageBlobClient-getPageRanges", options); - try { - return await this.pageBlobContext.getPageRanges(Object.assign({ - abortSignal: options.abortSignal, - leaseAccessConditions: options.conditions, - modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { - ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions + async uploadBlockBlob(blobName, body, contentLength, options = {}) { + return tracingClient.withSpan("ContainerClient-uploadBlockBlob", options, (async updatedOptions => { + const blockBlobClient = this.getBlockBlobClient(blobName), response = await blockBlobClient.upload(body, contentLength, updatedOptions); + return { + blockBlobClient, + response + }; + })); + } + async deleteBlob(blobName, options = {}) { + return tracingClient.withSpan("ContainerClient-deleteBlob", options, (async updatedOptions => { + let blobClient = this.getBlobClient(blobName); + return options.versionId && (blobClient = blobClient.withVersion(options.versionId)), + blobClient.delete(updatedOptions); + })); + } + async listBlobFlatSegment(marker, options = {}) { + return tracingClient.withSpan("ContainerClient-listBlobFlatSegment", options, (async updatedOptions => { + const response = assertResponse(await this.containerContext.listBlobFlatSegment(Object.assign(Object.assign({ + marker + }, options), { + tracingOptions: updatedOptions.tracingOptions + }))); + var internalResponse; + return Object.assign(Object.assign({}, response), { + _response: Object.assign(Object.assign({}, response._response), { + parsedBody: (internalResponse = response._response.parsedBody, Object.assign(Object.assign({}, internalResponse), { + segment: { + blobItems: internalResponse.segment.blobItems.map((blobItemInteral => Object.assign(Object.assign({}, blobItemInteral), { + name: BlobNameToString(blobItemInteral.name) + }))) + } + })) }), - range: rangeToString({ - offset, - count + segment: Object.assign(Object.assign({}, response.segment), { + blobItems: response.segment.blobItems.map((blobItemInternal => Object.assign(Object.assign({}, blobItemInternal), { + name: BlobNameToString(blobItemInternal.name), + tags: toTags(blobItemInternal.blobTags), + objectReplicationSourceProperties: parseObjectReplicationRecord(blobItemInternal.objectReplicationMetadata) + }))) }) - }, convertTracingToRequestOptionsBase(updatedOptions))).then(rangeResponseFromModel); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } + }); + })); } - async listPageRangesSegment(offset = 0, count, marker, options = {}) { - var _a; - const {span, updatedOptions} = tracing_createSpan("PageBlobClient-getPageRangesSegment", options); - try { - return await this.pageBlobContext.getPageRanges(Object.assign({ - abortSignal: options.abortSignal, - leaseAccessConditions: options.conditions, - modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { - ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions - }), - range: rangeToString({ - offset, - count + async listBlobHierarchySegment(delimiter, marker, options = {}) { + return tracingClient.withSpan("ContainerClient-listBlobHierarchySegment", options, (async updatedOptions => { + var _a; + const response = assertResponse(await this.containerContext.listBlobHierarchySegment(delimiter, Object.assign(Object.assign({ + marker + }, options), { + tracingOptions: updatedOptions.tracingOptions + }))); + return Object.assign(Object.assign({}, response), { + _response: Object.assign(Object.assign({}, response._response), { + parsedBody: ConvertInternalResponseOfListBlobHierarchy(response._response.parsedBody) }), - marker, - maxPageSize: options.maxPageSize - }, convertTracingToRequestOptionsBase(updatedOptions))); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } + segment: Object.assign(Object.assign({}, response.segment), { + blobItems: response.segment.blobItems.map((blobItemInternal => Object.assign(Object.assign({}, blobItemInternal), { + name: BlobNameToString(blobItemInternal.name), + tags: toTags(blobItemInternal.blobTags), + objectReplicationSourceProperties: parseObjectReplicationRecord(blobItemInternal.objectReplicationMetadata) + }))), + blobPrefixes: null === (_a = response.segment.blobPrefixes) || void 0 === _a ? void 0 : _a.map((blobPrefixInternal => Object.assign(Object.assign({}, blobPrefixInternal), { + name: BlobNameToString(blobPrefixInternal.name) + }))) + }) + }); + })); } - listPageRangeItemSegments(offset = 0, count, marker, options = {}) { - return tslib_es6_asyncGenerator(this, arguments, (function*() { - let getPageRangeItemSegmentsResponse; + listSegments(marker_1) { + return __asyncGenerator(this, arguments, (function*(marker, options = {}) { + let listBlobsFlatSegmentResponse; if (marker || void 0 === marker) do { - getPageRangeItemSegmentsResponse = yield tslib_es6_await(this.listPageRangesSegment(offset, count, marker, options)), - marker = getPageRangeItemSegmentsResponse.continuationToken, yield yield tslib_es6_await(yield tslib_es6_await(getPageRangeItemSegmentsResponse)); + listBlobsFlatSegmentResponse = yield __await(this.listBlobFlatSegment(marker, options)), + marker = listBlobsFlatSegmentResponse.continuationToken, yield yield __await(yield __await(listBlobsFlatSegmentResponse)); } while (marker); })); } - listPageRangeItems(offset = 0, count, options = {}) { - return tslib_es6_asyncGenerator(this, arguments, (function*() { - var e_1, _a; + listItems() { + return __asyncGenerator(this, arguments, (function*(options = {}) { + var _a, e_1, _b, _c; try { - for (var _c, _b = tslib_es6_asyncValues(this.listPageRangeItemSegments(offset, count, undefined, options)); !(_c = yield tslib_es6_await(_b.next())).done; ) { - const getPageRangesSegment = _c.value; - yield tslib_es6_await(yield* tslib_es6_asyncDelegator(tslib_es6_asyncValues(ExtractPageRangeInfoItems(getPageRangesSegment)))); + for (var _f, _d = !0, _e = __asyncValues(this.listSegments(undefined, options)); !(_a = (_f = yield __await(_e.next())).done); _d = !0) { + _c = _f.value, _d = !1; + const listBlobsFlatSegmentResponse = _c; + yield __await(yield* __asyncDelegator(__asyncValues(listBlobsFlatSegmentResponse.segment.blobItems))); } } catch (e_1_1) { e_1 = { @@ -24100,1708 +22898,2776 @@ }; } finally { try { - _c && !_c.done && (_a = _b.return) && (yield tslib_es6_await(_a.call(_b))); + _d || _a || !(_b = _e.return) || (yield __await(_b.call(_e))); + } finally { + if (e_1) throw e_1.error; + } + } + })); + } + listBlobsFlat(options = {}) { + const include = []; + options.includeCopy && include.push("copy"), options.includeDeleted && include.push("deleted"), + options.includeMetadata && include.push("metadata"), options.includeSnapshots && include.push("snapshots"), + options.includeVersions && include.push("versions"), options.includeUncommitedBlobs && include.push("uncommittedblobs"), + options.includeTags && include.push("tags"), options.includeDeletedWithVersions && include.push("deletedwithversions"), + options.includeImmutabilityPolicy && include.push("immutabilitypolicy"), options.includeLegalHold && include.push("legalhold"), + "" === options.prefix && (options.prefix = void 0); + const updatedOptions = Object.assign(Object.assign({}, options), include.length > 0 ? { + include + } : {}), iter = this.listItems(updatedOptions); + return { + next: () => iter.next(), + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings = {}) => this.listSegments(settings.continuationToken, Object.assign({ + maxPageSize: settings.maxPageSize + }, updatedOptions)) + }; + } + listHierarchySegments(delimiter_1, marker_1) { + return __asyncGenerator(this, arguments, (function*(delimiter, marker, options = {}) { + let listBlobsHierarchySegmentResponse; + if (marker || void 0 === marker) do { + listBlobsHierarchySegmentResponse = yield __await(this.listBlobHierarchySegment(delimiter, marker, options)), + marker = listBlobsHierarchySegmentResponse.continuationToken, yield yield __await(yield __await(listBlobsHierarchySegmentResponse)); + } while (marker); + })); + } + listItemsByHierarchy(delimiter_1) { + return __asyncGenerator(this, arguments, (function*(delimiter, options = {}) { + var _a, e_2, _b, _c; + try { + for (var _f, _d = !0, _e = __asyncValues(this.listHierarchySegments(delimiter, undefined, options)); !(_a = (_f = yield __await(_e.next())).done); _d = !0) { + _c = _f.value, _d = !1; + const segment = _c.segment; + if (segment.blobPrefixes) for (const prefix of segment.blobPrefixes) yield yield __await(Object.assign({ + kind: "prefix" + }, prefix)); + for (const blob of segment.blobItems) yield yield __await(Object.assign({ + kind: "blob" + }, blob)); + } + } catch (e_2_1) { + e_2 = { + error: e_2_1 + }; + } finally { + try { + _d || _a || !(_b = _e.return) || (yield __await(_b.call(_e))); } finally { - if (e_1) throw e_1.error; + if (e_2) throw e_2.error; } } })); } - listPageRanges(offset = 0, count, options = {}) { - options.conditions = options.conditions || {}; - const iter = this.listPageRangeItems(offset, count, options); + listBlobsByHierarchy(delimiter, options = {}) { + if ("" === delimiter) throw new RangeError("delimiter should contain one or more characters"); + const include = []; + options.includeCopy && include.push("copy"), options.includeDeleted && include.push("deleted"), + options.includeMetadata && include.push("metadata"), options.includeSnapshots && include.push("snapshots"), + options.includeVersions && include.push("versions"), options.includeUncommitedBlobs && include.push("uncommittedblobs"), + options.includeTags && include.push("tags"), options.includeDeletedWithVersions && include.push("deletedwithversions"), + options.includeImmutabilityPolicy && include.push("immutabilitypolicy"), options.includeLegalHold && include.push("legalhold"), + "" === options.prefix && (options.prefix = void 0); + const updatedOptions = Object.assign(Object.assign({}, options), include.length > 0 ? { + include + } : {}), iter = this.listItemsByHierarchy(delimiter, updatedOptions); return { - next: () => iter.next(), + next: async () => iter.next(), [Symbol.asyncIterator]() { return this; }, - byPage: (settings = {}) => this.listPageRangeItemSegments(offset, count, settings.continuationToken, Object.assign({ + byPage: (settings = {}) => this.listHierarchySegments(delimiter, settings.continuationToken, Object.assign({ maxPageSize: settings.maxPageSize - }, options)) + }, updatedOptions)) }; } - async getPageRangesDiff(offset, count, prevSnapshot, options = {}) { - var _a; - options.conditions = options.conditions || {}; - const {span, updatedOptions} = tracing_createSpan("PageBlobClient-getPageRangesDiff", options); - try { - return await this.pageBlobContext.getPageRangesDiff(Object.assign({ + async findBlobsByTagsSegment(tagFilterSqlExpression, marker, options = {}) { + return tracingClient.withSpan("ContainerClient-findBlobsByTagsSegment", options, (async updatedOptions => { + const response = assertResponse(await this.containerContext.filterBlobs({ abortSignal: options.abortSignal, - leaseAccessConditions: options.conditions, - modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { - ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions - }), - prevsnapshot: prevSnapshot, - range: rangeToString({ - offset, - count - }) - }, convertTracingToRequestOptionsBase(updatedOptions))).then(rangeResponseFromModel); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } - } - async listPageRangesDiffSegment(offset, count, prevSnapshotOrUrl, marker, options) { - var _a; - const {span, updatedOptions} = tracing_createSpan("PageBlobClient-getPageRangesDiffSegment", options); - try { - return await this.pageBlobContext.getPageRangesDiff(Object.assign({ - abortSignal: null == options ? void 0 : options.abortSignal, - leaseAccessConditions: null == options ? void 0 : options.conditions, - modifiedAccessConditions: Object.assign(Object.assign({}, null == options ? void 0 : options.conditions), { - ifTags: null === (_a = null == options ? void 0 : options.conditions) || void 0 === _a ? void 0 : _a.tagConditions - }), - prevsnapshot: prevSnapshotOrUrl, - range: rangeToString({ - offset, - count - }), + where: tagFilterSqlExpression, marker, - maxPageSize: null == options ? void 0 : options.maxPageSize - }, convertTracingToRequestOptionsBase(updatedOptions))); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } + maxPageSize: options.maxPageSize, + tracingOptions: updatedOptions.tracingOptions + })), wrappedResponse = Object.assign(Object.assign({}, response), { + _response: response._response, + blobs: response.blobs.map((blob => { + var _a; + let tagValue = ""; + return 1 === (null === (_a = blob.tags) || void 0 === _a ? void 0 : _a.blobTagSet.length) && (tagValue = blob.tags.blobTagSet[0].value), + Object.assign(Object.assign({}, blob), { + tags: toTags(blob.tags), + tagValue + }); + })) + }); + return wrappedResponse; + })); } - listPageRangeDiffItemSegments(offset, count, prevSnapshotOrUrl, marker, options) { - return tslib_es6_asyncGenerator(this, arguments, (function*() { - let getPageRangeItemSegmentsResponse; + findBlobsByTagsSegments(tagFilterSqlExpression_1, marker_1) { + return __asyncGenerator(this, arguments, (function*(tagFilterSqlExpression, marker, options = {}) { + let response; if (marker || void 0 === marker) do { - getPageRangeItemSegmentsResponse = yield tslib_es6_await(this.listPageRangesDiffSegment(offset, count, prevSnapshotOrUrl, marker, options)), - marker = getPageRangeItemSegmentsResponse.continuationToken, yield yield tslib_es6_await(yield tslib_es6_await(getPageRangeItemSegmentsResponse)); + response = yield __await(this.findBlobsByTagsSegment(tagFilterSqlExpression, marker, options)), + response.blobs = response.blobs || [], marker = response.continuationToken, yield yield __await(response); } while (marker); })); } - listPageRangeDiffItems(offset, count, prevSnapshotOrUrl, options) { - return tslib_es6_asyncGenerator(this, arguments, (function*() { - var e_2, _a; + findBlobsByTagsItems(tagFilterSqlExpression_1) { + return __asyncGenerator(this, arguments, (function*(tagFilterSqlExpression, options = {}) { + var _a, e_3, _b, _c; try { - for (var _c, _b = tslib_es6_asyncValues(this.listPageRangeDiffItemSegments(offset, count, prevSnapshotOrUrl, undefined, options)); !(_c = yield tslib_es6_await(_b.next())).done; ) { - const getPageRangesSegment = _c.value; - yield tslib_es6_await(yield* tslib_es6_asyncDelegator(tslib_es6_asyncValues(ExtractPageRangeInfoItems(getPageRangesSegment)))); + for (var _f, _d = !0, _e = __asyncValues(this.findBlobsByTagsSegments(tagFilterSqlExpression, undefined, options)); !(_a = (_f = yield __await(_e.next())).done); _d = !0) { + _c = _f.value, _d = !1; + const segment = _c; + yield __await(yield* __asyncDelegator(__asyncValues(segment.blobs))); } - } catch (e_2_1) { - e_2 = { - error: e_2_1 + } catch (e_3_1) { + e_3 = { + error: e_3_1 }; } finally { try { - _c && !_c.done && (_a = _b.return) && (yield tslib_es6_await(_a.call(_b))); + _d || _a || !(_b = _e.return) || (yield __await(_b.call(_e))); } finally { - if (e_2) throw e_2.error; + if (e_3) throw e_3.error; } } })); } - listPageRangesDiff(offset, count, prevSnapshot, options = {}) { - options.conditions = options.conditions || {}; - const iter = this.listPageRangeDiffItems(offset, count, prevSnapshot, Object.assign({}, options)); + findBlobsByTags(tagFilterSqlExpression, options = {}) { + const listSegmentOptions = Object.assign({}, options), iter = this.findBlobsByTagsItems(tagFilterSqlExpression, listSegmentOptions); return { next: () => iter.next(), [Symbol.asyncIterator]() { return this; }, - byPage: (settings = {}) => this.listPageRangeDiffItemSegments(offset, count, prevSnapshot, settings.continuationToken, Object.assign({ + byPage: (settings = {}) => this.findBlobsByTagsSegments(tagFilterSqlExpression, settings.continuationToken, Object.assign({ maxPageSize: settings.maxPageSize - }, options)) + }, listSegmentOptions)) }; } - async getPageRangesDiffForManagedDisks(offset, count, prevSnapshotUrl, options = {}) { - var _a; - options.conditions = options.conditions || {}; - const {span, updatedOptions} = tracing_createSpan("PageBlobClient-GetPageRangesDiffForManagedDisks", options); - try { - return await this.pageBlobContext.getPageRangesDiff(Object.assign({ - abortSignal: options.abortSignal, - leaseAccessConditions: options.conditions, - modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { - ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions - }), - prevSnapshotUrl, - range: rangeToString({ - offset, - count - }) - }, convertTracingToRequestOptionsBase(updatedOptions))).then(rangeResponseFromModel); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } + async getAccountInfo(options = {}) { + return tracingClient.withSpan("ContainerClient-getAccountInfo", options, (async updatedOptions => assertResponse(await this.containerContext.getAccountInfo({ + abortSignal: options.abortSignal, + tracingOptions: updatedOptions.tracingOptions + })))); } - async resize(size, options = {}) { - var _a; - options.conditions = options.conditions || {}; - const {span, updatedOptions} = tracing_createSpan("PageBlobClient-resize", options); + getContainerNameFromUrl() { + let containerName; try { - return await this.pageBlobContext.resize(size, Object.assign({ - abortSignal: options.abortSignal, - leaseAccessConditions: options.conditions, - modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { - ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions - }), - encryptionScope: options.encryptionScope - }, convertTracingToRequestOptionsBase(updatedOptions))); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); + const parsedUrl = new URL(this.url); + if (containerName = "blob" === parsedUrl.hostname.split(".")[1] ? parsedUrl.pathname.split("/")[1] : isIpEndpointStyle(parsedUrl) ? parsedUrl.pathname.split("/")[2] : parsedUrl.pathname.split("/")[1], + containerName = decodeURIComponent(containerName), !containerName) throw new Error("Provided containerName is invalid."); + return containerName; + } catch (error) { + throw new Error("Unable to extract containerName with provided information."); } } - async updateSequenceNumber(sequenceNumberAction, sequenceNumber, options = {}) { - var _a; - options.conditions = options.conditions || {}; - const {span, updatedOptions} = tracing_createSpan("PageBlobClient-updateSequenceNumber", options); - try { - return await this.pageBlobContext.updateSequenceNumber(sequenceNumberAction, Object.assign({ - abortSignal: options.abortSignal, - blobSequenceNumber: sequenceNumber, - leaseAccessConditions: options.conditions, - modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { - ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions - }) - }, convertTracingToRequestOptionsBase(updatedOptions))); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } + generateSasUrl(options) { + return new Promise((resolve => { + if (!(this.credential instanceof StorageSharedKeyCredential)) throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential"); + const sas = generateBlobSASQueryParameters(Object.assign({ + containerName: this._containerName + }, options), this.credential).toString(); + resolve(appendToURLQuery(this.url, sas)); + })); } - async startCopyIncremental(copySource, options = {}) { - var _a; - const {span, updatedOptions} = tracing_createSpan("PageBlobClient-startCopyIncremental", options); - try { - return await this.pageBlobContext.copyIncremental(copySource, Object.assign({ - abortSignal: options.abortSignal, - modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { - ifTags: null === (_a = options.conditions) || void 0 === _a ? void 0 : _a.tagConditions - }) - }, convertTracingToRequestOptionsBase(updatedOptions))); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } + getBlobBatchClient() { + return new BlobBatchClient(this.url, this.pipeline); } } - async function getBodyAsText(batchResponse) { - let buffer = Buffer.alloc(BATCH_MAX_PAYLOAD_IN_BYTES); - const responseLength = await async function(stream, buffer, encoding) { - let pos = 0; - const bufferSize = buffer.length; - return new Promise(((resolve, reject) => { - stream.on("readable", (() => { - let chunk = stream.read(); - chunk && ("string" == typeof chunk && (chunk = Buffer.from(chunk, encoding)), pos + chunk.length > bufferSize ? reject(new Error(`Stream exceeds buffer size. Buffer size: ${bufferSize}`)) : (buffer.fill(chunk, pos, pos + chunk.length), - pos += chunk.length)); - })), stream.on("end", (() => { - resolve(pos); - })), stream.on("error", reject); - })); - }(batchResponse.readableStreamBody, buffer); - return buffer = buffer.slice(0, responseLength), buffer.toString(); - } - class BatchResponseParser { - constructor(batchResponse, subRequests) { - if (!batchResponse || !batchResponse.contentType) throw new RangeError("batchResponse is malformed or doesn't contain valid content-type."); - if (!subRequests || 0 === subRequests.size) throw new RangeError("Invalid state: subRequests is not provided or size is 0."); - this.batchResponse = batchResponse, this.subRequests = subRequests, this.responseBatchBoundary = this.batchResponse.contentType.split("=")[1], - this.perResponsePrefix = `--${this.responseBatchBoundary}\r\n`, this.batchResponseEnding = `--${this.responseBatchBoundary}--`; + class AccountSASPermissions { + constructor() { + this.read = !1, this.write = !1, this.delete = !1, this.deleteVersion = !1, this.list = !1, + this.add = !1, this.create = !1, this.update = !1, this.process = !1, this.tag = !1, + this.filter = !1, this.setImmutabilityPolicy = !1, this.permanentDelete = !1; } - async parseBatchResponse() { - if (this.batchResponse._response.status !== HTTPURLConnection_HTTP_ACCEPTED) throw new Error(`Invalid state: batch request failed with status: '${this.batchResponse._response.status}'.`); - const subResponses = (await getBodyAsText(this.batchResponse)).split(this.batchResponseEnding)[0].split(this.perResponsePrefix).slice(1), subResponseCount = subResponses.length; - if (subResponseCount !== this.subRequests.size && 1 !== subResponseCount) throw new Error("Invalid state: sub responses' count is not equal to sub requests' count."); - const deserializedSubResponses = new Array(subResponseCount); - let subResponsesSucceededCount = 0, subResponsesFailedCount = 0; - for (let index = 0; index < subResponseCount; index++) { - const subResponse = subResponses[index], deserializedSubResponse = {}; - deserializedSubResponse.headers = new httpHeaders_HttpHeaders; - const responseLines = subResponse.split("\r\n"); - let subRespHeaderStartFound = !1, subRespHeaderEndFound = !1, subRespFailed = !1, contentId = -1; - for (const responseLine of responseLines) if (subRespHeaderStartFound) if ("" !== responseLine.trim()) if (subRespHeaderEndFound) deserializedSubResponse.bodyAsText || (deserializedSubResponse.bodyAsText = ""), - deserializedSubResponse.bodyAsText += responseLine; else { - if (-1 === responseLine.indexOf(": ")) throw new Error(`Invalid state: find non-empty line '${responseLine}' without HTTP header delimiter ': '.`); - const tokens = responseLine.split(": "); - deserializedSubResponse.headers.set(tokens[0], tokens[1]), tokens[0] === constants_HeaderConstants_X_MS_ERROR_CODE && (deserializedSubResponse.errorCode = tokens[1], - subRespFailed = !0); - } else subRespHeaderEndFound || (subRespHeaderEndFound = !0); else if (responseLine.startsWith(constants_HeaderConstants_CONTENT_ID) && (contentId = parseInt(responseLine.split(": ")[1])), - responseLine.startsWith("HTTP/1.1")) { - subRespHeaderStartFound = !0; - const tokens = responseLine.split(" "); - deserializedSubResponse.status = parseInt(tokens[1]), deserializedSubResponse.statusMessage = tokens.slice(2).join(" "); - } - -1 !== contentId && Number.isInteger(contentId) && contentId >= 0 && contentId < this.subRequests.size && void 0 === deserializedSubResponses[contentId] ? (deserializedSubResponse._request = this.subRequests.get(contentId), - deserializedSubResponses[contentId] = deserializedSubResponse) : logger.error(`subResponses[${index}] is dropped as the Content-ID is not found or invalid, Content-ID: ${contentId}`), - subRespFailed ? subResponsesFailedCount++ : subResponsesSucceededCount++; + static parse(permissions) { + const accountSASPermissions = new AccountSASPermissions; + for (const c of permissions) switch (c) { + case "r": + accountSASPermissions.read = !0; + break; + + case "w": + accountSASPermissions.write = !0; + break; + + case "d": + accountSASPermissions.delete = !0; + break; + + case "x": + accountSASPermissions.deleteVersion = !0; + break; + + case "l": + accountSASPermissions.list = !0; + break; + + case "a": + accountSASPermissions.add = !0; + break; + + case "c": + accountSASPermissions.create = !0; + break; + + case "u": + accountSASPermissions.update = !0; + break; + + case "p": + accountSASPermissions.process = !0; + break; + + case "t": + accountSASPermissions.tag = !0; + break; + + case "f": + accountSASPermissions.filter = !0; + break; + + case "i": + accountSASPermissions.setImmutabilityPolicy = !0; + break; + + case "y": + accountSASPermissions.permanentDelete = !0; + break; + + default: + throw new RangeError(`Invalid permission character: ${c}`); } - return { - subResponses: deserializedSubResponses, - subResponsesSucceededCount, - subResponsesFailedCount - }; - } - } - var MutexLockStatus; - !function(MutexLockStatus) { - MutexLockStatus[MutexLockStatus.LOCKED = 0] = "LOCKED", MutexLockStatus[MutexLockStatus.UNLOCKED = 1] = "UNLOCKED"; - }(MutexLockStatus || (MutexLockStatus = {})); - class Mutex { - static async lock(key) { - return new Promise((resolve => { - void 0 === this.keys[key] || this.keys[key] === MutexLockStatus.UNLOCKED ? (this.keys[key] = MutexLockStatus.LOCKED, - resolve()) : this.onUnlockEvent(key, (() => { - this.keys[key] = MutexLockStatus.LOCKED, resolve(); - })); - })); - } - static async unlock(key) { - return new Promise((resolve => { - this.keys[key] === MutexLockStatus.LOCKED && this.emitUnlockEvent(key), delete this.keys[key], - resolve(); - })); + return accountSASPermissions; } - static onUnlockEvent(key, handler) { - void 0 === this.listeners[key] ? this.listeners[key] = [ handler ] : this.listeners[key].push(handler); + static from(permissionLike) { + const accountSASPermissions = new AccountSASPermissions; + return permissionLike.read && (accountSASPermissions.read = !0), permissionLike.write && (accountSASPermissions.write = !0), + permissionLike.delete && (accountSASPermissions.delete = !0), permissionLike.deleteVersion && (accountSASPermissions.deleteVersion = !0), + permissionLike.filter && (accountSASPermissions.filter = !0), permissionLike.tag && (accountSASPermissions.tag = !0), + permissionLike.list && (accountSASPermissions.list = !0), permissionLike.add && (accountSASPermissions.add = !0), + permissionLike.create && (accountSASPermissions.create = !0), permissionLike.update && (accountSASPermissions.update = !0), + permissionLike.process && (accountSASPermissions.process = !0), permissionLike.setImmutabilityPolicy && (accountSASPermissions.setImmutabilityPolicy = !0), + permissionLike.permanentDelete && (accountSASPermissions.permanentDelete = !0), + accountSASPermissions; } - static emitUnlockEvent(key) { - if (void 0 !== this.listeners[key] && this.listeners[key].length > 0) { - const handler = this.listeners[key].shift(); - setImmediate((() => { - handler.call(this); - })); - } + toString() { + const permissions = []; + return this.read && permissions.push("r"), this.write && permissions.push("w"), + this.delete && permissions.push("d"), this.deleteVersion && permissions.push("x"), + this.filter && permissions.push("f"), this.tag && permissions.push("t"), this.list && permissions.push("l"), + this.add && permissions.push("a"), this.create && permissions.push("c"), this.update && permissions.push("u"), + this.process && permissions.push("p"), this.setImmutabilityPolicy && permissions.push("i"), + this.permanentDelete && permissions.push("y"), permissions.join(""); } } - Mutex.keys = {}, Mutex.listeners = {}; - class BlobBatch { + class AccountSASResourceTypes { constructor() { - this.batch = "batch", this.batchRequest = new InnerBatchRequest; - } - getMultiPartContentType() { - return this.batchRequest.getMultipartContentType(); - } - getHttpRequestBody() { - return this.batchRequest.getHttpRequestBody(); - } - getSubRequests() { - return this.batchRequest.getSubRequests(); - } - async addSubRequestInternal(subRequest, assembleSubRequestFunc) { - await Mutex.lock(this.batch); - try { - this.batchRequest.preAddSubRequest(subRequest), await assembleSubRequestFunc(), - this.batchRequest.postAddSubRequest(subRequest); - } finally { - await Mutex.unlock(this.batch); - } - } - setBatchType(batchType) { - if (this.batchType || (this.batchType = batchType), this.batchType !== batchType) throw new RangeError(`BlobBatch only supports one operation type per batch and it already is being used for ${this.batchType} operations.`); + this.service = !1, this.container = !1, this.object = !1; } - async deleteBlob(urlOrBlobClient, credentialOrOptions, options) { - let url, credential; - if ("string" == typeof urlOrBlobClient && (utils_isNode && credentialOrOptions instanceof StorageSharedKeyCredential || credentialOrOptions instanceof AnonymousCredential || isTokenCredential(credentialOrOptions))) url = urlOrBlobClient, - credential = credentialOrOptions; else { - if (!(urlOrBlobClient instanceof BlobClient)) throw new RangeError("Invalid arguments. Either url and credential, or BlobClient need be provided."); - url = urlOrBlobClient.url, credential = urlOrBlobClient.credential, options = credentialOrOptions; - } - options || (options = {}); - const {span, updatedOptions} = tracing_createSpan("BatchDeleteRequest-addSubRequest", options); - try { - this.setBatchType("delete"), await this.addSubRequestInternal({ - url, - credential - }, (async () => { - await new BlobClient(url, this.batchRequest.createPipeline(credential)).delete(updatedOptions); - })); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); + static parse(resourceTypes) { + const accountSASResourceTypes = new AccountSASResourceTypes; + for (const c of resourceTypes) switch (c) { + case "s": + accountSASResourceTypes.service = !0; + break; + + case "c": + accountSASResourceTypes.container = !0; + break; + + case "o": + accountSASResourceTypes.object = !0; + break; + + default: + throw new RangeError(`Invalid resource type: ${c}`); } + return accountSASResourceTypes; } - async setBlobAccessTier(urlOrBlobClient, credentialOrTier, tierOrOptions, options) { - let url, credential, tier; - if ("string" == typeof urlOrBlobClient && (utils_isNode && credentialOrTier instanceof StorageSharedKeyCredential || credentialOrTier instanceof AnonymousCredential || isTokenCredential(credentialOrTier))) url = urlOrBlobClient, - credential = credentialOrTier, tier = tierOrOptions; else { - if (!(urlOrBlobClient instanceof BlobClient)) throw new RangeError("Invalid arguments. Either url and credential, or BlobClient need be provided."); - url = urlOrBlobClient.url, credential = urlOrBlobClient.credential, tier = credentialOrTier, - options = tierOrOptions; - } - options || (options = {}); - const {span, updatedOptions} = tracing_createSpan("BatchSetTierRequest-addSubRequest", options); - try { - this.setBatchType("setAccessTier"), await this.addSubRequestInternal({ - url, - credential - }, (async () => { - await new BlobClient(url, this.batchRequest.createPipeline(credential)).setAccessTier(tier, updatedOptions); - })); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } + toString() { + const resourceTypes = []; + return this.service && resourceTypes.push("s"), this.container && resourceTypes.push("c"), + this.object && resourceTypes.push("o"), resourceTypes.join(""); } } - class InnerBatchRequest { + class AccountSASServices { constructor() { - this.operationCount = 0, this.body = ""; - const tempGuid = generateUuid(); - this.boundary = `batch_${tempGuid}`, this.subRequestPrefix = `--${this.boundary}\r\n${constants_HeaderConstants_CONTENT_TYPE}: application/http\r\n${constants_HeaderConstants_CONTENT_TRANSFER_ENCODING}: binary`, - this.multipartContentType = `multipart/mixed; boundary=${this.boundary}`, this.batchRequestEnding = `--${this.boundary}--`, - this.subRequests = new Map; + this.blob = !1, this.file = !1, this.queue = !1, this.table = !1; } - createPipeline(credential) { - const isAnonymousCreds = credential instanceof AnonymousCredential, policyFactoryLength = 3 + (isAnonymousCreds ? 0 : 1), factories = new Array(policyFactoryLength); - return factories[0] = deserializationPolicy_deserializationPolicy(), factories[1] = new BatchHeaderFilterPolicyFactory, - isAnonymousCreds || (factories[2] = isTokenCredential(credential) ? attachCredential(bearerTokenAuthenticationPolicy(credential, StorageOAuthScopes), credential) : credential), - factories[policyFactoryLength - 1] = new BatchRequestAssemblePolicyFactory(this), - new Pipeline(factories, {}); + static parse(services) { + const accountSASServices = new AccountSASServices; + for (const c of services) switch (c) { + case "b": + accountSASServices.blob = !0; + break; + + case "f": + accountSASServices.file = !0; + break; + + case "q": + accountSASServices.queue = !0; + break; + + case "t": + accountSASServices.table = !0; + break; + + default: + throw new RangeError(`Invalid service character: ${c}`); + } + return accountSASServices; } - appendSubRequestToBody(request) { - this.body += [ this.subRequestPrefix, `${constants_HeaderConstants_CONTENT_ID}: ${this.operationCount}`, "", `${request.method.toString()} ${getURLPathAndQuery(request.url)} HTTP/1.1\r\n` ].join("\r\n"); - for (const header of request.headers.headersArray()) this.body += `${header.name}: ${header.value}\r\n`; - this.body += "\r\n"; + toString() { + const services = []; + return this.blob && services.push("b"), this.table && services.push("t"), this.queue && services.push("q"), + this.file && services.push("f"), services.join(""); } - preAddSubRequest(subRequest) { - if (this.operationCount >= 256) throw new RangeError("Cannot exceed 256 sub requests in a single batch"); - const path = getURLPath(subRequest.url); - if (!path || "" === path) throw new RangeError(`Invalid url for sub request: '${subRequest.url}'`); + } + function generateAccountSASQueryParameters(accountSASSignatureValues, sharedKeyCredential) { + const version = accountSASSignatureValues.version ? accountSASSignatureValues.version : SERVICE_VERSION; + if (accountSASSignatureValues.permissions && accountSASSignatureValues.permissions.setImmutabilityPolicy && version < "2020-08-04") throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission."); + if (accountSASSignatureValues.permissions && accountSASSignatureValues.permissions.deleteVersion && version < "2019-10-10") throw RangeError("'version' must be >= '2019-10-10' when provided 'x' permission."); + if (accountSASSignatureValues.permissions && accountSASSignatureValues.permissions.permanentDelete && version < "2019-10-10") throw RangeError("'version' must be >= '2019-10-10' when provided 'y' permission."); + if (accountSASSignatureValues.permissions && accountSASSignatureValues.permissions.tag && version < "2019-12-12") throw RangeError("'version' must be >= '2019-12-12' when provided 't' permission."); + if (accountSASSignatureValues.permissions && accountSASSignatureValues.permissions.filter && version < "2019-12-12") throw RangeError("'version' must be >= '2019-12-12' when provided 'f' permission."); + if (accountSASSignatureValues.encryptionScope && version < "2020-12-06") throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS."); + const parsedPermissions = AccountSASPermissions.parse(accountSASSignatureValues.permissions.toString()), parsedServices = AccountSASServices.parse(accountSASSignatureValues.services).toString(), parsedResourceTypes = AccountSASResourceTypes.parse(accountSASSignatureValues.resourceTypes).toString(); + let stringToSign; + stringToSign = version >= "2020-12-06" ? [ sharedKeyCredential.accountName, parsedPermissions, parsedServices, parsedResourceTypes, accountSASSignatureValues.startsOn ? truncatedISO8061Date(accountSASSignatureValues.startsOn, !1) : "", truncatedISO8061Date(accountSASSignatureValues.expiresOn, !1), accountSASSignatureValues.ipRange ? ipRangeToString(accountSASSignatureValues.ipRange) : "", accountSASSignatureValues.protocol ? accountSASSignatureValues.protocol : "", version, accountSASSignatureValues.encryptionScope ? accountSASSignatureValues.encryptionScope : "", "" ].join("\n") : [ sharedKeyCredential.accountName, parsedPermissions, parsedServices, parsedResourceTypes, accountSASSignatureValues.startsOn ? truncatedISO8061Date(accountSASSignatureValues.startsOn, !1) : "", truncatedISO8061Date(accountSASSignatureValues.expiresOn, !1), accountSASSignatureValues.ipRange ? ipRangeToString(accountSASSignatureValues.ipRange) : "", accountSASSignatureValues.protocol ? accountSASSignatureValues.protocol : "", version, "" ].join("\n"); + const signature = sharedKeyCredential.computeHMACSHA256(stringToSign); + return new SASQueryParameters(version, signature, parsedPermissions.toString(), parsedServices, parsedResourceTypes, accountSASSignatureValues.protocol, accountSASSignatureValues.startsOn, accountSASSignatureValues.expiresOn, accountSASSignatureValues.ipRange, void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0, accountSASSignatureValues.encryptionScope); + } + class BlobServiceClient extends StorageClient_StorageClient { + static fromConnectionString(connectionString, options) { + options = options || {}; + const extractedCreds = extractConnectionStringParts(connectionString); + if ("AccountConnString" === extractedCreds.kind) { + if (checkEnvironment_isNode) { + const sharedKeyCredential = new StorageSharedKeyCredential(extractedCreds.accountName, extractedCreds.accountKey); + options.proxyOptions || (options.proxyOptions = getDefaultProxySettings(extractedCreds.proxyUri)); + const pipeline = newPipeline(sharedKeyCredential, options); + return new BlobServiceClient(extractedCreds.url, pipeline); + } + throw new Error("Account connection string is only supported in Node.js environment"); + } + if ("SASConnString" === extractedCreds.kind) { + const pipeline = newPipeline(new AnonymousCredential, options); + return new BlobServiceClient(extractedCreds.url + "?" + extractedCreds.accountSas, pipeline); + } + throw new Error("Connection string must be either an Account connection string or a SAS connection string"); } - postAddSubRequest(subRequest) { - this.subRequests.set(this.operationCount, subRequest), this.operationCount++; + constructor(url, credentialOrPipeline, options) { + let pipeline; + pipeline = isPipelineLike(credentialOrPipeline) ? credentialOrPipeline : checkEnvironment_isNode && credentialOrPipeline instanceof StorageSharedKeyCredential || credentialOrPipeline instanceof AnonymousCredential || isTokenCredential(credentialOrPipeline) ? newPipeline(credentialOrPipeline, options) : newPipeline(new AnonymousCredential, options), + super(url, pipeline), this.serviceContext = this.storageClientContext.service; } - getHttpRequestBody() { - return `${this.body}${this.batchRequestEnding}\r\n`; + getContainerClient(containerName) { + return new ContainerClient(appendToURLPath(this.url, encodeURIComponent(containerName)), this.pipeline); } - getMultipartContentType() { - return this.multipartContentType; + async createContainer(containerName, options = {}) { + return tracingClient.withSpan("BlobServiceClient-createContainer", options, (async updatedOptions => { + const containerClient = this.getContainerClient(containerName), containerCreateResponse = await containerClient.create(updatedOptions); + return { + containerClient, + containerCreateResponse + }; + })); } - getSubRequests() { - return this.subRequests; + async deleteContainer(containerName, options = {}) { + return tracingClient.withSpan("BlobServiceClient-deleteContainer", options, (async updatedOptions => this.getContainerClient(containerName).delete(updatedOptions))); } - } - class BatchRequestAssemblePolicy extends BaseRequestPolicy { - constructor(batchRequest, nextPolicy, options) { - super(nextPolicy, options), this.dummyResponse = { - request: new WebResource, - status: 200, - headers: new httpHeaders_HttpHeaders - }, this.batchRequest = batchRequest; + async undeleteContainer(deletedContainerName, deletedContainerVersion, options = {}) { + return tracingClient.withSpan("BlobServiceClient-undeleteContainer", options, (async updatedOptions => { + const containerClient = this.getContainerClient(options.destinationContainerName || deletedContainerName), containerContext = containerClient.storageClientContext.container; + return { + containerClient, + containerUndeleteResponse: assertResponse(await containerContext.restore({ + deletedContainerName, + deletedContainerVersion, + tracingOptions: updatedOptions.tracingOptions + })) + }; + })); } - async sendRequest(request) { - return await this.batchRequest.appendSubRequestToBody(request), this.dummyResponse; + async renameContainer(sourceContainerName, destinationContainerName, options = {}) { + return tracingClient.withSpan("BlobServiceClient-renameContainer", options, (async updatedOptions => { + var _a; + const containerClient = this.getContainerClient(destinationContainerName), containerContext = containerClient.storageClientContext.container; + return { + containerClient, + containerRenameResponse: assertResponse(await containerContext.rename(sourceContainerName, Object.assign(Object.assign({}, updatedOptions), { + sourceLeaseId: null === (_a = options.sourceCondition) || void 0 === _a ? void 0 : _a.leaseId + }))) + }; + })); } - } - class BatchRequestAssemblePolicyFactory { - constructor(batchRequest) { - this.batchRequest = batchRequest; + async getProperties(options = {}) { + return tracingClient.withSpan("BlobServiceClient-getProperties", options, (async updatedOptions => assertResponse(await this.serviceContext.getProperties({ + abortSignal: options.abortSignal, + tracingOptions: updatedOptions.tracingOptions + })))); } - create(nextPolicy, options) { - return new BatchRequestAssemblePolicy(this.batchRequest, nextPolicy, options); + async setProperties(properties, options = {}) { + return tracingClient.withSpan("BlobServiceClient-setProperties", options, (async updatedOptions => assertResponse(await this.serviceContext.setProperties(properties, { + abortSignal: options.abortSignal, + tracingOptions: updatedOptions.tracingOptions + })))); } - } - class BatchHeaderFilterPolicy extends BaseRequestPolicy { - constructor(nextPolicy, options) { - super(nextPolicy, options); + async getStatistics(options = {}) { + return tracingClient.withSpan("BlobServiceClient-getStatistics", options, (async updatedOptions => assertResponse(await this.serviceContext.getStatistics({ + abortSignal: options.abortSignal, + tracingOptions: updatedOptions.tracingOptions + })))); } - async sendRequest(request) { - let xMsHeaderName = ""; - for (const header of request.headers.headersArray()) iEqual(header.name, constants_HeaderConstants_X_MS_VERSION) && (xMsHeaderName = header.name); - return "" !== xMsHeaderName && request.headers.remove(xMsHeaderName), this._nextPolicy.sendRequest(request); + async getAccountInfo(options = {}) { + return tracingClient.withSpan("BlobServiceClient-getAccountInfo", options, (async updatedOptions => assertResponse(await this.serviceContext.getAccountInfo({ + abortSignal: options.abortSignal, + tracingOptions: updatedOptions.tracingOptions + })))); } - } - class BatchHeaderFilterPolicyFactory { - create(nextPolicy, options) { - return new BatchHeaderFilterPolicy(nextPolicy, options); + async listContainersSegment(marker, options = {}) { + return tracingClient.withSpan("BlobServiceClient-listContainersSegment", options, (async updatedOptions => assertResponse(await this.serviceContext.listContainersSegment(Object.assign(Object.assign({ + abortSignal: options.abortSignal, + marker + }, options), { + include: "string" == typeof options.include ? [ options.include ] : options.include, + tracingOptions: updatedOptions.tracingOptions + }))))); } - } - class BlobBatchClient { - constructor(url, credentialOrPipeline, options) { - let pipeline; - pipeline = isPipelineLike(credentialOrPipeline) ? credentialOrPipeline : newPipeline(credentialOrPipeline || new AnonymousCredential, options); - const storageClientContext = new StorageClientContext(url, pipeline.toServiceClientOptions()), path = getURLPath(url); - this.serviceOrContainerContext = path && "/" !== path ? new Container(storageClientContext) : new Service(storageClientContext); + async findBlobsByTagsSegment(tagFilterSqlExpression, marker, options = {}) { + return tracingClient.withSpan("BlobServiceClient-findBlobsByTagsSegment", options, (async updatedOptions => { + const response = assertResponse(await this.serviceContext.filterBlobs({ + abortSignal: options.abortSignal, + where: tagFilterSqlExpression, + marker, + maxPageSize: options.maxPageSize, + tracingOptions: updatedOptions.tracingOptions + })), wrappedResponse = Object.assign(Object.assign({}, response), { + _response: response._response, + blobs: response.blobs.map((blob => { + var _a; + let tagValue = ""; + return 1 === (null === (_a = blob.tags) || void 0 === _a ? void 0 : _a.blobTagSet.length) && (tagValue = blob.tags.blobTagSet[0].value), + Object.assign(Object.assign({}, blob), { + tags: toTags(blob.tags), + tagValue + }); + })) + }); + return wrappedResponse; + })); } - createBatch() { - return new BlobBatch; + findBlobsByTagsSegments(tagFilterSqlExpression_1, marker_1) { + return __asyncGenerator(this, arguments, (function*(tagFilterSqlExpression, marker, options = {}) { + let response; + if (marker || void 0 === marker) do { + response = yield __await(this.findBlobsByTagsSegment(tagFilterSqlExpression, marker, options)), + response.blobs = response.blobs || [], marker = response.continuationToken, yield yield __await(response); + } while (marker); + })); } - async deleteBlobs(urlsOrBlobClients, credentialOrOptions, options) { - const batch = new BlobBatch; - for (const urlOrBlobClient of urlsOrBlobClients) "string" == typeof urlOrBlobClient ? await batch.deleteBlob(urlOrBlobClient, credentialOrOptions, options) : await batch.deleteBlob(urlOrBlobClient, credentialOrOptions); - return this.submitBatch(batch); + findBlobsByTagsItems(tagFilterSqlExpression_1) { + return __asyncGenerator(this, arguments, (function*(tagFilterSqlExpression, options = {}) { + var _a, e_1, _b, _c; + try { + for (var _f, _d = !0, _e = __asyncValues(this.findBlobsByTagsSegments(tagFilterSqlExpression, undefined, options)); !(_a = (_f = yield __await(_e.next())).done); _d = !0) { + _c = _f.value, _d = !1; + const segment = _c; + yield __await(yield* __asyncDelegator(__asyncValues(segment.blobs))); + } + } catch (e_1_1) { + e_1 = { + error: e_1_1 + }; + } finally { + try { + _d || _a || !(_b = _e.return) || (yield __await(_b.call(_e))); + } finally { + if (e_1) throw e_1.error; + } + } + })); } - async setBlobsAccessTier(urlsOrBlobClients, credentialOrTier, tierOrOptions, options) { - const batch = new BlobBatch; - for (const urlOrBlobClient of urlsOrBlobClients) "string" == typeof urlOrBlobClient ? await batch.setBlobAccessTier(urlOrBlobClient, credentialOrTier, tierOrOptions, options) : await batch.setBlobAccessTier(urlOrBlobClient, credentialOrTier, tierOrOptions); - return this.submitBatch(batch); + findBlobsByTags(tagFilterSqlExpression, options = {}) { + const listSegmentOptions = Object.assign({}, options), iter = this.findBlobsByTagsItems(tagFilterSqlExpression, listSegmentOptions); + return { + next: () => iter.next(), + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings = {}) => this.findBlobsByTagsSegments(tagFilterSqlExpression, settings.continuationToken, Object.assign({ + maxPageSize: settings.maxPageSize + }, listSegmentOptions)) + }; } - async submitBatch(batchRequest, options = {}) { - if (!batchRequest || 0 === batchRequest.getSubRequests().size) throw new RangeError("Batch request should contain one or more sub requests."); - const {span, updatedOptions} = tracing_createSpan("BlobBatchClient-submitBatch", options); - try { - const batchRequestBody = batchRequest.getHttpRequestBody(), rawBatchResponse = await this.serviceOrContainerContext.submitBatch((str = batchRequestBody, - Buffer.byteLength(str)), batchRequest.getMultiPartContentType(), batchRequestBody, Object.assign(Object.assign({}, options), convertTracingToRequestOptionsBase(updatedOptions))), batchResponseParser = new BatchResponseParser(rawBatchResponse, batchRequest.getSubRequests()), responseSummary = await batchResponseParser.parseBatchResponse(); - return { - _response: rawBatchResponse._response, - contentType: rawBatchResponse.contentType, - errorCode: rawBatchResponse.errorCode, - requestId: rawBatchResponse.requestId, - clientRequestId: rawBatchResponse.clientRequestId, - version: rawBatchResponse.version, - subResponses: responseSummary.subResponses, - subResponsesSucceededCount: responseSummary.subResponsesSucceededCount, - subResponsesFailedCount: responseSummary.subResponsesFailedCount - }; - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } - var str; + listSegments(marker_1) { + return __asyncGenerator(this, arguments, (function*(marker, options = {}) { + let listContainersSegmentResponse; + if (marker || void 0 === marker) do { + listContainersSegmentResponse = yield __await(this.listContainersSegment(marker, options)), + listContainersSegmentResponse.containerItems = listContainersSegmentResponse.containerItems || [], + marker = listContainersSegmentResponse.continuationToken, yield yield __await(yield __await(listContainersSegmentResponse)); + } while (marker); + })); } - } - class ContainerClient extends StorageClient { - constructor(urlOrConnectionString, credentialOrPipelineOrContainerName, options) { - let pipeline, url; - if (options = options || {}, isPipelineLike(credentialOrPipelineOrContainerName)) url = urlOrConnectionString, - pipeline = credentialOrPipelineOrContainerName; else if (utils_isNode && credentialOrPipelineOrContainerName instanceof StorageSharedKeyCredential || credentialOrPipelineOrContainerName instanceof AnonymousCredential || isTokenCredential(credentialOrPipelineOrContainerName)) url = urlOrConnectionString, - pipeline = newPipeline(credentialOrPipelineOrContainerName, options); else if (credentialOrPipelineOrContainerName || "string" == typeof credentialOrPipelineOrContainerName) { - if (!credentialOrPipelineOrContainerName || "string" != typeof credentialOrPipelineOrContainerName) throw new Error("Expecting non-empty strings for containerName parameter"); - { - const containerName = credentialOrPipelineOrContainerName, extractedCreds = extractConnectionStringParts(urlOrConnectionString); - if ("AccountConnString" === extractedCreds.kind) { - if (!utils_isNode) throw new Error("Account connection string is only supported in Node.js environment"); - { - const sharedKeyCredential = new StorageSharedKeyCredential(extractedCreds.accountName, extractedCreds.accountKey); - url = appendToURLPath(extractedCreds.url, encodeURIComponent(containerName)), options.proxyOptions || (options.proxyOptions = getDefaultProxySettings(extractedCreds.proxyUri)), - pipeline = newPipeline(sharedKeyCredential, options); - } - } else { - if ("SASConnString" !== extractedCreds.kind) throw new Error("Connection string must be either an Account connection string or a SAS connection string"); - url = appendToURLPath(extractedCreds.url, encodeURIComponent(containerName)) + "?" + extractedCreds.accountSas, - pipeline = newPipeline(new AnonymousCredential, options); + listItems() { + return __asyncGenerator(this, arguments, (function*(options = {}) { + var _a, e_2, _b, _c; + try { + for (var _f, _d = !0, _e = __asyncValues(this.listSegments(undefined, options)); !(_a = (_f = yield __await(_e.next())).done); _d = !0) { + _c = _f.value, _d = !1; + const segment = _c; + yield __await(yield* __asyncDelegator(__asyncValues(segment.containerItems))); + } + } catch (e_2_1) { + e_2 = { + error: e_2_1 + }; + } finally { + try { + _d || _a || !(_b = _e.return) || (yield __await(_b.call(_e))); + } finally { + if (e_2) throw e_2.error; } } - } else url = urlOrConnectionString, pipeline = newPipeline(new AnonymousCredential, options); - super(url, pipeline), this._containerName = this.getContainerNameFromUrl(), this.containerContext = new Container(this.storageClientContext); + })); } - get containerName() { - return this._containerName; + listContainers(options = {}) { + "" === options.prefix && (options.prefix = void 0); + const include = []; + options.includeDeleted && include.push("deleted"), options.includeMetadata && include.push("metadata"), + options.includeSystem && include.push("system"); + const listSegmentOptions = Object.assign(Object.assign({}, options), include.length > 0 ? { + include + } : {}), iter = this.listItems(listSegmentOptions); + return { + next: () => iter.next(), + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings = {}) => this.listSegments(settings.continuationToken, Object.assign({ + maxPageSize: settings.maxPageSize + }, listSegmentOptions)) + }; } - async create(options = {}) { - const {span, updatedOptions} = tracing_createSpan("ContainerClient-create", options); - try { - return await this.containerContext.create(Object.assign(Object.assign({}, options), convertTracingToRequestOptionsBase(updatedOptions))); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } + async getUserDelegationKey(startsOn, expiresOn, options = {}) { + return tracingClient.withSpan("BlobServiceClient-getUserDelegationKey", options, (async updatedOptions => { + const response = assertResponse(await this.serviceContext.getUserDelegationKey({ + startsOn: truncatedISO8061Date(startsOn, !1), + expiresOn: truncatedISO8061Date(expiresOn, !1) + }, { + abortSignal: options.abortSignal, + tracingOptions: updatedOptions.tracingOptions + })), userDelegationKey = { + signedObjectId: response.signedObjectId, + signedTenantId: response.signedTenantId, + signedStartsOn: new Date(response.signedStartsOn), + signedExpiresOn: new Date(response.signedExpiresOn), + signedService: response.signedService, + signedVersion: response.signedVersion, + value: response.value + }; + return Object.assign({ + _response: response._response, + requestId: response.requestId, + clientRequestId: response.clientRequestId, + version: response.version, + date: response.date, + errorCode: response.errorCode + }, userDelegationKey); + })); } - async createIfNotExists(options = {}) { - var _a, _b; - const {span, updatedOptions} = tracing_createSpan("ContainerClient-createIfNotExists", options); - try { - const res = await this.create(updatedOptions); - return Object.assign(Object.assign({ - succeeded: !0 - }, res), { - _response: res._response - }); - } catch (e) { - if ("ContainerAlreadyExists" === (null === (_a = e.details) || void 0 === _a ? void 0 : _a.errorCode)) return span.setStatus({ - code: SpanStatusCode.ERROR, - message: "Expected exception when creating a container only if it does not already exist." - }), Object.assign(Object.assign({ - succeeded: !1 - }, null === (_b = e.response) || void 0 === _b ? void 0 : _b.parsedHeaders), { - _response: e.response - }); - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); + getBlobBatchClient() { + return new BlobBatchClient(this.url, this.pipeline); + } + generateAccountSasUrl(expiresOn, permissions = AccountSASPermissions.parse("r"), resourceTypes = "sco", options = {}) { + if (!(this.credential instanceof StorageSharedKeyCredential)) throw RangeError("Can only generate the account SAS when the client is initialized with a shared key credential"); + if (void 0 === expiresOn) { + const now = new Date; + expiresOn = new Date(now.getTime() + 36e5); } + const sas = generateAccountSASQueryParameters(Object.assign({ + permissions, + expiresOn, + resourceTypes, + services: AccountSASServices.parse("b").toString() + }, options), this.credential).toString(); + return appendToURLQuery(this.url, sas); } - async exists(options = {}) { - const {span, updatedOptions} = tracing_createSpan("ContainerClient-exists", options); - try { - return await this.getProperties({ - abortSignal: options.abortSignal, - tracingOptions: updatedOptions.tracingOptions - }), !0; - } catch (e) { - if (404 === e.statusCode) return span.setStatus({ - code: SpanStatusCode.ERROR, - message: "Expected exception when checking container existence" - }), !1; - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); + } + !function(KnownEncryptionAlgorithmType) { + KnownEncryptionAlgorithmType.AES256 = "AES256"; + }(KnownEncryptionAlgorithmType || (KnownEncryptionAlgorithmType = {})); + }, + 4924: function(__unused_webpack_module, exports, __webpack_require__) { + "use strict"; + var __createBinding = this && this.__createBinding || (Object.create ? function(o, m, k, k2) { + void 0 === k2 && (k2 = k); + var desc = Object.getOwnPropertyDescriptor(m, k); + desc && !("get" in desc ? !m.__esModule : desc.writable || desc.configurable) || (desc = { + enumerable: !0, + get: function() { + return m[k]; + } + }), Object.defineProperty(o, k2, desc); + } : function(o, m, k, k2) { + void 0 === k2 && (k2 = k), o[k2] = m[k]; + }), __setModuleDefault = this && this.__setModuleDefault || (Object.create ? function(o, v) { + Object.defineProperty(o, "default", { + enumerable: !0, + value: v + }); + } : function(o, v) { + o.default = v; + }), __importStar = this && this.__importStar || function(mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (null != mod) for (var k in mod) "default" !== k && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k); + return __setModuleDefault(result, mod), result; + }; + Object.defineProperty(exports, "__esModule", { + value: !0 + }), exports.req = exports.json = exports.toBuffer = void 0; + const http = __importStar(__webpack_require__(8611)), https = __importStar(__webpack_require__(5692)); + async function toBuffer(stream) { + let length = 0; + const chunks = []; + for await (const chunk of stream) length += chunk.length, chunks.push(chunk); + return Buffer.concat(chunks, length); + } + exports.toBuffer = toBuffer, exports.json = async function(stream) { + const str = (await toBuffer(stream)).toString("utf8"); + try { + return JSON.parse(str); + } catch (_err) { + const err = _err; + throw err.message += ` (input: ${str})`, err; + } + }, exports.req = function(url, opts = {}) { + const req = (("string" == typeof url ? url : url.href).startsWith("https:") ? https : http).request(url, opts), promise = new Promise(((resolve, reject) => { + req.once("response", resolve).once("error", reject).end(); + })); + return req.then = promise.then.bind(promise), req; + }; + }, + 7841: function(__unused_webpack_module, exports, __webpack_require__) { + "use strict"; + var __createBinding = this && this.__createBinding || (Object.create ? function(o, m, k, k2) { + void 0 === k2 && (k2 = k); + var desc = Object.getOwnPropertyDescriptor(m, k); + desc && !("get" in desc ? !m.__esModule : desc.writable || desc.configurable) || (desc = { + enumerable: !0, + get: function() { + return m[k]; } + }), Object.defineProperty(o, k2, desc); + } : function(o, m, k, k2) { + void 0 === k2 && (k2 = k), o[k2] = m[k]; + }), __setModuleDefault = this && this.__setModuleDefault || (Object.create ? function(o, v) { + Object.defineProperty(o, "default", { + enumerable: !0, + value: v + }); + } : function(o, v) { + o.default = v; + }), __importStar = this && this.__importStar || function(mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (null != mod) for (var k in mod) "default" !== k && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k); + return __setModuleDefault(result, mod), result; + }, __exportStar = this && this.__exportStar || function(m, exports) { + for (var p in m) "default" === p || Object.prototype.hasOwnProperty.call(exports, p) || __createBinding(exports, m, p); + }; + Object.defineProperty(exports, "__esModule", { + value: !0 + }), exports.Agent = void 0; + const net = __importStar(__webpack_require__(9278)), http = __importStar(__webpack_require__(8611)), https_1 = __webpack_require__(5692); + __exportStar(__webpack_require__(4924), exports); + const INTERNAL = Symbol("AgentBaseInternalState"); + class Agent extends http.Agent { + constructor(opts) { + super(opts), this[INTERNAL] = {}; + } + isSecureEndpoint(options) { + if (options) { + if ("boolean" == typeof options.secureEndpoint) return options.secureEndpoint; + if ("string" == typeof options.protocol) return "https:" === options.protocol; + } + const {stack} = new Error; + return "string" == typeof stack && stack.split("\n").some((l => -1 !== l.indexOf("(https.js:") || -1 !== l.indexOf("node:https:"))); + } + incrementSockets(name) { + if (this.maxSockets === 1 / 0 && this.maxTotalSockets === 1 / 0) return null; + this.sockets[name] || (this.sockets[name] = []); + const fakeSocket = new net.Socket({ + writable: !1 + }); + return this.sockets[name].push(fakeSocket), this.totalSocketCount++, fakeSocket; + } + decrementSockets(name, socket) { + if (!this.sockets[name] || null === socket) return; + const sockets = this.sockets[name], index = sockets.indexOf(socket); + -1 !== index && (sockets.splice(index, 1), this.totalSocketCount--, 0 === sockets.length && delete this.sockets[name]); + } + getName(options) { + return ("boolean" == typeof options.secureEndpoint ? options.secureEndpoint : this.isSecureEndpoint(options)) ? https_1.Agent.prototype.getName.call(this, options) : super.getName(options); + } + createSocket(req, options, cb) { + const connectOpts = { + ...options, + secureEndpoint: this.isSecureEndpoint(options) + }, name = this.getName(connectOpts), fakeSocket = this.incrementSockets(name); + Promise.resolve().then((() => this.connect(req, connectOpts))).then((socket => { + if (this.decrementSockets(name, fakeSocket), socket instanceof http.Agent) return socket.addRequest(req, connectOpts); + this[INTERNAL].currentSocket = socket, super.createSocket(req, options, cb); + }), (err => { + this.decrementSockets(name, fakeSocket), cb(err); + })); } - getBlobClient(blobName) { - return new BlobClient(appendToURLPath(this.url, EscapePath(blobName)), this.pipeline); + createConnection() { + const socket = this[INTERNAL].currentSocket; + if (this[INTERNAL].currentSocket = void 0, !socket) throw new Error("No socket was returned in the `connect()` function"); + return socket; } - getAppendBlobClient(blobName) { - return new AppendBlobClient(appendToURLPath(this.url, EscapePath(blobName)), this.pipeline); + get defaultPort() { + return this[INTERNAL].defaultPort ?? ("https:" === this.protocol ? 443 : 80); } - getBlockBlobClient(blobName) { - return new BlockBlobClient(appendToURLPath(this.url, EscapePath(blobName)), this.pipeline); + set defaultPort(v) { + this[INTERNAL] && (this[INTERNAL].defaultPort = v); } - getPageBlobClient(blobName) { - return new PageBlobClient(appendToURLPath(this.url, EscapePath(blobName)), this.pipeline); + get protocol() { + return this[INTERNAL].protocol ?? (this.isSecureEndpoint() ? "https:" : "http:"); } - async getProperties(options = {}) { - options.conditions || (options.conditions = {}); - const {span, updatedOptions} = tracing_createSpan("ContainerClient-getProperties", options); - try { - return await this.containerContext.getProperties(Object.assign(Object.assign({ - abortSignal: options.abortSignal - }, options.conditions), convertTracingToRequestOptionsBase(updatedOptions))); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } + set protocol(v) { + this[INTERNAL] && (this[INTERNAL].protocol = v); } - async delete(options = {}) { - options.conditions || (options.conditions = {}); - const {span, updatedOptions} = tracing_createSpan("ContainerClient-delete", options); - try { - return await this.containerContext.delete(Object.assign({ - abortSignal: options.abortSignal, - leaseAccessConditions: options.conditions, - modifiedAccessConditions: options.conditions - }, convertTracingToRequestOptionsBase(updatedOptions))); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } + } + exports.Agent = Agent; + }, + 877: module => { + "use strict"; + function balanced(a, b, str) { + a instanceof RegExp && (a = maybeMatch(a, str)), b instanceof RegExp && (b = maybeMatch(b, str)); + var r = range(a, b, str); + return r && { + start: r[0], + end: r[1], + pre: str.slice(0, r[0]), + body: str.slice(r[0] + a.length, r[1]), + post: str.slice(r[1] + b.length) + }; + } + function maybeMatch(reg, str) { + var m = str.match(reg); + return m ? m[0] : null; + } + function range(a, b, str) { + var begs, beg, left, right, result, ai = str.indexOf(a), bi = str.indexOf(b, ai + 1), i = ai; + if (ai >= 0 && bi > 0) { + if (a === b) return [ ai, bi ]; + for (begs = [], left = str.length; i >= 0 && !result; ) i == ai ? (begs.push(i), + ai = str.indexOf(a, i + 1)) : 1 == begs.length ? result = [ begs.pop(), bi ] : ((beg = begs.pop()) < left && (left = beg, + right = bi), bi = str.indexOf(b, i + 1)), i = ai < bi && ai >= 0 ? ai : bi; + begs.length && (result = [ left, right ]); } - async deleteIfExists(options = {}) { - var _a, _b; - const {span, updatedOptions} = tracing_createSpan("ContainerClient-deleteIfExists", options); - try { - const res = await this.delete(updatedOptions); - return Object.assign(Object.assign({ - succeeded: !0 - }, res), { - _response: res._response - }); - } catch (e) { - if ("ContainerNotFound" === (null === (_a = e.details) || void 0 === _a ? void 0 : _a.errorCode)) return span.setStatus({ - code: SpanStatusCode.ERROR, - message: "Expected exception when deleting a container only if it exists." - }), Object.assign(Object.assign({ - succeeded: !1 - }, null === (_b = e.response) || void 0 === _b ? void 0 : _b.parsedHeaders), { - _response: e.response - }); - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } + return result; + } + module.exports = balanced, balanced.range = range; + }, + 2190: module => { + module.exports = function(xs, fn) { + for (var res = [], i = 0; i < xs.length; i++) { + var x = fn(xs[i], i); + isArray(x) ? res.push.apply(res, x) : res.push(x); } - async setMetadata(metadata, options = {}) { - if (options.conditions || (options.conditions = {}), options.conditions.ifUnmodifiedSince) throw new RangeError("the IfUnmodifiedSince must have their default values because they are ignored by the blob service"); - const {span, updatedOptions} = tracing_createSpan("ContainerClient-setMetadata", options); - try { - return await this.containerContext.setMetadata(Object.assign({ - abortSignal: options.abortSignal, - leaseAccessConditions: options.conditions, - metadata, - modifiedAccessConditions: options.conditions - }, convertTracingToRequestOptionsBase(updatedOptions))); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); + return res; + }; + var isArray = Array.isArray || function(xs) { + return "[object Array]" === Object.prototype.toString.call(xs); + }; + }, + 1562: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const validator = __webpack_require__(8242), XMLParser = __webpack_require__(1791), XMLBuilder = __webpack_require__(3164); + module.exports = { + XMLParser, + XMLValidator: validator, + XMLBuilder + }; + }, + 4242: (__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", nameRegexp = "[" + nameStartChar + "][" + (nameStartChar + "\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040") + "]*", regexName = new RegExp("^" + nameRegexp + "$"); + exports.isExist = function(v) { + return void 0 !== v; + }, exports.isEmptyObject = function(obj) { + return 0 === Object.keys(obj).length; + }, exports.merge = function(target, a, arrayMode) { + if (a) { + const keys = Object.keys(a), len = keys.length; + for (let i = 0; i < len; i++) target[keys[i]] = "strict" === arrayMode ? [ a[keys[i]] ] : a[keys[i]]; + } + }, exports.getValue = function(v) { + return exports.isExist(v) ? v : ""; + }, exports.isName = function(string) { + const match = regexName.exec(string); + return !(null == match); + }, exports.getAllMatches = function(string, regex) { + const matches = []; + let match = regex.exec(string); + for (;match; ) { + const allmatches = []; + allmatches.startIndex = regex.lastIndex - match[0].length; + const len = match.length; + for (let index = 0; index < len; index++) allmatches.push(match[index]); + matches.push(allmatches), match = regex.exec(string); + } + return matches; + }, exports.nameRegexp = nameRegexp; + }, + 8242: (__unused_webpack_module, exports, __webpack_require__) => { + "use strict"; + const util = __webpack_require__(4242), defaultOptions = { + allowBooleanAttributes: !1, + unpairedTags: [] + }; + function isWhiteSpace(char) { + return " " === char || "\t" === char || "\n" === char || "\r" === char; + } + function readPI(xmlData, i) { + const start = i; + for (;i < xmlData.length; i++) if ("?" != xmlData[i] && " " != xmlData[i]) ; else { + const tagname = xmlData.substr(start, i - start); + if (i > 5 && "xml" === tagname) return getErrorObject("InvalidXml", "XML declaration allowed only at the start of the document.", getLineNumberForPosition(xmlData, i)); + if ("?" == xmlData[i] && ">" == xmlData[i + 1]) { + i++; + break; } } - async getAccessPolicy(options = {}) { - options.conditions || (options.conditions = {}); - const {span, updatedOptions} = tracing_createSpan("ContainerClient-getAccessPolicy", options); - try { - const response = await this.containerContext.getAccessPolicy(Object.assign({ - abortSignal: options.abortSignal, - leaseAccessConditions: options.conditions - }, convertTracingToRequestOptionsBase(updatedOptions))), res = { - _response: response._response, - blobPublicAccess: response.blobPublicAccess, - date: response.date, - etag: response.etag, - errorCode: response.errorCode, - lastModified: response.lastModified, - requestId: response.requestId, - clientRequestId: response.clientRequestId, - signedIdentifiers: [], - version: response.version - }; - for (const identifier of response) { - let accessPolicy; - identifier.accessPolicy && (accessPolicy = { - permissions: identifier.accessPolicy.permissions - }, identifier.accessPolicy.expiresOn && (accessPolicy.expiresOn = new Date(identifier.accessPolicy.expiresOn)), - identifier.accessPolicy.startsOn && (accessPolicy.startsOn = new Date(identifier.accessPolicy.startsOn))), - res.signedIdentifiers.push({ - accessPolicy, - id: identifier.id - }); - } - return res; - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); + return i; + } + function readCommentAndCDATA(xmlData, i) { + if (xmlData.length > i + 5 && "-" === xmlData[i + 1] && "-" === xmlData[i + 2]) { + 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 && "D" === xmlData[i + 1] && "O" === xmlData[i + 2] && "C" === xmlData[i + 3] && "T" === xmlData[i + 4] && "Y" === xmlData[i + 5] && "P" === xmlData[i + 6] && "E" === xmlData[i + 7]) { + let angleBracketsCount = 1; + for (i += 8; i < xmlData.length; i++) if ("<" === xmlData[i]) angleBracketsCount++; else if (">" === xmlData[i] && (angleBracketsCount--, + 0 === angleBracketsCount)) break; + } else if (xmlData.length > i + 9 && "[" === xmlData[i + 1] && "C" === xmlData[i + 2] && "D" === xmlData[i + 3] && "A" === xmlData[i + 4] && "T" === xmlData[i + 5] && "A" === xmlData[i + 6] && "[" === xmlData[i + 7]) for (i += 8; i < xmlData.length; i++) if ("]" === xmlData[i] && "]" === xmlData[i + 1] && ">" === xmlData[i + 2]) { + i += 2; + break; } - async setAccessPolicy(access, containerAcl, options = {}) { - options.conditions = options.conditions || {}; - const {span, updatedOptions} = tracing_createSpan("ContainerClient-setAccessPolicy", options); - try { - const acl = []; - for (const identifier of containerAcl || []) acl.push({ - accessPolicy: { - expiresOn: identifier.accessPolicy.expiresOn ? truncatedISO8061Date(identifier.accessPolicy.expiresOn) : "", - permissions: identifier.accessPolicy.permissions, - startsOn: identifier.accessPolicy.startsOn ? truncatedISO8061Date(identifier.accessPolicy.startsOn) : "" - }, - id: identifier.id - }); - return await this.containerContext.setAccessPolicy(Object.assign({ - abortSignal: options.abortSignal, - access, - containerAcl: acl, - leaseAccessConditions: options.conditions, - modifiedAccessConditions: options.conditions - }, convertTracingToRequestOptionsBase(updatedOptions))); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); + return i; + } + exports.validate = function(xmlData, options) { + options = Object.assign({}, defaultOptions, options); + const tags = []; + let tagFound = !1, reachedRoot = !1; + "\ufeff" === xmlData[0] && (xmlData = xmlData.substr(1)); + for (let i = 0; i < xmlData.length; i++) if ("<" === xmlData[i] && "?" === xmlData[i + 1]) { + if (i += 2, i = readPI(xmlData, i), i.err) return i; + } else { + if ("<" !== xmlData[i]) { + if (isWhiteSpace(xmlData[i])) continue; + return getErrorObject("InvalidChar", "char '" + xmlData[i] + "' is not expected.", getLineNumberForPosition(xmlData, i)); + } + { + let tagStartPos = i; + if (i++, "!" === xmlData[i]) { + i = readCommentAndCDATA(xmlData, i); + continue; + } + { + let closingTag = !1; + "/" === xmlData[i] && (closingTag = !0, i++); + let tagName = ""; + for (;i < xmlData.length && ">" !== xmlData[i] && " " !== xmlData[i] && "\t" !== xmlData[i] && "\n" !== xmlData[i] && "\r" !== xmlData[i]; i++) tagName += xmlData[i]; + if (tagName = tagName.trim(), "/" === tagName[tagName.length - 1] && (tagName = tagName.substring(0, tagName.length - 1), + i--), tagname = tagName, !util.isName(tagname)) { + let msg; + return msg = 0 === tagName.trim().length ? "Invalid space after '<'." : "Tag '" + tagName + "' is an invalid name.", + getErrorObject("InvalidTag", msg, getLineNumberForPosition(xmlData, i)); + } + const result = readAttributeStr(xmlData, i); + if (!1 === result) return getErrorObject("InvalidAttr", "Attributes for '" + tagName + "' have open quote.", getLineNumberForPosition(xmlData, i)); + let attrStr = result.value; + if (i = result.index, "/" === attrStr[attrStr.length - 1]) { + const attrStrStart = i - attrStr.length; + attrStr = attrStr.substring(0, attrStr.length - 1); + const isValid = validateAttributeString(attrStr, options); + if (!0 !== isValid) return getErrorObject(isValid.err.code, isValid.err.msg, getLineNumberForPosition(xmlData, attrStrStart + isValid.err.line)); + tagFound = !0; + } else if (closingTag) { + if (!result.tagClosed) return getErrorObject("InvalidTag", "Closing tag '" + tagName + "' doesn't have proper closing.", getLineNumberForPosition(xmlData, i)); + if (attrStr.trim().length > 0) return getErrorObject("InvalidTag", "Closing tag '" + tagName + "' can't have attributes or invalid starting.", getLineNumberForPosition(xmlData, tagStartPos)); + if (0 === tags.length) return getErrorObject("InvalidTag", "Closing tag '" + tagName + "' has not been opened.", getLineNumberForPosition(xmlData, tagStartPos)); + { + const otg = tags.pop(); + if (tagName !== otg.tagName) { + let openPos = getLineNumberForPosition(xmlData, otg.tagStartPos); + return getErrorObject("InvalidTag", "Expected closing tag '" + otg.tagName + "' (opened in line " + openPos.line + ", col " + openPos.col + ") instead of closing tag '" + tagName + "'.", getLineNumberForPosition(xmlData, tagStartPos)); + } + 0 == tags.length && (reachedRoot = !0); + } + } else { + const isValid = validateAttributeString(attrStr, options); + if (!0 !== isValid) return getErrorObject(isValid.err.code, isValid.err.msg, getLineNumberForPosition(xmlData, i - attrStr.length + isValid.err.line)); + if (!0 === reachedRoot) return getErrorObject("InvalidXml", "Multiple possible root nodes found.", getLineNumberForPosition(xmlData, i)); + -1 !== options.unpairedTags.indexOf(tagName) || tags.push({ + tagName, + tagStartPos + }), tagFound = !0; + } + for (i++; i < xmlData.length; i++) if ("<" === xmlData[i]) { + if ("!" === xmlData[i + 1]) { + i++, i = readCommentAndCDATA(xmlData, i); + continue; + } + if ("?" !== xmlData[i + 1]) break; + if (i = readPI(xmlData, ++i), i.err) return i; + } else if ("&" === xmlData[i]) { + const afterAmp = validateAmpersand(xmlData, i); + if (-1 == afterAmp) return getErrorObject("InvalidChar", "char '&' is not expected.", getLineNumberForPosition(xmlData, i)); + i = afterAmp; + } else if (!0 === reachedRoot && !isWhiteSpace(xmlData[i])) return getErrorObject("InvalidXml", "Extra text at the end", getLineNumberForPosition(xmlData, i)); + "<" === xmlData[i] && i--; + } + } + } + var tagname; + return tagFound ? 1 == tags.length ? getErrorObject("InvalidTag", "Unclosed tag '" + tags[0].tagName + "'.", getLineNumberForPosition(xmlData, tags[0].tagStartPos)) : !(tags.length > 0) || getErrorObject("InvalidXml", "Invalid '" + JSON.stringify(tags.map((t => t.tagName)), null, 4).replace(/\r?\n/g, "") + "' found.", { + line: 1, + col: 1 + }) : getErrorObject("InvalidXml", "Start tag expected.", 1); + }; + const doubleQuote = '"', singleQuote = "'"; + function readAttributeStr(xmlData, i) { + let attrStr = "", startChar = "", tagClosed = !1; + for (;i < xmlData.length; i++) { + if (xmlData[i] === doubleQuote || xmlData[i] === singleQuote) "" === startChar ? startChar = xmlData[i] : startChar !== xmlData[i] || (startChar = ""); else if (">" === xmlData[i] && "" === startChar) { + tagClosed = !0; + break; } + attrStr += xmlData[i]; } - getBlobLeaseClient(proposeLeaseId) { - return new BlobLeaseClient(this, proposeLeaseId); + return "" === startChar && { + value: attrStr, + index: i, + tagClosed + }; + } + const validAttrStrRegxp = new RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?", "g"); + function validateAttributeString(attrStr, options) { + const matches = util.getAllMatches(attrStr, validAttrStrRegxp), attrNames = {}; + for (let i = 0; i < matches.length; i++) { + if (0 === matches[i][1].length) return getErrorObject("InvalidAttr", "Attribute '" + matches[i][2] + "' has no space in starting.", getPositionFromMatch(matches[i])); + if (void 0 !== matches[i][3] && void 0 === matches[i][4]) return getErrorObject("InvalidAttr", "Attribute '" + matches[i][2] + "' is without value.", getPositionFromMatch(matches[i])); + if (void 0 === matches[i][3] && !options.allowBooleanAttributes) return getErrorObject("InvalidAttr", "boolean attribute '" + matches[i][2] + "' is not allowed.", getPositionFromMatch(matches[i])); + const attrName = matches[i][2]; + if (!validateAttrName(attrName)) return getErrorObject("InvalidAttr", "Attribute '" + attrName + "' is an invalid name.", getPositionFromMatch(matches[i])); + if (attrNames.hasOwnProperty(attrName)) return getErrorObject("InvalidAttr", "Attribute '" + attrName + "' is repeated.", getPositionFromMatch(matches[i])); + attrNames[attrName] = 1; } - async uploadBlockBlob(blobName, body, contentLength, options = {}) { - const {span, updatedOptions} = tracing_createSpan("ContainerClient-uploadBlockBlob", options); - try { - const blockBlobClient = this.getBlockBlobClient(blobName), response = await blockBlobClient.upload(body, contentLength, updatedOptions); - return { - blockBlobClient, - response - }; - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); + return !0; + } + function validateAmpersand(xmlData, i) { + if (";" === xmlData[++i]) return -1; + if ("#" === xmlData[i]) return function(xmlData, i) { + let re = /\d/; + for ("x" === xmlData[i] && (i++, re = /[\da-fA-F]/); i < xmlData.length; i++) { + if (";" === xmlData[i]) return i; + if (!xmlData[i].match(re)) break; } + return -1; + }(xmlData, ++i); + let count = 0; + for (;i < xmlData.length; i++, count++) if (!(xmlData[i].match(/\w/) && count < 20)) { + if (";" === xmlData[i]) break; + return -1; } - async deleteBlob(blobName, options = {}) { - const {span, updatedOptions} = tracing_createSpan("ContainerClient-deleteBlob", options); - try { - let blobClient = this.getBlobClient(blobName); - return options.versionId && (blobClient = blobClient.withVersion(options.versionId)), - await blobClient.delete(updatedOptions); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); + return i; + } + function getErrorObject(code, message, lineNumber) { + return { + err: { + code, + msg: message, + line: lineNumber.line || lineNumber, + col: lineNumber.col } + }; + } + function validateAttrName(attrName) { + return util.isName(attrName); + } + function getLineNumberForPosition(xmlData, index) { + const lines = xmlData.substring(0, index).split(/\r?\n/); + return { + line: lines.length, + col: lines[lines.length - 1].length + 1 + }; + } + function getPositionFromMatch(match) { + return match.startIndex + match[1].length; + } + }, + 3164: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const buildFromOrderedJs = __webpack_require__(2632), defaultOptions = { + attributeNamePrefix: "@_", + attributesGroupName: !1, + textNodeName: "#text", + ignoreAttributes: !0, + cdataPropName: !1, + format: !1, + indentBy: " ", + suppressEmptyNode: !1, + suppressUnpairedNode: !0, + suppressBooleanAttributes: !0, + tagValueProcessor: function(key, a) { + return a; + }, + attributeValueProcessor: function(attrName, a) { + return a; + }, + preserveOrder: !1, + commentPropName: !1, + unpairedTags: [], + entities: [ { + regex: new RegExp("&", "g"), + val: "&" + }, { + regex: new RegExp(">", "g"), + val: ">" + }, { + regex: new RegExp("<", "g"), + val: "<" + }, { + regex: new RegExp("'", "g"), + val: "'" + }, { + regex: new RegExp('"', "g"), + val: """ + } ], + processEntities: !0, + stopNodes: [], + oneListGroup: !1 + }; + function Builder(options) { + this.options = Object.assign({}, defaultOptions, options), this.options.ignoreAttributes || this.options.attributesGroupName ? this.isAttribute = function() { + return !1; + } : (this.attrPrefixLen = this.options.attributeNamePrefix.length, this.isAttribute = isAttribute), + this.processTextOrObjNode = processTextOrObjNode, this.options.format ? (this.indentate = indentate, + this.tagEndChar = ">\n", this.newLine = "\n") : (this.indentate = function() { + return ""; + }, this.tagEndChar = ">", this.newLine = ""); + } + function processTextOrObjNode(object, key, level) { + const result = this.j2x(object, level + 1); + return void 0 !== object[this.options.textNodeName] && 1 === Object.keys(object).length ? this.buildTextValNode(object[this.options.textNodeName], key, result.attrStr, level) : this.buildObjectNode(result.val, key, result.attrStr, level); + } + function indentate(level) { + return this.options.indentBy.repeat(level); + } + function isAttribute(name) { + return !(!name.startsWith(this.options.attributeNamePrefix) || name === this.options.textNodeName) && name.substr(this.attrPrefixLen); + } + Builder.prototype.build = function(jObj) { + return this.options.preserveOrder ? buildFromOrderedJs(jObj, this.options) : (Array.isArray(jObj) && this.options.arrayNodeName && this.options.arrayNodeName.length > 1 && (jObj = { + [this.options.arrayNodeName]: jObj + }), this.j2x(jObj, 0).val); + }, Builder.prototype.j2x = function(jObj, level) { + let attrStr = "", val = ""; + for (let key in jObj) if (Object.prototype.hasOwnProperty.call(jObj, key)) if (void 0 === jObj[key]) this.isAttribute(key) && (val += ""); else if (null === jObj[key]) this.isAttribute(key) ? val += "" : "?" === key[0] ? val += this.indentate(level) + "<" + key + "?" + this.tagEndChar : val += this.indentate(level) + "<" + key + "/" + this.tagEndChar; else if (jObj[key] instanceof Date) val += this.buildTextValNode(jObj[key], key, "", level); else if ("object" != typeof jObj[key]) { + const attr = this.isAttribute(key); + if (attr) attrStr += this.buildAttrPairStr(attr, "" + jObj[key]); else if (key === this.options.textNodeName) { + let newval = this.options.tagValueProcessor(key, "" + jObj[key]); + val += this.replaceEntitiesValue(newval); + } else val += this.buildTextValNode(jObj[key], key, "", level); + } else if (Array.isArray(jObj[key])) { + const arrLen = jObj[key].length; + let listTagVal = ""; + for (let j = 0; j < arrLen; j++) { + const item = jObj[key][j]; + void 0 === item || (null === item ? "?" === key[0] ? val += this.indentate(level) + "<" + key + "?" + this.tagEndChar : val += this.indentate(level) + "<" + key + "/" + this.tagEndChar : "object" == typeof item ? this.options.oneListGroup ? listTagVal += this.j2x(item, level + 1).val : listTagVal += this.processTextOrObjNode(item, key, level) : listTagVal += this.buildTextValNode(item, key, "", level)); + } + this.options.oneListGroup && (listTagVal = this.buildObjectNode(listTagVal, key, "", level)), + val += listTagVal; + } else if (this.options.attributesGroupName && key === this.options.attributesGroupName) { + const Ks = Object.keys(jObj[key]), L = Ks.length; + for (let j = 0; j < L; j++) attrStr += this.buildAttrPairStr(Ks[j], "" + jObj[key][Ks[j]]); + } else val += this.processTextOrObjNode(jObj[key], key, level); + return { + attrStr, + val + }; + }, Builder.prototype.buildAttrPairStr = function(attrName, val) { + return val = this.options.attributeValueProcessor(attrName, "" + val), val = this.replaceEntitiesValue(val), + this.options.suppressBooleanAttributes && "true" === val ? " " + attrName : " " + attrName + '="' + val + '"'; + }, Builder.prototype.buildObjectNode = function(val, key, attrStr, level) { + if ("" === val) return "?" === key[0] ? this.indentate(level) + "<" + key + attrStr + "?" + this.tagEndChar : this.indentate(level) + "<" + key + attrStr + this.closeTag(key) + this.tagEndChar; + { + let tagEndExp = "" + val + tagEndExp; + } + }, Builder.prototype.closeTag = function(key) { + let closeTag = ""; + return -1 !== this.options.unpairedTags.indexOf(key) ? this.options.suppressUnpairedNode || (closeTag = "/") : closeTag = this.options.suppressEmptyNode ? "/" : `>` + this.newLine; + if (!1 !== this.options.commentPropName && key === this.options.commentPropName) return this.indentate(level) + `\x3c!--${val}--\x3e` + this.newLine; + if ("?" === key[0]) return this.indentate(level) + "<" + key + attrStr + "?" + this.tagEndChar; + { + let textValue = this.options.tagValueProcessor(key, val); + return textValue = this.replaceEntitiesValue(textValue), "" === textValue ? this.indentate(level) + "<" + key + attrStr + this.closeTag(key) + this.tagEndChar : this.indentate(level) + "<" + key + attrStr + ">" + textValue + " Object.assign(Object.assign({}, blobItemInteral), { - name: BlobNameToString(blobItemInteral.name) - }))) - } - })) - }), - segment: Object.assign(Object.assign({}, response.segment), { - blobItems: response.segment.blobItems.map((blobItemInteral => Object.assign(Object.assign({}, blobItemInteral), { - name: BlobNameToString(blobItemInteral.name), - tags: toTags(blobItemInteral.blobTags), - objectReplicationSourceProperties: parseObjectReplicationRecord(blobItemInteral.objectReplicationMetadata) - }))) - }) - }); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } - var internalResponse; + }, Builder.prototype.replaceEntitiesValue = function(textValue) { + if (textValue && textValue.length > 0 && this.options.processEntities) for (let i = 0; i < this.options.entities.length; i++) { + const entity = this.options.entities[i]; + textValue = textValue.replace(entity.regex, entity.val); } - async listBlobHierarchySegment(delimiter, marker, options = {}) { - var _a; - const {span, updatedOptions} = tracing_createSpan("ContainerClient-listBlobHierarchySegment", options); - try { - const response = await this.containerContext.listBlobHierarchySegment(delimiter, Object.assign(Object.assign({ - marker - }, options), convertTracingToRequestOptionsBase(updatedOptions))); - response.segment.blobItems = [], void 0 !== response.segment.Blob && (response.segment.blobItems = ProcessBlobItems(response.segment.Blob)), - response.segment.blobPrefixes = [], void 0 !== response.segment.BlobPrefix && (response.segment.blobPrefixes = function(blobPrefixesInXML) { - const blobPrefixes = []; - return blobPrefixesInXML instanceof Array ? blobPrefixesInXML.forEach((blobPrefixInXML => { - blobPrefixes.push(ParseBlobPrefix(blobPrefixInXML)); - })) : blobPrefixes.push(ParseBlobPrefix(blobPrefixesInXML)), blobPrefixes; - }(response.segment.BlobPrefix)); - return Object.assign(Object.assign({}, response), { - _response: Object.assign(Object.assign({}, response._response), { - parsedBody: ConvertInternalResponseOfListBlobHierarchy(response._response.parsedBody) - }), - segment: Object.assign(Object.assign({}, response.segment), { - blobItems: response.segment.blobItems.map((blobItemInteral => Object.assign(Object.assign({}, blobItemInteral), { - name: BlobNameToString(blobItemInteral.name), - tags: toTags(blobItemInteral.blobTags), - objectReplicationSourceProperties: parseObjectReplicationRecord(blobItemInteral.objectReplicationMetadata) - }))), - blobPrefixes: null === (_a = response.segment.blobPrefixes) || void 0 === _a ? void 0 : _a.map((blobPrefixInternal => ({ - name: BlobNameToString(blobPrefixInternal.name) - }))) - }) - }); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); + return textValue; + }, module.exports = Builder; + }, + 2632: module => { + function arrToStr(arr, options, jPath, indentation) { + let xmlStr = "", isPreviousElementTag = !1; + for (let i = 0; i < arr.length; i++) { + const tagObj = arr[i], tagName = propName(tagObj); + if (void 0 === tagName) continue; + let newJPath = ""; + if (newJPath = 0 === jPath.length ? tagName : `${jPath}.${tagName}`, tagName === options.textNodeName) { + let tagText = tagObj[tagName]; + isStopNode(newJPath, options) || (tagText = options.tagValueProcessor(tagName, tagText), + tagText = replaceEntitiesValue(tagText, options)), isPreviousElementTag && (xmlStr += indentation), + xmlStr += tagText, isPreviousElementTag = !1; + continue; + } + if (tagName === options.cdataPropName) { + isPreviousElementTag && (xmlStr += indentation), xmlStr += ``, + isPreviousElementTag = !1; + continue; + } + if (tagName === options.commentPropName) { + xmlStr += indentation + `\x3c!--${tagObj[tagName][0][options.textNodeName]}--\x3e`, + isPreviousElementTag = !0; + continue; + } + if ("?" === tagName[0]) { + const attStr = attr_to_str(tagObj[":@"], options), tempInd = "?xml" === tagName ? "" : indentation; + let piTextNodeName = tagObj[tagName][0][options.textNodeName]; + piTextNodeName = 0 !== piTextNodeName.length ? " " + piTextNodeName : "", xmlStr += tempInd + `<${tagName}${piTextNodeName}${attStr}?>`, + isPreviousElementTag = !0; + continue; } + let newIdentation = indentation; + "" !== newIdentation && (newIdentation += options.indentBy); + const tagStart = indentation + `<${tagName}${attr_to_str(tagObj[":@"], options)}`, tagValue = arrToStr(tagObj[tagName], options, newJPath, newIdentation); + -1 !== options.unpairedTags.indexOf(tagName) ? options.suppressUnpairedNode ? xmlStr += tagStart + ">" : xmlStr += tagStart + "/>" : tagValue && 0 !== tagValue.length || !options.suppressEmptyNode ? tagValue && tagValue.endsWith(">") ? xmlStr += tagStart + `>${tagValue}${indentation}` : (xmlStr += tagStart + ">", + tagValue && "" !== indentation && (tagValue.includes("/>") || tagValue.includes("`) : xmlStr += tagStart + "/>", isPreviousElementTag = !0; } - listSegments(marker, options = {}) { - return tslib_es6_asyncGenerator(this, arguments, (function*() { - let listBlobsFlatSegmentResponse; - if (marker || void 0 === marker) do { - listBlobsFlatSegmentResponse = yield tslib_es6_await(this.listBlobFlatSegment(marker, options)), - marker = listBlobsFlatSegmentResponse.continuationToken, yield yield tslib_es6_await(yield tslib_es6_await(listBlobsFlatSegmentResponse)); - } while (marker); - })); + return xmlStr; + } + function propName(obj) { + const keys = Object.keys(obj); + for (let i = 0; i < keys.length; i++) { + const key = keys[i]; + if (obj.hasOwnProperty(key) && ":@" !== key) return key; + } + } + function attr_to_str(attrMap, options) { + let attrStr = ""; + if (attrMap && !options.ignoreAttributes) for (let attr in attrMap) { + if (!attrMap.hasOwnProperty(attr)) continue; + let attrVal = options.attributeValueProcessor(attr, attrMap[attr]); + attrVal = replaceEntitiesValue(attrVal, options), !0 === attrVal && options.suppressBooleanAttributes ? attrStr += ` ${attr.substr(options.attributeNamePrefix.length)}` : attrStr += ` ${attr.substr(options.attributeNamePrefix.length)}="${attrVal}"`; + } + return attrStr; + } + function isStopNode(jPath, options) { + let tagName = (jPath = jPath.substr(0, jPath.length - options.textNodeName.length - 1)).substr(jPath.lastIndexOf(".") + 1); + for (let index in options.stopNodes) if (options.stopNodes[index] === jPath || options.stopNodes[index] === "*." + tagName) return !0; + return !1; + } + function replaceEntitiesValue(textValue, options) { + if (textValue && textValue.length > 0 && options.processEntities) for (let i = 0; i < options.entities.length; i++) { + const entity = options.entities[i]; + textValue = textValue.replace(entity.regex, entity.val); } - listItems(options = {}) { - return tslib_es6_asyncGenerator(this, arguments, (function*() { - var e_1, _a; - try { - for (var _c, _b = tslib_es6_asyncValues(this.listSegments(undefined, options)); !(_c = yield tslib_es6_await(_b.next())).done; ) { - const listBlobsFlatSegmentResponse = _c.value; - yield tslib_es6_await(yield* tslib_es6_asyncDelegator(tslib_es6_asyncValues(listBlobsFlatSegmentResponse.segment.blobItems))); - } - } catch (e_1_1) { - e_1 = { - error: e_1_1 - }; - } finally { - try { - _c && !_c.done && (_a = _b.return) && (yield tslib_es6_await(_a.call(_b))); - } finally { - if (e_1) throw e_1.error; - } - } - })); + return textValue; + } + module.exports = function(jArray, options) { + let indentation = ""; + return options.format && options.indentBy.length > 0 && (indentation = "\n"), arrToStr(jArray, options, "", indentation); + }; + }, + 2764: (module, __unused_webpack_exports, __webpack_require__) => { + const util = __webpack_require__(4242); + function readEntityExp(xmlData, i) { + let entityName = ""; + for (;i < xmlData.length && "'" !== xmlData[i] && '"' !== xmlData[i]; i++) entityName += xmlData[i]; + if (entityName = entityName.trim(), -1 !== entityName.indexOf(" ")) throw new Error("External entites are not supported"); + const startChar = xmlData[i++]; + let val = ""; + for (;i < xmlData.length && xmlData[i] !== startChar; i++) val += xmlData[i]; + return [ entityName, val, i ]; + } + function isComment(xmlData, i) { + return "!" === xmlData[i + 1] && "-" === xmlData[i + 2] && "-" === xmlData[i + 3]; + } + function isEntity(xmlData, i) { + return "!" === xmlData[i + 1] && "E" === xmlData[i + 2] && "N" === xmlData[i + 3] && "T" === xmlData[i + 4] && "I" === xmlData[i + 5] && "T" === xmlData[i + 6] && "Y" === xmlData[i + 7]; + } + function isElement(xmlData, i) { + return "!" === xmlData[i + 1] && "E" === xmlData[i + 2] && "L" === xmlData[i + 3] && "E" === xmlData[i + 4] && "M" === xmlData[i + 5] && "E" === xmlData[i + 6] && "N" === xmlData[i + 7] && "T" === xmlData[i + 8]; + } + function isAttlist(xmlData, i) { + return "!" === xmlData[i + 1] && "A" === xmlData[i + 2] && "T" === xmlData[i + 3] && "T" === xmlData[i + 4] && "L" === xmlData[i + 5] && "I" === xmlData[i + 6] && "S" === xmlData[i + 7] && "T" === xmlData[i + 8]; + } + function isNotation(xmlData, i) { + return "!" === xmlData[i + 1] && "N" === xmlData[i + 2] && "O" === xmlData[i + 3] && "T" === xmlData[i + 4] && "A" === xmlData[i + 5] && "T" === xmlData[i + 6] && "I" === xmlData[i + 7] && "O" === xmlData[i + 8] && "N" === xmlData[i + 9]; + } + function validateEntityName(name) { + if (util.isName(name)) return name; + throw new Error(`Invalid entity name ${name}`); + } + module.exports = function(xmlData, i) { + const entities = {}; + if ("O" !== xmlData[i + 3] || "C" !== xmlData[i + 4] || "T" !== xmlData[i + 5] || "Y" !== xmlData[i + 6] || "P" !== xmlData[i + 7] || "E" !== xmlData[i + 8]) throw new Error("Invalid Tag instead of DOCTYPE"); + { + i += 9; + let angleBracketsCount = 1, hasBody = !1, comment = !1, exp = ""; + for (;i < xmlData.length; i++) if ("<" !== xmlData[i] || comment) if (">" === xmlData[i]) { + if (comment ? "-" === xmlData[i - 1] && "-" === xmlData[i - 2] && (comment = !1, + angleBracketsCount--) : angleBracketsCount--, 0 === angleBracketsCount) break; + } else "[" === xmlData[i] ? hasBody = !0 : exp += xmlData[i]; else { + if (hasBody && isEntity(xmlData, i)) i += 7, [entityName, val, i] = readEntityExp(xmlData, i + 1), + -1 === val.indexOf("&") && (entities[validateEntityName(entityName)] = { + regx: RegExp(`&${entityName};`, "g"), + val + }); else if (hasBody && isElement(xmlData, i)) i += 8; else if (hasBody && isAttlist(xmlData, i)) i += 8; else if (hasBody && isNotation(xmlData, i)) i += 9; else { + if (!isComment) throw new Error("Invalid DOCTYPE"); + comment = !0; + } + angleBracketsCount++, exp = ""; + } + if (0 !== angleBracketsCount) throw new Error("Unclosed DOCTYPE"); } - listBlobsFlat(options = {}) { - const include = []; - options.includeCopy && include.push("copy"), options.includeDeleted && include.push("deleted"), - options.includeMetadata && include.push("metadata"), options.includeSnapshots && include.push("snapshots"), - options.includeVersions && include.push("versions"), options.includeUncommitedBlobs && include.push("uncommittedblobs"), - options.includeTags && include.push("tags"), options.includeDeletedWithVersions && include.push("deletedwithversions"), - options.includeImmutabilityPolicy && include.push("immutabilitypolicy"), options.includeLegalHold && include.push("legalhold"), - "" === options.prefix && (options.prefix = void 0); - const updatedOptions = Object.assign(Object.assign({}, options), include.length > 0 ? { - include - } : {}), iter = this.listItems(updatedOptions); - return { - next: () => iter.next(), - [Symbol.asyncIterator]() { - return this; - }, - byPage: (settings = {}) => this.listSegments(settings.continuationToken, Object.assign({ - maxPageSize: settings.maxPageSize - }, updatedOptions)) - }; + return { + entities, + i + }; + }; + }, + 1344: (__unused_webpack_module, exports) => { + const defaultOptions = { + preserveOrder: !1, + attributeNamePrefix: "@_", + attributesGroupName: !1, + textNodeName: "#text", + ignoreAttributes: !0, + removeNSPrefix: !1, + allowBooleanAttributes: !1, + parseTagValue: !0, + parseAttributeValue: !1, + trimValues: !0, + cdataPropName: !1, + numberParseOptions: { + hex: !0, + leadingZeros: !0, + eNotation: !0 + }, + tagValueProcessor: function(tagName, val) { + return val; + }, + attributeValueProcessor: function(attrName, val) { + return val; + }, + stopNodes: [], + alwaysCreateTextNode: !1, + isArray: () => !1, + commentPropName: !1, + unpairedTags: [], + processEntities: !0, + htmlEntities: !1, + ignoreDeclaration: !1, + ignorePiTags: !1, + transformTagName: !1, + transformAttributeName: !1, + updateTag: function(tagName, jPath, attrs) { + return tagName; } - listHierarchySegments(delimiter, marker, options = {}) { - return tslib_es6_asyncGenerator(this, arguments, (function*() { - let listBlobsHierarchySegmentResponse; - if (marker || void 0 === marker) do { - listBlobsHierarchySegmentResponse = yield tslib_es6_await(this.listBlobHierarchySegment(delimiter, marker, options)), - marker = listBlobsHierarchySegmentResponse.continuationToken, yield yield tslib_es6_await(yield tslib_es6_await(listBlobsHierarchySegmentResponse)); - } while (marker); - })); + }; + exports.buildOptions = function(options) { + return Object.assign({}, defaultOptions, options); + }, exports.defaultOptions = defaultOptions; + }, + 156: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const util = __webpack_require__(4242), xmlNode = __webpack_require__(4004), readDocType = __webpack_require__(2764), toNumber = __webpack_require__(7211); + function addExternalEntities(externalEntities) { + const entKeys = Object.keys(externalEntities); + for (let i = 0; i < entKeys.length; i++) { + const ent = entKeys[i]; + this.lastEntities[ent] = { + regex: new RegExp("&" + ent + ";", "g"), + val: externalEntities[ent] + }; } - listItemsByHierarchy(delimiter, options = {}) { - return tslib_es6_asyncGenerator(this, arguments, (function*() { - var e_2, _a; - try { - for (var _c, _b = tslib_es6_asyncValues(this.listHierarchySegments(delimiter, undefined, options)); !(_c = yield tslib_es6_await(_b.next())).done; ) { - const segment = _c.value.segment; - if (segment.blobPrefixes) for (const prefix of segment.blobPrefixes) yield yield tslib_es6_await(Object.assign({ - kind: "prefix" - }, prefix)); - for (const blob of segment.blobItems) yield yield tslib_es6_await(Object.assign({ - kind: "blob" - }, blob)); - } - } catch (e_2_1) { - e_2 = { - error: e_2_1 - }; - } finally { - try { - _c && !_c.done && (_a = _b.return) && (yield tslib_es6_await(_a.call(_b))); - } finally { - if (e_2) throw e_2.error; + } + function parseTextData(val, tagName, jPath, dontTrim, hasAttributes, isLeafNode, escapeEntities) { + if (void 0 !== val && (this.options.trimValues && !dontTrim && (val = val.trim()), + val.length > 0)) { + escapeEntities || (val = this.replaceEntitiesValue(val)); + const newval = this.options.tagValueProcessor(tagName, val, jPath, hasAttributes, isLeafNode); + if (null == newval) return val; + if (typeof newval != typeof val || newval !== val) return newval; + if (this.options.trimValues) return parseValue(val, this.options.parseTagValue, this.options.numberParseOptions); + return val.trim() === val ? parseValue(val, this.options.parseTagValue, this.options.numberParseOptions) : val; + } + } + function resolveNameSpace(tagname) { + if (this.options.removeNSPrefix) { + const tags = tagname.split(":"), prefix = "/" === tagname.charAt(0) ? "/" : ""; + if ("xmlns" === tags[0]) return ""; + 2 === tags.length && (tagname = prefix + tags[1]); + } + return tagname; + } + const attrsRegx = new RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?", "gm"); + function buildAttributesMap(attrStr, jPath, tagName) { + if (!this.options.ignoreAttributes && "string" == typeof attrStr) { + const matches = util.getAllMatches(attrStr, attrsRegx), len = matches.length, attrs = {}; + for (let i = 0; i < len; i++) { + const attrName = this.resolveNameSpace(matches[i][1]); + let oldVal = matches[i][4], aName = this.options.attributeNamePrefix + attrName; + if (attrName.length) if (this.options.transformAttributeName && (aName = this.options.transformAttributeName(aName)), + "__proto__" === aName && (aName = "#__proto__"), void 0 !== oldVal) { + this.options.trimValues && (oldVal = oldVal.trim()), oldVal = this.replaceEntitiesValue(oldVal); + const newVal = this.options.attributeValueProcessor(attrName, oldVal, jPath); + attrs[aName] = null == newVal ? oldVal : typeof newVal != typeof oldVal || newVal !== oldVal ? newVal : parseValue(oldVal, this.options.parseAttributeValue, this.options.numberParseOptions); + } else this.options.allowBooleanAttributes && (attrs[aName] = !0); + } + if (!Object.keys(attrs).length) return; + if (this.options.attributesGroupName) { + const attrCollection = {}; + return attrCollection[this.options.attributesGroupName] = attrs, attrCollection; + } + return attrs; + } + } + const parseXml = function(xmlData) { + xmlData = xmlData.replace(/\r\n?/g, "\n"); + const xmlObj = new xmlNode("!xml"); + let currentNode = xmlObj, textData = "", jPath = ""; + for (let i = 0; i < xmlData.length; i++) { + if ("<" === xmlData[i]) if ("/" === xmlData[i + 1]) { + const closeIndex = findClosingIndex(xmlData, ">", i, "Closing Tag is not closed."); + let tagName = xmlData.substring(i + 2, closeIndex).trim(); + if (this.options.removeNSPrefix) { + const colonIndex = tagName.indexOf(":"); + -1 !== colonIndex && (tagName = tagName.substr(colonIndex + 1)); + } + this.options.transformTagName && (tagName = this.options.transformTagName(tagName)), + currentNode && (textData = this.saveTextToParentTag(textData, currentNode, jPath)); + const lastTagName = jPath.substring(jPath.lastIndexOf(".") + 1); + if (tagName && -1 !== this.options.unpairedTags.indexOf(tagName)) throw new Error(`Unpaired tag can not be used as closing tag: `); + let propIndex = 0; + lastTagName && -1 !== this.options.unpairedTags.indexOf(lastTagName) ? (propIndex = jPath.lastIndexOf(".", jPath.lastIndexOf(".") - 1), + this.tagsNodeStack.pop()) : propIndex = jPath.lastIndexOf("."), jPath = jPath.substring(0, propIndex), + currentNode = this.tagsNodeStack.pop(), textData = "", i = closeIndex; + } else if ("?" === xmlData[i + 1]) { + let tagData = readTagExp(xmlData, i, !1, "?>"); + if (!tagData) throw new Error("Pi Tag is not closed."); + if (textData = this.saveTextToParentTag(textData, currentNode, jPath), this.options.ignoreDeclaration && "?xml" === tagData.tagName || this.options.ignorePiTags) ; else { + const childNode = new xmlNode(tagData.tagName); + childNode.add(this.options.textNodeName, ""), tagData.tagName !== tagData.tagExp && tagData.attrExpPresent && (childNode[":@"] = this.buildAttributesMap(tagData.tagExp, jPath, tagData.tagName)), + this.addChild(currentNode, childNode, jPath); + } + i = tagData.closeIndex + 1; + } else if ("!--" === xmlData.substr(i + 1, 3)) { + const endIndex = findClosingIndex(xmlData, "--\x3e", i + 4, "Comment is not closed."); + if (this.options.commentPropName) { + const comment = xmlData.substring(i + 4, endIndex - 2); + textData = this.saveTextToParentTag(textData, currentNode, jPath), currentNode.add(this.options.commentPropName, [ { + [this.options.textNodeName]: comment + } ]); + } + i = endIndex; + } else if ("!D" === xmlData.substr(i + 1, 2)) { + const result = readDocType(xmlData, i); + this.docTypeEntities = result.entities, i = result.i; + } else if ("![" === xmlData.substr(i + 1, 2)) { + const closeIndex = findClosingIndex(xmlData, "]]>", i, "CDATA is not closed.") - 2, tagExp = xmlData.substring(i + 9, closeIndex); + textData = this.saveTextToParentTag(textData, currentNode, jPath); + let val = this.parseTextData(tagExp, currentNode.tagname, jPath, !0, !1, !0, !0); + null == val && (val = ""), this.options.cdataPropName ? currentNode.add(this.options.cdataPropName, [ { + [this.options.textNodeName]: tagExp + } ]) : currentNode.add(this.options.textNodeName, val), i = closeIndex + 2; + } else { + let result = readTagExp(xmlData, i, this.options.removeNSPrefix), tagName = result.tagName; + const rawTagName = result.rawTagName; + let tagExp = result.tagExp, attrExpPresent = result.attrExpPresent, closeIndex = result.closeIndex; + this.options.transformTagName && (tagName = this.options.transformTagName(tagName)), + currentNode && textData && "!xml" !== currentNode.tagname && (textData = this.saveTextToParentTag(textData, currentNode, jPath, !1)); + const lastTag = currentNode; + if (lastTag && -1 !== this.options.unpairedTags.indexOf(lastTag.tagname) && (currentNode = this.tagsNodeStack.pop(), + jPath = jPath.substring(0, jPath.lastIndexOf("."))), tagName !== xmlObj.tagname && (jPath += jPath ? "." + tagName : tagName), + this.isItStopNode(this.options.stopNodes, jPath, tagName)) { + let tagContent = ""; + if (tagExp.length > 0 && tagExp.lastIndexOf("/") === tagExp.length - 1) "/" === tagName[tagName.length - 1] ? (tagName = tagName.substr(0, tagName.length - 1), + jPath = jPath.substr(0, jPath.length - 1), tagExp = tagName) : tagExp = tagExp.substr(0, tagExp.length - 1), + i = result.closeIndex; else if (-1 !== this.options.unpairedTags.indexOf(tagName)) i = result.closeIndex; else { + const result = this.readStopNodeData(xmlData, rawTagName, closeIndex + 1); + if (!result) throw new Error(`Unexpected end of ${rawTagName}`); + i = result.i, tagContent = result.tagContent; + } + const childNode = new xmlNode(tagName); + tagName !== tagExp && attrExpPresent && (childNode[":@"] = this.buildAttributesMap(tagExp, jPath, tagName)), + tagContent && (tagContent = this.parseTextData(tagContent, tagName, jPath, !0, attrExpPresent, !0, !0)), + jPath = jPath.substr(0, jPath.lastIndexOf(".")), childNode.add(this.options.textNodeName, tagContent), + this.addChild(currentNode, childNode, jPath); + } else { + if (tagExp.length > 0 && tagExp.lastIndexOf("/") === tagExp.length - 1) { + "/" === tagName[tagName.length - 1] ? (tagName = tagName.substr(0, tagName.length - 1), + jPath = jPath.substr(0, jPath.length - 1), tagExp = tagName) : tagExp = tagExp.substr(0, tagExp.length - 1), + this.options.transformTagName && (tagName = this.options.transformTagName(tagName)); + const childNode = new xmlNode(tagName); + tagName !== tagExp && attrExpPresent && (childNode[":@"] = this.buildAttributesMap(tagExp, jPath, tagName)), + this.addChild(currentNode, childNode, jPath), jPath = jPath.substr(0, jPath.lastIndexOf(".")); + } else { + const childNode = new xmlNode(tagName); + this.tagsNodeStack.push(currentNode), tagName !== tagExp && attrExpPresent && (childNode[":@"] = this.buildAttributesMap(tagExp, jPath, tagName)), + this.addChild(currentNode, childNode, jPath), currentNode = childNode; } + textData = "", i = closeIndex; } - })); - } - listBlobsByHierarchy(delimiter, options = {}) { - if ("" === delimiter) throw new RangeError("delimiter should contain one or more characters"); - const include = []; - options.includeCopy && include.push("copy"), options.includeDeleted && include.push("deleted"), - options.includeMetadata && include.push("metadata"), options.includeSnapshots && include.push("snapshots"), - options.includeVersions && include.push("versions"), options.includeUncommitedBlobs && include.push("uncommittedblobs"), - options.includeTags && include.push("tags"), options.includeDeletedWithVersions && include.push("deletedwithversions"), - options.includeImmutabilityPolicy && include.push("immutabilitypolicy"), options.includeLegalHold && include.push("legalhold"), - "" === options.prefix && (options.prefix = void 0); - const updatedOptions = Object.assign(Object.assign({}, options), include.length > 0 ? { - include - } : {}), iter = this.listItemsByHierarchy(delimiter, updatedOptions); - return { - next: async () => iter.next(), - [Symbol.asyncIterator]() { - return this; - }, - byPage: (settings = {}) => this.listHierarchySegments(delimiter, settings.continuationToken, Object.assign({ - maxPageSize: settings.maxPageSize - }, updatedOptions)) - }; + } else textData += xmlData[i]; } - async findBlobsByTagsSegment(tagFilterSqlExpression, marker, options = {}) { - const {span, updatedOptions} = tracing_createSpan("ContainerClient-findBlobsByTagsSegment", options); - try { - const response = await this.containerContext.filterBlobs(Object.assign({ - abortSignal: options.abortSignal, - where: tagFilterSqlExpression, - marker, - maxPageSize: options.maxPageSize - }, convertTracingToRequestOptionsBase(updatedOptions))); - return Object.assign(Object.assign({}, response), { - _response: response._response, - blobs: response.blobs.map((blob => { - var _a; - let tagValue = ""; - return 1 === (null === (_a = blob.tags) || void 0 === _a ? void 0 : _a.blobTagSet.length) && (tagValue = blob.tags.blobTagSet[0].value), - Object.assign(Object.assign({}, blob), { - tags: toTags(blob.tags), - tagValue - }); - })) - }); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); + return xmlObj.child; + }; + function addChild(currentNode, childNode, jPath) { + const result = this.options.updateTag(childNode.tagname, jPath, childNode[":@"]); + !1 === result || ("string" == typeof result ? (childNode.tagname = result, currentNode.addChild(childNode)) : currentNode.addChild(childNode)); + } + const replaceEntitiesValue = function(val) { + if (this.options.processEntities) { + for (let entityName in this.docTypeEntities) { + const entity = this.docTypeEntities[entityName]; + val = val.replace(entity.regx, entity.val); } + for (let entityName in this.lastEntities) { + const entity = this.lastEntities[entityName]; + val = val.replace(entity.regex, entity.val); + } + if (this.options.htmlEntities) for (let entityName in this.htmlEntities) { + const entity = this.htmlEntities[entityName]; + val = val.replace(entity.regex, entity.val); + } + val = val.replace(this.ampEntity.regex, this.ampEntity.val); } - findBlobsByTagsSegments(tagFilterSqlExpression, marker, options = {}) { - return tslib_es6_asyncGenerator(this, arguments, (function*() { - let response; - if (marker || void 0 === marker) do { - response = yield tslib_es6_await(this.findBlobsByTagsSegment(tagFilterSqlExpression, marker, options)), - response.blobs = response.blobs || [], marker = response.continuationToken, yield yield tslib_es6_await(response); - } while (marker); - })); + return val; + }; + function saveTextToParentTag(textData, currentNode, jPath, isLeafNode) { + return textData && (void 0 === isLeafNode && (isLeafNode = 0 === Object.keys(currentNode.child).length), + void 0 !== (textData = this.parseTextData(textData, currentNode.tagname, jPath, !1, !!currentNode[":@"] && 0 !== Object.keys(currentNode[":@"]).length, isLeafNode)) && "" !== textData && currentNode.add(this.options.textNodeName, textData), + textData = ""), textData; + } + function isItStopNode(stopNodes, jPath, currentTagName) { + const allNodesExp = "*." + currentTagName; + for (const stopNodePath in stopNodes) { + const stopNodeExp = stopNodes[stopNodePath]; + if (allNodesExp === stopNodeExp || jPath === stopNodeExp) return !0; } - findBlobsByTagsItems(tagFilterSqlExpression, options = {}) { - return tslib_es6_asyncGenerator(this, arguments, (function*() { - var e_3, _a; - try { - for (var _c, _b = tslib_es6_asyncValues(this.findBlobsByTagsSegments(tagFilterSqlExpression, undefined, options)); !(_c = yield tslib_es6_await(_b.next())).done; ) { - const segment = _c.value; - yield tslib_es6_await(yield* tslib_es6_asyncDelegator(tslib_es6_asyncValues(segment.blobs))); - } - } catch (e_3_1) { - e_3 = { - error: e_3_1 + return !1; + } + function findClosingIndex(xmlData, str, i, errMsg) { + const closingIndex = xmlData.indexOf(str, i); + if (-1 === closingIndex) throw new Error(errMsg); + return closingIndex + str.length - 1; + } + function readTagExp(xmlData, i, removeNSPrefix, closingChar = ">") { + const result = function(xmlData, i, closingChar = ">") { + let attrBoundary, tagExp = ""; + for (let index = i; index < xmlData.length; index++) { + let ch = xmlData[index]; + if (attrBoundary) ch === attrBoundary && (attrBoundary = ""); else if ('"' === ch || "'" === ch) attrBoundary = ch; else if (ch === closingChar[0]) { + if (!closingChar[1]) return { + data: tagExp, + index }; - } finally { - try { - _c && !_c.done && (_a = _b.return) && (yield tslib_es6_await(_a.call(_b))); - } finally { - if (e_3) throw e_3.error; - } - } - })); + if (xmlData[index + 1] === closingChar[1]) return { + data: tagExp, + index + }; + } else "\t" === ch && (ch = " "); + tagExp += ch; + } + }(xmlData, i + 1, closingChar); + if (!result) return; + let tagExp = result.data; + const closeIndex = result.index, separatorIndex = tagExp.search(/\s/); + let tagName = tagExp, attrExpPresent = !0; + -1 !== separatorIndex && (tagName = tagExp.substring(0, separatorIndex), tagExp = tagExp.substring(separatorIndex + 1).trimStart()); + const rawTagName = tagName; + if (removeNSPrefix) { + const colonIndex = tagName.indexOf(":"); + -1 !== colonIndex && (tagName = tagName.substr(colonIndex + 1), attrExpPresent = tagName !== result.data.substr(colonIndex + 1)); } - findBlobsByTags(tagFilterSqlExpression, options = {}) { - const listSegmentOptions = Object.assign({}, options), iter = this.findBlobsByTagsItems(tagFilterSqlExpression, listSegmentOptions); - return { - next: () => iter.next(), - [Symbol.asyncIterator]() { - return this; - }, - byPage: (settings = {}) => this.findBlobsByTagsSegments(tagFilterSqlExpression, settings.continuationToken, Object.assign({ - maxPageSize: settings.maxPageSize - }, listSegmentOptions)) + return { + tagName, + tagExp, + closeIndex, + attrExpPresent, + rawTagName + }; + } + function readStopNodeData(xmlData, tagName, i) { + const startIndex = i; + let openTagCount = 1; + for (;i < xmlData.length; i++) if ("<" === xmlData[i]) if ("/" === xmlData[i + 1]) { + const closeIndex = findClosingIndex(xmlData, ">", i, `${tagName} is not closed`); + if (xmlData.substring(i + 2, closeIndex).trim() === tagName && (openTagCount--, + 0 === openTagCount)) return { + tagContent: xmlData.substring(startIndex, i), + i: closeIndex }; - } - getContainerNameFromUrl() { - let containerName; - try { - const parsedUrl = URLBuilder.parse(this.url); - if (containerName = "blob" === parsedUrl.getHost().split(".")[1] ? parsedUrl.getPath().split("/")[1] : isIpEndpointStyle(parsedUrl) ? parsedUrl.getPath().split("/")[2] : parsedUrl.getPath().split("/")[1], - containerName = decodeURIComponent(containerName), !containerName) throw new Error("Provided containerName is invalid."); - return containerName; - } catch (error) { - throw new Error("Unable to extract containerName with provided information."); + i = closeIndex; + } else if ("?" === xmlData[i + 1]) { + i = findClosingIndex(xmlData, "?>", i + 1, "StopNode is not closed."); + } else if ("!--" === xmlData.substr(i + 1, 3)) { + i = findClosingIndex(xmlData, "--\x3e", i + 3, "StopNode is not closed."); + } else if ("![" === xmlData.substr(i + 1, 2)) { + i = findClosingIndex(xmlData, "]]>", i, "StopNode is not closed.") - 2; + } else { + const tagData = readTagExp(xmlData, i, ">"); + if (tagData) { + (tagData && tagData.tagName) === tagName && "/" !== tagData.tagExp[tagData.tagExp.length - 1] && openTagCount++, + i = tagData.closeIndex; } } - generateSasUrl(options) { - return new Promise((resolve => { - if (!(this.credential instanceof StorageSharedKeyCredential)) throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential"); - const sas = generateBlobSASQueryParameters(Object.assign({ - containerName: this._containerName - }, options), this.credential).toString(); - resolve(appendToURLQuery(this.url, sas)); - })); - } - getBlobBatchClient() { - return new BlobBatchClient(this.url, this.pipeline); + } + function parseValue(val, shouldParse, options) { + if (shouldParse && "string" == typeof val) { + const newval = val.trim(); + return "true" === newval || "false" !== newval && toNumber(val, options); } + return util.isExist(val) ? val : ""; } - class AccountSASPermissions { - constructor() { - this.read = !1, this.write = !1, this.delete = !1, this.deleteVersion = !1, this.list = !1, - this.add = !1, this.create = !1, this.update = !1, this.process = !1, this.tag = !1, - this.filter = !1, this.setImmutabilityPolicy = !1, this.permanentDelete = !1; + module.exports = class { + constructor(options) { + this.options = options, this.currentNode = null, this.tagsNodeStack = [], this.docTypeEntities = {}, + this.lastEntities = { + apos: { + regex: /&(apos|#39|#x27);/g, + val: "'" + }, + gt: { + regex: /&(gt|#62|#x3E);/g, + val: ">" + }, + lt: { + regex: /&(lt|#60|#x3C);/g, + val: "<" + }, + quot: { + regex: /&(quot|#34|#x22);/g, + val: '"' + } + }, this.ampEntity = { + regex: /&(amp|#38|#x26);/g, + val: "&" + }, this.htmlEntities = { + space: { + regex: /&(nbsp|#160);/g, + val: " " + }, + cent: { + regex: /&(cent|#162);/g, + val: "¢" + }, + pound: { + regex: /&(pound|#163);/g, + val: "£" + }, + yen: { + regex: /&(yen|#165);/g, + val: "¥" + }, + euro: { + regex: /&(euro|#8364);/g, + val: "€" + }, + copyright: { + regex: /&(copy|#169);/g, + val: "©" + }, + reg: { + regex: /&(reg|#174);/g, + val: "®" + }, + inr: { + regex: /&(inr|#8377);/g, + val: "₹" + }, + num_dec: { + regex: /&#([0-9]{1,7});/g, + val: (_, str) => String.fromCharCode(Number.parseInt(str, 10)) + }, + num_hex: { + regex: /&#x([0-9a-fA-F]{1,6});/g, + val: (_, str) => String.fromCharCode(Number.parseInt(str, 16)) + } + }, this.addExternalEntities = addExternalEntities, this.parseXml = parseXml, this.parseTextData = parseTextData, + this.resolveNameSpace = resolveNameSpace, this.buildAttributesMap = buildAttributesMap, + this.isItStopNode = isItStopNode, this.replaceEntitiesValue = replaceEntitiesValue, + this.readStopNodeData = readStopNodeData, this.saveTextToParentTag = saveTextToParentTag, + this.addChild = addChild; } - static parse(permissions) { - const accountSASPermissions = new AccountSASPermissions; - for (const c of permissions) switch (c) { - case "r": - accountSASPermissions.read = !0; - break; - - case "w": - accountSASPermissions.write = !0; - break; - - case "d": - accountSASPermissions.delete = !0; - break; - - case "x": - accountSASPermissions.deleteVersion = !0; - break; - - case "l": - accountSASPermissions.list = !0; - break; - - case "a": - accountSASPermissions.add = !0; - break; - - case "c": - accountSASPermissions.create = !0; - break; - - case "u": - accountSASPermissions.update = !0; - break; - - case "p": - accountSASPermissions.process = !0; - break; - - case "t": - accountSASPermissions.tag = !0; - break; - - case "f": - accountSASPermissions.filter = !0; - break; - - case "i": - accountSASPermissions.setImmutabilityPolicy = !0; - break; - - case "y": - accountSASPermissions.permanentDelete = !0; - break; - - default: - throw new RangeError(`Invalid permission character: ${c}`); + }; + }, + 1791: (module, __unused_webpack_exports, __webpack_require__) => { + const {buildOptions} = __webpack_require__(1344), OrderedObjParser = __webpack_require__(156), {prettify} = __webpack_require__(761), validator = __webpack_require__(8242); + module.exports = class { + constructor(options) { + this.externalEntities = {}, this.options = buildOptions(options); + } + parse(xmlData, validationOption) { + if ("string" == typeof xmlData) ; else { + if (!xmlData.toString) throw new Error("XML data is accepted in String or Bytes[] form."); + xmlData = xmlData.toString(); } - return accountSASPermissions; + if (validationOption) { + !0 === validationOption && (validationOption = {}); + const result = validator.validate(xmlData, validationOption); + if (!0 !== result) throw Error(`${result.err.msg}:${result.err.line}:${result.err.col}`); + } + const orderedObjParser = new OrderedObjParser(this.options); + orderedObjParser.addExternalEntities(this.externalEntities); + const orderedResult = orderedObjParser.parseXml(xmlData); + return this.options.preserveOrder || void 0 === orderedResult ? orderedResult : prettify(orderedResult, this.options); } - static from(permissionLike) { - const accountSASPermissions = new AccountSASPermissions; - return permissionLike.read && (accountSASPermissions.read = !0), permissionLike.write && (accountSASPermissions.write = !0), - permissionLike.delete && (accountSASPermissions.delete = !0), permissionLike.deleteVersion && (accountSASPermissions.deleteVersion = !0), - permissionLike.filter && (accountSASPermissions.filter = !0), permissionLike.tag && (accountSASPermissions.tag = !0), - permissionLike.list && (accountSASPermissions.list = !0), permissionLike.add && (accountSASPermissions.add = !0), - permissionLike.create && (accountSASPermissions.create = !0), permissionLike.update && (accountSASPermissions.update = !0), - permissionLike.process && (accountSASPermissions.process = !0), permissionLike.setImmutabilityPolicy && (accountSASPermissions.setImmutabilityPolicy = !0), - permissionLike.permanentDelete && (accountSASPermissions.permanentDelete = !0), - accountSASPermissions; + addEntity(key, value) { + if (-1 !== value.indexOf("&")) throw new Error("Entity value can't have '&'"); + if (-1 !== key.indexOf("&") || -1 !== key.indexOf(";")) throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for ' '"); + if ("&" === value) throw new Error("An entity with value '&' is not permitted"); + this.externalEntities[key] = value; + } + }; + }, + 761: (__unused_webpack_module, exports) => { + "use strict"; + function compress(arr, options, jPath) { + let text; + const compressedObj = {}; + for (let i = 0; i < arr.length; i++) { + const tagObj = arr[i], property = propName(tagObj); + let newJpath = ""; + if (newJpath = void 0 === jPath ? property : jPath + "." + property, property === options.textNodeName) void 0 === text ? text = tagObj[property] : text += "" + tagObj[property]; else { + if (void 0 === property) continue; + if (tagObj[property]) { + let val = compress(tagObj[property], options, newJpath); + const isLeaf = isLeafTag(val, options); + tagObj[":@"] ? assignAttributes(val, tagObj[":@"], newJpath, options) : 1 !== Object.keys(val).length || void 0 === val[options.textNodeName] || options.alwaysCreateTextNode ? 0 === Object.keys(val).length && (options.alwaysCreateTextNode ? val[options.textNodeName] = "" : val = "") : val = val[options.textNodeName], + void 0 !== compressedObj[property] && compressedObj.hasOwnProperty(property) ? (Array.isArray(compressedObj[property]) || (compressedObj[property] = [ compressedObj[property] ]), + compressedObj[property].push(val)) : options.isArray(property, newJpath, isLeaf) ? compressedObj[property] = [ val ] : compressedObj[property] = val; + } + } } - toString() { - const permissions = []; - return this.read && permissions.push("r"), this.write && permissions.push("w"), - this.delete && permissions.push("d"), this.deleteVersion && permissions.push("x"), - this.filter && permissions.push("f"), this.tag && permissions.push("t"), this.list && permissions.push("l"), - this.add && permissions.push("a"), this.create && permissions.push("c"), this.update && permissions.push("u"), - this.process && permissions.push("p"), this.setImmutabilityPolicy && permissions.push("i"), - this.permanentDelete && permissions.push("y"), permissions.join(""); + return "string" == typeof text ? text.length > 0 && (compressedObj[options.textNodeName] = text) : void 0 !== text && (compressedObj[options.textNodeName] = text), + compressedObj; + } + function propName(obj) { + const keys = Object.keys(obj); + for (let i = 0; i < keys.length; i++) { + const key = keys[i]; + if (":@" !== key) return key; } } - class AccountSASResourceTypes { - constructor() { - this.service = !1, this.container = !1, this.object = !1; + function assignAttributes(obj, attrMap, jpath, options) { + if (attrMap) { + const keys = Object.keys(attrMap), len = keys.length; + for (let i = 0; i < len; i++) { + const atrrName = keys[i]; + options.isArray(atrrName, jpath + "." + atrrName, !0, !0) ? obj[atrrName] = [ attrMap[atrrName] ] : obj[atrrName] = attrMap[atrrName]; + } } - static parse(resourceTypes) { - const accountSASResourceTypes = new AccountSASResourceTypes; - for (const c of resourceTypes) switch (c) { - case "s": - accountSASResourceTypes.service = !0; - break; - - case "c": - accountSASResourceTypes.container = !0; - break; - - case "o": - accountSASResourceTypes.object = !0; - break; - - default: - throw new RangeError(`Invalid resource type: ${c}`); + } + function isLeafTag(obj, options) { + const {textNodeName} = options, propCount = Object.keys(obj).length; + return 0 === propCount || !(1 !== propCount || !obj[textNodeName] && "boolean" != typeof obj[textNodeName] && 0 !== obj[textNodeName]); + } + exports.prettify = function(node, options) { + return compress(node, options); + }; + }, + 4004: module => { + "use strict"; + module.exports = class { + constructor(tagname) { + this.tagname = tagname, this.child = [], this[":@"] = {}; + } + add(key, val) { + "__proto__" === key && (key = "#__proto__"), this.child.push({ + [key]: val + }); + } + addChild(node) { + "__proto__" === node.tagname && (node.tagname = "#__proto__"), node[":@"] && Object.keys(node[":@"]).length > 0 ? this.child.push({ + [node.tagname]: node.child, + ":@": node[":@"] + }) : this.child.push({ + [node.tagname]: node.child + }); + } + }; + }, + 4568: module => { + "use strict"; + module.exports = (flag, argv = process.argv) => { + const prefix = flag.startsWith("-") ? "" : 1 === flag.length ? "-" : "--", position = argv.indexOf(prefix + flag), terminatorPosition = argv.indexOf("--"); + return -1 !== position && (-1 === terminatorPosition || position < terminatorPosition); + }; + }, + 4009: function(__unused_webpack_module, exports, __webpack_require__) { + "use strict"; + var __createBinding = this && this.__createBinding || (Object.create ? function(o, m, k, k2) { + void 0 === k2 && (k2 = k); + var desc = Object.getOwnPropertyDescriptor(m, k); + desc && !("get" in desc ? !m.__esModule : desc.writable || desc.configurable) || (desc = { + enumerable: !0, + get: function() { + return m[k]; } - return accountSASResourceTypes; + }), Object.defineProperty(o, k2, desc); + } : function(o, m, k, k2) { + void 0 === k2 && (k2 = k), o[k2] = m[k]; + }), __setModuleDefault = this && this.__setModuleDefault || (Object.create ? function(o, v) { + Object.defineProperty(o, "default", { + enumerable: !0, + value: v + }); + } : function(o, v) { + o.default = v; + }), __importStar = this && this.__importStar || function(mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (null != mod) for (var k in mod) "default" !== k && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k); + return __setModuleDefault(result, mod), result; + }, __importDefault = this && this.__importDefault || function(mod) { + return mod && mod.__esModule ? mod : { + default: mod + }; + }; + Object.defineProperty(exports, "__esModule", { + value: !0 + }), exports.HttpProxyAgent = void 0; + const net = __importStar(__webpack_require__(9278)), tls = __importStar(__webpack_require__(4756)), debug_1 = __importDefault(__webpack_require__(5214)), events_1 = __webpack_require__(4434), agent_base_1 = __webpack_require__(7841), url_1 = __webpack_require__(7016), debug = (0, + debug_1.default)("http-proxy-agent"); + class HttpProxyAgent extends agent_base_1.Agent { + constructor(proxy, opts) { + super(opts), this.proxy = "string" == typeof proxy ? new url_1.URL(proxy) : proxy, + this.proxyHeaders = opts?.headers ?? {}, debug("Creating new HttpProxyAgent instance: %o", this.proxy.href); + const host = (this.proxy.hostname || this.proxy.host).replace(/^\[|\]$/g, ""), port = this.proxy.port ? parseInt(this.proxy.port, 10) : "https:" === this.proxy.protocol ? 443 : 80; + this.connectOpts = { + ...opts ? omit(opts, "headers") : null, + host, + port + }; } - toString() { - const resourceTypes = []; - return this.service && resourceTypes.push("s"), this.container && resourceTypes.push("c"), - this.object && resourceTypes.push("o"), resourceTypes.join(""); + addRequest(req, opts) { + req._header = null, this.setRequestProps(req, opts), super.addRequest(req, opts); } - } - class AccountSASServices { - constructor() { - this.blob = !1, this.file = !1, this.queue = !1, this.table = !1; + setRequestProps(req, opts) { + const {proxy} = this, base = `${opts.secureEndpoint ? "https:" : "http:"}//${req.getHeader("host") || "localhost"}`, url = new url_1.URL(req.path, base); + 80 !== opts.port && (url.port = String(opts.port)), req.path = String(url); + const headers = "function" == typeof this.proxyHeaders ? this.proxyHeaders() : { + ...this.proxyHeaders + }; + if (proxy.username || proxy.password) { + const auth = `${decodeURIComponent(proxy.username)}:${decodeURIComponent(proxy.password)}`; + headers["Proxy-Authorization"] = `Basic ${Buffer.from(auth).toString("base64")}`; + } + headers["Proxy-Connection"] || (headers["Proxy-Connection"] = this.keepAlive ? "Keep-Alive" : "close"); + for (const name of Object.keys(headers)) { + const value = headers[name]; + value && req.setHeader(name, value); + } + } + async connect(req, opts) { + let first, endOfHeaders, socket; + return req._header = null, req.path.includes("://") || this.setRequestProps(req, opts), + debug("Regenerating stored HTTP header string for request"), req._implicitHeader(), + req.outputData && req.outputData.length > 0 && (debug("Patching connection write() output buffer with updated header"), + first = req.outputData[0].data, endOfHeaders = first.indexOf("\r\n\r\n") + 4, req.outputData[0].data = req._header + first.substring(endOfHeaders), + debug("Output buffer: %o", req.outputData[0].data)), "https:" === this.proxy.protocol ? (debug("Creating `tls.Socket`: %o", this.connectOpts), + socket = tls.connect(this.connectOpts)) : (debug("Creating `net.Socket`: %o", this.connectOpts), + socket = net.connect(this.connectOpts)), await (0, events_1.once)(socket, "connect"), + socket; + } + } + function omit(obj, ...keys) { + const ret = {}; + let key; + for (key in obj) keys.includes(key) || (ret[key] = obj[key]); + return ret; + } + HttpProxyAgent.protocols = [ "http", "https" ], exports.HttpProxyAgent = HttpProxyAgent; + }, + 1886: (module, exports, __webpack_require__) => { + exports.formatArgs = function(args) { + if (args[0] = (this.useColors ? "%c" : "") + this.namespace + (this.useColors ? " %c" : " ") + args[0] + (this.useColors ? "%c " : " ") + "+" + module.exports.humanize(this.diff), + !this.useColors) return; + const c = "color: " + this.color; + args.splice(1, 0, c, "color: inherit"); + let index = 0, lastC = 0; + args[0].replace(/%[a-zA-Z%]/g, (match => { + "%%" !== match && (index++, "%c" === match && (lastC = index)); + })), args.splice(lastC, 0, c); + }, exports.save = function(namespaces) { + try { + namespaces ? exports.storage.setItem("debug", namespaces) : exports.storage.removeItem("debug"); + } catch (error) {} + }, exports.load = function() { + let r; + try { + r = exports.storage.getItem("debug"); + } catch (error) {} + !r && "undefined" != typeof process && "env" in process && (r = process.env.DEBUG); + return r; + }, exports.useColors = function() { + if ("undefined" != typeof window && window.process && ("renderer" === window.process.type || window.process.__nwjs)) return !0; + if ("undefined" != typeof navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) return !1; + return "undefined" != typeof document && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || "undefined" != typeof window && window.console && (window.console.firebug || window.console.exception && window.console.table) || "undefined" != typeof navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31 || "undefined" != typeof navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/); + }, exports.storage = function() { + try { + return localStorage; + } catch (error) {} + }(), exports.destroy = (() => { + let warned = !1; + return () => { + warned || (warned = !0, console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")); + }; + })(), exports.colors = [ "#0000CC", "#0000FF", "#0033CC", "#0033FF", "#0066CC", "#0066FF", "#0099CC", "#0099FF", "#00CC00", "#00CC33", "#00CC66", "#00CC99", "#00CCCC", "#00CCFF", "#3300CC", "#3300FF", "#3333CC", "#3333FF", "#3366CC", "#3366FF", "#3399CC", "#3399FF", "#33CC00", "#33CC33", "#33CC66", "#33CC99", "#33CCCC", "#33CCFF", "#6600CC", "#6600FF", "#6633CC", "#6633FF", "#66CC00", "#66CC33", "#9900CC", "#9900FF", "#9933CC", "#9933FF", "#99CC00", "#99CC33", "#CC0000", "#CC0033", "#CC0066", "#CC0099", "#CC00CC", "#CC00FF", "#CC3300", "#CC3333", "#CC3366", "#CC3399", "#CC33CC", "#CC33FF", "#CC6600", "#CC6633", "#CC9900", "#CC9933", "#CCCC00", "#CCCC33", "#FF0000", "#FF0033", "#FF0066", "#FF0099", "#FF00CC", "#FF00FF", "#FF3300", "#FF3333", "#FF3366", "#FF3399", "#FF33CC", "#FF33FF", "#FF6600", "#FF6633", "#FF9900", "#FF9933", "#FFCC00", "#FFCC33" ], + exports.log = console.debug || console.log || (() => {}), module.exports = __webpack_require__(7025)(exports); + const {formatters} = module.exports; + formatters.j = function(v) { + try { + return JSON.stringify(v); + } catch (error) { + return "[UnexpectedJSONParseError]: " + error.message; } - static parse(services) { - const accountSASServices = new AccountSASServices; - for (const c of services) switch (c) { - case "b": - accountSASServices.blob = !0; - break; - - case "f": - accountSASServices.file = !0; - break; - - case "q": - accountSASServices.queue = !0; - break; - - case "t": - accountSASServices.table = !0; - break; - - default: - throw new RangeError(`Invalid service character: ${c}`); + }; + }, + 7025: (module, __unused_webpack_exports, __webpack_require__) => { + module.exports = function(env) { + function createDebug(namespace) { + let prevTime, namespacesCache, enabledCache, enableOverride = null; + function debug(...args) { + if (!debug.enabled) return; + const self = debug, curr = Number(new Date), ms = curr - (prevTime || curr); + self.diff = ms, self.prev = prevTime, self.curr = curr, prevTime = curr, args[0] = createDebug.coerce(args[0]), + "string" != typeof args[0] && args.unshift("%O"); + let index = 0; + args[0] = args[0].replace(/%([a-zA-Z%])/g, ((match, format) => { + if ("%%" === match) return "%"; + index++; + const formatter = createDebug.formatters[format]; + if ("function" == typeof formatter) { + const val = args[index]; + match = formatter.call(self, val), args.splice(index, 1), index--; + } + return match; + })), createDebug.formatArgs.call(self, args); + (self.log || createDebug.log).apply(self, args); + } + return debug.namespace = namespace, debug.useColors = createDebug.useColors(), debug.color = createDebug.selectColor(namespace), + debug.extend = extend, debug.destroy = createDebug.destroy, Object.defineProperty(debug, "enabled", { + enumerable: !0, + configurable: !1, + get: () => null !== enableOverride ? enableOverride : (namespacesCache !== createDebug.namespaces && (namespacesCache = createDebug.namespaces, + enabledCache = createDebug.enabled(namespace)), enabledCache), + set: v => { + enableOverride = v; + } + }), "function" == typeof createDebug.init && createDebug.init(debug), debug; + } + function extend(namespace, delimiter) { + const newDebug = createDebug(this.namespace + (void 0 === delimiter ? ":" : delimiter) + namespace); + return newDebug.log = this.log, newDebug; + } + function toNamespace(regexp) { + return regexp.toString().substring(2, regexp.toString().length - 2).replace(/\.\*\?$/, "*"); + } + return createDebug.debug = createDebug, createDebug.default = createDebug, createDebug.coerce = function(val) { + if (val instanceof Error) return val.stack || val.message; + return val; + }, createDebug.disable = function() { + const namespaces = [ ...createDebug.names.map(toNamespace), ...createDebug.skips.map(toNamespace).map((namespace => "-" + namespace)) ].join(","); + return createDebug.enable(""), namespaces; + }, createDebug.enable = function(namespaces) { + let i; + createDebug.save(namespaces), createDebug.namespaces = namespaces, createDebug.names = [], + createDebug.skips = []; + const split = ("string" == typeof namespaces ? namespaces : "").split(/[\s,]+/), len = split.length; + for (i = 0; i < len; i++) split[i] && ("-" === (namespaces = split[i].replace(/\*/g, ".*?"))[0] ? createDebug.skips.push(new RegExp("^" + namespaces.slice(1) + "$")) : createDebug.names.push(new RegExp("^" + namespaces + "$"))); + }, createDebug.enabled = function(name) { + if ("*" === name[name.length - 1]) return !0; + let i, len; + for (i = 0, len = createDebug.skips.length; i < len; i++) if (createDebug.skips[i].test(name)) return !1; + for (i = 0, len = createDebug.names.length; i < len; i++) if (createDebug.names[i].test(name)) return !0; + return !1; + }, createDebug.humanize = __webpack_require__(5693), createDebug.destroy = function() { + console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."); + }, Object.keys(env).forEach((key => { + createDebug[key] = env[key]; + })), createDebug.names = [], createDebug.skips = [], createDebug.formatters = {}, + createDebug.selectColor = function(namespace) { + let hash = 0; + for (let i = 0; i < namespace.length; i++) hash = (hash << 5) - hash + namespace.charCodeAt(i), + hash |= 0; + return createDebug.colors[Math.abs(hash) % createDebug.colors.length]; + }, createDebug.enable(createDebug.load()), createDebug; + }; + }, + 5214: (module, __unused_webpack_exports, __webpack_require__) => { + "undefined" == typeof process || "renderer" === process.type || !0 === process.browser || process.__nwjs ? module.exports = __webpack_require__(1886) : module.exports = __webpack_require__(4100); + }, + 4100: (module, exports, __webpack_require__) => { + const tty = __webpack_require__(2018), util = __webpack_require__(9023); + exports.init = function(debug) { + debug.inspectOpts = {}; + const keys = Object.keys(exports.inspectOpts); + for (let i = 0; i < keys.length; i++) debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]]; + }, exports.log = function(...args) { + return process.stderr.write(util.formatWithOptions(exports.inspectOpts, ...args) + "\n"); + }, exports.formatArgs = function(args) { + const {namespace: name, useColors} = this; + if (useColors) { + const c = this.color, colorCode = "[3" + (c < 8 ? c : "8;5;" + c), prefix = ` ${colorCode};1m${name} `; + args[0] = prefix + args[0].split("\n").join("\n" + prefix), args.push(colorCode + "m+" + module.exports.humanize(this.diff) + ""); + } else args[0] = function() { + if (exports.inspectOpts.hideDate) return ""; + return (new Date).toISOString() + " "; + }() + name + " " + args[0]; + }, exports.save = function(namespaces) { + namespaces ? process.env.DEBUG = namespaces : delete process.env.DEBUG; + }, exports.load = function() { + return process.env.DEBUG; + }, exports.useColors = function() { + return "colors" in exports.inspectOpts ? Boolean(exports.inspectOpts.colors) : tty.isatty(process.stderr.fd); + }, exports.destroy = util.deprecate((() => {}), "Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."), + exports.colors = [ 6, 2, 3, 4, 5, 1 ]; + try { + const supportsColor = __webpack_require__(6603); + supportsColor && (supportsColor.stderr || supportsColor).level >= 2 && (exports.colors = [ 20, 21, 26, 27, 32, 33, 38, 39, 40, 41, 42, 43, 44, 45, 56, 57, 62, 63, 68, 69, 74, 75, 76, 77, 78, 79, 80, 81, 92, 93, 98, 99, 112, 113, 128, 129, 134, 135, 148, 149, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 178, 179, 184, 185, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 214, 215, 220, 221 ]); + } catch (error) {} + exports.inspectOpts = Object.keys(process.env).filter((key => /^debug_/i.test(key))).reduce(((obj, key) => { + const prop = key.substring(6).toLowerCase().replace(/_([a-z])/g, ((_, k) => k.toUpperCase())); + let val = process.env[key]; + return val = !!/^(yes|on|true|enabled)$/i.test(val) || !/^(no|off|false|disabled)$/i.test(val) && ("null" === val ? null : Number(val)), + obj[prop] = val, obj; + }), {}), module.exports = __webpack_require__(7025)(exports); + const {formatters} = module.exports; + formatters.o = function(v) { + return this.inspectOpts.colors = this.useColors, util.inspect(v, this.inspectOpts).split("\n").map((str => str.trim())).join(" "); + }, formatters.O = function(v) { + return this.inspectOpts.colors = this.useColors, util.inspect(v, this.inspectOpts); + }; + }, + 1516: function(__unused_webpack_module, exports, __webpack_require__) { + "use strict"; + var __createBinding = this && this.__createBinding || (Object.create ? function(o, m, k, k2) { + void 0 === k2 && (k2 = k); + var desc = Object.getOwnPropertyDescriptor(m, k); + desc && !("get" in desc ? !m.__esModule : desc.writable || desc.configurable) || (desc = { + enumerable: !0, + get: function() { + return m[k]; } - return accountSASServices; + }), Object.defineProperty(o, k2, desc); + } : function(o, m, k, k2) { + void 0 === k2 && (k2 = k), o[k2] = m[k]; + }), __setModuleDefault = this && this.__setModuleDefault || (Object.create ? function(o, v) { + Object.defineProperty(o, "default", { + enumerable: !0, + value: v + }); + } : function(o, v) { + o.default = v; + }), __importStar = this && this.__importStar || function(mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (null != mod) for (var k in mod) "default" !== k && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k); + return __setModuleDefault(result, mod), result; + }, __importDefault = this && this.__importDefault || function(mod) { + return mod && mod.__esModule ? mod : { + default: mod + }; + }; + Object.defineProperty(exports, "__esModule", { + value: !0 + }), exports.HttpsProxyAgent = void 0; + const net = __importStar(__webpack_require__(9278)), tls = __importStar(__webpack_require__(4756)), assert_1 = __importDefault(__webpack_require__(2613)), debug_1 = __importDefault(__webpack_require__(5915)), agent_base_1 = __webpack_require__(7841), url_1 = __webpack_require__(7016), parse_proxy_response_1 = __webpack_require__(7336), debug = (0, + debug_1.default)("https-proxy-agent"); + class HttpsProxyAgent extends agent_base_1.Agent { + constructor(proxy, opts) { + super(opts), this.options = { + path: void 0 + }, this.proxy = "string" == typeof proxy ? new url_1.URL(proxy) : proxy, this.proxyHeaders = opts?.headers ?? {}, + debug("Creating new HttpsProxyAgent instance: %o", this.proxy.href); + const host = (this.proxy.hostname || this.proxy.host).replace(/^\[|\]$/g, ""), port = this.proxy.port ? parseInt(this.proxy.port, 10) : "https:" === this.proxy.protocol ? 443 : 80; + this.connectOpts = { + ALPNProtocols: [ "http/1.1" ], + ...opts ? omit(opts, "headers") : null, + host, + port + }; } - toString() { - const services = []; - return this.blob && services.push("b"), this.table && services.push("t"), this.queue && services.push("q"), - this.file && services.push("f"), services.join(""); + async connect(req, opts) { + const {proxy} = this; + if (!opts.host) throw new TypeError('No "host" provided'); + let socket; + if ("https:" === proxy.protocol) { + debug("Creating `tls.Socket`: %o", this.connectOpts); + const servername = this.connectOpts.servername || this.connectOpts.host; + socket = tls.connect({ + ...this.connectOpts, + servername + }); + } else debug("Creating `net.Socket`: %o", this.connectOpts), socket = net.connect(this.connectOpts); + const headers = "function" == typeof this.proxyHeaders ? this.proxyHeaders() : { + ...this.proxyHeaders + }, host = net.isIPv6(opts.host) ? `[${opts.host}]` : opts.host; + let payload = `CONNECT ${host}:${opts.port} HTTP/1.1\r\n`; + if (proxy.username || proxy.password) { + const auth = `${decodeURIComponent(proxy.username)}:${decodeURIComponent(proxy.password)}`; + headers["Proxy-Authorization"] = `Basic ${Buffer.from(auth).toString("base64")}`; + } + headers.Host = `${host}:${opts.port}`, headers["Proxy-Connection"] || (headers["Proxy-Connection"] = this.keepAlive ? "Keep-Alive" : "close"); + for (const name of Object.keys(headers)) payload += `${name}: ${headers[name]}\r\n`; + const proxyResponsePromise = (0, parse_proxy_response_1.parseProxyResponse)(socket); + socket.write(`${payload}\r\n`); + const {connect, buffered} = await proxyResponsePromise; + if (req.emit("proxyConnect", connect), this.emit("proxyConnect", connect, req), + 200 === connect.statusCode) { + if (req.once("socket", resume), opts.secureEndpoint) { + debug("Upgrading socket connection to TLS"); + const servername = opts.servername || opts.host; + return tls.connect({ + ...omit(opts, "host", "path", "port"), + socket, + servername + }); + } + return socket; + } + socket.destroy(); + const fakeSocket = new net.Socket({ + writable: !1 + }); + return fakeSocket.readable = !0, req.once("socket", (s => { + debug("Replaying proxy buffer for failed request"), (0, assert_1.default)(s.listenerCount("data") > 0), + s.push(buffered), s.push(null); + })), fakeSocket; } } - function generateAccountSASQueryParameters(accountSASSignatureValues, sharedKeyCredential) { - const version = accountSASSignatureValues.version ? accountSASSignatureValues.version : SERVICE_VERSION; - if (accountSASSignatureValues.permissions && accountSASSignatureValues.permissions.setImmutabilityPolicy && version < "2020-08-04") throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission."); - if (accountSASSignatureValues.permissions && accountSASSignatureValues.permissions.deleteVersion && version < "2019-10-10") throw RangeError("'version' must be >= '2019-10-10' when provided 'x' permission."); - if (accountSASSignatureValues.permissions && accountSASSignatureValues.permissions.permanentDelete && version < "2019-10-10") throw RangeError("'version' must be >= '2019-10-10' when provided 'y' permission."); - if (accountSASSignatureValues.permissions && accountSASSignatureValues.permissions.tag && version < "2019-12-12") throw RangeError("'version' must be >= '2019-12-12' when provided 't' permission."); - if (accountSASSignatureValues.permissions && accountSASSignatureValues.permissions.filter && version < "2019-12-12") throw RangeError("'version' must be >= '2019-12-12' when provided 'f' permission."); - if (accountSASSignatureValues.encryptionScope && version < "2020-12-06") throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS."); - const parsedPermissions = AccountSASPermissions.parse(accountSASSignatureValues.permissions.toString()), parsedServices = AccountSASServices.parse(accountSASSignatureValues.services).toString(), parsedResourceTypes = AccountSASResourceTypes.parse(accountSASSignatureValues.resourceTypes).toString(); - let stringToSign; - stringToSign = version >= "2020-12-06" ? [ sharedKeyCredential.accountName, parsedPermissions, parsedServices, parsedResourceTypes, accountSASSignatureValues.startsOn ? truncatedISO8061Date(accountSASSignatureValues.startsOn, !1) : "", truncatedISO8061Date(accountSASSignatureValues.expiresOn, !1), accountSASSignatureValues.ipRange ? ipRangeToString(accountSASSignatureValues.ipRange) : "", accountSASSignatureValues.protocol ? accountSASSignatureValues.protocol : "", version, accountSASSignatureValues.encryptionScope ? accountSASSignatureValues.encryptionScope : "", "" ].join("\n") : [ sharedKeyCredential.accountName, parsedPermissions, parsedServices, parsedResourceTypes, accountSASSignatureValues.startsOn ? truncatedISO8061Date(accountSASSignatureValues.startsOn, !1) : "", truncatedISO8061Date(accountSASSignatureValues.expiresOn, !1), accountSASSignatureValues.ipRange ? ipRangeToString(accountSASSignatureValues.ipRange) : "", accountSASSignatureValues.protocol ? accountSASSignatureValues.protocol : "", version, "" ].join("\n"); - const signature = sharedKeyCredential.computeHMACSHA256(stringToSign); - return new SASQueryParameters(version, signature, parsedPermissions.toString(), parsedServices, parsedResourceTypes, accountSASSignatureValues.protocol, accountSASSignatureValues.startsOn, accountSASSignatureValues.expiresOn, accountSASSignatureValues.ipRange, void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0, accountSASSignatureValues.encryptionScope); + function resume(socket) { + socket.resume(); } - class BlobServiceClient extends StorageClient { - constructor(url, credentialOrPipeline, options) { - let pipeline; - pipeline = isPipelineLike(credentialOrPipeline) ? credentialOrPipeline : utils_isNode && credentialOrPipeline instanceof StorageSharedKeyCredential || credentialOrPipeline instanceof AnonymousCredential || isTokenCredential(credentialOrPipeline) ? newPipeline(credentialOrPipeline, options) : newPipeline(new AnonymousCredential, options), - super(url, pipeline), this.serviceContext = new Service(this.storageClientContext); + function omit(obj, ...keys) { + const ret = {}; + let key; + for (key in obj) keys.includes(key) || (ret[key] = obj[key]); + return ret; + } + HttpsProxyAgent.protocols = [ "http", "https" ], exports.HttpsProxyAgent = HttpsProxyAgent; + }, + 7336: function(__unused_webpack_module, exports, __webpack_require__) { + "use strict"; + var __importDefault = this && this.__importDefault || function(mod) { + return mod && mod.__esModule ? mod : { + default: mod + }; + }; + Object.defineProperty(exports, "__esModule", { + value: !0 + }), exports.parseProxyResponse = void 0; + const debug = (0, __importDefault(__webpack_require__(5915)).default)("https-proxy-agent:parse-proxy-response"); + exports.parseProxyResponse = function(socket) { + return new Promise(((resolve, reject) => { + let buffersLength = 0; + const buffers = []; + function read() { + const b = socket.read(); + b ? function(b) { + buffers.push(b), buffersLength += b.length; + const buffered = Buffer.concat(buffers, buffersLength), endOfHeaders = buffered.indexOf("\r\n\r\n"); + if (-1 === endOfHeaders) return debug("have not received end of HTTP headers yet..."), + void read(); + const headerParts = buffered.slice(0, endOfHeaders).toString("ascii").split("\r\n"), firstLine = headerParts.shift(); + if (!firstLine) return socket.destroy(), reject(new Error("No header received from proxy CONNECT response")); + const firstLineParts = firstLine.split(" "), statusCode = +firstLineParts[1], statusText = firstLineParts.slice(2).join(" "), headers = {}; + for (const header of headerParts) { + if (!header) continue; + const firstColon = header.indexOf(":"); + if (-1 === firstColon) return socket.destroy(), reject(new Error(`Invalid header from proxy CONNECT response: "${header}"`)); + const key = header.slice(0, firstColon).toLowerCase(), value = header.slice(firstColon + 1).trimStart(), current = headers[key]; + "string" == typeof current ? headers[key] = [ current, value ] : Array.isArray(current) ? current.push(value) : headers[key] = value; + } + debug("got proxy server response: %o %o", firstLine, headers), cleanup(), resolve({ + connect: { + statusCode, + statusText, + headers + }, + buffered + }); + }(b) : socket.once("readable", read); + } + function cleanup() { + socket.removeListener("end", onend), socket.removeListener("error", onerror), socket.removeListener("readable", read); + } + function onend() { + cleanup(), debug("onend"), reject(new Error("Proxy connection ended before receiving CONNECT response")); + } + function onerror(err) { + cleanup(), debug("onerror %o", err), reject(err); + } + socket.on("error", onerror), socket.on("end", onend), read(); + })); + }; + }, + 3631: (module, exports, __webpack_require__) => { + exports.formatArgs = function(args) { + if (args[0] = (this.useColors ? "%c" : "") + this.namespace + (this.useColors ? " %c" : " ") + args[0] + (this.useColors ? "%c " : " ") + "+" + module.exports.humanize(this.diff), + !this.useColors) return; + const c = "color: " + this.color; + args.splice(1, 0, c, "color: inherit"); + let index = 0, lastC = 0; + args[0].replace(/%[a-zA-Z%]/g, (match => { + "%%" !== match && (index++, "%c" === match && (lastC = index)); + })), args.splice(lastC, 0, c); + }, exports.save = function(namespaces) { + try { + namespaces ? exports.storage.setItem("debug", namespaces) : exports.storage.removeItem("debug"); + } catch (error) {} + }, exports.load = function() { + let r; + try { + r = exports.storage.getItem("debug"); + } catch (error) {} + !r && "undefined" != typeof process && "env" in process && (r = process.env.DEBUG); + return r; + }, exports.useColors = function() { + if ("undefined" != typeof window && window.process && ("renderer" === window.process.type || window.process.__nwjs)) return !0; + if ("undefined" != typeof navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) return !1; + return "undefined" != typeof document && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || "undefined" != typeof window && window.console && (window.console.firebug || window.console.exception && window.console.table) || "undefined" != typeof navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31 || "undefined" != typeof navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/); + }, exports.storage = function() { + try { + return localStorage; + } catch (error) {} + }(), exports.destroy = (() => { + let warned = !1; + return () => { + warned || (warned = !0, console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")); + }; + })(), exports.colors = [ "#0000CC", "#0000FF", "#0033CC", "#0033FF", "#0066CC", "#0066FF", "#0099CC", "#0099FF", "#00CC00", "#00CC33", "#00CC66", "#00CC99", "#00CCCC", "#00CCFF", "#3300CC", "#3300FF", "#3333CC", "#3333FF", "#3366CC", "#3366FF", "#3399CC", "#3399FF", "#33CC00", "#33CC33", "#33CC66", "#33CC99", "#33CCCC", "#33CCFF", "#6600CC", "#6600FF", "#6633CC", "#6633FF", "#66CC00", "#66CC33", "#9900CC", "#9900FF", "#9933CC", "#9933FF", "#99CC00", "#99CC33", "#CC0000", "#CC0033", "#CC0066", "#CC0099", "#CC00CC", "#CC00FF", "#CC3300", "#CC3333", "#CC3366", "#CC3399", "#CC33CC", "#CC33FF", "#CC6600", "#CC6633", "#CC9900", "#CC9933", "#CCCC00", "#CCCC33", "#FF0000", "#FF0033", "#FF0066", "#FF0099", "#FF00CC", "#FF00FF", "#FF3300", "#FF3333", "#FF3366", "#FF3399", "#FF33CC", "#FF33FF", "#FF6600", "#FF6633", "#FF9900", "#FF9933", "#FFCC00", "#FFCC33" ], + exports.log = console.debug || console.log || (() => {}), module.exports = __webpack_require__(5650)(exports); + const {formatters} = module.exports; + formatters.j = function(v) { + try { + return JSON.stringify(v); + } catch (error) { + return "[UnexpectedJSONParseError]: " + error.message; } - static fromConnectionString(connectionString, options) { - options = options || {}; - const extractedCreds = extractConnectionStringParts(connectionString); - if ("AccountConnString" === extractedCreds.kind) { - if (utils_isNode) { - const sharedKeyCredential = new StorageSharedKeyCredential(extractedCreds.accountName, extractedCreds.accountKey); - options.proxyOptions || (options.proxyOptions = getDefaultProxySettings(extractedCreds.proxyUri)); - const pipeline = newPipeline(sharedKeyCredential, options); - return new BlobServiceClient(extractedCreds.url, pipeline); + }; + }, + 5650: (module, __unused_webpack_exports, __webpack_require__) => { + module.exports = function(env) { + function createDebug(namespace) { + let prevTime, namespacesCache, enabledCache, enableOverride = null; + function debug(...args) { + if (!debug.enabled) return; + const self = debug, curr = Number(new Date), ms = curr - (prevTime || curr); + self.diff = ms, self.prev = prevTime, self.curr = curr, prevTime = curr, args[0] = createDebug.coerce(args[0]), + "string" != typeof args[0] && args.unshift("%O"); + let index = 0; + args[0] = args[0].replace(/%([a-zA-Z%])/g, ((match, format) => { + if ("%%" === match) return "%"; + index++; + const formatter = createDebug.formatters[format]; + if ("function" == typeof formatter) { + const val = args[index]; + match = formatter.call(self, val), args.splice(index, 1), index--; + } + return match; + })), createDebug.formatArgs.call(self, args); + (self.log || createDebug.log).apply(self, args); + } + return debug.namespace = namespace, debug.useColors = createDebug.useColors(), debug.color = createDebug.selectColor(namespace), + debug.extend = extend, debug.destroy = createDebug.destroy, Object.defineProperty(debug, "enabled", { + enumerable: !0, + configurable: !1, + get: () => null !== enableOverride ? enableOverride : (namespacesCache !== createDebug.namespaces && (namespacesCache = createDebug.namespaces, + enabledCache = createDebug.enabled(namespace)), enabledCache), + set: v => { + enableOverride = v; + } + }), "function" == typeof createDebug.init && createDebug.init(debug), debug; + } + function extend(namespace, delimiter) { + const newDebug = createDebug(this.namespace + (void 0 === delimiter ? ":" : delimiter) + namespace); + return newDebug.log = this.log, newDebug; + } + function toNamespace(regexp) { + return regexp.toString().substring(2, regexp.toString().length - 2).replace(/\.\*\?$/, "*"); + } + return createDebug.debug = createDebug, createDebug.default = createDebug, createDebug.coerce = function(val) { + if (val instanceof Error) return val.stack || val.message; + return val; + }, createDebug.disable = function() { + const namespaces = [ ...createDebug.names.map(toNamespace), ...createDebug.skips.map(toNamespace).map((namespace => "-" + namespace)) ].join(","); + return createDebug.enable(""), namespaces; + }, createDebug.enable = function(namespaces) { + let i; + createDebug.save(namespaces), createDebug.namespaces = namespaces, createDebug.names = [], + createDebug.skips = []; + const split = ("string" == typeof namespaces ? namespaces : "").split(/[\s,]+/), len = split.length; + for (i = 0; i < len; i++) split[i] && ("-" === (namespaces = split[i].replace(/\*/g, ".*?"))[0] ? createDebug.skips.push(new RegExp("^" + namespaces.slice(1) + "$")) : createDebug.names.push(new RegExp("^" + namespaces + "$"))); + }, createDebug.enabled = function(name) { + if ("*" === name[name.length - 1]) return !0; + let i, len; + for (i = 0, len = createDebug.skips.length; i < len; i++) if (createDebug.skips[i].test(name)) return !1; + for (i = 0, len = createDebug.names.length; i < len; i++) if (createDebug.names[i].test(name)) return !0; + return !1; + }, createDebug.humanize = __webpack_require__(5693), createDebug.destroy = function() { + console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."); + }, Object.keys(env).forEach((key => { + createDebug[key] = env[key]; + })), createDebug.names = [], createDebug.skips = [], createDebug.formatters = {}, + createDebug.selectColor = function(namespace) { + let hash = 0; + for (let i = 0; i < namespace.length; i++) hash = (hash << 5) - hash + namespace.charCodeAt(i), + hash |= 0; + return createDebug.colors[Math.abs(hash) % createDebug.colors.length]; + }, createDebug.enable(createDebug.load()), createDebug; + }; + }, + 5915: (module, __unused_webpack_exports, __webpack_require__) => { + "undefined" == typeof process || "renderer" === process.type || !0 === process.browser || process.__nwjs ? module.exports = __webpack_require__(3631) : module.exports = __webpack_require__(1531); + }, + 1531: (module, exports, __webpack_require__) => { + const tty = __webpack_require__(2018), util = __webpack_require__(9023); + exports.init = function(debug) { + debug.inspectOpts = {}; + const keys = Object.keys(exports.inspectOpts); + for (let i = 0; i < keys.length; i++) debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]]; + }, exports.log = function(...args) { + return process.stderr.write(util.formatWithOptions(exports.inspectOpts, ...args) + "\n"); + }, exports.formatArgs = function(args) { + const {namespace: name, useColors} = this; + if (useColors) { + const c = this.color, colorCode = "[3" + (c < 8 ? c : "8;5;" + c), prefix = ` ${colorCode};1m${name} `; + args[0] = prefix + args[0].split("\n").join("\n" + prefix), args.push(colorCode + "m+" + module.exports.humanize(this.diff) + ""); + } else args[0] = function() { + if (exports.inspectOpts.hideDate) return ""; + return (new Date).toISOString() + " "; + }() + name + " " + args[0]; + }, exports.save = function(namespaces) { + namespaces ? process.env.DEBUG = namespaces : delete process.env.DEBUG; + }, exports.load = function() { + return process.env.DEBUG; + }, exports.useColors = function() { + return "colors" in exports.inspectOpts ? Boolean(exports.inspectOpts.colors) : tty.isatty(process.stderr.fd); + }, exports.destroy = util.deprecate((() => {}), "Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."), + exports.colors = [ 6, 2, 3, 4, 5, 1 ]; + try { + const supportsColor = __webpack_require__(6603); + supportsColor && (supportsColor.stderr || supportsColor).level >= 2 && (exports.colors = [ 20, 21, 26, 27, 32, 33, 38, 39, 40, 41, 42, 43, 44, 45, 56, 57, 62, 63, 68, 69, 74, 75, 76, 77, 78, 79, 80, 81, 92, 93, 98, 99, 112, 113, 128, 129, 134, 135, 148, 149, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 178, 179, 184, 185, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 214, 215, 220, 221 ]); + } catch (error) {} + exports.inspectOpts = Object.keys(process.env).filter((key => /^debug_/i.test(key))).reduce(((obj, key) => { + const prop = key.substring(6).toLowerCase().replace(/_([a-z])/g, ((_, k) => k.toUpperCase())); + let val = process.env[key]; + return val = !!/^(yes|on|true|enabled)$/i.test(val) || !/^(no|off|false|disabled)$/i.test(val) && ("null" === val ? null : Number(val)), + obj[prop] = val, obj; + }), {}), module.exports = __webpack_require__(5650)(exports); + const {formatters} = module.exports; + formatters.o = function(v) { + return this.inspectOpts.colors = this.useColors, util.inspect(v, this.inspectOpts).split("\n").map((str => str.trim())).join(" "); + }, formatters.O = function(v) { + return this.inspectOpts.colors = this.useColors, util.inspect(v, this.inspectOpts); + }; + }, + 7265: (__unused_webpack_module, exports, __webpack_require__) => { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: !0 + }), exports.of = exports.PropertiesFile = void 0; + var obj, _fs = (obj = __webpack_require__(9896)) && obj.__esModule ? obj : { + default: obj + }; + class PropertiesFile { + constructor(...args) { + this.objs = {}, args.length && this.of.apply(this, args); + } + makeKeys(line) { + if (line && 0 !== line.indexOf("#")) { + let separatorPositions = [ "=", ":" ].map((sep => line.indexOf(sep))).filter((index => index > -1)), splitIndex = Math.min(...separatorPositions), key = line.substring(0, splitIndex).trim(), value = line.substring(splitIndex + 1).trim(); + if (this.objs.hasOwnProperty(key)) if (Array.isArray(this.objs[key])) this.objs[key].push(value); else { + let oldValue = this.objs[key]; + this.objs[key] = [ oldValue, value ]; + } else { + const escapedValue = value.replace(/"/g, '\\"').replace(/\\:/g, ":").replace(/\\=/g, "="); + this.objs[key] = unescape(JSON.parse('"' + escapedValue + '"')); + } + } + } + addFile(file) { + let items = _fs.default.readFileSync(file, "utf-8").split(/\r?\n/), me = this; + for (let i = 0; i < items.length; i++) { + let line = items[i]; + for (;"\\" === line.substring(line.length - 1); ) { + line = line.slice(0, -1), line += items[i + 1].trim(), i++; + } + me.makeKeys(line); + } + } + of(...args) { + for (let i = 0; i < args.length; i++) this.addFile(args[i]); + } + get(key, defaultValue) { + if (this.objs.hasOwnProperty(key)) { + if (Array.isArray(this.objs[key])) { + let ret = []; + for (let i = 0; i < this.objs[key].length; i++) ret[i] = this.interpolate(this.objs[key][i]); + return ret; } - throw new Error("Account connection string is only supported in Node.js environment"); + return void 0 === this.objs[key] ? "" : this.interpolate(this.objs[key]); } - if ("SASConnString" === extractedCreds.kind) { - const pipeline = newPipeline(new AnonymousCredential, options); - return new BlobServiceClient(extractedCreds.url + "?" + extractedCreds.accountSas, pipeline); + return defaultValue; + } + getLast(key, defaultValue) { + if (this.objs.hasOwnProperty(key)) { + if (Array.isArray(this.objs[key])) { + var lg = this.objs[key].length; + return this.interpolate(this.objs[key][lg - 1]); + } + return void 0 === this.objs[key] ? "" : this.interpolate(this.objs[key]); } - throw new Error("Connection string must be either an Account connection string or a SAS connection string"); + return defaultValue; } - getContainerClient(containerName) { - return new ContainerClient(appendToURLPath(this.url, encodeURIComponent(containerName)), this.pipeline); + getFirst(key, defaultValue) { + return this.objs.hasOwnProperty(key) ? Array.isArray(this.objs[key]) ? this.interpolate(this.objs[key][0]) : void 0 === this.objs[key] ? "" : this.interpolate(this.objs[key]) : defaultValue; } - async createContainer(containerName, options = {}) { - const {span, updatedOptions} = tracing_createSpan("BlobServiceClient-createContainer", options); - try { - const containerClient = this.getContainerClient(containerName), containerCreateResponse = await containerClient.create(updatedOptions); - return { - containerClient, - containerCreateResponse - }; - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } + getInt(key, defaultIntValue) { + let val = this.getLast(key); + return val ? parseInt(val, 10) : defaultIntValue; } - async deleteContainer(containerName, options = {}) { - const {span, updatedOptions} = tracing_createSpan("BlobServiceClient-deleteContainer", options); - try { - const containerClient = this.getContainerClient(containerName); - return await containerClient.delete(updatedOptions); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } + getFloat(key, defaultFloatValue) { + let val = this.getLast(key); + return val ? parseFloat(val) : defaultFloatValue; } - async undeleteContainer(deletedContainerName, deletedContainerVersion, options = {}) { - const {span, updatedOptions} = tracing_createSpan("BlobServiceClient-undeleteContainer", options); - try { - const containerClient = this.getContainerClient(options.destinationContainerName || deletedContainerName), containerContext = new Container(containerClient.storageClientContext); - return { - containerClient, - containerUndeleteResponse: await containerContext.restore(Object.assign({ - deletedContainerName, - deletedContainerVersion - }, updatedOptions)) - }; - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } + getBoolean(key, defaultBooleanValue) { + let val = this.getLast(key); + return val ? !/^(false|0)$/i.test(b = val) && !!b : defaultBooleanValue || !1; + var b; } - async renameContainer(sourceContainerName, destinationContainerName, options = {}) { - var _a; - const {span, updatedOptions} = tracing_createSpan("BlobServiceClient-renameContainer", options); - try { - const containerClient = this.getContainerClient(destinationContainerName), containerContext = new Container(containerClient.storageClientContext); - return { - containerClient, - containerRenameResponse: await containerContext.rename(sourceContainerName, Object.assign(Object.assign({}, updatedOptions), { - sourceLeaseId: null === (_a = options.sourceCondition) || void 0 === _a ? void 0 : _a.leaseId - })) - }; - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); + set(key, value) { + this.objs[key] = value; + } + interpolate(s) { + let me = this; + return s.replace(/\\\\/g, "\\").replace(/\$\{([A-Za-z0-9\.\-\_]*)\}/g, (function(match) { + return me.getLast(match.substring(2, match.length - 1)); + })); + } + getKeys() { + let keys = []; + for (let key in this.objs) keys.push(key); + return keys; + } + getMatchingKeys(matchstr) { + let keys = []; + for (let key in this.objs) -1 !== key.search(matchstr) && keys.push(key); + return keys; + } + reset() { + this.objs = {}; + } + } + exports.PropertiesFile = PropertiesFile; + exports.of = function(...args) { + let globalFile = new PropertiesFile; + return globalFile.of.apply(globalFile, args), globalFile; + }; + }, + 2535: (module, __unused_webpack_exports, __webpack_require__) => { + module.exports = minimatch, minimatch.Minimatch = Minimatch; + var path = function() { + try { + return __webpack_require__(6928); + } catch (e) {} + }() || { + sep: "/" + }; + minimatch.sep = path.sep; + var GLOBSTAR = minimatch.GLOBSTAR = Minimatch.GLOBSTAR = {}, expand = __webpack_require__(8482), plTypes = { + "!": { + open: "(?:(?!(?:", + close: "))[^/]*?)" + }, + "?": { + open: "(?:", + close: ")?" + }, + "+": { + open: "(?:", + close: ")+" + }, + "*": { + open: "(?:", + close: ")*" + }, + "@": { + open: "(?:", + close: ")" + } + }, reSpecials = "().*{}+?[]^$\\!".split("").reduce((function(set, c) { + return set[c] = !0, set; + }), {}); + var slashSplit = /\/+/; + function ext(a, b) { + b = b || {}; + var t = {}; + return Object.keys(a).forEach((function(k) { + t[k] = a[k]; + })), Object.keys(b).forEach((function(k) { + t[k] = b[k]; + })), t; + } + function minimatch(p, pattern, options) { + return assertValidPattern(pattern), options || (options = {}), !(!options.nocomment && "#" === pattern.charAt(0)) && new Minimatch(pattern, options).match(p); + } + function Minimatch(pattern, options) { + if (!(this instanceof Minimatch)) return new Minimatch(pattern, options); + assertValidPattern(pattern), options || (options = {}), pattern = pattern.trim(), + options.allowWindowsEscape || "/" === path.sep || (pattern = pattern.split(path.sep).join("/")), + this.options = options, this.set = [], this.pattern = pattern, this.regexp = null, + this.negate = !1, this.comment = !1, this.empty = !1, this.partial = !!options.partial, + this.make(); + } + function braceExpand(pattern, options) { + return options || (options = this instanceof Minimatch ? this.options : {}), pattern = void 0 === pattern ? this.pattern : pattern, + assertValidPattern(pattern), options.nobrace || !/\{(?:(?!\{).)*\}/.test(pattern) ? [ pattern ] : expand(pattern); + } + minimatch.filter = function(pattern, options) { + return options = options || {}, function(p, i, list) { + return minimatch(p, pattern, options); + }; + }, minimatch.defaults = function(def) { + if (!def || "object" != typeof def || !Object.keys(def).length) return minimatch; + var orig = minimatch, m = function(p, pattern, options) { + return orig(p, pattern, ext(def, options)); + }; + return (m.Minimatch = function(pattern, options) { + return new orig.Minimatch(pattern, ext(def, options)); + }).defaults = function(options) { + return orig.defaults(ext(def, options)).Minimatch; + }, m.filter = function(pattern, options) { + return orig.filter(pattern, ext(def, options)); + }, m.defaults = function(options) { + return orig.defaults(ext(def, options)); + }, m.makeRe = function(pattern, options) { + return orig.makeRe(pattern, ext(def, options)); + }, m.braceExpand = function(pattern, options) { + return orig.braceExpand(pattern, ext(def, options)); + }, m.match = function(list, pattern, options) { + return orig.match(list, pattern, ext(def, options)); + }, m; + }, Minimatch.defaults = function(def) { + return minimatch.defaults(def).Minimatch; + }, Minimatch.prototype.debug = function() {}, Minimatch.prototype.make = function() { + var pattern = this.pattern, options = this.options; + if (!options.nocomment && "#" === pattern.charAt(0)) return void (this.comment = !0); + if (!pattern) return void (this.empty = !0); + this.parseNegate(); + var set = this.globSet = this.braceExpand(); + options.debug && (this.debug = function() { + console.error.apply(console, arguments); + }); + this.debug(this.pattern, set), set = this.globParts = set.map((function(s) { + return s.split(slashSplit); + })), this.debug(this.pattern, set), set = set.map((function(s, si, set) { + return s.map(this.parse, this); + }), this), this.debug(this.pattern, set), set = set.filter((function(s) { + return -1 === s.indexOf(!1); + })), this.debug(this.pattern, set), this.set = set; + }, Minimatch.prototype.parseNegate = function() { + var pattern = this.pattern, negate = !1, options = this.options, negateOffset = 0; + if (options.nonegate) return; + for (var i = 0, l = pattern.length; i < l && "!" === pattern.charAt(i); i++) negate = !negate, + negateOffset++; + negateOffset && (this.pattern = pattern.substr(negateOffset)); + this.negate = negate; + }, minimatch.braceExpand = function(pattern, options) { + return braceExpand(pattern, options); + }, Minimatch.prototype.braceExpand = braceExpand; + var assertValidPattern = function(pattern) { + if ("string" != typeof pattern) throw new TypeError("invalid pattern"); + if (pattern.length > 65536) throw new TypeError("pattern is too long"); + }; + Minimatch.prototype.parse = function(pattern, isSub) { + assertValidPattern(pattern); + var options = this.options; + if ("**" === pattern) { + if (!options.noglobstar) return GLOBSTAR; + pattern = "*"; + } + if ("" === pattern) return ""; + var stateChar, re = "", hasMagic = !!options.nocase, escaping = !1, patternListStack = [], negativeLists = [], inClass = !1, reClassStart = -1, classStart = -1, patternStart = "." === pattern.charAt(0) ? "" : options.dot ? "(?!(?:^|\\/)\\.{1,2}(?:$|\\/))" : "(?!\\.)", self = this; + function clearStateChar() { + if (stateChar) { + switch (stateChar) { + case "*": + re += "[^/]*?", hasMagic = !0; + break; + + case "?": + re += "[^/]", hasMagic = !0; + break; + + default: + re += "\\" + stateChar; + } + self.debug("clearStateChar %j %j", stateChar, re), stateChar = !1; } } - async getProperties(options = {}) { - const {span, updatedOptions} = tracing_createSpan("BlobServiceClient-getProperties", options); - try { - return await this.serviceContext.getProperties(Object.assign({ - abortSignal: options.abortSignal - }, convertTracingToRequestOptionsBase(updatedOptions))); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); + for (var c, i = 0, len = pattern.length; i < len && (c = pattern.charAt(i)); i++) if (this.debug("%s\t%s %s %j", pattern, i, re, c), + escaping && reSpecials[c]) re += "\\" + c, escaping = !1; else switch (c) { + case "/": + return !1; + + case "\\": + clearStateChar(), escaping = !0; + continue; + + case "?": + case "*": + case "+": + case "@": + case "!": + if (this.debug("%s\t%s %s %j <-- stateChar", pattern, i, re, c), inClass) { + this.debug(" in class"), "!" === c && i === classStart + 1 && (c = "^"), re += c; + continue; + } + self.debug("call clearStateChar %j", stateChar), clearStateChar(), stateChar = c, + options.noext && clearStateChar(); + continue; + + case "(": + if (inClass) { + re += "("; + continue; } - } - async setProperties(properties, options = {}) { - const {span, updatedOptions} = tracing_createSpan("BlobServiceClient-setProperties", options); - try { - return await this.serviceContext.setProperties(properties, Object.assign({ - abortSignal: options.abortSignal - }, convertTracingToRequestOptionsBase(updatedOptions))); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); + if (!stateChar) { + re += "\\("; + continue; } - } - async getStatistics(options = {}) { - const {span, updatedOptions} = tracing_createSpan("BlobServiceClient-getStatistics", options); - try { - return await this.serviceContext.getStatistics(Object.assign({ - abortSignal: options.abortSignal - }, convertTracingToRequestOptionsBase(updatedOptions))); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); + patternListStack.push({ + type: stateChar, + start: i - 1, + reStart: re.length, + open: plTypes[stateChar].open, + close: plTypes[stateChar].close + }), re += "!" === stateChar ? "(?:(?!(?:" : "(?:", this.debug("plType %j %j", stateChar, re), + stateChar = !1; + continue; + + case ")": + if (inClass || !patternListStack.length) { + re += "\\)"; + continue; } - } - async getAccountInfo(options = {}) { - const {span, updatedOptions} = tracing_createSpan("BlobServiceClient-getAccountInfo", options); - try { - return await this.serviceContext.getAccountInfo(Object.assign({ - abortSignal: options.abortSignal - }, convertTracingToRequestOptionsBase(updatedOptions))); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); + clearStateChar(), hasMagic = !0; + var pl = patternListStack.pop(); + re += pl.close, "!" === pl.type && negativeLists.push(pl), pl.reEnd = re.length; + continue; + + case "|": + if (inClass || !patternListStack.length || escaping) { + re += "\\|", escaping = !1; + continue; } - } - async listContainersSegment(marker, options = {}) { - const {span, updatedOptions} = tracing_createSpan("BlobServiceClient-listContainersSegment", options); - try { - return await this.serviceContext.listContainersSegment(Object.assign(Object.assign(Object.assign({ - abortSignal: options.abortSignal, - marker - }, options), { - include: "string" == typeof options.include ? [ options.include ] : options.include - }), convertTracingToRequestOptionsBase(updatedOptions))); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); + clearStateChar(), re += "|"; + continue; + + case "[": + if (clearStateChar(), inClass) { + re += "\\" + c; + continue; } - } - async findBlobsByTagsSegment(tagFilterSqlExpression, marker, options = {}) { - const {span, updatedOptions} = tracing_createSpan("BlobServiceClient-findBlobsByTagsSegment", options); + inClass = !0, classStart = i, reClassStart = re.length, re += c; + continue; + + case "]": + if (i === classStart + 1 || !inClass) { + re += "\\" + c, escaping = !1; + continue; + } + var cs = pattern.substring(classStart + 1, i); try { - const response = await this.serviceContext.filterBlobs(Object.assign({ - abortSignal: options.abortSignal, - where: tagFilterSqlExpression, - marker, - maxPageSize: options.maxPageSize - }, convertTracingToRequestOptionsBase(updatedOptions))); - return Object.assign(Object.assign({}, response), { - _response: response._response, - blobs: response.blobs.map((blob => { - var _a; - let tagValue = ""; - return 1 === (null === (_a = blob.tags) || void 0 === _a ? void 0 : _a.blobTagSet.length) && (tagValue = blob.tags.blobTagSet[0].value), - Object.assign(Object.assign({}, blob), { - tags: toTags(blob.tags), - tagValue - }); - })) - }); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); + RegExp("[" + cs + "]"); + } catch (er) { + var sp = this.parse(cs, SUBPARSE); + re = re.substr(0, reClassStart) + "\\[" + sp[0] + "\\]", hasMagic = hasMagic || sp[1], + inClass = !1; + continue; } + hasMagic = !0, inClass = !1, re += c; + continue; + + default: + clearStateChar(), escaping ? escaping = !1 : !reSpecials[c] || "^" === c && inClass || (re += "\\"), + re += c; } - findBlobsByTagsSegments(tagFilterSqlExpression, marker, options = {}) { - return tslib_es6_asyncGenerator(this, arguments, (function*() { - let response; - if (marker || void 0 === marker) do { - response = yield tslib_es6_await(this.findBlobsByTagsSegment(tagFilterSqlExpression, marker, options)), - response.blobs = response.blobs || [], marker = response.continuationToken, yield yield tslib_es6_await(response); - } while (marker); - })); - } - findBlobsByTagsItems(tagFilterSqlExpression, options = {}) { - return tslib_es6_asyncGenerator(this, arguments, (function*() { - var e_1, _a; - try { - for (var _c, _b = tslib_es6_asyncValues(this.findBlobsByTagsSegments(tagFilterSqlExpression, undefined, options)); !(_c = yield tslib_es6_await(_b.next())).done; ) { - const segment = _c.value; - yield tslib_es6_await(yield* tslib_es6_asyncDelegator(tslib_es6_asyncValues(segment.blobs))); - } - } catch (e_1_1) { - e_1 = { - error: e_1_1 - }; - } finally { - try { - _c && !_c.done && (_a = _b.return) && (yield tslib_es6_await(_a.call(_b))); - } finally { - if (e_1) throw e_1.error; - } - } - })); - } - findBlobsByTags(tagFilterSqlExpression, options = {}) { - const listSegmentOptions = Object.assign({}, options), iter = this.findBlobsByTagsItems(tagFilterSqlExpression, listSegmentOptions); - return { - next: () => iter.next(), - [Symbol.asyncIterator]() { - return this; - }, - byPage: (settings = {}) => this.findBlobsByTagsSegments(tagFilterSqlExpression, settings.continuationToken, Object.assign({ - maxPageSize: settings.maxPageSize - }, listSegmentOptions)) - }; + inClass && (cs = pattern.substr(classStart + 1), sp = this.parse(cs, SUBPARSE), + re = re.substr(0, reClassStart) + "\\[" + sp[0], hasMagic = hasMagic || sp[1]); + for (pl = patternListStack.pop(); pl; pl = patternListStack.pop()) { + var tail = re.slice(pl.reStart + pl.open.length); + this.debug("setting tail", re, pl), tail = tail.replace(/((?:\\{2}){0,64})(\\?)\|/g, (function(_, $1, $2) { + return $2 || ($2 = "\\"), $1 + $1 + $2 + "|"; + })), this.debug("tail=%j\n %s", tail, tail, pl, re); + var t = "*" === pl.type ? "[^/]*?" : "?" === pl.type ? "[^/]" : "\\" + pl.type; + hasMagic = !0, re = re.slice(0, pl.reStart) + t + "\\(" + tail; } - listSegments(marker, options = {}) { - return tslib_es6_asyncGenerator(this, arguments, (function*() { - let listContainersSegmentResponse; - if (marker || void 0 === marker) do { - listContainersSegmentResponse = yield tslib_es6_await(this.listContainersSegment(marker, options)), - listContainersSegmentResponse.containerItems = listContainersSegmentResponse.containerItems || [], - marker = listContainersSegmentResponse.continuationToken, yield yield tslib_es6_await(yield tslib_es6_await(listContainersSegmentResponse)); - } while (marker); - })); + clearStateChar(), escaping && (re += "\\\\"); + var addPatternStart = !1; + switch (re.charAt(0)) { + case "[": + case ".": + case "(": + addPatternStart = !0; } - listItems(options = {}) { - return tslib_es6_asyncGenerator(this, arguments, (function*() { - var e_2, _a; - try { - for (var _c, _b = tslib_es6_asyncValues(this.listSegments(undefined, options)); !(_c = yield tslib_es6_await(_b.next())).done; ) { - const segment = _c.value; - yield tslib_es6_await(yield* tslib_es6_asyncDelegator(tslib_es6_asyncValues(segment.containerItems))); - } - } catch (e_2_1) { - e_2 = { - error: e_2_1 - }; - } finally { - try { - _c && !_c.done && (_a = _b.return) && (yield tslib_es6_await(_a.call(_b))); - } finally { - if (e_2) throw e_2.error; - } - } - })); + for (var n = negativeLists.length - 1; n > -1; n--) { + var nl = negativeLists[n], nlBefore = re.slice(0, nl.reStart), nlFirst = re.slice(nl.reStart, nl.reEnd - 8), nlLast = re.slice(nl.reEnd - 8, nl.reEnd), nlAfter = re.slice(nl.reEnd); + nlLast += nlAfter; + var openParensBefore = nlBefore.split("(").length - 1, cleanAfter = nlAfter; + for (i = 0; i < openParensBefore; i++) cleanAfter = cleanAfter.replace(/\)[+*?]?/, ""); + var dollar = ""; + "" === (nlAfter = cleanAfter) && isSub !== SUBPARSE && (dollar = "$"), re = nlBefore + nlFirst + nlAfter + dollar + nlLast; } - listContainers(options = {}) { - "" === options.prefix && (options.prefix = void 0); - const include = []; - options.includeDeleted && include.push("deleted"), options.includeMetadata && include.push("metadata"), - options.includeSystem && include.push("system"); - const listSegmentOptions = Object.assign(Object.assign({}, options), include.length > 0 ? { - include - } : {}), iter = this.listItems(listSegmentOptions); - return { - next: () => iter.next(), - [Symbol.asyncIterator]() { - return this; - }, - byPage: (settings = {}) => this.listSegments(settings.continuationToken, Object.assign({ - maxPageSize: settings.maxPageSize - }, listSegmentOptions)) - }; + "" !== re && hasMagic && (re = "(?=.)" + re); + addPatternStart && (re = patternStart + re); + if (isSub === SUBPARSE) return [ re, hasMagic ]; + if (!hasMagic) return function(s) { + return s.replace(/\\(.)/g, "$1"); + }(pattern); + var flags = options.nocase ? "i" : ""; + try { + var regExp = new RegExp("^" + re + "$", flags); + } catch (er) { + return new RegExp("$."); } - async getUserDelegationKey(startsOn, expiresOn, options = {}) { - const {span, updatedOptions} = tracing_createSpan("BlobServiceClient-getUserDelegationKey", options); - try { - const response = await this.serviceContext.getUserDelegationKey({ - startsOn: truncatedISO8061Date(startsOn, !1), - expiresOn: truncatedISO8061Date(expiresOn, !1) - }, Object.assign({ - abortSignal: options.abortSignal - }, convertTracingToRequestOptionsBase(updatedOptions))), userDelegationKey = { - signedObjectId: response.signedObjectId, - signedTenantId: response.signedTenantId, - signedStartsOn: new Date(response.signedStartsOn), - signedExpiresOn: new Date(response.signedExpiresOn), - signedService: response.signedService, - signedVersion: response.signedVersion, - value: response.value - }; - return Object.assign({ - _response: response._response, - requestId: response.requestId, - clientRequestId: response.clientRequestId, - version: response.version, - date: response.date, - errorCode: response.errorCode - }, userDelegationKey); - } catch (e) { - throw span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message - }), e; - } finally { - span.end(); - } + return regExp._glob = pattern, regExp._src = re, regExp; + }; + var SUBPARSE = {}; + minimatch.makeRe = function(pattern, options) { + return new Minimatch(pattern, options || {}).makeRe(); + }, Minimatch.prototype.makeRe = function() { + if (this.regexp || !1 === this.regexp) return this.regexp; + var set = this.set; + if (!set.length) return this.regexp = !1, this.regexp; + var options = this.options, twoStar = options.noglobstar ? "[^/]*?" : options.dot ? "(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?" : "(?:(?!(?:\\/|^)\\.).)*?", flags = options.nocase ? "i" : "", re = set.map((function(pattern) { + return pattern.map((function(p) { + return p === GLOBSTAR ? twoStar : "string" == typeof p ? function(s) { + return s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"); + }(p) : p._src; + })).join("\\/"); + })).join("|"); + re = "^(?:" + re + ")$", this.negate && (re = "^(?!" + re + ").*$"); + try { + this.regexp = new RegExp(re, flags); + } catch (ex) { + this.regexp = !1; } - getBlobBatchClient() { - return new BlobBatchClient(this.url, this.pipeline); + return this.regexp; + }, minimatch.match = function(list, pattern, options) { + var mm = new Minimatch(pattern, options = options || {}); + return list = list.filter((function(f) { + return mm.match(f); + })), mm.options.nonull && !list.length && list.push(pattern), list; + }, Minimatch.prototype.match = function(f, partial) { + if (void 0 === partial && (partial = this.partial), this.debug("match", f, this.pattern), + this.comment) return !1; + if (this.empty) return "" === f; + if ("/" === f && partial) return !0; + var options = this.options; + "/" !== path.sep && (f = f.split(path.sep).join("/")), f = f.split(slashSplit), + this.debug(this.pattern, "split", f); + var filename, i, set = this.set; + for (this.debug(this.pattern, "set", set), i = f.length - 1; i >= 0 && !(filename = f[i]); i--) ; + for (i = 0; i < set.length; i++) { + var pattern = set[i], file = f; + if (options.matchBase && 1 === pattern.length && (file = [ filename ]), this.matchOne(file, pattern, partial)) return !!options.flipNegate || !this.negate; } - generateAccountSasUrl(expiresOn, permissions = AccountSASPermissions.parse("r"), resourceTypes = "sco", options = {}) { - if (!(this.credential instanceof StorageSharedKeyCredential)) throw RangeError("Can only generate the account SAS when the client is initialized with a shared key credential"); - if (void 0 === expiresOn) { - const now = new Date; - expiresOn = new Date(now.getTime() + 36e5); + return !options.flipNegate && this.negate; + }, Minimatch.prototype.matchOne = function(file, pattern, partial) { + var options = this.options; + this.debug("matchOne", { + this: this, + file, + pattern + }), this.debug("matchOne", file.length, pattern.length); + for (var fi = 0, pi = 0, fl = file.length, pl = pattern.length; fi < fl && pi < pl; fi++, + pi++) { + this.debug("matchOne loop"); + var hit, p = pattern[pi], f = file[fi]; + if (this.debug(pattern, p, f), !1 === p) return !1; + if (p === GLOBSTAR) { + this.debug("GLOBSTAR", [ pattern, p, f ]); + var fr = fi, pr = pi + 1; + if (pr === pl) { + for (this.debug("** at the end"); fi < fl; fi++) if ("." === file[fi] || ".." === file[fi] || !options.dot && "." === file[fi].charAt(0)) return !1; + return !0; + } + for (;fr < fl; ) { + var swallowee = file[fr]; + if (this.debug("\nglobstar while", file, fr, pattern, pr, swallowee), this.matchOne(file.slice(fr), pattern.slice(pr), partial)) return this.debug("globstar found match!", fr, fl, swallowee), + !0; + if ("." === swallowee || ".." === swallowee || !options.dot && "." === swallowee.charAt(0)) { + this.debug("dot detected!", file, fr, pattern, pr); + break; + } + this.debug("globstar swallow a segment, and continue"), fr++; + } + return !(!partial || (this.debug("\n>>> no match, partial?", file, fr, pattern, pr), + fr !== fl)); } - const sas = generateAccountSASQueryParameters(Object.assign({ - permissions, - expiresOn, - resourceTypes, - services: AccountSASServices.parse("b").toString() - }, options), this.credential).toString(); - return appendToURLQuery(this.url, sas); + if ("string" == typeof p ? (hit = f === p, this.debug("string match", p, f, hit)) : (hit = f.match(p), + this.debug("pattern match", p, f, hit)), !hit) return !1; } - } - }, - 8564: (module, __unused_webpack_exports, __webpack_require__) => { - module.exports = { - parallel: __webpack_require__(5829), - serial: __webpack_require__(3661), - serialOrdered: __webpack_require__(4419) - }; - }, - 8614: module => { - function clean(key) { - "function" == typeof this.jobs[key] && this.jobs[key](); - } - module.exports = function(state) { - Object.keys(state.jobs).forEach(clean.bind(state)), state.jobs = {}; - }; - }, - 6287: (module, __unused_webpack_exports, __webpack_require__) => { - var defer = __webpack_require__(6190); - module.exports = function(callback) { - var isAsync = !1; - return defer((function() { - isAsync = !0; - })), function(err, result) { - isAsync ? callback(err, result) : defer((function() { - callback(err, result); - })); - }; - }; - }, - 6190: module => { - module.exports = function(fn) { - var nextTick = "function" == typeof setImmediate ? setImmediate : "object" == typeof process && "function" == typeof process.nextTick ? process.nextTick : null; - nextTick ? nextTick(fn) : setTimeout(fn, 0); - }; - }, - 8500: (module, __unused_webpack_exports, __webpack_require__) => { - var async = __webpack_require__(6287), abort = __webpack_require__(8614); - module.exports = function(list, iterator, state, callback) { - var key = state.keyedList ? state.keyedList[state.index] : state.index; - state.jobs[key] = function(iterator, key, item, callback) { - var aborter; - aborter = 2 == iterator.length ? iterator(item, async(callback)) : iterator(item, key, async(callback)); - return aborter; - }(iterator, key, list[key], (function(error, output) { - key in state.jobs && (delete state.jobs[key], error ? abort(state) : state.results[key] = output, - callback(error, state.results)); - })); - }; - }, - 8061: module => { - module.exports = function(list, sortMethod) { - var isNamedList = !Array.isArray(list), initState = { - index: 0, - keyedList: isNamedList || sortMethod ? Object.keys(list) : null, - jobs: {}, - results: isNamedList ? {} : [], - size: isNamedList ? Object.keys(list).length : list.length - }; - sortMethod && initState.keyedList.sort(isNamedList ? sortMethod : function(a, b) { - return sortMethod(list[a], list[b]); - }); - return initState; - }; - }, - 2276: (module, __unused_webpack_exports, __webpack_require__) => { - var abort = __webpack_require__(8614), async = __webpack_require__(6287); - module.exports = function(callback) { - if (!Object.keys(this.jobs).length) return; - this.index = this.size, abort(this), async(callback)(null, this.results); - }; - }, - 5829: (module, __unused_webpack_exports, __webpack_require__) => { - var iterate = __webpack_require__(8500), initState = __webpack_require__(8061), terminator = __webpack_require__(2276); - module.exports = function(list, iterator, callback) { - var state = initState(list); - for (;state.index < (state.keyedList || list).length; ) iterate(list, iterator, state, (function(error, result) { - error ? callback(error, result) : 0 !== Object.keys(state.jobs).length || callback(null, state.results); - })), state.index++; - return terminator.bind(state, callback); - }; - }, - 3661: (module, __unused_webpack_exports, __webpack_require__) => { - var serialOrdered = __webpack_require__(4419); - module.exports = function(list, iterator, callback) { - return serialOrdered(list, iterator, null, callback); - }; - }, - 4419: (module, __unused_webpack_exports, __webpack_require__) => { - var iterate = __webpack_require__(8500), initState = __webpack_require__(8061), terminator = __webpack_require__(2276); - function ascending(a, b) { - return a < b ? -1 : a > b ? 1 : 0; - } - module.exports = function(list, iterator, sortMethod, callback) { - var state = initState(list, sortMethod); - return iterate(list, iterator, state, (function iteratorHandler(error, result) { - error ? callback(error, result) : (state.index++, state.index < (state.keyedList || list).length ? iterate(list, iterator, state, iteratorHandler) : callback(null, state.results)); - })), terminator.bind(state, callback); - }, module.exports.ascending = ascending, module.exports.descending = function(a, b) { - return -1 * ascending(a, b); + if (fi === fl && pi === pl) return !0; + if (fi === fl) return partial; + if (pi === pl) return fi === fl - 1 && "" === file[fi]; + throw new Error("wtf?"); }; }, - 7361: module => { - "use strict"; - function balanced(a, b, str) { - a instanceof RegExp && (a = maybeMatch(a, str)), b instanceof RegExp && (b = maybeMatch(b, str)); - var r = range(a, b, str); - return r && { - start: r[0], - end: r[1], - pre: str.slice(0, r[0]), - body: str.slice(r[0] + a.length, r[1]), - post: str.slice(r[1] + b.length) - }; - } - function maybeMatch(reg, str) { - var m = str.match(reg); - return m ? m[0] : null; - } - function range(a, b, str) { - var begs, beg, left, right, result, ai = str.indexOf(a), bi = str.indexOf(b, ai + 1), i = ai; - if (ai >= 0 && bi > 0) { - if (a === b) return [ ai, bi ]; - for (begs = [], left = str.length; i >= 0 && !result; ) i == ai ? (begs.push(i), - ai = str.indexOf(a, i + 1)) : 1 == begs.length ? result = [ begs.pop(), bi ] : ((beg = begs.pop()) < left && (left = beg, - right = bi), bi = str.indexOf(b, i + 1)), i = ai < bi && ai >= 0 ? ai : bi; - begs.length && (result = [ left, right ]); - } - return result; - } - module.exports = balanced, balanced.range = range; - }, - 8063: (module, __unused_webpack_exports, __webpack_require__) => { - var concatMap = __webpack_require__(9834), balanced = __webpack_require__(7361); + 8482: (module, __unused_webpack_exports, __webpack_require__) => { + var concatMap = __webpack_require__(2190), balanced = __webpack_require__(877); module.exports = function(str) { if (!str) return []; "{}" === str.substr(0, 2) && (str = "\\{\\}" + str.substr(2)); @@ -25854,19758 +25720,24010 @@ N = []; for (var i = x; test(i, y); i += incr) { var c; - if (isAlphaSequence) "\\" === (c = String.fromCharCode(i)) && (c = ""); else if (c = String(i), - pad) { - var need = width - c.length; - if (need > 0) { - var z = new Array(need + 1).join("0"); - c = i < 0 ? "-" + z + c.slice(1) : z + c; - } - } - N.push(c); - } - } else N = concatMap(n, (function(el) { - return expand(el, !1); - })); - for (var j = 0; j < N.length; j++) for (var k = 0; k < post.length; k++) { - var expansion = pre + N[j] + post[k]; - (!isTop || isSequence || expansion) && expansions.push(expansion); - } - return expansions; - } - }, - 4041: (module, __unused_webpack_exports, __webpack_require__) => { - var util = __webpack_require__(3837), Stream = __webpack_require__(2781).Stream, DelayedStream = __webpack_require__(596); - function CombinedStream() { - this.writable = !1, this.readable = !0, this.dataSize = 0, this.maxDataSize = 2097152, - this.pauseStreams = !0, this._released = !1, this._streams = [], this._currentStream = null, - this._insideLoop = !1, this._pendingNext = !1; - } - module.exports = CombinedStream, util.inherits(CombinedStream, Stream), CombinedStream.create = function(options) { - var combinedStream = new this; - for (var option in options = options || {}) combinedStream[option] = options[option]; - return combinedStream; - }, CombinedStream.isStreamLike = function(stream) { - return "function" != typeof stream && "string" != typeof stream && "boolean" != typeof stream && "number" != typeof stream && !Buffer.isBuffer(stream); - }, CombinedStream.prototype.append = function(stream) { - if (CombinedStream.isStreamLike(stream)) { - if (!(stream instanceof DelayedStream)) { - var newStream = DelayedStream.create(stream, { - maxDataSize: 1 / 0, - pauseStream: this.pauseStreams - }); - stream.on("data", this._checkDataSize.bind(this)), stream = newStream; - } - this._handleErrors(stream), this.pauseStreams && stream.pause(); - } - return this._streams.push(stream), this; - }, CombinedStream.prototype.pipe = function(dest, options) { - return Stream.prototype.pipe.call(this, dest, options), this.resume(), dest; - }, CombinedStream.prototype._getNext = function() { - if (this._currentStream = null, this._insideLoop) this._pendingNext = !0; else { - this._insideLoop = !0; - try { - do { - this._pendingNext = !1, this._realGetNext(); - } while (this._pendingNext); - } finally { - this._insideLoop = !1; - } - } - }, CombinedStream.prototype._realGetNext = function() { - var stream = this._streams.shift(); - void 0 !== stream ? "function" == typeof stream ? stream(function(stream) { - CombinedStream.isStreamLike(stream) && (stream.on("data", this._checkDataSize.bind(this)), - this._handleErrors(stream)), this._pipeNext(stream); - }.bind(this)) : this._pipeNext(stream) : this.end(); - }, CombinedStream.prototype._pipeNext = function(stream) { - if (this._currentStream = stream, CombinedStream.isStreamLike(stream)) return stream.on("end", this._getNext.bind(this)), - void stream.pipe(this, { - end: !1 - }); - var value = stream; - this.write(value), this._getNext(); - }, CombinedStream.prototype._handleErrors = function(stream) { - var self = this; - stream.on("error", (function(err) { - self._emitError(err); - })); - }, CombinedStream.prototype.write = function(data) { - this.emit("data", data); - }, CombinedStream.prototype.pause = function() { - this.pauseStreams && (this.pauseStreams && this._currentStream && "function" == typeof this._currentStream.pause && this._currentStream.pause(), - this.emit("pause")); - }, CombinedStream.prototype.resume = function() { - this._released || (this._released = !0, this.writable = !0, this._getNext()), this.pauseStreams && this._currentStream && "function" == typeof this._currentStream.resume && this._currentStream.resume(), - this.emit("resume"); - }, CombinedStream.prototype.end = function() { - this._reset(), this.emit("end"); - }, CombinedStream.prototype.destroy = function() { - this._reset(), this.emit("close"); - }, CombinedStream.prototype._reset = function() { - this.writable = !1, this._streams = [], this._currentStream = null; - }, CombinedStream.prototype._checkDataSize = function() { - if (this._updateDataSize(), !(this.dataSize <= this.maxDataSize)) { - var message = "DelayedStream#maxDataSize of " + this.maxDataSize + " bytes exceeded."; - this._emitError(new Error(message)); - } - }, CombinedStream.prototype._updateDataSize = function() { - this.dataSize = 0; - var self = this; - this._streams.forEach((function(stream) { - stream.dataSize && (self.dataSize += stream.dataSize); - })), this._currentStream && this._currentStream.dataSize && (this.dataSize += this._currentStream.dataSize); - }, CombinedStream.prototype._emitError = function(err) { - this._reset(), this.emit("error", err); - }; - }, - 9834: module => { - module.exports = function(xs, fn) { - for (var res = [], i = 0; i < xs.length; i++) { - var x = fn(xs[i], i); - isArray(x) ? res.push.apply(res, x) : res.push(x); - } - return res; - }; - var isArray = Array.isArray || function(xs) { - return "[object Array]" === Object.prototype.toString.call(xs); - }; - }, - 596: (module, __unused_webpack_exports, __webpack_require__) => { - var Stream = __webpack_require__(2781).Stream, util = __webpack_require__(3837); - function DelayedStream() { - this.source = null, this.dataSize = 0, this.maxDataSize = 1048576, this.pauseStream = !0, - this._maxDataSizeExceeded = !1, this._released = !1, this._bufferedEvents = []; - } - module.exports = DelayedStream, util.inherits(DelayedStream, Stream), DelayedStream.create = function(source, options) { - var delayedStream = new this; - for (var option in options = options || {}) delayedStream[option] = options[option]; - delayedStream.source = source; - var realEmit = source.emit; - return source.emit = function() { - return delayedStream._handleEmit(arguments), realEmit.apply(source, arguments); - }, source.on("error", (function() {})), delayedStream.pauseStream && source.pause(), - delayedStream; - }, Object.defineProperty(DelayedStream.prototype, "readable", { - configurable: !0, - enumerable: !0, - get: function() { - return this.source.readable; - } - }), DelayedStream.prototype.setEncoding = function() { - return this.source.setEncoding.apply(this.source, arguments); - }, DelayedStream.prototype.resume = function() { - this._released || this.release(), this.source.resume(); - }, DelayedStream.prototype.pause = function() { - this.source.pause(); - }, DelayedStream.prototype.release = function() { - this._released = !0, this._bufferedEvents.forEach(function(args) { - this.emit.apply(this, args); - }.bind(this)), this._bufferedEvents = []; - }, DelayedStream.prototype.pipe = function() { - var r = Stream.prototype.pipe.apply(this, arguments); - return this.resume(), r; - }, DelayedStream.prototype._handleEmit = function(args) { - this._released ? this.emit.apply(this, args) : ("data" === args[0] && (this.dataSize += args[1].length, - this._checkIfMaxDataSizeExceeded()), this._bufferedEvents.push(args)); - }, DelayedStream.prototype._checkIfMaxDataSizeExceeded = function() { - if (!(this._maxDataSizeExceeded || this.dataSize <= this.maxDataSize)) { - this._maxDataSizeExceeded = !0; - var message = "DelayedStream#maxDataSize of " + this.maxDataSize + " bytes exceeded."; - this.emit("error", new Error(message)); - } - }; - }, - 8843: (__unused_webpack_module, exports, __webpack_require__) => { - "use strict"; - Object.defineProperty(exports, "__esModule", { - value: !0 - }), exports.of = exports.PropertiesFile = void 0; - var obj, _fs = (obj = __webpack_require__(7147)) && obj.__esModule ? obj : { - default: obj - }; - class PropertiesFile { - constructor(...args) { - this.objs = {}, args.length && this.of.apply(this, args); - } - makeKeys(line) { - if (line && 0 !== line.indexOf("#")) { - let separatorPositions = [ "=", ":" ].map((sep => line.indexOf(sep))).filter((index => index > -1)), splitIndex = Math.min(...separatorPositions), key = line.substring(0, splitIndex).trim(), value = line.substring(splitIndex + 1).trim(); - if (this.objs.hasOwnProperty(key)) if (Array.isArray(this.objs[key])) this.objs[key].push(value); else { - let oldValue = this.objs[key]; - this.objs[key] = [ oldValue, value ]; - } else { - const escapedValue = value.replace(/"/g, '\\"').replace(/\\:/g, ":").replace(/\\=/g, "="); - this.objs[key] = unescape(JSON.parse('"' + escapedValue + '"')); - } - } - } - addFile(file) { - let items = _fs.default.readFileSync(file, "utf-8").split(/\r?\n/), me = this; - for (let i = 0; i < items.length; i++) { - let line = items[i]; - for (;"\\" === line.substring(line.length - 1); ) { - line = line.slice(0, -1), line += items[i + 1].trim(), i++; - } - me.makeKeys(line); - } - } - of(...args) { - for (let i = 0; i < args.length; i++) this.addFile(args[i]); - } - get(key, defaultValue) { - if (this.objs.hasOwnProperty(key)) { - if (Array.isArray(this.objs[key])) { - let ret = []; - for (let i = 0; i < this.objs[key].length; i++) ret[i] = this.interpolate(this.objs[key][i]); - return ret; - } - return void 0 === this.objs[key] ? "" : this.interpolate(this.objs[key]); - } - return defaultValue; - } - getLast(key, defaultValue) { - if (this.objs.hasOwnProperty(key)) { - if (Array.isArray(this.objs[key])) { - var lg = this.objs[key].length; - return this.interpolate(this.objs[key][lg - 1]); - } - return void 0 === this.objs[key] ? "" : this.interpolate(this.objs[key]); - } - return defaultValue; - } - getFirst(key, defaultValue) { - return this.objs.hasOwnProperty(key) ? Array.isArray(this.objs[key]) ? this.interpolate(this.objs[key][0]) : void 0 === this.objs[key] ? "" : this.interpolate(this.objs[key]) : defaultValue; - } - getInt(key, defaultIntValue) { - let val = this.getLast(key); - return val ? parseInt(val, 10) : defaultIntValue; - } - getFloat(key, defaultFloatValue) { - let val = this.getLast(key); - return val ? parseFloat(val) : defaultFloatValue; - } - getBoolean(key, defaultBooleanValue) { - let val = this.getLast(key); - return val ? !/^(false|0)$/i.test(b = val) && !!b : defaultBooleanValue || !1; - var b; - } - set(key, value) { - this.objs[key] = value; - } - interpolate(s) { - let me = this; - return s.replace(/\\\\/g, "\\").replace(/\$\{([A-Za-z0-9\.\-\_]*)\}/g, (function(match) { - return me.getLast(match.substring(2, match.length - 1)); - })); - } - getKeys() { - let keys = []; - for (let key in this.objs) keys.push(key); - return keys; - } - getMatchingKeys(matchstr) { - let keys = []; - for (let key in this.objs) -1 !== key.search(matchstr) && keys.push(key); - return keys; - } - reset() { - this.objs = {}; + if (isAlphaSequence) "\\" === (c = String.fromCharCode(i)) && (c = ""); else if (c = String(i), + pad) { + var need = width - c.length; + if (need > 0) { + var z = new Array(need + 1).join("0"); + c = i < 0 ? "-" + z + c.slice(1) : z + c; + } + } + N.push(c); + } + } else N = concatMap(n, (function(el) { + return expand(el, !1); + })); + for (var j = 0; j < N.length; j++) for (var k = 0; k < post.length; k++) { + var expansion = pre + N[j] + post[k]; + (!isTop || isSequence || expansion) && expansions.push(expansion); } + return expansions; } - exports.PropertiesFile = PropertiesFile; - exports.of = function(...args) { - let globalFile = new PropertiesFile; - return globalFile.of.apply(globalFile, args), globalFile; - }; }, - 5745: (module, __unused_webpack_exports, __webpack_require__) => { - module.exports = __webpack_require__(7104); + 5693: module => { + var s = 1e3, m = 60 * s, h = 60 * m, d = 24 * h, w = 7 * d, y = 365.25 * d; + function plural(ms, msAbs, n, name) { + var isPlural = msAbs >= 1.5 * n; + return Math.round(ms / n) + " " + name + (isPlural ? "s" : ""); + } + module.exports = function(val, options) { + options = options || {}; + var type = typeof val; + if ("string" === type && val.length > 0) return function(str) { + if ((str = String(str)).length > 100) return; + var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(str); + if (!match) return; + var n = parseFloat(match[1]); + switch ((match[2] || "ms").toLowerCase()) { + case "years": + case "year": + case "yrs": + case "yr": + case "y": + return n * y; + + case "weeks": + case "week": + case "w": + return n * w; + + case "days": + case "day": + case "d": + return n * d; + + case "hours": + case "hour": + case "hrs": + case "hr": + case "h": + return n * h; + + case "minutes": + case "minute": + case "mins": + case "min": + case "m": + return n * m; + + case "seconds": + case "second": + case "secs": + case "sec": + case "s": + return n * s; + + case "milliseconds": + case "millisecond": + case "msecs": + case "msec": + case "ms": + return n; + + default: + return; + } + }(val); + if ("number" === type && isFinite(val)) return options.long ? function(ms) { + var msAbs = Math.abs(ms); + if (msAbs >= d) return plural(ms, msAbs, d, "day"); + if (msAbs >= h) return plural(ms, msAbs, h, "hour"); + if (msAbs >= m) return plural(ms, msAbs, m, "minute"); + if (msAbs >= s) return plural(ms, msAbs, s, "second"); + return ms + " ms"; + }(val) : function(ms) { + var msAbs = Math.abs(ms); + if (msAbs >= d) return Math.round(ms / d) + "d"; + if (msAbs >= h) return Math.round(ms / h) + "h"; + if (msAbs >= m) return Math.round(ms / m) + "m"; + if (msAbs >= s) return Math.round(ms / s) + "s"; + return ms + "ms"; + }(val); + throw new Error("val is not a non-empty string or a valid number. val=" + JSON.stringify(val)); + }; }, - 9010: (__unused_webpack_module, exports, __webpack_require__) => { - "use strict"; - var extensions, types, preference, db = __webpack_require__(5745), extname = __webpack_require__(1017).extname, EXTRACT_TYPE_REGEXP = /^\s*([^;\s]*)(?:;|\s|$)/, TEXT_TYPE_REGEXP = /^text\//i; - function charset(type) { - if (!type || "string" != typeof type) return !1; - var match = EXTRACT_TYPE_REGEXP.exec(type), mime = match && db[match[1].toLowerCase()]; - return mime && mime.charset ? mime.charset : !(!match || !TEXT_TYPE_REGEXP.test(match[1])) && "UTF-8"; - } - exports.charset = charset, exports.charsets = { - lookup: charset - }, exports.contentType = function(str) { - if (!str || "string" != typeof str) return !1; - var mime = -1 === str.indexOf("/") ? exports.lookup(str) : str; - if (!mime) return !1; - if (-1 === mime.indexOf("charset")) { - var charset = exports.charset(mime); - charset && (mime += "; charset=" + charset.toLowerCase()); - } - return mime; - }, exports.extension = function(type) { - if (!type || "string" != typeof type) return !1; - var match = EXTRACT_TYPE_REGEXP.exec(type), exts = match && exports.extensions[match[1].toLowerCase()]; - if (!exts || !exts.length) return !1; - return exts[0]; - }, exports.extensions = Object.create(null), exports.lookup = function(path) { - if (!path || "string" != typeof path) return !1; - var extension = extname("x." + path).toLowerCase().substr(1); - if (!extension) return !1; - return exports.types[extension] || !1; - }, exports.types = Object.create(null), extensions = exports.extensions, types = exports.types, - preference = [ "nginx", "apache", void 0, "iana" ], Object.keys(db).forEach((function(type) { - var mime = db[type], exts = mime.extensions; - if (exts && exts.length) { - extensions[type] = exts; - for (var i = 0; i < exts.length; i++) { - var extension = exts[i]; - if (types[extension]) { - var from = preference.indexOf(db[types[extension]].source), to = preference.indexOf(mime.source); - if ("application/octet-stream" !== types[extension] && (from > to || from === to && "application/" === types[extension].substr(0, 12))) continue; - } - types[extension] = type; + 1213: (module, exports) => { + var debug; + exports = module.exports = SemVer, debug = "object" == typeof process && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? function() { + var args = Array.prototype.slice.call(arguments, 0); + args.unshift("SEMVER"), console.log.apply(console, args); + } : function() {}, exports.SEMVER_SPEC_VERSION = "2.0.0"; + var MAX_LENGTH = 256, MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || 9007199254740991, MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6, re = exports.re = [], safeRe = exports.safeRe = [], src = exports.src = [], t = exports.tokens = {}, R = 0; + function tok(n) { + t[n] = R++; + } + var safeRegexReplacements = [ [ "\\s", 1 ], [ "\\d", MAX_LENGTH ], [ "[a-zA-Z0-9-]", MAX_SAFE_BUILD_LENGTH ] ]; + function makeSafeRe(value) { + for (var i = 0; i < safeRegexReplacements.length; i++) { + var token = safeRegexReplacements[i][0], max = safeRegexReplacements[i][1]; + value = value.split(token + "*").join(token + "{0," + max + "}").split(token + "+").join(token + "{1," + max + "}"); + } + return value; + } + tok("NUMERICIDENTIFIER"), src[t.NUMERICIDENTIFIER] = "0|[1-9]\\d*", tok("NUMERICIDENTIFIERLOOSE"), + src[t.NUMERICIDENTIFIERLOOSE] = "\\d+", tok("NONNUMERICIDENTIFIER"), src[t.NONNUMERICIDENTIFIER] = "\\d*[a-zA-Z-][a-zA-Z0-9-]*", + tok("MAINVERSION"), src[t.MAINVERSION] = "(" + src[t.NUMERICIDENTIFIER] + ")\\.(" + src[t.NUMERICIDENTIFIER] + ")\\.(" + src[t.NUMERICIDENTIFIER] + ")", + tok("MAINVERSIONLOOSE"), src[t.MAINVERSIONLOOSE] = "(" + src[t.NUMERICIDENTIFIERLOOSE] + ")\\.(" + src[t.NUMERICIDENTIFIERLOOSE] + ")\\.(" + src[t.NUMERICIDENTIFIERLOOSE] + ")", + tok("PRERELEASEIDENTIFIER"), src[t.PRERELEASEIDENTIFIER] = "(?:" + src[t.NUMERICIDENTIFIER] + "|" + src[t.NONNUMERICIDENTIFIER] + ")", + tok("PRERELEASEIDENTIFIERLOOSE"), src[t.PRERELEASEIDENTIFIERLOOSE] = "(?:" + src[t.NUMERICIDENTIFIERLOOSE] + "|" + src[t.NONNUMERICIDENTIFIER] + ")", + tok("PRERELEASE"), src[t.PRERELEASE] = "(?:-(" + src[t.PRERELEASEIDENTIFIER] + "(?:\\." + src[t.PRERELEASEIDENTIFIER] + ")*))", + tok("PRERELEASELOOSE"), src[t.PRERELEASELOOSE] = "(?:-?(" + src[t.PRERELEASEIDENTIFIERLOOSE] + "(?:\\." + src[t.PRERELEASEIDENTIFIERLOOSE] + ")*))", + tok("BUILDIDENTIFIER"), src[t.BUILDIDENTIFIER] = "[a-zA-Z0-9-]+", tok("BUILD"), + src[t.BUILD] = "(?:\\+(" + src[t.BUILDIDENTIFIER] + "(?:\\." + src[t.BUILDIDENTIFIER] + ")*))", + tok("FULL"), tok("FULLPLAIN"), src[t.FULLPLAIN] = "v?" + src[t.MAINVERSION] + src[t.PRERELEASE] + "?" + src[t.BUILD] + "?", + src[t.FULL] = "^" + src[t.FULLPLAIN] + "$", tok("LOOSEPLAIN"), src[t.LOOSEPLAIN] = "[v=\\s]*" + src[t.MAINVERSIONLOOSE] + src[t.PRERELEASELOOSE] + "?" + src[t.BUILD] + "?", + tok("LOOSE"), src[t.LOOSE] = "^" + src[t.LOOSEPLAIN] + "$", tok("GTLT"), src[t.GTLT] = "((?:<|>)?=?)", + tok("XRANGEIDENTIFIERLOOSE"), src[t.XRANGEIDENTIFIERLOOSE] = src[t.NUMERICIDENTIFIERLOOSE] + "|x|X|\\*", + tok("XRANGEIDENTIFIER"), src[t.XRANGEIDENTIFIER] = src[t.NUMERICIDENTIFIER] + "|x|X|\\*", + tok("XRANGEPLAIN"), src[t.XRANGEPLAIN] = "[v=\\s]*(" + src[t.XRANGEIDENTIFIER] + ")(?:\\.(" + src[t.XRANGEIDENTIFIER] + ")(?:\\.(" + src[t.XRANGEIDENTIFIER] + ")(?:" + src[t.PRERELEASE] + ")?" + src[t.BUILD] + "?)?)?", + tok("XRANGEPLAINLOOSE"), src[t.XRANGEPLAINLOOSE] = "[v=\\s]*(" + src[t.XRANGEIDENTIFIERLOOSE] + ")(?:\\.(" + src[t.XRANGEIDENTIFIERLOOSE] + ")(?:\\.(" + src[t.XRANGEIDENTIFIERLOOSE] + ")(?:" + src[t.PRERELEASELOOSE] + ")?" + src[t.BUILD] + "?)?)?", + tok("XRANGE"), src[t.XRANGE] = "^" + src[t.GTLT] + "\\s*" + src[t.XRANGEPLAIN] + "$", + tok("XRANGELOOSE"), src[t.XRANGELOOSE] = "^" + src[t.GTLT] + "\\s*" + src[t.XRANGEPLAINLOOSE] + "$", + tok("COERCE"), src[t.COERCE] = "(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])", + tok("COERCERTL"), re[t.COERCERTL] = new RegExp(src[t.COERCE], "g"), safeRe[t.COERCERTL] = new RegExp(makeSafeRe(src[t.COERCE]), "g"), + tok("LONETILDE"), src[t.LONETILDE] = "(?:~>?)", tok("TILDETRIM"), src[t.TILDETRIM] = "(\\s*)" + src[t.LONETILDE] + "\\s+", + re[t.TILDETRIM] = new RegExp(src[t.TILDETRIM], "g"), safeRe[t.TILDETRIM] = new RegExp(makeSafeRe(src[t.TILDETRIM]), "g"); + tok("TILDE"), src[t.TILDE] = "^" + src[t.LONETILDE] + src[t.XRANGEPLAIN] + "$", + tok("TILDELOOSE"), src[t.TILDELOOSE] = "^" + src[t.LONETILDE] + src[t.XRANGEPLAINLOOSE] + "$", + tok("LONECARET"), src[t.LONECARET] = "(?:\\^)", tok("CARETTRIM"), src[t.CARETTRIM] = "(\\s*)" + src[t.LONECARET] + "\\s+", + re[t.CARETTRIM] = new RegExp(src[t.CARETTRIM], "g"), safeRe[t.CARETTRIM] = new RegExp(makeSafeRe(src[t.CARETTRIM]), "g"); + tok("CARET"), src[t.CARET] = "^" + src[t.LONECARET] + src[t.XRANGEPLAIN] + "$", + tok("CARETLOOSE"), src[t.CARETLOOSE] = "^" + src[t.LONECARET] + src[t.XRANGEPLAINLOOSE] + "$", + tok("COMPARATORLOOSE"), src[t.COMPARATORLOOSE] = "^" + src[t.GTLT] + "\\s*(" + src[t.LOOSEPLAIN] + ")$|^$", + tok("COMPARATOR"), src[t.COMPARATOR] = "^" + src[t.GTLT] + "\\s*(" + src[t.FULLPLAIN] + ")$|^$", + tok("COMPARATORTRIM"), src[t.COMPARATORTRIM] = "(\\s*)" + src[t.GTLT] + "\\s*(" + src[t.LOOSEPLAIN] + "|" + src[t.XRANGEPLAIN] + ")", + re[t.COMPARATORTRIM] = new RegExp(src[t.COMPARATORTRIM], "g"), safeRe[t.COMPARATORTRIM] = new RegExp(makeSafeRe(src[t.COMPARATORTRIM]), "g"); + tok("HYPHENRANGE"), src[t.HYPHENRANGE] = "^\\s*(" + src[t.XRANGEPLAIN] + ")\\s+-\\s+(" + src[t.XRANGEPLAIN] + ")\\s*$", + tok("HYPHENRANGELOOSE"), src[t.HYPHENRANGELOOSE] = "^\\s*(" + src[t.XRANGEPLAINLOOSE] + ")\\s+-\\s+(" + src[t.XRANGEPLAINLOOSE] + ")\\s*$", + tok("STAR"), src[t.STAR] = "(<|>)?=?\\s*\\*"; + for (var i = 0; i < R; i++) debug(i, src[i]), re[i] || (re[i] = new RegExp(src[i]), + safeRe[i] = new RegExp(makeSafeRe(src[i]))); + function parse(version, options) { + if (options && "object" == typeof options || (options = { + loose: !!options, + includePrerelease: !1 + }), version instanceof SemVer) return version; + if ("string" != typeof version) return null; + if (version.length > MAX_LENGTH) return null; + if (!(options.loose ? safeRe[t.LOOSE] : safeRe[t.FULL]).test(version)) return null; + try { + return new SemVer(version, options); + } catch (er) { + return null; + } + } + function SemVer(version, options) { + if (options && "object" == typeof options || (options = { + loose: !!options, + includePrerelease: !1 + }), version instanceof SemVer) { + if (version.loose === options.loose) return version; + version = version.version; + } else if ("string" != typeof version) throw new TypeError("Invalid Version: " + version); + if (version.length > MAX_LENGTH) throw new TypeError("version is longer than " + MAX_LENGTH + " characters"); + if (!(this instanceof SemVer)) return new SemVer(version, options); + debug("SemVer", version, options), this.options = options, this.loose = !!options.loose; + var m = version.trim().match(options.loose ? safeRe[t.LOOSE] : safeRe[t.FULL]); + if (!m) throw new TypeError("Invalid Version: " + version); + if (this.raw = version, this.major = +m[1], this.minor = +m[2], this.patch = +m[3], + this.major > MAX_SAFE_INTEGER || this.major < 0) throw new TypeError("Invalid major version"); + if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) throw new TypeError("Invalid minor version"); + if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) throw new TypeError("Invalid patch version"); + m[4] ? this.prerelease = m[4].split(".").map((function(id) { + if (/^[0-9]+$/.test(id)) { + var num = +id; + if (num >= 0 && num < MAX_SAFE_INTEGER) return num; + } + return id; + })) : this.prerelease = [], this.build = m[5] ? m[5].split(".") : [], this.format(); + } + exports.parse = parse, exports.valid = function(version, options) { + var v = parse(version, options); + return v ? v.version : null; + }, exports.clean = function(version, options) { + var s = parse(version.trim().replace(/^[=v]+/, ""), options); + return s ? s.version : null; + }, exports.SemVer = SemVer, SemVer.prototype.format = function() { + return this.version = this.major + "." + this.minor + "." + this.patch, this.prerelease.length && (this.version += "-" + this.prerelease.join(".")), + this.version; + }, SemVer.prototype.toString = function() { + return this.version; + }, SemVer.prototype.compare = function(other) { + return debug("SemVer.compare", this.version, this.options, other), other instanceof SemVer || (other = new SemVer(other, this.options)), + this.compareMain(other) || this.comparePre(other); + }, SemVer.prototype.compareMain = function(other) { + return other instanceof SemVer || (other = new SemVer(other, this.options)), compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch); + }, SemVer.prototype.comparePre = function(other) { + if (other instanceof SemVer || (other = new SemVer(other, this.options)), this.prerelease.length && !other.prerelease.length) return -1; + if (!this.prerelease.length && other.prerelease.length) return 1; + if (!this.prerelease.length && !other.prerelease.length) return 0; + var i = 0; + do { + var a = this.prerelease[i], b = other.prerelease[i]; + if (debug("prerelease compare", i, a, b), void 0 === a && void 0 === b) return 0; + if (void 0 === b) return 1; + if (void 0 === a) return -1; + if (a !== b) return compareIdentifiers(a, b); + } while (++i); + }, SemVer.prototype.compareBuild = function(other) { + other instanceof SemVer || (other = new SemVer(other, this.options)); + var i = 0; + do { + var a = this.build[i], b = other.build[i]; + if (debug("prerelease compare", i, a, b), void 0 === a && void 0 === b) return 0; + if (void 0 === b) return 1; + if (void 0 === a) return -1; + if (a !== b) return compareIdentifiers(a, b); + } while (++i); + }, SemVer.prototype.inc = function(release, identifier) { + switch (release) { + case "premajor": + this.prerelease.length = 0, this.patch = 0, this.minor = 0, this.major++, this.inc("pre", identifier); + break; + + case "preminor": + this.prerelease.length = 0, this.patch = 0, this.minor++, this.inc("pre", identifier); + break; + + case "prepatch": + this.prerelease.length = 0, this.inc("patch", identifier), this.inc("pre", identifier); + break; + + case "prerelease": + 0 === this.prerelease.length && this.inc("patch", identifier), this.inc("pre", identifier); + break; + + case "major": + 0 === this.minor && 0 === this.patch && 0 !== this.prerelease.length || this.major++, + this.minor = 0, this.patch = 0, this.prerelease = []; + break; + + case "minor": + 0 === this.patch && 0 !== this.prerelease.length || this.minor++, this.patch = 0, + this.prerelease = []; + break; + + case "patch": + 0 === this.prerelease.length && this.patch++, this.prerelease = []; + break; + + case "pre": + if (0 === this.prerelease.length) this.prerelease = [ 0 ]; else { + for (var i = this.prerelease.length; --i >= 0; ) "number" == typeof this.prerelease[i] && (this.prerelease[i]++, + i = -2); + -1 === i && this.prerelease.push(0); } + identifier && (this.prerelease[0] === identifier ? isNaN(this.prerelease[1]) && (this.prerelease = [ identifier, 0 ]) : this.prerelease = [ identifier, 0 ]); + break; + + default: + throw new Error("invalid increment argument: " + release); } - })); - }, - 2979: (module, __unused_webpack_exports, __webpack_require__) => { - module.exports = minimatch, minimatch.Minimatch = Minimatch; - var path = function() { + return this.format(), this.raw = this.version, this; + }, exports.inc = function(version, release, loose, identifier) { + "string" == typeof loose && (identifier = loose, loose = void 0); try { - return __webpack_require__(1017); - } catch (e) {} - }() || { - sep: "/" - }; - minimatch.sep = path.sep; - var GLOBSTAR = minimatch.GLOBSTAR = Minimatch.GLOBSTAR = {}, expand = __webpack_require__(8063), plTypes = { - "!": { - open: "(?:(?!(?:", - close: "))[^/]*?)" - }, - "?": { - open: "(?:", - close: ")?" - }, - "+": { - open: "(?:", - close: ")+" - }, - "*": { - open: "(?:", - close: ")*" - }, - "@": { - open: "(?:", - close: ")" + return new SemVer(version, loose).inc(release, identifier).version; + } catch (er) { + return null; } - }, qmark = "[^/]", star = qmark + "*?", twoStarDot = "(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?", twoStarNoDot = "(?:(?!(?:\\/|^)\\.).)*?", reSpecials = "().*{}+?[]^$\\!".split("").reduce((function(set, c) { - return set[c] = !0, set; - }), {}); - var slashSplit = /\/+/; - function ext(a, b) { - b = b || {}; - var t = {}; - return Object.keys(a).forEach((function(k) { - t[k] = a[k]; - })), Object.keys(b).forEach((function(k) { - t[k] = b[k]; - })), t; + }, exports.diff = function(version1, version2) { + if (eq(version1, version2)) return null; + var v1 = parse(version1), v2 = parse(version2), prefix = ""; + if (v1.prerelease.length || v2.prerelease.length) { + prefix = "pre"; + var defaultResult = "prerelease"; + } + for (var key in v1) if (("major" === key || "minor" === key || "patch" === key) && v1[key] !== v2[key]) return prefix + key; + return defaultResult; + }, exports.compareIdentifiers = compareIdentifiers; + var numeric = /^[0-9]+$/; + function compareIdentifiers(a, b) { + var anum = numeric.test(a), bnum = numeric.test(b); + return anum && bnum && (a = +a, b = +b), a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1; + } + function compare(a, b, loose) { + return new SemVer(a, loose).compare(new SemVer(b, loose)); } - function minimatch(p, pattern, options) { - return assertValidPattern(pattern), options || (options = {}), !(!options.nocomment && "#" === pattern.charAt(0)) && new Minimatch(pattern, options).match(p); + function gt(a, b, loose) { + return compare(a, b, loose) > 0; } - function Minimatch(pattern, options) { - if (!(this instanceof Minimatch)) return new Minimatch(pattern, options); - assertValidPattern(pattern), options || (options = {}), pattern = pattern.trim(), - options.allowWindowsEscape || "/" === path.sep || (pattern = pattern.split(path.sep).join("/")), - this.options = options, this.set = [], this.pattern = pattern, this.regexp = null, - this.negate = !1, this.comment = !1, this.empty = !1, this.partial = !!options.partial, - this.make(); + function lt(a, b, loose) { + return compare(a, b, loose) < 0; } - function braceExpand(pattern, options) { - return options || (options = this instanceof Minimatch ? this.options : {}), pattern = void 0 === pattern ? this.pattern : pattern, - assertValidPattern(pattern), options.nobrace || !/\{(?:(?!\{).)*\}/.test(pattern) ? [ pattern ] : expand(pattern); + function eq(a, b, loose) { + return 0 === compare(a, b, loose); } - minimatch.filter = function(pattern, options) { - return options = options || {}, function(p, i, list) { - return minimatch(p, pattern, options); - }; - }, minimatch.defaults = function(def) { - if (!def || "object" != typeof def || !Object.keys(def).length) return minimatch; - var orig = minimatch, m = function(p, pattern, options) { - return orig(p, pattern, ext(def, options)); - }; - return (m.Minimatch = function(pattern, options) { - return new orig.Minimatch(pattern, ext(def, options)); - }).defaults = function(options) { - return orig.defaults(ext(def, options)).Minimatch; - }, m.filter = function(pattern, options) { - return orig.filter(pattern, ext(def, options)); - }, m.defaults = function(options) { - return orig.defaults(ext(def, options)); - }, m.makeRe = function(pattern, options) { - return orig.makeRe(pattern, ext(def, options)); - }, m.braceExpand = function(pattern, options) { - return orig.braceExpand(pattern, ext(def, options)); - }, m.match = function(list, pattern, options) { - return orig.match(list, pattern, ext(def, options)); - }, m; - }, Minimatch.defaults = function(def) { - return minimatch.defaults(def).Minimatch; - }, Minimatch.prototype.debug = function() {}, Minimatch.prototype.make = function() { - var pattern = this.pattern, options = this.options; - if (!options.nocomment && "#" === pattern.charAt(0)) return void (this.comment = !0); - if (!pattern) return void (this.empty = !0); - this.parseNegate(); - var set = this.globSet = this.braceExpand(); - options.debug && (this.debug = function() { - console.error.apply(console, arguments); - }); - this.debug(this.pattern, set), set = this.globParts = set.map((function(s) { - return s.split(slashSplit); - })), this.debug(this.pattern, set), set = set.map((function(s, si, set) { - return s.map(this.parse, this); - }), this), this.debug(this.pattern, set), set = set.filter((function(s) { - return -1 === s.indexOf(!1); - })), this.debug(this.pattern, set), this.set = set; - }, Minimatch.prototype.parseNegate = function() { - var pattern = this.pattern, negate = !1, options = this.options, negateOffset = 0; - if (options.nonegate) return; - for (var i = 0, l = pattern.length; i < l && "!" === pattern.charAt(i); i++) negate = !negate, - negateOffset++; - negateOffset && (this.pattern = pattern.substr(negateOffset)); - this.negate = negate; - }, minimatch.braceExpand = function(pattern, options) { - return braceExpand(pattern, options); - }, Minimatch.prototype.braceExpand = braceExpand; - var assertValidPattern = function(pattern) { - if ("string" != typeof pattern) throw new TypeError("invalid pattern"); - if (pattern.length > 65536) throw new TypeError("pattern is too long"); - }; - Minimatch.prototype.parse = function(pattern, isSub) { - assertValidPattern(pattern); - var options = this.options; - if ("**" === pattern) { - if (!options.noglobstar) return GLOBSTAR; - pattern = "*"; - } - if ("" === pattern) return ""; - var stateChar, re = "", hasMagic = !!options.nocase, escaping = !1, patternListStack = [], negativeLists = [], inClass = !1, reClassStart = -1, classStart = -1, patternStart = "." === pattern.charAt(0) ? "" : options.dot ? "(?!(?:^|\\/)\\.{1,2}(?:$|\\/))" : "(?!\\.)", self = this; - function clearStateChar() { - if (stateChar) { - switch (stateChar) { - case "*": - re += star, hasMagic = !0; - break; - - case "?": - re += qmark, hasMagic = !0; - break; + function neq(a, b, loose) { + return 0 !== compare(a, b, loose); + } + function gte(a, b, loose) { + return compare(a, b, loose) >= 0; + } + function lte(a, b, loose) { + return compare(a, b, loose) <= 0; + } + function cmp(a, op, b, loose) { + switch (op) { + case "===": + return "object" == typeof a && (a = a.version), "object" == typeof b && (b = b.version), + a === b; - default: - re += "\\" + stateChar; - } - self.debug("clearStateChar %j %j", stateChar, re), stateChar = !1; - } - } - for (var c, i = 0, len = pattern.length; i < len && (c = pattern.charAt(i)); i++) if (this.debug("%s\t%s %s %j", pattern, i, re, c), - escaping && reSpecials[c]) re += "\\" + c, escaping = !1; else switch (c) { - case "/": - return !1; + case "!==": + return "object" == typeof a && (a = a.version), "object" == typeof b && (b = b.version), + a !== b; - case "\\": - clearStateChar(), escaping = !0; - continue; + case "": + case "=": + case "==": + return eq(a, b, loose); - case "?": - case "*": - case "+": - case "@": - case "!": - if (this.debug("%s\t%s %s %j <-- stateChar", pattern, i, re, c), inClass) { - this.debug(" in class"), "!" === c && i === classStart + 1 && (c = "^"), re += c; - continue; - } - self.debug("call clearStateChar %j", stateChar), clearStateChar(), stateChar = c, - options.noext && clearStateChar(); - continue; + case "!=": + return neq(a, b, loose); - case "(": - if (inClass) { - re += "("; - continue; - } - if (!stateChar) { - re += "\\("; - continue; - } - patternListStack.push({ - type: stateChar, - start: i - 1, - reStart: re.length, - open: plTypes[stateChar].open, - close: plTypes[stateChar].close - }), re += "!" === stateChar ? "(?:(?!(?:" : "(?:", this.debug("plType %j %j", stateChar, re), - stateChar = !1; - continue; + case ">": + return gt(a, b, loose); - case ")": - if (inClass || !patternListStack.length) { - re += "\\)"; - continue; - } - clearStateChar(), hasMagic = !0; - var pl = patternListStack.pop(); - re += pl.close, "!" === pl.type && negativeLists.push(pl), pl.reEnd = re.length; - continue; + case ">=": + return gte(a, b, loose); - case "|": - if (inClass || !patternListStack.length || escaping) { - re += "\\|", escaping = !1; - continue; - } - clearStateChar(), re += "|"; - continue; + case "<": + return lt(a, b, loose); - case "[": - if (clearStateChar(), inClass) { - re += "\\" + c; - continue; - } - inClass = !0, classStart = i, reClassStart = re.length, re += c; - continue; + case "<=": + return lte(a, b, loose); - case "]": - if (i === classStart + 1 || !inClass) { - re += "\\" + c, escaping = !1; - continue; - } - var cs = pattern.substring(classStart + 1, i); - try { - RegExp("[" + cs + "]"); - } catch (er) { - var sp = this.parse(cs, SUBPARSE); - re = re.substr(0, reClassStart) + "\\[" + sp[0] + "\\]", hasMagic = hasMagic || sp[1], - inClass = !1; - continue; + default: + throw new TypeError("Invalid operator: " + op); + } + } + function Comparator(comp, options) { + if (options && "object" == typeof options || (options = { + loose: !!options, + includePrerelease: !1 + }), comp instanceof Comparator) { + if (comp.loose === !!options.loose) return comp; + comp = comp.value; + } + if (!(this instanceof Comparator)) return new Comparator(comp, options); + comp = comp.trim().split(/\s+/).join(" "), debug("comparator", comp, options), this.options = options, + this.loose = !!options.loose, this.parse(comp), this.semver === ANY ? this.value = "" : this.value = this.operator + this.semver.version, + debug("comp", this); + } + exports.rcompareIdentifiers = function(a, b) { + return compareIdentifiers(b, a); + }, exports.major = function(a, loose) { + return new SemVer(a, loose).major; + }, exports.minor = function(a, loose) { + return new SemVer(a, loose).minor; + }, exports.patch = function(a, loose) { + return new SemVer(a, loose).patch; + }, exports.compare = compare, exports.compareLoose = function(a, b) { + return compare(a, b, !0); + }, exports.compareBuild = function(a, b, loose) { + var versionA = new SemVer(a, loose), versionB = new SemVer(b, loose); + return versionA.compare(versionB) || versionA.compareBuild(versionB); + }, exports.rcompare = function(a, b, loose) { + return compare(b, a, loose); + }, exports.sort = function(list, loose) { + return list.sort((function(a, b) { + return exports.compareBuild(a, b, loose); + })); + }, exports.rsort = function(list, loose) { + return list.sort((function(a, b) { + return exports.compareBuild(b, a, loose); + })); + }, exports.gt = gt, exports.lt = lt, exports.eq = eq, exports.neq = neq, exports.gte = gte, + exports.lte = lte, exports.cmp = cmp, exports.Comparator = Comparator; + var ANY = {}; + function Range(range, options) { + if (options && "object" == typeof options || (options = { + loose: !!options, + includePrerelease: !1 + }), range instanceof Range) return range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease ? range : new Range(range.raw, options); + if (range instanceof Comparator) return new Range(range.value, options); + if (!(this instanceof Range)) return new Range(range, options); + if (this.options = options, this.loose = !!options.loose, this.includePrerelease = !!options.includePrerelease, + this.raw = range.trim().split(/\s+/).join(" "), this.set = this.raw.split("||").map((function(range) { + return this.parseRange(range.trim()); + }), this).filter((function(c) { + return c.length; + })), !this.set.length) throw new TypeError("Invalid SemVer Range: " + this.raw); + this.format(); + } + function isSatisfiable(comparators, options) { + for (var result = !0, remainingComparators = comparators.slice(), testComparator = remainingComparators.pop(); result && remainingComparators.length; ) result = remainingComparators.every((function(otherComparator) { + return testComparator.intersects(otherComparator, options); + })), testComparator = remainingComparators.pop(); + return result; + } + function isX(id) { + return !id || "x" === id.toLowerCase() || "*" === id; + } + function hyphenReplace($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr, tb) { + return ((from = isX(fM) ? "" : isX(fm) ? ">=" + fM + ".0.0" : isX(fp) ? ">=" + fM + "." + fm + ".0" : ">=" + from) + " " + (to = isX(tM) ? "" : isX(tm) ? "<" + (+tM + 1) + ".0.0" : isX(tp) ? "<" + tM + "." + (+tm + 1) + ".0" : tpr ? "<=" + tM + "." + tm + "." + tp + "-" + tpr : "<=" + to)).trim(); + } + function testSet(set, version, options) { + for (var i = 0; i < set.length; i++) if (!set[i].test(version)) return !1; + if (version.prerelease.length && !options.includePrerelease) { + for (i = 0; i < set.length; i++) if (debug(set[i].semver), set[i].semver !== ANY && set[i].semver.prerelease.length > 0) { + var allowed = set[i].semver; + if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch) return !0; } - hasMagic = !0, inClass = !1, re += c; - continue; - - default: - clearStateChar(), escaping ? escaping = !1 : !reSpecials[c] || "^" === c && inClass || (re += "\\"), - re += c; - } - inClass && (cs = pattern.substr(classStart + 1), sp = this.parse(cs, SUBPARSE), - re = re.substr(0, reClassStart) + "\\[" + sp[0], hasMagic = hasMagic || sp[1]); - for (pl = patternListStack.pop(); pl; pl = patternListStack.pop()) { - var tail = re.slice(pl.reStart + pl.open.length); - this.debug("setting tail", re, pl), tail = tail.replace(/((?:\\{2}){0,64})(\\?)\|/g, (function(_, $1, $2) { - return $2 || ($2 = "\\"), $1 + $1 + $2 + "|"; - })), this.debug("tail=%j\n %s", tail, tail, pl, re); - var t = "*" === pl.type ? star : "?" === pl.type ? qmark : "\\" + pl.type; - hasMagic = !0, re = re.slice(0, pl.reStart) + t + "\\(" + tail; - } - clearStateChar(), escaping && (re += "\\\\"); - var addPatternStart = !1; - switch (re.charAt(0)) { - case "[": - case ".": - case "(": - addPatternStart = !0; - } - for (var n = negativeLists.length - 1; n > -1; n--) { - var nl = negativeLists[n], nlBefore = re.slice(0, nl.reStart), nlFirst = re.slice(nl.reStart, nl.reEnd - 8), nlLast = re.slice(nl.reEnd - 8, nl.reEnd), nlAfter = re.slice(nl.reEnd); - nlLast += nlAfter; - var openParensBefore = nlBefore.split("(").length - 1, cleanAfter = nlAfter; - for (i = 0; i < openParensBefore; i++) cleanAfter = cleanAfter.replace(/\)[+*?]?/, ""); - var dollar = ""; - "" === (nlAfter = cleanAfter) && isSub !== SUBPARSE && (dollar = "$"), re = nlBefore + nlFirst + nlAfter + dollar + nlLast; + return !1; } - "" !== re && hasMagic && (re = "(?=.)" + re); - addPatternStart && (re = patternStart + re); - if (isSub === SUBPARSE) return [ re, hasMagic ]; - if (!hasMagic) return function(s) { - return s.replace(/\\(.)/g, "$1"); - }(pattern); - var flags = options.nocase ? "i" : ""; + return !0; + } + function satisfies(version, range, options) { try { - var regExp = new RegExp("^" + re + "$", flags); + range = new Range(range, options); } catch (er) { - return new RegExp("$."); + return !1; } - return regExp._glob = pattern, regExp._src = re, regExp; - }; - var SUBPARSE = {}; - minimatch.makeRe = function(pattern, options) { - return new Minimatch(pattern, options || {}).makeRe(); - }, Minimatch.prototype.makeRe = function() { - if (this.regexp || !1 === this.regexp) return this.regexp; - var set = this.set; - if (!set.length) return this.regexp = !1, this.regexp; - var options = this.options, twoStar = options.noglobstar ? star : options.dot ? twoStarDot : twoStarNoDot, flags = options.nocase ? "i" : "", re = set.map((function(pattern) { - return pattern.map((function(p) { - return p === GLOBSTAR ? twoStar : "string" == typeof p ? function(s) { - return s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"); - }(p) : p._src; - })).join("\\/"); - })).join("|"); - re = "^(?:" + re + ")$", this.negate && (re = "^(?!" + re + ").*$"); - try { - this.regexp = new RegExp(re, flags); - } catch (ex) { - this.regexp = !1; + return range.test(version); + } + function outside(version, range, hilo, options) { + var gtfn, ltefn, ltfn, comp, ecomp; + switch (version = new SemVer(version, options), range = new Range(range, options), + hilo) { + case ">": + gtfn = gt, ltefn = lte, ltfn = lt, comp = ">", ecomp = ">="; + break; + + case "<": + gtfn = lt, ltefn = gte, ltfn = gt, comp = "<", ecomp = "<="; + break; + + default: + throw new TypeError('Must provide a hilo val of "<" or ">"'); } - return this.regexp; - }, minimatch.match = function(list, pattern, options) { - var mm = new Minimatch(pattern, options = options || {}); - return list = list.filter((function(f) { - return mm.match(f); - })), mm.options.nonull && !list.length && list.push(pattern), list; - }, Minimatch.prototype.match = function(f, partial) { - if (void 0 === partial && (partial = this.partial), this.debug("match", f, this.pattern), - this.comment) return !1; - if (this.empty) return "" === f; - if ("/" === f && partial) return !0; - var options = this.options; - "/" !== path.sep && (f = f.split(path.sep).join("/")), f = f.split(slashSplit), - this.debug(this.pattern, "split", f); - var filename, i, set = this.set; - for (this.debug(this.pattern, "set", set), i = f.length - 1; i >= 0 && !(filename = f[i]); i--) ; - for (i = 0; i < set.length; i++) { - var pattern = set[i], file = f; - if (options.matchBase && 1 === pattern.length && (file = [ filename ]), this.matchOne(file, pattern, partial)) return !!options.flipNegate || !this.negate; + if (satisfies(version, range, options)) return !1; + for (var i = 0; i < range.set.length; ++i) { + var comparators = range.set[i], high = null, low = null; + if (comparators.forEach((function(comparator) { + comparator.semver === ANY && (comparator = new Comparator(">=0.0.0")), high = high || comparator, + low = low || comparator, gtfn(comparator.semver, high.semver, options) ? high = comparator : ltfn(comparator.semver, low.semver, options) && (low = comparator); + })), high.operator === comp || high.operator === ecomp) return !1; + if ((!low.operator || low.operator === comp) && ltefn(version, low.semver)) return !1; + if (low.operator === ecomp && ltfn(version, low.semver)) return !1; } - return !options.flipNegate && this.negate; - }, Minimatch.prototype.matchOne = function(file, pattern, partial) { - var options = this.options; - this.debug("matchOne", { - this: this, - file, - pattern - }), this.debug("matchOne", file.length, pattern.length); - for (var fi = 0, pi = 0, fl = file.length, pl = pattern.length; fi < fl && pi < pl; fi++, - pi++) { - this.debug("matchOne loop"); - var hit, p = pattern[pi], f = file[fi]; - if (this.debug(pattern, p, f), !1 === p) return !1; - if (p === GLOBSTAR) { - this.debug("GLOBSTAR", [ pattern, p, f ]); - var fr = fi, pr = pi + 1; - if (pr === pl) { - for (this.debug("** at the end"); fi < fl; fi++) if ("." === file[fi] || ".." === file[fi] || !options.dot && "." === file[fi].charAt(0)) return !1; - return !0; - } - for (;fr < fl; ) { - var swallowee = file[fr]; - if (this.debug("\nglobstar while", file, fr, pattern, pr, swallowee), this.matchOne(file.slice(fr), pattern.slice(pr), partial)) return this.debug("globstar found match!", fr, fl, swallowee), - !0; - if ("." === swallowee || ".." === swallowee || !options.dot && "." === swallowee.charAt(0)) { - this.debug("dot detected!", file, fr, pattern, pr); - break; - } - this.debug("globstar swallow a segment, and continue"), fr++; - } - return !(!partial || (this.debug("\n>>> no match, partial?", file, fr, pattern, pr), - fr !== fl)); - } - if ("string" == typeof p ? (hit = f === p, this.debug("string match", p, f, hit)) : (hit = f.match(p), - this.debug("pattern match", p, f, hit)), !hit) return !1; + return !0; + } + Comparator.prototype.parse = function(comp) { + var r = this.options.loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR], m = comp.match(r); + if (!m) throw new TypeError("Invalid comparator: " + comp); + this.operator = void 0 !== m[1] ? m[1] : "", "=" === this.operator && (this.operator = ""), + m[2] ? this.semver = new SemVer(m[2], this.options.loose) : this.semver = ANY; + }, Comparator.prototype.toString = function() { + return this.value; + }, Comparator.prototype.test = function(version) { + if (debug("Comparator.test", version, this.options.loose), this.semver === ANY || version === ANY) return !0; + if ("string" == typeof version) try { + version = new SemVer(version, this.options); + } catch (er) { + return !1; } - if (fi === fl && pi === pl) return !0; - if (fi === fl) return partial; - if (pi === pl) return fi === fl - 1 && "" === file[fi]; - throw new Error("wtf?"); - }; - }, - 2470: (__unused_webpack_module, exports, __webpack_require__) => { - "use strict"; - var Punycode = __webpack_require__(5477), internals = {}; - internals.rules = __webpack_require__(2379).map((function(rule) { - return { - rule, - suffix: rule.replace(/^(\*\.|\!)/, ""), - punySuffix: -1, - wildcard: "*" === rule.charAt(0), - exception: "!" === rule.charAt(0) - }; - })), internals.endsWith = function(str, suffix) { - return -1 !== str.indexOf(suffix, str.length - suffix.length); - }, internals.findRule = function(domain) { - var punyDomain = Punycode.toASCII(domain); - return internals.rules.reduce((function(memo, rule) { - return -1 === rule.punySuffix && (rule.punySuffix = Punycode.toASCII(rule.suffix)), - internals.endsWith(punyDomain, "." + rule.punySuffix) || punyDomain === rule.punySuffix ? rule : memo; - }), null); - }, exports.errorCodes = { - DOMAIN_TOO_SHORT: "Domain name too short.", - DOMAIN_TOO_LONG: "Domain name too long. It should be no more than 255 chars.", - LABEL_STARTS_WITH_DASH: "Domain name label can not start with a dash.", - LABEL_ENDS_WITH_DASH: "Domain name label can not end with a dash.", - LABEL_TOO_LONG: "Domain name label should be at most 63 chars long.", - LABEL_TOO_SHORT: "Domain name label should be at least 1 character long.", - LABEL_INVALID_CHARS: "Domain name label can only contain alphanumeric characters or dashes." - }, internals.validate = function(input) { - var ascii = Punycode.toASCII(input); - if (ascii.length < 1) return "DOMAIN_TOO_SHORT"; - if (ascii.length > 255) return "DOMAIN_TOO_LONG"; - for (var label, labels = ascii.split("."), i = 0; i < labels.length; ++i) { - if (!(label = labels[i]).length) return "LABEL_TOO_SHORT"; - if (label.length > 63) return "LABEL_TOO_LONG"; - if ("-" === label.charAt(0)) return "LABEL_STARTS_WITH_DASH"; - if ("-" === label.charAt(label.length - 1)) return "LABEL_ENDS_WITH_DASH"; - if (!/^[a-z0-9\-]+$/.test(label)) return "LABEL_INVALID_CHARS"; - } - }, exports.parse = function(input) { - if ("string" != typeof input) throw new TypeError("Domain name must be a string."); - var domain = input.slice(0).toLowerCase(); - "." === domain.charAt(domain.length - 1) && (domain = domain.slice(0, domain.length - 1)); - var error = internals.validate(domain); - if (error) return { - input, - error: { - message: exports.errorCodes[error], - code: error - } - }; - var parsed = { - input, - tld: null, - sld: null, - domain: null, - subdomain: null, - listed: !1 - }, domainParts = domain.split("."); - if ("local" === domainParts[domainParts.length - 1]) return parsed; - var handlePunycode = function() { - return /xn--/.test(domain) ? (parsed.domain && (parsed.domain = Punycode.toASCII(parsed.domain)), - parsed.subdomain && (parsed.subdomain = Punycode.toASCII(parsed.subdomain)), parsed) : parsed; - }, rule = internals.findRule(domain); - if (!rule) return domainParts.length < 2 ? parsed : (parsed.tld = domainParts.pop(), - parsed.sld = domainParts.pop(), parsed.domain = [ parsed.sld, parsed.tld ].join("."), - domainParts.length && (parsed.subdomain = domainParts.pop()), handlePunycode()); - parsed.listed = !0; - var tldParts = rule.suffix.split("."), privateParts = domainParts.slice(0, domainParts.length - tldParts.length); - return rule.exception && privateParts.push(tldParts.shift()), parsed.tld = tldParts.join("."), - privateParts.length ? (rule.wildcard && (tldParts.unshift(privateParts.pop()), parsed.tld = tldParts.join(".")), - privateParts.length ? (parsed.sld = privateParts.pop(), parsed.domain = [ parsed.sld, parsed.tld ].join("."), - privateParts.length && (parsed.subdomain = privateParts.join(".")), handlePunycode()) : handlePunycode()) : handlePunycode(); - }, exports.get = function(domain) { - return domain && exports.parse(domain).domain || null; - }, exports.isValid = function(domain) { - var parsed = exports.parse(domain); - return Boolean(parsed.domain && parsed.listed); - }; - }, - 7736: (__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - "use strict"; - __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, { - decode: () => decode, - default: () => __WEBPACK_DEFAULT_EXPORT__, - encode: () => encode, - toASCII: () => toASCII, - toUnicode: () => toUnicode, - ucs2decode: () => ucs2decode, - ucs2encode: () => ucs2encode - }); - const maxInt = 2147483647, regexPunycode = /^xn--/, regexNonASCII = /[^\0-\x7F]/, regexSeparators = /[\x2E\u3002\uFF0E\uFF61]/g, errors = { - overflow: "Overflow: input needs wider integers to process", - "not-basic": "Illegal input >= 0x80 (not a basic code point)", - "invalid-input": "Invalid input" - }, floor = Math.floor, stringFromCharCode = String.fromCharCode; - function error(type) { - throw new RangeError(errors[type]); - } - function mapDomain(domain, callback) { - const parts = domain.split("@"); - let result = ""; - parts.length > 1 && (result = parts[0] + "@", domain = parts[1]); - const encoded = function(array, callback) { - const result = []; - let length = array.length; - for (;length--; ) result[length] = callback(array[length]); - return result; - }((domain = domain.replace(regexSeparators, ".")).split("."), callback).join("."); - return result + encoded; - } - function ucs2decode(string) { - const output = []; - let counter = 0; - const length = string.length; - for (;counter < length; ) { - const value = string.charCodeAt(counter++); - if (value >= 55296 && value <= 56319 && counter < length) { - const extra = string.charCodeAt(counter++); - 56320 == (64512 & extra) ? output.push(((1023 & value) << 10) + (1023 & extra) + 65536) : (output.push(value), - counter--); - } else output.push(value); - } - return output; - } - const ucs2encode = codePoints => String.fromCodePoint(...codePoints), digitToBasic = function(digit, flag) { - return digit + 22 + 75 * (digit < 26) - ((0 != flag) << 5); - }, adapt = function(delta, numPoints, firstTime) { - let k = 0; - for (delta = firstTime ? floor(delta / 700) : delta >> 1, delta += floor(delta / numPoints); delta > 455; k += 36) delta = floor(delta / 35); - return floor(k + 36 * delta / (delta + 38)); - }, decode = function(input) { - const output = [], inputLength = input.length; - let i = 0, n = 128, bias = 72, basic = input.lastIndexOf("-"); - basic < 0 && (basic = 0); - for (let j = 0; j < basic; ++j) input.charCodeAt(j) >= 128 && error("not-basic"), - output.push(input.charCodeAt(j)); - for (let index = basic > 0 ? basic + 1 : 0; index < inputLength; ) { - const oldi = i; - for (let w = 1, k = 36; ;k += 36) { - index >= inputLength && error("invalid-input"); - const digit = (codePoint = input.charCodeAt(index++)) >= 48 && codePoint < 58 ? codePoint - 48 + 26 : codePoint >= 65 && codePoint < 91 ? codePoint - 65 : codePoint >= 97 && codePoint < 123 ? codePoint - 97 : 36; - digit >= 36 && error("invalid-input"), digit > floor((maxInt - i) / w) && error("overflow"), - i += digit * w; - const t = k <= bias ? 1 : k >= bias + 26 ? 26 : k - bias; - if (digit < t) break; - const baseMinusT = 36 - t; - w > floor(maxInt / baseMinusT) && error("overflow"), w *= baseMinusT; - } - const out = output.length + 1; - bias = adapt(i - oldi, out, 0 == oldi), floor(i / out) > maxInt - n && error("overflow"), - n += floor(i / out), i %= out, output.splice(i++, 0, n); - } - var codePoint; - return String.fromCodePoint(...output); - }, encode = function(input) { - const output = [], inputLength = (input = ucs2decode(input)).length; - let n = 128, delta = 0, bias = 72; - for (const currentValue of input) currentValue < 128 && output.push(stringFromCharCode(currentValue)); - const basicLength = output.length; - let handledCPCount = basicLength; - for (basicLength && output.push("-"); handledCPCount < inputLength; ) { - let m = maxInt; - for (const currentValue of input) currentValue >= n && currentValue < m && (m = currentValue); - const handledCPCountPlusOne = handledCPCount + 1; - m - n > floor((maxInt - delta) / handledCPCountPlusOne) && error("overflow"), delta += (m - n) * handledCPCountPlusOne, - n = m; - for (const currentValue of input) if (currentValue < n && ++delta > maxInt && error("overflow"), - currentValue === n) { - let q = delta; - for (let k = 36; ;k += 36) { - const t = k <= bias ? 1 : k >= bias + 26 ? 26 : k - bias; - if (q < t) break; - const qMinusT = q - t, baseMinusT = 36 - t; - output.push(stringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0))), q = floor(qMinusT / baseMinusT); - } - output.push(stringFromCharCode(digitToBasic(q, 0))), bias = adapt(delta, handledCPCountPlusOne, handledCPCount === basicLength), - delta = 0, ++handledCPCount; - } - ++delta, ++n; - } - return output.join(""); - }, toUnicode = function(input) { - return mapDomain(input, (function(string) { - return regexPunycode.test(string) ? decode(string.slice(4).toLowerCase()) : string; + return cmp(version, this.operator, this.semver, this.options); + }, Comparator.prototype.intersects = function(comp, options) { + if (!(comp instanceof Comparator)) throw new TypeError("a Comparator is required"); + var rangeTmp; + if (options && "object" == typeof options || (options = { + loose: !!options, + includePrerelease: !1 + }), "" === this.operator) return "" === this.value || (rangeTmp = new Range(comp.value, options), + satisfies(this.value, rangeTmp, options)); + if ("" === comp.operator) return "" === comp.value || (rangeTmp = new Range(this.value, options), + satisfies(comp.semver, rangeTmp, options)); + var sameDirectionIncreasing = !(">=" !== this.operator && ">" !== this.operator || ">=" !== comp.operator && ">" !== comp.operator), sameDirectionDecreasing = !("<=" !== this.operator && "<" !== this.operator || "<=" !== comp.operator && "<" !== comp.operator), sameSemVer = this.semver.version === comp.semver.version, differentDirectionsInclusive = !(">=" !== this.operator && "<=" !== this.operator || ">=" !== comp.operator && "<=" !== comp.operator), oppositeDirectionsLessThan = cmp(this.semver, "<", comp.semver, options) && (">=" === this.operator || ">" === this.operator) && ("<=" === comp.operator || "<" === comp.operator), oppositeDirectionsGreaterThan = cmp(this.semver, ">", comp.semver, options) && ("<=" === this.operator || "<" === this.operator) && (">=" === comp.operator || ">" === comp.operator); + return sameDirectionIncreasing || sameDirectionDecreasing || sameSemVer && differentDirectionsInclusive || oppositeDirectionsLessThan || oppositeDirectionsGreaterThan; + }, exports.Range = Range, Range.prototype.format = function() { + return this.range = this.set.map((function(comps) { + return comps.join(" ").trim(); + })).join("||").trim(), this.range; + }, Range.prototype.toString = function() { + return this.range; + }, Range.prototype.parseRange = function(range) { + var loose = this.options.loose, hr = loose ? safeRe[t.HYPHENRANGELOOSE] : safeRe[t.HYPHENRANGE]; + range = range.replace(hr, hyphenReplace), debug("hyphen replace", range), range = range.replace(safeRe[t.COMPARATORTRIM], "$1$2$3"), + debug("comparator trim", range, safeRe[t.COMPARATORTRIM]), range = (range = (range = range.replace(safeRe[t.TILDETRIM], "$1~")).replace(safeRe[t.CARETTRIM], "$1^")).split(/\s+/).join(" "); + var compRe = loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR], set = range.split(" ").map((function(comp) { + return function(comp, options) { + return debug("comp", comp, options), comp = function(comp, options) { + return comp.trim().split(/\s+/).map((function(comp) { + return function(comp, options) { + debug("caret", comp, options); + var r = options.loose ? safeRe[t.CARETLOOSE] : safeRe[t.CARET]; + return comp.replace(r, (function(_, M, m, p, pr) { + var ret; + return debug("caret", comp, _, M, m, p, pr), isX(M) ? ret = "" : isX(m) ? ret = ">=" + M + ".0.0 <" + (+M + 1) + ".0.0" : isX(p) ? ret = "0" === M ? ">=" + M + "." + m + ".0 <" + M + "." + (+m + 1) + ".0" : ">=" + M + "." + m + ".0 <" + (+M + 1) + ".0.0" : pr ? (debug("replaceCaret pr", pr), + ret = "0" === M ? "0" === m ? ">=" + M + "." + m + "." + p + "-" + pr + " <" + M + "." + m + "." + (+p + 1) : ">=" + M + "." + m + "." + p + "-" + pr + " <" + M + "." + (+m + 1) + ".0" : ">=" + M + "." + m + "." + p + "-" + pr + " <" + (+M + 1) + ".0.0") : (debug("no pr"), + ret = "0" === M ? "0" === m ? ">=" + M + "." + m + "." + p + " <" + M + "." + m + "." + (+p + 1) : ">=" + M + "." + m + "." + p + " <" + M + "." + (+m + 1) + ".0" : ">=" + M + "." + m + "." + p + " <" + (+M + 1) + ".0.0"), + debug("caret return", ret), ret; + })); + }(comp, options); + })).join(" "); + }(comp, options), debug("caret", comp), comp = function(comp, options) { + return comp.trim().split(/\s+/).map((function(comp) { + return function(comp, options) { + var r = options.loose ? safeRe[t.TILDELOOSE] : safeRe[t.TILDE]; + return comp.replace(r, (function(_, M, m, p, pr) { + var ret; + return debug("tilde", comp, _, M, m, p, pr), isX(M) ? ret = "" : isX(m) ? ret = ">=" + M + ".0.0 <" + (+M + 1) + ".0.0" : isX(p) ? ret = ">=" + M + "." + m + ".0 <" + M + "." + (+m + 1) + ".0" : pr ? (debug("replaceTilde pr", pr), + ret = ">=" + M + "." + m + "." + p + "-" + pr + " <" + M + "." + (+m + 1) + ".0") : ret = ">=" + M + "." + m + "." + p + " <" + M + "." + (+m + 1) + ".0", + debug("tilde return", ret), ret; + })); + }(comp, options); + })).join(" "); + }(comp, options), debug("tildes", comp), comp = function(comp, options) { + return debug("replaceXRanges", comp, options), comp.split(/\s+/).map((function(comp) { + return function(comp, options) { + comp = comp.trim(); + var r = options.loose ? safeRe[t.XRANGELOOSE] : safeRe[t.XRANGE]; + return comp.replace(r, (function(ret, gtlt, M, m, p, pr) { + debug("xRange", comp, ret, gtlt, M, m, p, pr); + var xM = isX(M), xm = xM || isX(m), xp = xm || isX(p), anyX = xp; + return "=" === gtlt && anyX && (gtlt = ""), pr = options.includePrerelease ? "-0" : "", + xM ? ret = ">" === gtlt || "<" === gtlt ? "<0.0.0-0" : "*" : gtlt && anyX ? (xm && (m = 0), + p = 0, ">" === gtlt ? (gtlt = ">=", xm ? (M = +M + 1, m = 0, p = 0) : (m = +m + 1, + p = 0)) : "<=" === gtlt && (gtlt = "<", xm ? M = +M + 1 : m = +m + 1), ret = gtlt + M + "." + m + "." + p + pr) : xm ? ret = ">=" + M + ".0.0" + pr + " <" + (+M + 1) + ".0.0" + pr : xp && (ret = ">=" + M + "." + m + ".0" + pr + " <" + M + "." + (+m + 1) + ".0" + pr), + debug("xRange return", ret), ret; + })); + }(comp, options); + })).join(" "); + }(comp, options), debug("xrange", comp), comp = function(comp, options) { + return debug("replaceStars", comp, options), comp.trim().replace(safeRe[t.STAR], ""); + }(comp, options), debug("stars", comp), comp; + }(comp, this.options); + }), this).join(" ").split(/\s+/); + return this.options.loose && (set = set.filter((function(comp) { + return !!comp.match(compRe); + }))), set = set.map((function(comp) { + return new Comparator(comp, this.options); + }), this); + }, Range.prototype.intersects = function(range, options) { + if (!(range instanceof Range)) throw new TypeError("a Range is required"); + return this.set.some((function(thisComparators) { + return isSatisfiable(thisComparators, options) && range.set.some((function(rangeComparators) { + return isSatisfiable(rangeComparators, options) && thisComparators.every((function(thisComparator) { + return rangeComparators.every((function(rangeComparator) { + return thisComparator.intersects(rangeComparator, options); + })); + })); + })); })); - }, toASCII = function(input) { - return mapDomain(input, (function(string) { - return regexNonASCII.test(string) ? "xn--" + encode(string) : string; + }, exports.toComparators = function(range, options) { + return new Range(range, options).set.map((function(comp) { + return comp.map((function(c) { + return c.value; + })).join(" ").trim().split(" "); })); - }, __WEBPACK_DEFAULT_EXPORT__ = { - version: "2.1.0", - ucs2: { - decode: ucs2decode, - encode: ucs2encode - }, - decode, - encode, - toASCII, - toUnicode - }; - }, - 8041: (__unused_webpack_module, exports) => { - "use strict"; - var undef, has = Object.prototype.hasOwnProperty; - function decode(input) { + }, Range.prototype.test = function(version) { + if (!version) return !1; + if ("string" == typeof version) try { + version = new SemVer(version, this.options); + } catch (er) { + return !1; + } + for (var i = 0; i < this.set.length; i++) if (testSet(this.set[i], version, this.options)) return !0; + return !1; + }, exports.satisfies = satisfies, exports.maxSatisfying = function(versions, range, options) { + var max = null, maxSV = null; try { - return decodeURIComponent(input.replace(/\+/g, " ")); - } catch (e) { + var rangeObj = new Range(range, options); + } catch (er) { return null; } - } - function encode(input) { + return versions.forEach((function(v) { + rangeObj.test(v) && (max && -1 !== maxSV.compare(v) || (maxSV = new SemVer(max = v, options))); + })), max; + }, exports.minSatisfying = function(versions, range, options) { + var min = null, minSV = null; try { - return encodeURIComponent(input); - } catch (e) { + var rangeObj = new Range(range, options); + } catch (er) { return null; } - } - exports.stringify = function(obj, prefix) { - prefix = prefix || ""; - var value, key, pairs = []; - for (key in "string" != typeof prefix && (prefix = "?"), obj) if (has.call(obj, key)) { - if ((value = obj[key]) || null !== value && value !== undef && !isNaN(value) || (value = ""), - key = encode(key), value = encode(value), null === key || null === value) continue; - pairs.push(key + "=" + value); - } - return pairs.length ? prefix + pairs.join("&") : ""; - }, exports.parse = function(query) { - for (var part, parser = /([^=?#&]+)=?([^&]*)/g, result = {}; part = parser.exec(query); ) { - var key = decode(part[1]), value = decode(part[2]); - null === key || null === value || key in result || (result[key] = value); - } - return result; - }; - }, - 6983: module => { - "use strict"; - module.exports = function(port, protocol) { - if (protocol = protocol.split(":")[0], !(port = +port)) return !1; - switch (protocol) { - case "http": - case "ws": - return 80 !== port; - - case "https": - case "wss": - return 443 !== port; - - case "ftp": - return 21 !== port; - - case "gopher": - return 70 !== port; - - case "file": - return !1; - } - return 0 !== port; - }; - }, - 9871: (__unused_webpack_module, exports, __webpack_require__) => { - !function(sax) { - sax.parser = function(strict, opt) { - return new SAXParser(strict, opt); - }, sax.SAXParser = SAXParser, sax.SAXStream = SAXStream, sax.createStream = function(strict, opt) { - return new SAXStream(strict, opt); - }, sax.MAX_BUFFER_LENGTH = 65536; - var Stream, buffers = [ "comment", "sgmlDecl", "textNode", "tagName", "doctype", "procInstName", "procInstBody", "entity", "attribName", "attribValue", "cdata", "script" ]; - function SAXParser(strict, opt) { - if (!(this instanceof SAXParser)) return new SAXParser(strict, opt); - !function(parser) { - for (var i = 0, l = buffers.length; i < l; i++) parser[buffers[i]] = ""; - }(this), this.q = this.c = "", this.bufferCheckPosition = sax.MAX_BUFFER_LENGTH, - this.opt = opt || {}, this.opt.lowercase = this.opt.lowercase || this.opt.lowercasetags, - this.looseCase = this.opt.lowercase ? "toLowerCase" : "toUpperCase", this.tags = [], - this.closed = this.closedRoot = this.sawRoot = !1, this.tag = this.error = null, - this.strict = !!strict, this.noscript = !(!strict && !this.opt.noscript), this.state = S.BEGIN, - this.strictEntities = this.opt.strictEntities, this.ENTITIES = this.strictEntities ? Object.create(sax.XML_ENTITIES) : Object.create(sax.ENTITIES), - this.attribList = [], this.opt.xmlns && (this.ns = Object.create(rootNS)), this.trackPosition = !1 !== this.opt.position, - this.trackPosition && (this.position = this.line = this.column = 0), emit(this, "onready"); - } - sax.EVENTS = [ "text", "processinginstruction", "sgmldeclaration", "doctype", "comment", "opentagstart", "attribute", "opentag", "closetag", "opencdata", "cdata", "closecdata", "error", "end", "ready", "script", "opennamespace", "closenamespace" ], - Object.create || (Object.create = function(o) { - function F() {} - return F.prototype = o, new F; - }), Object.keys || (Object.keys = function(o) { - var a = []; - for (var i in o) o.hasOwnProperty(i) && a.push(i); - return a; - }), SAXParser.prototype = { - end: function() { - end(this); - }, - write: function(chunk) { - if (this.error) throw this.error; - if (this.closed) return error(this, "Cannot write after close. Assign an onready handler."); - if (null === chunk) return end(this); - "object" == typeof chunk && (chunk = chunk.toString()); - var i = 0, c = ""; - for (;c = charAt(chunk, i++), this.c = c, c; ) switch (this.trackPosition && (this.position++, - "\n" === c ? (this.line++, this.column = 0) : this.column++), this.state) { - case S.BEGIN: - if (this.state = S.BEGIN_WHITESPACE, "\ufeff" === c) continue; - beginWhiteSpace(this, c); - continue; - - case S.BEGIN_WHITESPACE: - beginWhiteSpace(this, c); - continue; - - case S.TEXT: - if (this.sawRoot && !this.closedRoot) { - for (var starti = i - 1; c && "<" !== c && "&" !== c; ) (c = charAt(chunk, i++)) && this.trackPosition && (this.position++, - "\n" === c ? (this.line++, this.column = 0) : this.column++); - this.textNode += chunk.substring(starti, i - 1); - } - "<" !== c || this.sawRoot && this.closedRoot && !this.strict ? (isWhitespace(c) || this.sawRoot && !this.closedRoot || strictFail(this, "Text data outside of root node."), - "&" === c ? this.state = S.TEXT_ENTITY : this.textNode += c) : (this.state = S.OPEN_WAKA, - this.startTagPosition = this.position); - continue; - - case S.SCRIPT: - "<" === c ? this.state = S.SCRIPT_ENDING : this.script += c; - continue; - - case S.SCRIPT_ENDING: - "/" === c ? this.state = S.CLOSE_TAG : (this.script += "<" + c, this.state = S.SCRIPT); - continue; - - case S.OPEN_WAKA: - if ("!" === c) this.state = S.SGML_DECL, this.sgmlDecl = ""; else if (isWhitespace(c)) ; else if (isMatch(nameStart, c)) this.state = S.OPEN_TAG, - this.tagName = c; else if ("/" === c) this.state = S.CLOSE_TAG, this.tagName = ""; else if ("?" === c) this.state = S.PROC_INST, - this.procInstName = this.procInstBody = ""; else { - if (strictFail(this, "Unencoded <"), this.startTagPosition + 1 < this.position) { - var pad = this.position - this.startTagPosition; - c = new Array(pad).join(" ") + c; - } - this.textNode += "<" + c, this.state = S.TEXT; - } - continue; - - case S.SGML_DECL: - (this.sgmlDecl + c).toUpperCase() === CDATA ? (emitNode(this, "onopencdata"), this.state = S.CDATA, - this.sgmlDecl = "", this.cdata = "") : this.sgmlDecl + c === "--" ? (this.state = S.COMMENT, - this.comment = "", this.sgmlDecl = "") : (this.sgmlDecl + c).toUpperCase() === DOCTYPE ? (this.state = S.DOCTYPE, - (this.doctype || this.sawRoot) && strictFail(this, "Inappropriately located doctype declaration"), - this.doctype = "", this.sgmlDecl = "") : ">" === c ? (emitNode(this, "onsgmldeclaration", this.sgmlDecl), - this.sgmlDecl = "", this.state = S.TEXT) : isQuote(c) ? (this.state = S.SGML_DECL_QUOTED, - this.sgmlDecl += c) : this.sgmlDecl += c; - continue; - - case S.SGML_DECL_QUOTED: - c === this.q && (this.state = S.SGML_DECL, this.q = ""), this.sgmlDecl += c; - continue; - - case S.DOCTYPE: - ">" === c ? (this.state = S.TEXT, emitNode(this, "ondoctype", this.doctype), this.doctype = !0) : (this.doctype += c, - "[" === c ? this.state = S.DOCTYPE_DTD : isQuote(c) && (this.state = S.DOCTYPE_QUOTED, - this.q = c)); - continue; - - case S.DOCTYPE_QUOTED: - this.doctype += c, c === this.q && (this.q = "", this.state = S.DOCTYPE); - continue; - - case S.DOCTYPE_DTD: - this.doctype += c, "]" === c ? this.state = S.DOCTYPE : isQuote(c) && (this.state = S.DOCTYPE_DTD_QUOTED, - this.q = c); - continue; - - case S.DOCTYPE_DTD_QUOTED: - this.doctype += c, c === this.q && (this.state = S.DOCTYPE_DTD, this.q = ""); - continue; - - case S.COMMENT: - "-" === c ? this.state = S.COMMENT_ENDING : this.comment += c; - continue; - - case S.COMMENT_ENDING: - "-" === c ? (this.state = S.COMMENT_ENDED, this.comment = textopts(this.opt, this.comment), - this.comment && emitNode(this, "oncomment", this.comment), this.comment = "") : (this.comment += "-" + c, - this.state = S.COMMENT); - continue; - - case S.COMMENT_ENDED: - ">" !== c ? (strictFail(this, "Malformed comment"), this.comment += "--" + c, this.state = S.COMMENT) : this.state = S.TEXT; - continue; - - case S.CDATA: - "]" === c ? this.state = S.CDATA_ENDING : this.cdata += c; - continue; - - case S.CDATA_ENDING: - "]" === c ? this.state = S.CDATA_ENDING_2 : (this.cdata += "]" + c, this.state = S.CDATA); - continue; - - case S.CDATA_ENDING_2: - ">" === c ? (this.cdata && emitNode(this, "oncdata", this.cdata), emitNode(this, "onclosecdata"), - this.cdata = "", this.state = S.TEXT) : "]" === c ? this.cdata += "]" : (this.cdata += "]]" + c, - this.state = S.CDATA); - continue; - - case S.PROC_INST: - "?" === c ? this.state = S.PROC_INST_ENDING : isWhitespace(c) ? this.state = S.PROC_INST_BODY : this.procInstName += c; - continue; - - case S.PROC_INST_BODY: - if (!this.procInstBody && isWhitespace(c)) continue; - "?" === c ? this.state = S.PROC_INST_ENDING : this.procInstBody += c; - continue; - - case S.PROC_INST_ENDING: - ">" === c ? (emitNode(this, "onprocessinginstruction", { - name: this.procInstName, - body: this.procInstBody - }), this.procInstName = this.procInstBody = "", this.state = S.TEXT) : (this.procInstBody += "?" + c, - this.state = S.PROC_INST_BODY); - continue; - - case S.OPEN_TAG: - isMatch(nameBody, c) ? this.tagName += c : (newTag(this), ">" === c ? openTag(this) : "/" === c ? this.state = S.OPEN_TAG_SLASH : (isWhitespace(c) || strictFail(this, "Invalid character in tag name"), - this.state = S.ATTRIB)); - continue; - - case S.OPEN_TAG_SLASH: - ">" === c ? (openTag(this, !0), closeTag(this)) : (strictFail(this, "Forward-slash in opening tag not followed by >"), - this.state = S.ATTRIB); - continue; - - case S.ATTRIB: - if (isWhitespace(c)) continue; - ">" === c ? openTag(this) : "/" === c ? this.state = S.OPEN_TAG_SLASH : isMatch(nameStart, c) ? (this.attribName = c, - this.attribValue = "", this.state = S.ATTRIB_NAME) : strictFail(this, "Invalid attribute name"); - continue; - - case S.ATTRIB_NAME: - "=" === c ? this.state = S.ATTRIB_VALUE : ">" === c ? (strictFail(this, "Attribute without value"), - this.attribValue = this.attribName, attrib(this), openTag(this)) : isWhitespace(c) ? this.state = S.ATTRIB_NAME_SAW_WHITE : isMatch(nameBody, c) ? this.attribName += c : strictFail(this, "Invalid attribute name"); - continue; - - case S.ATTRIB_NAME_SAW_WHITE: - if ("=" === c) this.state = S.ATTRIB_VALUE; else { - if (isWhitespace(c)) continue; - strictFail(this, "Attribute without value"), this.tag.attributes[this.attribName] = "", - this.attribValue = "", emitNode(this, "onattribute", { - name: this.attribName, - value: "" - }), this.attribName = "", ">" === c ? openTag(this) : isMatch(nameStart, c) ? (this.attribName = c, - this.state = S.ATTRIB_NAME) : (strictFail(this, "Invalid attribute name"), this.state = S.ATTRIB); - } - continue; - - case S.ATTRIB_VALUE: - if (isWhitespace(c)) continue; - isQuote(c) ? (this.q = c, this.state = S.ATTRIB_VALUE_QUOTED) : (strictFail(this, "Unquoted attribute value"), - this.state = S.ATTRIB_VALUE_UNQUOTED, this.attribValue = c); - continue; - - case S.ATTRIB_VALUE_QUOTED: - if (c !== this.q) { - "&" === c ? this.state = S.ATTRIB_VALUE_ENTITY_Q : this.attribValue += c; - continue; - } - attrib(this), this.q = "", this.state = S.ATTRIB_VALUE_CLOSED; - continue; - - case S.ATTRIB_VALUE_CLOSED: - isWhitespace(c) ? this.state = S.ATTRIB : ">" === c ? openTag(this) : "/" === c ? this.state = S.OPEN_TAG_SLASH : isMatch(nameStart, c) ? (strictFail(this, "No whitespace between attributes"), - this.attribName = c, this.attribValue = "", this.state = S.ATTRIB_NAME) : strictFail(this, "Invalid attribute name"); - continue; - - case S.ATTRIB_VALUE_UNQUOTED: - if (!isAttribEnd(c)) { - "&" === c ? this.state = S.ATTRIB_VALUE_ENTITY_U : this.attribValue += c; - continue; - } - attrib(this), ">" === c ? openTag(this) : this.state = S.ATTRIB; - continue; - - case S.CLOSE_TAG: - if (this.tagName) ">" === c ? closeTag(this) : isMatch(nameBody, c) ? this.tagName += c : this.script ? (this.script += "" === c ? closeTag(this) : strictFail(this, "Invalid characters in closing tag"); - continue; - - case S.TEXT_ENTITY: - case S.ATTRIB_VALUE_ENTITY_Q: - case S.ATTRIB_VALUE_ENTITY_U: - var returnState, buffer; - switch (this.state) { - case S.TEXT_ENTITY: - returnState = S.TEXT, buffer = "textNode"; - break; + return versions.forEach((function(v) { + rangeObj.test(v) && (min && 1 !== minSV.compare(v) || (minSV = new SemVer(min = v, options))); + })), min; + }, exports.minVersion = function(range, loose) { + range = new Range(range, loose); + var minver = new SemVer("0.0.0"); + if (range.test(minver)) return minver; + if (minver = new SemVer("0.0.0-0"), range.test(minver)) return minver; + minver = null; + for (var i = 0; i < range.set.length; ++i) { + range.set[i].forEach((function(comparator) { + var compver = new SemVer(comparator.semver.version); + switch (comparator.operator) { + case ">": + 0 === compver.prerelease.length ? compver.patch++ : compver.prerelease.push(0), + compver.raw = compver.format(); - case S.ATTRIB_VALUE_ENTITY_Q: - returnState = S.ATTRIB_VALUE_QUOTED, buffer = "attribValue"; - break; + case "": + case ">=": + minver && !gt(minver, compver) || (minver = compver); + break; - case S.ATTRIB_VALUE_ENTITY_U: - returnState = S.ATTRIB_VALUE_UNQUOTED, buffer = "attribValue"; - } - ";" === c ? (this[buffer] += parseEntity(this), this.entity = "", this.state = returnState) : isMatch(this.entity.length ? entityBody : entityStart, c) ? this.entity += c : (strictFail(this, "Invalid character in entity name"), - this[buffer] += "&" + this.entity + c, this.entity = "", this.state = returnState); - continue; + case "<": + case "<=": + break; default: - throw new Error(this, "Unknown state: " + this.state); - } - this.position >= this.bufferCheckPosition && function(parser) { - for (var maxAllowed = Math.max(sax.MAX_BUFFER_LENGTH, 10), maxActual = 0, i = 0, l = buffers.length; i < l; i++) { - var len = parser[buffers[i]].length; - if (len > maxAllowed) switch (buffers[i]) { - case "textNode": - closeText(parser); - break; - - case "cdata": - emitNode(parser, "oncdata", parser.cdata), parser.cdata = ""; - break; - - case "script": - emitNode(parser, "onscript", parser.script), parser.script = ""; - break; - - default: - error(parser, "Max buffer length exceeded: " + buffers[i]); - } - maxActual = Math.max(maxActual, len); - } - var m = sax.MAX_BUFFER_LENGTH - maxActual; - parser.bufferCheckPosition = m + parser.position; - }(this); - return this; - }, - resume: function() { - return this.error = null, this; - }, - close: function() { - return this.write(null); - }, - flush: function() { - var parser; - closeText(parser = this), "" !== parser.cdata && (emitNode(parser, "oncdata", parser.cdata), - parser.cdata = ""), "" !== parser.script && (emitNode(parser, "onscript", parser.script), - parser.script = ""); - } - }; - try { - Stream = __webpack_require__(2781).Stream; - } catch (ex) { - Stream = function() {}; - } - var streamWraps = sax.EVENTS.filter((function(ev) { - return "error" !== ev && "end" !== ev; - })); - function SAXStream(strict, opt) { - if (!(this instanceof SAXStream)) return new SAXStream(strict, opt); - Stream.apply(this), this._parser = new SAXParser(strict, opt), this.writable = !0, - this.readable = !0; - var me = this; - this._parser.onend = function() { - me.emit("end"); - }, this._parser.onerror = function(er) { - me.emit("error", er), me._parser.error = null; - }, this._decoder = null, streamWraps.forEach((function(ev) { - Object.defineProperty(me, "on" + ev, { - get: function() { - return me._parser["on" + ev]; - }, - set: function(h) { - if (!h) return me.removeAllListeners(ev), me._parser["on" + ev] = h, h; - me.on(ev, h); - }, - enumerable: !0, - configurable: !1 - }); + throw new Error("Unexpected operation: " + comparator.operator); + } })); } - SAXStream.prototype = Object.create(Stream.prototype, { - constructor: { - value: SAXStream - } - }), SAXStream.prototype.write = function(data) { - if ("function" == typeof Buffer && "function" == typeof Buffer.isBuffer && Buffer.isBuffer(data)) { - if (!this._decoder) { - var SD = __webpack_require__(1576).StringDecoder; - this._decoder = new SD("utf8"); - } - data = this._decoder.write(data); - } - return this._parser.write(data.toString()), this.emit("data", data), !0; - }, SAXStream.prototype.end = function(chunk) { - return chunk && chunk.length && this.write(chunk), this._parser.end(), !0; - }, SAXStream.prototype.on = function(ev, handler) { - var me = this; - return me._parser["on" + ev] || -1 === streamWraps.indexOf(ev) || (me._parser["on" + ev] = function() { - var args = 1 === arguments.length ? [ arguments[0] ] : Array.apply(null, arguments); - args.splice(0, 0, ev), me.emit.apply(me, args); - }), Stream.prototype.on.call(me, ev, handler); - }; - var CDATA = "[CDATA[", DOCTYPE = "DOCTYPE", XML_NAMESPACE = "http://www.w3.org/XML/1998/namespace", XMLNS_NAMESPACE = "http://www.w3.org/2000/xmlns/", rootNS = { - xml: XML_NAMESPACE, - xmlns: XMLNS_NAMESPACE - }, nameStart = /[:_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]/, nameBody = /[:_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\u00B7\u0300-\u036F\u203F-\u2040.\d-]/, entityStart = /[#:_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]/, entityBody = /[#:_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\u00B7\u0300-\u036F\u203F-\u2040.\d-]/; - function isWhitespace(c) { - return " " === c || "\n" === c || "\r" === c || "\t" === c; - } - function isQuote(c) { - return '"' === c || "'" === c; - } - function isAttribEnd(c) { - return ">" === c || isWhitespace(c); - } - function isMatch(regex, c) { - return regex.test(c); - } - function notMatch(regex, c) { - return !isMatch(regex, c); - } - var stringFromCharCode, floor, fromCodePoint, S = 0; - for (var s in sax.STATE = { - BEGIN: S++, - BEGIN_WHITESPACE: S++, - TEXT: S++, - TEXT_ENTITY: S++, - OPEN_WAKA: S++, - SGML_DECL: S++, - SGML_DECL_QUOTED: S++, - DOCTYPE: S++, - DOCTYPE_QUOTED: S++, - DOCTYPE_DTD: S++, - DOCTYPE_DTD_QUOTED: S++, - COMMENT_STARTING: S++, - COMMENT: S++, - COMMENT_ENDING: S++, - COMMENT_ENDED: S++, - CDATA: S++, - CDATA_ENDING: S++, - CDATA_ENDING_2: S++, - PROC_INST: S++, - PROC_INST_BODY: S++, - PROC_INST_ENDING: S++, - OPEN_TAG: S++, - OPEN_TAG_SLASH: S++, - ATTRIB: S++, - ATTRIB_NAME: S++, - ATTRIB_NAME_SAW_WHITE: S++, - ATTRIB_VALUE: S++, - ATTRIB_VALUE_QUOTED: S++, - ATTRIB_VALUE_CLOSED: S++, - ATTRIB_VALUE_UNQUOTED: S++, - ATTRIB_VALUE_ENTITY_Q: S++, - ATTRIB_VALUE_ENTITY_U: S++, - CLOSE_TAG: S++, - CLOSE_TAG_SAW_WHITE: S++, - SCRIPT: S++, - SCRIPT_ENDING: S++ - }, sax.XML_ENTITIES = { - amp: "&", - gt: ">", - lt: "<", - quot: '"', - apos: "'" - }, sax.ENTITIES = { - amp: "&", - gt: ">", - lt: "<", - quot: '"', - apos: "'", - AElig: 198, - Aacute: 193, - Acirc: 194, - Agrave: 192, - Aring: 197, - Atilde: 195, - Auml: 196, - Ccedil: 199, - ETH: 208, - Eacute: 201, - Ecirc: 202, - Egrave: 200, - Euml: 203, - Iacute: 205, - Icirc: 206, - Igrave: 204, - Iuml: 207, - Ntilde: 209, - Oacute: 211, - Ocirc: 212, - Ograve: 210, - Oslash: 216, - Otilde: 213, - Ouml: 214, - THORN: 222, - Uacute: 218, - Ucirc: 219, - Ugrave: 217, - Uuml: 220, - Yacute: 221, - aacute: 225, - acirc: 226, - aelig: 230, - agrave: 224, - aring: 229, - atilde: 227, - auml: 228, - ccedil: 231, - eacute: 233, - ecirc: 234, - egrave: 232, - eth: 240, - euml: 235, - iacute: 237, - icirc: 238, - igrave: 236, - iuml: 239, - ntilde: 241, - oacute: 243, - ocirc: 244, - ograve: 242, - oslash: 248, - otilde: 245, - ouml: 246, - szlig: 223, - thorn: 254, - uacute: 250, - ucirc: 251, - ugrave: 249, - uuml: 252, - yacute: 253, - yuml: 255, - copy: 169, - reg: 174, - nbsp: 160, - iexcl: 161, - cent: 162, - pound: 163, - curren: 164, - yen: 165, - brvbar: 166, - sect: 167, - uml: 168, - ordf: 170, - laquo: 171, - not: 172, - shy: 173, - macr: 175, - deg: 176, - plusmn: 177, - sup1: 185, - sup2: 178, - sup3: 179, - acute: 180, - micro: 181, - para: 182, - middot: 183, - cedil: 184, - ordm: 186, - raquo: 187, - frac14: 188, - frac12: 189, - frac34: 190, - iquest: 191, - times: 215, - divide: 247, - OElig: 338, - oelig: 339, - Scaron: 352, - scaron: 353, - Yuml: 376, - fnof: 402, - circ: 710, - tilde: 732, - Alpha: 913, - Beta: 914, - Gamma: 915, - Delta: 916, - Epsilon: 917, - Zeta: 918, - Eta: 919, - Theta: 920, - Iota: 921, - Kappa: 922, - Lambda: 923, - Mu: 924, - Nu: 925, - Xi: 926, - Omicron: 927, - Pi: 928, - Rho: 929, - Sigma: 931, - Tau: 932, - Upsilon: 933, - Phi: 934, - Chi: 935, - Psi: 936, - Omega: 937, - alpha: 945, - beta: 946, - gamma: 947, - delta: 948, - epsilon: 949, - zeta: 950, - eta: 951, - theta: 952, - iota: 953, - kappa: 954, - lambda: 955, - mu: 956, - nu: 957, - xi: 958, - omicron: 959, - pi: 960, - rho: 961, - sigmaf: 962, - sigma: 963, - tau: 964, - upsilon: 965, - phi: 966, - chi: 967, - psi: 968, - omega: 969, - thetasym: 977, - upsih: 978, - piv: 982, - ensp: 8194, - emsp: 8195, - thinsp: 8201, - zwnj: 8204, - zwj: 8205, - lrm: 8206, - rlm: 8207, - ndash: 8211, - mdash: 8212, - lsquo: 8216, - rsquo: 8217, - sbquo: 8218, - ldquo: 8220, - rdquo: 8221, - bdquo: 8222, - dagger: 8224, - Dagger: 8225, - bull: 8226, - hellip: 8230, - permil: 8240, - prime: 8242, - Prime: 8243, - lsaquo: 8249, - rsaquo: 8250, - oline: 8254, - frasl: 8260, - euro: 8364, - image: 8465, - weierp: 8472, - real: 8476, - trade: 8482, - alefsym: 8501, - larr: 8592, - uarr: 8593, - rarr: 8594, - darr: 8595, - harr: 8596, - crarr: 8629, - lArr: 8656, - uArr: 8657, - rArr: 8658, - dArr: 8659, - hArr: 8660, - forall: 8704, - part: 8706, - exist: 8707, - empty: 8709, - nabla: 8711, - isin: 8712, - notin: 8713, - ni: 8715, - prod: 8719, - sum: 8721, - minus: 8722, - lowast: 8727, - radic: 8730, - prop: 8733, - infin: 8734, - ang: 8736, - and: 8743, - or: 8744, - cap: 8745, - cup: 8746, - int: 8747, - there4: 8756, - sim: 8764, - cong: 8773, - asymp: 8776, - ne: 8800, - equiv: 8801, - le: 8804, - ge: 8805, - sub: 8834, - sup: 8835, - nsub: 8836, - sube: 8838, - supe: 8839, - oplus: 8853, - otimes: 8855, - perp: 8869, - sdot: 8901, - lceil: 8968, - rceil: 8969, - lfloor: 8970, - rfloor: 8971, - lang: 9001, - rang: 9002, - loz: 9674, - spades: 9824, - clubs: 9827, - hearts: 9829, - diams: 9830 - }, Object.keys(sax.ENTITIES).forEach((function(key) { - var e = sax.ENTITIES[key], s = "number" == typeof e ? String.fromCharCode(e) : e; - sax.ENTITIES[key] = s; - })), sax.STATE) sax.STATE[sax.STATE[s]] = s; - function emit(parser, event, data) { - parser[event] && parser[event](data); - } - function emitNode(parser, nodeType, data) { - parser.textNode && closeText(parser), emit(parser, nodeType, data); - } - function closeText(parser) { - parser.textNode = textopts(parser.opt, parser.textNode), parser.textNode && emit(parser, "ontext", parser.textNode), - parser.textNode = ""; - } - function textopts(opt, text) { - return opt.trim && (text = text.trim()), opt.normalize && (text = text.replace(/\s+/g, " ")), - text; - } - function error(parser, er) { - return closeText(parser), parser.trackPosition && (er += "\nLine: " + parser.line + "\nColumn: " + parser.column + "\nChar: " + parser.c), - er = new Error(er), parser.error = er, emit(parser, "onerror", er), parser; - } - function end(parser) { - return parser.sawRoot && !parser.closedRoot && strictFail(parser, "Unclosed root tag"), - parser.state !== S.BEGIN && parser.state !== S.BEGIN_WHITESPACE && parser.state !== S.TEXT && error(parser, "Unexpected end"), - closeText(parser), parser.c = "", parser.closed = !0, emit(parser, "onend"), SAXParser.call(parser, parser.strict, parser.opt), - parser; - } - function strictFail(parser, message) { - if ("object" != typeof parser || !(parser instanceof SAXParser)) throw new Error("bad call to strictFail"); - parser.strict && error(parser, message); - } - function newTag(parser) { - parser.strict || (parser.tagName = parser.tagName[parser.looseCase]()); - var parent = parser.tags[parser.tags.length - 1] || parser, tag = parser.tag = { - name: parser.tagName, - attributes: {} - }; - parser.opt.xmlns && (tag.ns = parent.ns), parser.attribList.length = 0, emitNode(parser, "onopentagstart", tag); - } - function qname(name, attribute) { - var qualName = name.indexOf(":") < 0 ? [ "", name ] : name.split(":"), prefix = qualName[0], local = qualName[1]; - return attribute && "xmlns" === name && (prefix = "xmlns", local = ""), { - prefix, - local - }; + if (minver && range.test(minver)) return minver; + return null; + }, exports.validRange = function(range, options) { + try { + return new Range(range, options).range || "*"; + } catch (er) { + return null; } - function attrib(parser) { - if (parser.strict || (parser.attribName = parser.attribName[parser.looseCase]()), - -1 !== parser.attribList.indexOf(parser.attribName) || parser.tag.attributes.hasOwnProperty(parser.attribName)) parser.attribName = parser.attribValue = ""; else { - if (parser.opt.xmlns) { - var qn = qname(parser.attribName, !0), prefix = qn.prefix, local = qn.local; - if ("xmlns" === prefix) if ("xml" === local && parser.attribValue !== XML_NAMESPACE) strictFail(parser, "xml: prefix must be bound to " + XML_NAMESPACE + "\nActual: " + parser.attribValue); else if ("xmlns" === local && parser.attribValue !== XMLNS_NAMESPACE) strictFail(parser, "xmlns: prefix must be bound to " + XMLNS_NAMESPACE + "\nActual: " + parser.attribValue); else { - var tag = parser.tag, parent = parser.tags[parser.tags.length - 1] || parser; - tag.ns === parent.ns && (tag.ns = Object.create(parent.ns)), tag.ns[local] = parser.attribValue; - } - parser.attribList.push([ parser.attribName, parser.attribValue ]); - } else parser.tag.attributes[parser.attribName] = parser.attribValue, emitNode(parser, "onattribute", { - name: parser.attribName, - value: parser.attribValue - }); - parser.attribName = parser.attribValue = ""; - } - } - function openTag(parser, selfClosing) { - if (parser.opt.xmlns) { - var tag = parser.tag, qn = qname(parser.tagName); - tag.prefix = qn.prefix, tag.local = qn.local, tag.uri = tag.ns[qn.prefix] || "", - tag.prefix && !tag.uri && (strictFail(parser, "Unbound namespace prefix: " + JSON.stringify(parser.tagName)), - tag.uri = qn.prefix); - var parent = parser.tags[parser.tags.length - 1] || parser; - tag.ns && parent.ns !== tag.ns && Object.keys(tag.ns).forEach((function(p) { - emitNode(parser, "onopennamespace", { - prefix: p, - uri: tag.ns[p] - }); - })); - for (var i = 0, l = parser.attribList.length; i < l; i++) { - var nv = parser.attribList[i], name = nv[0], value = nv[1], qualName = qname(name, !0), prefix = qualName.prefix, local = qualName.local, uri = "" === prefix ? "" : tag.ns[prefix] || "", a = { - name, - value, - prefix, - local, - uri - }; - prefix && "xmlns" !== prefix && !uri && (strictFail(parser, "Unbound namespace prefix: " + JSON.stringify(prefix)), - a.uri = prefix), parser.tag.attributes[name] = a, emitNode(parser, "onattribute", a); - } - parser.attribList.length = 0; - } - parser.tag.isSelfClosing = !!selfClosing, parser.sawRoot = !0, parser.tags.push(parser.tag), - emitNode(parser, "onopentag", parser.tag), selfClosing || (parser.noscript || "script" !== parser.tagName.toLowerCase() ? parser.state = S.TEXT : parser.state = S.SCRIPT, - parser.tag = null, parser.tagName = ""), parser.attribName = parser.attribValue = "", - parser.attribList.length = 0; - } - function closeTag(parser) { - if (!parser.tagName) return strictFail(parser, "Weird empty close tag."), parser.textNode += "", - void (parser.state = S.TEXT); - if (parser.script) { - if ("script" !== parser.tagName) return parser.script += "", - parser.tagName = "", void (parser.state = S.SCRIPT); - emitNode(parser, "onscript", parser.script), parser.script = ""; - } - var t = parser.tags.length, tagName = parser.tagName; - parser.strict || (tagName = tagName[parser.looseCase]()); - for (var closeTo = tagName; t--; ) { - if (parser.tags[t].name === closeTo) break; - strictFail(parser, "Unexpected close tag"); - } - if (t < 0) return strictFail(parser, "Unmatched closing tag: " + parser.tagName), - parser.textNode += "", void (parser.state = S.TEXT); - parser.tagName = tagName; - for (var s = parser.tags.length; s-- > t; ) { - var tag = parser.tag = parser.tags.pop(); - parser.tagName = parser.tag.name, emitNode(parser, "onclosetag", parser.tagName); - var x = {}; - for (var i in tag.ns) x[i] = tag.ns[i]; - var parent = parser.tags[parser.tags.length - 1] || parser; - parser.opt.xmlns && tag.ns !== parent.ns && Object.keys(tag.ns).forEach((function(p) { - var n = tag.ns[p]; - emitNode(parser, "onclosenamespace", { - prefix: p, - uri: n - }); - })); - } - 0 === t && (parser.closedRoot = !0), parser.tagName = parser.attribValue = parser.attribName = "", - parser.attribList.length = 0, parser.state = S.TEXT; - } - function parseEntity(parser) { - var num, entity = parser.entity, entityLC = entity.toLowerCase(), numStr = ""; - return parser.ENTITIES[entity] ? parser.ENTITIES[entity] : parser.ENTITIES[entityLC] ? parser.ENTITIES[entityLC] : ("#" === (entity = entityLC).charAt(0) && ("x" === entity.charAt(1) ? (entity = entity.slice(2), - numStr = (num = parseInt(entity, 16)).toString(16)) : (entity = entity.slice(1), - numStr = (num = parseInt(entity, 10)).toString(10))), entity = entity.replace(/^0+/, ""), - isNaN(num) || numStr.toLowerCase() !== entity ? (strictFail(parser, "Invalid character entity"), - "&" + parser.entity + ";") : String.fromCodePoint(num)); - } - function beginWhiteSpace(parser, c) { - "<" === c ? (parser.state = S.OPEN_WAKA, parser.startTagPosition = parser.position) : isWhitespace(c) || (strictFail(parser, "Non-whitespace before first tag."), - parser.textNode = c, parser.state = S.TEXT); - } - function charAt(chunk, i) { - var result = ""; - return i < chunk.length && (result = chunk.charAt(i)), result; - } - S = sax.STATE, String.fromCodePoint || (stringFromCharCode = String.fromCharCode, - floor = Math.floor, fromCodePoint = function() { - var highSurrogate, lowSurrogate, codeUnits = [], index = -1, length = arguments.length; - if (!length) return ""; - for (var result = ""; ++index < length; ) { - var codePoint = Number(arguments[index]); - if (!isFinite(codePoint) || codePoint < 0 || codePoint > 1114111 || floor(codePoint) !== codePoint) throw RangeError("Invalid code point: " + codePoint); - codePoint <= 65535 ? codeUnits.push(codePoint) : (highSurrogate = 55296 + ((codePoint -= 65536) >> 10), - lowSurrogate = codePoint % 1024 + 56320, codeUnits.push(highSurrogate, lowSurrogate)), - (index + 1 === length || codeUnits.length > 16384) && (result += stringFromCharCode.apply(null, codeUnits), - codeUnits.length = 0); - } - return result; - }, Object.defineProperty ? Object.defineProperty(String, "fromCodePoint", { - value: fromCodePoint, - configurable: !0, - writable: !0 - }) : String.fromCodePoint = fromCodePoint); - }(exports); - }, - 7891: (module, exports) => { - var debug; - exports = module.exports = SemVer, debug = "object" == typeof process && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? function() { - var args = Array.prototype.slice.call(arguments, 0); - args.unshift("SEMVER"), console.log.apply(console, args); - } : function() {}, exports.SEMVER_SPEC_VERSION = "2.0.0"; - var MAX_LENGTH = 256, MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || 9007199254740991, re = exports.re = [], src = exports.src = [], t = exports.tokens = {}, R = 0; - function tok(n) { - t[n] = R++; - } - tok("NUMERICIDENTIFIER"), src[t.NUMERICIDENTIFIER] = "0|[1-9]\\d*", tok("NUMERICIDENTIFIERLOOSE"), - src[t.NUMERICIDENTIFIERLOOSE] = "[0-9]+", tok("NONNUMERICIDENTIFIER"), src[t.NONNUMERICIDENTIFIER] = "\\d*[a-zA-Z-][a-zA-Z0-9-]*", - tok("MAINVERSION"), src[t.MAINVERSION] = "(" + src[t.NUMERICIDENTIFIER] + ")\\.(" + src[t.NUMERICIDENTIFIER] + ")\\.(" + src[t.NUMERICIDENTIFIER] + ")", - tok("MAINVERSIONLOOSE"), src[t.MAINVERSIONLOOSE] = "(" + src[t.NUMERICIDENTIFIERLOOSE] + ")\\.(" + src[t.NUMERICIDENTIFIERLOOSE] + ")\\.(" + src[t.NUMERICIDENTIFIERLOOSE] + ")", - tok("PRERELEASEIDENTIFIER"), src[t.PRERELEASEIDENTIFIER] = "(?:" + src[t.NUMERICIDENTIFIER] + "|" + src[t.NONNUMERICIDENTIFIER] + ")", - tok("PRERELEASEIDENTIFIERLOOSE"), src[t.PRERELEASEIDENTIFIERLOOSE] = "(?:" + src[t.NUMERICIDENTIFIERLOOSE] + "|" + src[t.NONNUMERICIDENTIFIER] + ")", - tok("PRERELEASE"), src[t.PRERELEASE] = "(?:-(" + src[t.PRERELEASEIDENTIFIER] + "(?:\\." + src[t.PRERELEASEIDENTIFIER] + ")*))", - tok("PRERELEASELOOSE"), src[t.PRERELEASELOOSE] = "(?:-?(" + src[t.PRERELEASEIDENTIFIERLOOSE] + "(?:\\." + src[t.PRERELEASEIDENTIFIERLOOSE] + ")*))", - tok("BUILDIDENTIFIER"), src[t.BUILDIDENTIFIER] = "[0-9A-Za-z-]+", tok("BUILD"), - src[t.BUILD] = "(?:\\+(" + src[t.BUILDIDENTIFIER] + "(?:\\." + src[t.BUILDIDENTIFIER] + ")*))", - tok("FULL"), tok("FULLPLAIN"), src[t.FULLPLAIN] = "v?" + src[t.MAINVERSION] + src[t.PRERELEASE] + "?" + src[t.BUILD] + "?", - src[t.FULL] = "^" + src[t.FULLPLAIN] + "$", tok("LOOSEPLAIN"), src[t.LOOSEPLAIN] = "[v=\\s]*" + src[t.MAINVERSIONLOOSE] + src[t.PRERELEASELOOSE] + "?" + src[t.BUILD] + "?", - tok("LOOSE"), src[t.LOOSE] = "^" + src[t.LOOSEPLAIN] + "$", tok("GTLT"), src[t.GTLT] = "((?:<|>)?=?)", - tok("XRANGEIDENTIFIERLOOSE"), src[t.XRANGEIDENTIFIERLOOSE] = src[t.NUMERICIDENTIFIERLOOSE] + "|x|X|\\*", - tok("XRANGEIDENTIFIER"), src[t.XRANGEIDENTIFIER] = src[t.NUMERICIDENTIFIER] + "|x|X|\\*", - tok("XRANGEPLAIN"), src[t.XRANGEPLAIN] = "[v=\\s]*(" + src[t.XRANGEIDENTIFIER] + ")(?:\\.(" + src[t.XRANGEIDENTIFIER] + ")(?:\\.(" + src[t.XRANGEIDENTIFIER] + ")(?:" + src[t.PRERELEASE] + ")?" + src[t.BUILD] + "?)?)?", - tok("XRANGEPLAINLOOSE"), src[t.XRANGEPLAINLOOSE] = "[v=\\s]*(" + src[t.XRANGEIDENTIFIERLOOSE] + ")(?:\\.(" + src[t.XRANGEIDENTIFIERLOOSE] + ")(?:\\.(" + src[t.XRANGEIDENTIFIERLOOSE] + ")(?:" + src[t.PRERELEASELOOSE] + ")?" + src[t.BUILD] + "?)?)?", - tok("XRANGE"), src[t.XRANGE] = "^" + src[t.GTLT] + "\\s*" + src[t.XRANGEPLAIN] + "$", - tok("XRANGELOOSE"), src[t.XRANGELOOSE] = "^" + src[t.GTLT] + "\\s*" + src[t.XRANGEPLAINLOOSE] + "$", - tok("COERCE"), src[t.COERCE] = "(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])", - tok("COERCERTL"), re[t.COERCERTL] = new RegExp(src[t.COERCE], "g"), tok("LONETILDE"), - src[t.LONETILDE] = "(?:~>?)", tok("TILDETRIM"), src[t.TILDETRIM] = "(\\s*)" + src[t.LONETILDE] + "\\s+", - re[t.TILDETRIM] = new RegExp(src[t.TILDETRIM], "g"); - tok("TILDE"), src[t.TILDE] = "^" + src[t.LONETILDE] + src[t.XRANGEPLAIN] + "$", - tok("TILDELOOSE"), src[t.TILDELOOSE] = "^" + src[t.LONETILDE] + src[t.XRANGEPLAINLOOSE] + "$", - tok("LONECARET"), src[t.LONECARET] = "(?:\\^)", tok("CARETTRIM"), src[t.CARETTRIM] = "(\\s*)" + src[t.LONECARET] + "\\s+", - re[t.CARETTRIM] = new RegExp(src[t.CARETTRIM], "g"); - tok("CARET"), src[t.CARET] = "^" + src[t.LONECARET] + src[t.XRANGEPLAIN] + "$", - tok("CARETLOOSE"), src[t.CARETLOOSE] = "^" + src[t.LONECARET] + src[t.XRANGEPLAINLOOSE] + "$", - tok("COMPARATORLOOSE"), src[t.COMPARATORLOOSE] = "^" + src[t.GTLT] + "\\s*(" + src[t.LOOSEPLAIN] + ")$|^$", - tok("COMPARATOR"), src[t.COMPARATOR] = "^" + src[t.GTLT] + "\\s*(" + src[t.FULLPLAIN] + ")$|^$", - tok("COMPARATORTRIM"), src[t.COMPARATORTRIM] = "(\\s*)" + src[t.GTLT] + "\\s*(" + src[t.LOOSEPLAIN] + "|" + src[t.XRANGEPLAIN] + ")", - re[t.COMPARATORTRIM] = new RegExp(src[t.COMPARATORTRIM], "g"); - tok("HYPHENRANGE"), src[t.HYPHENRANGE] = "^\\s*(" + src[t.XRANGEPLAIN] + ")\\s+-\\s+(" + src[t.XRANGEPLAIN] + ")\\s*$", - tok("HYPHENRANGELOOSE"), src[t.HYPHENRANGELOOSE] = "^\\s*(" + src[t.XRANGEPLAINLOOSE] + ")\\s+-\\s+(" + src[t.XRANGEPLAINLOOSE] + ")\\s*$", - tok("STAR"), src[t.STAR] = "(<|>)?=?\\s*\\*"; - for (var i = 0; i < R; i++) debug(i, src[i]), re[i] || (re[i] = new RegExp(src[i])); - function parse(version, options) { - if (options && "object" == typeof options || (options = { - loose: !!options, - includePrerelease: !1 - }), version instanceof SemVer) return version; + }, exports.ltr = function(version, range, options) { + return outside(version, range, "<", options); + }, exports.gtr = function(version, range, options) { + return outside(version, range, ">", options); + }, exports.outside = outside, exports.prerelease = function(version, options) { + var parsed = parse(version, options); + return parsed && parsed.prerelease.length ? parsed.prerelease : null; + }, exports.intersects = function(r1, r2, options) { + return r1 = new Range(r1, options), r2 = new Range(r2, options), r1.intersects(r2); + }, exports.coerce = function(version, options) { + if (version instanceof SemVer) return version; + "number" == typeof version && (version = String(version)); if ("string" != typeof version) return null; - if (version.length > MAX_LENGTH) return null; - if (!(options.loose ? re[t.LOOSE] : re[t.FULL]).test(version)) return null; - try { - return new SemVer(version, options); - } catch (er) { - return null; + var match = null; + if ((options = options || {}).rtl) { + for (var next; (next = safeRe[t.COERCERTL].exec(version)) && (!match || match.index + match[0].length !== version.length); ) match && next.index + next[0].length === match.index + match[0].length || (match = next), + safeRe[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length; + safeRe[t.COERCERTL].lastIndex = -1; + } else match = version.match(safeRe[t.COERCE]); + if (null === match) return null; + return parse(match[2] + "." + (match[3] || "0") + "." + (match[4] || "0"), options); + }; + }, + 829: (__unused_webpack_module, exports) => { + "use strict"; + function parseArgsStringToArgv(value, env, file) { + var match, myRegexp = /([^\s'"]([^\s'"]*(['"])([^\3]*?)\3)+[^\s'"]*)|[^\s'"]+|(['"])([^\5]*?)\5/gi, myString = value, myArray = []; + env && myArray.push(env), file && myArray.push(file); + do { + null !== (match = myRegexp.exec(myString)) && myArray.push(firstString(match[1], match[6], match[0])); + } while (null !== match); + return myArray; + } + function firstString() { + for (var args = [], _i = 0; _i < arguments.length; _i++) args[_i] = arguments[_i]; + for (var i = 0; i < args.length; i++) { + var arg = args[i]; + if ("string" == typeof arg) return arg; } } - function SemVer(version, options) { - if (options && "object" == typeof options || (options = { - loose: !!options, - includePrerelease: !1 - }), version instanceof SemVer) { - if (version.loose === options.loose) return version; - version = version.version; - } else if ("string" != typeof version) throw new TypeError("Invalid Version: " + version); - if (version.length > MAX_LENGTH) throw new TypeError("version is longer than " + MAX_LENGTH + " characters"); - if (!(this instanceof SemVer)) return new SemVer(version, options); - debug("SemVer", version, options), this.options = options, this.loose = !!options.loose; - var m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL]); - if (!m) throw new TypeError("Invalid Version: " + version); - if (this.raw = version, this.major = +m[1], this.minor = +m[2], this.patch = +m[3], - this.major > MAX_SAFE_INTEGER || this.major < 0) throw new TypeError("Invalid major version"); - if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) throw new TypeError("Invalid minor version"); - if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) throw new TypeError("Invalid patch version"); - m[4] ? this.prerelease = m[4].split(".").map((function(id) { - if (/^[0-9]+$/.test(id)) { - var num = +id; - if (num >= 0 && num < MAX_SAFE_INTEGER) return num; + exports.__esModule = !0, exports.default = parseArgsStringToArgv, exports.parseArgsStringToArgv = parseArgsStringToArgv; + }, + 7211: module => { + const hexRegex = /^[-+]?0x[a-fA-F0-9]+$/, numRegex = /^([\-\+])?(0*)(\.[0-9]+([eE]\-?[0-9]+)?|[0-9]+(\.[0-9]+([eE]\-?[0-9]+)?)?)$/; + !Number.parseInt && window.parseInt && (Number.parseInt = window.parseInt), !Number.parseFloat && window.parseFloat && (Number.parseFloat = window.parseFloat); + const consider = { + hex: !0, + leadingZeros: !0, + decimalPoint: ".", + eNotation: !0 + }; + module.exports = function(str, options = {}) { + if (options = Object.assign({}, consider, options), !str || "string" != typeof str) return str; + let trimmedStr = str.trim(); + if (void 0 !== options.skipLike && options.skipLike.test(trimmedStr)) return str; + if (options.hex && hexRegex.test(trimmedStr)) return Number.parseInt(trimmedStr, 16); + { + const match = numRegex.exec(trimmedStr); + if (match) { + const sign = match[1], leadingZeros = match[2]; + let numTrimmedByZeros = function(numStr) { + if (numStr && -1 !== numStr.indexOf(".")) return "." === (numStr = numStr.replace(/0+$/, "")) ? numStr = "0" : "." === numStr[0] ? numStr = "0" + numStr : "." === numStr[numStr.length - 1] && (numStr = numStr.substr(0, numStr.length - 1)), + numStr; + return numStr; + }(match[3]); + const eNotation = match[4] || match[6]; + if (!options.leadingZeros && leadingZeros.length > 0 && sign && "." !== trimmedStr[2]) return str; + if (!options.leadingZeros && leadingZeros.length > 0 && !sign && "." !== trimmedStr[1]) return str; + { + const num = Number(trimmedStr), numStr = "" + num; + return -1 !== numStr.search(/[eE]/) || eNotation ? options.eNotation ? num : str : -1 !== trimmedStr.indexOf(".") ? "0" === numStr && "" === numTrimmedByZeros || numStr === numTrimmedByZeros || sign && numStr === "-" + numTrimmedByZeros ? num : str : leadingZeros ? numTrimmedByZeros === numStr || sign + numTrimmedByZeros === numStr ? num : str : trimmedStr === numStr || trimmedStr === sign + numStr ? num : str; + } } - return id; - })) : this.prerelease = [], this.build = m[5] ? m[5].split(".") : [], this.format(); + return str; + } + }; + }, + 6603: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const os = __webpack_require__(857), tty = __webpack_require__(2018), hasFlag = __webpack_require__(4568), {env} = process; + let flagForceColor; + function supportsColor(haveStream, {streamIsTTY, sniffFlags = !0} = {}) { + const noFlagForceColor = function() { + if ("FORCE_COLOR" in env) return "true" === env.FORCE_COLOR ? 1 : "false" === env.FORCE_COLOR ? 0 : 0 === env.FORCE_COLOR.length ? 1 : Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3); + }(); + void 0 !== noFlagForceColor && (flagForceColor = noFlagForceColor); + const forceColor = sniffFlags ? flagForceColor : noFlagForceColor; + if (0 === forceColor) return 0; + if (sniffFlags) { + if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) return 3; + if (hasFlag("color=256")) return 2; + } + if (haveStream && !streamIsTTY && void 0 === forceColor) return 0; + const min = forceColor || 0; + if ("dumb" === env.TERM) return min; + if ("win32" === process.platform) { + const osRelease = os.release().split("."); + return Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586 ? Number(osRelease[2]) >= 14931 ? 3 : 2 : 1; + } + if ("CI" in env) return [ "TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE", "DRONE" ].some((sign => sign in env)) || "codeship" === env.CI_NAME ? 1 : min; + if ("TEAMCITY_VERSION" in env) return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0; + if ("truecolor" === env.COLORTERM) return 3; + if ("TERM_PROGRAM" in env) { + const version = Number.parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10); + switch (env.TERM_PROGRAM) { + case "iTerm.app": + return version >= 3 ? 3 : 2; + + case "Apple_Terminal": + return 2; + } + } + return /-256(color)?$/i.test(env.TERM) ? 2 : /^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM) || "COLORTERM" in env ? 1 : min; + } + function getSupportLevel(stream, options = {}) { + return function(level) { + return 0 !== level && { + level, + hasBasic: !0, + has256: level >= 2, + has16m: level >= 3 + }; + }(supportsColor(stream, { + streamIsTTY: stream && stream.isTTY, + ...options + })); } - exports.parse = parse, exports.valid = function(version, options) { - var v = parse(version, options); - return v ? v.version : null; - }, exports.clean = function(version, options) { - var s = parse(version.trim().replace(/^[=v]+/, ""), options); - return s ? s.version : null; - }, exports.SemVer = SemVer, SemVer.prototype.format = function() { - return this.version = this.major + "." + this.minor + "." + this.patch, this.prerelease.length && (this.version += "-" + this.prerelease.join(".")), - this.version; - }, SemVer.prototype.toString = function() { - return this.version; - }, SemVer.prototype.compare = function(other) { - return debug("SemVer.compare", this.version, this.options, other), other instanceof SemVer || (other = new SemVer(other, this.options)), - this.compareMain(other) || this.comparePre(other); - }, SemVer.prototype.compareMain = function(other) { - return other instanceof SemVer || (other = new SemVer(other, this.options)), compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch); - }, SemVer.prototype.comparePre = function(other) { - if (other instanceof SemVer || (other = new SemVer(other, this.options)), this.prerelease.length && !other.prerelease.length) return -1; - if (!this.prerelease.length && other.prerelease.length) return 1; - if (!this.prerelease.length && !other.prerelease.length) return 0; - var i = 0; - do { - var a = this.prerelease[i], b = other.prerelease[i]; - if (debug("prerelease compare", i, a, b), void 0 === a && void 0 === b) return 0; - if (void 0 === b) return 1; - if (void 0 === a) return -1; - if (a !== b) return compareIdentifiers(a, b); - } while (++i); - }, SemVer.prototype.compareBuild = function(other) { - other instanceof SemVer || (other = new SemVer(other, this.options)); - var i = 0; - do { - var a = this.build[i], b = other.build[i]; - if (debug("prerelease compare", i, a, b), void 0 === a && void 0 === b) return 0; - if (void 0 === b) return 1; - if (void 0 === a) return -1; - if (a !== b) return compareIdentifiers(a, b); - } while (++i); - }, SemVer.prototype.inc = function(release, identifier) { - switch (release) { - case "premajor": - this.prerelease.length = 0, this.patch = 0, this.minor = 0, this.major++, this.inc("pre", identifier); - break; - - case "preminor": - this.prerelease.length = 0, this.patch = 0, this.minor++, this.inc("pre", identifier); - break; - - case "prepatch": - this.prerelease.length = 0, this.inc("patch", identifier), this.inc("pre", identifier); - break; - - case "prerelease": - 0 === this.prerelease.length && this.inc("patch", identifier), this.inc("pre", identifier); - break; - - case "major": - 0 === this.minor && 0 === this.patch && 0 !== this.prerelease.length || this.major++, - this.minor = 0, this.patch = 0, this.prerelease = []; - break; - - case "minor": - 0 === this.patch && 0 !== this.prerelease.length || this.minor++, this.patch = 0, - this.prerelease = []; - break; - - case "patch": - 0 === this.prerelease.length && this.patch++, this.prerelease = []; - break; - - case "pre": - if (0 === this.prerelease.length) this.prerelease = [ 0 ]; else { - for (var i = this.prerelease.length; --i >= 0; ) "number" == typeof this.prerelease[i] && (this.prerelease[i]++, - i = -2); - -1 === i && this.prerelease.push(0); + hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never") ? flagForceColor = 0 : (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) && (flagForceColor = 1), + module.exports = { + supportsColor: getSupportLevel, + stdout: getSupportLevel({ + isTTY: tty.isatty(1) + }), + stderr: getSupportLevel({ + isTTY: tty.isatty(2) + }) + }; + }, + 3663: (module, __unused_webpack_exports, __webpack_require__) => { + module.exports = __webpack_require__(8393); + }, + 8393: (__unused_webpack_module, exports, __webpack_require__) => { + "use strict"; + __webpack_require__(9278); + var debug, tls = __webpack_require__(4756), http = __webpack_require__(8611), https = __webpack_require__(5692), events = __webpack_require__(4434), util = (__webpack_require__(2613), + __webpack_require__(9023)); + function TunnelingAgent(options) { + var self = this; + self.options = options || {}, self.proxyOptions = self.options.proxy || {}, self.maxSockets = self.options.maxSockets || http.Agent.defaultMaxSockets, + self.requests = [], self.sockets = [], self.on("free", (function(socket, host, port, localAddress) { + for (var options = toOptions(host, port, localAddress), i = 0, len = self.requests.length; i < len; ++i) { + var pending = self.requests[i]; + if (pending.host === options.host && pending.port === options.port) return self.requests.splice(i, 1), + void pending.request.onSocket(socket); + } + socket.destroy(), self.removeSocket(socket); + })); + } + function createSecureSocket(options, cb) { + var self = this; + TunnelingAgent.prototype.createSocket.call(self, options, (function(socket) { + var hostHeader = options.request.getHeader("host"), tlsOptions = mergeOptions({}, self.options, { + socket, + servername: hostHeader ? hostHeader.replace(/:.*$/, "") : options.host + }), secureSocket = tls.connect(0, tlsOptions); + self.sockets[self.sockets.indexOf(socket)] = secureSocket, cb(secureSocket); + })); + } + function toOptions(host, port, localAddress) { + return "string" == typeof host ? { + host, + port, + localAddress + } : host; + } + function mergeOptions(target) { + for (var i = 1, len = arguments.length; i < len; ++i) { + var overrides = arguments[i]; + if ("object" == typeof overrides) for (var keys = Object.keys(overrides), j = 0, keyLen = keys.length; j < keyLen; ++j) { + var k = keys[j]; + void 0 !== overrides[k] && (target[k] = overrides[k]); + } + } + return target; + } + exports.httpOverHttp = function(options) { + var agent = new TunnelingAgent(options); + return agent.request = http.request, agent; + }, exports.httpsOverHttp = function(options) { + var agent = new TunnelingAgent(options); + return agent.request = http.request, agent.createSocket = createSecureSocket, agent.defaultPort = 443, + agent; + }, exports.httpOverHttps = function(options) { + var agent = new TunnelingAgent(options); + return agent.request = https.request, agent; + }, exports.httpsOverHttps = function(options) { + var agent = new TunnelingAgent(options); + return agent.request = https.request, agent.createSocket = createSecureSocket, agent.defaultPort = 443, + agent; + }, util.inherits(TunnelingAgent, events.EventEmitter), TunnelingAgent.prototype.addRequest = function(req, host, port, localAddress) { + var self = this, options = mergeOptions({ + request: req + }, self.options, toOptions(host, port, localAddress)); + self.sockets.length >= this.maxSockets ? self.requests.push(options) : self.createSocket(options, (function(socket) { + function onFree() { + self.emit("free", socket, options); + } + function onCloseOrRemove(err) { + self.removeSocket(socket), socket.removeListener("free", onFree), socket.removeListener("close", onCloseOrRemove), + socket.removeListener("agentRemove", onCloseOrRemove); + } + socket.on("free", onFree), socket.on("close", onCloseOrRemove), socket.on("agentRemove", onCloseOrRemove), + req.onSocket(socket); + })); + }, TunnelingAgent.prototype.createSocket = function(options, cb) { + var self = this, placeholder = {}; + self.sockets.push(placeholder); + var connectOptions = mergeOptions({}, self.proxyOptions, { + method: "CONNECT", + path: options.host + ":" + options.port, + agent: !1, + headers: { + host: options.host + ":" + options.port + } + }); + options.localAddress && (connectOptions.localAddress = options.localAddress), connectOptions.proxyAuth && (connectOptions.headers = connectOptions.headers || {}, + connectOptions.headers["Proxy-Authorization"] = "Basic " + new Buffer(connectOptions.proxyAuth).toString("base64")), + debug("making CONNECT request"); + var connectReq = self.request(connectOptions); + function onConnect(res, socket, head) { + var error; + return connectReq.removeAllListeners(), socket.removeAllListeners(), 200 !== res.statusCode ? (debug("tunneling socket could not be established, statusCode=%d", res.statusCode), + socket.destroy(), (error = new Error("tunneling socket could not be established, statusCode=" + res.statusCode)).code = "ECONNRESET", + options.request.emit("error", error), void self.removeSocket(placeholder)) : head.length > 0 ? (debug("got illegal response body from proxy"), + socket.destroy(), (error = new Error("got illegal response body from proxy")).code = "ECONNRESET", + options.request.emit("error", error), void self.removeSocket(placeholder)) : (debug("tunneling connection has established"), + self.sockets[self.sockets.indexOf(placeholder)] = socket, cb(socket)); + } + connectReq.useChunkedEncodingByDefault = !1, connectReq.once("response", (function(res) { + res.upgrade = !0; + })), connectReq.once("upgrade", (function(res, socket, head) { + process.nextTick((function() { + onConnect(res, socket, head); + })); + })), connectReq.once("connect", onConnect), connectReq.once("error", (function(cause) { + connectReq.removeAllListeners(), debug("tunneling socket could not be established, cause=%s\n", cause.message, cause.stack); + var error = new Error("tunneling socket could not be established, cause=" + cause.message); + error.code = "ECONNRESET", options.request.emit("error", error), self.removeSocket(placeholder); + })), connectReq.end(); + }, TunnelingAgent.prototype.removeSocket = function(socket) { + var pos = this.sockets.indexOf(socket); + if (-1 !== pos) { + this.sockets.splice(pos, 1); + var pending = this.requests.shift(); + pending && this.createSocket(pending, (function(socket) { + pending.request.onSocket(socket); + })); + } + }, debug = process.env.NODE_DEBUG && /\btunnel\b/.test(process.env.NODE_DEBUG) ? function() { + var args = Array.prototype.slice.call(arguments); + "string" == typeof args[0] ? args[0] = "TUNNEL: " + args[0] : args.unshift("TUNNEL:"), + console.error.apply(console, args); + } : function() {}, exports.debug = debug; + }, + 3001: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const Client = __webpack_require__(2138), Dispatcher = __webpack_require__(7704), errors = __webpack_require__(3898), Pool = __webpack_require__(7047), BalancedPool = __webpack_require__(3788), Agent = __webpack_require__(1180), util = __webpack_require__(8869), {InvalidArgumentError} = errors, api = __webpack_require__(130), buildConnector = __webpack_require__(5651), MockClient = __webpack_require__(1014), MockAgent = __webpack_require__(992), MockPool = __webpack_require__(7099), mockErrors = __webpack_require__(4850), ProxyAgent = __webpack_require__(1133), RetryHandler = __webpack_require__(3786), {getGlobalDispatcher, setGlobalDispatcher} = __webpack_require__(5710), DecoratorHandler = __webpack_require__(899), RedirectHandler = __webpack_require__(4386), createRedirectInterceptor = __webpack_require__(8838); + let hasCrypto; + try { + __webpack_require__(6982), hasCrypto = !0; + } catch { + hasCrypto = !1; + } + function makeDispatcher(fn) { + return (url, opts, handler) => { + if ("function" == typeof opts && (handler = opts, opts = null), !url || "string" != typeof url && "object" != typeof url && !(url instanceof URL)) throw new InvalidArgumentError("invalid url"); + if (null != opts && "object" != typeof opts) throw new InvalidArgumentError("invalid opts"); + if (opts && null != opts.path) { + if ("string" != typeof opts.path) throw new InvalidArgumentError("invalid opts.path"); + let path = opts.path; + opts.path.startsWith("/") || (path = `/${path}`), url = new URL(util.parseOrigin(url).origin + path); + } else opts || (opts = "object" == typeof url ? url : {}), url = util.parseURL(url); + const {agent, dispatcher = getGlobalDispatcher()} = opts; + if (agent) throw new InvalidArgumentError("unsupported opts.agent. Did you mean opts.client?"); + return fn.call(dispatcher, { + ...opts, + origin: url.origin, + path: url.search ? `${url.pathname}${url.search}` : url.pathname, + method: opts.method || (opts.body ? "PUT" : "GET") + }, handler); + }; + } + if (Object.assign(Dispatcher.prototype, api), module.exports.Dispatcher = Dispatcher, + module.exports.Client = Client, module.exports.Pool = Pool, module.exports.BalancedPool = BalancedPool, + module.exports.Agent = Agent, module.exports.ProxyAgent = ProxyAgent, module.exports.RetryHandler = RetryHandler, + module.exports.DecoratorHandler = DecoratorHandler, module.exports.RedirectHandler = RedirectHandler, + module.exports.createRedirectInterceptor = createRedirectInterceptor, module.exports.buildConnector = buildConnector, + module.exports.errors = errors, module.exports.setGlobalDispatcher = setGlobalDispatcher, + module.exports.getGlobalDispatcher = getGlobalDispatcher, util.nodeMajor > 16 || 16 === util.nodeMajor && util.nodeMinor >= 8) { + let fetchImpl = null; + module.exports.fetch = async function(resource) { + fetchImpl || (fetchImpl = __webpack_require__(5306).fetch); + try { + return await fetchImpl(...arguments); + } catch (err) { + throw "object" == typeof err && Error.captureStackTrace(err, this), err; + } + }, module.exports.Headers = __webpack_require__(5472).Headers, module.exports.Response = __webpack_require__(3767).Response, + module.exports.Request = __webpack_require__(8899).Request, module.exports.FormData = __webpack_require__(9706).FormData, + module.exports.File = __webpack_require__(3534).File, module.exports.FileReader = __webpack_require__(2495).FileReader; + const {setGlobalOrigin, getGlobalOrigin} = __webpack_require__(6367); + module.exports.setGlobalOrigin = setGlobalOrigin, module.exports.getGlobalOrigin = getGlobalOrigin; + const {CacheStorage} = __webpack_require__(2609), {kConstruct} = __webpack_require__(6889); + module.exports.caches = new CacheStorage(kConstruct); + } + if (util.nodeMajor >= 16) { + const {deleteCookie, getCookies, getSetCookies, setCookie} = __webpack_require__(4305); + module.exports.deleteCookie = deleteCookie, module.exports.getCookies = getCookies, + module.exports.getSetCookies = getSetCookies, module.exports.setCookie = setCookie; + const {parseMIMEType, serializeAMimeType} = __webpack_require__(3587); + module.exports.parseMIMEType = parseMIMEType, module.exports.serializeAMimeType = serializeAMimeType; + } + if (util.nodeMajor >= 18 && hasCrypto) { + const {WebSocket} = __webpack_require__(9658); + module.exports.WebSocket = WebSocket; + } + module.exports.request = makeDispatcher(api.request), module.exports.stream = makeDispatcher(api.stream), + module.exports.pipeline = makeDispatcher(api.pipeline), module.exports.connect = makeDispatcher(api.connect), + module.exports.upgrade = makeDispatcher(api.upgrade), module.exports.MockClient = MockClient, + module.exports.MockPool = MockPool, module.exports.MockAgent = MockAgent, module.exports.mockErrors = mockErrors; + }, + 1180: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const {InvalidArgumentError} = __webpack_require__(3898), {kClients, kRunning, kClose, kDestroy, kDispatch, kInterceptors} = __webpack_require__(8028), DispatcherBase = __webpack_require__(524), Pool = __webpack_require__(7047), Client = __webpack_require__(2138), util = __webpack_require__(8869), createRedirectInterceptor = __webpack_require__(8838), {WeakRef, FinalizationRegistry} = __webpack_require__(383)(), kOnConnect = Symbol("onConnect"), kOnDisconnect = Symbol("onDisconnect"), kOnConnectionError = Symbol("onConnectionError"), kMaxRedirections = Symbol("maxRedirections"), kOnDrain = Symbol("onDrain"), kFactory = Symbol("factory"), kFinalizer = Symbol("finalizer"), kOptions = Symbol("options"); + function defaultFactory(origin, opts) { + return opts && 1 === opts.connections ? new Client(origin, opts) : new Pool(origin, opts); + } + module.exports = class extends DispatcherBase { + constructor({factory = defaultFactory, maxRedirections = 0, connect, ...options} = {}) { + if (super(), "function" != typeof factory) throw new InvalidArgumentError("factory must be a function."); + if (null != connect && "function" != typeof connect && "object" != typeof connect) throw new InvalidArgumentError("connect must be a function or an object"); + if (!Number.isInteger(maxRedirections) || maxRedirections < 0) throw new InvalidArgumentError("maxRedirections must be a positive number"); + connect && "function" != typeof connect && (connect = { + ...connect + }), this[kInterceptors] = options.interceptors && options.interceptors.Agent && Array.isArray(options.interceptors.Agent) ? options.interceptors.Agent : [ createRedirectInterceptor({ + maxRedirections + }) ], this[kOptions] = { + ...util.deepClone(options), + connect + }, this[kOptions].interceptors = options.interceptors ? { + ...options.interceptors + } : void 0, this[kMaxRedirections] = maxRedirections, this[kFactory] = factory, + this[kClients] = new Map, this[kFinalizer] = new FinalizationRegistry((key => { + const ref = this[kClients].get(key); + void 0 !== ref && void 0 === ref.deref() && this[kClients].delete(key); + })); + const agent = this; + this[kOnDrain] = (origin, targets) => { + agent.emit("drain", origin, [ agent, ...targets ]); + }, this[kOnConnect] = (origin, targets) => { + agent.emit("connect", origin, [ agent, ...targets ]); + }, this[kOnDisconnect] = (origin, targets, err) => { + agent.emit("disconnect", origin, [ agent, ...targets ], err); + }, this[kOnConnectionError] = (origin, targets, err) => { + agent.emit("connectionError", origin, [ agent, ...targets ], err); + }; + } + get [kRunning]() { + let ret = 0; + for (const ref of this[kClients].values()) { + const client = ref.deref(); + client && (ret += client[kRunning]); } - identifier && (this.prerelease[0] === identifier ? isNaN(this.prerelease[1]) && (this.prerelease = [ identifier, 0 ]) : this.prerelease = [ identifier, 0 ]); - break; - - default: - throw new Error("invalid increment argument: " + release); + return ret; } - return this.format(), this.raw = this.version, this; - }, exports.inc = function(version, release, loose, identifier) { - "string" == typeof loose && (identifier = loose, loose = void 0); - try { - return new SemVer(version, loose).inc(release, identifier).version; - } catch (er) { - return null; + [kDispatch](opts, handler) { + let key; + if (!opts.origin || !("string" == typeof opts.origin || opts.origin instanceof URL)) throw new InvalidArgumentError("opts.origin must be a non-empty string or URL."); + key = String(opts.origin); + const ref = this[kClients].get(key); + let dispatcher = ref ? ref.deref() : null; + return dispatcher || (dispatcher = this[kFactory](opts.origin, this[kOptions]).on("drain", this[kOnDrain]).on("connect", this[kOnConnect]).on("disconnect", this[kOnDisconnect]).on("connectionError", this[kOnConnectionError]), + this[kClients].set(key, new WeakRef(dispatcher)), this[kFinalizer].register(dispatcher, key)), + dispatcher.dispatch(opts, handler); } - }, exports.diff = function(version1, version2) { - if (eq(version1, version2)) return null; - var v1 = parse(version1), v2 = parse(version2), prefix = ""; - if (v1.prerelease.length || v2.prerelease.length) { - prefix = "pre"; - var defaultResult = "prerelease"; + async [kClose]() { + const closePromises = []; + for (const ref of this[kClients].values()) { + const client = ref.deref(); + client && closePromises.push(client.close()); + } + await Promise.all(closePromises); } - for (var key in v1) if (("major" === key || "minor" === key || "patch" === key) && v1[key] !== v2[key]) return prefix + key; - return defaultResult; - }, exports.compareIdentifiers = compareIdentifiers; - var numeric = /^[0-9]+$/; - function compareIdentifiers(a, b) { - var anum = numeric.test(a), bnum = numeric.test(b); - return anum && bnum && (a = +a, b = +b), a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1; - } - function compare(a, b, loose) { - return new SemVer(a, loose).compare(new SemVer(b, loose)); - } - function gt(a, b, loose) { - return compare(a, b, loose) > 0; - } - function lt(a, b, loose) { - return compare(a, b, loose) < 0; - } - function eq(a, b, loose) { - return 0 === compare(a, b, loose); - } - function neq(a, b, loose) { - return 0 !== compare(a, b, loose); - } - function gte(a, b, loose) { - return compare(a, b, loose) >= 0; - } - function lte(a, b, loose) { - return compare(a, b, loose) <= 0; - } - function cmp(a, op, b, loose) { - switch (op) { - case "===": - return "object" == typeof a && (a = a.version), "object" == typeof b && (b = b.version), - a === b; - - case "!==": - return "object" == typeof a && (a = a.version), "object" == typeof b && (b = b.version), - a !== b; - - case "": - case "=": - case "==": - return eq(a, b, loose); - - case "!=": - return neq(a, b, loose); - - case ">": - return gt(a, b, loose); - - case ">=": - return gte(a, b, loose); - - case "<": - return lt(a, b, loose); - - case "<=": - return lte(a, b, loose); - - default: - throw new TypeError("Invalid operator: " + op); + async [kDestroy](err) { + const destroyPromises = []; + for (const ref of this[kClients].values()) { + const client = ref.deref(); + client && destroyPromises.push(client.destroy(err)); + } + await Promise.all(destroyPromises); } + }; + }, + 4185: (module, __unused_webpack_exports, __webpack_require__) => { + const {addAbortListener} = __webpack_require__(8869), {RequestAbortedError} = __webpack_require__(3898), kListener = Symbol("kListener"), kSignal = Symbol("kSignal"); + function abort(self) { + self.abort ? self.abort() : self.onError(new RequestAbortedError); } - function Comparator(comp, options) { - if (options && "object" == typeof options || (options = { - loose: !!options, - includePrerelease: !1 - }), comp instanceof Comparator) { - if (comp.loose === !!options.loose) return comp; - comp = comp.value; + module.exports = { + addSignal: function(self, signal) { + self[kSignal] = null, self[kListener] = null, signal && (signal.aborted ? abort(self) : (self[kSignal] = signal, + self[kListener] = () => { + abort(self); + }, addAbortListener(self[kSignal], self[kListener]))); + }, + removeSignal: function(self) { + self[kSignal] && ("removeEventListener" in self[kSignal] ? self[kSignal].removeEventListener("abort", self[kListener]) : self[kSignal].removeListener("abort", self[kListener]), + self[kSignal] = null, self[kListener] = null); + } + }; + }, + 8069: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const {AsyncResource} = __webpack_require__(290), {InvalidArgumentError, RequestAbortedError, SocketError} = __webpack_require__(3898), util = __webpack_require__(8869), {addSignal, removeSignal} = __webpack_require__(4185); + class ConnectHandler extends AsyncResource { + constructor(opts, callback) { + if (!opts || "object" != typeof opts) throw new InvalidArgumentError("invalid opts"); + if ("function" != typeof callback) throw new InvalidArgumentError("invalid callback"); + const {signal, opaque, responseHeaders} = opts; + if (signal && "function" != typeof signal.on && "function" != typeof signal.addEventListener) throw new InvalidArgumentError("signal must be an EventEmitter or EventTarget"); + super("UNDICI_CONNECT"), this.opaque = opaque || null, this.responseHeaders = responseHeaders || null, + this.callback = callback, this.abort = null, addSignal(this, signal); + } + onConnect(abort, context) { + if (!this.callback) throw new RequestAbortedError; + this.abort = abort, this.context = context; + } + onHeaders() { + throw new SocketError("bad connect", null); + } + onUpgrade(statusCode, rawHeaders, socket) { + const {callback, opaque, context} = this; + removeSignal(this), this.callback = null; + let headers = rawHeaders; + null != headers && (headers = "raw" === this.responseHeaders ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders)), + this.runInAsyncScope(callback, null, null, { + statusCode, + headers, + socket, + opaque, + context + }); + } + onError(err) { + const {callback, opaque} = this; + removeSignal(this), callback && (this.callback = null, queueMicrotask((() => { + this.runInAsyncScope(callback, null, err, { + opaque + }); + }))); } - if (!(this instanceof Comparator)) return new Comparator(comp, options); - debug("comparator", comp, options), this.options = options, this.loose = !!options.loose, - this.parse(comp), this.semver === ANY ? this.value = "" : this.value = this.operator + this.semver.version, - debug("comp", this); } - exports.rcompareIdentifiers = function(a, b) { - return compareIdentifiers(b, a); - }, exports.major = function(a, loose) { - return new SemVer(a, loose).major; - }, exports.minor = function(a, loose) { - return new SemVer(a, loose).minor; - }, exports.patch = function(a, loose) { - return new SemVer(a, loose).patch; - }, exports.compare = compare, exports.compareLoose = function(a, b) { - return compare(a, b, !0); - }, exports.compareBuild = function(a, b, loose) { - var versionA = new SemVer(a, loose), versionB = new SemVer(b, loose); - return versionA.compare(versionB) || versionA.compareBuild(versionB); - }, exports.rcompare = function(a, b, loose) { - return compare(b, a, loose); - }, exports.sort = function(list, loose) { - return list.sort((function(a, b) { - return exports.compareBuild(a, b, loose); + module.exports = function connect(opts, callback) { + if (void 0 === callback) return new Promise(((resolve, reject) => { + connect.call(this, opts, ((err, data) => err ? reject(err) : resolve(data))); })); - }, exports.rsort = function(list, loose) { - return list.sort((function(a, b) { - return exports.compareBuild(b, a, loose); - })); - }, exports.gt = gt, exports.lt = lt, exports.eq = eq, exports.neq = neq, exports.gte = gte, - exports.lte = lte, exports.cmp = cmp, exports.Comparator = Comparator; - var ANY = {}; - function Range(range, options) { - if (options && "object" == typeof options || (options = { - loose: !!options, - includePrerelease: !1 - }), range instanceof Range) return range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease ? range : new Range(range.raw, options); - if (range instanceof Comparator) return new Range(range.value, options); - if (!(this instanceof Range)) return new Range(range, options); - if (this.options = options, this.loose = !!options.loose, this.includePrerelease = !!options.includePrerelease, - this.raw = range, this.set = range.split(/\s*\|\|\s*/).map((function(range) { - return this.parseRange(range.trim()); - }), this).filter((function(c) { - return c.length; - })), !this.set.length) throw new TypeError("Invalid SemVer Range: " + range); - this.format(); - } - function isSatisfiable(comparators, options) { - for (var result = !0, remainingComparators = comparators.slice(), testComparator = remainingComparators.pop(); result && remainingComparators.length; ) result = remainingComparators.every((function(otherComparator) { - return testComparator.intersects(otherComparator, options); - })), testComparator = remainingComparators.pop(); - return result; - } - function isX(id) { - return !id || "x" === id.toLowerCase() || "*" === id; + try { + const connectHandler = new ConnectHandler(opts, callback); + this.dispatch({ + ...opts, + method: "CONNECT" + }, connectHandler); + } catch (err) { + if ("function" != typeof callback) throw err; + const opaque = opts && opts.opaque; + queueMicrotask((() => callback(err, { + opaque + }))); + } + }; + }, + 9901: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const {Readable, Duplex, PassThrough} = __webpack_require__(2203), {InvalidArgumentError, InvalidReturnValueError, RequestAbortedError} = __webpack_require__(3898), util = __webpack_require__(8869), {AsyncResource} = __webpack_require__(290), {addSignal, removeSignal} = __webpack_require__(4185), assert = __webpack_require__(2613), kResume = Symbol("resume"); + class PipelineRequest extends Readable { + constructor() { + super({ + autoDestroy: !0 + }), this[kResume] = null; + } + _read() { + const {[kResume]: resume} = this; + resume && (this[kResume] = null, resume()); + } + _destroy(err, callback) { + this._read(), callback(err); + } } - function hyphenReplace($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr, tb) { - return ((from = isX(fM) ? "" : isX(fm) ? ">=" + fM + ".0.0" : isX(fp) ? ">=" + fM + "." + fm + ".0" : ">=" + from) + " " + (to = isX(tM) ? "" : isX(tm) ? "<" + (+tM + 1) + ".0.0" : isX(tp) ? "<" + tM + "." + (+tm + 1) + ".0" : tpr ? "<=" + tM + "." + tm + "." + tp + "-" + tpr : "<=" + to)).trim(); + class PipelineResponse extends Readable { + constructor(resume) { + super({ + autoDestroy: !0 + }), this[kResume] = resume; + } + _read() { + this[kResume](); + } + _destroy(err, callback) { + err || this._readableState.endEmitted || (err = new RequestAbortedError), callback(err); + } + } + class PipelineHandler extends AsyncResource { + constructor(opts, handler) { + if (!opts || "object" != typeof opts) throw new InvalidArgumentError("invalid opts"); + if ("function" != typeof handler) throw new InvalidArgumentError("invalid handler"); + const {signal, method, opaque, onInfo, responseHeaders} = opts; + if (signal && "function" != typeof signal.on && "function" != typeof signal.addEventListener) throw new InvalidArgumentError("signal must be an EventEmitter or EventTarget"); + if ("CONNECT" === method) throw new InvalidArgumentError("invalid method"); + if (onInfo && "function" != typeof onInfo) throw new InvalidArgumentError("invalid onInfo callback"); + super("UNDICI_PIPELINE"), this.opaque = opaque || null, this.responseHeaders = responseHeaders || null, + this.handler = handler, this.abort = null, this.context = null, this.onInfo = onInfo || null, + this.req = (new PipelineRequest).on("error", util.nop), this.ret = new Duplex({ + readableObjectMode: opts.objectMode, + autoDestroy: !0, + read: () => { + const {body} = this; + body && body.resume && body.resume(); + }, + write: (chunk, encoding, callback) => { + const {req} = this; + req.push(chunk, encoding) || req._readableState.destroyed ? callback() : req[kResume] = callback; + }, + destroy: (err, callback) => { + const {body, req, res, ret, abort} = this; + err || ret._readableState.endEmitted || (err = new RequestAbortedError), abort && err && abort(), + util.destroy(body, err), util.destroy(req, err), util.destroy(res, err), removeSignal(this), + callback(err); + } + }).on("prefinish", (() => { + const {req} = this; + req.push(null); + })), this.res = null, addSignal(this, signal); + } + onConnect(abort, context) { + const {ret, res} = this; + if (assert(!res, "pipeline cannot be retried"), ret.destroyed) throw new RequestAbortedError; + this.abort = abort, this.context = context; + } + onHeaders(statusCode, rawHeaders, resume) { + const {opaque, handler, context} = this; + if (statusCode < 200) { + if (this.onInfo) { + const headers = "raw" === this.responseHeaders ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders); + this.onInfo({ + statusCode, + headers + }); + } + return; + } + let body; + this.res = new PipelineResponse(resume); + try { + this.handler = null; + const headers = "raw" === this.responseHeaders ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders); + body = this.runInAsyncScope(handler, null, { + statusCode, + headers, + opaque, + body: this.res, + context + }); + } catch (err) { + throw this.res.on("error", util.nop), err; + } + if (!body || "function" != typeof body.on) throw new InvalidReturnValueError("expected Readable"); + body.on("data", (chunk => { + const {ret, body} = this; + !ret.push(chunk) && body.pause && body.pause(); + })).on("error", (err => { + const {ret} = this; + util.destroy(ret, err); + })).on("end", (() => { + const {ret} = this; + ret.push(null); + })).on("close", (() => { + const {ret} = this; + ret._readableState.ended || util.destroy(ret, new RequestAbortedError); + })), this.body = body; + } + onData(chunk) { + const {res} = this; + return res.push(chunk); + } + onComplete(trailers) { + const {res} = this; + res.push(null); + } + onError(err) { + const {ret} = this; + this.handler = null, util.destroy(ret, err); + } + } + module.exports = function(opts, handler) { + try { + const pipelineHandler = new PipelineHandler(opts, handler); + return this.dispatch({ + ...opts, + body: pipelineHandler.req + }, pipelineHandler), pipelineHandler.ret; + } catch (err) { + return (new PassThrough).destroy(err); + } + }; + }, + 6878: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const Readable = __webpack_require__(6248), {InvalidArgumentError, RequestAbortedError} = __webpack_require__(3898), util = __webpack_require__(8869), {getResolveErrorBodyCallback} = __webpack_require__(8204), {AsyncResource} = __webpack_require__(290), {addSignal, removeSignal} = __webpack_require__(4185); + class RequestHandler extends AsyncResource { + constructor(opts, callback) { + if (!opts || "object" != typeof opts) throw new InvalidArgumentError("invalid opts"); + const {signal, method, opaque, body, onInfo, responseHeaders, throwOnError, highWaterMark} = opts; + try { + if ("function" != typeof callback) throw new InvalidArgumentError("invalid callback"); + if (highWaterMark && ("number" != typeof highWaterMark || highWaterMark < 0)) throw new InvalidArgumentError("invalid highWaterMark"); + if (signal && "function" != typeof signal.on && "function" != typeof signal.addEventListener) throw new InvalidArgumentError("signal must be an EventEmitter or EventTarget"); + if ("CONNECT" === method) throw new InvalidArgumentError("invalid method"); + if (onInfo && "function" != typeof onInfo) throw new InvalidArgumentError("invalid onInfo callback"); + super("UNDICI_REQUEST"); + } catch (err) { + throw util.isStream(body) && util.destroy(body.on("error", util.nop), err), err; + } + this.responseHeaders = responseHeaders || null, this.opaque = opaque || null, this.callback = callback, + this.res = null, this.abort = null, this.body = body, this.trailers = {}, this.context = null, + this.onInfo = onInfo || null, this.throwOnError = throwOnError, this.highWaterMark = highWaterMark, + util.isStream(body) && body.on("error", (err => { + this.onError(err); + })), addSignal(this, signal); + } + onConnect(abort, context) { + if (!this.callback) throw new RequestAbortedError; + this.abort = abort, this.context = context; + } + onHeaders(statusCode, rawHeaders, resume, statusMessage) { + const {callback, opaque, abort, context, responseHeaders, highWaterMark} = this, headers = "raw" === responseHeaders ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders); + if (statusCode < 200) return void (this.onInfo && this.onInfo({ + statusCode, + headers + })); + const contentType = ("raw" === responseHeaders ? util.parseHeaders(rawHeaders) : headers)["content-type"], body = new Readable({ + resume, + abort, + contentType, + highWaterMark + }); + this.callback = null, this.res = body, null !== callback && (this.throwOnError && statusCode >= 400 ? this.runInAsyncScope(getResolveErrorBodyCallback, null, { + callback, + body, + contentType, + statusCode, + statusMessage, + headers + }) : this.runInAsyncScope(callback, null, null, { + statusCode, + headers, + trailers: this.trailers, + opaque, + body, + context + })); + } + onData(chunk) { + const {res} = this; + return res.push(chunk); + } + onComplete(trailers) { + const {res} = this; + removeSignal(this), util.parseHeaders(trailers, this.trailers), res.push(null); + } + onError(err) { + const {res, callback, body, opaque} = this; + removeSignal(this), callback && (this.callback = null, queueMicrotask((() => { + this.runInAsyncScope(callback, null, err, { + opaque + }); + }))), res && (this.res = null, queueMicrotask((() => { + util.destroy(res, err); + }))), body && (this.body = null, util.destroy(body, err)); + } } - function testSet(set, version, options) { - for (var i = 0; i < set.length; i++) if (!set[i].test(version)) return !1; - if (version.prerelease.length && !options.includePrerelease) { - for (i = 0; i < set.length; i++) if (debug(set[i].semver), set[i].semver !== ANY && set[i].semver.prerelease.length > 0) { - var allowed = set[i].semver; - if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch) return !0; + module.exports = function request(opts, callback) { + if (void 0 === callback) return new Promise(((resolve, reject) => { + request.call(this, opts, ((err, data) => err ? reject(err) : resolve(data))); + })); + try { + this.dispatch(opts, new RequestHandler(opts, callback)); + } catch (err) { + if ("function" != typeof callback) throw err; + const opaque = opts && opts.opaque; + queueMicrotask((() => callback(err, { + opaque + }))); + } + }, module.exports.RequestHandler = RequestHandler; + }, + 4579: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const {finished, PassThrough} = __webpack_require__(2203), {InvalidArgumentError, InvalidReturnValueError, RequestAbortedError} = __webpack_require__(3898), util = __webpack_require__(8869), {getResolveErrorBodyCallback} = __webpack_require__(8204), {AsyncResource} = __webpack_require__(290), {addSignal, removeSignal} = __webpack_require__(4185); + class StreamHandler extends AsyncResource { + constructor(opts, factory, callback) { + if (!opts || "object" != typeof opts) throw new InvalidArgumentError("invalid opts"); + const {signal, method, opaque, body, onInfo, responseHeaders, throwOnError} = opts; + try { + if ("function" != typeof callback) throw new InvalidArgumentError("invalid callback"); + if ("function" != typeof factory) throw new InvalidArgumentError("invalid factory"); + if (signal && "function" != typeof signal.on && "function" != typeof signal.addEventListener) throw new InvalidArgumentError("signal must be an EventEmitter or EventTarget"); + if ("CONNECT" === method) throw new InvalidArgumentError("invalid method"); + if (onInfo && "function" != typeof onInfo) throw new InvalidArgumentError("invalid onInfo callback"); + super("UNDICI_STREAM"); + } catch (err) { + throw util.isStream(body) && util.destroy(body.on("error", util.nop), err), err; + } + this.responseHeaders = responseHeaders || null, this.opaque = opaque || null, this.factory = factory, + this.callback = callback, this.res = null, this.abort = null, this.context = null, + this.trailers = null, this.body = body, this.onInfo = onInfo || null, this.throwOnError = throwOnError || !1, + util.isStream(body) && body.on("error", (err => { + this.onError(err); + })), addSignal(this, signal); + } + onConnect(abort, context) { + if (!this.callback) throw new RequestAbortedError; + this.abort = abort, this.context = context; + } + onHeaders(statusCode, rawHeaders, resume, statusMessage) { + const {factory, opaque, context, callback, responseHeaders} = this, headers = "raw" === responseHeaders ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders); + if (statusCode < 200) return void (this.onInfo && this.onInfo({ + statusCode, + headers + })); + let res; + if (this.factory = null, this.throwOnError && statusCode >= 400) { + const contentType = ("raw" === responseHeaders ? util.parseHeaders(rawHeaders) : headers)["content-type"]; + res = new PassThrough, this.callback = null, this.runInAsyncScope(getResolveErrorBodyCallback, null, { + callback, + body: res, + contentType, + statusCode, + statusMessage, + headers + }); + } else { + if (null === factory) return; + if (res = this.runInAsyncScope(factory, null, { + statusCode, + headers, + opaque, + context + }), !res || "function" != typeof res.write || "function" != typeof res.end || "function" != typeof res.on) throw new InvalidReturnValueError("expected Writable"); + finished(res, { + readable: !1 + }, (err => { + const {callback, res, opaque, trailers, abort} = this; + this.res = null, !err && res.readable || util.destroy(res, err), this.callback = null, + this.runInAsyncScope(callback, null, err || null, { + opaque, + trailers + }), err && abort(); + })); } - return !1; + res.on("drain", resume), this.res = res; + return !0 !== (void 0 !== res.writableNeedDrain ? res.writableNeedDrain : res._writableState && res._writableState.needDrain); + } + onData(chunk) { + const {res} = this; + return !res || res.write(chunk); + } + onComplete(trailers) { + const {res} = this; + removeSignal(this), res && (this.trailers = util.parseHeaders(trailers), res.end()); + } + onError(err) { + const {res, callback, opaque, body} = this; + removeSignal(this), this.factory = null, res ? (this.res = null, util.destroy(res, err)) : callback && (this.callback = null, + queueMicrotask((() => { + this.runInAsyncScope(callback, null, err, { + opaque + }); + }))), body && (this.body = null, util.destroy(body, err)); + } + } + module.exports = function stream(opts, factory, callback) { + if (void 0 === callback) return new Promise(((resolve, reject) => { + stream.call(this, opts, factory, ((err, data) => err ? reject(err) : resolve(data))); + })); + try { + this.dispatch(opts, new StreamHandler(opts, factory, callback)); + } catch (err) { + if ("function" != typeof callback) throw err; + const opaque = opts && opts.opaque; + queueMicrotask((() => callback(err, { + opaque + }))); + } + }; + }, + 8999: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const {InvalidArgumentError, RequestAbortedError, SocketError} = __webpack_require__(3898), {AsyncResource} = __webpack_require__(290), util = __webpack_require__(8869), {addSignal, removeSignal} = __webpack_require__(4185), assert = __webpack_require__(2613); + class UpgradeHandler extends AsyncResource { + constructor(opts, callback) { + if (!opts || "object" != typeof opts) throw new InvalidArgumentError("invalid opts"); + if ("function" != typeof callback) throw new InvalidArgumentError("invalid callback"); + const {signal, opaque, responseHeaders} = opts; + if (signal && "function" != typeof signal.on && "function" != typeof signal.addEventListener) throw new InvalidArgumentError("signal must be an EventEmitter or EventTarget"); + super("UNDICI_UPGRADE"), this.responseHeaders = responseHeaders || null, this.opaque = opaque || null, + this.callback = callback, this.abort = null, this.context = null, addSignal(this, signal); + } + onConnect(abort, context) { + if (!this.callback) throw new RequestAbortedError; + this.abort = abort, this.context = null; + } + onHeaders() { + throw new SocketError("bad upgrade", null); + } + onUpgrade(statusCode, rawHeaders, socket) { + const {callback, opaque, context} = this; + assert.strictEqual(statusCode, 101), removeSignal(this), this.callback = null; + const headers = "raw" === this.responseHeaders ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders); + this.runInAsyncScope(callback, null, null, { + headers, + socket, + opaque, + context + }); + } + onError(err) { + const {callback, opaque} = this; + removeSignal(this), callback && (this.callback = null, queueMicrotask((() => { + this.runInAsyncScope(callback, null, err, { + opaque + }); + }))); } - return !0; } - function satisfies(version, range, options) { + module.exports = function upgrade(opts, callback) { + if (void 0 === callback) return new Promise(((resolve, reject) => { + upgrade.call(this, opts, ((err, data) => err ? reject(err) : resolve(data))); + })); try { - range = new Range(range, options); - } catch (er) { - return !1; + const upgradeHandler = new UpgradeHandler(opts, callback); + this.dispatch({ + ...opts, + method: opts.method || "GET", + upgrade: opts.protocol || "Websocket" + }, upgradeHandler); + } catch (err) { + if ("function" != typeof callback) throw err; + const opaque = opts && opts.opaque; + queueMicrotask((() => callback(err, { + opaque + }))); } - return range.test(version); + }; + }, + 130: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + module.exports.request = __webpack_require__(6878), module.exports.stream = __webpack_require__(4579), + module.exports.pipeline = __webpack_require__(9901), module.exports.upgrade = __webpack_require__(8999), + module.exports.connect = __webpack_require__(8069); + }, + 6248: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const assert = __webpack_require__(2613), {Readable} = __webpack_require__(2203), {RequestAbortedError, NotSupportedError, InvalidArgumentError} = __webpack_require__(3898), util = __webpack_require__(8869), {ReadableStreamFrom, toUSVString} = __webpack_require__(8869); + let Blob; + const kConsume = Symbol("kConsume"), kReading = Symbol("kReading"), kBody = Symbol("kBody"), kAbort = Symbol("abort"), kContentType = Symbol("kContentType"), noop = () => {}; + function isUnusable(self) { + return util.isDisturbed(self) || function(self) { + return self[kBody] && !0 === self[kBody].locked || self[kConsume]; + }(self); + } + async function consume(stream, type) { + if (isUnusable(stream)) throw new TypeError("unusable"); + return assert(!stream[kConsume]), new Promise(((resolve, reject) => { + stream[kConsume] = { + type, + stream, + resolve, + reject, + length: 0, + body: [] + }, stream.on("error", (function(err) { + consumeFinish(this[kConsume], err); + })).on("close", (function() { + null !== this[kConsume].body && consumeFinish(this[kConsume], new RequestAbortedError); + })), process.nextTick(consumeStart, stream[kConsume]); + })); } - function outside(version, range, hilo, options) { - var gtfn, ltefn, ltfn, comp, ecomp; - switch (version = new SemVer(version, options), range = new Range(range, options), - hilo) { - case ">": - gtfn = gt, ltefn = lte, ltfn = lt, comp = ">", ecomp = ">="; - break; - - case "<": - gtfn = lt, ltefn = gte, ltfn = gt, comp = "<", ecomp = "<="; - break; - - default: - throw new TypeError('Must provide a hilo val of "<" or ">"'); - } - if (satisfies(version, range, options)) return !1; - for (var i = 0; i < range.set.length; ++i) { - var comparators = range.set[i], high = null, low = null; - if (comparators.forEach((function(comparator) { - comparator.semver === ANY && (comparator = new Comparator(">=0.0.0")), high = high || comparator, - low = low || comparator, gtfn(comparator.semver, high.semver, options) ? high = comparator : ltfn(comparator.semver, low.semver, options) && (low = comparator); - })), high.operator === comp || high.operator === ecomp) return !1; - if ((!low.operator || low.operator === comp) && ltefn(version, low.semver)) return !1; - if (low.operator === ecomp && ltfn(version, low.semver)) return !1; + function consumeStart(consume) { + if (null === consume.body) return; + const {_readableState: state} = consume.stream; + for (const chunk of state.buffer) consumePush(consume, chunk); + for (state.endEmitted ? consumeEnd(this[kConsume]) : consume.stream.on("end", (function() { + consumeEnd(this[kConsume]); + })), consume.stream.resume(); null != consume.stream.read(); ) ; + } + function consumeEnd(consume) { + const {type, body, resolve, stream, length} = consume; + try { + if ("text" === type) resolve(toUSVString(Buffer.concat(body))); else if ("json" === type) resolve(JSON.parse(Buffer.concat(body))); else if ("arrayBuffer" === type) { + const dst = new Uint8Array(length); + let pos = 0; + for (const buf of body) dst.set(buf, pos), pos += buf.byteLength; + resolve(dst.buffer); + } else "blob" === type && (Blob || (Blob = __webpack_require__(181).Blob), resolve(new Blob(body, { + type: stream[kContentType] + }))); + consumeFinish(consume); + } catch (err) { + stream.destroy(err); } - return !0; } - Comparator.prototype.parse = function(comp) { - var r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR], m = comp.match(r); - if (!m) throw new TypeError("Invalid comparator: " + comp); - this.operator = void 0 !== m[1] ? m[1] : "", "=" === this.operator && (this.operator = ""), - m[2] ? this.semver = new SemVer(m[2], this.options.loose) : this.semver = ANY; - }, Comparator.prototype.toString = function() { - return this.value; - }, Comparator.prototype.test = function(version) { - if (debug("Comparator.test", version, this.options.loose), this.semver === ANY || version === ANY) return !0; - if ("string" == typeof version) try { - version = new SemVer(version, this.options); - } catch (er) { - return !1; + function consumePush(consume, chunk) { + consume.length += chunk.length, consume.body.push(chunk); + } + function consumeFinish(consume, err) { + null !== consume.body && (err ? consume.reject(err) : consume.resolve(), consume.type = null, + consume.stream = null, consume.resolve = null, consume.reject = null, consume.length = 0, + consume.body = null); + } + module.exports = class extends Readable { + constructor({resume, abort, contentType = "", highWaterMark = 65536}) { + super({ + autoDestroy: !0, + read: resume, + highWaterMark + }), this._readableState.dataEmitted = !1, this[kAbort] = abort, this[kConsume] = null, + this[kBody] = null, this[kContentType] = contentType, this[kReading] = !1; } - return cmp(version, this.operator, this.semver, this.options); - }, Comparator.prototype.intersects = function(comp, options) { - if (!(comp instanceof Comparator)) throw new TypeError("a Comparator is required"); - var rangeTmp; - if (options && "object" == typeof options || (options = { - loose: !!options, - includePrerelease: !1 - }), "" === this.operator) return "" === this.value || (rangeTmp = new Range(comp.value, options), - satisfies(this.value, rangeTmp, options)); - if ("" === comp.operator) return "" === comp.value || (rangeTmp = new Range(this.value, options), - satisfies(comp.semver, rangeTmp, options)); - var sameDirectionIncreasing = !(">=" !== this.operator && ">" !== this.operator || ">=" !== comp.operator && ">" !== comp.operator), sameDirectionDecreasing = !("<=" !== this.operator && "<" !== this.operator || "<=" !== comp.operator && "<" !== comp.operator), sameSemVer = this.semver.version === comp.semver.version, differentDirectionsInclusive = !(">=" !== this.operator && "<=" !== this.operator || ">=" !== comp.operator && "<=" !== comp.operator), oppositeDirectionsLessThan = cmp(this.semver, "<", comp.semver, options) && (">=" === this.operator || ">" === this.operator) && ("<=" === comp.operator || "<" === comp.operator), oppositeDirectionsGreaterThan = cmp(this.semver, ">", comp.semver, options) && ("<=" === this.operator || "<" === this.operator) && (">=" === comp.operator || ">" === comp.operator); - return sameDirectionIncreasing || sameDirectionDecreasing || sameSemVer && differentDirectionsInclusive || oppositeDirectionsLessThan || oppositeDirectionsGreaterThan; - }, exports.Range = Range, Range.prototype.format = function() { - return this.range = this.set.map((function(comps) { - return comps.join(" ").trim(); - })).join("||").trim(), this.range; - }, Range.prototype.toString = function() { - return this.range; - }, Range.prototype.parseRange = function(range) { - var loose = this.options.loose; - range = range.trim(); - var hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE]; - range = range.replace(hr, hyphenReplace), debug("hyphen replace", range), range = range.replace(re[t.COMPARATORTRIM], "$1$2$3"), - debug("comparator trim", range, re[t.COMPARATORTRIM]), range = (range = (range = range.replace(re[t.TILDETRIM], "$1~")).replace(re[t.CARETTRIM], "$1^")).split(/\s+/).join(" "); - var compRe = loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR], set = range.split(" ").map((function(comp) { - return function(comp, options) { - return debug("comp", comp, options), comp = function(comp, options) { - return comp.trim().split(/\s+/).map((function(comp) { - return function(comp, options) { - debug("caret", comp, options); - var r = options.loose ? re[t.CARETLOOSE] : re[t.CARET]; - return comp.replace(r, (function(_, M, m, p, pr) { - var ret; - return debug("caret", comp, _, M, m, p, pr), isX(M) ? ret = "" : isX(m) ? ret = ">=" + M + ".0.0 <" + (+M + 1) + ".0.0" : isX(p) ? ret = "0" === M ? ">=" + M + "." + m + ".0 <" + M + "." + (+m + 1) + ".0" : ">=" + M + "." + m + ".0 <" + (+M + 1) + ".0.0" : pr ? (debug("replaceCaret pr", pr), - ret = "0" === M ? "0" === m ? ">=" + M + "." + m + "." + p + "-" + pr + " <" + M + "." + m + "." + (+p + 1) : ">=" + M + "." + m + "." + p + "-" + pr + " <" + M + "." + (+m + 1) + ".0" : ">=" + M + "." + m + "." + p + "-" + pr + " <" + (+M + 1) + ".0.0") : (debug("no pr"), - ret = "0" === M ? "0" === m ? ">=" + M + "." + m + "." + p + " <" + M + "." + m + "." + (+p + 1) : ">=" + M + "." + m + "." + p + " <" + M + "." + (+m + 1) + ".0" : ">=" + M + "." + m + "." + p + " <" + (+M + 1) + ".0.0"), - debug("caret return", ret), ret; - })); - }(comp, options); - })).join(" "); - }(comp, options), debug("caret", comp), comp = function(comp, options) { - return comp.trim().split(/\s+/).map((function(comp) { - return function(comp, options) { - var r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE]; - return comp.replace(r, (function(_, M, m, p, pr) { - var ret; - return debug("tilde", comp, _, M, m, p, pr), isX(M) ? ret = "" : isX(m) ? ret = ">=" + M + ".0.0 <" + (+M + 1) + ".0.0" : isX(p) ? ret = ">=" + M + "." + m + ".0 <" + M + "." + (+m + 1) + ".0" : pr ? (debug("replaceTilde pr", pr), - ret = ">=" + M + "." + m + "." + p + "-" + pr + " <" + M + "." + (+m + 1) + ".0") : ret = ">=" + M + "." + m + "." + p + " <" + M + "." + (+m + 1) + ".0", - debug("tilde return", ret), ret; - })); - }(comp, options); - })).join(" "); - }(comp, options), debug("tildes", comp), comp = function(comp, options) { - return debug("replaceXRanges", comp, options), comp.split(/\s+/).map((function(comp) { - return function(comp, options) { - comp = comp.trim(); - var r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE]; - return comp.replace(r, (function(ret, gtlt, M, m, p, pr) { - debug("xRange", comp, ret, gtlt, M, m, p, pr); - var xM = isX(M), xm = xM || isX(m), xp = xm || isX(p), anyX = xp; - return "=" === gtlt && anyX && (gtlt = ""), pr = options.includePrerelease ? "-0" : "", - xM ? ret = ">" === gtlt || "<" === gtlt ? "<0.0.0-0" : "*" : gtlt && anyX ? (xm && (m = 0), - p = 0, ">" === gtlt ? (gtlt = ">=", xm ? (M = +M + 1, m = 0, p = 0) : (m = +m + 1, - p = 0)) : "<=" === gtlt && (gtlt = "<", xm ? M = +M + 1 : m = +m + 1), ret = gtlt + M + "." + m + "." + p + pr) : xm ? ret = ">=" + M + ".0.0" + pr + " <" + (+M + 1) + ".0.0" + pr : xp && (ret = ">=" + M + "." + m + ".0" + pr + " <" + M + "." + (+m + 1) + ".0" + pr), - debug("xRange return", ret), ret; - })); - }(comp, options); - })).join(" "); - }(comp, options), debug("xrange", comp), comp = function(comp, options) { - return debug("replaceStars", comp, options), comp.trim().replace(re[t.STAR], ""); - }(comp, options), debug("stars", comp), comp; - }(comp, this.options); - }), this).join(" ").split(/\s+/); - return this.options.loose && (set = set.filter((function(comp) { - return !!comp.match(compRe); - }))), set = set.map((function(comp) { - return new Comparator(comp, this.options); - }), this); - }, Range.prototype.intersects = function(range, options) { - if (!(range instanceof Range)) throw new TypeError("a Range is required"); - return this.set.some((function(thisComparators) { - return isSatisfiable(thisComparators, options) && range.set.some((function(rangeComparators) { - return isSatisfiable(rangeComparators, options) && thisComparators.every((function(thisComparator) { - return rangeComparators.every((function(rangeComparator) { - return thisComparator.intersects(rangeComparator, options); - })); - })); + destroy(err) { + return this.destroyed ? this : (err || this._readableState.endEmitted || (err = new RequestAbortedError), + err && this[kAbort](), super.destroy(err)); + } + emit(ev, ...args) { + return "data" === ev ? this._readableState.dataEmitted = !0 : "error" === ev && (this._readableState.errorEmitted = !0), + super.emit(ev, ...args); + } + on(ev, ...args) { + return "data" !== ev && "readable" !== ev || (this[kReading] = !0), super.on(ev, ...args); + } + addListener(ev, ...args) { + return this.on(ev, ...args); + } + off(ev, ...args) { + const ret = super.off(ev, ...args); + return "data" !== ev && "readable" !== ev || (this[kReading] = this.listenerCount("data") > 0 || this.listenerCount("readable") > 0), + ret; + } + removeListener(ev, ...args) { + return this.off(ev, ...args); + } + push(chunk) { + return this[kConsume] && null !== chunk && 0 === this.readableLength ? (consumePush(this[kConsume], chunk), + !this[kReading] || super.push(chunk)) : super.push(chunk); + } + async text() { + return consume(this, "text"); + } + async json() { + return consume(this, "json"); + } + async blob() { + return consume(this, "blob"); + } + async arrayBuffer() { + return consume(this, "arrayBuffer"); + } + async formData() { + throw new NotSupportedError; + } + get bodyUsed() { + return util.isDisturbed(this); + } + get body() { + return this[kBody] || (this[kBody] = ReadableStreamFrom(this), this[kConsume] && (this[kBody].getReader(), + assert(this[kBody].locked))), this[kBody]; + } + dump(opts) { + let limit = opts && Number.isFinite(opts.limit) ? opts.limit : 262144; + const signal = opts && opts.signal; + if (signal) try { + if ("object" != typeof signal || !("aborted" in signal)) throw new InvalidArgumentError("signal must be an AbortSignal"); + util.throwIfAborted(signal); + } catch (err) { + return Promise.reject(err); + } + return this.closed ? Promise.resolve(null) : new Promise(((resolve, reject) => { + const signalListenerCleanup = signal ? util.addAbortListener(signal, (() => { + this.destroy(); + })) : noop; + this.on("close", (function() { + signalListenerCleanup(), signal && signal.aborted ? reject(signal.reason || Object.assign(new Error("The operation was aborted"), { + name: "AbortError" + })) : resolve(null); + })).on("error", noop).on("data", (function(chunk) { + limit -= chunk.length, limit <= 0 && this.destroy(); + })).resume(); })); - })); - }, exports.toComparators = function(range, options) { - return new Range(range, options).set.map((function(comp) { - return comp.map((function(c) { - return c.value; - })).join(" ").trim().split(" "); - })); - }, Range.prototype.test = function(version) { - if (!version) return !1; - if ("string" == typeof version) try { - version = new SemVer(version, this.options); - } catch (er) { - return !1; } - for (var i = 0; i < this.set.length; i++) if (testSet(this.set[i], version, this.options)) return !0; - return !1; - }, exports.satisfies = satisfies, exports.maxSatisfying = function(versions, range, options) { - var max = null, maxSV = null; - try { - var rangeObj = new Range(range, options); - } catch (er) { - return null; + }; + }, + 8204: (module, __unused_webpack_exports, __webpack_require__) => { + const assert = __webpack_require__(2613), {ResponseStatusCodeError} = __webpack_require__(3898), {toUSVString} = __webpack_require__(8869); + module.exports = { + getResolveErrorBodyCallback: async function({callback, body, contentType, statusCode, statusMessage, headers}) { + assert(body); + let chunks = [], limit = 0; + for await (const chunk of body) if (chunks.push(chunk), limit += chunk.length, limit > 131072) { + chunks = null; + break; + } + if (204 !== statusCode && contentType && chunks) { + try { + if (contentType.startsWith("application/json")) { + const payload = JSON.parse(toUSVString(Buffer.concat(chunks))); + return void process.nextTick(callback, new ResponseStatusCodeError(`Response status code ${statusCode}${statusMessage ? `: ${statusMessage}` : ""}`, statusCode, headers, payload)); + } + if (contentType.startsWith("text/")) { + const payload = toUSVString(Buffer.concat(chunks)); + return void process.nextTick(callback, new ResponseStatusCodeError(`Response status code ${statusCode}${statusMessage ? `: ${statusMessage}` : ""}`, statusCode, headers, payload)); + } + } catch (err) {} + process.nextTick(callback, new ResponseStatusCodeError(`Response status code ${statusCode}${statusMessage ? `: ${statusMessage}` : ""}`, statusCode, headers)); + } else process.nextTick(callback, new ResponseStatusCodeError(`Response status code ${statusCode}${statusMessage ? `: ${statusMessage}` : ""}`, statusCode, headers)); } - return versions.forEach((function(v) { - rangeObj.test(v) && (max && -1 !== maxSV.compare(v) || (maxSV = new SemVer(max = v, options))); - })), max; - }, exports.minSatisfying = function(versions, range, options) { - var min = null, minSV = null; - try { - var rangeObj = new Range(range, options); - } catch (er) { - return null; + }; + }, + 3788: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const {BalancedPoolMissingUpstreamError, InvalidArgumentError} = __webpack_require__(3898), {PoolBase, kClients, kNeedDrain, kAddClient, kRemoveClient, kGetDispatcher} = __webpack_require__(333), Pool = __webpack_require__(7047), {kUrl, kInterceptors} = __webpack_require__(8028), {parseOrigin} = __webpack_require__(8869), kFactory = Symbol("factory"), kOptions = Symbol("options"), kGreatestCommonDivisor = Symbol("kGreatestCommonDivisor"), kCurrentWeight = Symbol("kCurrentWeight"), kIndex = Symbol("kIndex"), kWeight = Symbol("kWeight"), kMaxWeightPerServer = Symbol("kMaxWeightPerServer"), kErrorPenalty = Symbol("kErrorPenalty"); + function getGreatestCommonDivisor(a, b) { + return 0 === b ? a : getGreatestCommonDivisor(b, a % b); + } + function defaultFactory(origin, opts) { + return new Pool(origin, opts); + } + module.exports = class extends PoolBase { + constructor(upstreams = [], {factory = defaultFactory, ...opts} = {}) { + if (super(), this[kOptions] = opts, this[kIndex] = -1, this[kCurrentWeight] = 0, + this[kMaxWeightPerServer] = this[kOptions].maxWeightPerServer || 100, this[kErrorPenalty] = this[kOptions].errorPenalty || 15, + Array.isArray(upstreams) || (upstreams = [ upstreams ]), "function" != typeof factory) throw new InvalidArgumentError("factory must be a function."); + this[kInterceptors] = opts.interceptors && opts.interceptors.BalancedPool && Array.isArray(opts.interceptors.BalancedPool) ? opts.interceptors.BalancedPool : [], + this[kFactory] = factory; + for (const upstream of upstreams) this.addUpstream(upstream); + this._updateBalancedPoolStats(); + } + addUpstream(upstream) { + const upstreamOrigin = parseOrigin(upstream).origin; + if (this[kClients].find((pool => pool[kUrl].origin === upstreamOrigin && !0 !== pool.closed && !0 !== pool.destroyed))) return this; + const pool = this[kFactory](upstreamOrigin, Object.assign({}, this[kOptions])); + this[kAddClient](pool), pool.on("connect", (() => { + pool[kWeight] = Math.min(this[kMaxWeightPerServer], pool[kWeight] + this[kErrorPenalty]); + })), pool.on("connectionError", (() => { + pool[kWeight] = Math.max(1, pool[kWeight] - this[kErrorPenalty]), this._updateBalancedPoolStats(); + })), pool.on("disconnect", ((...args) => { + const err = args[2]; + err && "UND_ERR_SOCKET" === err.code && (pool[kWeight] = Math.max(1, pool[kWeight] - this[kErrorPenalty]), + this._updateBalancedPoolStats()); + })); + for (const client of this[kClients]) client[kWeight] = this[kMaxWeightPerServer]; + return this._updateBalancedPoolStats(), this; + } + _updateBalancedPoolStats() { + this[kGreatestCommonDivisor] = this[kClients].map((p => p[kWeight])).reduce(getGreatestCommonDivisor, 0); + } + removeUpstream(upstream) { + const upstreamOrigin = parseOrigin(upstream).origin, pool = this[kClients].find((pool => pool[kUrl].origin === upstreamOrigin && !0 !== pool.closed && !0 !== pool.destroyed)); + return pool && this[kRemoveClient](pool), this; + } + get upstreams() { + return this[kClients].filter((dispatcher => !0 !== dispatcher.closed && !0 !== dispatcher.destroyed)).map((p => p[kUrl].origin)); + } + [kGetDispatcher]() { + if (0 === this[kClients].length) throw new BalancedPoolMissingUpstreamError; + if (!this[kClients].find((dispatcher => !dispatcher[kNeedDrain] && !0 !== dispatcher.closed && !0 !== dispatcher.destroyed))) return; + if (this[kClients].map((pool => pool[kNeedDrain])).reduce(((a, b) => a && b), !0)) return; + let counter = 0, maxWeightIndex = this[kClients].findIndex((pool => !pool[kNeedDrain])); + for (;counter++ < this[kClients].length; ) { + this[kIndex] = (this[kIndex] + 1) % this[kClients].length; + const pool = this[kClients][this[kIndex]]; + if (pool[kWeight] > this[kClients][maxWeightIndex][kWeight] && !pool[kNeedDrain] && (maxWeightIndex = this[kIndex]), + 0 === this[kIndex] && (this[kCurrentWeight] = this[kCurrentWeight] - this[kGreatestCommonDivisor], + this[kCurrentWeight] <= 0 && (this[kCurrentWeight] = this[kMaxWeightPerServer])), + pool[kWeight] >= this[kCurrentWeight] && !pool[kNeedDrain]) return pool; + } + return this[kCurrentWeight] = this[kClients][maxWeightIndex][kWeight], this[kIndex] = maxWeightIndex, + this[kClients][maxWeightIndex]; } - return versions.forEach((function(v) { - rangeObj.test(v) && (min && 1 !== minSV.compare(v) || (minSV = new SemVer(min = v, options))); - })), min; - }, exports.minVersion = function(range, loose) { - range = new Range(range, loose); - var minver = new SemVer("0.0.0"); - if (range.test(minver)) return minver; - if (minver = new SemVer("0.0.0-0"), range.test(minver)) return minver; - minver = null; - for (var i = 0; i < range.set.length; ++i) { - range.set[i].forEach((function(comparator) { - var compver = new SemVer(comparator.semver.version); - switch (comparator.operator) { - case ">": - 0 === compver.prerelease.length ? compver.patch++ : compver.prerelease.push(0), - compver.raw = compver.format(); - - case "": - case ">=": - minver && !gt(minver, compver) || (minver = compver); - break; - - case "<": - case "<=": - break; - - default: - throw new Error("Unexpected operation: " + comparator.operator); + }; + }, + 7758: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const {kConstruct} = __webpack_require__(6889), {urlEquals, fieldValues: getFieldValues} = __webpack_require__(178), {kEnumerableProperty, isDisturbed} = __webpack_require__(8869), {kHeadersList} = __webpack_require__(8028), {webidl} = __webpack_require__(769), {Response, cloneResponse} = __webpack_require__(3767), {Request} = __webpack_require__(8899), {kState, kHeaders, kGuard, kRealm} = __webpack_require__(9415), {fetching} = __webpack_require__(5306), {urlIsHttpHttpsScheme, createDeferredPromise, readAllBytes} = __webpack_require__(8292), assert = __webpack_require__(2613), {getGlobalDispatcher} = __webpack_require__(5710); + class Cache { + #relevantRequestResponseList; + constructor() { + arguments[0] !== kConstruct && webidl.illegalConstructor(), this.#relevantRequestResponseList = arguments[1]; + } + async match(request, options = {}) { + webidl.brandCheck(this, Cache), webidl.argumentLengthCheck(arguments, 1, { + header: "Cache.match" + }), request = webidl.converters.RequestInfo(request), options = webidl.converters.CacheQueryOptions(options); + const p = await this.matchAll(request, options); + if (0 !== p.length) return p[0]; + } + async matchAll(request = void 0, options = {}) { + webidl.brandCheck(this, Cache), void 0 !== request && (request = webidl.converters.RequestInfo(request)), + options = webidl.converters.CacheQueryOptions(options); + let r = null; + if (void 0 !== request) if (request instanceof Request) { + if (r = request[kState], "GET" !== r.method && !options.ignoreMethod) return []; + } else "string" == typeof request && (r = new Request(request)[kState]); + const responses = []; + if (void 0 === request) for (const requestResponse of this.#relevantRequestResponseList) responses.push(requestResponse[1]); else { + const requestResponses = this.#queryCache(r, options); + for (const requestResponse of requestResponses) responses.push(requestResponse[1]); + } + const responseList = []; + for (const response of responses) { + const responseObject = new Response(response.body?.source ?? null), body = responseObject[kState].body; + responseObject[kState] = response, responseObject[kState].body = body, responseObject[kHeaders][kHeadersList] = response.headersList, + responseObject[kHeaders][kGuard] = "immutable", responseList.push(responseObject); + } + return Object.freeze(responseList); + } + async add(request) { + webidl.brandCheck(this, Cache), webidl.argumentLengthCheck(arguments, 1, { + header: "Cache.add" + }); + const requests = [ request = webidl.converters.RequestInfo(request) ], responseArrayPromise = this.addAll(requests); + return await responseArrayPromise; + } + async addAll(requests) { + webidl.brandCheck(this, Cache), webidl.argumentLengthCheck(arguments, 1, { + header: "Cache.addAll" + }), requests = webidl.converters["sequence"](requests); + const responsePromises = [], requestList = []; + for (const request of requests) { + if ("string" == typeof request) continue; + const r = request[kState]; + if (!urlIsHttpHttpsScheme(r.url) || "GET" !== r.method) throw webidl.errors.exception({ + header: "Cache.addAll", + message: "Expected http/s scheme when method is not GET." + }); + } + const fetchControllers = []; + for (const request of requests) { + const r = new Request(request)[kState]; + if (!urlIsHttpHttpsScheme(r.url)) throw webidl.errors.exception({ + header: "Cache.addAll", + message: "Expected http/s scheme." + }); + r.initiator = "fetch", r.destination = "subresource", requestList.push(r); + const responsePromise = createDeferredPromise(); + fetchControllers.push(fetching({ + request: r, + dispatcher: getGlobalDispatcher(), + processResponse(response) { + if ("error" === response.type || 206 === response.status || response.status < 200 || response.status > 299) responsePromise.reject(webidl.errors.exception({ + header: "Cache.addAll", + message: "Received an invalid status code or the request failed." + })); else if (response.headersList.contains("vary")) { + const fieldValues = getFieldValues(response.headersList.get("vary")); + for (const fieldValue of fieldValues) if ("*" === fieldValue) { + responsePromise.reject(webidl.errors.exception({ + header: "Cache.addAll", + message: "invalid vary field value" + })); + for (const controller of fetchControllers) controller.abort(); + return; + } + } + }, + processResponseEndOfBody(response) { + response.aborted ? responsePromise.reject(new DOMException("aborted", "AbortError")) : responsePromise.resolve(response); + } + })), responsePromises.push(responsePromise.promise); + } + const p = Promise.all(responsePromises), responses = await p, operations = []; + let index = 0; + for (const response of responses) { + const operation = { + type: "put", + request: requestList[index], + response + }; + operations.push(operation), index++; + } + const cacheJobPromise = createDeferredPromise(); + let errorData = null; + try { + this.#batchCacheOperations(operations); + } catch (e) { + errorData = e; + } + return queueMicrotask((() => { + null === errorData ? cacheJobPromise.resolve(void 0) : cacheJobPromise.reject(errorData); + })), cacheJobPromise.promise; + } + async put(request, response) { + webidl.brandCheck(this, Cache), webidl.argumentLengthCheck(arguments, 2, { + header: "Cache.put" + }), request = webidl.converters.RequestInfo(request), response = webidl.converters.Response(response); + let innerRequest = null; + if (innerRequest = request instanceof Request ? request[kState] : new Request(request)[kState], + !urlIsHttpHttpsScheme(innerRequest.url) || "GET" !== innerRequest.method) throw webidl.errors.exception({ + header: "Cache.put", + message: "Expected an http/s scheme when method is not GET" + }); + const innerResponse = response[kState]; + if (206 === innerResponse.status) throw webidl.errors.exception({ + header: "Cache.put", + message: "Got 206 status" + }); + if (innerResponse.headersList.contains("vary")) { + const fieldValues = getFieldValues(innerResponse.headersList.get("vary")); + for (const fieldValue of fieldValues) if ("*" === fieldValue) throw webidl.errors.exception({ + header: "Cache.put", + message: "Got * vary field value" + }); + } + if (innerResponse.body && (isDisturbed(innerResponse.body.stream) || innerResponse.body.stream.locked)) throw webidl.errors.exception({ + header: "Cache.put", + message: "Response body is locked or disturbed" + }); + const clonedResponse = cloneResponse(innerResponse), bodyReadPromise = createDeferredPromise(); + if (null != innerResponse.body) { + const reader = innerResponse.body.stream.getReader(); + readAllBytes(reader).then(bodyReadPromise.resolve, bodyReadPromise.reject); + } else bodyReadPromise.resolve(void 0); + const operations = [], operation = { + type: "put", + request: innerRequest, + response: clonedResponse + }; + operations.push(operation); + const bytes = await bodyReadPromise.promise; + null != clonedResponse.body && (clonedResponse.body.source = bytes); + const cacheJobPromise = createDeferredPromise(); + let errorData = null; + try { + this.#batchCacheOperations(operations); + } catch (e) { + errorData = e; + } + return queueMicrotask((() => { + null === errorData ? cacheJobPromise.resolve() : cacheJobPromise.reject(errorData); + })), cacheJobPromise.promise; + } + async delete(request, options = {}) { + webidl.brandCheck(this, Cache), webidl.argumentLengthCheck(arguments, 1, { + header: "Cache.delete" + }), request = webidl.converters.RequestInfo(request), options = webidl.converters.CacheQueryOptions(options); + let r = null; + if (request instanceof Request) { + if (r = request[kState], "GET" !== r.method && !options.ignoreMethod) return !1; + } else assert("string" == typeof request), r = new Request(request)[kState]; + const operations = [], operation = { + type: "delete", + request: r, + options + }; + operations.push(operation); + const cacheJobPromise = createDeferredPromise(); + let requestResponses, errorData = null; + try { + requestResponses = this.#batchCacheOperations(operations); + } catch (e) { + errorData = e; + } + return queueMicrotask((() => { + null === errorData ? cacheJobPromise.resolve(!!requestResponses?.length) : cacheJobPromise.reject(errorData); + })), cacheJobPromise.promise; + } + async keys(request = void 0, options = {}) { + webidl.brandCheck(this, Cache), void 0 !== request && (request = webidl.converters.RequestInfo(request)), + options = webidl.converters.CacheQueryOptions(options); + let r = null; + if (void 0 !== request) if (request instanceof Request) { + if (r = request[kState], "GET" !== r.method && !options.ignoreMethod) return []; + } else "string" == typeof request && (r = new Request(request)[kState]); + const promise = createDeferredPromise(), requests = []; + if (void 0 === request) for (const requestResponse of this.#relevantRequestResponseList) requests.push(requestResponse[0]); else { + const requestResponses = this.#queryCache(r, options); + for (const requestResponse of requestResponses) requests.push(requestResponse[0]); + } + return queueMicrotask((() => { + const requestList = []; + for (const request of requests) { + const requestObject = new Request("https://a"); + requestObject[kState] = request, requestObject[kHeaders][kHeadersList] = request.headersList, + requestObject[kHeaders][kGuard] = "immutable", requestObject[kRealm] = request.client, + requestList.push(requestObject); + } + promise.resolve(Object.freeze(requestList)); + })), promise.promise; + } + #batchCacheOperations(operations) { + const cache = this.#relevantRequestResponseList, backupCache = [ ...cache ], addedItems = [], resultList = []; + try { + for (const operation of operations) { + if ("delete" !== operation.type && "put" !== operation.type) throw webidl.errors.exception({ + header: "Cache.#batchCacheOperations", + message: 'operation type does not match "delete" or "put"' + }); + if ("delete" === operation.type && null != operation.response) throw webidl.errors.exception({ + header: "Cache.#batchCacheOperations", + message: "delete operation should not have an associated response" + }); + if (this.#queryCache(operation.request, operation.options, addedItems).length) throw new DOMException("???", "InvalidStateError"); + let requestResponses; + if ("delete" === operation.type) { + if (requestResponses = this.#queryCache(operation.request, operation.options), 0 === requestResponses.length) return []; + for (const requestResponse of requestResponses) { + const idx = cache.indexOf(requestResponse); + assert(-1 !== idx), cache.splice(idx, 1); + } + } else if ("put" === operation.type) { + if (null == operation.response) throw webidl.errors.exception({ + header: "Cache.#batchCacheOperations", + message: "put operation should have an associated response" + }); + const r = operation.request; + if (!urlIsHttpHttpsScheme(r.url)) throw webidl.errors.exception({ + header: "Cache.#batchCacheOperations", + message: "expected http or https scheme" + }); + if ("GET" !== r.method) throw webidl.errors.exception({ + header: "Cache.#batchCacheOperations", + message: "not get method" + }); + if (null != operation.options) throw webidl.errors.exception({ + header: "Cache.#batchCacheOperations", + message: "options must not be defined" + }); + requestResponses = this.#queryCache(operation.request); + for (const requestResponse of requestResponses) { + const idx = cache.indexOf(requestResponse); + assert(-1 !== idx), cache.splice(idx, 1); + } + cache.push([ operation.request, operation.response ]), addedItems.push([ operation.request, operation.response ]); + } + resultList.push([ operation.request, operation.response ]); } - })); + return resultList; + } catch (e) { + throw this.#relevantRequestResponseList.length = 0, this.#relevantRequestResponseList = backupCache, + e; + } } - if (minver && range.test(minver)) return minver; - return null; - }, exports.validRange = function(range, options) { - try { - return new Range(range, options).range || "*"; - } catch (er) { - return null; + #queryCache(requestQuery, options, targetStorage) { + const resultList = [], storage = targetStorage ?? this.#relevantRequestResponseList; + for (const requestResponse of storage) { + const [cachedRequest, cachedResponse] = requestResponse; + this.#requestMatchesCachedItem(requestQuery, cachedRequest, cachedResponse, options) && resultList.push(requestResponse); + } + return resultList; } - }, exports.ltr = function(version, range, options) { - return outside(version, range, "<", options); - }, exports.gtr = function(version, range, options) { - return outside(version, range, ">", options); - }, exports.outside = outside, exports.prerelease = function(version, options) { - var parsed = parse(version, options); - return parsed && parsed.prerelease.length ? parsed.prerelease : null; - }, exports.intersects = function(r1, r2, options) { - return r1 = new Range(r1, options), r2 = new Range(r2, options), r1.intersects(r2); - }, exports.coerce = function(version, options) { - if (version instanceof SemVer) return version; - "number" == typeof version && (version = String(version)); - if ("string" != typeof version) return null; - var match = null; - if ((options = options || {}).rtl) { - for (var next; (next = re[t.COERCERTL].exec(version)) && (!match || match.index + match[0].length !== version.length); ) match && next.index + next[0].length === match.index + match[0].length || (match = next), - re[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length; - re[t.COERCERTL].lastIndex = -1; - } else match = version.match(re[t.COERCE]); - if (null === match) return null; - return parse(match[2] + "." + (match[3] || "0") + "." + (match[4] || "0"), options); + #requestMatchesCachedItem(requestQuery, request, response = null, options) { + const queryURL = new URL(requestQuery.url), cachedURL = new URL(request.url); + if (options?.ignoreSearch && (cachedURL.search = "", queryURL.search = ""), !urlEquals(queryURL, cachedURL, !0)) return !1; + if (null == response || options?.ignoreVary || !response.headersList.contains("vary")) return !0; + const fieldValues = getFieldValues(response.headersList.get("vary")); + for (const fieldValue of fieldValues) { + if ("*" === fieldValue) return !1; + if (request.headersList.get(fieldValue) !== requestQuery.headersList.get(fieldValue)) return !1; + } + return !0; + } + } + Object.defineProperties(Cache.prototype, { + [Symbol.toStringTag]: { + value: "Cache", + configurable: !0 + }, + match: kEnumerableProperty, + matchAll: kEnumerableProperty, + add: kEnumerableProperty, + addAll: kEnumerableProperty, + put: kEnumerableProperty, + delete: kEnumerableProperty, + keys: kEnumerableProperty + }); + const cacheQueryOptionConverters = [ { + key: "ignoreSearch", + converter: webidl.converters.boolean, + defaultValue: !1 + }, { + key: "ignoreMethod", + converter: webidl.converters.boolean, + defaultValue: !1 + }, { + key: "ignoreVary", + converter: webidl.converters.boolean, + defaultValue: !1 + } ]; + webidl.converters.CacheQueryOptions = webidl.dictionaryConverter(cacheQueryOptionConverters), + webidl.converters.MultiCacheQueryOptions = webidl.dictionaryConverter([ ...cacheQueryOptionConverters, { + key: "cacheName", + converter: webidl.converters.DOMString + } ]), webidl.converters.Response = webidl.interfaceConverter(Response), webidl.converters["sequence"] = webidl.sequenceConverter(webidl.converters.RequestInfo), + module.exports = { + Cache }; }, - 5471: (__unused_webpack_module, exports) => { + 2609: (module, __unused_webpack_exports, __webpack_require__) => { "use strict"; - function parseArgsStringToArgv(value, env, file) { - var match, myRegexp = /([^\s'"]([^\s'"]*(['"])([^\3]*?)\3)+[^\s'"]*)|[^\s'"]+|(['"])([^\5]*?)\5/gi, myString = value, myArray = []; - env && myArray.push(env), file && myArray.push(file); - do { - null !== (match = myRegexp.exec(myString)) && myArray.push(firstString(match[1], match[6], match[0])); - } while (null !== match); - return myArray; - } - function firstString() { - for (var args = [], _i = 0; _i < arguments.length; _i++) args[_i] = arguments[_i]; - for (var i = 0; i < args.length; i++) { - var arg = args[i]; - if ("string" == typeof arg) return arg; - } - } - exports.__esModule = !0, exports.default = parseArgsStringToArgv, exports.parseArgsStringToArgv = parseArgsStringToArgv; + const {kConstruct} = __webpack_require__(6889), {Cache} = __webpack_require__(7758), {webidl} = __webpack_require__(769), {kEnumerableProperty} = __webpack_require__(8869); + class CacheStorage { + #caches=new Map; + constructor() { + arguments[0] !== kConstruct && webidl.illegalConstructor(); + } + async match(request, options = {}) { + if (webidl.brandCheck(this, CacheStorage), webidl.argumentLengthCheck(arguments, 1, { + header: "CacheStorage.match" + }), request = webidl.converters.RequestInfo(request), null != (options = webidl.converters.MultiCacheQueryOptions(options)).cacheName) { + if (this.#caches.has(options.cacheName)) { + const cacheList = this.#caches.get(options.cacheName), cache = new Cache(kConstruct, cacheList); + return await cache.match(request, options); + } + } else for (const cacheList of this.#caches.values()) { + const cache = new Cache(kConstruct, cacheList), response = await cache.match(request, options); + if (void 0 !== response) return response; + } + } + async has(cacheName) { + return webidl.brandCheck(this, CacheStorage), webidl.argumentLengthCheck(arguments, 1, { + header: "CacheStorage.has" + }), cacheName = webidl.converters.DOMString(cacheName), this.#caches.has(cacheName); + } + async open(cacheName) { + if (webidl.brandCheck(this, CacheStorage), webidl.argumentLengthCheck(arguments, 1, { + header: "CacheStorage.open" + }), cacheName = webidl.converters.DOMString(cacheName), this.#caches.has(cacheName)) { + const cache = this.#caches.get(cacheName); + return new Cache(kConstruct, cache); + } + const cache = []; + return this.#caches.set(cacheName, cache), new Cache(kConstruct, cache); + } + async delete(cacheName) { + return webidl.brandCheck(this, CacheStorage), webidl.argumentLengthCheck(arguments, 1, { + header: "CacheStorage.delete" + }), cacheName = webidl.converters.DOMString(cacheName), this.#caches.delete(cacheName); + } + async keys() { + webidl.brandCheck(this, CacheStorage); + return [ ...this.#caches.keys() ]; + } + } + Object.defineProperties(CacheStorage.prototype, { + [Symbol.toStringTag]: { + value: "CacheStorage", + configurable: !0 + }, + match: kEnumerableProperty, + has: kEnumerableProperty, + open: kEnumerableProperty, + delete: kEnumerableProperty, + keys: kEnumerableProperty + }), module.exports = { + CacheStorage + }; }, - 255: (module, __unused_webpack_exports, __webpack_require__) => { + 6889: (module, __unused_webpack_exports, __webpack_require__) => { "use strict"; - var punycode = __webpack_require__(5477), mappingTable = __webpack_require__(4089), PROCESSING_OPTIONS = { - TRANSITIONAL: 0, - NONTRANSITIONAL: 1 + module.exports = { + kConstruct: __webpack_require__(8028).kConstruct }; - function normalize(str) { - return str.split("\0").map((function(s) { - return s.normalize("NFC"); - })).join("\0"); - } - function findStatus(val) { - for (var start = 0, end = mappingTable.length - 1; start <= end; ) { - var mid = Math.floor((start + end) / 2), target = mappingTable[mid]; - if (target[0][0] <= val && target[0][1] >= val) return target; - target[0][0] > val ? end = mid - 1 : start = mid + 1; + }, + 178: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const assert = __webpack_require__(2613), {URLSerializer} = __webpack_require__(3587), {isValidHeaderName} = __webpack_require__(8292); + module.exports = { + urlEquals: function(A, B, excludeFragment = !1) { + return URLSerializer(A, excludeFragment) === URLSerializer(B, excludeFragment); + }, + fieldValues: function(header) { + assert(null !== header); + const values = []; + for (let value of header.split(",")) value = value.trim(), value.length && isValidHeaderName(value) && values.push(value); + return values; } - return null; + }; + }, + 2138: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const assert = __webpack_require__(2613), net = __webpack_require__(9278), http = __webpack_require__(8611), {pipeline} = __webpack_require__(2203), util = __webpack_require__(8869), timers = __webpack_require__(6087), Request = __webpack_require__(7392), DispatcherBase = __webpack_require__(524), {RequestContentLengthMismatchError, ResponseContentLengthMismatchError, InvalidArgumentError, RequestAbortedError, HeadersTimeoutError, HeadersOverflowError, SocketError, InformationalError, BodyTimeoutError, HTTPParserError, ResponseExceededMaxSizeError, ClientDestroyedError} = __webpack_require__(3898), buildConnector = __webpack_require__(5651), {kUrl, kReset, kServerName, kClient, kBusy, kParser, kConnect, kBlocking, kResuming, kRunning, kPending, kSize, kWriting, kQueue, kConnected, kConnecting, kNeedDrain, kNoRef, kKeepAliveDefaultTimeout, kHostHeader, kPendingIdx, kRunningIdx, kError, kPipelining, kSocket, kKeepAliveTimeoutValue, kMaxHeadersSize, kKeepAliveMaxTimeout, kKeepAliveTimeoutThreshold, kHeadersTimeout, kBodyTimeout, kStrictContentLength, kConnector, kMaxRedirections, kMaxRequests, kCounter, kClose, kDestroy, kDispatch, kInterceptors, kLocalAddress, kMaxResponseSize, kHTTPConnVersion, kHost, kHTTP2Session, kHTTP2SessionState, kHTTP2BuildRequest, kHTTP2CopyHeaders, kHTTP1BuildRequest} = __webpack_require__(8028); + let http2; + try { + http2 = __webpack_require__(5675); + } catch { + http2 = { + constants: {} + }; } - var regexAstralSymbols = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g; - function countSymbols(string) { - return string.replace(regexAstralSymbols, "_").length; - } - var combiningMarksRegex = /[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08E4-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u18A9\u1920-\u192B\u1930-\u193B\u19B0-\u19C0\u19C8\u19C9\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFC-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C4\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2D]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC7F-\uDC82\uDCB0-\uDCBA\uDD00-\uDD02\uDD27-\uDD34\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDE2C-\uDE37\uDEDF-\uDEEA\uDF01-\uDF03\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDCB0-\uDCC3\uDDAF-\uDDB5\uDDB8-\uDDC0\uDE30-\uDE40\uDEAB-\uDEB7]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF51-\uDF7E\uDF8F-\uDF92]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD83A[\uDCD0-\uDCD6]|\uDB40[\uDD00-\uDDEF]/; - function validateLabel(label, processing_option) { - "xn--" === label.substr(0, 4) && (label = punycode.toUnicode(label), PROCESSING_OPTIONS.NONTRANSITIONAL); - var error = !1; - (normalize(label) !== label || "-" === label[3] && "-" === label[4] || "-" === label[0] || "-" === label[label.length - 1] || -1 !== label.indexOf(".") || 0 === label.search(combiningMarksRegex)) && (error = !0); - for (var len = countSymbols(label), i = 0; i < len; ++i) { - var status = findStatus(label.codePointAt(i)); - if (processing === PROCESSING_OPTIONS.TRANSITIONAL && "valid" !== status[1] || processing === PROCESSING_OPTIONS.NONTRANSITIONAL && "valid" !== status[1] && "deviation" !== status[1]) { - error = !0; - break; - } - } - return { - label, - error + const {constants: {HTTP2_HEADER_AUTHORITY, HTTP2_HEADER_METHOD, HTTP2_HEADER_PATH, HTTP2_HEADER_SCHEME, HTTP2_HEADER_CONTENT_LENGTH, HTTP2_HEADER_EXPECT, HTTP2_HEADER_STATUS}} = http2; + let h2ExperimentalWarned = !1; + const FastBuffer = Buffer[Symbol.species], kClosedResolve = Symbol("kClosedResolve"), channels = {}; + try { + const diagnosticsChannel = __webpack_require__(1637); + channels.sendHeaders = diagnosticsChannel.channel("undici:client:sendHeaders"), + channels.beforeConnect = diagnosticsChannel.channel("undici:client:beforeConnect"), + channels.connectError = diagnosticsChannel.channel("undici:client:connectError"), + channels.connected = diagnosticsChannel.channel("undici:client:connected"); + } catch { + channels.sendHeaders = { + hasSubscribers: !1 + }, channels.beforeConnect = { + hasSubscribers: !1 + }, channels.connectError = { + hasSubscribers: !1 + }, channels.connected = { + hasSubscribers: !1 }; } - function processing(domain_name, useSTD3, processing_option) { - var result = function(domain_name, useSTD3, processing_option) { - for (var hasError = !1, processed = "", len = countSymbols(domain_name), i = 0; i < len; ++i) { - var codePoint = domain_name.codePointAt(i), status = findStatus(codePoint); - switch (status[1]) { - case "disallowed": - hasError = !0, processed += String.fromCodePoint(codePoint); - break; - - case "ignored": - break; - - case "mapped": - processed += String.fromCodePoint.apply(String, status[2]); - break; - - case "deviation": - processing_option === PROCESSING_OPTIONS.TRANSITIONAL ? processed += String.fromCodePoint.apply(String, status[2]) : processed += String.fromCodePoint(codePoint); - break; - - case "valid": - processed += String.fromCodePoint(codePoint); - break; - - case "disallowed_STD3_mapped": - useSTD3 ? (hasError = !0, processed += String.fromCodePoint(codePoint)) : processed += String.fromCodePoint.apply(String, status[2]); - break; - - case "disallowed_STD3_valid": - useSTD3 && (hasError = !0), processed += String.fromCodePoint(codePoint); - } + function onHttp2SessionError(err) { + assert("ERR_TLS_CERT_ALTNAME_INVALID" !== err.code), this[kSocket][kError] = err, + onError(this[kClient], err); + } + function onHttp2FrameError(type, code, id) { + const err = new InformationalError(`HTTP/2: "frameError" received - type ${type}, code ${code}`); + 0 === id && (this[kSocket][kError] = err, onError(this[kClient], err)); + } + function onHttp2SessionEnd() { + util.destroy(this, new SocketError("other side closed")), util.destroy(this[kSocket], new SocketError("other side closed")); + } + function onHTTP2GoAway(code) { + const client = this[kClient], err = new InformationalError(`HTTP/2: "GOAWAY" frame received with code ${code}`); + if (client[kSocket] = null, client[kHTTP2Session] = null, client.destroyed) { + assert(0 === this[kPending]); + const requests = client[kQueue].splice(client[kRunningIdx]); + for (let i = 0; i < requests.length; i++) { + errorRequest(this, requests[i], err); } - return { - string: processed, - error: hasError - }; - }(domain_name, useSTD3, processing_option); - result.string = normalize(result.string); - for (var labels = result.string.split("."), i = 0; i < labels.length; ++i) try { - var validation = validateLabel(labels[i]); - labels[i] = validation.label, result.error = result.error || validation.error; - } catch (e) { - result.error = !0; + } else if (client[kRunning] > 0) { + const request = client[kQueue][client[kRunningIdx]]; + client[kQueue][client[kRunningIdx]++] = null, errorRequest(client, request, err); } - return { - string: labels.join("."), - error: result.error - }; + client[kPendingIdx] = client[kRunningIdx], assert(0 === client[kRunning]), client.emit("disconnect", client[kUrl], [ client ], err), + resume(client); } - module.exports.toASCII = function(domain_name, useSTD3, processing_option, verifyDnsLength) { - var result = processing(domain_name, useSTD3, processing_option), labels = result.string.split("."); - if (labels = labels.map((function(l) { + const constants = __webpack_require__(263), createRedirectInterceptor = __webpack_require__(8838), EMPTY_BUF = Buffer.alloc(0); + let llhttpInstance = null, llhttpPromise = async function() { + const llhttpWasmData = process.env.JEST_WORKER_ID ? __webpack_require__(3265) : void 0; + let mod; + try { + mod = await WebAssembly.compile(Buffer.from(__webpack_require__(995), "base64")); + } catch (e) { + mod = await WebAssembly.compile(Buffer.from(llhttpWasmData || __webpack_require__(3265), "base64")); + } + return await WebAssembly.instantiate(mod, { + env: { + wasm_on_url: (p, at, len) => 0, + wasm_on_status: (p, at, len) => { + assert.strictEqual(currentParser.ptr, p); + const start = at - currentBufferPtr + currentBufferRef.byteOffset; + return currentParser.onStatus(new FastBuffer(currentBufferRef.buffer, start, len)) || 0; + }, + wasm_on_message_begin: p => (assert.strictEqual(currentParser.ptr, p), currentParser.onMessageBegin() || 0), + wasm_on_header_field: (p, at, len) => { + assert.strictEqual(currentParser.ptr, p); + const start = at - currentBufferPtr + currentBufferRef.byteOffset; + return currentParser.onHeaderField(new FastBuffer(currentBufferRef.buffer, start, len)) || 0; + }, + wasm_on_header_value: (p, at, len) => { + assert.strictEqual(currentParser.ptr, p); + const start = at - currentBufferPtr + currentBufferRef.byteOffset; + return currentParser.onHeaderValue(new FastBuffer(currentBufferRef.buffer, start, len)) || 0; + }, + wasm_on_headers_complete: (p, statusCode, upgrade, shouldKeepAlive) => (assert.strictEqual(currentParser.ptr, p), + currentParser.onHeadersComplete(statusCode, Boolean(upgrade), Boolean(shouldKeepAlive)) || 0), + wasm_on_body: (p, at, len) => { + assert.strictEqual(currentParser.ptr, p); + const start = at - currentBufferPtr + currentBufferRef.byteOffset; + return currentParser.onBody(new FastBuffer(currentBufferRef.buffer, start, len)) || 0; + }, + wasm_on_message_complete: p => (assert.strictEqual(currentParser.ptr, p), currentParser.onMessageComplete() || 0) + } + }); + }(); + llhttpPromise.catch(); + let currentParser = null, currentBufferRef = null, currentBufferSize = 0, currentBufferPtr = null; + const TIMEOUT_HEADERS = 1, TIMEOUT_IDLE = 3; + class Parser { + constructor(client, socket, {exports}) { + assert(Number.isFinite(client[kMaxHeadersSize]) && client[kMaxHeadersSize] > 0), + this.llhttp = exports, this.ptr = this.llhttp.llhttp_alloc(constants.TYPE.RESPONSE), + this.client = client, this.socket = socket, this.timeout = null, this.timeoutValue = null, + this.timeoutType = null, this.statusCode = null, this.statusText = "", this.upgrade = !1, + this.headers = [], this.headersSize = 0, this.headersMaxSize = client[kMaxHeadersSize], + this.shouldKeepAlive = !1, this.paused = !1, this.resume = this.resume.bind(this), + this.bytesRead = 0, this.keepAlive = "", this.contentLength = "", this.connection = "", + this.maxResponseSize = client[kMaxResponseSize]; + } + setTimeout(value, type) { + this.timeoutType = type, value !== this.timeoutValue ? (timers.clearTimeout(this.timeout), + value ? (this.timeout = timers.setTimeout(onParserTimeout, value, this), this.timeout.unref && this.timeout.unref()) : this.timeout = null, + this.timeoutValue = value) : this.timeout && this.timeout.refresh && this.timeout.refresh(); + } + resume() { + !this.socket.destroyed && this.paused && (assert(null != this.ptr), assert(null == currentParser), + this.llhttp.llhttp_resume(this.ptr), assert(2 === this.timeoutType), this.timeout && this.timeout.refresh && this.timeout.refresh(), + this.paused = !1, this.execute(this.socket.read() || EMPTY_BUF), this.readMore()); + } + readMore() { + for (;!this.paused && this.ptr; ) { + const chunk = this.socket.read(); + if (null === chunk) break; + this.execute(chunk); + } + } + execute(data) { + assert(null != this.ptr), assert(null == currentParser), assert(!this.paused); + const {socket, llhttp} = this; + data.length > currentBufferSize && (currentBufferPtr && llhttp.free(currentBufferPtr), + currentBufferSize = 4096 * Math.ceil(data.length / 4096), currentBufferPtr = llhttp.malloc(currentBufferSize)), + new Uint8Array(llhttp.memory.buffer, currentBufferPtr, currentBufferSize).set(data); try { - return punycode.toASCII(l); - } catch (e) { - return result.error = !0, l; + let ret; + try { + currentBufferRef = data, currentParser = this, ret = llhttp.llhttp_execute(this.ptr, currentBufferPtr, data.length); + } catch (err) { + throw err; + } finally { + currentParser = null, currentBufferRef = null; + } + const offset = llhttp.llhttp_get_error_pos(this.ptr) - currentBufferPtr; + if (ret === constants.ERROR.PAUSED_UPGRADE) this.onUpgrade(data.slice(offset)); else if (ret === constants.ERROR.PAUSED) this.paused = !0, + socket.unshift(data.slice(offset)); else if (ret !== constants.ERROR.OK) { + const ptr = llhttp.llhttp_get_error_reason(this.ptr); + let message = ""; + if (ptr) { + const len = new Uint8Array(llhttp.memory.buffer, ptr).indexOf(0); + message = "Response does not match the HTTP/1.1 protocol (" + Buffer.from(llhttp.memory.buffer, ptr, len).toString() + ")"; + } + throw new HTTPParserError(message, constants.ERROR[ret], data.slice(offset)); + } + } catch (err) { + util.destroy(socket, err); + } + } + destroy() { + assert(null != this.ptr), assert(null == currentParser), this.llhttp.llhttp_free(this.ptr), + this.ptr = null, timers.clearTimeout(this.timeout), this.timeout = null, this.timeoutValue = null, + this.timeoutType = null, this.paused = !1; + } + onStatus(buf) { + this.statusText = buf.toString(); + } + onMessageBegin() { + const {socket, client} = this; + if (socket.destroyed) return -1; + return client[kQueue][client[kRunningIdx]] ? void 0 : -1; + } + onHeaderField(buf) { + const len = this.headers.length; + 1 & len ? this.headers[len - 1] = Buffer.concat([ this.headers[len - 1], buf ]) : this.headers.push(buf), + this.trackHeader(buf.length); + } + onHeaderValue(buf) { + let len = this.headers.length; + 1 & ~len ? this.headers[len - 1] = Buffer.concat([ this.headers[len - 1], buf ]) : (this.headers.push(buf), + len += 1); + const key = this.headers[len - 2]; + 10 === key.length && "keep-alive" === key.toString().toLowerCase() ? this.keepAlive += buf.toString() : 10 === key.length && "connection" === key.toString().toLowerCase() ? this.connection += buf.toString() : 14 === key.length && "content-length" === key.toString().toLowerCase() && (this.contentLength += buf.toString()), + this.trackHeader(buf.length); + } + trackHeader(len) { + this.headersSize += len, this.headersSize >= this.headersMaxSize && util.destroy(this.socket, new HeadersOverflowError); + } + onUpgrade(head) { + const {upgrade, client, socket, headers, statusCode} = this; + assert(upgrade); + const request = client[kQueue][client[kRunningIdx]]; + assert(request), assert(!socket.destroyed), assert(socket === client[kSocket]), + assert(!this.paused), assert(request.upgrade || "CONNECT" === request.method), this.statusCode = null, + this.statusText = "", this.shouldKeepAlive = null, assert(this.headers.length % 2 == 0), + this.headers = [], this.headersSize = 0, socket.unshift(head), socket[kParser].destroy(), + socket[kParser] = null, socket[kClient] = null, socket[kError] = null, socket.removeListener("error", onSocketError).removeListener("readable", onSocketReadable).removeListener("end", onSocketEnd).removeListener("close", onSocketClose), + client[kSocket] = null, client[kQueue][client[kRunningIdx]++] = null, client.emit("disconnect", client[kUrl], [ client ], new InformationalError("upgrade")); + try { + request.onUpgrade(statusCode, headers, socket); + } catch (err) { + util.destroy(socket, err); + } + resume(client); + } + onHeadersComplete(statusCode, upgrade, shouldKeepAlive) { + const {client, socket, headers, statusText} = this; + if (socket.destroyed) return -1; + const request = client[kQueue][client[kRunningIdx]]; + if (!request) return -1; + if (assert(!this.upgrade), assert(this.statusCode < 200), 100 === statusCode) return util.destroy(socket, new SocketError("bad response", util.getSocketInfo(socket))), + -1; + if (upgrade && !request.upgrade) return util.destroy(socket, new SocketError("bad upgrade", util.getSocketInfo(socket))), + -1; + if (assert.strictEqual(this.timeoutType, TIMEOUT_HEADERS), this.statusCode = statusCode, + this.shouldKeepAlive = shouldKeepAlive || "HEAD" === request.method && !socket[kReset] && "keep-alive" === this.connection.toLowerCase(), + this.statusCode >= 200) { + const bodyTimeout = null != request.bodyTimeout ? request.bodyTimeout : client[kBodyTimeout]; + this.setTimeout(bodyTimeout, 2); + } else this.timeout && this.timeout.refresh && this.timeout.refresh(); + if ("CONNECT" === request.method) return assert(1 === client[kRunning]), this.upgrade = !0, + 2; + if (upgrade) return assert(1 === client[kRunning]), this.upgrade = !0, 2; + if (assert(this.headers.length % 2 == 0), this.headers = [], this.headersSize = 0, + this.shouldKeepAlive && client[kPipelining]) { + const keepAliveTimeout = this.keepAlive ? util.parseKeepAliveTimeout(this.keepAlive) : null; + if (null != keepAliveTimeout) { + const timeout = Math.min(keepAliveTimeout - client[kKeepAliveTimeoutThreshold], client[kKeepAliveMaxTimeout]); + timeout <= 0 ? socket[kReset] = !0 : client[kKeepAliveTimeoutValue] = timeout; + } else client[kKeepAliveTimeoutValue] = client[kKeepAliveDefaultTimeout]; + } else socket[kReset] = !0; + const pause = !1 === request.onHeaders(statusCode, headers, this.resume, statusText); + return request.aborted ? -1 : "HEAD" === request.method || statusCode < 200 ? 1 : (socket[kBlocking] && (socket[kBlocking] = !1, + resume(client)), pause ? constants.ERROR.PAUSED : 0); + } + onBody(buf) { + const {client, socket, statusCode, maxResponseSize} = this; + if (socket.destroyed) return -1; + const request = client[kQueue][client[kRunningIdx]]; + return assert(request), assert.strictEqual(this.timeoutType, 2), this.timeout && this.timeout.refresh && this.timeout.refresh(), + assert(statusCode >= 200), maxResponseSize > -1 && this.bytesRead + buf.length > maxResponseSize ? (util.destroy(socket, new ResponseExceededMaxSizeError), + -1) : (this.bytesRead += buf.length, !1 === request.onData(buf) ? constants.ERROR.PAUSED : void 0); + } + onMessageComplete() { + const {client, socket, statusCode, upgrade, headers, contentLength, bytesRead, shouldKeepAlive} = this; + if (socket.destroyed && (!statusCode || shouldKeepAlive)) return -1; + if (upgrade) return; + const request = client[kQueue][client[kRunningIdx]]; + return assert(request), assert(statusCode >= 100), this.statusCode = null, this.statusText = "", + this.bytesRead = 0, this.contentLength = "", this.keepAlive = "", this.connection = "", + assert(this.headers.length % 2 == 0), this.headers = [], this.headersSize = 0, statusCode < 200 ? void 0 : "HEAD" !== request.method && contentLength && bytesRead !== parseInt(contentLength, 10) ? (util.destroy(socket, new ResponseContentLengthMismatchError), + -1) : (request.onComplete(headers), client[kQueue][client[kRunningIdx]++] = null, + socket[kWriting] ? (assert.strictEqual(client[kRunning], 0), util.destroy(socket, new InformationalError("reset")), + constants.ERROR.PAUSED) : shouldKeepAlive ? socket[kReset] && 0 === client[kRunning] ? (util.destroy(socket, new InformationalError("reset")), + constants.ERROR.PAUSED) : void (1 === client[kPipelining] ? setImmediate(resume, client) : resume(client)) : (util.destroy(socket, new InformationalError("reset")), + constants.ERROR.PAUSED)); + } + } + function onParserTimeout(parser) { + const {socket, timeoutType, client} = parser; + timeoutType === TIMEOUT_HEADERS ? (!socket[kWriting] || socket.writableNeedDrain || client[kRunning] > 1) && (assert(!parser.paused, "cannot be paused while waiting for headers"), + util.destroy(socket, new HeadersTimeoutError)) : 2 === timeoutType ? parser.paused || util.destroy(socket, new BodyTimeoutError) : timeoutType === TIMEOUT_IDLE && (assert(0 === client[kRunning] && client[kKeepAliveTimeoutValue]), + util.destroy(socket, new InformationalError("socket idle timeout"))); + } + function onSocketReadable() { + const {[kParser]: parser} = this; + parser && parser.readMore(); + } + function onSocketError(err) { + const {[kClient]: client, [kParser]: parser} = this; + assert("ERR_TLS_CERT_ALTNAME_INVALID" !== err.code), "h2" === client[kHTTPConnVersion] || "ECONNRESET" !== err.code || !parser.statusCode || parser.shouldKeepAlive ? (this[kError] = err, + onError(this[kClient], err)) : parser.onMessageComplete(); + } + function onError(client, err) { + if (0 === client[kRunning] && "UND_ERR_INFO" !== err.code && "UND_ERR_SOCKET" !== err.code) { + assert(client[kPendingIdx] === client[kRunningIdx]); + const requests = client[kQueue].splice(client[kRunningIdx]); + for (let i = 0; i < requests.length; i++) { + errorRequest(client, requests[i], err); + } + assert(0 === client[kSize]); + } + } + function onSocketEnd() { + const {[kParser]: parser, [kClient]: client} = this; + "h2" === client[kHTTPConnVersion] || !parser.statusCode || parser.shouldKeepAlive ? util.destroy(this, new SocketError("other side closed", util.getSocketInfo(this))) : parser.onMessageComplete(); + } + function onSocketClose() { + const {[kClient]: client, [kParser]: parser} = this; + "h1" === client[kHTTPConnVersion] && parser && (this[kError] || !parser.statusCode || parser.shouldKeepAlive || parser.onMessageComplete(), + this[kParser].destroy(), this[kParser] = null); + const err = this[kError] || new SocketError("closed", util.getSocketInfo(this)); + if (client[kSocket] = null, client.destroyed) { + assert(0 === client[kPending]); + const requests = client[kQueue].splice(client[kRunningIdx]); + for (let i = 0; i < requests.length; i++) { + errorRequest(client, requests[i], err); + } + } else if (client[kRunning] > 0 && "UND_ERR_INFO" !== err.code) { + const request = client[kQueue][client[kRunningIdx]]; + client[kQueue][client[kRunningIdx]++] = null, errorRequest(client, request, err); + } + client[kPendingIdx] = client[kRunningIdx], assert(0 === client[kRunning]), client.emit("disconnect", client[kUrl], [ client ], err), + resume(client); + } + async function connect(client) { + assert(!client[kConnecting]), assert(!client[kSocket]); + let {host, hostname, protocol, port} = client[kUrl]; + if ("[" === hostname[0]) { + const idx = hostname.indexOf("]"); + assert(-1 !== idx); + const ip = hostname.substring(1, idx); + assert(net.isIP(ip)), hostname = ip; + } + client[kConnecting] = !0, channels.beforeConnect.hasSubscribers && channels.beforeConnect.publish({ + connectParams: { + host, + hostname, + protocol, + port, + servername: client[kServerName], + localAddress: client[kLocalAddress] + }, + connector: client[kConnector] + }); + try { + const socket = await new Promise(((resolve, reject) => { + client[kConnector]({ + host, + hostname, + protocol, + port, + servername: client[kServerName], + localAddress: client[kLocalAddress] + }, ((err, socket) => { + err ? reject(err) : resolve(socket); + })); + })); + if (client.destroyed) return void util.destroy(socket.on("error", (() => {})), new ClientDestroyedError); + client[kConnecting] = !1, assert(socket); + if ("h2" === socket.alpnProtocol) { + h2ExperimentalWarned || (h2ExperimentalWarned = !0, process.emitWarning("H2 support is experimental, expect them to change at any time.", { + code: "UNDICI-H2" + })); + const session = http2.connect(client[kUrl], { + createConnection: () => socket, + peerMaxConcurrentStreams: client[kHTTP2SessionState].maxConcurrentStreams + }); + client[kHTTPConnVersion] = "h2", session[kClient] = client, session[kSocket] = socket, + session.on("error", onHttp2SessionError), session.on("frameError", onHttp2FrameError), + session.on("end", onHttp2SessionEnd), session.on("goaway", onHTTP2GoAway), session.on("close", onSocketClose), + session.unref(), client[kHTTP2Session] = session, socket[kHTTP2Session] = session; + } else llhttpInstance || (llhttpInstance = await llhttpPromise, llhttpPromise = null), + socket[kNoRef] = !1, socket[kWriting] = !1, socket[kReset] = !1, socket[kBlocking] = !1, + socket[kParser] = new Parser(client, socket, llhttpInstance); + socket[kCounter] = 0, socket[kMaxRequests] = client[kMaxRequests], socket[kClient] = client, + socket[kError] = null, socket.on("error", onSocketError).on("readable", onSocketReadable).on("end", onSocketEnd).on("close", onSocketClose), + client[kSocket] = socket, channels.connected.hasSubscribers && channels.connected.publish({ + connectParams: { + host, + hostname, + protocol, + port, + servername: client[kServerName], + localAddress: client[kLocalAddress] + }, + connector: client[kConnector], + socket + }), client.emit("connect", client[kUrl], [ client ]); + } catch (err) { + if (client.destroyed) return; + if (client[kConnecting] = !1, channels.connectError.hasSubscribers && channels.connectError.publish({ + connectParams: { + host, + hostname, + protocol, + port, + servername: client[kServerName], + localAddress: client[kLocalAddress] + }, + connector: client[kConnector], + error: err + }), "ERR_TLS_CERT_ALTNAME_INVALID" === err.code) for (assert(0 === client[kRunning]); client[kPending] > 0 && client[kQueue][client[kPendingIdx]].servername === client[kServerName]; ) { + const request = client[kQueue][client[kPendingIdx]++]; + errorRequest(client, request, err); + } else onError(client, err); + client.emit("connectionError", client[kUrl], [ client ], err); + } + resume(client); + } + function emitDrain(client) { + client[kNeedDrain] = 0, client.emit("drain", client[kUrl], [ client ]); + } + function resume(client, sync) { + 2 !== client[kResuming] && (client[kResuming] = 2, function(client, sync) { + for (;;) { + if (client.destroyed) return void assert(0 === client[kPending]); + if (client[kClosedResolve] && !client[kSize]) return client[kClosedResolve](), void (client[kClosedResolve] = null); + const socket = client[kSocket]; + if (socket && !socket.destroyed && "h2" !== socket.alpnProtocol) if (0 === client[kSize] ? !socket[kNoRef] && socket.unref && (socket.unref(), + socket[kNoRef] = !0) : socket[kNoRef] && socket.ref && (socket.ref(), socket[kNoRef] = !1), + 0 === client[kSize]) socket[kParser].timeoutType !== TIMEOUT_IDLE && socket[kParser].setTimeout(client[kKeepAliveTimeoutValue], TIMEOUT_IDLE); else if (client[kRunning] > 0 && socket[kParser].statusCode < 200 && socket[kParser].timeoutType !== TIMEOUT_HEADERS) { + const request = client[kQueue][client[kRunningIdx]], headersTimeout = null != request.headersTimeout ? request.headersTimeout : client[kHeadersTimeout]; + socket[kParser].setTimeout(headersTimeout, TIMEOUT_HEADERS); + } + if (client[kBusy]) client[kNeedDrain] = 2; else if (2 === client[kNeedDrain]) { + sync ? (client[kNeedDrain] = 1, process.nextTick(emitDrain, client)) : emitDrain(client); + continue; + } + if (0 === client[kPending]) return; + if (client[kRunning] >= (client[kPipelining] || 1)) return; + const request = client[kQueue][client[kPendingIdx]]; + if ("https:" === client[kUrl].protocol && client[kServerName] !== request.servername) { + if (client[kRunning] > 0) return; + if (client[kServerName] = request.servername, socket && socket.servername !== request.servername) return void util.destroy(socket, new InformationalError("servername changed")); + } + if (client[kConnecting]) return; + if (!socket && !client[kHTTP2Session]) return void connect(client); + if (socket.destroyed || socket[kWriting] || socket[kReset] || socket[kBlocking]) return; + if (client[kRunning] > 0 && !request.idempotent) return; + if (client[kRunning] > 0 && (request.upgrade || "CONNECT" === request.method)) return; + if (client[kRunning] > 0 && 0 !== util.bodyLength(request.body) && (util.isStream(request.body) || util.isAsyncIterable(request.body))) return; + !request.aborted && write(client, request) ? client[kPendingIdx]++ : client[kQueue].splice(client[kPendingIdx], 1); + } + }(client, sync), client[kResuming] = 0, client[kRunningIdx] > 256 && (client[kQueue].splice(0, client[kRunningIdx]), + client[kPendingIdx] -= client[kRunningIdx], client[kRunningIdx] = 0)); + } + function shouldSendContentLength(method) { + return "GET" !== method && "HEAD" !== method && "OPTIONS" !== method && "TRACE" !== method && "CONNECT" !== method; + } + function write(client, request) { + if ("h2" === client[kHTTPConnVersion]) return void function(client, session, request) { + const {body, method, path, host, upgrade, expectContinue, signal, headers: reqHeaders} = request; + let headers, stream; + headers = "string" == typeof reqHeaders ? Request[kHTTP2CopyHeaders](reqHeaders.trim()) : reqHeaders; + if (upgrade) return errorRequest(client, request, new Error("Upgrade not supported for H2")), + !1; + try { + request.onConnect((err => { + request.aborted || request.completed || errorRequest(client, request, err || new RequestAbortedError); + })); + } catch (err) { + errorRequest(client, request, err); } - })), verifyDnsLength) { - var total = labels.slice(0, labels.length - 1).join(".").length; - (total.length > 253 || 0 === total.length) && (result.error = !0); - for (var i = 0; i < labels.length; ++i) if (labels.length > 63 || 0 === labels.length) { - result.error = !0; - break; + if (request.aborted) return !1; + const h2State = client[kHTTP2SessionState]; + if (headers[HTTP2_HEADER_AUTHORITY] = host || client[kHost], headers[HTTP2_HEADER_METHOD] = method, + "CONNECT" === method) return session.ref(), stream = session.request(headers, { + endStream: !1, + signal + }), stream.id && !stream.pending ? (request.onUpgrade(null, null, stream), ++h2State.openStreams) : stream.once("ready", (() => { + request.onUpgrade(null, null, stream), ++h2State.openStreams; + })), stream.once("close", (() => { + h2State.openStreams -= 1, 0 === h2State.openStreams && session.unref(); + })), !0; + headers[HTTP2_HEADER_PATH] = path, headers[HTTP2_HEADER_SCHEME] = "https"; + const expectsPayload = "PUT" === method || "POST" === method || "PATCH" === method; + body && "function" == typeof body.read && body.read(0); + let contentLength = util.bodyLength(body); + null == contentLength && (contentLength = request.contentLength); + 0 !== contentLength && expectsPayload || (contentLength = null); + if (shouldSendContentLength(method) && contentLength > 0 && null != request.contentLength && request.contentLength !== contentLength) { + if (client[kStrictContentLength]) return errorRequest(client, request, new RequestContentLengthMismatchError), + !1; + process.emitWarning(new RequestContentLengthMismatchError); + } + null != contentLength && (assert(body, "no body must not have content length"), + headers[HTTP2_HEADER_CONTENT_LENGTH] = `${contentLength}`); + session.ref(); + const shouldEndStream = "GET" === method || "HEAD" === method; + expectContinue ? (headers[HTTP2_HEADER_EXPECT] = "100-continue", stream = session.request(headers, { + endStream: shouldEndStream, + signal + }), stream.once("continue", writeBodyH2)) : (stream = session.request(headers, { + endStream: shouldEndStream, + signal + }), writeBodyH2()); + return ++h2State.openStreams, stream.once("response", (headers => { + const {[HTTP2_HEADER_STATUS]: statusCode, ...realHeaders} = headers; + !1 === request.onHeaders(Number(statusCode), realHeaders, stream.resume.bind(stream), "") && stream.pause(); + })), stream.once("end", (() => { + request.onComplete([]); + })), stream.on("data", (chunk => { + !1 === request.onData(chunk) && stream.pause(); + })), stream.once("close", (() => { + h2State.openStreams -= 1, 0 === h2State.openStreams && session.unref(); + })), stream.once("error", (function(err) { + !client[kHTTP2Session] || client[kHTTP2Session].destroyed || this.closed || this.destroyed || (h2State.streams -= 1, + util.destroy(stream, err)); + })), stream.once("frameError", ((type, code) => { + const err = new InformationalError(`HTTP/2: "frameError" received - type ${type}, code ${code}`); + errorRequest(client, request, err), !client[kHTTP2Session] || client[kHTTP2Session].destroyed || this.closed || this.destroyed || (h2State.streams -= 1, + util.destroy(stream, err)); + })), !0; + function writeBodyH2() { + body ? util.isBuffer(body) ? (assert(contentLength === body.byteLength, "buffer body must have content length"), + stream.cork(), stream.write(body), stream.uncork(), stream.end(), request.onBodySent(body), + request.onRequestSent()) : util.isBlobLike(body) ? "function" == typeof body.stream ? writeIterable({ + client, + request, + contentLength, + h2stream: stream, + expectsPayload, + body: body.stream(), + socket: client[kSocket], + header: "" + }) : writeBlob({ + body, + client, + request, + contentLength, + expectsPayload, + h2stream: stream, + header: "", + socket: client[kSocket] + }) : util.isStream(body) ? writeStream({ + body, + client, + request, + contentLength, + expectsPayload, + socket: client[kSocket], + h2stream: stream, + header: "" + }) : util.isIterable(body) ? writeIterable({ + body, + client, + request, + contentLength, + expectsPayload, + header: "", + h2stream: stream, + socket: client[kSocket] + }) : assert(!1) : request.onRequestSent(); + } + }(client, client[kHTTP2Session], request); + const {body, method, path, host, upgrade, headers, blocking, reset} = request, expectsPayload = "PUT" === method || "POST" === method || "PATCH" === method; + body && "function" == typeof body.read && body.read(0); + const bodyLength = util.bodyLength(body); + let contentLength = bodyLength; + if (null === contentLength && (contentLength = request.contentLength), 0 !== contentLength || expectsPayload || (contentLength = null), + shouldSendContentLength(method) && contentLength > 0 && null !== request.contentLength && request.contentLength !== contentLength) { + if (client[kStrictContentLength]) return errorRequest(client, request, new RequestContentLengthMismatchError), + !1; + process.emitWarning(new RequestContentLengthMismatchError); + } + const socket = client[kSocket]; + try { + request.onConnect((err => { + request.aborted || request.completed || (errorRequest(client, request, err || new RequestAbortedError), + util.destroy(socket, new InformationalError("aborted"))); + })); + } catch (err) { + errorRequest(client, request, err); + } + if (request.aborted) return !1; + "HEAD" === method && (socket[kReset] = !0), (upgrade || "CONNECT" === method) && (socket[kReset] = !0), + null != reset && (socket[kReset] = reset), client[kMaxRequests] && socket[kCounter]++ >= client[kMaxRequests] && (socket[kReset] = !0), + blocking && (socket[kBlocking] = !0); + let header = `${method} ${path} HTTP/1.1\r\n`; + return header += "string" == typeof host ? `host: ${host}\r\n` : client[kHostHeader], + upgrade ? header += `connection: upgrade\r\nupgrade: ${upgrade}\r\n` : client[kPipelining] && !socket[kReset] ? header += "connection: keep-alive\r\n" : header += "connection: close\r\n", + headers && (header += headers), channels.sendHeaders.hasSubscribers && channels.sendHeaders.publish({ + request, + headers: header, + socket + }), body && 0 !== bodyLength ? util.isBuffer(body) ? (assert(contentLength === body.byteLength, "buffer body must have content length"), + socket.cork(), socket.write(`${header}content-length: ${contentLength}\r\n\r\n`, "latin1"), + socket.write(body), socket.uncork(), request.onBodySent(body), request.onRequestSent(), + expectsPayload || (socket[kReset] = !0)) : util.isBlobLike(body) ? "function" == typeof body.stream ? writeIterable({ + body: body.stream(), + client, + request, + socket, + contentLength, + header, + expectsPayload + }) : writeBlob({ + body, + client, + request, + socket, + contentLength, + header, + expectsPayload + }) : util.isStream(body) ? writeStream({ + body, + client, + request, + socket, + contentLength, + header, + expectsPayload + }) : util.isIterable(body) ? writeIterable({ + body, + client, + request, + socket, + contentLength, + header, + expectsPayload + }) : assert(!1) : (0 === contentLength ? socket.write(`${header}content-length: 0\r\n\r\n`, "latin1") : (assert(null === contentLength, "no body must not have content length"), + socket.write(`${header}\r\n`, "latin1")), request.onRequestSent()), !0; + } + function writeStream({h2stream, body, client, request, socket, contentLength, header, expectsPayload}) { + if (assert(0 !== contentLength || 0 === client[kRunning], "stream body cannot be pipelined"), + "h2" === client[kHTTPConnVersion]) { + const pipe = pipeline(body, h2stream, (err => { + err ? (util.destroy(body, err), util.destroy(h2stream, err)) : request.onRequestSent(); + })); + function onPipeData(chunk) { + request.onBodySent(chunk); } + return pipe.on("data", onPipeData), void pipe.once("end", (() => { + pipe.removeListener("data", onPipeData), util.destroy(pipe); + })); } - return result.error ? null : labels.join("."); - }, module.exports.toUnicode = function(domain_name, useSTD3) { - var result = processing(domain_name, useSTD3, PROCESSING_OPTIONS.NONTRANSITIONAL); - return { - domain: result.string, - error: result.error - }; - }, module.exports.PROCESSING_OPTIONS = PROCESSING_OPTIONS; - }, - 6694: (module, __unused_webpack_exports, __webpack_require__) => { - module.exports = __webpack_require__(8439); - }, - 8439: (__unused_webpack_module, exports, __webpack_require__) => { - "use strict"; - __webpack_require__(1808); - var debug, tls = __webpack_require__(4404), http = __webpack_require__(3685), https = __webpack_require__(5687), events = __webpack_require__(2361), util = (__webpack_require__(9491), - __webpack_require__(3837)); - function TunnelingAgent(options) { - var self = this; - self.options = options || {}, self.proxyOptions = self.options.proxy || {}, self.maxSockets = self.options.maxSockets || http.Agent.defaultMaxSockets, - self.requests = [], self.sockets = [], self.on("free", (function(socket, host, port, localAddress) { - for (var options = toOptions(host, port, localAddress), i = 0, len = self.requests.length; i < len; ++i) { - var pending = self.requests[i]; - if (pending.host === options.host && pending.port === options.port) return self.requests.splice(i, 1), - void pending.request.onSocket(socket); + let finished = !1; + const writer = new AsyncWriter({ + socket, + request, + contentLength, + client, + expectsPayload, + header + }), onData = function(chunk) { + if (!finished) try { + !writer.write(chunk) && this.pause && this.pause(); + } catch (err) { + util.destroy(this, err); + } + }, onDrain = function() { + finished || body.resume && body.resume(); + }, onAbort = function() { + if (finished) return; + const err = new RequestAbortedError; + queueMicrotask((() => onFinished(err))); + }, onFinished = function(err) { + if (!finished) { + if (finished = !0, assert(socket.destroyed || socket[kWriting] && client[kRunning] <= 1), + socket.off("drain", onDrain).off("error", onFinished), body.removeListener("data", onData).removeListener("end", onFinished).removeListener("error", onFinished).removeListener("close", onAbort), + !err) try { + writer.end(); + } catch (er) { + err = er; + } + writer.destroy(err), !err || "UND_ERR_INFO" === err.code && "reset" === err.message ? util.destroy(body) : util.destroy(body, err); } - socket.destroy(), self.removeSocket(socket); - })); - } - function createSecureSocket(options, cb) { - var self = this; - TunnelingAgent.prototype.createSocket.call(self, options, (function(socket) { - var hostHeader = options.request.getHeader("host"), tlsOptions = mergeOptions({}, self.options, { - socket, - servername: hostHeader ? hostHeader.replace(/:.*$/, "") : options.host - }), secureSocket = tls.connect(0, tlsOptions); - self.sockets[self.sockets.indexOf(socket)] = secureSocket, cb(secureSocket); - })); - } - function toOptions(host, port, localAddress) { - return "string" == typeof host ? { - host, - port, - localAddress - } : host; + }; + body.on("data", onData).on("end", onFinished).on("error", onFinished).on("close", onAbort), + body.resume && body.resume(), socket.on("drain", onDrain).on("error", onFinished); } - function mergeOptions(target) { - for (var i = 1, len = arguments.length; i < len; ++i) { - var overrides = arguments[i]; - if ("object" == typeof overrides) for (var keys = Object.keys(overrides), j = 0, keyLen = keys.length; j < keyLen; ++j) { - var k = keys[j]; - void 0 !== overrides[k] && (target[k] = overrides[k]); - } + async function writeBlob({h2stream, body, client, request, socket, contentLength, header, expectsPayload}) { + assert(contentLength === body.size, "blob body must have content length"); + const isH2 = "h2" === client[kHTTPConnVersion]; + try { + if (null != contentLength && contentLength !== body.size) throw new RequestContentLengthMismatchError; + const buffer = Buffer.from(await body.arrayBuffer()); + isH2 ? (h2stream.cork(), h2stream.write(buffer), h2stream.uncork()) : (socket.cork(), + socket.write(`${header}content-length: ${contentLength}\r\n\r\n`, "latin1"), socket.write(buffer), + socket.uncork()), request.onBodySent(buffer), request.onRequestSent(), expectsPayload || (socket[kReset] = !0), + resume(client); + } catch (err) { + util.destroy(isH2 ? h2stream : socket, err); } - return target; } - exports.httpOverHttp = function(options) { - var agent = new TunnelingAgent(options); - return agent.request = http.request, agent; - }, exports.httpsOverHttp = function(options) { - var agent = new TunnelingAgent(options); - return agent.request = http.request, agent.createSocket = createSecureSocket, agent.defaultPort = 443, - agent; - }, exports.httpOverHttps = function(options) { - var agent = new TunnelingAgent(options); - return agent.request = https.request, agent; - }, exports.httpsOverHttps = function(options) { - var agent = new TunnelingAgent(options); - return agent.request = https.request, agent.createSocket = createSecureSocket, agent.defaultPort = 443, - agent; - }, util.inherits(TunnelingAgent, events.EventEmitter), TunnelingAgent.prototype.addRequest = function(req, host, port, localAddress) { - var self = this, options = mergeOptions({ - request: req - }, self.options, toOptions(host, port, localAddress)); - self.sockets.length >= this.maxSockets ? self.requests.push(options) : self.createSocket(options, (function(socket) { - function onFree() { - self.emit("free", socket, options); - } - function onCloseOrRemove(err) { - self.removeSocket(socket), socket.removeListener("free", onFree), socket.removeListener("close", onCloseOrRemove), - socket.removeListener("agentRemove", onCloseOrRemove); + async function writeIterable({h2stream, body, client, request, socket, contentLength, header, expectsPayload}) { + assert(0 !== contentLength || 0 === client[kRunning], "iterator body cannot be pipelined"); + let callback = null; + function onDrain() { + if (callback) { + const cb = callback; + callback = null, cb(); } - socket.on("free", onFree), socket.on("close", onCloseOrRemove), socket.on("agentRemove", onCloseOrRemove), - req.onSocket(socket); + } + const waitForDrain = () => new Promise(((resolve, reject) => { + assert(null === callback), socket[kError] ? reject(socket[kError]) : callback = resolve; })); - }, TunnelingAgent.prototype.createSocket = function(options, cb) { - var self = this, placeholder = {}; - self.sockets.push(placeholder); - var connectOptions = mergeOptions({}, self.proxyOptions, { - method: "CONNECT", - path: options.host + ":" + options.port, - agent: !1, - headers: { - host: options.host + ":" + options.port - } + if ("h2" === client[kHTTPConnVersion]) { + h2stream.on("close", onDrain).on("drain", onDrain); + try { + for await (const chunk of body) { + if (socket[kError]) throw socket[kError]; + const res = h2stream.write(chunk); + request.onBodySent(chunk), res || await waitForDrain(); + } + } catch (err) { + h2stream.destroy(err); + } finally { + request.onRequestSent(), h2stream.end(), h2stream.off("close", onDrain).off("drain", onDrain); + } + return; + } + socket.on("close", onDrain).on("drain", onDrain); + const writer = new AsyncWriter({ + socket, + request, + contentLength, + client, + expectsPayload, + header }); - options.localAddress && (connectOptions.localAddress = options.localAddress), connectOptions.proxyAuth && (connectOptions.headers = connectOptions.headers || {}, - connectOptions.headers["Proxy-Authorization"] = "Basic " + new Buffer(connectOptions.proxyAuth).toString("base64")), - debug("making CONNECT request"); - var connectReq = self.request(connectOptions); - function onConnect(res, socket, head) { - var error; - return connectReq.removeAllListeners(), socket.removeAllListeners(), 200 !== res.statusCode ? (debug("tunneling socket could not be established, statusCode=%d", res.statusCode), - socket.destroy(), (error = new Error("tunneling socket could not be established, statusCode=" + res.statusCode)).code = "ECONNRESET", - options.request.emit("error", error), void self.removeSocket(placeholder)) : head.length > 0 ? (debug("got illegal response body from proxy"), - socket.destroy(), (error = new Error("got illegal response body from proxy")).code = "ECONNRESET", - options.request.emit("error", error), void self.removeSocket(placeholder)) : (debug("tunneling connection has established"), - self.sockets[self.sockets.indexOf(placeholder)] = socket, cb(socket)); - } - connectReq.useChunkedEncodingByDefault = !1, connectReq.once("response", (function(res) { - res.upgrade = !0; - })), connectReq.once("upgrade", (function(res, socket, head) { - process.nextTick((function() { - onConnect(res, socket, head); + try { + for await (const chunk of body) { + if (socket[kError]) throw socket[kError]; + writer.write(chunk) || await waitForDrain(); + } + writer.end(); + } catch (err) { + writer.destroy(err); + } finally { + socket.off("close", onDrain).off("drain", onDrain); + } + } + class AsyncWriter { + constructor({socket, request, contentLength, client, expectsPayload, header}) { + this.socket = socket, this.request = request, this.contentLength = contentLength, + this.client = client, this.bytesWritten = 0, this.expectsPayload = expectsPayload, + this.header = header, socket[kWriting] = !0; + } + write(chunk) { + const {socket, request, contentLength, client, bytesWritten, expectsPayload, header} = this; + if (socket[kError]) throw socket[kError]; + if (socket.destroyed) return !1; + const len = Buffer.byteLength(chunk); + if (!len) return !0; + if (null !== contentLength && bytesWritten + len > contentLength) { + if (client[kStrictContentLength]) throw new RequestContentLengthMismatchError; + process.emitWarning(new RequestContentLengthMismatchError); + } + socket.cork(), 0 === bytesWritten && (expectsPayload || (socket[kReset] = !0), null === contentLength ? socket.write(`${header}transfer-encoding: chunked\r\n`, "latin1") : socket.write(`${header}content-length: ${contentLength}\r\n\r\n`, "latin1")), + null === contentLength && socket.write(`\r\n${len.toString(16)}\r\n`, "latin1"), + this.bytesWritten += len; + const ret = socket.write(chunk); + return socket.uncork(), request.onBodySent(chunk), ret || socket[kParser].timeout && socket[kParser].timeoutType === TIMEOUT_HEADERS && socket[kParser].timeout.refresh && socket[kParser].timeout.refresh(), + ret; + } + end() { + const {socket, contentLength, client, bytesWritten, expectsPayload, header, request} = this; + if (request.onRequestSent(), socket[kWriting] = !1, socket[kError]) throw socket[kError]; + if (!socket.destroyed) { + if (0 === bytesWritten ? expectsPayload ? socket.write(`${header}content-length: 0\r\n\r\n`, "latin1") : socket.write(`${header}\r\n`, "latin1") : null === contentLength && socket.write("\r\n0\r\n\r\n", "latin1"), + null !== contentLength && bytesWritten !== contentLength) { + if (client[kStrictContentLength]) throw new RequestContentLengthMismatchError; + process.emitWarning(new RequestContentLengthMismatchError); + } + socket[kParser].timeout && socket[kParser].timeoutType === TIMEOUT_HEADERS && socket[kParser].timeout.refresh && socket[kParser].timeout.refresh(), + resume(client); + } + } + destroy(err) { + const {socket, client} = this; + socket[kWriting] = !1, err && (assert(client[kRunning] <= 1, "pipeline should only contain this request"), + util.destroy(socket, err)); + } + } + function errorRequest(client, request, err) { + try { + request.onError(err), assert(request.aborted); + } catch (err) { + client.emit("error", err); + } + } + module.exports = class extends DispatcherBase { + constructor(url, {interceptors, maxHeaderSize, headersTimeout, socketTimeout, requestTimeout, connectTimeout, bodyTimeout, idleTimeout, keepAlive, keepAliveTimeout, maxKeepAliveTimeout, keepAliveMaxTimeout, keepAliveTimeoutThreshold, socketPath, pipelining, tls, strictContentLength, maxCachedSessions, maxRedirections, connect, maxRequestsPerClient, localAddress, maxResponseSize, autoSelectFamily, autoSelectFamilyAttemptTimeout, allowH2, maxConcurrentStreams} = {}) { + if (super(), void 0 !== keepAlive) throw new InvalidArgumentError("unsupported keepAlive, use pipelining=0 instead"); + if (void 0 !== socketTimeout) throw new InvalidArgumentError("unsupported socketTimeout, use headersTimeout & bodyTimeout instead"); + if (void 0 !== requestTimeout) throw new InvalidArgumentError("unsupported requestTimeout, use headersTimeout & bodyTimeout instead"); + if (void 0 !== idleTimeout) throw new InvalidArgumentError("unsupported idleTimeout, use keepAliveTimeout instead"); + if (void 0 !== maxKeepAliveTimeout) throw new InvalidArgumentError("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead"); + if (null != maxHeaderSize && !Number.isFinite(maxHeaderSize)) throw new InvalidArgumentError("invalid maxHeaderSize"); + if (null != socketPath && "string" != typeof socketPath) throw new InvalidArgumentError("invalid socketPath"); + if (null != connectTimeout && (!Number.isFinite(connectTimeout) || connectTimeout < 0)) throw new InvalidArgumentError("invalid connectTimeout"); + if (null != keepAliveTimeout && (!Number.isFinite(keepAliveTimeout) || keepAliveTimeout <= 0)) throw new InvalidArgumentError("invalid keepAliveTimeout"); + if (null != keepAliveMaxTimeout && (!Number.isFinite(keepAliveMaxTimeout) || keepAliveMaxTimeout <= 0)) throw new InvalidArgumentError("invalid keepAliveMaxTimeout"); + if (null != keepAliveTimeoutThreshold && !Number.isFinite(keepAliveTimeoutThreshold)) throw new InvalidArgumentError("invalid keepAliveTimeoutThreshold"); + if (null != headersTimeout && (!Number.isInteger(headersTimeout) || headersTimeout < 0)) throw new InvalidArgumentError("headersTimeout must be a positive integer or zero"); + if (null != bodyTimeout && (!Number.isInteger(bodyTimeout) || bodyTimeout < 0)) throw new InvalidArgumentError("bodyTimeout must be a positive integer or zero"); + if (null != connect && "function" != typeof connect && "object" != typeof connect) throw new InvalidArgumentError("connect must be a function or an object"); + if (null != maxRedirections && (!Number.isInteger(maxRedirections) || maxRedirections < 0)) throw new InvalidArgumentError("maxRedirections must be a positive number"); + if (null != maxRequestsPerClient && (!Number.isInteger(maxRequestsPerClient) || maxRequestsPerClient < 0)) throw new InvalidArgumentError("maxRequestsPerClient must be a positive number"); + if (null != localAddress && ("string" != typeof localAddress || 0 === net.isIP(localAddress))) throw new InvalidArgumentError("localAddress must be valid string IP address"); + if (null != maxResponseSize && (!Number.isInteger(maxResponseSize) || maxResponseSize < -1)) throw new InvalidArgumentError("maxResponseSize must be a positive number"); + if (null != autoSelectFamilyAttemptTimeout && (!Number.isInteger(autoSelectFamilyAttemptTimeout) || autoSelectFamilyAttemptTimeout < -1)) throw new InvalidArgumentError("autoSelectFamilyAttemptTimeout must be a positive number"); + if (null != allowH2 && "boolean" != typeof allowH2) throw new InvalidArgumentError("allowH2 must be a valid boolean value"); + if (null != maxConcurrentStreams && ("number" != typeof maxConcurrentStreams || maxConcurrentStreams < 1)) throw new InvalidArgumentError("maxConcurrentStreams must be a possitive integer, greater than 0"); + "function" != typeof connect && (connect = buildConnector({ + ...tls, + maxCachedSessions, + allowH2, + socketPath, + timeout: connectTimeout, + ...util.nodeHasAutoSelectFamily && autoSelectFamily ? { + autoSelectFamily, + autoSelectFamilyAttemptTimeout + } : void 0, + ...connect + })), this[kInterceptors] = interceptors && interceptors.Client && Array.isArray(interceptors.Client) ? interceptors.Client : [ createRedirectInterceptor({ + maxRedirections + }) ], this[kUrl] = util.parseOrigin(url), this[kConnector] = connect, this[kSocket] = null, + this[kPipelining] = null != pipelining ? pipelining : 1, this[kMaxHeadersSize] = maxHeaderSize || http.maxHeaderSize, + this[kKeepAliveDefaultTimeout] = null == keepAliveTimeout ? 4e3 : keepAliveTimeout, + this[kKeepAliveMaxTimeout] = null == keepAliveMaxTimeout ? 6e5 : keepAliveMaxTimeout, + this[kKeepAliveTimeoutThreshold] = null == keepAliveTimeoutThreshold ? 1e3 : keepAliveTimeoutThreshold, + this[kKeepAliveTimeoutValue] = this[kKeepAliveDefaultTimeout], this[kServerName] = null, + this[kLocalAddress] = null != localAddress ? localAddress : null, this[kResuming] = 0, + this[kNeedDrain] = 0, this[kHostHeader] = `host: ${this[kUrl].hostname}${this[kUrl].port ? `:${this[kUrl].port}` : ""}\r\n`, + this[kBodyTimeout] = null != bodyTimeout ? bodyTimeout : 3e5, this[kHeadersTimeout] = null != headersTimeout ? headersTimeout : 3e5, + this[kStrictContentLength] = null == strictContentLength || strictContentLength, + this[kMaxRedirections] = maxRedirections, this[kMaxRequests] = maxRequestsPerClient, + this[kClosedResolve] = null, this[kMaxResponseSize] = maxResponseSize > -1 ? maxResponseSize : -1, + this[kHTTPConnVersion] = "h1", this[kHTTP2Session] = null, this[kHTTP2SessionState] = allowH2 ? { + openStreams: 0, + maxConcurrentStreams: null != maxConcurrentStreams ? maxConcurrentStreams : 100 + } : null, this[kHost] = `${this[kUrl].hostname}${this[kUrl].port ? `:${this[kUrl].port}` : ""}`, + this[kQueue] = [], this[kRunningIdx] = 0, this[kPendingIdx] = 0; + } + get pipelining() { + return this[kPipelining]; + } + set pipelining(value) { + this[kPipelining] = value, resume(this, !0); + } + get [kPending]() { + return this[kQueue].length - this[kPendingIdx]; + } + get [kRunning]() { + return this[kPendingIdx] - this[kRunningIdx]; + } + get [kSize]() { + return this[kQueue].length - this[kRunningIdx]; + } + get [kConnected]() { + return !!this[kSocket] && !this[kConnecting] && !this[kSocket].destroyed; + } + get [kBusy]() { + const socket = this[kSocket]; + return socket && (socket[kReset] || socket[kWriting] || socket[kBlocking]) || this[kSize] >= (this[kPipelining] || 1) || this[kPending] > 0; + } + [kConnect](cb) { + connect(this), this.once("connect", cb); + } + [kDispatch](opts, handler) { + const origin = opts.origin || this[kUrl].origin, request = "h2" === this[kHTTPConnVersion] ? Request[kHTTP2BuildRequest](origin, opts, handler) : Request[kHTTP1BuildRequest](origin, opts, handler); + return this[kQueue].push(request), this[kResuming] || (null == util.bodyLength(request.body) && util.isIterable(request.body) ? (this[kResuming] = 1, + process.nextTick(resume, this)) : resume(this, !0)), this[kResuming] && 2 !== this[kNeedDrain] && this[kBusy] && (this[kNeedDrain] = 2), + this[kNeedDrain] < 2; + } + async [kClose]() { + return new Promise((resolve => { + this[kSize] ? this[kClosedResolve] = resolve : resolve(null); })); - })), connectReq.once("connect", onConnect), connectReq.once("error", (function(cause) { - connectReq.removeAllListeners(), debug("tunneling socket could not be established, cause=%s\n", cause.message, cause.stack); - var error = new Error("tunneling socket could not be established, cause=" + cause.message); - error.code = "ECONNRESET", options.request.emit("error", error), self.removeSocket(placeholder); - })), connectReq.end(); - }, TunnelingAgent.prototype.removeSocket = function(socket) { - var pos = this.sockets.indexOf(socket); - if (-1 !== pos) { - this.sockets.splice(pos, 1); - var pending = this.requests.shift(); - pending && this.createSocket(pending, (function(socket) { - pending.request.onSocket(socket); + } + async [kDestroy](err) { + return new Promise((resolve => { + const requests = this[kQueue].splice(this[kPendingIdx]); + for (let i = 0; i < requests.length; i++) { + errorRequest(this, requests[i], err); + } + const callback = () => { + this[kClosedResolve] && (this[kClosedResolve](), this[kClosedResolve] = null), resolve(); + }; + null != this[kHTTP2Session] && (util.destroy(this[kHTTP2Session], err), this[kHTTP2Session] = null, + this[kHTTP2SessionState] = null), this[kSocket] ? util.destroy(this[kSocket].on("close", callback), err) : queueMicrotask(callback), + resume(this); })); } - }, debug = process.env.NODE_DEBUG && /\btunnel\b/.test(process.env.NODE_DEBUG) ? function() { - var args = Array.prototype.slice.call(arguments); - "string" == typeof args[0] ? args[0] = "TUNNEL: " + args[0] : args.unshift("TUNNEL:"), - console.error.apply(console, args); - } : function() {}, exports.debug = debug; + }; }, - 7075: (__unused_webpack_module, exports) => { + 383: (module, __unused_webpack_exports, __webpack_require__) => { "use strict"; - exports.fromCallback = function(fn) { - return Object.defineProperty((function() { - if ("function" != typeof arguments[arguments.length - 1]) return new Promise(((resolve, reject) => { - arguments[arguments.length] = (err, res) => { - if (err) return reject(err); - resolve(res); - }, arguments.length++, fn.apply(this, arguments); + const {kConnected, kSize} = __webpack_require__(8028); + class CompatWeakRef { + constructor(value) { + this.value = value; + } + deref() { + return 0 === this.value[kConnected] && 0 === this.value[kSize] ? void 0 : this.value; + } + } + class CompatFinalizer { + constructor(finalizer) { + this.finalizer = finalizer; + } + register(dispatcher, key) { + dispatcher.on && dispatcher.on("disconnect", (() => { + 0 === dispatcher[kConnected] && 0 === dispatcher[kSize] && this.finalizer(key); })); - fn.apply(this, arguments); - }), "name", { - value: fn.name - }); - }, exports.fromPromise = function(fn) { - return Object.defineProperty((function() { - const cb = arguments[arguments.length - 1]; - if ("function" != typeof cb) return fn.apply(this, arguments); - delete arguments[arguments.length - 1], arguments.length--, fn.apply(this, arguments).then((r => cb(null, r)), cb); - }), "name", { - value: fn.name - }); + } + } + module.exports = function() { + return process.env.NODE_V8_COVERAGE ? { + WeakRef: CompatWeakRef, + FinalizationRegistry: CompatFinalizer + } : { + WeakRef: global.WeakRef || CompatWeakRef, + FinalizationRegistry: global.FinalizationRegistry || CompatFinalizer + }; }; }, - 6211: (module, __unused_webpack_exports, __webpack_require__) => { + 4312: module => { "use strict"; - var required = __webpack_require__(6983), qs = __webpack_require__(8041), controlOrWhitespace = /^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/, CRHTLF = /[\n\r\t]/g, slashes = /^[A-Za-z][A-Za-z0-9+-.]*:\/\//, port = /:\d+$/, protocolre = /^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i, windowsDriveLetter = /^[a-zA-Z]:/; - function trimLeft(str) { - return (str || "").toString().replace(controlOrWhitespace, ""); - } - var rules = [ [ "#", "hash" ], [ "?", "query" ], function(address, url) { - return isSpecial(url.protocol) ? address.replace(/\\/g, "/") : address; - }, [ "/", "pathname" ], [ "@", "auth", 1 ], [ NaN, "host", void 0, 1, 1 ], [ /:(\d*)$/, "port", void 0, 1 ], [ NaN, "hostname", void 0, 1, 1 ] ], ignore = { - hash: 1, - query: 1 + module.exports = { + maxAttributeValueSize: 1024, + maxNameValuePairSize: 4096 }; - function lolcation(loc) { - var key, location = ("undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof self ? self : {}).location || {}, finaldestination = {}, type = typeof (loc = loc || location); - if ("blob:" === loc.protocol) finaldestination = new Url(unescape(loc.pathname), {}); else if ("string" === type) for (key in finaldestination = new Url(loc, {}), - ignore) delete finaldestination[key]; else if ("object" === type) { - for (key in loc) key in ignore || (finaldestination[key] = loc[key]); - void 0 === finaldestination.slashes && (finaldestination.slashes = slashes.test(loc.href)); - } - return finaldestination; - } - function isSpecial(scheme) { - return "file:" === scheme || "ftp:" === scheme || "http:" === scheme || "https:" === scheme || "ws:" === scheme || "wss:" === scheme; - } - function extractProtocol(address, location) { - address = (address = trimLeft(address)).replace(CRHTLF, ""), location = location || {}; - var rest, match = protocolre.exec(address), protocol = match[1] ? match[1].toLowerCase() : "", forwardSlashes = !!match[2], otherSlashes = !!match[3], slashesCount = 0; - return forwardSlashes ? otherSlashes ? (rest = match[2] + match[3] + match[4], slashesCount = match[2].length + match[3].length) : (rest = match[2] + match[4], - slashesCount = match[2].length) : otherSlashes ? (rest = match[3] + match[4], slashesCount = match[3].length) : rest = match[4], - "file:" === protocol ? slashesCount >= 2 && (rest = rest.slice(2)) : isSpecial(protocol) ? rest = match[4] : protocol ? forwardSlashes && (rest = rest.slice(2)) : slashesCount >= 2 && isSpecial(location.protocol) && (rest = match[4]), - { - protocol, - slashes: forwardSlashes || isSpecial(protocol), - slashesCount, - rest - }; - } - function Url(address, location, parser) { - if (address = (address = trimLeft(address)).replace(CRHTLF, ""), !(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; - for ("object" !== type && "string" !== type && (parser = location, location = null), - parser && "function" != typeof parser && (parser = qs.parse), relative = !(extracted = extractProtocol(address || "", location = lolcation(location))).protocol && !extracted.slashes, - url.slashes = extracted.slashes || relative && location.slashes, url.protocol = extracted.protocol || location.protocol || "", - address = extracted.rest, ("file:" === extracted.protocol && (2 !== extracted.slashesCount || windowsDriveLetter.test(address)) || !extracted.slashes && (extracted.protocol || extracted.slashesCount < 2 || !isSpecial(url.protocol))) && (instructions[3] = [ /(.*)/, "pathname" ]); i < instructions.length; i++) "function" != typeof (instruction = instructions[i]) ? (parse = instruction[0], - key = instruction[1], parse != parse ? url[key] = address : "string" == typeof parse ? ~(index = "@" === parse ? address.lastIndexOf(parse) : address.indexOf(parse)) && ("number" == typeof instruction[2] ? (url[key] = address.slice(0, index), - address = address.slice(index + instruction[2])) : (url[key] = address.slice(index), - address = address.slice(0, index))) : (index = parse.exec(address)) && (url[key] = index[1], - address = address.slice(0, index.index)), url[key] = url[key] || relative && instruction[3] && location[key] || "", - instruction[4] && (url[key] = url[key].toLowerCase())) : address = instruction(address, url); - parser && (url.query = parser(url.query)), relative && location.slashes && "/" !== url.pathname.charAt(0) && ("" !== url.pathname || "" !== location.pathname) && (url.pathname = function(relative, base) { - if ("" === relative) return base; - for (var path = (base || "/").split("/").slice(0, -1).concat(relative.split("/")), i = path.length, last = path[i - 1], unshift = !1, up = 0; i--; ) "." === path[i] ? path.splice(i, 1) : ".." === path[i] ? (path.splice(i, 1), - up++) : up && (0 === i && (unshift = !0), path.splice(i, 1), up--); - return unshift && path.unshift(""), "." !== last && ".." !== last || path.push(""), - path.join("/"); - }(url.pathname, location.pathname)), "/" !== url.pathname.charAt(0) && isSpecial(url.protocol) && (url.pathname = "/" + url.pathname), - required(url.port, url.protocol) || (url.host = url.hostname, url.port = ""), url.username = url.password = "", - url.auth && (~(index = url.auth.indexOf(":")) ? (url.username = url.auth.slice(0, index), - url.username = encodeURIComponent(decodeURIComponent(url.username)), url.password = url.auth.slice(index + 1), - url.password = encodeURIComponent(decodeURIComponent(url.password))) : url.username = encodeURIComponent(decodeURIComponent(url.auth)), - url.auth = url.password ? url.username + ":" + url.password : url.username), url.origin = "file:" !== url.protocol && isSpecial(url.protocol) && url.host ? url.protocol + "//" + url.host : "null", - url.href = url.toString(); - } - Url.prototype = { - set: function(part, value, fn) { - var url = this; - switch (part) { - case "query": - "string" == typeof value && value.length && (value = (fn || qs.parse)(value)), url[part] = value; - break; - - case "port": - url[part] = value, required(value, url.protocol) ? value && (url.host = url.hostname + ":" + value) : (url.host = url.hostname, - url[part] = ""); - break; - - case "hostname": - url[part] = value, url.port && (value += ":" + url.port), url.host = value; - break; - - case "host": - url[part] = value, port.test(value) ? (value = value.split(":"), url.port = value.pop(), - url.hostname = value.join(":")) : (url.hostname = value, url.port = ""); - break; - - case "protocol": - url.protocol = value.toLowerCase(), url.slashes = !fn; - break; - - case "pathname": - case "hash": - if (value) { - var char = "pathname" === part ? "/" : "#"; - url[part] = value.charAt(0) !== char ? char + value : value; - } else url[part] = value; - break; - - case "username": - case "password": - url[part] = encodeURIComponent(value); - break; - - case "auth": - var index = value.indexOf(":"); - ~index ? (url.username = value.slice(0, index), url.username = encodeURIComponent(decodeURIComponent(url.username)), - url.password = value.slice(index + 1), url.password = encodeURIComponent(decodeURIComponent(url.password))) : url.username = encodeURIComponent(decodeURIComponent(value)); - } - for (var i = 0; i < rules.length; i++) { - var ins = rules[i]; - ins[4] && (url[ins[1]] = url[ins[1]].toLowerCase()); - } - return url.auth = url.password ? url.username + ":" + url.password : url.username, - url.origin = "file:" !== url.protocol && isSpecial(url.protocol) && url.host ? url.protocol + "//" + url.host : "null", - url.href = url.toString(), url; - }, - toString: function(stringify) { - stringify && "function" == typeof stringify || (stringify = qs.stringify); - var query, url = this, host = url.host, protocol = url.protocol; - protocol && ":" !== protocol.charAt(protocol.length - 1) && (protocol += ":"); - var result = protocol + (url.protocol && url.slashes || isSpecial(url.protocol) ? "//" : ""); - return url.username ? (result += url.username, url.password && (result += ":" + url.password), - result += "@") : url.password ? (result += ":" + url.password, result += "@") : "file:" !== url.protocol && isSpecial(url.protocol) && !host && "/" !== url.pathname && (result += "@"), - (":" === host[host.length - 1] || port.test(url.hostname) && !url.port) && (host += ":"), - result += host + url.pathname, (query = "object" == typeof url.query ? stringify(url.query) : url.query) && (result += "?" !== query.charAt(0) ? "?" + query : query), - url.hash && (result += url.hash), result; - } - }, Url.extractProtocol = extractProtocol, Url.location = lolcation, Url.trimLeft = trimLeft, - Url.qs = qs, module.exports = Url; }, - 3441: (__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + 4305: (module, __unused_webpack_exports, __webpack_require__) => { "use strict"; - __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, { - NIL: () => nil, - parse: () => esm_node_parse, - stringify: () => stringify.Z, - v1: () => esm_node_v1, - v3: () => esm_node_v3, - v4: () => v4.Z, - v5: () => esm_node_v5, - validate: () => validate.Z, - version: () => esm_node_version - }); - var rng = __webpack_require__(7659), stringify = __webpack_require__(8715); - let _nodeId, _clockseq, _lastMSecs = 0, _lastNSecs = 0; - const esm_node_v1 = function(options, buf, offset) { - let i = buf && offset || 0; - const b = buf || new Array(16); - let node = (options = options || {}).node || _nodeId, clockseq = void 0 !== options.clockseq ? options.clockseq : _clockseq; - if (null == node || null == clockseq) { - const seedBytes = options.random || (options.rng || rng.Z)(); - null == node && (node = _nodeId = [ 1 | seedBytes[0], seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5] ]), - null == clockseq && (clockseq = _clockseq = 16383 & (seedBytes[6] << 8 | seedBytes[7])); - } - let msecs = void 0 !== options.msecs ? options.msecs : Date.now(), nsecs = void 0 !== options.nsecs ? options.nsecs : _lastNSecs + 1; - const dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 1e4; - if (dt < 0 && void 0 === options.clockseq && (clockseq = clockseq + 1 & 16383), - (dt < 0 || msecs > _lastMSecs) && void 0 === options.nsecs && (nsecs = 0), nsecs >= 1e4) throw new Error("uuid.v1(): Can't create more than 10M uuids/sec"); - _lastMSecs = msecs, _lastNSecs = nsecs, _clockseq = clockseq, msecs += 122192928e5; - const tl = (1e4 * (268435455 & msecs) + nsecs) % 4294967296; - b[i++] = tl >>> 24 & 255, b[i++] = tl >>> 16 & 255, b[i++] = tl >>> 8 & 255, b[i++] = 255 & tl; - const tmh = msecs / 4294967296 * 1e4 & 268435455; - b[i++] = tmh >>> 8 & 255, b[i++] = 255 & tmh, b[i++] = tmh >>> 24 & 15 | 16, b[i++] = tmh >>> 16 & 255, - b[i++] = clockseq >>> 8 | 128, b[i++] = 255 & clockseq; - for (let n = 0; n < 6; ++n) b[i + n] = node[n]; - return buf || (0, stringify.Z)(b); - }; - var validate = __webpack_require__(9217); - const esm_node_parse = function(uuid) { - if (!(0, validate.Z)(uuid)) throw TypeError("Invalid UUID"); - let v; - const arr = new Uint8Array(16); - return arr[0] = (v = parseInt(uuid.slice(0, 8), 16)) >>> 24, arr[1] = v >>> 16 & 255, - arr[2] = v >>> 8 & 255, arr[3] = 255 & v, arr[4] = (v = parseInt(uuid.slice(9, 13), 16)) >>> 8, - arr[5] = 255 & v, arr[6] = (v = parseInt(uuid.slice(14, 18), 16)) >>> 8, arr[7] = 255 & v, - arr[8] = (v = parseInt(uuid.slice(19, 23), 16)) >>> 8, arr[9] = 255 & v, arr[10] = (v = parseInt(uuid.slice(24, 36), 16)) / 1099511627776 & 255, - arr[11] = v / 4294967296 & 255, arr[12] = v >>> 24 & 255, arr[13] = v >>> 16 & 255, - arr[14] = v >>> 8 & 255, arr[15] = 255 & v, arr; - }; - const DNS = "6ba7b810-9dad-11d1-80b4-00c04fd430c8", URL = "6ba7b811-9dad-11d1-80b4-00c04fd430c8"; - function v35(name, version, hashfunc) { - function generateUUID(value, namespace, buf, offset) { - if ("string" == typeof value && (value = function(str) { - str = unescape(encodeURIComponent(str)); - const bytes = []; - for (let i = 0; i < str.length; ++i) bytes.push(str.charCodeAt(i)); - return bytes; - }(value)), "string" == typeof namespace && (namespace = esm_node_parse(namespace)), - 16 !== namespace.length) throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)"); - let bytes = new Uint8Array(16 + value.length); - if (bytes.set(namespace), bytes.set(value, namespace.length), bytes = hashfunc(bytes), - bytes[6] = 15 & bytes[6] | version, bytes[8] = 63 & bytes[8] | 128, buf) { - offset = offset || 0; - for (let i = 0; i < 16; ++i) buf[offset + i] = bytes[i]; - return buf; + const {parseSetCookie} = __webpack_require__(2246), {stringify, getHeadersList} = __webpack_require__(8745), {webidl} = __webpack_require__(769), {Headers} = __webpack_require__(5472); + function setCookie(headers, cookie) { + webidl.argumentLengthCheck(arguments, 2, { + header: "setCookie" + }), webidl.brandCheck(headers, Headers, { + strict: !1 + }), cookie = webidl.converters.Cookie(cookie); + stringify(cookie) && headers.append("Set-Cookie", stringify(cookie)); + } + webidl.converters.DeleteCookieAttributes = webidl.dictionaryConverter([ { + converter: webidl.nullableConverter(webidl.converters.DOMString), + key: "path", + defaultValue: null + }, { + converter: webidl.nullableConverter(webidl.converters.DOMString), + key: "domain", + defaultValue: null + } ]), webidl.converters.Cookie = webidl.dictionaryConverter([ { + converter: webidl.converters.DOMString, + key: "name" + }, { + converter: webidl.converters.DOMString, + key: "value" + }, { + converter: webidl.nullableConverter((value => "number" == typeof value ? webidl.converters["unsigned long long"](value) : new Date(value))), + key: "expires", + defaultValue: null + }, { + converter: webidl.nullableConverter(webidl.converters["long long"]), + key: "maxAge", + defaultValue: null + }, { + converter: webidl.nullableConverter(webidl.converters.DOMString), + key: "domain", + defaultValue: null + }, { + converter: webidl.nullableConverter(webidl.converters.DOMString), + key: "path", + defaultValue: null + }, { + converter: webidl.nullableConverter(webidl.converters.boolean), + key: "secure", + defaultValue: null + }, { + converter: webidl.nullableConverter(webidl.converters.boolean), + key: "httpOnly", + defaultValue: null + }, { + converter: webidl.converters.USVString, + key: "sameSite", + allowedValues: [ "Strict", "Lax", "None" ] + }, { + converter: webidl.sequenceConverter(webidl.converters.DOMString), + key: "unparsed", + defaultValue: [] + } ]), module.exports = { + getCookies: function(headers) { + webidl.argumentLengthCheck(arguments, 1, { + header: "getCookies" + }), webidl.brandCheck(headers, Headers, { + strict: !1 + }); + const cookie = headers.get("cookie"), out = {}; + if (!cookie) return out; + for (const piece of cookie.split(";")) { + const [name, ...value] = piece.split("="); + out[name.trim()] = value.join("="); } - return (0, stringify.Z)(bytes); - } - try { - generateUUID.name = name; - } catch (err) {} - return generateUUID.DNS = DNS, generateUUID.URL = URL, generateUUID; - } - var external_crypto_ = __webpack_require__(6113), external_crypto_default = __webpack_require__.n(external_crypto_); - const esm_node_v3 = v35("v3", 48, (function(bytes) { - return Array.isArray(bytes) ? bytes = Buffer.from(bytes) : "string" == typeof bytes && (bytes = Buffer.from(bytes, "utf8")), - external_crypto_default().createHash("md5").update(bytes).digest(); - })); - var v4 = __webpack_require__(2380); - const esm_node_v5 = v35("v5", 80, (function(bytes) { - return Array.isArray(bytes) ? bytes = Buffer.from(bytes) : "string" == typeof bytes && (bytes = Buffer.from(bytes, "utf8")), - external_crypto_default().createHash("sha1").update(bytes).digest(); - })), nil = "00000000-0000-0000-0000-000000000000"; - const esm_node_version = function(uuid) { - if (!(0, validate.Z)(uuid)) throw TypeError("Invalid UUID"); - return parseInt(uuid.substr(14, 1), 16); + return out; + }, + deleteCookie: function(headers, name, attributes) { + webidl.argumentLengthCheck(arguments, 2, { + header: "deleteCookie" + }), webidl.brandCheck(headers, Headers, { + strict: !1 + }), name = webidl.converters.DOMString(name), attributes = webidl.converters.DeleteCookieAttributes(attributes), + setCookie(headers, { + name, + value: "", + expires: new Date(0), + ...attributes + }); + }, + getSetCookies: function(headers) { + webidl.argumentLengthCheck(arguments, 1, { + header: "getSetCookies" + }), webidl.brandCheck(headers, Headers, { + strict: !1 + }); + const cookies = getHeadersList(headers).cookies; + return cookies ? cookies.map((pair => parseSetCookie(Array.isArray(pair) ? pair[1] : pair))) : []; + }, + setCookie }; }, - 7659: (__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + 2246: (module, __unused_webpack_exports, __webpack_require__) => { "use strict"; - __webpack_require__.d(__webpack_exports__, { - Z: () => rng - }); - var crypto__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6113), crypto__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(crypto__WEBPACK_IMPORTED_MODULE_0__); - const rnds8Pool = new Uint8Array(256); - let poolPtr = rnds8Pool.length; - function rng() { - return poolPtr > rnds8Pool.length - 16 && (crypto__WEBPACK_IMPORTED_MODULE_0___default().randomFillSync(rnds8Pool), - poolPtr = 0), rnds8Pool.slice(poolPtr, poolPtr += 16); + const {maxNameValuePairSize, maxAttributeValueSize} = __webpack_require__(4312), {isCTLExcludingHtab} = __webpack_require__(8745), {collectASequenceOfCodePointsFast} = __webpack_require__(3587), assert = __webpack_require__(2613); + function parseUnparsedAttributes(unparsedAttributes, cookieAttributeList = {}) { + if (0 === unparsedAttributes.length) return cookieAttributeList; + assert(";" === unparsedAttributes[0]); + let cookieAv = ""; + (unparsedAttributes = unparsedAttributes.slice(1)).includes(";") ? (cookieAv = collectASequenceOfCodePointsFast(";", unparsedAttributes, { + position: 0 + }), unparsedAttributes = unparsedAttributes.slice(cookieAv.length)) : (cookieAv = unparsedAttributes, + unparsedAttributes = ""); + let attributeName = "", attributeValue = ""; + if (cookieAv.includes("=")) { + const position = { + position: 0 + }; + attributeName = collectASequenceOfCodePointsFast("=", cookieAv, position), attributeValue = cookieAv.slice(position.position + 1); + } else attributeName = cookieAv; + if (attributeName = attributeName.trim(), attributeValue = attributeValue.trim(), + attributeValue.length > maxAttributeValueSize) return parseUnparsedAttributes(unparsedAttributes, cookieAttributeList); + const attributeNameLowercase = attributeName.toLowerCase(); + if ("expires" === attributeNameLowercase) { + const expiryTime = new Date(attributeValue); + cookieAttributeList.expires = expiryTime; + } else if ("max-age" === attributeNameLowercase) { + const charCode = attributeValue.charCodeAt(0); + if ((charCode < 48 || charCode > 57) && "-" !== attributeValue[0]) return parseUnparsedAttributes(unparsedAttributes, cookieAttributeList); + if (!/^\d+$/.test(attributeValue)) return parseUnparsedAttributes(unparsedAttributes, cookieAttributeList); + const deltaSeconds = Number(attributeValue); + cookieAttributeList.maxAge = deltaSeconds; + } else if ("domain" === attributeNameLowercase) { + let cookieDomain = attributeValue; + "." === cookieDomain[0] && (cookieDomain = cookieDomain.slice(1)), cookieDomain = cookieDomain.toLowerCase(), + cookieAttributeList.domain = cookieDomain; + } else if ("path" === attributeNameLowercase) { + let cookiePath = ""; + cookiePath = 0 === attributeValue.length || "/" !== attributeValue[0] ? "/" : attributeValue, + cookieAttributeList.path = cookiePath; + } else if ("secure" === attributeNameLowercase) cookieAttributeList.secure = !0; else if ("httponly" === attributeNameLowercase) cookieAttributeList.httpOnly = !0; else if ("samesite" === attributeNameLowercase) { + let enforcement = "Default"; + const attributeValueLowercase = attributeValue.toLowerCase(); + attributeValueLowercase.includes("none") && (enforcement = "None"), attributeValueLowercase.includes("strict") && (enforcement = "Strict"), + attributeValueLowercase.includes("lax") && (enforcement = "Lax"), cookieAttributeList.sameSite = enforcement; + } else cookieAttributeList.unparsed ??= [], cookieAttributeList.unparsed.push(`${attributeName}=${attributeValue}`); + return parseUnparsedAttributes(unparsedAttributes, cookieAttributeList); } - }, - 8715: (__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - "use strict"; - __webpack_require__.d(__webpack_exports__, { - Z: () => __WEBPACK_DEFAULT_EXPORT__ - }); - var _validate_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9217); - const byteToHex = []; - for (let i = 0; i < 256; ++i) byteToHex.push((i + 256).toString(16).substr(1)); - const __WEBPACK_DEFAULT_EXPORT__ = function(arr, offset = 0) { - const uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + "-" + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + "-" + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + "-" + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + "-" + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); - if (!(0, _validate_js__WEBPACK_IMPORTED_MODULE_0__.Z)(uuid)) throw TypeError("Stringified UUID is invalid"); - return uuid; + module.exports = { + parseSetCookie: function(header) { + if (isCTLExcludingHtab(header)) return null; + let nameValuePair = "", unparsedAttributes = "", name = "", value = ""; + if (header.includes(";")) { + const position = { + position: 0 + }; + nameValuePair = collectASequenceOfCodePointsFast(";", header, position), unparsedAttributes = header.slice(position.position); + } else nameValuePair = header; + if (nameValuePair.includes("=")) { + const position = { + position: 0 + }; + name = collectASequenceOfCodePointsFast("=", nameValuePair, position), value = nameValuePair.slice(position.position + 1); + } else value = nameValuePair; + return name = name.trim(), value = value.trim(), name.length + value.length > maxNameValuePairSize ? null : { + name, + value, + ...parseUnparsedAttributes(unparsedAttributes) + }; + }, + parseUnparsedAttributes }; }, - 2380: (__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + 8745: (module, __unused_webpack_exports, __webpack_require__) => { "use strict"; - __webpack_require__.d(__webpack_exports__, { - Z: () => __WEBPACK_DEFAULT_EXPORT__ - }); - var _rng_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7659), _stringify_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8715); - const __WEBPACK_DEFAULT_EXPORT__ = function(options, buf, offset) { - const rnds = (options = options || {}).random || (options.rng || _rng_js__WEBPACK_IMPORTED_MODULE_0__.Z)(); - if (rnds[6] = 15 & rnds[6] | 64, rnds[8] = 63 & rnds[8] | 128, buf) { - offset = offset || 0; - for (let i = 0; i < 16; ++i) buf[offset + i] = rnds[i]; - return buf; + const assert = __webpack_require__(2613), {kHeadersList} = __webpack_require__(8028); + let kHeadersListNode; + module.exports = { + isCTLExcludingHtab: function(value) { + if (0 === value.length) return !1; + for (const char of value) { + const code = char.charCodeAt(0); + if (code >= 0 || code <= 8 || code >= 10 || code <= 31 || 127 === code) return !1; + } + }, + stringify: function(cookie) { + if (0 === cookie.name.length) return null; + !function(name) { + for (const char of name) { + const code = char.charCodeAt(0); + if (code <= 32 || code > 127 || "(" === char || ")" === char || ">" === char || "<" === char || "@" === char || "," === char || ";" === char || ":" === char || "\\" === char || '"' === char || "/" === char || "[" === char || "]" === char || "?" === char || "=" === char || "{" === char || "}" === char) throw new Error("Invalid cookie name"); + } + }(cookie.name), function(value) { + for (const char of value) { + const code = char.charCodeAt(0); + if (code < 33 || 34 === code || 44 === code || 59 === code || 92 === code || code > 126) throw new Error("Invalid header value"); + } + }(cookie.value); + const out = [ `${cookie.name}=${cookie.value}` ]; + var date; + cookie.name.startsWith("__Secure-") && (cookie.secure = !0), cookie.name.startsWith("__Host-") && (cookie.secure = !0, + cookie.domain = null, cookie.path = "/"), cookie.secure && out.push("Secure"), cookie.httpOnly && out.push("HttpOnly"), + "number" == typeof cookie.maxAge && (!function(maxAge) { + if (maxAge < 0) throw new Error("Invalid cookie max-age"); + }(cookie.maxAge), out.push(`Max-Age=${cookie.maxAge}`)), cookie.domain && (!function(domain) { + if (domain.startsWith("-") || domain.endsWith(".") || domain.endsWith("-")) throw new Error("Invalid cookie domain"); + }(cookie.domain), out.push(`Domain=${cookie.domain}`)), cookie.path && (!function(path) { + for (const char of path) if (char.charCodeAt(0) < 33 || ";" === char) throw new Error("Invalid cookie path"); + }(cookie.path), out.push(`Path=${cookie.path}`)), cookie.expires && "Invalid Date" !== cookie.expires.toString() && out.push("Expires=" + ("number" == typeof (date = cookie.expires) && (date = new Date(date)), + `${[ "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" ][date.getUTCDay()]}, ${date.getUTCDate().toString().padStart(2, "0")} ${[ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" ][date.getUTCMonth()]} ${date.getUTCFullYear()} ${date.getUTCHours().toString().padStart(2, "0")}:${date.getUTCMinutes().toString().padStart(2, "0")}:${date.getUTCSeconds().toString().padStart(2, "0")} GMT`)), + cookie.sameSite && out.push(`SameSite=${cookie.sameSite}`); + for (const part of cookie.unparsed) { + if (!part.includes("=")) throw new Error("Invalid unparsed"); + const [key, ...value] = part.split("="); + out.push(`${key.trim()}=${value.join("=")}`); + } + return out.join("; "); + }, + getHeadersList: function(headers) { + if (headers[kHeadersList]) return headers[kHeadersList]; + kHeadersListNode || (kHeadersListNode = Object.getOwnPropertySymbols(headers).find((symbol => "headers list" === symbol.description)), + assert(kHeadersListNode, "Headers cannot be parsed")); + const headersList = headers[kHeadersListNode]; + return assert(headersList), headersList; } - return (0, _stringify_js__WEBPACK_IMPORTED_MODULE_1__.Z)(rnds); }; }, - 9217: (__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + 5651: (module, __unused_webpack_exports, __webpack_require__) => { "use strict"; - __webpack_require__.d(__webpack_exports__, { - Z: () => esm_node_validate - }); - const regex = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i; - const esm_node_validate = function(uuid) { - return "string" == typeof uuid && regex.test(uuid); + const net = __webpack_require__(9278), assert = __webpack_require__(2613), util = __webpack_require__(8869), {InvalidArgumentError, ConnectTimeoutError} = __webpack_require__(3898); + let tls, SessionCache; + SessionCache = global.FinalizationRegistry && !process.env.NODE_V8_COVERAGE ? class { + constructor(maxCachedSessions) { + this._maxCachedSessions = maxCachedSessions, this._sessionCache = new Map, this._sessionRegistry = new global.FinalizationRegistry((key => { + if (this._sessionCache.size < this._maxCachedSessions) return; + const ref = this._sessionCache.get(key); + void 0 !== ref && void 0 === ref.deref() && this._sessionCache.delete(key); + })); + } + get(sessionKey) { + const ref = this._sessionCache.get(sessionKey); + return ref ? ref.deref() : null; + } + set(sessionKey, session) { + 0 !== this._maxCachedSessions && (this._sessionCache.set(sessionKey, new WeakRef(session)), + this._sessionRegistry.register(session, sessionKey)); + } + } : class { + constructor(maxCachedSessions) { + this._maxCachedSessions = maxCachedSessions, this._sessionCache = new Map; + } + get(sessionKey) { + return this._sessionCache.get(sessionKey); + } + set(sessionKey, session) { + if (0 !== this._maxCachedSessions) { + if (this._sessionCache.size >= this._maxCachedSessions) { + const {value: oldestKey} = this._sessionCache.keys().next(); + this._sessionCache.delete(oldestKey); + } + this._sessionCache.set(sessionKey, session); + } + } + }, module.exports = function({allowH2, maxCachedSessions, socketPath, timeout, ...opts}) { + if (null != maxCachedSessions && (!Number.isInteger(maxCachedSessions) || maxCachedSessions < 0)) throw new InvalidArgumentError("maxCachedSessions must be a positive integer or zero"); + const options = { + path: socketPath, + ...opts + }, sessionCache = new SessionCache(null == maxCachedSessions ? 100 : maxCachedSessions); + return timeout = null == timeout ? 1e4 : timeout, allowH2 = null != allowH2 && allowH2, + function({hostname, host, protocol, port, servername, localAddress, httpSocket}, callback) { + let socket; + if ("https:" === protocol) { + tls || (tls = __webpack_require__(4756)); + const sessionKey = (servername = servername || options.servername || util.getServerName(host) || null) || hostname, session = sessionCache.get(sessionKey) || null; + assert(sessionKey), socket = tls.connect({ + highWaterMark: 16384, + ...options, + servername, + session, + localAddress, + ALPNProtocols: allowH2 ? [ "http/1.1", "h2" ] : [ "http/1.1" ], + socket: httpSocket, + port: port || 443, + host: hostname + }), socket.on("session", (function(session) { + sessionCache.set(sessionKey, session); + })); + } else assert(!httpSocket, "httpSocket can only be sent on TLS update"), socket = net.connect({ + highWaterMark: 65536, + ...options, + localAddress, + port: port || 80, + host: hostname + }); + if (null == options.keepAlive || options.keepAlive) { + const keepAliveInitialDelay = void 0 === options.keepAliveInitialDelay ? 6e4 : options.keepAliveInitialDelay; + socket.setKeepAlive(!0, keepAliveInitialDelay); + } + const cancelTimeout = function(onConnectTimeout, timeout) { + if (!timeout) return () => {}; + let s1 = null, s2 = null; + const timeoutId = setTimeout((() => { + s1 = setImmediate((() => { + "win32" === process.platform ? s2 = setImmediate((() => onConnectTimeout())) : onConnectTimeout(); + })); + }), timeout); + return () => { + clearTimeout(timeoutId), clearImmediate(s1), clearImmediate(s2); + }; + }((() => function(socket) { + util.destroy(socket, new ConnectTimeoutError); + }(socket)), timeout); + return socket.setNoDelay(!0).once("https:" === protocol ? "secureConnect" : "connect", (function() { + if (cancelTimeout(), callback) { + const cb = callback; + callback = null, cb(null, this); + } + })).on("error", (function(err) { + if (cancelTimeout(), callback) { + const cb = callback; + callback = null, cb(err); + } + })), socket; + }; }; }, - 8667: module => { + 5340: module => { "use strict"; - var conversions = {}; - function sign(x) { - return x < 0 ? -1 : 1; - } - function createNumberConversion(bitLength, typeOpts) { - typeOpts.unsigned || --bitLength; - const lowerBound = typeOpts.unsigned ? 0 : -Math.pow(2, bitLength), upperBound = Math.pow(2, bitLength) - 1, moduloVal = typeOpts.moduloBitLength ? Math.pow(2, typeOpts.moduloBitLength) : Math.pow(2, bitLength), moduloBound = typeOpts.moduloBitLength ? Math.pow(2, typeOpts.moduloBitLength - 1) : Math.pow(2, bitLength - 1); - return function(V, opts) { - opts || (opts = {}); - let x = +V; - if (opts.enforceRange) { - if (!Number.isFinite(x)) throw new TypeError("Argument is not a finite number"); - if (x = sign(x) * Math.floor(Math.abs(x)), x < lowerBound || x > upperBound) throw new TypeError("Argument is not in byte range"); - return x; - } - if (!isNaN(x) && opts.clamp) return x = function(x) { - return x % 1 == .5 && 0 == (1 & x) ? Math.floor(x) : Math.round(x); - }(x), x < lowerBound && (x = lowerBound), x > upperBound && (x = upperBound), x; - if (!Number.isFinite(x) || 0 === x) return 0; - if (x = sign(x) * Math.floor(Math.abs(x)), x %= moduloVal, !typeOpts.unsigned && x >= moduloBound) return x - moduloVal; - if (typeOpts.unsigned) if (x < 0) x += moduloVal; else if (-0 === x) return 0; - return x; - }; - } - module.exports = conversions, conversions.void = function() {}, conversions.boolean = function(val) { - return !!val; - }, conversions.byte = createNumberConversion(8, { - unsigned: !1 - }), conversions.octet = createNumberConversion(8, { - unsigned: !0 - }), conversions.short = createNumberConversion(16, { - unsigned: !1 - }), conversions["unsigned short"] = createNumberConversion(16, { - unsigned: !0 - }), conversions.long = createNumberConversion(32, { - unsigned: !1 - }), conversions["unsigned long"] = createNumberConversion(32, { - unsigned: !0 - }), conversions["long long"] = createNumberConversion(32, { - unsigned: !1, - moduloBitLength: 64 - }), conversions["unsigned long long"] = createNumberConversion(32, { - unsigned: !0, - moduloBitLength: 64 - }), conversions.double = function(V) { - const x = +V; - if (!Number.isFinite(x)) throw new TypeError("Argument is not a finite floating-point value"); - return x; - }, conversions["unrestricted double"] = function(V) { - const x = +V; - if (isNaN(x)) throw new TypeError("Argument is NaN"); - return x; - }, conversions.float = conversions.double, conversions["unrestricted float"] = conversions["unrestricted double"], - conversions.DOMString = function(V, opts) { - return opts || (opts = {}), opts.treatNullAsEmptyString && null === V ? "" : String(V); - }, conversions.ByteString = function(V, opts) { - const x = String(V); - let c; - for (let i = 0; void 0 !== (c = x.codePointAt(i)); ++i) if (c > 255) throw new TypeError("Argument is not a valid bytestring"); - return x; - }, conversions.USVString = function(V) { - const S = String(V), n = S.length, U = []; - for (let i = 0; i < n; ++i) { - const c = S.charCodeAt(i); - if (c < 55296 || c > 57343) U.push(String.fromCodePoint(c)); else if (56320 <= c && c <= 57343) U.push(String.fromCodePoint(65533)); else if (i === n - 1) U.push(String.fromCodePoint(65533)); else { - const d = S.charCodeAt(i + 1); - if (56320 <= d && d <= 57343) { - const a = 1023 & c, b = 1023 & d; - U.push(String.fromCodePoint(65536 + 1024 * a + b)), ++i; - } else U.push(String.fromCodePoint(65533)); - } - } - return U.join(""); - }, conversions.Date = function(V, opts) { - if (!(V instanceof Date)) throw new TypeError("Argument is not a Date object"); - if (!isNaN(V)) return V; - }, conversions.RegExp = function(V, opts) { - return V instanceof RegExp || (V = new RegExp(V)), V; + const headerNameLowerCasedRecord = {}, wellknownHeaderNames = [ "Accept", "Accept-Encoding", "Accept-Language", "Accept-Ranges", "Access-Control-Allow-Credentials", "Access-Control-Allow-Headers", "Access-Control-Allow-Methods", "Access-Control-Allow-Origin", "Access-Control-Expose-Headers", "Access-Control-Max-Age", "Access-Control-Request-Headers", "Access-Control-Request-Method", "Age", "Allow", "Alt-Svc", "Alt-Used", "Authorization", "Cache-Control", "Clear-Site-Data", "Connection", "Content-Disposition", "Content-Encoding", "Content-Language", "Content-Length", "Content-Location", "Content-Range", "Content-Security-Policy", "Content-Security-Policy-Report-Only", "Content-Type", "Cookie", "Cross-Origin-Embedder-Policy", "Cross-Origin-Opener-Policy", "Cross-Origin-Resource-Policy", "Date", "Device-Memory", "Downlink", "ECT", "ETag", "Expect", "Expect-CT", "Expires", "Forwarded", "From", "Host", "If-Match", "If-Modified-Since", "If-None-Match", "If-Range", "If-Unmodified-Since", "Keep-Alive", "Last-Modified", "Link", "Location", "Max-Forwards", "Origin", "Permissions-Policy", "Pragma", "Proxy-Authenticate", "Proxy-Authorization", "RTT", "Range", "Referer", "Referrer-Policy", "Refresh", "Retry-After", "Sec-WebSocket-Accept", "Sec-WebSocket-Extensions", "Sec-WebSocket-Key", "Sec-WebSocket-Protocol", "Sec-WebSocket-Version", "Server", "Server-Timing", "Service-Worker-Allowed", "Service-Worker-Navigation-Preload", "Set-Cookie", "SourceMap", "Strict-Transport-Security", "Supports-Loading-Mode", "TE", "Timing-Allow-Origin", "Trailer", "Transfer-Encoding", "Upgrade", "Upgrade-Insecure-Requests", "User-Agent", "Vary", "Via", "WWW-Authenticate", "X-Content-Type-Options", "X-DNS-Prefetch-Control", "X-Frame-Options", "X-Permitted-Cross-Domain-Policies", "X-Powered-By", "X-Requested-With", "X-XSS-Protection" ]; + for (let i = 0; i < wellknownHeaderNames.length; ++i) { + const key = wellknownHeaderNames[i], lowerCasedKey = key.toLowerCase(); + headerNameLowerCasedRecord[key] = headerNameLowerCasedRecord[lowerCasedKey] = lowerCasedKey; + } + Object.setPrototypeOf(headerNameLowerCasedRecord, null), module.exports = { + wellknownHeaderNames, + headerNameLowerCasedRecord }; }, - 2148: (__unused_webpack_module, exports, __webpack_require__) => { + 3898: module => { "use strict"; - const usm = __webpack_require__(2388); - exports.implementation = class { - constructor(constructorArgs) { - const url = constructorArgs[0], base = constructorArgs[1]; - let parsedBase = null; - if (void 0 !== base && (parsedBase = usm.basicURLParse(base), "failure" === parsedBase)) throw new TypeError("Invalid base URL"); - const parsedURL = usm.basicURLParse(url, { - baseURL: parsedBase - }); - if ("failure" === parsedURL) throw new TypeError("Invalid URL"); - this._url = parsedURL; + class UndiciError extends Error { + constructor(message) { + super(message), this.name = "UndiciError", this.code = "UND_ERR"; } - get href() { - return usm.serializeURL(this._url); + } + class ConnectTimeoutError extends UndiciError { + constructor(message) { + super(message), Error.captureStackTrace(this, ConnectTimeoutError), this.name = "ConnectTimeoutError", + this.message = message || "Connect Timeout Error", this.code = "UND_ERR_CONNECT_TIMEOUT"; } - set href(v) { - const parsedURL = usm.basicURLParse(v); - if ("failure" === parsedURL) throw new TypeError("Invalid URL"); - this._url = parsedURL; + } + class HeadersTimeoutError extends UndiciError { + constructor(message) { + super(message), Error.captureStackTrace(this, HeadersTimeoutError), this.name = "HeadersTimeoutError", + this.message = message || "Headers Timeout Error", this.code = "UND_ERR_HEADERS_TIMEOUT"; } - get origin() { - return usm.serializeURLOrigin(this._url); + } + class HeadersOverflowError extends UndiciError { + constructor(message) { + super(message), Error.captureStackTrace(this, HeadersOverflowError), this.name = "HeadersOverflowError", + this.message = message || "Headers Overflow Error", this.code = "UND_ERR_HEADERS_OVERFLOW"; } - get protocol() { - return this._url.scheme + ":"; + } + class BodyTimeoutError extends UndiciError { + constructor(message) { + super(message), Error.captureStackTrace(this, BodyTimeoutError), this.name = "BodyTimeoutError", + this.message = message || "Body Timeout Error", this.code = "UND_ERR_BODY_TIMEOUT"; } - set protocol(v) { - usm.basicURLParse(v + ":", { - url: this._url, - stateOverride: "scheme start" - }); + } + class ResponseStatusCodeError extends UndiciError { + constructor(message, statusCode, headers, body) { + super(message), Error.captureStackTrace(this, ResponseStatusCodeError), this.name = "ResponseStatusCodeError", + this.message = message || "Response Status Code Error", this.code = "UND_ERR_RESPONSE_STATUS_CODE", + this.body = body, this.status = statusCode, this.statusCode = statusCode, this.headers = headers; + } + } + class InvalidArgumentError extends UndiciError { + constructor(message) { + super(message), Error.captureStackTrace(this, InvalidArgumentError), this.name = "InvalidArgumentError", + this.message = message || "Invalid Argument Error", this.code = "UND_ERR_INVALID_ARG"; + } + } + class InvalidReturnValueError extends UndiciError { + constructor(message) { + super(message), Error.captureStackTrace(this, InvalidReturnValueError), this.name = "InvalidReturnValueError", + this.message = message || "Invalid Return Value Error", this.code = "UND_ERR_INVALID_RETURN_VALUE"; + } + } + class RequestAbortedError extends UndiciError { + constructor(message) { + super(message), Error.captureStackTrace(this, RequestAbortedError), this.name = "AbortError", + this.message = message || "Request aborted", this.code = "UND_ERR_ABORTED"; + } + } + class InformationalError extends UndiciError { + constructor(message) { + super(message), Error.captureStackTrace(this, InformationalError), this.name = "InformationalError", + this.message = message || "Request information", this.code = "UND_ERR_INFO"; + } + } + class RequestContentLengthMismatchError extends UndiciError { + constructor(message) { + super(message), Error.captureStackTrace(this, RequestContentLengthMismatchError), + this.name = "RequestContentLengthMismatchError", this.message = message || "Request body length does not match content-length header", + this.code = "UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"; + } + } + class ResponseContentLengthMismatchError extends UndiciError { + constructor(message) { + super(message), Error.captureStackTrace(this, ResponseContentLengthMismatchError), + this.name = "ResponseContentLengthMismatchError", this.message = message || "Response body length does not match content-length header", + this.code = "UND_ERR_RES_CONTENT_LENGTH_MISMATCH"; + } + } + class ClientDestroyedError extends UndiciError { + constructor(message) { + super(message), Error.captureStackTrace(this, ClientDestroyedError), this.name = "ClientDestroyedError", + this.message = message || "The client is destroyed", this.code = "UND_ERR_DESTROYED"; + } + } + class ClientClosedError extends UndiciError { + constructor(message) { + super(message), Error.captureStackTrace(this, ClientClosedError), this.name = "ClientClosedError", + this.message = message || "The client is closed", this.code = "UND_ERR_CLOSED"; + } + } + class SocketError extends UndiciError { + constructor(message, socket) { + super(message), Error.captureStackTrace(this, SocketError), this.name = "SocketError", + this.message = message || "Socket error", this.code = "UND_ERR_SOCKET", this.socket = socket; + } + } + class NotSupportedError extends UndiciError { + constructor(message) { + super(message), Error.captureStackTrace(this, NotSupportedError), this.name = "NotSupportedError", + this.message = message || "Not supported error", this.code = "UND_ERR_NOT_SUPPORTED"; + } + } + class HTTPParserError extends Error { + constructor(message, code, data) { + super(message), Error.captureStackTrace(this, HTTPParserError), this.name = "HTTPParserError", + this.code = code ? `HPE_${code}` : void 0, this.data = data ? data.toString() : void 0; } - get username() { - return this._url.username; + } + class ResponseExceededMaxSizeError extends UndiciError { + constructor(message) { + super(message), Error.captureStackTrace(this, ResponseExceededMaxSizeError), this.name = "ResponseExceededMaxSizeError", + this.message = message || "Response content exceeded max size", this.code = "UND_ERR_RES_EXCEEDED_MAX_SIZE"; + } + } + class RequestRetryError extends UndiciError { + constructor(message, code, {headers, data}) { + super(message), Error.captureStackTrace(this, RequestRetryError), this.name = "RequestRetryError", + this.message = message || "Request retry error", this.code = "UND_ERR_REQ_RETRY", + this.statusCode = code, this.data = data, this.headers = headers; } - set username(v) { - usm.cannotHaveAUsernamePasswordPort(this._url) || usm.setTheUsername(this._url, v); + } + module.exports = { + HTTPParserError, + UndiciError, + HeadersTimeoutError, + HeadersOverflowError, + BodyTimeoutError, + RequestContentLengthMismatchError, + ConnectTimeoutError, + ResponseStatusCodeError, + InvalidArgumentError, + InvalidReturnValueError, + RequestAbortedError, + ClientDestroyedError, + ClientClosedError, + InformationalError, + SocketError, + NotSupportedError, + ResponseContentLengthMismatchError, + BalancedPoolMissingUpstreamError: class extends UndiciError { + constructor(message) { + super(message), Error.captureStackTrace(this, NotSupportedError), this.name = "MissingUpstreamError", + this.message = message || "No upstream has been added to the BalancedPool", this.code = "UND_ERR_BPL_MISSING_UPSTREAM"; + } + }, + ResponseExceededMaxSizeError, + RequestRetryError + }; + }, + 7392: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const {InvalidArgumentError, NotSupportedError} = __webpack_require__(3898), assert = __webpack_require__(2613), {kHTTP2BuildRequest, kHTTP2CopyHeaders, kHTTP1BuildRequest} = __webpack_require__(8028), util = __webpack_require__(8869), tokenRegExp = /^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/, headerCharRegex = /[^\t\x20-\x7e\x80-\xff]/, invalidPathRegex = /[^\u0021-\u00ff]/, kHandler = Symbol("handler"), channels = {}; + let extractBody; + try { + const diagnosticsChannel = __webpack_require__(1637); + channels.create = diagnosticsChannel.channel("undici:request:create"), channels.bodySent = diagnosticsChannel.channel("undici:request:bodySent"), + channels.headers = diagnosticsChannel.channel("undici:request:headers"), channels.trailers = diagnosticsChannel.channel("undici:request:trailers"), + channels.error = diagnosticsChannel.channel("undici:request:error"); + } catch { + channels.create = { + hasSubscribers: !1 + }, channels.bodySent = { + hasSubscribers: !1 + }, channels.headers = { + hasSubscribers: !1 + }, channels.trailers = { + hasSubscribers: !1 + }, channels.error = { + hasSubscribers: !1 + }; + } + class Request { + constructor(origin, {path, method, body, headers, query, idempotent, blocking, upgrade, headersTimeout, bodyTimeout, reset, throwOnError, expectContinue}, handler) { + if ("string" != typeof path) throw new InvalidArgumentError("path must be a string"); + if ("/" !== path[0] && !path.startsWith("http://") && !path.startsWith("https://") && "CONNECT" !== method) throw new InvalidArgumentError("path must be an absolute URL or start with a slash"); + if (null !== invalidPathRegex.exec(path)) throw new InvalidArgumentError("invalid request path"); + if ("string" != typeof method) throw new InvalidArgumentError("method must be a string"); + if (null === tokenRegExp.exec(method)) throw new InvalidArgumentError("invalid request method"); + if (upgrade && "string" != typeof upgrade) throw new InvalidArgumentError("upgrade must be a string"); + if (null != headersTimeout && (!Number.isFinite(headersTimeout) || headersTimeout < 0)) throw new InvalidArgumentError("invalid headersTimeout"); + if (null != bodyTimeout && (!Number.isFinite(bodyTimeout) || bodyTimeout < 0)) throw new InvalidArgumentError("invalid bodyTimeout"); + if (null != reset && "boolean" != typeof reset) throw new InvalidArgumentError("invalid reset"); + if (null != expectContinue && "boolean" != typeof expectContinue) throw new InvalidArgumentError("invalid expectContinue"); + if (this.headersTimeout = headersTimeout, this.bodyTimeout = bodyTimeout, this.throwOnError = !0 === throwOnError, + this.method = method, this.abort = null, null == body) this.body = null; else if (util.isStream(body)) { + this.body = body; + const rState = this.body._readableState; + rState && rState.autoDestroy || (this.endHandler = function() { + util.destroy(this); + }, this.body.on("end", this.endHandler)), this.errorHandler = err => { + this.abort ? this.abort(err) : this.error = err; + }, this.body.on("error", this.errorHandler); + } else if (util.isBuffer(body)) this.body = body.byteLength ? body : null; else if (ArrayBuffer.isView(body)) this.body = body.buffer.byteLength ? Buffer.from(body.buffer, body.byteOffset, body.byteLength) : null; else if (body instanceof ArrayBuffer) this.body = body.byteLength ? Buffer.from(body) : null; else if ("string" == typeof body) this.body = body.length ? Buffer.from(body) : null; else { + if (!(util.isFormDataLike(body) || util.isIterable(body) || util.isBlobLike(body))) throw new InvalidArgumentError("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable"); + this.body = body; + } + if (this.completed = !1, this.aborted = !1, this.upgrade = upgrade || null, this.path = query ? util.buildURL(path, query) : path, + this.origin = origin, this.idempotent = null == idempotent ? "HEAD" === method || "GET" === method : idempotent, + this.blocking = null != blocking && blocking, this.reset = null == reset ? null : reset, + this.host = null, this.contentLength = null, this.contentType = null, this.headers = "", + this.expectContinue = null != expectContinue && expectContinue, Array.isArray(headers)) { + if (headers.length % 2 != 0) throw new InvalidArgumentError("headers array must be even"); + for (let i = 0; i < headers.length; i += 2) processHeader(this, headers[i], headers[i + 1]); + } else if (headers && "object" == typeof headers) { + const keys = Object.keys(headers); + for (let i = 0; i < keys.length; i++) { + const key = keys[i]; + processHeader(this, key, headers[key]); + } + } else if (null != headers) throw new InvalidArgumentError("headers must be an object or an array"); + if (util.isFormDataLike(this.body)) { + if (util.nodeMajor < 16 || 16 === util.nodeMajor && util.nodeMinor < 8) throw new InvalidArgumentError("Form-Data bodies are only supported in node v16.8 and newer."); + extractBody || (extractBody = __webpack_require__(2136).extractBody); + const [bodyStream, contentType] = extractBody(body); + null == this.contentType && (this.contentType = contentType, this.headers += `content-type: ${contentType}\r\n`), + this.body = bodyStream.stream, this.contentLength = bodyStream.length; + } else util.isBlobLike(body) && null == this.contentType && body.type && (this.contentType = body.type, + this.headers += `content-type: ${body.type}\r\n`); + util.validateHandler(handler, method, upgrade), this.servername = util.getServerName(this.host), + this[kHandler] = handler, channels.create.hasSubscribers && channels.create.publish({ + request: this + }); } - get password() { - return this._url.password; + onBodySent(chunk) { + if (this[kHandler].onBodySent) try { + return this[kHandler].onBodySent(chunk); + } catch (err) { + this.abort(err); + } } - set password(v) { - usm.cannotHaveAUsernamePasswordPort(this._url) || usm.setThePassword(this._url, v); + onRequestSent() { + if (channels.bodySent.hasSubscribers && channels.bodySent.publish({ + request: this + }), this[kHandler].onRequestSent) try { + return this[kHandler].onRequestSent(); + } catch (err) { + this.abort(err); + } } - get host() { - const url = this._url; - return null === url.host ? "" : null === url.port ? usm.serializeHost(url.host) : usm.serializeHost(url.host) + ":" + usm.serializeInteger(url.port); + onConnect(abort) { + if (assert(!this.aborted), assert(!this.completed), !this.error) return this.abort = abort, + this[kHandler].onConnect(abort); + abort(this.error); } - set host(v) { - this._url.cannotBeABaseURL || usm.basicURLParse(v, { - url: this._url, - stateOverride: "host" + onHeaders(statusCode, headers, resume, statusText) { + assert(!this.aborted), assert(!this.completed), channels.headers.hasSubscribers && channels.headers.publish({ + request: this, + response: { + statusCode, + headers, + statusText + } }); + try { + return this[kHandler].onHeaders(statusCode, headers, resume, statusText); + } catch (err) { + this.abort(err); + } + } + onData(chunk) { + assert(!this.aborted), assert(!this.completed); + try { + return this[kHandler].onData(chunk); + } catch (err) { + return this.abort(err), !1; + } } - get hostname() { - return null === this._url.host ? "" : usm.serializeHost(this._url.host); + onUpgrade(statusCode, headers, socket) { + return assert(!this.aborted), assert(!this.completed), this[kHandler].onUpgrade(statusCode, headers, socket); } - set hostname(v) { - this._url.cannotBeABaseURL || usm.basicURLParse(v, { - url: this._url, - stateOverride: "hostname" + onComplete(trailers) { + this.onFinally(), assert(!this.aborted), this.completed = !0, channels.trailers.hasSubscribers && channels.trailers.publish({ + request: this, + trailers }); + try { + return this[kHandler].onComplete(trailers); + } catch (err) { + this.onError(err); + } } - get port() { - return null === this._url.port ? "" : usm.serializeInteger(this._url.port); - } - set port(v) { - usm.cannotHaveAUsernamePasswordPort(this._url) || ("" === v ? this._url.port = null : usm.basicURLParse(v, { - url: this._url, - stateOverride: "port" - })); - } - get pathname() { - return this._url.cannotBeABaseURL ? this._url.path[0] : 0 === this._url.path.length ? "" : "/" + this._url.path.join("/"); + onError(error) { + if (this.onFinally(), channels.error.hasSubscribers && channels.error.publish({ + request: this, + error + }), !this.aborted) return this.aborted = !0, this[kHandler].onError(error); } - set pathname(v) { - this._url.cannotBeABaseURL || (this._url.path = [], usm.basicURLParse(v, { - url: this._url, - stateOverride: "path start" - })); + onFinally() { + this.errorHandler && (this.body.off("error", this.errorHandler), this.errorHandler = null), + this.endHandler && (this.body.off("end", this.endHandler), this.endHandler = null); } - get search() { - return null === this._url.query || "" === this._url.query ? "" : "?" + this._url.query; + addHeader(key, value) { + return processHeader(this, key, value), this; } - set search(v) { - const url = this._url; - if ("" === v) return void (url.query = null); - const input = "?" === v[0] ? v.substring(1) : v; - url.query = "", usm.basicURLParse(input, { - url, - stateOverride: "query" - }); + static [kHTTP1BuildRequest](origin, opts, handler) { + return new Request(origin, opts, handler); } - get hash() { - return null === this._url.fragment || "" === this._url.fragment ? "" : "#" + this._url.fragment; + static [kHTTP2BuildRequest](origin, opts, handler) { + const headers = opts.headers; + opts = { + ...opts, + headers: null + }; + const request = new Request(origin, opts, handler); + if (request.headers = {}, Array.isArray(headers)) { + if (headers.length % 2 != 0) throw new InvalidArgumentError("headers array must be even"); + for (let i = 0; i < headers.length; i += 2) processHeader(request, headers[i], headers[i + 1], !0); + } else if (headers && "object" == typeof headers) { + const keys = Object.keys(headers); + for (let i = 0; i < keys.length; i++) { + const key = keys[i]; + processHeader(request, key, headers[key], !0); + } + } else if (null != headers) throw new InvalidArgumentError("headers must be an object or an array"); + return request; } - set hash(v) { - if ("" === v) return void (this._url.fragment = null); - const input = "#" === v[0] ? v.substring(1) : v; - this._url.fragment = "", usm.basicURLParse(input, { - url: this._url, - stateOverride: "fragment" - }); + static [kHTTP2CopyHeaders](raw) { + const rawHeaders = raw.split("\r\n"), headers = {}; + for (const header of rawHeaders) { + const [key, value] = header.split(": "); + null != value && 0 !== value.length && (headers[key] ? headers[key] += `,${value}` : headers[key] = value); + } + return headers; } - toJSON() { - return this.href; + } + function processHeaderValue(key, val, skipAppend) { + if (val && "object" == typeof val) throw new InvalidArgumentError(`invalid ${key} header`); + if (val = null != val ? `${val}` : "", null !== headerCharRegex.exec(val)) throw new InvalidArgumentError(`invalid ${key} header`); + return skipAppend ? val : `${key}: ${val}\r\n`; + } + function processHeader(request, key, val, skipAppend = !1) { + if (val && "object" == typeof val && !Array.isArray(val)) throw new InvalidArgumentError(`invalid ${key} header`); + if (void 0 !== val) if (null === request.host && 4 === key.length && "host" === key.toLowerCase()) { + if (null !== headerCharRegex.exec(val)) throw new InvalidArgumentError(`invalid ${key} header`); + request.host = val; + } else if (null === request.contentLength && 14 === key.length && "content-length" === key.toLowerCase()) { + if (request.contentLength = parseInt(val, 10), !Number.isFinite(request.contentLength)) throw new InvalidArgumentError("invalid content-length header"); + } else if (null === request.contentType && 12 === key.length && "content-type" === key.toLowerCase()) request.contentType = val, + skipAppend ? request.headers[key] = processHeaderValue(key, val, skipAppend) : request.headers += processHeaderValue(key, val); else { + if (17 === key.length && "transfer-encoding" === key.toLowerCase()) throw new InvalidArgumentError("invalid transfer-encoding header"); + if (10 === key.length && "connection" === key.toLowerCase()) { + const value = "string" == typeof val ? val.toLowerCase() : null; + if ("close" !== value && "keep-alive" !== value) throw new InvalidArgumentError("invalid connection header"); + "close" === value && (request.reset = !0); + } else { + if (10 === key.length && "keep-alive" === key.toLowerCase()) throw new InvalidArgumentError("invalid keep-alive header"); + if (7 === key.length && "upgrade" === key.toLowerCase()) throw new InvalidArgumentError("invalid upgrade header"); + if (6 === key.length && "expect" === key.toLowerCase()) throw new NotSupportedError("expect header not supported"); + if (null === tokenRegExp.exec(key)) throw new InvalidArgumentError("invalid header key"); + if (Array.isArray(val)) for (let i = 0; i < val.length; i++) skipAppend ? request.headers[key] ? request.headers[key] += `,${processHeaderValue(key, val[i], skipAppend)}` : request.headers[key] = processHeaderValue(key, val[i], skipAppend) : request.headers += processHeaderValue(key, val[i]); else skipAppend ? request.headers[key] = processHeaderValue(key, val, skipAppend) : request.headers += processHeaderValue(key, val); + } } + } + module.exports = Request; + }, + 8028: module => { + module.exports = { + kClose: Symbol("close"), + kDestroy: Symbol("destroy"), + kDispatch: Symbol("dispatch"), + kUrl: Symbol("url"), + kWriting: Symbol("writing"), + kResuming: Symbol("resuming"), + kQueue: Symbol("queue"), + kConnect: Symbol("connect"), + kConnecting: Symbol("connecting"), + kHeadersList: Symbol("headers list"), + kKeepAliveDefaultTimeout: Symbol("default keep alive timeout"), + kKeepAliveMaxTimeout: Symbol("max keep alive timeout"), + kKeepAliveTimeoutThreshold: Symbol("keep alive timeout threshold"), + kKeepAliveTimeoutValue: Symbol("keep alive timeout"), + kKeepAlive: Symbol("keep alive"), + kHeadersTimeout: Symbol("headers timeout"), + kBodyTimeout: Symbol("body timeout"), + kServerName: Symbol("server name"), + kLocalAddress: Symbol("local address"), + kHost: Symbol("host"), + kNoRef: Symbol("no ref"), + kBodyUsed: Symbol("used"), + kRunning: Symbol("running"), + kBlocking: Symbol("blocking"), + kPending: Symbol("pending"), + kSize: Symbol("size"), + kBusy: Symbol("busy"), + kQueued: Symbol("queued"), + kFree: Symbol("free"), + kConnected: Symbol("connected"), + kClosed: Symbol("closed"), + kNeedDrain: Symbol("need drain"), + kReset: Symbol("reset"), + kDestroyed: Symbol.for("nodejs.stream.destroyed"), + kMaxHeadersSize: Symbol("max headers size"), + kRunningIdx: Symbol("running index"), + kPendingIdx: Symbol("pending index"), + kError: Symbol("error"), + kClients: Symbol("clients"), + kClient: Symbol("client"), + kParser: Symbol("parser"), + kOnDestroyed: Symbol("destroy callbacks"), + kPipelining: Symbol("pipelining"), + kSocket: Symbol("socket"), + kHostHeader: Symbol("host header"), + kConnector: Symbol("connector"), + kStrictContentLength: Symbol("strict content length"), + kMaxRedirections: Symbol("maxRedirections"), + kMaxRequests: Symbol("maxRequestsPerClient"), + kProxy: Symbol("proxy agent options"), + kCounter: Symbol("socket request counter"), + kInterceptors: Symbol("dispatch interceptors"), + kMaxResponseSize: Symbol("max response size"), + kHTTP2Session: Symbol("http2Session"), + kHTTP2SessionState: Symbol("http2Session state"), + kHTTP2BuildRequest: Symbol("http2 build request"), + kHTTP1BuildRequest: Symbol("http1 build request"), + kHTTP2CopyHeaders: Symbol("http2 copy headers"), + kHTTPConnVersion: Symbol("http connection version"), + kRetryHandlerDefaultRetry: Symbol("retry agent default retry"), + kConstruct: Symbol("constructable") }; }, - 7096: (module, __unused_webpack_exports, __webpack_require__) => { + 8869: (module, __unused_webpack_exports, __webpack_require__) => { "use strict"; - const conversions = __webpack_require__(8667), utils = __webpack_require__(593), Impl = __webpack_require__(2148), impl = utils.implSymbol; - function URL(url) { - if (!this || this[impl] || !(this instanceof URL)) throw new TypeError("Failed to construct 'URL': Please use the 'new' operator, this DOM object constructor cannot be called as a function."); - if (arguments.length < 1) throw new TypeError("Failed to construct 'URL': 1 argument required, but only " + arguments.length + " present."); - const args = []; - for (let i = 0; i < arguments.length && i < 2; ++i) args[i] = arguments[i]; - args[0] = conversions.USVString(args[0]), void 0 !== args[1] && (args[1] = conversions.USVString(args[1])), - module.exports.setup(this, args); - } - URL.prototype.toJSON = function() { - if (!this || !module.exports.is(this)) throw new TypeError("Illegal invocation"); - const args = []; - for (let i = 0; i < arguments.length && i < 0; ++i) args[i] = arguments[i]; - return this[impl].toJSON.apply(this[impl], args); - }, Object.defineProperty(URL.prototype, "href", { - get() { - return this[impl].href; + const assert = __webpack_require__(2613), {kDestroyed, kBodyUsed} = __webpack_require__(8028), {IncomingMessage} = __webpack_require__(8611), stream = __webpack_require__(2203), net = __webpack_require__(9278), {InvalidArgumentError} = __webpack_require__(3898), {Blob} = __webpack_require__(181), nodeUtil = __webpack_require__(9023), {stringify} = __webpack_require__(3480), {headerNameLowerCasedRecord} = __webpack_require__(5340), [nodeMajor, nodeMinor] = process.versions.node.split(".").map((v => Number(v))); + function isStream(obj) { + return obj && "object" == typeof obj && "function" == typeof obj.pipe && "function" == typeof obj.on; + } + function isBlobLike(object) { + return Blob && object instanceof Blob || object && "object" == typeof object && ("function" == typeof object.stream || "function" == typeof object.arrayBuffer) && /^(Blob|File)$/.test(object[Symbol.toStringTag]); + } + function parseURL(url) { + if ("string" == typeof url) { + if (url = new URL(url), !/^https?:/.test(url.origin || url.protocol)) throw new InvalidArgumentError("Invalid URL protocol: the URL must start with `http:` or `https:`."); + return url; + } + if (!url || "object" != typeof url) throw new InvalidArgumentError("Invalid URL: The URL argument must be a non-null object."); + if (!/^https?:/.test(url.origin || url.protocol)) throw new InvalidArgumentError("Invalid URL protocol: the URL must start with `http:` or `https:`."); + if (!(url instanceof URL)) { + if (null != url.port && "" !== url.port && !Number.isFinite(parseInt(url.port))) throw new InvalidArgumentError("Invalid URL: port must be a valid integer or a string representation of an integer."); + if (null != url.path && "string" != typeof url.path) throw new InvalidArgumentError("Invalid URL path: the path must be a string or null/undefined."); + if (null != url.pathname && "string" != typeof url.pathname) throw new InvalidArgumentError("Invalid URL pathname: the pathname must be a string or null/undefined."); + if (null != url.hostname && "string" != typeof url.hostname) throw new InvalidArgumentError("Invalid URL hostname: the hostname must be a string or null/undefined."); + if (null != url.origin && "string" != typeof url.origin) throw new InvalidArgumentError("Invalid URL origin: the origin must be a string or null/undefined."); + const port = null != url.port ? url.port : "https:" === url.protocol ? 443 : 80; + let origin = null != url.origin ? url.origin : `${url.protocol}//${url.hostname}:${port}`, path = null != url.path ? url.path : `${url.pathname || ""}${url.search || ""}`; + origin.endsWith("/") && (origin = origin.substring(0, origin.length - 1)), path && !path.startsWith("/") && (path = `/${path}`), + url = new URL(origin + path); + } + return url; + } + function isDestroyed(stream) { + return !stream || !(!stream.destroyed && !stream[kDestroyed]); + } + function isReadableAborted(stream) { + const state = stream && stream._readableState; + return isDestroyed(stream) && state && !state.endEmitted; + } + const KEEPALIVE_TIMEOUT_EXPR = /timeout=(\d+)/; + function isBuffer(buffer) { + return buffer instanceof Uint8Array || Buffer.isBuffer(buffer); + } + let ReadableStream; + const hasToWellFormed = !!String.prototype.toWellFormed; + const kEnumerableProperty = Object.create(null); + kEnumerableProperty.enumerable = !0, module.exports = { + kEnumerableProperty, + nop: function() {}, + isDisturbed: function(body) { + return !(!body || !(stream.isDisturbed ? stream.isDisturbed(body) || body[kBodyUsed] : body[kBodyUsed] || body.readableDidRead || body._readableState && body._readableState.dataEmitted || isReadableAborted(body))); }, - set(V) { - V = conversions.USVString(V), this[impl].href = V; + isErrored: function(body) { + return !(!body || !(stream.isErrored ? stream.isErrored(body) : /state: 'errored'/.test(nodeUtil.inspect(body)))); }, - enumerable: !0, - configurable: !0 - }), URL.prototype.toString = function() { - if (!this || !module.exports.is(this)) throw new TypeError("Illegal invocation"); - return this.href; - }, Object.defineProperty(URL.prototype, "origin", { - get() { - return this[impl].origin; - }, - enumerable: !0, - configurable: !0 - }), Object.defineProperty(URL.prototype, "protocol", { - get() { - return this[impl].protocol; + isReadable: function(body) { + return !(!body || !(stream.isReadable ? stream.isReadable(body) : /state: 'readable'/.test(nodeUtil.inspect(body)))); }, - set(V) { - V = conversions.USVString(V), this[impl].protocol = V; + toUSVString: function(val) { + return hasToWellFormed ? `${val}`.toWellFormed() : nodeUtil.toUSVString ? nodeUtil.toUSVString(val) : `${val}`; }, - enumerable: !0, - configurable: !0 - }), Object.defineProperty(URL.prototype, "username", { - get() { - return this[impl].username; + isReadableAborted, + isBlobLike, + parseOrigin: function(url) { + if ("/" !== (url = parseURL(url)).pathname || url.search || url.hash) throw new InvalidArgumentError("invalid url"); + return url; }, - set(V) { - V = conversions.USVString(V), this[impl].username = V; + parseURL, + getServerName: function(host) { + if (!host) return null; + assert.strictEqual(typeof host, "string"); + const servername = function(host) { + if ("[" === host[0]) { + const idx = host.indexOf("]"); + return assert(-1 !== idx), host.substring(1, idx); + } + const idx = host.indexOf(":"); + return -1 === idx ? host : host.substring(0, idx); + }(host); + return net.isIP(servername) ? "" : servername; }, - enumerable: !0, - configurable: !0 - }), Object.defineProperty(URL.prototype, "password", { - get() { - return this[impl].password; + isStream, + isIterable: function(obj) { + return !(null == obj || "function" != typeof obj[Symbol.iterator] && "function" != typeof obj[Symbol.asyncIterator]); }, - set(V) { - V = conversions.USVString(V), this[impl].password = V; + isAsyncIterable: function(obj) { + return !(null == obj || "function" != typeof obj[Symbol.asyncIterator]); }, - enumerable: !0, - configurable: !0 - }), Object.defineProperty(URL.prototype, "host", { - get() { - return this[impl].host; + isDestroyed, + headerNameToString: function(value) { + return headerNameLowerCasedRecord[value] || value.toLowerCase(); }, - set(V) { - V = conversions.USVString(V), this[impl].host = V; + parseRawHeaders: function(headers) { + const ret = []; + let hasContentLength = !1, contentDispositionIdx = -1; + for (let n = 0; n < headers.length; n += 2) { + const key = headers[n + 0].toString(), val = headers[n + 1].toString("utf8"); + 14 !== key.length || "content-length" !== key && "content-length" !== key.toLowerCase() ? 19 !== key.length || "content-disposition" !== key && "content-disposition" !== key.toLowerCase() ? ret.push(key, val) : contentDispositionIdx = ret.push(key, val) - 1 : (ret.push(key, val), + hasContentLength = !0); + } + return hasContentLength && -1 !== contentDispositionIdx && (ret[contentDispositionIdx] = Buffer.from(ret[contentDispositionIdx]).toString("latin1")), + ret; }, - enumerable: !0, - configurable: !0 - }), Object.defineProperty(URL.prototype, "hostname", { - get() { - return this[impl].hostname; + parseHeaders: function(headers, obj = {}) { + if (!Array.isArray(headers)) return headers; + for (let i = 0; i < headers.length; i += 2) { + const key = headers[i].toString().toLowerCase(); + let val = obj[key]; + val ? (Array.isArray(val) || (val = [ val ], obj[key] = val), val.push(headers[i + 1].toString("utf8"))) : Array.isArray(headers[i + 1]) ? obj[key] = headers[i + 1].map((x => x.toString("utf8"))) : obj[key] = headers[i + 1].toString("utf8"); + } + return "content-length" in obj && "content-disposition" in obj && (obj["content-disposition"] = Buffer.from(obj["content-disposition"]).toString("latin1")), + obj; }, - set(V) { - V = conversions.USVString(V), this[impl].hostname = V; + parseKeepAliveTimeout: function(val) { + const m = val.toString().match(KEEPALIVE_TIMEOUT_EXPR); + return m ? 1e3 * parseInt(m[1], 10) : null; }, - enumerable: !0, - configurable: !0 - }), Object.defineProperty(URL.prototype, "port", { - get() { - return this[impl].port; + destroy: function(stream, err) { + null != stream && isStream(stream) && !isDestroyed(stream) && ("function" == typeof stream.destroy ? (Object.getPrototypeOf(stream).constructor === IncomingMessage && (stream.socket = null), + stream.destroy(err)) : err && process.nextTick(((stream, err) => { + stream.emit("error", err); + }), stream, err), !0 !== stream.destroyed && (stream[kDestroyed] = !0)); }, - set(V) { - V = conversions.USVString(V), this[impl].port = V; + bodyLength: function(body) { + if (null == body) return 0; + if (isStream(body)) { + const state = body._readableState; + return state && !1 === state.objectMode && !0 === state.ended && Number.isFinite(state.length) ? state.length : null; + } + return isBlobLike(body) ? null != body.size ? body.size : null : isBuffer(body) ? body.byteLength : null; }, - enumerable: !0, - configurable: !0 - }), Object.defineProperty(URL.prototype, "pathname", { - get() { - return this[impl].pathname; + deepClone: function(obj) { + return JSON.parse(JSON.stringify(obj)); }, - set(V) { - V = conversions.USVString(V), this[impl].pathname = V; + ReadableStreamFrom: function(iterable) { + if (ReadableStream || (ReadableStream = __webpack_require__(3774).ReadableStream), + ReadableStream.from) return ReadableStream.from(async function*(iterable) { + for await (const chunk of iterable) yield Buffer.isBuffer(chunk) ? chunk : Buffer.from(chunk); + }(iterable)); + let iterator; + return new ReadableStream({ + async start() { + iterator = iterable[Symbol.asyncIterator](); + }, + async pull(controller) { + const {done, value} = await iterator.next(); + if (done) queueMicrotask((() => { + controller.close(); + })); else { + const buf = Buffer.isBuffer(value) ? value : Buffer.from(value); + controller.enqueue(new Uint8Array(buf)); + } + return controller.desiredSize > 0; + }, + async cancel(reason) { + await iterator.return(); + } + }, 0); }, - enumerable: !0, - configurable: !0 - }), Object.defineProperty(URL.prototype, "search", { - get() { - return this[impl].search; + isBuffer, + validateHandler: function(handler, method, upgrade) { + if (!handler || "object" != typeof handler) throw new InvalidArgumentError("handler must be an object"); + if ("function" != typeof handler.onConnect) throw new InvalidArgumentError("invalid onConnect method"); + if ("function" != typeof handler.onError) throw new InvalidArgumentError("invalid onError method"); + if ("function" != typeof handler.onBodySent && void 0 !== handler.onBodySent) throw new InvalidArgumentError("invalid onBodySent method"); + if (upgrade || "CONNECT" === method) { + if ("function" != typeof handler.onUpgrade) throw new InvalidArgumentError("invalid onUpgrade method"); + } else { + if ("function" != typeof handler.onHeaders) throw new InvalidArgumentError("invalid onHeaders method"); + if ("function" != typeof handler.onData) throw new InvalidArgumentError("invalid onData method"); + if ("function" != typeof handler.onComplete) throw new InvalidArgumentError("invalid onComplete method"); + } }, - set(V) { - V = conversions.USVString(V), this[impl].search = V; + getSocketInfo: function(socket) { + return { + localAddress: socket.localAddress, + localPort: socket.localPort, + remoteAddress: socket.remoteAddress, + remotePort: socket.remotePort, + remoteFamily: socket.remoteFamily, + timeout: socket.timeout, + bytesWritten: socket.bytesWritten, + bytesRead: socket.bytesRead + }; }, - enumerable: !0, - configurable: !0 - }), Object.defineProperty(URL.prototype, "hash", { - get() { - return this[impl].hash; + isFormDataLike: function(object) { + return object && "object" == typeof object && "function" == typeof object.append && "function" == typeof object.delete && "function" == typeof object.get && "function" == typeof object.getAll && "function" == typeof object.has && "function" == typeof object.set && "FormData" === object[Symbol.toStringTag]; }, - set(V) { - V = conversions.USVString(V), this[impl].hash = V; + buildURL: function(url, queryParams) { + if (url.includes("?") || url.includes("#")) throw new Error('Query params cannot be passed when url already contains "?" or "#".'); + const stringified = stringify(queryParams); + return stringified && (url += "?" + stringified), url; }, - enumerable: !0, - configurable: !0 - }), module.exports = { - is: obj => !!obj && obj[impl] instanceof Impl.implementation, - create(constructorArgs, privateData) { - let obj = Object.create(URL.prototype); - return this.setup(obj, constructorArgs, privateData), obj; + throwIfAborted: function(signal) { + if (signal) if ("function" == typeof signal.throwIfAborted) signal.throwIfAborted(); else if (signal.aborted) { + const err = new Error("The operation was aborted"); + throw err.name = "AbortError", err; + } }, - setup(obj, constructorArgs, privateData) { - privateData || (privateData = {}), privateData.wrapper = obj, obj[impl] = new Impl.implementation(constructorArgs, privateData), - obj[impl][utils.wrapperSymbol] = obj; + addAbortListener: function(signal, listener) { + return "addEventListener" in signal ? (signal.addEventListener("abort", listener, { + once: !0 + }), () => signal.removeEventListener("abort", listener)) : (signal.addListener("abort", listener), + () => signal.removeListener("abort", listener)); }, - interface: URL, - expose: { - Window: { - URL - }, - Worker: { - URL - } - } - }; - }, - 9106: (__unused_webpack_module, exports, __webpack_require__) => { - "use strict"; - exports.URL = __webpack_require__(7096).interface, __webpack_require__(2388).serializeURL, - __webpack_require__(2388).serializeURLOrigin, __webpack_require__(2388).basicURLParse, - __webpack_require__(2388).setTheUsername, __webpack_require__(2388).setThePassword, - __webpack_require__(2388).serializeHost, __webpack_require__(2388).serializeInteger, - __webpack_require__(2388).parseURL; - }, - 2388: (module, __unused_webpack_exports, __webpack_require__) => { - "use strict"; - const punycode = __webpack_require__(5477), tr46 = __webpack_require__(255), specialSchemes = { - ftp: 21, - file: null, - gopher: 70, - http: 80, - https: 443, - ws: 80, - wss: 443 - }, failure = Symbol("failure"); - function countSymbols(str) { - return punycode.ucs2.decode(str).length; - } - function at(input, idx) { - const c = input[idx]; - return isNaN(c) ? void 0 : String.fromCodePoint(c); - } - function isASCIIDigit(c) { - return c >= 48 && c <= 57; - } - function isASCIIAlpha(c) { - return c >= 65 && c <= 90 || c >= 97 && c <= 122; - } - function isASCIIHex(c) { - return isASCIIDigit(c) || c >= 65 && c <= 70 || c >= 97 && c <= 102; - } - function isSingleDot(buffer) { - return "." === buffer || "%2e" === buffer.toLowerCase(); - } - function isWindowsDriveLetterString(string) { - return 2 === string.length && isASCIIAlpha(string.codePointAt(0)) && (":" === string[1] || "|" === string[1]); - } - function isSpecialScheme(scheme) { - return void 0 !== specialSchemes[scheme]; - } - function isSpecial(url) { - return isSpecialScheme(url.scheme); - } - function percentEncode(c) { - let hex = c.toString(16).toUpperCase(); - return 1 === hex.length && (hex = "0" + hex), "%" + hex; - } - function isC0ControlPercentEncode(c) { - return c <= 31 || c > 126; - } - const extraPathPercentEncodeSet = new Set([ 32, 34, 35, 60, 62, 63, 96, 123, 125 ]); - function isPathPercentEncode(c) { - return isC0ControlPercentEncode(c) || extraPathPercentEncodeSet.has(c); - } - const extraUserinfoPercentEncodeSet = new Set([ 47, 58, 59, 61, 64, 91, 92, 93, 94, 124 ]); - function isUserinfoPercentEncode(c) { - return isPathPercentEncode(c) || extraUserinfoPercentEncodeSet.has(c); - } - function percentEncodeChar(c, encodeSetPredicate) { - const cStr = String.fromCodePoint(c); - return encodeSetPredicate(c) ? function(c) { - const buf = new Buffer(c); - let str = ""; - for (let i = 0; i < buf.length; ++i) str += percentEncode(buf[i]); - return str; - }(cStr) : cStr; - } - function parseIPv4Number(input) { - let R = 10; - if (input.length >= 2 && "0" === input.charAt(0) && "x" === input.charAt(1).toLowerCase() ? (input = input.substring(2), - R = 16) : input.length >= 2 && "0" === input.charAt(0) && (input = input.substring(1), - R = 8), "" === input) return 0; - return (10 === R ? /[^0-9]/ : 16 === R ? /[^0-9A-Fa-f]/ : /[^0-7]/).test(input) ? failure : parseInt(input, R); - } - function parseHost(input, isSpecialArg) { - if ("[" === input[0]) return "]" !== input[input.length - 1] ? failure : function(input) { - const address = [ 0, 0, 0, 0, 0, 0, 0, 0 ]; - let pieceIndex = 0, compress = null, pointer = 0; - if (58 === (input = punycode.ucs2.decode(input))[pointer]) { - if (58 !== input[pointer + 1]) return failure; - pointer += 2, ++pieceIndex, compress = pieceIndex; - } - for (;pointer < input.length; ) { - if (8 === pieceIndex) return failure; - if (58 === input[pointer]) { - if (null !== compress) return failure; - ++pointer, ++pieceIndex, compress = pieceIndex; - continue; - } - let value = 0, length = 0; - for (;length < 4 && isASCIIHex(input[pointer]); ) value = 16 * value + parseInt(at(input, pointer), 16), - ++pointer, ++length; - if (46 === input[pointer]) { - if (0 === length) return failure; - if (pointer -= length, pieceIndex > 6) return failure; - let numbersSeen = 0; - for (;void 0 !== input[pointer]; ) { - let ipv4Piece = null; - if (numbersSeen > 0) { - if (!(46 === input[pointer] && numbersSeen < 4)) return failure; - ++pointer; - } - if (!isASCIIDigit(input[pointer])) return failure; - for (;isASCIIDigit(input[pointer]); ) { - const number = parseInt(at(input, pointer)); - if (null === ipv4Piece) ipv4Piece = number; else { - if (0 === ipv4Piece) return failure; - ipv4Piece = 10 * ipv4Piece + number; - } - if (ipv4Piece > 255) return failure; - ++pointer; - } - address[pieceIndex] = 256 * address[pieceIndex] + ipv4Piece, ++numbersSeen, 2 !== numbersSeen && 4 !== numbersSeen || ++pieceIndex; - } - if (4 !== numbersSeen) return failure; - break; - } - if (58 === input[pointer]) { - if (++pointer, void 0 === input[pointer]) return failure; - } else if (void 0 !== input[pointer]) return failure; - address[pieceIndex] = value, ++pieceIndex; - } - if (null !== compress) { - let swaps = pieceIndex - compress; - for (pieceIndex = 7; 0 !== pieceIndex && swaps > 0; ) { - const temp = address[compress + swaps - 1]; - address[compress + swaps - 1] = address[pieceIndex], address[pieceIndex] = temp, - --pieceIndex, --swaps; - } - } else if (null === compress && 8 !== pieceIndex) return failure; - return address; - }(input.substring(1, input.length - 1)); - if (!isSpecialArg) return function(input) { - if (string = input, -1 !== string.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|\?|@|\[|\\|\]/)) return failure; - var string; - let output = ""; - const decoded = punycode.ucs2.decode(input); - for (let i = 0; i < decoded.length; ++i) output += percentEncodeChar(decoded[i], isC0ControlPercentEncode); - return output; - }(input); - const domain = function(str) { - const input = new Buffer(str), output = []; - for (let i = 0; i < input.length; ++i) 37 !== input[i] ? output.push(input[i]) : 37 === input[i] && isASCIIHex(input[i + 1]) && isASCIIHex(input[i + 2]) ? (output.push(parseInt(input.slice(i + 1, i + 3).toString(), 16)), - i += 2) : output.push(input[i]); - return new Buffer(output).toString(); - }(input), asciiDomain = tr46.toASCII(domain, !1, tr46.PROCESSING_OPTIONS.NONTRANSITIONAL, !1); - if (null === asciiDomain) return failure; - if (-1 !== asciiDomain.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|%|\/|:|\?|@|\[|\\|\]/)) return failure; - const ipv4Host = function(input) { - const parts = input.split("."); - if ("" === parts[parts.length - 1] && parts.length > 1 && parts.pop(), parts.length > 4) return input; - const numbers = []; - for (const part of parts) { - if ("" === part) return input; - const n = parseIPv4Number(part); - if (n === failure) return input; - numbers.push(n); - } - for (let i = 0; i < numbers.length - 1; ++i) if (numbers[i] > 255) return failure; - if (numbers[numbers.length - 1] >= Math.pow(256, 5 - numbers.length)) return failure; - let ipv4 = numbers.pop(), counter = 0; - for (const n of numbers) ipv4 += n * Math.pow(256, 3 - counter), ++counter; - return ipv4; - }(asciiDomain); - return "number" == typeof ipv4Host || ipv4Host === failure ? ipv4Host : asciiDomain; - } - function serializeHost(host) { - return "number" == typeof host ? function(address) { - let output = "", n = address; - for (let i = 1; i <= 4; ++i) output = String(n % 256) + output, 4 !== i && (output = "." + output), - n = Math.floor(n / 256); - return output; - }(host) : host instanceof Array ? "[" + function(address) { - let output = ""; - const compress = function(arr) { - let maxIdx = null, maxLen = 1, currStart = null, currLen = 0; - for (let i = 0; i < arr.length; ++i) 0 !== arr[i] ? (currLen > maxLen && (maxIdx = currStart, - maxLen = currLen), currStart = null, currLen = 0) : (null === currStart && (currStart = i), - ++currLen); - return currLen > maxLen && (maxIdx = currStart, maxLen = currLen), { - idx: maxIdx, - len: maxLen - }; - }(address).idx; - let ignore0 = !1; - for (let pieceIndex = 0; pieceIndex <= 7; ++pieceIndex) ignore0 && 0 === address[pieceIndex] || (ignore0 && (ignore0 = !1), - compress !== pieceIndex ? (output += address[pieceIndex].toString(16), 7 !== pieceIndex && (output += ":")) : (output += 0 === pieceIndex ? "::" : ":", - ignore0 = !0)); - return output; - }(host) + "]" : host; - } - function shortenPath(url) { - const path = url.path; - var string; - 0 !== path.length && ("file" === url.scheme && 1 === path.length && (string = path[0], - /^[A-Za-z]:$/.test(string)) || path.pop()); - } - function includesCredentials(url) { - return "" !== url.username || "" !== url.password; - } - function URLStateMachine(input, base, encodingOverride, url, stateOverride) { - if (this.pointer = 0, this.input = input, this.base = base || null, this.encodingOverride = encodingOverride || "utf-8", - this.stateOverride = stateOverride, this.url = url, this.failure = !1, this.parseError = !1, - !this.url) { - this.url = { - scheme: "", - username: "", - password: "", - host: null, - port: null, - path: [], - query: null, - fragment: null, - cannotBeABaseURL: !1 - }; - const res = function(url) { - return url.replace(/^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/g, ""); - }(this.input); - res !== this.input && (this.parseError = !0), this.input = res; - } - const res = function(url) { - return url.replace(/\u0009|\u000A|\u000D/g, ""); - }(this.input); - for (res !== this.input && (this.parseError = !0), this.input = res, this.state = stateOverride || "scheme start", - this.buffer = "", this.atFlag = !1, this.arrFlag = !1, this.passwordTokenSeenFlag = !1, - this.input = punycode.ucs2.decode(this.input); this.pointer <= this.input.length; ++this.pointer) { - const c = this.input[this.pointer], cStr = isNaN(c) ? void 0 : String.fromCodePoint(c), ret = this["parse " + this.state](c, cStr); - if (!ret) break; - if (ret === failure) { - this.failure = !0; - break; - } - } - } - URLStateMachine.prototype["parse scheme start"] = function(c, cStr) { - if (isASCIIAlpha(c)) this.buffer += cStr.toLowerCase(), this.state = "scheme"; else { - if (this.stateOverride) return this.parseError = !0, failure; - this.state = "no scheme", --this.pointer; - } - return !0; - }, URLStateMachine.prototype["parse scheme"] = function(c, cStr) { - if (function(c) { - return isASCIIAlpha(c) || isASCIIDigit(c); - }(c) || 43 === c || 45 === c || 46 === c) this.buffer += cStr.toLowerCase(); else if (58 === c) { - if (this.stateOverride) { - if (isSpecial(this.url) && !isSpecialScheme(this.buffer)) return !1; - if (!isSpecial(this.url) && isSpecialScheme(this.buffer)) return !1; - if ((includesCredentials(this.url) || null !== this.url.port) && "file" === this.buffer) return !1; - if ("file" === this.url.scheme && ("" === this.url.host || null === this.url.host)) return !1; - } - if (this.url.scheme = this.buffer, this.buffer = "", this.stateOverride) return !1; - "file" === this.url.scheme ? (47 === this.input[this.pointer + 1] && 47 === this.input[this.pointer + 2] || (this.parseError = !0), - this.state = "file") : isSpecial(this.url) && null !== this.base && this.base.scheme === this.url.scheme ? this.state = "special relative or authority" : isSpecial(this.url) ? this.state = "special authority slashes" : 47 === this.input[this.pointer + 1] ? (this.state = "path or authority", - ++this.pointer) : (this.url.cannotBeABaseURL = !0, this.url.path.push(""), this.state = "cannot-be-a-base-URL path"); - } else { - if (this.stateOverride) return this.parseError = !0, failure; - this.buffer = "", this.state = "no scheme", this.pointer = -1; - } - return !0; - }, URLStateMachine.prototype["parse no scheme"] = function(c) { - return null === this.base || this.base.cannotBeABaseURL && 35 !== c ? failure : (this.base.cannotBeABaseURL && 35 === c ? (this.url.scheme = this.base.scheme, - this.url.path = this.base.path.slice(), this.url.query = this.base.query, this.url.fragment = "", - this.url.cannotBeABaseURL = !0, this.state = "fragment") : "file" === this.base.scheme ? (this.state = "file", - --this.pointer) : (this.state = "relative", --this.pointer), !0); - }, URLStateMachine.prototype["parse special relative or authority"] = function(c) { - return 47 === c && 47 === this.input[this.pointer + 1] ? (this.state = "special authority ignore slashes", - ++this.pointer) : (this.parseError = !0, this.state = "relative", --this.pointer), - !0; - }, URLStateMachine.prototype["parse path or authority"] = function(c) { - return 47 === c ? this.state = "authority" : (this.state = "path", --this.pointer), - !0; - }, URLStateMachine.prototype["parse relative"] = function(c) { - return this.url.scheme = this.base.scheme, isNaN(c) ? (this.url.username = this.base.username, - this.url.password = this.base.password, this.url.host = this.base.host, this.url.port = this.base.port, - this.url.path = this.base.path.slice(), this.url.query = this.base.query) : 47 === c ? this.state = "relative slash" : 63 === c ? (this.url.username = this.base.username, - this.url.password = this.base.password, this.url.host = this.base.host, this.url.port = this.base.port, - this.url.path = this.base.path.slice(), this.url.query = "", this.state = "query") : 35 === c ? (this.url.username = this.base.username, - this.url.password = this.base.password, this.url.host = this.base.host, this.url.port = this.base.port, - this.url.path = this.base.path.slice(), this.url.query = this.base.query, this.url.fragment = "", - this.state = "fragment") : isSpecial(this.url) && 92 === c ? (this.parseError = !0, - this.state = "relative slash") : (this.url.username = this.base.username, this.url.password = this.base.password, - this.url.host = this.base.host, this.url.port = this.base.port, this.url.path = this.base.path.slice(0, this.base.path.length - 1), - this.state = "path", --this.pointer), !0; - }, URLStateMachine.prototype["parse relative slash"] = function(c) { - return !isSpecial(this.url) || 47 !== c && 92 !== c ? 47 === c ? this.state = "authority" : (this.url.username = this.base.username, - this.url.password = this.base.password, this.url.host = this.base.host, this.url.port = this.base.port, - this.state = "path", --this.pointer) : (92 === c && (this.parseError = !0), this.state = "special authority ignore slashes"), - !0; - }, URLStateMachine.prototype["parse special authority slashes"] = function(c) { - return 47 === c && 47 === this.input[this.pointer + 1] ? (this.state = "special authority ignore slashes", - ++this.pointer) : (this.parseError = !0, this.state = "special authority ignore slashes", - --this.pointer), !0; - }, URLStateMachine.prototype["parse special authority ignore slashes"] = function(c) { - return 47 !== c && 92 !== c ? (this.state = "authority", --this.pointer) : this.parseError = !0, - !0; - }, URLStateMachine.prototype["parse authority"] = function(c, cStr) { - if (64 === c) { - this.parseError = !0, this.atFlag && (this.buffer = "%40" + this.buffer), this.atFlag = !0; - const len = countSymbols(this.buffer); - for (let pointer = 0; pointer < len; ++pointer) { - const codePoint = this.buffer.codePointAt(pointer); - if (58 === codePoint && !this.passwordTokenSeenFlag) { - this.passwordTokenSeenFlag = !0; - continue; - } - const encodedCodePoints = percentEncodeChar(codePoint, isUserinfoPercentEncode); - this.passwordTokenSeenFlag ? this.url.password += encodedCodePoints : this.url.username += encodedCodePoints; - } - this.buffer = ""; - } else if (isNaN(c) || 47 === c || 63 === c || 35 === c || isSpecial(this.url) && 92 === c) { - if (this.atFlag && "" === this.buffer) return this.parseError = !0, failure; - this.pointer -= countSymbols(this.buffer) + 1, this.buffer = "", this.state = "host"; - } else this.buffer += cStr; - return !0; - }, URLStateMachine.prototype["parse hostname"] = URLStateMachine.prototype["parse host"] = function(c, cStr) { - if (this.stateOverride && "file" === this.url.scheme) --this.pointer, this.state = "file host"; else if (58 !== c || this.arrFlag) if (isNaN(c) || 47 === c || 63 === c || 35 === c || isSpecial(this.url) && 92 === c) { - if (--this.pointer, isSpecial(this.url) && "" === this.buffer) return this.parseError = !0, - failure; - if (this.stateOverride && "" === this.buffer && (includesCredentials(this.url) || null !== this.url.port)) return this.parseError = !0, - !1; - const host = parseHost(this.buffer, isSpecial(this.url)); - if (host === failure) return failure; - if (this.url.host = host, this.buffer = "", this.state = "path start", this.stateOverride) return !1; - } else 91 === c ? this.arrFlag = !0 : 93 === c && (this.arrFlag = !1), this.buffer += cStr; else { - if ("" === this.buffer) return this.parseError = !0, failure; - const host = parseHost(this.buffer, isSpecial(this.url)); - if (host === failure) return failure; - if (this.url.host = host, this.buffer = "", this.state = "port", "hostname" === this.stateOverride) return !1; - } - return !0; - }, URLStateMachine.prototype["parse port"] = function(c, cStr) { - if (isASCIIDigit(c)) this.buffer += cStr; else { - if (!(isNaN(c) || 47 === c || 63 === c || 35 === c || isSpecial(this.url) && 92 === c || this.stateOverride)) return this.parseError = !0, - failure; - if ("" !== this.buffer) { - const port = parseInt(this.buffer); - if (port > Math.pow(2, 16) - 1) return this.parseError = !0, failure; - this.url.port = port === (scheme = this.url.scheme, specialSchemes[scheme]) ? null : port, - this.buffer = ""; - } - if (this.stateOverride) return !1; - this.state = "path start", --this.pointer; - } - var scheme; - return !0; - }; - const fileOtherwiseCodePoints = new Set([ 47, 92, 63, 35 ]); - URLStateMachine.prototype["parse file"] = function(c) { - var cp1, cp2; - return this.url.scheme = "file", 47 === c || 92 === c ? (92 === c && (this.parseError = !0), - this.state = "file slash") : null !== this.base && "file" === this.base.scheme ? isNaN(c) ? (this.url.host = this.base.host, - this.url.path = this.base.path.slice(), this.url.query = this.base.query) : 63 === c ? (this.url.host = this.base.host, - this.url.path = this.base.path.slice(), this.url.query = "", this.state = "query") : 35 === c ? (this.url.host = this.base.host, - this.url.path = this.base.path.slice(), this.url.query = this.base.query, this.url.fragment = "", - this.state = "fragment") : (this.input.length - this.pointer - 1 == 0 || (cp1 = c, - cp2 = this.input[this.pointer + 1], !isASCIIAlpha(cp1) || 58 !== cp2 && 124 !== cp2) || this.input.length - this.pointer - 1 >= 2 && !fileOtherwiseCodePoints.has(this.input[this.pointer + 2]) ? (this.url.host = this.base.host, - this.url.path = this.base.path.slice(), shortenPath(this.url)) : this.parseError = !0, - this.state = "path", --this.pointer) : (this.state = "path", --this.pointer), !0; - }, URLStateMachine.prototype["parse file slash"] = function(c) { - var string; - return 47 === c || 92 === c ? (92 === c && (this.parseError = !0), this.state = "file host") : (null !== this.base && "file" === this.base.scheme && (2 === (string = this.base.path[0]).length && isASCIIAlpha(string.codePointAt(0)) && ":" === string[1] ? this.url.path.push(this.base.path[0]) : this.url.host = this.base.host), - this.state = "path", --this.pointer), !0; - }, URLStateMachine.prototype["parse file host"] = function(c, cStr) { - if (isNaN(c) || 47 === c || 92 === c || 63 === c || 35 === c) if (--this.pointer, - !this.stateOverride && isWindowsDriveLetterString(this.buffer)) this.parseError = !0, - this.state = "path"; else if ("" === this.buffer) { - if (this.url.host = "", this.stateOverride) return !1; - this.state = "path start"; - } else { - let host = parseHost(this.buffer, isSpecial(this.url)); - if (host === failure) return failure; - if ("localhost" === host && (host = ""), this.url.host = host, this.stateOverride) return !1; - this.buffer = "", this.state = "path start"; - } else this.buffer += cStr; - return !0; - }, URLStateMachine.prototype["parse path start"] = function(c) { - return isSpecial(this.url) ? (92 === c && (this.parseError = !0), this.state = "path", - 47 !== c && 92 !== c && --this.pointer) : this.stateOverride || 63 !== c ? this.stateOverride || 35 !== c ? void 0 !== c && (this.state = "path", - 47 !== c && --this.pointer) : (this.url.fragment = "", this.state = "fragment") : (this.url.query = "", - this.state = "query"), !0; - }, URLStateMachine.prototype["parse path"] = function(c) { - if (isNaN(c) || 47 === c || isSpecial(this.url) && 92 === c || !this.stateOverride && (63 === c || 35 === c)) { - if (isSpecial(this.url) && 92 === c && (this.parseError = !0), ".." === (buffer = (buffer = this.buffer).toLowerCase()) || "%2e." === buffer || ".%2e" === buffer || "%2e%2e" === buffer ? (shortenPath(this.url), - 47 === c || isSpecial(this.url) && 92 === c || this.url.path.push("")) : !isSingleDot(this.buffer) || 47 === c || isSpecial(this.url) && 92 === c ? isSingleDot(this.buffer) || ("file" === this.url.scheme && 0 === this.url.path.length && isWindowsDriveLetterString(this.buffer) && ("" !== this.url.host && null !== this.url.host && (this.parseError = !0, - this.url.host = ""), this.buffer = this.buffer[0] + ":"), this.url.path.push(this.buffer)) : this.url.path.push(""), - this.buffer = "", "file" === this.url.scheme && (void 0 === c || 63 === c || 35 === c)) for (;this.url.path.length > 1 && "" === this.url.path[0]; ) this.parseError = !0, - this.url.path.shift(); - 63 === c && (this.url.query = "", this.state = "query"), 35 === c && (this.url.fragment = "", - this.state = "fragment"); - } else 37 !== c || isASCIIHex(this.input[this.pointer + 1]) && isASCIIHex(this.input[this.pointer + 2]) || (this.parseError = !0), - this.buffer += percentEncodeChar(c, isPathPercentEncode); - var buffer; - return !0; - }, URLStateMachine.prototype["parse cannot-be-a-base-URL path"] = function(c) { - return 63 === c ? (this.url.query = "", this.state = "query") : 35 === c ? (this.url.fragment = "", - this.state = "fragment") : (isNaN(c) || 37 === c || (this.parseError = !0), 37 !== c || isASCIIHex(this.input[this.pointer + 1]) && isASCIIHex(this.input[this.pointer + 2]) || (this.parseError = !0), - isNaN(c) || (this.url.path[0] = this.url.path[0] + percentEncodeChar(c, isC0ControlPercentEncode))), - !0; - }, URLStateMachine.prototype["parse query"] = function(c, cStr) { - if (isNaN(c) || !this.stateOverride && 35 === c) { - isSpecial(this.url) && "ws" !== this.url.scheme && "wss" !== this.url.scheme || (this.encodingOverride = "utf-8"); - const buffer = new Buffer(this.buffer); - for (let i = 0; i < buffer.length; ++i) buffer[i] < 33 || buffer[i] > 126 || 34 === buffer[i] || 35 === buffer[i] || 60 === buffer[i] || 62 === buffer[i] ? this.url.query += percentEncode(buffer[i]) : this.url.query += String.fromCodePoint(buffer[i]); - this.buffer = "", 35 === c && (this.url.fragment = "", this.state = "fragment"); - } else 37 !== c || isASCIIHex(this.input[this.pointer + 1]) && isASCIIHex(this.input[this.pointer + 2]) || (this.parseError = !0), - this.buffer += cStr; - return !0; - }, URLStateMachine.prototype["parse fragment"] = function(c) { - return isNaN(c) || (0 === c ? this.parseError = !0 : (37 !== c || isASCIIHex(this.input[this.pointer + 1]) && isASCIIHex(this.input[this.pointer + 2]) || (this.parseError = !0), - this.url.fragment += percentEncodeChar(c, isC0ControlPercentEncode))), !0; - }, module.exports.serializeURL = function(url, excludeFragment) { - let output = url.scheme + ":"; - if (null !== url.host ? (output += "//", "" === url.username && "" === url.password || (output += url.username, - "" !== url.password && (output += ":" + url.password), output += "@"), output += serializeHost(url.host), - null !== url.port && (output += ":" + url.port)) : null === url.host && "file" === url.scheme && (output += "//"), - url.cannotBeABaseURL) output += url.path[0]; else for (const string of url.path) output += "/" + string; - return null !== url.query && (output += "?" + url.query), excludeFragment || null === url.fragment || (output += "#" + url.fragment), - output; - }, module.exports.serializeURLOrigin = function(url) { - switch (url.scheme) { - case "blob": - try { - return module.exports.serializeURLOrigin(module.exports.parseURL(url.path[0])); - } catch (e) { - return "null"; - } - - case "ftp": - case "gopher": - case "http": - case "https": - case "ws": - case "wss": - return function(tuple) { - let result = tuple.scheme + "://"; - return result += serializeHost(tuple.host), null !== tuple.port && (result += ":" + tuple.port), - result; - }({ - scheme: url.scheme, - host: url.host, - port: url.port - }); - - case "file": - return "file://"; - - default: - return "null"; - } - }, module.exports.basicURLParse = function(input, options) { - void 0 === options && (options = {}); - const usm = new URLStateMachine(input, options.baseURL, options.encodingOverride, options.url, options.stateOverride); - return usm.failure ? "failure" : usm.url; - }, module.exports.setTheUsername = function(url, username) { - url.username = ""; - const decoded = punycode.ucs2.decode(username); - for (let i = 0; i < decoded.length; ++i) url.username += percentEncodeChar(decoded[i], isUserinfoPercentEncode); - }, module.exports.setThePassword = function(url, password) { - url.password = ""; - const decoded = punycode.ucs2.decode(password); - for (let i = 0; i < decoded.length; ++i) url.password += percentEncodeChar(decoded[i], isUserinfoPercentEncode); - }, module.exports.serializeHost = serializeHost, module.exports.cannotHaveAUsernamePasswordPort = function(url) { - return null === url.host || "" === url.host || url.cannotBeABaseURL || "file" === url.scheme; - }, module.exports.serializeInteger = function(integer) { - return String(integer); - }, module.exports.parseURL = function(input, options) { - return void 0 === options && (options = {}), module.exports.basicURLParse(input, { - baseURL: options.baseURL, - encodingOverride: options.encodingOverride - }); - }; - }, - 593: module => { - "use strict"; - module.exports.mixin = function(target, source) { - const keys = Object.getOwnPropertyNames(source); - for (let i = 0; i < keys.length; ++i) Object.defineProperty(target, keys[i], Object.getOwnPropertyDescriptor(source, keys[i])); - }, module.exports.wrapperSymbol = Symbol("wrapper"), module.exports.implSymbol = Symbol("impl"), - module.exports.wrapperForImpl = function(impl) { - return impl[module.exports.wrapperSymbol]; - }, module.exports.implForWrapper = function(wrapper) { - return wrapper[module.exports.implSymbol]; - }; - }, - 6239: function(__unused_webpack_module, exports) { - (function() { - "use strict"; - exports.stripBOM = function(str) { - return "\ufeff" === str[0] ? str.substring(1) : str; - }; - }).call(this); - }, - 8795: function(__unused_webpack_module, exports, __webpack_require__) { - (function() { - "use strict"; - var builder, defaults, escapeCDATA, requiresCDATA, wrapCDATA, hasProp = {}.hasOwnProperty; - builder = __webpack_require__(2105), defaults = __webpack_require__(214).defaults, - requiresCDATA = function(entry) { - return "string" == typeof entry && (entry.indexOf("&") >= 0 || entry.indexOf(">") >= 0 || entry.indexOf("<") >= 0); - }, wrapCDATA = function(entry) { - return ""; - }, escapeCDATA = function(entry) { - return entry.replace("]]>", "]]]]>"); - }, exports.Builder = function() { - function Builder(opts) { - var key, ref, value; - for (key in this.options = {}, ref = defaults[.2]) hasProp.call(ref, key) && (value = ref[key], - this.options[key] = value); - for (key in opts) hasProp.call(opts, key) && (value = opts[key], this.options[key] = value); - } - return Builder.prototype.buildObject = function(rootObj) { - var attrkey, charkey, render, rootElement, rootName, _this; - return attrkey = this.options.attrkey, charkey = this.options.charkey, 1 === Object.keys(rootObj).length && this.options.rootName === defaults[.2].rootName ? rootObj = rootObj[rootName = Object.keys(rootObj)[0]] : rootName = this.options.rootName, - _this = this, render = function(element, obj) { - var attr, child, entry, index, key, value; - if ("object" != typeof obj) _this.options.cdata && requiresCDATA(obj) ? element.raw(wrapCDATA(obj)) : element.txt(obj); else if (Array.isArray(obj)) { - for (index in obj) if (hasProp.call(obj, index)) for (key in child = obj[index]) entry = child[key], - element = render(element.ele(key), entry).up(); - } else for (key in obj) if (hasProp.call(obj, key)) if (child = obj[key], key === attrkey) { - if ("object" == typeof child) for (attr in child) value = child[attr], element = element.att(attr, value); - } else if (key === charkey) element = _this.options.cdata && requiresCDATA(child) ? element.raw(wrapCDATA(child)) : element.txt(child); else if (Array.isArray(child)) for (index in child) hasProp.call(child, index) && (element = "string" == typeof (entry = child[index]) ? _this.options.cdata && requiresCDATA(entry) ? element.ele(key).raw(wrapCDATA(entry)).up() : element.ele(key, entry).up() : render(element.ele(key), entry).up()); else "object" == typeof child ? element = render(element.ele(key), child).up() : "string" == typeof child && _this.options.cdata && requiresCDATA(child) ? element = element.ele(key).raw(wrapCDATA(child)).up() : (null == child && (child = ""), - element = element.ele(key, child.toString()).up()); - return element; - }, rootElement = builder.create(rootName, this.options.xmldec, this.options.doctype, { - headless: this.options.headless, - allowSurrogateChars: this.options.allowSurrogateChars - }), render(rootElement, rootObj).end(this.options.renderOpts); - }, Builder; - }(); - }).call(this); - }, - 214: function(__unused_webpack_module, exports) { - (function() { - exports.defaults = { - .1: { - explicitCharkey: !1, - trim: !0, - normalize: !0, - normalizeTags: !1, - attrkey: "@", - charkey: "#", - explicitArray: !1, - ignoreAttrs: !1, - mergeAttrs: !1, - explicitRoot: !1, - validator: null, - xmlns: !1, - explicitChildren: !1, - childkey: "@@", - charsAsChildren: !1, - includeWhiteChars: !1, - async: !1, - strict: !0, - attrNameProcessors: null, - attrValueProcessors: null, - tagNameProcessors: null, - valueProcessors: null, - emptyTag: "" - }, - .2: { - explicitCharkey: !1, - trim: !1, - normalize: !1, - normalizeTags: !1, - attrkey: "$", - charkey: "_", - explicitArray: !0, - ignoreAttrs: !1, - mergeAttrs: !1, - explicitRoot: !0, - validator: null, - xmlns: !1, - explicitChildren: !1, - preserveChildrenOrder: !1, - childkey: "$$", - charsAsChildren: !1, - includeWhiteChars: !1, - async: !1, - strict: !0, - attrNameProcessors: null, - attrValueProcessors: null, - tagNameProcessors: null, - valueProcessors: null, - rootName: "root", - xmldec: { - version: "1.0", - encoding: "UTF-8", - standalone: !0 - }, - doctype: null, - renderOpts: { - pretty: !0, - indent: " ", - newline: "\n" - }, - headless: !1, - chunkSize: 1e4, - emptyTag: "", - cdata: !1 - } - }; - }).call(this); - }, - 8057: function(__unused_webpack_module, exports, __webpack_require__) { - (function() { - "use strict"; - var bom, defaults, events, isEmpty, processItem, processors, sax, setImmediate, bind = function(fn, me) { - return function() { - return fn.apply(me, arguments); - }; - }, hasProp = {}.hasOwnProperty; - sax = __webpack_require__(9871), events = __webpack_require__(2361), bom = __webpack_require__(6239), - processors = __webpack_require__(9979), setImmediate = __webpack_require__(9512).setImmediate, - defaults = __webpack_require__(214).defaults, isEmpty = function(thing) { - return "object" == typeof thing && null != thing && 0 === Object.keys(thing).length; - }, processItem = function(processors, item, key) { - var i, len; - for (i = 0, len = processors.length; i < len; i++) item = (0, processors[i])(item, key); - return item; - }, exports.Parser = function(superClass) { - function Parser(opts) { - var key, ref, value; - if (this.parseStringPromise = bind(this.parseStringPromise, this), this.parseString = bind(this.parseString, this), - this.reset = bind(this.reset, this), this.assignOrPush = bind(this.assignOrPush, this), - this.processAsync = bind(this.processAsync, this), !(this instanceof exports.Parser)) return new exports.Parser(opts); - for (key in this.options = {}, ref = defaults[.2]) hasProp.call(ref, key) && (value = ref[key], - this.options[key] = value); - for (key in opts) hasProp.call(opts, key) && (value = opts[key], this.options[key] = value); - this.options.xmlns && (this.options.xmlnskey = this.options.attrkey + "ns"), this.options.normalizeTags && (this.options.tagNameProcessors || (this.options.tagNameProcessors = []), - this.options.tagNameProcessors.unshift(processors.normalize)), this.reset(); - } - return function(child, parent) { - for (var key in parent) hasProp.call(parent, key) && (child[key] = parent[key]); - function ctor() { - this.constructor = child; - } - ctor.prototype = parent.prototype, child.prototype = new ctor, child.__super__ = parent.prototype; - }(Parser, superClass), Parser.prototype.processAsync = function() { - var chunk, err; - try { - return this.remaining.length <= this.options.chunkSize ? (chunk = this.remaining, - this.remaining = "", this.saxParser = this.saxParser.write(chunk), this.saxParser.close()) : (chunk = this.remaining.substr(0, this.options.chunkSize), - this.remaining = this.remaining.substr(this.options.chunkSize, this.remaining.length), - this.saxParser = this.saxParser.write(chunk), setImmediate(this.processAsync)); - } catch (error1) { - if (err = error1, !this.saxParser.errThrown) return this.saxParser.errThrown = !0, - this.emit(err); - } - }, Parser.prototype.assignOrPush = function(obj, key, newValue) { - return key in obj ? (obj[key] instanceof Array || (obj[key] = [ obj[key] ]), obj[key].push(newValue)) : this.options.explicitArray ? obj[key] = [ newValue ] : obj[key] = newValue; - }, Parser.prototype.reset = function() { - var attrkey, charkey, ontext, stack, _this; - return this.removeAllListeners(), this.saxParser = sax.parser(this.options.strict, { - trim: !1, - normalize: !1, - xmlns: this.options.xmlns - }), this.saxParser.errThrown = !1, this.saxParser.onerror = (_this = this, function(error) { - if (_this.saxParser.resume(), !_this.saxParser.errThrown) return _this.saxParser.errThrown = !0, - _this.emit("error", error); - }), this.saxParser.onend = function(_this) { - return function() { - if (!_this.saxParser.ended) return _this.saxParser.ended = !0, _this.emit("end", _this.resultObject); - }; - }(this), this.saxParser.ended = !1, this.EXPLICIT_CHARKEY = this.options.explicitCharkey, - this.resultObject = null, stack = [], attrkey = this.options.attrkey, charkey = this.options.charkey, - this.saxParser.onopentag = function(_this) { - return function(node) { - var key, newValue, obj, processedKey, ref; - if ((obj = {})[charkey] = "", !_this.options.ignoreAttrs) for (key in ref = node.attributes) hasProp.call(ref, key) && (attrkey in obj || _this.options.mergeAttrs || (obj[attrkey] = {}), - newValue = _this.options.attrValueProcessors ? processItem(_this.options.attrValueProcessors, node.attributes[key], key) : node.attributes[key], - processedKey = _this.options.attrNameProcessors ? processItem(_this.options.attrNameProcessors, key) : key, - _this.options.mergeAttrs ? _this.assignOrPush(obj, processedKey, newValue) : obj[attrkey][processedKey] = newValue); - return obj["#name"] = _this.options.tagNameProcessors ? processItem(_this.options.tagNameProcessors, node.name) : node.name, - _this.options.xmlns && (obj[_this.options.xmlnskey] = { - uri: node.uri, - local: node.local - }), stack.push(obj); - }; - }(this), this.saxParser.onclosetag = function(_this) { - return function() { - var cdata, emptyStr, key, node, nodeName, obj, objClone, old, s, xpath; - if (obj = stack.pop(), nodeName = obj["#name"], _this.options.explicitChildren && _this.options.preserveChildrenOrder || delete obj["#name"], - !0 === obj.cdata && (cdata = obj.cdata, delete obj.cdata), s = stack[stack.length - 1], - obj[charkey].match(/^\s*$/) && !cdata ? (emptyStr = obj[charkey], delete obj[charkey]) : (_this.options.trim && (obj[charkey] = obj[charkey].trim()), - _this.options.normalize && (obj[charkey] = obj[charkey].replace(/\s{2,}/g, " ").trim()), - obj[charkey] = _this.options.valueProcessors ? processItem(_this.options.valueProcessors, obj[charkey], nodeName) : obj[charkey], - 1 === Object.keys(obj).length && charkey in obj && !_this.EXPLICIT_CHARKEY && (obj = obj[charkey])), - isEmpty(obj) && (obj = "" !== _this.options.emptyTag ? _this.options.emptyTag : emptyStr), - null != _this.options.validator && (xpath = "/" + function() { - var i, len, results; - for (results = [], i = 0, len = stack.length; i < len; i++) node = stack[i], results.push(node["#name"]); - return results; - }().concat(nodeName).join("/"), function() { - var err; - try { - return obj = _this.options.validator(xpath, s && s[nodeName], obj); - } catch (error1) { - return err = error1, _this.emit("error", err); - } - }()), _this.options.explicitChildren && !_this.options.mergeAttrs && "object" == typeof obj) if (_this.options.preserveChildrenOrder) { - if (s) { - for (key in s[_this.options.childkey] = s[_this.options.childkey] || [], objClone = {}, - obj) hasProp.call(obj, key) && (objClone[key] = obj[key]); - s[_this.options.childkey].push(objClone), delete obj["#name"], 1 === Object.keys(obj).length && charkey in obj && !_this.EXPLICIT_CHARKEY && (obj = obj[charkey]); - } - } else node = {}, _this.options.attrkey in obj && (node[_this.options.attrkey] = obj[_this.options.attrkey], - delete obj[_this.options.attrkey]), !_this.options.charsAsChildren && _this.options.charkey in obj && (node[_this.options.charkey] = obj[_this.options.charkey], - delete obj[_this.options.charkey]), Object.getOwnPropertyNames(obj).length > 0 && (node[_this.options.childkey] = obj), - obj = node; - return stack.length > 0 ? _this.assignOrPush(s, nodeName, obj) : (_this.options.explicitRoot && (old = obj, - (obj = {})[nodeName] = old), _this.resultObject = obj, _this.saxParser.ended = !0, - _this.emit("end", _this.resultObject)); - }; - }(this), ontext = function(_this) { - return function(text) { - var charChild, s; - if (s = stack[stack.length - 1]) return s[charkey] += text, _this.options.explicitChildren && _this.options.preserveChildrenOrder && _this.options.charsAsChildren && (_this.options.includeWhiteChars || "" !== text.replace(/\\n/g, "").trim()) && (s[_this.options.childkey] = s[_this.options.childkey] || [], - (charChild = { - "#name": "__text__" - })[charkey] = text, _this.options.normalize && (charChild[charkey] = charChild[charkey].replace(/\s{2,}/g, " ").trim()), - s[_this.options.childkey].push(charChild)), s; - }; - }(this), this.saxParser.ontext = ontext, this.saxParser.oncdata = function(text) { - var s; - if (s = ontext(text)) return s.cdata = !0; - }; - }, Parser.prototype.parseString = function(str, cb) { - var err; - null != cb && "function" == typeof cb && (this.on("end", (function(result) { - return this.reset(), cb(null, result); - })), this.on("error", (function(err) { - return this.reset(), cb(err); - }))); - try { - return "" === (str = str.toString()).trim() ? (this.emit("end", null), !0) : (str = bom.stripBOM(str), - this.options.async ? (this.remaining = str, setImmediate(this.processAsync), this.saxParser) : this.saxParser.write(str).close()); - } catch (error1) { - if (err = error1, !this.saxParser.errThrown && !this.saxParser.ended) return this.emit("error", err), - this.saxParser.errThrown = !0; - if (this.saxParser.ended) throw err; - } - }, Parser.prototype.parseStringPromise = function(str) { - return new Promise((_this = this, function(resolve, reject) { - return _this.parseString(str, (function(err, value) { - return err ? reject(err) : resolve(value); - })); - })); - var _this; - }, Parser; - }(events), exports.parseString = function(str, a, b) { - var cb, options; - return null != b ? ("function" == typeof b && (cb = b), "object" == typeof a && (options = a)) : ("function" == typeof a && (cb = a), - options = {}), new exports.Parser(options).parseString(str, cb); - }, exports.parseStringPromise = function(str, a) { - var options; - return "object" == typeof a && (options = a), new exports.Parser(options).parseStringPromise(str); - }; - }).call(this); - }, - 9979: function(__unused_webpack_module, exports) { - (function() { - "use strict"; - var prefixMatch; - prefixMatch = new RegExp(/(?!xmlns)^.*:/), exports.normalize = function(str) { - return str.toLowerCase(); - }, exports.firstCharLowerCase = function(str) { - return str.charAt(0).toLowerCase() + str.slice(1); - }, exports.stripPrefix = function(str) { - return str.replace(prefixMatch, ""); - }, exports.parseNumbers = function(str) { - return isNaN(str) || (str = str % 1 == 0 ? parseInt(str, 10) : parseFloat(str)), - str; - }, exports.parseBooleans = function(str) { - return /^(?:true|false)$/i.test(str) && (str = "true" === str.toLowerCase()), str; - }; - }).call(this); - }, - 2662: function(__unused_webpack_module, exports, __webpack_require__) { - (function() { - "use strict"; - var builder, defaults, parser, processors, hasProp = {}.hasOwnProperty; - defaults = __webpack_require__(214), builder = __webpack_require__(8795), parser = __webpack_require__(8057), - processors = __webpack_require__(9979), exports.defaults = defaults.defaults, exports.processors = processors, - exports.ValidationError = function(superClass) { - function ValidationError(message) { - this.message = message; - } - return function(child, parent) { - for (var key in parent) hasProp.call(parent, key) && (child[key] = parent[key]); - function ctor() { - this.constructor = child; - } - ctor.prototype = parent.prototype, child.prototype = new ctor, child.__super__ = parent.prototype; - }(ValidationError, Error), ValidationError; - }(), exports.Builder = builder.Builder, exports.Parser = parser.Parser, exports.parseString = parser.parseString, - exports.parseStringPromise = parser.parseStringPromise; - }).call(this); - }, - 7322: function(module) { - (function() { - module.exports = { - Disconnected: 1, - Preceding: 2, - Following: 4, - Contains: 8, - ContainedBy: 16, - ImplementationSpecific: 32 - }; - }).call(this); - }, - 6130: function(module) { - (function() { - module.exports = { - Element: 1, - Attribute: 2, - Text: 3, - CData: 4, - EntityReference: 5, - EntityDeclaration: 6, - ProcessingInstruction: 7, - Comment: 8, - Document: 9, - DocType: 10, - DocumentFragment: 11, - NotationDeclaration: 12, - Declaration: 201, - Raw: 202, - AttributeDeclaration: 203, - ElementDeclaration: 204, - Dummy: 205 - }; - }).call(this); - }, - 3801: function(module) { - (function() { - var assign, getValue, isArray, isEmpty, isFunction, isObject, isPlainObject, slice = [].slice, hasProp = {}.hasOwnProperty; - assign = function() { - var i, key, len, source, sources, target; - if (target = arguments[0], sources = 2 <= arguments.length ? slice.call(arguments, 1) : [], - isFunction(Object.assign)) Object.assign.apply(null, arguments); else for (i = 0, - len = sources.length; i < len; i++) if (null != (source = sources[i])) for (key in source) hasProp.call(source, key) && (target[key] = source[key]); - return target; - }, isFunction = function(val) { - return !!val && "[object Function]" === Object.prototype.toString.call(val); - }, isObject = function(val) { - var ref; - return !!val && ("function" == (ref = typeof val) || "object" === ref); - }, isArray = function(val) { - return isFunction(Array.isArray) ? Array.isArray(val) : "[object Array]" === Object.prototype.toString.call(val); - }, isEmpty = function(val) { - var key; - if (isArray(val)) return !val.length; - for (key in val) if (hasProp.call(val, key)) return !1; - return !0; - }, isPlainObject = function(val) { - var ctor, proto; - return isObject(val) && (proto = Object.getPrototypeOf(val)) && (ctor = proto.constructor) && "function" == typeof ctor && ctor instanceof ctor && Function.prototype.toString.call(ctor) === Function.prototype.toString.call(Object); - }, getValue = function(obj) { - return isFunction(obj.valueOf) ? obj.valueOf() : obj; - }, module.exports.assign = assign, module.exports.isFunction = isFunction, module.exports.isObject = isObject, - module.exports.isArray = isArray, module.exports.isEmpty = isEmpty, module.exports.isPlainObject = isPlainObject, - module.exports.getValue = getValue; - }).call(this); - }, - 6379: function(module) { - (function() { - module.exports = { - None: 0, - OpenTag: 1, - InsideTag: 2, - CloseTag: 3 - }; - }).call(this); - }, - 3450: function(module, __unused_webpack_exports, __webpack_require__) { - (function() { - var NodeType; - NodeType = __webpack_require__(6130), __webpack_require__(6676), module.exports = function() { - function XMLAttribute(parent, name, value) { - if (this.parent = parent, this.parent && (this.options = this.parent.options, this.stringify = this.parent.stringify), - null == name) throw new Error("Missing attribute name. " + this.debugInfo(name)); - this.name = this.stringify.name(name), this.value = this.stringify.attValue(value), - this.type = NodeType.Attribute, this.isId = !1, this.schemaTypeInfo = null; - } - return Object.defineProperty(XMLAttribute.prototype, "nodeType", { - get: function() { - return this.type; - } - }), Object.defineProperty(XMLAttribute.prototype, "ownerElement", { - get: function() { - return this.parent; - } - }), Object.defineProperty(XMLAttribute.prototype, "textContent", { - get: function() { - return this.value; - }, - set: function(value) { - return this.value = value || ""; - } - }), Object.defineProperty(XMLAttribute.prototype, "namespaceURI", { - get: function() { - return ""; - } - }), Object.defineProperty(XMLAttribute.prototype, "prefix", { - get: function() { - return ""; - } - }), Object.defineProperty(XMLAttribute.prototype, "localName", { - get: function() { - return this.name; - } - }), Object.defineProperty(XMLAttribute.prototype, "specified", { - get: function() { - return !0; - } - }), XMLAttribute.prototype.clone = function() { - return Object.create(this); - }, XMLAttribute.prototype.toString = function(options) { - return this.options.writer.attribute(this, this.options.writer.filterOptions(options)); - }, XMLAttribute.prototype.debugInfo = function(name) { - return null == (name = name || this.name) ? "parent: <" + this.parent.name + ">" : "attribute: {" + name + "}, parent: <" + this.parent.name + ">"; - }, XMLAttribute.prototype.isEqualNode = function(node) { - return node.namespaceURI === this.namespaceURI && (node.prefix === this.prefix && (node.localName === this.localName && node.value === this.value)); - }, XMLAttribute; - }(); - }).call(this); - }, - 5122: function(module, __unused_webpack_exports, __webpack_require__) { - (function() { - var NodeType, XMLCharacterData, hasProp = {}.hasOwnProperty; - NodeType = __webpack_require__(6130), XMLCharacterData = __webpack_require__(1302), - module.exports = function(superClass) { - function XMLCData(parent, text) { - if (XMLCData.__super__.constructor.call(this, parent), null == text) throw new Error("Missing CDATA text. " + this.debugInfo()); - this.name = "#cdata-section", this.type = NodeType.CData, this.value = this.stringify.cdata(text); - } - return function(child, parent) { - for (var key in parent) hasProp.call(parent, key) && (child[key] = parent[key]); - function ctor() { - this.constructor = child; - } - ctor.prototype = parent.prototype, child.prototype = new ctor, child.__super__ = parent.prototype; - }(XMLCData, superClass), XMLCData.prototype.clone = function() { - return Object.create(this); - }, XMLCData.prototype.toString = function(options) { - return this.options.writer.cdata(this, this.options.writer.filterOptions(options)); - }, XMLCData; - }(XMLCharacterData); - }).call(this); - }, - 1302: function(module, __unused_webpack_exports, __webpack_require__) { - (function() { - var XMLNode, hasProp = {}.hasOwnProperty; - XMLNode = __webpack_require__(6676), module.exports = function(superClass) { - function XMLCharacterData(parent) { - XMLCharacterData.__super__.constructor.call(this, parent), this.value = ""; - } - return function(child, parent) { - for (var key in parent) hasProp.call(parent, key) && (child[key] = parent[key]); - function ctor() { - this.constructor = child; - } - ctor.prototype = parent.prototype, child.prototype = new ctor, child.__super__ = parent.prototype; - }(XMLCharacterData, superClass), Object.defineProperty(XMLCharacterData.prototype, "data", { - get: function() { - return this.value; - }, - set: function(value) { - return this.value = value || ""; - } - }), Object.defineProperty(XMLCharacterData.prototype, "length", { - get: function() { - return this.value.length; - } - }), Object.defineProperty(XMLCharacterData.prototype, "textContent", { - get: function() { - return this.value; - }, - set: function(value) { - return this.value = value || ""; - } - }), XMLCharacterData.prototype.clone = function() { - return Object.create(this); - }, XMLCharacterData.prototype.substringData = function(offset, count) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLCharacterData.prototype.appendData = function(arg) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLCharacterData.prototype.insertData = function(offset, arg) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLCharacterData.prototype.deleteData = function(offset, count) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLCharacterData.prototype.replaceData = function(offset, count, arg) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLCharacterData.prototype.isEqualNode = function(node) { - return !!XMLCharacterData.__super__.isEqualNode.apply(this, arguments).isEqualNode(node) && node.data === this.data; - }, XMLCharacterData; - }(XMLNode); - }).call(this); - }, - 8369: function(module, __unused_webpack_exports, __webpack_require__) { - (function() { - var NodeType, XMLCharacterData, hasProp = {}.hasOwnProperty; - NodeType = __webpack_require__(6130), XMLCharacterData = __webpack_require__(1302), - module.exports = function(superClass) { - function XMLComment(parent, text) { - if (XMLComment.__super__.constructor.call(this, parent), null == text) throw new Error("Missing comment text. " + this.debugInfo()); - this.name = "#comment", this.type = NodeType.Comment, this.value = this.stringify.comment(text); - } - return function(child, parent) { - for (var key in parent) hasProp.call(parent, key) && (child[key] = parent[key]); - function ctor() { - this.constructor = child; - } - ctor.prototype = parent.prototype, child.prototype = new ctor, child.__super__ = parent.prototype; - }(XMLComment, superClass), XMLComment.prototype.clone = function() { - return Object.create(this); - }, XMLComment.prototype.toString = function(options) { - return this.options.writer.comment(this, this.options.writer.filterOptions(options)); - }, XMLComment; - }(XMLCharacterData); - }).call(this); - }, - 8162: function(module, __unused_webpack_exports, __webpack_require__) { - (function() { - var XMLDOMErrorHandler, XMLDOMStringList; - XMLDOMErrorHandler = __webpack_require__(9214), XMLDOMStringList = __webpack_require__(1351), - module.exports = function() { - function XMLDOMConfiguration() { - this.defaultParams = { - "canonical-form": !1, - "cdata-sections": !1, - comments: !1, - "datatype-normalization": !1, - "element-content-whitespace": !0, - entities: !0, - "error-handler": new XMLDOMErrorHandler, - infoset: !0, - "validate-if-schema": !1, - namespaces: !0, - "namespace-declarations": !0, - "normalize-characters": !1, - "schema-location": "", - "schema-type": "", - "split-cdata-sections": !0, - validate: !1, - "well-formed": !0 - }, this.params = Object.create(this.defaultParams); - } - return Object.defineProperty(XMLDOMConfiguration.prototype, "parameterNames", { - get: function() { - return new XMLDOMStringList(Object.keys(this.defaultParams)); - } - }), XMLDOMConfiguration.prototype.getParameter = function(name) { - return this.params.hasOwnProperty(name) ? this.params[name] : null; - }, XMLDOMConfiguration.prototype.canSetParameter = function(name, value) { - return !0; - }, XMLDOMConfiguration.prototype.setParameter = function(name, value) { - return null != value ? this.params[name] = value : delete this.params[name]; - }, XMLDOMConfiguration; - }(); - }).call(this); - }, - 9214: function(module) { - (function() { - module.exports = function() { - function XMLDOMErrorHandler() {} - return XMLDOMErrorHandler.prototype.handleError = function(error) { - throw new Error(error); - }, XMLDOMErrorHandler; - }(); - }).call(this); - }, - 8558: function(module) { - (function() { - module.exports = function() { - function XMLDOMImplementation() {} - return XMLDOMImplementation.prototype.hasFeature = function(feature, version) { - return !0; - }, XMLDOMImplementation.prototype.createDocumentType = function(qualifiedName, publicId, systemId) { - throw new Error("This DOM method is not implemented."); - }, XMLDOMImplementation.prototype.createDocument = function(namespaceURI, qualifiedName, doctype) { - throw new Error("This DOM method is not implemented."); - }, XMLDOMImplementation.prototype.createHTMLDocument = function(title) { - throw new Error("This DOM method is not implemented."); - }, XMLDOMImplementation.prototype.getFeature = function(feature, version) { - throw new Error("This DOM method is not implemented."); - }, XMLDOMImplementation; - }(); - }).call(this); - }, - 1351: function(module) { - (function() { - module.exports = function() { - function XMLDOMStringList(arr) { - this.arr = arr || []; - } - return Object.defineProperty(XMLDOMStringList.prototype, "length", { - get: function() { - return this.arr.length; - } - }), XMLDOMStringList.prototype.item = function(index) { - return this.arr[index] || null; - }, XMLDOMStringList.prototype.contains = function(str) { - return -1 !== this.arr.indexOf(str); - }, XMLDOMStringList; - }(); - }).call(this); - }, - 2987: function(module, __unused_webpack_exports, __webpack_require__) { - (function() { - var NodeType, XMLNode, hasProp = {}.hasOwnProperty; - XMLNode = __webpack_require__(6676), NodeType = __webpack_require__(6130), module.exports = function(superClass) { - function XMLDTDAttList(parent, elementName, attributeName, attributeType, defaultValueType, defaultValue) { - if (XMLDTDAttList.__super__.constructor.call(this, parent), null == elementName) throw new Error("Missing DTD element name. " + this.debugInfo()); - if (null == attributeName) throw new Error("Missing DTD attribute name. " + this.debugInfo(elementName)); - if (!attributeType) throw new Error("Missing DTD attribute type. " + this.debugInfo(elementName)); - if (!defaultValueType) throw new Error("Missing DTD attribute default. " + this.debugInfo(elementName)); - if (0 !== defaultValueType.indexOf("#") && (defaultValueType = "#" + defaultValueType), - !defaultValueType.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/)) throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. " + this.debugInfo(elementName)); - if (defaultValue && !defaultValueType.match(/^(#FIXED|#DEFAULT)$/)) throw new Error("Default value only applies to #FIXED or #DEFAULT. " + this.debugInfo(elementName)); - this.elementName = this.stringify.name(elementName), this.type = NodeType.AttributeDeclaration, - this.attributeName = this.stringify.name(attributeName), this.attributeType = this.stringify.dtdAttType(attributeType), - defaultValue && (this.defaultValue = this.stringify.dtdAttDefault(defaultValue)), - this.defaultValueType = defaultValueType; - } - return function(child, parent) { - for (var key in parent) hasProp.call(parent, key) && (child[key] = parent[key]); - function ctor() { - this.constructor = child; - } - ctor.prototype = parent.prototype, child.prototype = new ctor, child.__super__ = parent.prototype; - }(XMLDTDAttList, superClass), XMLDTDAttList.prototype.toString = function(options) { - return this.options.writer.dtdAttList(this, this.options.writer.filterOptions(options)); - }, XMLDTDAttList; - }(XMLNode); - }).call(this); - }, - 107: function(module, __unused_webpack_exports, __webpack_require__) { - (function() { - var NodeType, XMLNode, hasProp = {}.hasOwnProperty; - XMLNode = __webpack_require__(6676), NodeType = __webpack_require__(6130), module.exports = function(superClass) { - function XMLDTDElement(parent, name, value) { - if (XMLDTDElement.__super__.constructor.call(this, parent), null == name) throw new Error("Missing DTD element name. " + this.debugInfo()); - value || (value = "(#PCDATA)"), Array.isArray(value) && (value = "(" + value.join(",") + ")"), - this.name = this.stringify.name(name), this.type = NodeType.ElementDeclaration, - this.value = this.stringify.dtdElementValue(value); - } - return function(child, parent) { - for (var key in parent) hasProp.call(parent, key) && (child[key] = parent[key]); - function ctor() { - this.constructor = child; - } - ctor.prototype = parent.prototype, child.prototype = new ctor, child.__super__ = parent.prototype; - }(XMLDTDElement, superClass), XMLDTDElement.prototype.toString = function(options) { - return this.options.writer.dtdElement(this, this.options.writer.filterOptions(options)); - }, XMLDTDElement; - }(XMLNode); - }).call(this); - }, - 2115: function(module, __unused_webpack_exports, __webpack_require__) { - (function() { - var NodeType, XMLNode, isObject, hasProp = {}.hasOwnProperty; - isObject = __webpack_require__(3801).isObject, XMLNode = __webpack_require__(6676), - NodeType = __webpack_require__(6130), module.exports = function(superClass) { - function XMLDTDEntity(parent, pe, name, value) { - if (XMLDTDEntity.__super__.constructor.call(this, parent), null == name) throw new Error("Missing DTD entity name. " + this.debugInfo(name)); - if (null == value) throw new Error("Missing DTD entity value. " + this.debugInfo(name)); - if (this.pe = !!pe, this.name = this.stringify.name(name), this.type = NodeType.EntityDeclaration, - isObject(value)) { - if (!value.pubID && !value.sysID) throw new Error("Public and/or system identifiers are required for an external entity. " + this.debugInfo(name)); - if (value.pubID && !value.sysID) throw new Error("System identifier is required for a public external entity. " + this.debugInfo(name)); - if (this.internal = !1, null != value.pubID && (this.pubID = this.stringify.dtdPubID(value.pubID)), - null != value.sysID && (this.sysID = this.stringify.dtdSysID(value.sysID)), null != value.nData && (this.nData = this.stringify.dtdNData(value.nData)), - this.pe && this.nData) throw new Error("Notation declaration is not allowed in a parameter entity. " + this.debugInfo(name)); - } else this.value = this.stringify.dtdEntityValue(value), this.internal = !0; - } - return function(child, parent) { - for (var key in parent) hasProp.call(parent, key) && (child[key] = parent[key]); - function ctor() { - this.constructor = child; - } - ctor.prototype = parent.prototype, child.prototype = new ctor, child.__super__ = parent.prototype; - }(XMLDTDEntity, superClass), Object.defineProperty(XMLDTDEntity.prototype, "publicId", { - get: function() { - return this.pubID; - } - }), Object.defineProperty(XMLDTDEntity.prototype, "systemId", { - get: function() { - return this.sysID; - } - }), Object.defineProperty(XMLDTDEntity.prototype, "notationName", { - get: function() { - return this.nData || null; - } - }), Object.defineProperty(XMLDTDEntity.prototype, "inputEncoding", { - get: function() { - return null; - } - }), Object.defineProperty(XMLDTDEntity.prototype, "xmlEncoding", { - get: function() { - return null; - } - }), Object.defineProperty(XMLDTDEntity.prototype, "xmlVersion", { - get: function() { - return null; - } - }), XMLDTDEntity.prototype.toString = function(options) { - return this.options.writer.dtdEntity(this, this.options.writer.filterOptions(options)); - }, XMLDTDEntity; - }(XMLNode); - }).call(this); - }, - 1531: function(module, __unused_webpack_exports, __webpack_require__) { - (function() { - var NodeType, XMLNode, hasProp = {}.hasOwnProperty; - XMLNode = __webpack_require__(6676), NodeType = __webpack_require__(6130), module.exports = function(superClass) { - function XMLDTDNotation(parent, name, value) { - if (XMLDTDNotation.__super__.constructor.call(this, parent), null == name) throw new Error("Missing DTD notation name. " + this.debugInfo(name)); - if (!value.pubID && !value.sysID) throw new Error("Public or system identifiers are required for an external entity. " + this.debugInfo(name)); - this.name = this.stringify.name(name), this.type = NodeType.NotationDeclaration, - null != value.pubID && (this.pubID = this.stringify.dtdPubID(value.pubID)), null != value.sysID && (this.sysID = this.stringify.dtdSysID(value.sysID)); - } - return function(child, parent) { - for (var key in parent) hasProp.call(parent, key) && (child[key] = parent[key]); - function ctor() { - this.constructor = child; - } - ctor.prototype = parent.prototype, child.prototype = new ctor, child.__super__ = parent.prototype; - }(XMLDTDNotation, superClass), Object.defineProperty(XMLDTDNotation.prototype, "publicId", { - get: function() { - return this.pubID; - } - }), Object.defineProperty(XMLDTDNotation.prototype, "systemId", { - get: function() { - return this.sysID; - } - }), XMLDTDNotation.prototype.toString = function(options) { - return this.options.writer.dtdNotation(this, this.options.writer.filterOptions(options)); - }, XMLDTDNotation; - }(XMLNode); - }).call(this); - }, - 9568: function(module, __unused_webpack_exports, __webpack_require__) { - (function() { - var NodeType, XMLNode, isObject, hasProp = {}.hasOwnProperty; - isObject = __webpack_require__(3801).isObject, XMLNode = __webpack_require__(6676), - NodeType = __webpack_require__(6130), module.exports = function(superClass) { - function XMLDeclaration(parent, version, encoding, standalone) { - var ref; - XMLDeclaration.__super__.constructor.call(this, parent), isObject(version) && (version = (ref = version).version, - encoding = ref.encoding, standalone = ref.standalone), version || (version = "1.0"), - this.type = NodeType.Declaration, this.version = this.stringify.xmlVersion(version), - null != encoding && (this.encoding = this.stringify.xmlEncoding(encoding)), null != standalone && (this.standalone = this.stringify.xmlStandalone(standalone)); - } - return function(child, parent) { - for (var key in parent) hasProp.call(parent, key) && (child[key] = parent[key]); - function ctor() { - this.constructor = child; - } - ctor.prototype = parent.prototype, child.prototype = new ctor, child.__super__ = parent.prototype; - }(XMLDeclaration, superClass), XMLDeclaration.prototype.toString = function(options) { - return this.options.writer.declaration(this, this.options.writer.filterOptions(options)); - }, XMLDeclaration; - }(XMLNode); - }).call(this); - }, - 7479: function(module, __unused_webpack_exports, __webpack_require__) { - (function() { - var NodeType, XMLDTDAttList, XMLDTDElement, XMLDTDEntity, XMLDTDNotation, XMLNamedNodeMap, XMLNode, isObject, hasProp = {}.hasOwnProperty; - isObject = __webpack_require__(3801).isObject, XMLNode = __webpack_require__(6676), - NodeType = __webpack_require__(6130), XMLDTDAttList = __webpack_require__(2987), - XMLDTDEntity = __webpack_require__(2115), XMLDTDElement = __webpack_require__(107), - XMLDTDNotation = __webpack_require__(1531), XMLNamedNodeMap = __webpack_require__(2529), - module.exports = function(superClass) { - function XMLDocType(parent, pubID, sysID) { - var child, i, len, ref, ref1, ref2; - if (XMLDocType.__super__.constructor.call(this, parent), this.type = NodeType.DocType, - parent.children) for (i = 0, len = (ref = parent.children).length; i < len; i++) if ((child = ref[i]).type === NodeType.Element) { - this.name = child.name; - break; - } - this.documentObject = parent, isObject(pubID) && (pubID = (ref1 = pubID).pubID, - sysID = ref1.sysID), null == sysID && (sysID = (ref2 = [ pubID, sysID ])[0], pubID = ref2[1]), - null != pubID && (this.pubID = this.stringify.dtdPubID(pubID)), null != sysID && (this.sysID = this.stringify.dtdSysID(sysID)); - } - return function(child, parent) { - for (var key in parent) hasProp.call(parent, key) && (child[key] = parent[key]); - function ctor() { - this.constructor = child; - } - ctor.prototype = parent.prototype, child.prototype = new ctor, child.__super__ = parent.prototype; - }(XMLDocType, superClass), Object.defineProperty(XMLDocType.prototype, "entities", { - get: function() { - var child, i, len, nodes, ref; - for (nodes = {}, i = 0, len = (ref = this.children).length; i < len; i++) (child = ref[i]).type !== NodeType.EntityDeclaration || child.pe || (nodes[child.name] = child); - return new XMLNamedNodeMap(nodes); - } - }), Object.defineProperty(XMLDocType.prototype, "notations", { - get: function() { - var child, i, len, nodes, ref; - for (nodes = {}, i = 0, len = (ref = this.children).length; i < len; i++) (child = ref[i]).type === NodeType.NotationDeclaration && (nodes[child.name] = child); - return new XMLNamedNodeMap(nodes); - } - }), Object.defineProperty(XMLDocType.prototype, "publicId", { - get: function() { - return this.pubID; - } - }), Object.defineProperty(XMLDocType.prototype, "systemId", { - get: function() { - return this.sysID; - } - }), Object.defineProperty(XMLDocType.prototype, "internalSubset", { - get: function() { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - } - }), XMLDocType.prototype.element = function(name, value) { - var child; - return child = new XMLDTDElement(this, name, value), this.children.push(child), - this; - }, XMLDocType.prototype.attList = function(elementName, attributeName, attributeType, defaultValueType, defaultValue) { - var child; - return child = new XMLDTDAttList(this, elementName, attributeName, attributeType, defaultValueType, defaultValue), - this.children.push(child), this; - }, XMLDocType.prototype.entity = function(name, value) { - var child; - return child = new XMLDTDEntity(this, !1, name, value), this.children.push(child), - this; - }, XMLDocType.prototype.pEntity = function(name, value) { - var child; - return child = new XMLDTDEntity(this, !0, name, value), this.children.push(child), - this; - }, XMLDocType.prototype.notation = function(name, value) { - var child; - return child = new XMLDTDNotation(this, name, value), this.children.push(child), - this; - }, XMLDocType.prototype.toString = function(options) { - return this.options.writer.docType(this, this.options.writer.filterOptions(options)); - }, XMLDocType.prototype.ele = function(name, value) { - return this.element(name, value); - }, XMLDocType.prototype.att = function(elementName, attributeName, attributeType, defaultValueType, defaultValue) { - return this.attList(elementName, attributeName, attributeType, defaultValueType, defaultValue); - }, XMLDocType.prototype.ent = function(name, value) { - return this.entity(name, value); - }, XMLDocType.prototype.pent = function(name, value) { - return this.pEntity(name, value); - }, XMLDocType.prototype.not = function(name, value) { - return this.notation(name, value); - }, XMLDocType.prototype.up = function() { - return this.root() || this.documentObject; - }, XMLDocType.prototype.isEqualNode = function(node) { - return !!XMLDocType.__super__.isEqualNode.apply(this, arguments).isEqualNode(node) && (node.name === this.name && (node.publicId === this.publicId && node.systemId === this.systemId)); - }, XMLDocType; - }(XMLNode); - }).call(this); - }, - 7515: function(module, __unused_webpack_exports, __webpack_require__) { - (function() { - var NodeType, XMLDOMConfiguration, XMLDOMImplementation, XMLNode, XMLStringWriter, XMLStringifier, isPlainObject, hasProp = {}.hasOwnProperty; - isPlainObject = __webpack_require__(3801).isPlainObject, XMLDOMImplementation = __webpack_require__(8558), - XMLDOMConfiguration = __webpack_require__(8162), XMLNode = __webpack_require__(6676), - NodeType = __webpack_require__(6130), XMLStringifier = __webpack_require__(3824), - XMLStringWriter = __webpack_require__(1278), module.exports = function(superClass) { - function XMLDocument(options) { - XMLDocument.__super__.constructor.call(this, null), this.name = "#document", this.type = NodeType.Document, - this.documentURI = null, this.domConfig = new XMLDOMConfiguration, options || (options = {}), - options.writer || (options.writer = new XMLStringWriter), this.options = options, - this.stringify = new XMLStringifier(options); - } - return function(child, parent) { - for (var key in parent) hasProp.call(parent, key) && (child[key] = parent[key]); - function ctor() { - this.constructor = child; - } - ctor.prototype = parent.prototype, child.prototype = new ctor, child.__super__ = parent.prototype; - }(XMLDocument, superClass), Object.defineProperty(XMLDocument.prototype, "implementation", { - value: new XMLDOMImplementation - }), Object.defineProperty(XMLDocument.prototype, "doctype", { - get: function() { - var child, i, len, ref; - for (i = 0, len = (ref = this.children).length; i < len; i++) if ((child = ref[i]).type === NodeType.DocType) return child; - return null; - } - }), Object.defineProperty(XMLDocument.prototype, "documentElement", { - get: function() { - return this.rootObject || null; - } - }), Object.defineProperty(XMLDocument.prototype, "inputEncoding", { - get: function() { - return null; - } - }), Object.defineProperty(XMLDocument.prototype, "strictErrorChecking", { - get: function() { - return !1; - } - }), Object.defineProperty(XMLDocument.prototype, "xmlEncoding", { - get: function() { - return 0 !== this.children.length && this.children[0].type === NodeType.Declaration ? this.children[0].encoding : null; - } - }), Object.defineProperty(XMLDocument.prototype, "xmlStandalone", { - get: function() { - return 0 !== this.children.length && this.children[0].type === NodeType.Declaration && "yes" === this.children[0].standalone; - } - }), Object.defineProperty(XMLDocument.prototype, "xmlVersion", { - get: function() { - return 0 !== this.children.length && this.children[0].type === NodeType.Declaration ? this.children[0].version : "1.0"; - } - }), Object.defineProperty(XMLDocument.prototype, "URL", { - get: function() { - return this.documentURI; - } - }), Object.defineProperty(XMLDocument.prototype, "origin", { - get: function() { - return null; - } - }), Object.defineProperty(XMLDocument.prototype, "compatMode", { - get: function() { - return null; - } - }), Object.defineProperty(XMLDocument.prototype, "characterSet", { - get: function() { - return null; - } - }), Object.defineProperty(XMLDocument.prototype, "contentType", { - get: function() { - return null; - } - }), XMLDocument.prototype.end = function(writer) { - var writerOptions; - return writerOptions = {}, writer ? isPlainObject(writer) && (writerOptions = writer, - writer = this.options.writer) : writer = this.options.writer, writer.document(this, writer.filterOptions(writerOptions)); - }, XMLDocument.prototype.toString = function(options) { - return this.options.writer.document(this, this.options.writer.filterOptions(options)); - }, XMLDocument.prototype.createElement = function(tagName) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLDocument.prototype.createDocumentFragment = function() { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLDocument.prototype.createTextNode = function(data) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLDocument.prototype.createComment = function(data) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLDocument.prototype.createCDATASection = function(data) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLDocument.prototype.createProcessingInstruction = function(target, data) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLDocument.prototype.createAttribute = function(name) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLDocument.prototype.createEntityReference = function(name) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLDocument.prototype.getElementsByTagName = function(tagname) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLDocument.prototype.importNode = function(importedNode, deep) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLDocument.prototype.createElementNS = function(namespaceURI, qualifiedName) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLDocument.prototype.createAttributeNS = function(namespaceURI, qualifiedName) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLDocument.prototype.getElementsByTagNameNS = function(namespaceURI, localName) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLDocument.prototype.getElementById = function(elementId) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLDocument.prototype.adoptNode = function(source) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLDocument.prototype.normalizeDocument = function() { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLDocument.prototype.renameNode = function(node, namespaceURI, qualifiedName) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLDocument.prototype.getElementsByClassName = function(classNames) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLDocument.prototype.createEvent = function(eventInterface) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLDocument.prototype.createRange = function() { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLDocument.prototype.createNodeIterator = function(root, whatToShow, filter) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLDocument.prototype.createTreeWalker = function(root, whatToShow, filter) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLDocument; - }(XMLNode); - }).call(this); - }, - 4241: function(module, __unused_webpack_exports, __webpack_require__) { - (function() { - var NodeType, WriterState, XMLAttribute, XMLCData, XMLComment, XMLDTDAttList, XMLDTDElement, XMLDTDEntity, XMLDTDNotation, XMLDeclaration, XMLDocType, XMLDocument, XMLElement, XMLProcessingInstruction, XMLRaw, XMLStringWriter, XMLStringifier, XMLText, getValue, isFunction, isObject, isPlainObject, ref, hasProp = {}.hasOwnProperty; - ref = __webpack_require__(3801), isObject = ref.isObject, isFunction = ref.isFunction, - isPlainObject = ref.isPlainObject, getValue = ref.getValue, NodeType = __webpack_require__(6130), - XMLDocument = __webpack_require__(7515), XMLElement = __webpack_require__(5956), - XMLCData = __webpack_require__(5122), XMLComment = __webpack_require__(8369), XMLRaw = __webpack_require__(9593), - XMLText = __webpack_require__(2433), XMLProcessingInstruction = __webpack_require__(7037), - XMLDeclaration = __webpack_require__(9568), XMLDocType = __webpack_require__(7479), - XMLDTDAttList = __webpack_require__(2987), XMLDTDEntity = __webpack_require__(2115), - XMLDTDElement = __webpack_require__(107), XMLDTDNotation = __webpack_require__(1531), - XMLAttribute = __webpack_require__(3450), XMLStringifier = __webpack_require__(3824), - XMLStringWriter = __webpack_require__(1278), WriterState = __webpack_require__(6379), - module.exports = function() { - function XMLDocumentCB(options, onData, onEnd) { - var writerOptions; - this.name = "?xml", this.type = NodeType.Document, options || (options = {}), writerOptions = {}, - options.writer ? isPlainObject(options.writer) && (writerOptions = options.writer, - options.writer = new XMLStringWriter) : options.writer = new XMLStringWriter, this.options = options, - this.writer = options.writer, this.writerOptions = this.writer.filterOptions(writerOptions), - this.stringify = new XMLStringifier(options), this.onDataCallback = onData || function() {}, - this.onEndCallback = onEnd || function() {}, this.currentNode = null, this.currentLevel = -1, - this.openTags = {}, this.documentStarted = !1, this.documentCompleted = !1, this.root = null; - } - return XMLDocumentCB.prototype.createChildNode = function(node) { - var att, attName, attributes, child, i, len, ref1, ref2; - switch (node.type) { - case NodeType.CData: - this.cdata(node.value); - break; - - case NodeType.Comment: - this.comment(node.value); - break; - - case NodeType.Element: - for (attName in attributes = {}, ref1 = node.attribs) hasProp.call(ref1, attName) && (att = ref1[attName], - attributes[attName] = att.value); - this.node(node.name, attributes); - break; - - case NodeType.Dummy: - this.dummy(); - break; - - case NodeType.Raw: - this.raw(node.value); - break; - - case NodeType.Text: - this.text(node.value); - break; - - case NodeType.ProcessingInstruction: - this.instruction(node.target, node.value); - break; - - default: - throw new Error("This XML node type is not supported in a JS object: " + node.constructor.name); - } - for (i = 0, len = (ref2 = node.children).length; i < len; i++) child = ref2[i], - this.createChildNode(child), child.type === NodeType.Element && this.up(); - return this; - }, XMLDocumentCB.prototype.dummy = function() { - return this; - }, XMLDocumentCB.prototype.node = function(name, attributes, text) { - var ref1; - if (null == name) throw new Error("Missing node name."); - if (this.root && -1 === this.currentLevel) throw new Error("Document can only have one root node. " + this.debugInfo(name)); - return this.openCurrent(), name = getValue(name), null == attributes && (attributes = {}), - attributes = getValue(attributes), isObject(attributes) || (text = (ref1 = [ attributes, text ])[0], - attributes = ref1[1]), this.currentNode = new XMLElement(this, name, attributes), - this.currentNode.children = !1, this.currentLevel++, this.openTags[this.currentLevel] = this.currentNode, - null != text && this.text(text), this; - }, XMLDocumentCB.prototype.element = function(name, attributes, text) { - var child, i, len, oldValidationFlag, ref1, root; - if (this.currentNode && this.currentNode.type === NodeType.DocType) this.dtdElement.apply(this, arguments); else if (Array.isArray(name) || isObject(name) || isFunction(name)) for (oldValidationFlag = this.options.noValidation, - this.options.noValidation = !0, (root = new XMLDocument(this.options).element("TEMP_ROOT")).element(name), - this.options.noValidation = oldValidationFlag, i = 0, len = (ref1 = root.children).length; i < len; i++) child = ref1[i], - this.createChildNode(child), child.type === NodeType.Element && this.up(); else this.node(name, attributes, text); - return this; - }, XMLDocumentCB.prototype.attribute = function(name, value) { - var attName, attValue; - if (!this.currentNode || this.currentNode.children) throw new Error("att() can only be used immediately after an ele() call in callback mode. " + this.debugInfo(name)); - if (null != name && (name = getValue(name)), isObject(name)) for (attName in name) hasProp.call(name, attName) && (attValue = name[attName], - this.attribute(attName, attValue)); else isFunction(value) && (value = value.apply()), - this.options.keepNullAttributes && null == value ? this.currentNode.attribs[name] = new XMLAttribute(this, name, "") : null != value && (this.currentNode.attribs[name] = new XMLAttribute(this, name, value)); - return this; - }, XMLDocumentCB.prototype.text = function(value) { - var node; - return this.openCurrent(), node = new XMLText(this, value), this.onData(this.writer.text(node, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1), - this; - }, XMLDocumentCB.prototype.cdata = function(value) { - var node; - return this.openCurrent(), node = new XMLCData(this, value), this.onData(this.writer.cdata(node, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1), - this; - }, XMLDocumentCB.prototype.comment = function(value) { - var node; - return this.openCurrent(), node = new XMLComment(this, value), this.onData(this.writer.comment(node, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1), - this; - }, XMLDocumentCB.prototype.raw = function(value) { - var node; - return this.openCurrent(), node = new XMLRaw(this, value), this.onData(this.writer.raw(node, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1), - this; - }, XMLDocumentCB.prototype.instruction = function(target, value) { - var i, insTarget, insValue, len, node; - if (this.openCurrent(), null != target && (target = getValue(target)), null != value && (value = getValue(value)), - Array.isArray(target)) for (i = 0, len = target.length; i < len; i++) insTarget = target[i], - this.instruction(insTarget); else if (isObject(target)) for (insTarget in target) hasProp.call(target, insTarget) && (insValue = target[insTarget], - this.instruction(insTarget, insValue)); else isFunction(value) && (value = value.apply()), - node = new XMLProcessingInstruction(this, target, value), this.onData(this.writer.processingInstruction(node, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1); - return this; - }, XMLDocumentCB.prototype.declaration = function(version, encoding, standalone) { - var node; - if (this.openCurrent(), this.documentStarted) throw new Error("declaration() must be the first node."); - return node = new XMLDeclaration(this, version, encoding, standalone), this.onData(this.writer.declaration(node, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1), - this; - }, XMLDocumentCB.prototype.doctype = function(root, pubID, sysID) { - if (this.openCurrent(), null == root) throw new Error("Missing root node name."); - if (this.root) throw new Error("dtd() must come before the root node."); - return this.currentNode = new XMLDocType(this, pubID, sysID), this.currentNode.rootNodeName = root, - this.currentNode.children = !1, this.currentLevel++, this.openTags[this.currentLevel] = this.currentNode, - this; - }, XMLDocumentCB.prototype.dtdElement = function(name, value) { - var node; - return this.openCurrent(), node = new XMLDTDElement(this, name, value), this.onData(this.writer.dtdElement(node, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1), - this; - }, XMLDocumentCB.prototype.attList = function(elementName, attributeName, attributeType, defaultValueType, defaultValue) { - var node; - return this.openCurrent(), node = new XMLDTDAttList(this, elementName, attributeName, attributeType, defaultValueType, defaultValue), - this.onData(this.writer.dtdAttList(node, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1), - this; - }, XMLDocumentCB.prototype.entity = function(name, value) { - var node; - return this.openCurrent(), node = new XMLDTDEntity(this, !1, name, value), this.onData(this.writer.dtdEntity(node, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1), - this; - }, XMLDocumentCB.prototype.pEntity = function(name, value) { - var node; - return this.openCurrent(), node = new XMLDTDEntity(this, !0, name, value), this.onData(this.writer.dtdEntity(node, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1), - this; - }, XMLDocumentCB.prototype.notation = function(name, value) { - var node; - return this.openCurrent(), node = new XMLDTDNotation(this, name, value), this.onData(this.writer.dtdNotation(node, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1), - this; - }, XMLDocumentCB.prototype.up = function() { - if (this.currentLevel < 0) throw new Error("The document node has no parent."); - return this.currentNode ? (this.currentNode.children ? this.closeNode(this.currentNode) : this.openNode(this.currentNode), - this.currentNode = null) : this.closeNode(this.openTags[this.currentLevel]), delete this.openTags[this.currentLevel], - this.currentLevel--, this; - }, XMLDocumentCB.prototype.end = function() { - for (;this.currentLevel >= 0; ) this.up(); - return this.onEnd(); - }, XMLDocumentCB.prototype.openCurrent = function() { - if (this.currentNode) return this.currentNode.children = !0, this.openNode(this.currentNode); - }, XMLDocumentCB.prototype.openNode = function(node) { - var att, chunk, name, ref1; - if (!node.isOpen) { - if (this.root || 0 !== this.currentLevel || node.type !== NodeType.Element || (this.root = node), - chunk = "", node.type === NodeType.Element) { - for (name in this.writerOptions.state = WriterState.OpenTag, chunk = this.writer.indent(node, this.writerOptions, this.currentLevel) + "<" + node.name, - ref1 = node.attribs) hasProp.call(ref1, name) && (att = ref1[name], chunk += this.writer.attribute(att, this.writerOptions, this.currentLevel)); - chunk += (node.children ? ">" : "/>") + this.writer.endline(node, this.writerOptions, this.currentLevel), - this.writerOptions.state = WriterState.InsideTag; - } else this.writerOptions.state = WriterState.OpenTag, chunk = this.writer.indent(node, this.writerOptions, this.currentLevel) + ""), chunk += this.writer.endline(node, this.writerOptions, this.currentLevel); - return this.onData(chunk, this.currentLevel), node.isOpen = !0; - } - }, XMLDocumentCB.prototype.closeNode = function(node) { - var chunk; - if (!node.isClosed) return chunk = "", this.writerOptions.state = WriterState.CloseTag, - chunk = node.type === NodeType.Element ? this.writer.indent(node, this.writerOptions, this.currentLevel) + "" + this.writer.endline(node, this.writerOptions, this.currentLevel) : this.writer.indent(node, this.writerOptions, this.currentLevel) + "]>" + this.writer.endline(node, this.writerOptions, this.currentLevel), - this.writerOptions.state = WriterState.None, this.onData(chunk, this.currentLevel), - node.isClosed = !0; - }, XMLDocumentCB.prototype.onData = function(chunk, level) { - return this.documentStarted = !0, this.onDataCallback(chunk, level + 1); - }, XMLDocumentCB.prototype.onEnd = function() { - return this.documentCompleted = !0, this.onEndCallback(); - }, XMLDocumentCB.prototype.debugInfo = function(name) { - return null == name ? "" : "node: <" + name + ">"; - }, XMLDocumentCB.prototype.ele = function() { - return this.element.apply(this, arguments); - }, XMLDocumentCB.prototype.nod = function(name, attributes, text) { - return this.node(name, attributes, text); - }, XMLDocumentCB.prototype.txt = function(value) { - return this.text(value); - }, XMLDocumentCB.prototype.dat = function(value) { - return this.cdata(value); - }, XMLDocumentCB.prototype.com = function(value) { - return this.comment(value); - }, XMLDocumentCB.prototype.ins = function(target, value) { - return this.instruction(target, value); - }, XMLDocumentCB.prototype.dec = function(version, encoding, standalone) { - return this.declaration(version, encoding, standalone); - }, XMLDocumentCB.prototype.dtd = function(root, pubID, sysID) { - return this.doctype(root, pubID, sysID); - }, XMLDocumentCB.prototype.e = function(name, attributes, text) { - return this.element(name, attributes, text); - }, XMLDocumentCB.prototype.n = function(name, attributes, text) { - return this.node(name, attributes, text); - }, XMLDocumentCB.prototype.t = function(value) { - return this.text(value); - }, XMLDocumentCB.prototype.d = function(value) { - return this.cdata(value); - }, XMLDocumentCB.prototype.c = function(value) { - return this.comment(value); - }, XMLDocumentCB.prototype.r = function(value) { - return this.raw(value); - }, XMLDocumentCB.prototype.i = function(target, value) { - return this.instruction(target, value); - }, XMLDocumentCB.prototype.att = function() { - return this.currentNode && this.currentNode.type === NodeType.DocType ? this.attList.apply(this, arguments) : this.attribute.apply(this, arguments); - }, XMLDocumentCB.prototype.a = function() { - return this.currentNode && this.currentNode.type === NodeType.DocType ? this.attList.apply(this, arguments) : this.attribute.apply(this, arguments); - }, XMLDocumentCB.prototype.ent = function(name, value) { - return this.entity(name, value); - }, XMLDocumentCB.prototype.pent = function(name, value) { - return this.pEntity(name, value); - }, XMLDocumentCB.prototype.not = function(name, value) { - return this.notation(name, value); - }, XMLDocumentCB; - }(); - }).call(this); - }, - 1573: function(module, __unused_webpack_exports, __webpack_require__) { - (function() { - var NodeType, XMLNode, hasProp = {}.hasOwnProperty; - XMLNode = __webpack_require__(6676), NodeType = __webpack_require__(6130), module.exports = function(superClass) { - function XMLDummy(parent) { - XMLDummy.__super__.constructor.call(this, parent), this.type = NodeType.Dummy; - } - return function(child, parent) { - for (var key in parent) hasProp.call(parent, key) && (child[key] = parent[key]); - function ctor() { - this.constructor = child; - } - ctor.prototype = parent.prototype, child.prototype = new ctor, child.__super__ = parent.prototype; - }(XMLDummy, superClass), XMLDummy.prototype.clone = function() { - return Object.create(this); - }, XMLDummy.prototype.toString = function(options) { - return ""; - }, XMLDummy; - }(XMLNode); - }).call(this); - }, - 5956: function(module, __unused_webpack_exports, __webpack_require__) { - (function() { - var NodeType, XMLAttribute, XMLNamedNodeMap, XMLNode, getValue, isFunction, isObject, ref, hasProp = {}.hasOwnProperty; - ref = __webpack_require__(3801), isObject = ref.isObject, isFunction = ref.isFunction, - getValue = ref.getValue, XMLNode = __webpack_require__(6676), NodeType = __webpack_require__(6130), - XMLAttribute = __webpack_require__(3450), XMLNamedNodeMap = __webpack_require__(2529), - module.exports = function(superClass) { - function XMLElement(parent, name, attributes) { - var child, j, len, ref1; - if (XMLElement.__super__.constructor.call(this, parent), null == name) throw new Error("Missing element name. " + this.debugInfo()); - if (this.name = this.stringify.name(name), this.type = NodeType.Element, this.attribs = {}, - this.schemaTypeInfo = null, null != attributes && this.attribute(attributes), parent.type === NodeType.Document && (this.isRoot = !0, - this.documentObject = parent, parent.rootObject = this, parent.children)) for (j = 0, - len = (ref1 = parent.children).length; j < len; j++) if ((child = ref1[j]).type === NodeType.DocType) { - child.name = this.name; - break; - } - } - return function(child, parent) { - for (var key in parent) hasProp.call(parent, key) && (child[key] = parent[key]); - function ctor() { - this.constructor = child; - } - ctor.prototype = parent.prototype, child.prototype = new ctor, child.__super__ = parent.prototype; - }(XMLElement, superClass), Object.defineProperty(XMLElement.prototype, "tagName", { - get: function() { - return this.name; - } - }), Object.defineProperty(XMLElement.prototype, "namespaceURI", { - get: function() { - return ""; - } - }), Object.defineProperty(XMLElement.prototype, "prefix", { - get: function() { - return ""; - } - }), Object.defineProperty(XMLElement.prototype, "localName", { - get: function() { - return this.name; - } - }), Object.defineProperty(XMLElement.prototype, "id", { - get: function() { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - } - }), Object.defineProperty(XMLElement.prototype, "className", { - get: function() { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - } - }), Object.defineProperty(XMLElement.prototype, "classList", { - get: function() { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - } - }), Object.defineProperty(XMLElement.prototype, "attributes", { - get: function() { - return this.attributeMap && this.attributeMap.nodes || (this.attributeMap = new XMLNamedNodeMap(this.attribs)), - this.attributeMap; - } - }), XMLElement.prototype.clone = function() { - var att, attName, clonedSelf, ref1; - for (attName in (clonedSelf = Object.create(this)).isRoot && (clonedSelf.documentObject = null), - clonedSelf.attribs = {}, ref1 = this.attribs) hasProp.call(ref1, attName) && (att = ref1[attName], - clonedSelf.attribs[attName] = att.clone()); - return clonedSelf.children = [], this.children.forEach((function(child) { - var clonedChild; - return (clonedChild = child.clone()).parent = clonedSelf, clonedSelf.children.push(clonedChild); - })), clonedSelf; - }, XMLElement.prototype.attribute = function(name, value) { - var attName, attValue; - if (null != name && (name = getValue(name)), isObject(name)) for (attName in name) hasProp.call(name, attName) && (attValue = name[attName], - this.attribute(attName, attValue)); else isFunction(value) && (value = value.apply()), - this.options.keepNullAttributes && null == value ? this.attribs[name] = new XMLAttribute(this, name, "") : null != value && (this.attribs[name] = new XMLAttribute(this, name, value)); - return this; - }, XMLElement.prototype.removeAttribute = function(name) { - var attName, j, len; - if (null == name) throw new Error("Missing attribute name. " + this.debugInfo()); - if (name = getValue(name), Array.isArray(name)) for (j = 0, len = name.length; j < len; j++) attName = name[j], - delete this.attribs[attName]; else delete this.attribs[name]; - return this; - }, XMLElement.prototype.toString = function(options) { - return this.options.writer.element(this, this.options.writer.filterOptions(options)); - }, XMLElement.prototype.att = function(name, value) { - return this.attribute(name, value); - }, XMLElement.prototype.a = function(name, value) { - return this.attribute(name, value); - }, XMLElement.prototype.getAttribute = function(name) { - return this.attribs.hasOwnProperty(name) ? this.attribs[name].value : null; - }, XMLElement.prototype.setAttribute = function(name, value) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLElement.prototype.getAttributeNode = function(name) { - return this.attribs.hasOwnProperty(name) ? this.attribs[name] : null; - }, XMLElement.prototype.setAttributeNode = function(newAttr) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLElement.prototype.removeAttributeNode = function(oldAttr) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLElement.prototype.getElementsByTagName = function(name) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLElement.prototype.getAttributeNS = function(namespaceURI, localName) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLElement.prototype.setAttributeNS = function(namespaceURI, qualifiedName, value) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLElement.prototype.removeAttributeNS = function(namespaceURI, localName) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLElement.prototype.getAttributeNodeNS = function(namespaceURI, localName) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLElement.prototype.setAttributeNodeNS = function(newAttr) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLElement.prototype.getElementsByTagNameNS = function(namespaceURI, localName) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLElement.prototype.hasAttribute = function(name) { - return this.attribs.hasOwnProperty(name); - }, XMLElement.prototype.hasAttributeNS = function(namespaceURI, localName) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLElement.prototype.setIdAttribute = function(name, isId) { - return this.attribs.hasOwnProperty(name) ? this.attribs[name].isId : isId; - }, XMLElement.prototype.setIdAttributeNS = function(namespaceURI, localName, isId) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLElement.prototype.setIdAttributeNode = function(idAttr, isId) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLElement.prototype.getElementsByTagName = function(tagname) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLElement.prototype.getElementsByTagNameNS = function(namespaceURI, localName) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLElement.prototype.getElementsByClassName = function(classNames) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLElement.prototype.isEqualNode = function(node) { - var i, j, ref1; - if (!XMLElement.__super__.isEqualNode.apply(this, arguments).isEqualNode(node)) return !1; - if (node.namespaceURI !== this.namespaceURI) return !1; - if (node.prefix !== this.prefix) return !1; - if (node.localName !== this.localName) return !1; - if (node.attribs.length !== this.attribs.length) return !1; - for (i = j = 0, ref1 = this.attribs.length - 1; 0 <= ref1 ? j <= ref1 : j >= ref1; i = 0 <= ref1 ? ++j : --j) if (!this.attribs[i].isEqualNode(node.attribs[i])) return !1; - return !0; - }, XMLElement; - }(XMLNode); - }).call(this); - }, - 2529: function(module) { - (function() { - module.exports = function() { - function XMLNamedNodeMap(nodes) { - this.nodes = nodes; - } - return Object.defineProperty(XMLNamedNodeMap.prototype, "length", { - get: function() { - return Object.keys(this.nodes).length || 0; - } - }), XMLNamedNodeMap.prototype.clone = function() { - return this.nodes = null; - }, XMLNamedNodeMap.prototype.getNamedItem = function(name) { - return this.nodes[name]; - }, XMLNamedNodeMap.prototype.setNamedItem = function(node) { - var oldNode; - return oldNode = this.nodes[node.nodeName], this.nodes[node.nodeName] = node, oldNode || null; - }, XMLNamedNodeMap.prototype.removeNamedItem = function(name) { - var oldNode; - return oldNode = this.nodes[name], delete this.nodes[name], oldNode || null; - }, XMLNamedNodeMap.prototype.item = function(index) { - return this.nodes[Object.keys(this.nodes)[index]] || null; - }, XMLNamedNodeMap.prototype.getNamedItemNS = function(namespaceURI, localName) { - throw new Error("This DOM method is not implemented."); - }, XMLNamedNodeMap.prototype.setNamedItemNS = function(node) { - throw new Error("This DOM method is not implemented."); - }, XMLNamedNodeMap.prototype.removeNamedItemNS = function(namespaceURI, localName) { - throw new Error("This DOM method is not implemented."); - }, XMLNamedNodeMap; - }(); - }).call(this); - }, - 6676: function(module, __unused_webpack_exports, __webpack_require__) { - (function() { - var DocumentPosition, NodeType, XMLCData, XMLComment, XMLDeclaration, XMLDocType, XMLDummy, XMLElement, XMLNodeList, XMLProcessingInstruction, XMLRaw, XMLText, getValue, isEmpty, isFunction, isObject, ref1, hasProp = {}.hasOwnProperty; - ref1 = __webpack_require__(3801), isObject = ref1.isObject, isFunction = ref1.isFunction, - isEmpty = ref1.isEmpty, getValue = ref1.getValue, XMLElement = null, XMLCData = null, - XMLComment = null, XMLDeclaration = null, XMLDocType = null, XMLRaw = null, XMLText = null, - XMLProcessingInstruction = null, XMLDummy = null, NodeType = null, XMLNodeList = null, - DocumentPosition = null, module.exports = function() { - function XMLNode(parent1) { - this.parent = parent1, this.parent && (this.options = this.parent.options, this.stringify = this.parent.stringify), - this.value = null, this.children = [], this.baseURI = null, XMLElement || (XMLElement = __webpack_require__(5956), - XMLCData = __webpack_require__(5122), XMLComment = __webpack_require__(8369), XMLDeclaration = __webpack_require__(9568), - XMLDocType = __webpack_require__(7479), XMLRaw = __webpack_require__(9593), XMLText = __webpack_require__(2433), - XMLProcessingInstruction = __webpack_require__(7037), XMLDummy = __webpack_require__(1573), - NodeType = __webpack_require__(6130), XMLNodeList = __webpack_require__(9680), __webpack_require__(2529), - DocumentPosition = __webpack_require__(7322)); - } - return Object.defineProperty(XMLNode.prototype, "nodeName", { - get: function() { - return this.name; - } - }), Object.defineProperty(XMLNode.prototype, "nodeType", { - get: function() { - return this.type; - } - }), Object.defineProperty(XMLNode.prototype, "nodeValue", { - get: function() { - return this.value; - } - }), Object.defineProperty(XMLNode.prototype, "parentNode", { - get: function() { - return this.parent; - } - }), Object.defineProperty(XMLNode.prototype, "childNodes", { - get: function() { - return this.childNodeList && this.childNodeList.nodes || (this.childNodeList = new XMLNodeList(this.children)), - this.childNodeList; - } - }), Object.defineProperty(XMLNode.prototype, "firstChild", { - get: function() { - return this.children[0] || null; - } - }), Object.defineProperty(XMLNode.prototype, "lastChild", { - get: function() { - return this.children[this.children.length - 1] || null; - } - }), Object.defineProperty(XMLNode.prototype, "previousSibling", { - get: function() { - var i; - return i = this.parent.children.indexOf(this), this.parent.children[i - 1] || null; - } - }), Object.defineProperty(XMLNode.prototype, "nextSibling", { - get: function() { - var i; - return i = this.parent.children.indexOf(this), this.parent.children[i + 1] || null; - } - }), Object.defineProperty(XMLNode.prototype, "ownerDocument", { - get: function() { - return this.document() || null; - } - }), Object.defineProperty(XMLNode.prototype, "textContent", { - get: function() { - var child, j, len, ref2, str; - if (this.nodeType === NodeType.Element || this.nodeType === NodeType.DocumentFragment) { - for (str = "", j = 0, len = (ref2 = this.children).length; j < len; j++) (child = ref2[j]).textContent && (str += child.textContent); - return str; - } - return null; - }, - set: function(value) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - } - }), XMLNode.prototype.setParent = function(parent) { - var child, j, len, ref2, results; - for (this.parent = parent, parent && (this.options = parent.options, this.stringify = parent.stringify), - results = [], j = 0, len = (ref2 = this.children).length; j < len; j++) child = ref2[j], - results.push(child.setParent(this)); - return results; - }, XMLNode.prototype.element = function(name, attributes, text) { - var childNode, item, j, k, key, lastChild, len, len1, ref2, ref3, val; - if (lastChild = null, null === attributes && null == text && (attributes = (ref2 = [ {}, null ])[0], - text = ref2[1]), null == attributes && (attributes = {}), attributes = getValue(attributes), - isObject(attributes) || (text = (ref3 = [ attributes, text ])[0], attributes = ref3[1]), - null != name && (name = getValue(name)), Array.isArray(name)) for (j = 0, len = name.length; j < len; j++) item = name[j], - lastChild = this.element(item); else if (isFunction(name)) lastChild = this.element(name.apply()); else if (isObject(name)) { - for (key in name) if (hasProp.call(name, key)) if (val = name[key], isFunction(val) && (val = val.apply()), - !this.options.ignoreDecorators && this.stringify.convertAttKey && 0 === key.indexOf(this.stringify.convertAttKey)) lastChild = this.attribute(key.substr(this.stringify.convertAttKey.length), val); else if (!this.options.separateArrayItems && Array.isArray(val) && isEmpty(val)) lastChild = this.dummy(); else if (isObject(val) && isEmpty(val)) lastChild = this.element(key); else if (this.options.keepNullNodes || null != val) if (!this.options.separateArrayItems && Array.isArray(val)) for (k = 0, - len1 = val.length; k < len1; k++) item = val[k], (childNode = {})[key] = item, lastChild = this.element(childNode); else isObject(val) ? !this.options.ignoreDecorators && this.stringify.convertTextKey && 0 === key.indexOf(this.stringify.convertTextKey) ? lastChild = this.element(val) : (lastChild = this.element(key)).element(val) : lastChild = this.element(key, val); else lastChild = this.dummy(); - } else lastChild = this.options.keepNullNodes || null !== text ? !this.options.ignoreDecorators && this.stringify.convertTextKey && 0 === name.indexOf(this.stringify.convertTextKey) ? this.text(text) : !this.options.ignoreDecorators && this.stringify.convertCDataKey && 0 === name.indexOf(this.stringify.convertCDataKey) ? this.cdata(text) : !this.options.ignoreDecorators && this.stringify.convertCommentKey && 0 === name.indexOf(this.stringify.convertCommentKey) ? this.comment(text) : !this.options.ignoreDecorators && this.stringify.convertRawKey && 0 === name.indexOf(this.stringify.convertRawKey) ? this.raw(text) : !this.options.ignoreDecorators && this.stringify.convertPIKey && 0 === name.indexOf(this.stringify.convertPIKey) ? this.instruction(name.substr(this.stringify.convertPIKey.length), text) : this.node(name, attributes, text) : this.dummy(); - if (null == lastChild) throw new Error("Could not create any elements with: " + name + ". " + this.debugInfo()); - return lastChild; - }, XMLNode.prototype.insertBefore = function(name, attributes, text) { - var child, i, newChild, refChild, removed; - if (null != name ? name.type : void 0) return refChild = attributes, (newChild = name).setParent(this), - refChild ? (i = children.indexOf(refChild), removed = children.splice(i), children.push(newChild), - Array.prototype.push.apply(children, removed)) : children.push(newChild), newChild; - if (this.isRoot) throw new Error("Cannot insert elements at root level. " + this.debugInfo(name)); - return i = this.parent.children.indexOf(this), removed = this.parent.children.splice(i), - child = this.parent.element(name, attributes, text), Array.prototype.push.apply(this.parent.children, removed), - child; - }, XMLNode.prototype.insertAfter = function(name, attributes, text) { - var child, i, removed; - if (this.isRoot) throw new Error("Cannot insert elements at root level. " + this.debugInfo(name)); - return i = this.parent.children.indexOf(this), removed = this.parent.children.splice(i + 1), - child = this.parent.element(name, attributes, text), Array.prototype.push.apply(this.parent.children, removed), - child; - }, XMLNode.prototype.remove = function() { - var i; - if (this.isRoot) throw new Error("Cannot remove the root element. " + this.debugInfo()); - return i = this.parent.children.indexOf(this), [].splice.apply(this.parent.children, [ i, i - i + 1 ].concat([])), - this.parent; - }, XMLNode.prototype.node = function(name, attributes, text) { - var child, ref2; - return null != name && (name = getValue(name)), attributes || (attributes = {}), - attributes = getValue(attributes), isObject(attributes) || (text = (ref2 = [ attributes, text ])[0], - attributes = ref2[1]), child = new XMLElement(this, name, attributes), null != text && child.text(text), - this.children.push(child), child; - }, XMLNode.prototype.text = function(value) { - var child; - return isObject(value) && this.element(value), child = new XMLText(this, value), - this.children.push(child), this; - }, XMLNode.prototype.cdata = function(value) { - var child; - return child = new XMLCData(this, value), this.children.push(child), this; - }, XMLNode.prototype.comment = function(value) { - var child; - return child = new XMLComment(this, value), this.children.push(child), this; - }, XMLNode.prototype.commentBefore = function(value) { - var i, removed; - return i = this.parent.children.indexOf(this), removed = this.parent.children.splice(i), - this.parent.comment(value), Array.prototype.push.apply(this.parent.children, removed), - this; - }, XMLNode.prototype.commentAfter = function(value) { - var i, removed; - return i = this.parent.children.indexOf(this), removed = this.parent.children.splice(i + 1), - this.parent.comment(value), Array.prototype.push.apply(this.parent.children, removed), - this; - }, XMLNode.prototype.raw = function(value) { - var child; - return child = new XMLRaw(this, value), this.children.push(child), this; - }, XMLNode.prototype.dummy = function() { - return new XMLDummy(this); - }, XMLNode.prototype.instruction = function(target, value) { - var insTarget, insValue, instruction, j, len; - if (null != target && (target = getValue(target)), null != value && (value = getValue(value)), - Array.isArray(target)) for (j = 0, len = target.length; j < len; j++) insTarget = target[j], - this.instruction(insTarget); else if (isObject(target)) for (insTarget in target) hasProp.call(target, insTarget) && (insValue = target[insTarget], - this.instruction(insTarget, insValue)); else isFunction(value) && (value = value.apply()), - instruction = new XMLProcessingInstruction(this, target, value), this.children.push(instruction); - return this; - }, XMLNode.prototype.instructionBefore = function(target, value) { - var i, removed; - return i = this.parent.children.indexOf(this), removed = this.parent.children.splice(i), - this.parent.instruction(target, value), Array.prototype.push.apply(this.parent.children, removed), - this; - }, XMLNode.prototype.instructionAfter = function(target, value) { - var i, removed; - return i = this.parent.children.indexOf(this), removed = this.parent.children.splice(i + 1), - this.parent.instruction(target, value), Array.prototype.push.apply(this.parent.children, removed), - this; - }, XMLNode.prototype.declaration = function(version, encoding, standalone) { - var doc, xmldec; - return doc = this.document(), xmldec = new XMLDeclaration(doc, version, encoding, standalone), - 0 === doc.children.length ? doc.children.unshift(xmldec) : doc.children[0].type === NodeType.Declaration ? doc.children[0] = xmldec : doc.children.unshift(xmldec), - doc.root() || doc; - }, XMLNode.prototype.dtd = function(pubID, sysID) { - var doc, doctype, i, j, k, len, len1, ref2, ref3; - for (doc = this.document(), doctype = new XMLDocType(doc, pubID, sysID), i = j = 0, - len = (ref2 = doc.children).length; j < len; i = ++j) if (ref2[i].type === NodeType.DocType) return doc.children[i] = doctype, - doctype; - for (i = k = 0, len1 = (ref3 = doc.children).length; k < len1; i = ++k) if (ref3[i].isRoot) return doc.children.splice(i, 0, doctype), - doctype; - return doc.children.push(doctype), doctype; - }, XMLNode.prototype.up = function() { - if (this.isRoot) throw new Error("The root node has no parent. Use doc() if you need to get the document object."); - return this.parent; - }, XMLNode.prototype.root = function() { - var node; - for (node = this; node; ) { - if (node.type === NodeType.Document) return node.rootObject; - if (node.isRoot) return node; - node = node.parent; - } - }, XMLNode.prototype.document = function() { - var node; - for (node = this; node; ) { - if (node.type === NodeType.Document) return node; - node = node.parent; - } - }, XMLNode.prototype.end = function(options) { - return this.document().end(options); - }, XMLNode.prototype.prev = function() { - var i; - if ((i = this.parent.children.indexOf(this)) < 1) throw new Error("Already at the first node. " + this.debugInfo()); - return this.parent.children[i - 1]; - }, XMLNode.prototype.next = function() { - var i; - if (-1 === (i = this.parent.children.indexOf(this)) || i === this.parent.children.length - 1) throw new Error("Already at the last node. " + this.debugInfo()); - return this.parent.children[i + 1]; - }, XMLNode.prototype.importDocument = function(doc) { - var clonedRoot; - return (clonedRoot = doc.root().clone()).parent = this, clonedRoot.isRoot = !1, - this.children.push(clonedRoot), this; - }, XMLNode.prototype.debugInfo = function(name) { - var ref2, ref3; - return null != (name = name || this.name) || (null != (ref2 = this.parent) ? ref2.name : void 0) ? null == name ? "parent: <" + this.parent.name + ">" : (null != (ref3 = this.parent) ? ref3.name : void 0) ? "node: <" + name + ">, parent: <" + this.parent.name + ">" : "node: <" + name + ">" : ""; - }, XMLNode.prototype.ele = function(name, attributes, text) { - return this.element(name, attributes, text); - }, XMLNode.prototype.nod = function(name, attributes, text) { - return this.node(name, attributes, text); - }, XMLNode.prototype.txt = function(value) { - return this.text(value); - }, XMLNode.prototype.dat = function(value) { - return this.cdata(value); - }, XMLNode.prototype.com = function(value) { - return this.comment(value); - }, XMLNode.prototype.ins = function(target, value) { - return this.instruction(target, value); - }, XMLNode.prototype.doc = function() { - return this.document(); - }, XMLNode.prototype.dec = function(version, encoding, standalone) { - return this.declaration(version, encoding, standalone); - }, XMLNode.prototype.e = function(name, attributes, text) { - return this.element(name, attributes, text); - }, XMLNode.prototype.n = function(name, attributes, text) { - return this.node(name, attributes, text); - }, XMLNode.prototype.t = function(value) { - return this.text(value); - }, XMLNode.prototype.d = function(value) { - return this.cdata(value); - }, XMLNode.prototype.c = function(value) { - return this.comment(value); - }, XMLNode.prototype.r = function(value) { - return this.raw(value); - }, XMLNode.prototype.i = function(target, value) { - return this.instruction(target, value); - }, XMLNode.prototype.u = function() { - return this.up(); - }, XMLNode.prototype.importXMLBuilder = function(doc) { - return this.importDocument(doc); - }, XMLNode.prototype.replaceChild = function(newChild, oldChild) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLNode.prototype.removeChild = function(oldChild) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLNode.prototype.appendChild = function(newChild) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLNode.prototype.hasChildNodes = function() { - return 0 !== this.children.length; - }, XMLNode.prototype.cloneNode = function(deep) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLNode.prototype.normalize = function() { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLNode.prototype.isSupported = function(feature, version) { - return !0; - }, XMLNode.prototype.hasAttributes = function() { - return 0 !== this.attribs.length; - }, XMLNode.prototype.compareDocumentPosition = function(other) { - var res; - return this, this === other ? 0 : this.document() !== other.document() ? (res = DocumentPosition.Disconnected | DocumentPosition.ImplementationSpecific, - Math.random() < .5 ? res |= DocumentPosition.Preceding : res |= DocumentPosition.Following, - res) : this.isAncestor(other) ? DocumentPosition.Contains | DocumentPosition.Preceding : this.isDescendant(other) ? DocumentPosition.Contains | DocumentPosition.Following : this.isPreceding(other) ? DocumentPosition.Preceding : DocumentPosition.Following; - }, XMLNode.prototype.isSameNode = function(other) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLNode.prototype.lookupPrefix = function(namespaceURI) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLNode.prototype.isDefaultNamespace = function(namespaceURI) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLNode.prototype.lookupNamespaceURI = function(prefix) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLNode.prototype.isEqualNode = function(node) { - var i, j, ref2; - if (node.nodeType !== this.nodeType) return !1; - if (node.children.length !== this.children.length) return !1; - for (i = j = 0, ref2 = this.children.length - 1; 0 <= ref2 ? j <= ref2 : j >= ref2; i = 0 <= ref2 ? ++j : --j) if (!this.children[i].isEqualNode(node.children[i])) return !1; - return !0; - }, XMLNode.prototype.getFeature = function(feature, version) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLNode.prototype.setUserData = function(key, data, handler) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLNode.prototype.getUserData = function(key) { - throw new Error("This DOM method is not implemented." + this.debugInfo()); - }, XMLNode.prototype.contains = function(other) { - return !!other && (other === this || this.isDescendant(other)); - }, XMLNode.prototype.isDescendant = function(node) { - var child, j, len, ref2; - for (j = 0, len = (ref2 = this.children).length; j < len; j++) { - if (node === (child = ref2[j])) return !0; - if (child.isDescendant(node)) return !0; - } - return !1; - }, XMLNode.prototype.isAncestor = function(node) { - return node.isDescendant(this); - }, XMLNode.prototype.isPreceding = function(node) { - var nodePos, thisPos; - return nodePos = this.treePosition(node), thisPos = this.treePosition(this), -1 !== nodePos && -1 !== thisPos && nodePos < thisPos; - }, XMLNode.prototype.isFollowing = function(node) { - var nodePos, thisPos; - return nodePos = this.treePosition(node), thisPos = this.treePosition(this), -1 !== nodePos && -1 !== thisPos && nodePos > thisPos; - }, XMLNode.prototype.treePosition = function(node) { - var found, pos; - return pos = 0, found = !1, this.foreachTreeNode(this.document(), (function(childNode) { - if (pos++, !found && childNode === node) return found = !0; - })), found ? pos : -1; - }, XMLNode.prototype.foreachTreeNode = function(node, func) { - var child, j, len, ref2, res; - for (node || (node = this.document()), j = 0, len = (ref2 = node.children).length; j < len; j++) { - if (res = func(child = ref2[j])) return res; - if (res = this.foreachTreeNode(child, func)) return res; - } - }, XMLNode; - }(); - }).call(this); - }, - 9680: function(module) { - (function() { - module.exports = function() { - function XMLNodeList(nodes) { - this.nodes = nodes; - } - return Object.defineProperty(XMLNodeList.prototype, "length", { - get: function() { - return this.nodes.length || 0; - } - }), XMLNodeList.prototype.clone = function() { - return this.nodes = null; - }, XMLNodeList.prototype.item = function(index) { - return this.nodes[index] || null; - }, XMLNodeList; - }(); - }).call(this); - }, - 7037: function(module, __unused_webpack_exports, __webpack_require__) { - (function() { - var NodeType, XMLCharacterData, hasProp = {}.hasOwnProperty; - NodeType = __webpack_require__(6130), XMLCharacterData = __webpack_require__(1302), - module.exports = function(superClass) { - function XMLProcessingInstruction(parent, target, value) { - if (XMLProcessingInstruction.__super__.constructor.call(this, parent), null == target) throw new Error("Missing instruction target. " + this.debugInfo()); - this.type = NodeType.ProcessingInstruction, this.target = this.stringify.insTarget(target), - this.name = this.target, value && (this.value = this.stringify.insValue(value)); - } - return function(child, parent) { - for (var key in parent) hasProp.call(parent, key) && (child[key] = parent[key]); - function ctor() { - this.constructor = child; - } - ctor.prototype = parent.prototype, child.prototype = new ctor, child.__super__ = parent.prototype; - }(XMLProcessingInstruction, superClass), XMLProcessingInstruction.prototype.clone = function() { - return Object.create(this); - }, XMLProcessingInstruction.prototype.toString = function(options) { - return this.options.writer.processingInstruction(this, this.options.writer.filterOptions(options)); - }, XMLProcessingInstruction.prototype.isEqualNode = function(node) { - return !!XMLProcessingInstruction.__super__.isEqualNode.apply(this, arguments).isEqualNode(node) && node.target === this.target; - }, XMLProcessingInstruction; - }(XMLCharacterData); - }).call(this); - }, - 9593: function(module, __unused_webpack_exports, __webpack_require__) { - (function() { - var NodeType, XMLNode, hasProp = {}.hasOwnProperty; - NodeType = __webpack_require__(6130), XMLNode = __webpack_require__(6676), module.exports = function(superClass) { - function XMLRaw(parent, text) { - if (XMLRaw.__super__.constructor.call(this, parent), null == text) throw new Error("Missing raw text. " + this.debugInfo()); - this.type = NodeType.Raw, this.value = this.stringify.raw(text); - } - return function(child, parent) { - for (var key in parent) hasProp.call(parent, key) && (child[key] = parent[key]); - function ctor() { - this.constructor = child; - } - ctor.prototype = parent.prototype, child.prototype = new ctor, child.__super__ = parent.prototype; - }(XMLRaw, superClass), XMLRaw.prototype.clone = function() { - return Object.create(this); - }, XMLRaw.prototype.toString = function(options) { - return this.options.writer.raw(this, this.options.writer.filterOptions(options)); - }, XMLRaw; - }(XMLNode); - }).call(this); - }, - 5301: function(module, __unused_webpack_exports, __webpack_require__) { - (function() { - var NodeType, WriterState, XMLWriterBase, hasProp = {}.hasOwnProperty; - NodeType = __webpack_require__(6130), XMLWriterBase = __webpack_require__(8039), - WriterState = __webpack_require__(6379), module.exports = function(superClass) { - function XMLStreamWriter(stream, options) { - this.stream = stream, XMLStreamWriter.__super__.constructor.call(this, options); - } - return function(child, parent) { - for (var key in parent) hasProp.call(parent, key) && (child[key] = parent[key]); - function ctor() { - this.constructor = child; - } - ctor.prototype = parent.prototype, child.prototype = new ctor, child.__super__ = parent.prototype; - }(XMLStreamWriter, superClass), XMLStreamWriter.prototype.endline = function(node, options, level) { - return node.isLastRootNode && options.state === WriterState.CloseTag ? "" : XMLStreamWriter.__super__.endline.call(this, node, options, level); - }, XMLStreamWriter.prototype.document = function(doc, options) { - var child, i, j, k, len, len1, ref, ref1, results; - for (i = j = 0, len = (ref = doc.children).length; j < len; i = ++j) (child = ref[i]).isLastRootNode = i === doc.children.length - 1; - for (options = this.filterOptions(options), results = [], k = 0, len1 = (ref1 = doc.children).length; k < len1; k++) child = ref1[k], - results.push(this.writeChildNode(child, options, 0)); - return results; - }, XMLStreamWriter.prototype.attribute = function(att, options, level) { - return this.stream.write(XMLStreamWriter.__super__.attribute.call(this, att, options, level)); - }, XMLStreamWriter.prototype.cdata = function(node, options, level) { - return this.stream.write(XMLStreamWriter.__super__.cdata.call(this, node, options, level)); - }, XMLStreamWriter.prototype.comment = function(node, options, level) { - return this.stream.write(XMLStreamWriter.__super__.comment.call(this, node, options, level)); - }, XMLStreamWriter.prototype.declaration = function(node, options, level) { - return this.stream.write(XMLStreamWriter.__super__.declaration.call(this, node, options, level)); - }, XMLStreamWriter.prototype.docType = function(node, options, level) { - var child, j, len, ref; - if (level || (level = 0), this.openNode(node, options, level), options.state = WriterState.OpenTag, - this.stream.write(this.indent(node, options, level)), this.stream.write(" 0) { - for (this.stream.write(" ["), this.stream.write(this.endline(node, options, level)), - options.state = WriterState.InsideTag, j = 0, len = (ref = node.children).length; j < len; j++) child = ref[j], - this.writeChildNode(child, options, level + 1); - options.state = WriterState.CloseTag, this.stream.write("]"); - } - return options.state = WriterState.CloseTag, this.stream.write(options.spaceBeforeSlash + ">"), - this.stream.write(this.endline(node, options, level)), options.state = WriterState.None, - this.closeNode(node, options, level); - }, XMLStreamWriter.prototype.element = function(node, options, level) { - var att, child, childNodeCount, firstChildNode, j, len, name, ref, ref1; - for (name in level || (level = 0), this.openNode(node, options, level), options.state = WriterState.OpenTag, - this.stream.write(this.indent(node, options, level) + "<" + node.name), ref = node.attribs) hasProp.call(ref, name) && (att = ref[name], - this.attribute(att, options, level)); - if (firstChildNode = 0 === (childNodeCount = node.children.length) ? null : node.children[0], - 0 === childNodeCount || node.children.every((function(e) { - return (e.type === NodeType.Text || e.type === NodeType.Raw) && "" === e.value; - }))) options.allowEmpty ? (this.stream.write(">"), options.state = WriterState.CloseTag, - this.stream.write("")) : (options.state = WriterState.CloseTag, - this.stream.write(options.spaceBeforeSlash + "/>")); else if (!options.pretty || 1 !== childNodeCount || firstChildNode.type !== NodeType.Text && firstChildNode.type !== NodeType.Raw || null == firstChildNode.value) { - for (this.stream.write(">" + this.endline(node, options, level)), options.state = WriterState.InsideTag, - j = 0, len = (ref1 = node.children).length; j < len; j++) child = ref1[j], this.writeChildNode(child, options, level + 1); - options.state = WriterState.CloseTag, this.stream.write(this.indent(node, options, level) + ""); - } else this.stream.write(">"), options.state = WriterState.InsideTag, options.suppressPrettyCount++, - !0, this.writeChildNode(firstChildNode, options, level + 1), options.suppressPrettyCount--, - !1, options.state = WriterState.CloseTag, this.stream.write(""); - return this.stream.write(this.endline(node, options, level)), options.state = WriterState.None, - this.closeNode(node, options, level); - }, XMLStreamWriter.prototype.processingInstruction = function(node, options, level) { - return this.stream.write(XMLStreamWriter.__super__.processingInstruction.call(this, node, options, level)); - }, XMLStreamWriter.prototype.raw = function(node, options, level) { - return this.stream.write(XMLStreamWriter.__super__.raw.call(this, node, options, level)); - }, XMLStreamWriter.prototype.text = function(node, options, level) { - return this.stream.write(XMLStreamWriter.__super__.text.call(this, node, options, level)); - }, XMLStreamWriter.prototype.dtdAttList = function(node, options, level) { - return this.stream.write(XMLStreamWriter.__super__.dtdAttList.call(this, node, options, level)); - }, XMLStreamWriter.prototype.dtdElement = function(node, options, level) { - return this.stream.write(XMLStreamWriter.__super__.dtdElement.call(this, node, options, level)); - }, XMLStreamWriter.prototype.dtdEntity = function(node, options, level) { - return this.stream.write(XMLStreamWriter.__super__.dtdEntity.call(this, node, options, level)); - }, XMLStreamWriter.prototype.dtdNotation = function(node, options, level) { - return this.stream.write(XMLStreamWriter.__super__.dtdNotation.call(this, node, options, level)); - }, XMLStreamWriter; - }(XMLWriterBase); - }).call(this); - }, - 1278: function(module, __unused_webpack_exports, __webpack_require__) { - (function() { - var XMLWriterBase, hasProp = {}.hasOwnProperty; - XMLWriterBase = __webpack_require__(8039), module.exports = function(superClass) { - function XMLStringWriter(options) { - XMLStringWriter.__super__.constructor.call(this, options); - } - return function(child, parent) { - for (var key in parent) hasProp.call(parent, key) && (child[key] = parent[key]); - function ctor() { - this.constructor = child; - } - ctor.prototype = parent.prototype, child.prototype = new ctor, child.__super__ = parent.prototype; - }(XMLStringWriter, superClass), XMLStringWriter.prototype.document = function(doc, options) { - var child, i, len, r, ref; - for (options = this.filterOptions(options), r = "", i = 0, len = (ref = doc.children).length; i < len; i++) child = ref[i], - r += this.writeChildNode(child, options, 0); - return options.pretty && r.slice(-options.newline.length) === options.newline && (r = r.slice(0, -options.newline.length)), - r; - }, XMLStringWriter; - }(XMLWriterBase); - }).call(this); - }, - 3824: function(module) { - (function() { - var bind = function(fn, me) { - return function() { - return fn.apply(me, arguments); + parseRangeHeader: function(range) { + if (null == range || "" === range) return { + start: 0, + end: null, + size: null }; - }, hasProp = {}.hasOwnProperty; - module.exports = function() { - function XMLStringifier(options) { - var key, ref, value; - for (key in this.assertLegalName = bind(this.assertLegalName, this), this.assertLegalChar = bind(this.assertLegalChar, this), - options || (options = {}), this.options = options, this.options.version || (this.options.version = "1.0"), - ref = options.stringify || {}) hasProp.call(ref, key) && (value = ref[key], this[key] = value); - } - return XMLStringifier.prototype.name = function(val) { - return this.options.noValidation ? val : this.assertLegalName("" + val || ""); - }, XMLStringifier.prototype.text = function(val) { - return this.options.noValidation ? val : this.assertLegalChar(this.textEscape("" + val || "")); - }, XMLStringifier.prototype.cdata = function(val) { - return this.options.noValidation ? val : (val = (val = "" + val || "").replace("]]>", "]]]]>"), - this.assertLegalChar(val)); - }, XMLStringifier.prototype.comment = function(val) { - if (this.options.noValidation) return val; - if ((val = "" + val || "").match(/--/)) throw new Error("Comment text cannot contain double-hypen: " + val); - return this.assertLegalChar(val); - }, XMLStringifier.prototype.raw = function(val) { - return this.options.noValidation ? val : "" + val || ""; - }, XMLStringifier.prototype.attValue = function(val) { - return this.options.noValidation ? val : this.assertLegalChar(this.attEscape(val = "" + val || "")); - }, XMLStringifier.prototype.insTarget = function(val) { - return this.options.noValidation ? val : this.assertLegalChar("" + val || ""); - }, XMLStringifier.prototype.insValue = function(val) { - if (this.options.noValidation) return val; - if ((val = "" + val || "").match(/\?>/)) throw new Error("Invalid processing instruction value: " + val); - return this.assertLegalChar(val); - }, XMLStringifier.prototype.xmlVersion = function(val) { - if (this.options.noValidation) return val; - if (!(val = "" + val || "").match(/1\.[0-9]+/)) throw new Error("Invalid version number: " + val); - return val; - }, XMLStringifier.prototype.xmlEncoding = function(val) { - if (this.options.noValidation) return val; - if (!(val = "" + val || "").match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/)) throw new Error("Invalid encoding: " + val); - return this.assertLegalChar(val); - }, XMLStringifier.prototype.xmlStandalone = function(val) { - return this.options.noValidation ? val : val ? "yes" : "no"; - }, XMLStringifier.prototype.dtdPubID = function(val) { - return this.options.noValidation ? val : this.assertLegalChar("" + val || ""); - }, XMLStringifier.prototype.dtdSysID = function(val) { - return this.options.noValidation ? val : this.assertLegalChar("" + val || ""); - }, XMLStringifier.prototype.dtdElementValue = function(val) { - return this.options.noValidation ? val : this.assertLegalChar("" + val || ""); - }, XMLStringifier.prototype.dtdAttType = function(val) { - return this.options.noValidation ? val : this.assertLegalChar("" + val || ""); - }, XMLStringifier.prototype.dtdAttDefault = function(val) { - return this.options.noValidation ? val : this.assertLegalChar("" + val || ""); - }, XMLStringifier.prototype.dtdEntityValue = function(val) { - return this.options.noValidation ? val : this.assertLegalChar("" + val || ""); - }, XMLStringifier.prototype.dtdNData = function(val) { - return this.options.noValidation ? val : this.assertLegalChar("" + val || ""); - }, XMLStringifier.prototype.convertAttKey = "@", XMLStringifier.prototype.convertPIKey = "?", - XMLStringifier.prototype.convertTextKey = "#text", XMLStringifier.prototype.convertCDataKey = "#cdata", - XMLStringifier.prototype.convertCommentKey = "#comment", XMLStringifier.prototype.convertRawKey = "#raw", - XMLStringifier.prototype.assertLegalChar = function(str) { - var regex, res; - if (this.options.noValidation) return str; - if (regex = "", "1.0" === this.options.version) { - if (regex = /[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, - res = str.match(regex)) throw new Error("Invalid character in string: " + str + " at index " + res.index); - } else if ("1.1" === this.options.version && (regex = /[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, - res = str.match(regex))) throw new Error("Invalid character in string: " + str + " at index " + res.index); - return str; - }, XMLStringifier.prototype.assertLegalName = function(str) { - var regex; - if (this.options.noValidation) return str; - if (this.assertLegalChar(str), regex = /^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/, - !str.match(regex)) throw new Error("Invalid character in name"); - return str; - }, XMLStringifier.prototype.textEscape = function(str) { - var ampregex; - return this.options.noValidation ? str : (ampregex = this.options.noDoubleEncoding ? /(?!&\S+;)&/g : /&/g, - str.replace(ampregex, "&").replace(//g, ">").replace(/\r/g, " ")); - }, XMLStringifier.prototype.attEscape = function(str) { - var ampregex; - return this.options.noValidation ? str : (ampregex = this.options.noDoubleEncoding ? /(?!&\S+;)&/g : /&/g, - str.replace(ampregex, "&").replace(/ 0 ? new Array(indentLevel).join(options.indent) : ""; - }, XMLWriterBase.prototype.endline = function(node, options, level) { - return !options.pretty || options.suppressPrettyCount ? "" : options.newline; - }, XMLWriterBase.prototype.attribute = function(att, options, level) { - var r; - return this.openAttribute(att, options, level), r = " " + att.name + '="' + att.value + '"', - this.closeAttribute(att, options, level), r; - }, XMLWriterBase.prototype.cdata = function(node, options, level) { - var r; - return this.openNode(node, options, level), options.state = WriterState.OpenTag, - r = this.indent(node, options, level) + "" + this.endline(node, options, level), - options.state = WriterState.None, this.closeNode(node, options, level), r; - }, XMLWriterBase.prototype.comment = function(node, options, level) { - var r; - return this.openNode(node, options, level), options.state = WriterState.OpenTag, - r = this.indent(node, options, level) + "\x3c!-- ", options.state = WriterState.InsideTag, - r += node.value, options.state = WriterState.CloseTag, r += " --\x3e" + this.endline(node, options, level), - options.state = WriterState.None, this.closeNode(node, options, level), r; - }, XMLWriterBase.prototype.declaration = function(node, options, level) { - var r; - return this.openNode(node, options, level), options.state = WriterState.OpenTag, - r = this.indent(node, options, level) + "", r += this.endline(node, options, level), options.state = WriterState.None, - this.closeNode(node, options, level), r; - }, XMLWriterBase.prototype.docType = function(node, options, level) { - var child, i, len, r, ref; - if (level || (level = 0), this.openNode(node, options, level), options.state = WriterState.OpenTag, - r = this.indent(node, options, level), r += " 0) { - for (r += " [", r += this.endline(node, options, level), options.state = WriterState.InsideTag, - i = 0, len = (ref = node.children).length; i < len; i++) child = ref[i], r += this.writeChildNode(child, options, level + 1); - options.state = WriterState.CloseTag, r += "]"; - } - return options.state = WriterState.CloseTag, r += options.spaceBeforeSlash + ">", - r += this.endline(node, options, level), options.state = WriterState.None, this.closeNode(node, options, level), - r; - }, XMLWriterBase.prototype.element = function(node, options, level) { - var att, child, childNodeCount, firstChildNode, i, j, len, len1, name, prettySuppressed, r, ref, ref1, ref2; - for (name in level || (level = 0), prettySuppressed = !1, r = "", this.openNode(node, options, level), - options.state = WriterState.OpenTag, r += this.indent(node, options, level) + "<" + node.name, - ref = node.attribs) hasProp.call(ref, name) && (att = ref[name], r += this.attribute(att, options, level)); - if (firstChildNode = 0 === (childNodeCount = node.children.length) ? null : node.children[0], - 0 === childNodeCount || node.children.every((function(e) { - return (e.type === NodeType.Text || e.type === NodeType.Raw) && "" === e.value; - }))) options.allowEmpty ? (r += ">", options.state = WriterState.CloseTag, r += "" + this.endline(node, options, level)) : (options.state = WriterState.CloseTag, - r += options.spaceBeforeSlash + "/>" + this.endline(node, options, level)); else if (!options.pretty || 1 !== childNodeCount || firstChildNode.type !== NodeType.Text && firstChildNode.type !== NodeType.Raw || null == firstChildNode.value) { - if (options.dontPrettyTextNodes) for (i = 0, len = (ref1 = node.children).length; i < len; i++) if (((child = ref1[i]).type === NodeType.Text || child.type === NodeType.Raw) && null != child.value) { - options.suppressPrettyCount++, prettySuppressed = !0; - break; - } - for (r += ">" + this.endline(node, options, level), options.state = WriterState.InsideTag, - j = 0, len1 = (ref2 = node.children).length; j < len1; j++) child = ref2[j], r += this.writeChildNode(child, options, level + 1); - options.state = WriterState.CloseTag, r += this.indent(node, options, level) + "", - prettySuppressed && options.suppressPrettyCount--, r += this.endline(node, options, level), - options.state = WriterState.None; - } else r += ">", options.state = WriterState.InsideTag, options.suppressPrettyCount++, - prettySuppressed = !0, r += this.writeChildNode(firstChildNode, options, level + 1), - options.suppressPrettyCount--, prettySuppressed = !1, options.state = WriterState.CloseTag, - r += "" + this.endline(node, options, level); - return this.closeNode(node, options, level), r; - }, XMLWriterBase.prototype.writeChildNode = function(node, options, level) { - switch (node.type) { - case NodeType.CData: - return this.cdata(node, options, level); - - case NodeType.Comment: - return this.comment(node, options, level); - - case NodeType.Element: - return this.element(node, options, level); - - case NodeType.Raw: - return this.raw(node, options, level); - - case NodeType.Text: - return this.text(node, options, level); - - case NodeType.ProcessingInstruction: - return this.processingInstruction(node, options, level); - - case NodeType.Dummy: - return ""; - - case NodeType.Declaration: - return this.declaration(node, options, level); - - case NodeType.DocType: - return this.docType(node, options, level); - - case NodeType.AttributeDeclaration: - return this.dtdAttList(node, options, level); - - case NodeType.ElementDeclaration: - return this.dtdElement(node, options, level); - - case NodeType.EntityDeclaration: - return this.dtdEntity(node, options, level); - - case NodeType.NotationDeclaration: - return this.dtdNotation(node, options, level); - - default: - throw new Error("Unknown XML node type: " + node.constructor.name); - } - }, XMLWriterBase.prototype.processingInstruction = function(node, options, level) { - var r; - return this.openNode(node, options, level), options.state = WriterState.OpenTag, - r = this.indent(node, options, level) + "", r += this.endline(node, options, level), options.state = WriterState.None, - this.closeNode(node, options, level), r; - }, XMLWriterBase.prototype.raw = function(node, options, level) { - var r; - return this.openNode(node, options, level), options.state = WriterState.OpenTag, - r = this.indent(node, options, level), options.state = WriterState.InsideTag, r += node.value, - options.state = WriterState.CloseTag, r += this.endline(node, options, level), options.state = WriterState.None, - this.closeNode(node, options, level), r; - }, XMLWriterBase.prototype.text = function(node, options, level) { - var r; - return this.openNode(node, options, level), options.state = WriterState.OpenTag, - r = this.indent(node, options, level), options.state = WriterState.InsideTag, r += node.value, - options.state = WriterState.CloseTag, r += this.endline(node, options, level), options.state = WriterState.None, - this.closeNode(node, options, level), r; - }, XMLWriterBase.prototype.dtdAttList = function(node, options, level) { - var r; - return this.openNode(node, options, level), options.state = WriterState.OpenTag, - r = this.indent(node, options, level) + "" + this.endline(node, options, level), - options.state = WriterState.None, this.closeNode(node, options, level), r; - }, XMLWriterBase.prototype.dtdElement = function(node, options, level) { - var r; - return this.openNode(node, options, level), options.state = WriterState.OpenTag, - r = this.indent(node, options, level) + "" + this.endline(node, options, level), - options.state = WriterState.None, this.closeNode(node, options, level), r; - }, XMLWriterBase.prototype.dtdEntity = function(node, options, level) { - var r; - return this.openNode(node, options, level), options.state = WriterState.OpenTag, - r = this.indent(node, options, level) + "" + this.endline(node, options, level), options.state = WriterState.None, - this.closeNode(node, options, level), r; - }, XMLWriterBase.prototype.dtdNotation = function(node, options, level) { - var r; - return this.openNode(node, options, level), options.state = WriterState.OpenTag, - r = this.indent(node, options, level) + "" + this.endline(node, options, level), - options.state = WriterState.None, this.closeNode(node, options, level), r; - }, XMLWriterBase.prototype.openNode = function(node, options, level) {}, XMLWriterBase.prototype.closeNode = function(node, options, level) {}, - XMLWriterBase.prototype.openAttribute = function(att, options, level) {}, XMLWriterBase.prototype.closeAttribute = function(att, options, level) {}, - XMLWriterBase; - }(); - }).call(this); - }, - 2105: function(module, __unused_webpack_exports, __webpack_require__) { - (function() { - var NodeType, WriterState, XMLDOMImplementation, XMLDocument, XMLDocumentCB, XMLStreamWriter, XMLStringWriter, assign, isFunction, ref; - ref = __webpack_require__(3801), assign = ref.assign, isFunction = ref.isFunction, - XMLDOMImplementation = __webpack_require__(8558), XMLDocument = __webpack_require__(7515), - XMLDocumentCB = __webpack_require__(4241), XMLStringWriter = __webpack_require__(1278), - XMLStreamWriter = __webpack_require__(5301), NodeType = __webpack_require__(6130), - WriterState = __webpack_require__(6379), module.exports.create = function(name, xmldec, doctype, options) { - var doc, root; - if (null == name) throw new Error("Root element needs a name."); - return options = assign({}, xmldec, doctype, options), root = (doc = new XMLDocument(options)).element(name), - options.headless || (doc.declaration(options), null == options.pubID && null == options.sysID || doc.dtd(options)), - root; - }, module.exports.begin = function(options, onData, onEnd) { - var ref1; - return isFunction(options) && (onData = (ref1 = [ options, onData ])[0], onEnd = ref1[1], - options = {}), onData ? new XMLDocumentCB(options, onData, onEnd) : new XMLDocument(options); - }, module.exports.stringWriter = function(options) { - return new XMLStringWriter(options); - }, module.exports.streamWriter = function(stream, options) { - return new XMLStreamWriter(stream, options); - }, module.exports.implementation = new XMLDOMImplementation, module.exports.nodeType = NodeType, - module.exports.writerState = WriterState; - }).call(this); + const m = range ? range.match(/^bytes (\d+)-(\d+)\/(\d+)?$/) : null; + return m ? { + start: parseInt(m[1]), + end: m[2] ? parseInt(m[2]) : null, + size: m[3] ? parseInt(m[3]) : null + } : null; + }, + nodeMajor, + nodeMinor, + nodeHasAutoSelectFamily: nodeMajor > 18 || 18 === nodeMajor && nodeMinor >= 13, + safeHTTPMethods: [ "GET", "HEAD", "OPTIONS", "TRACE" ] + }; }, - 2868: function(module, exports, __webpack_require__) { - var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; - __WEBPACK_AMD_DEFINE_ARRAY__ = [ exports, __webpack_require__(8744) ], void 0 === (__WEBPACK_AMD_DEFINE_RESULT__ = "function" == typeof (__WEBPACK_AMD_DEFINE_FACTORY__ = function(_, kotlin_kotlin) { - "use strict"; - var None_instance, objectMeta = kotlin_kotlin.$_$.n5, setMetadataFor = kotlin_kotlin.$_$.o5, classMeta = kotlin_kotlin.$_$.x4, toString = kotlin_kotlin.$_$.j7; - function None() { - None_instance = this, atomicfu$TraceBase.call(this); - } - function None_getInstance() { - return null == None_instance && new None, None_instance; - } - function atomicfu$TraceBase() {} - function AtomicRef(value) { - this.kotlinx$atomicfu$value = value; + 524: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const Dispatcher = __webpack_require__(7704), {ClientDestroyedError, ClientClosedError, InvalidArgumentError} = __webpack_require__(3898), {kDestroy, kClose, kDispatch, kInterceptors} = __webpack_require__(8028), kDestroyed = Symbol("destroyed"), kClosed = Symbol("closed"), kOnDestroyed = Symbol("onDestroyed"), kOnClosed = Symbol("onClosed"), kInterceptedDispatch = Symbol("Intercepted Dispatch"); + module.exports = class extends Dispatcher { + constructor() { + super(), this[kDestroyed] = !1, this[kOnDestroyed] = null, this[kClosed] = !1, this[kOnClosed] = []; } - function atomic$ref$1(initial) { - return atomic(initial, None_getInstance()); + get destroyed() { + return this[kDestroyed]; } - function AtomicBoolean(value) { - this.kotlinx$atomicfu$value = value; + get closed() { + return this[kClosed]; } - function atomic$boolean$1(initial) { - return atomic_0(initial, None_getInstance()); + get interceptors() { + return this[kInterceptors]; } - function AtomicInt(value) { - this.kotlinx$atomicfu$value = value; + set interceptors(newInterceptors) { + if (newInterceptors) for (let i = newInterceptors.length - 1; i >= 0; i--) { + if ("function" != typeof this[kInterceptors][i]) throw new InvalidArgumentError("interceptor must be an function"); + } + this[kInterceptors] = newInterceptors; } - function atomic$int$1(initial) { - return atomic_1(initial, None_getInstance()); + close(callback) { + if (void 0 === callback) return new Promise(((resolve, reject) => { + this.close(((err, data) => err ? reject(err) : resolve(data))); + })); + if ("function" != typeof callback) throw new InvalidArgumentError("invalid callback"); + if (this[kDestroyed]) return void queueMicrotask((() => callback(new ClientDestroyedError, null))); + if (this[kClosed]) return void (this[kOnClosed] ? this[kOnClosed].push(callback) : queueMicrotask((() => callback(null, null)))); + this[kClosed] = !0, this[kOnClosed].push(callback); + const onClosed = () => { + const callbacks = this[kOnClosed]; + this[kOnClosed] = null; + for (let i = 0; i < callbacks.length; i++) callbacks[i](null, null); + }; + this[kClose]().then((() => this.destroy())).then((() => { + queueMicrotask(onClosed); + })); } - function atomic(initial, trace) { - return new AtomicRef(initial); + destroy(err, callback) { + if ("function" == typeof err && (callback = err, err = null), void 0 === callback) return new Promise(((resolve, reject) => { + this.destroy(err, ((err, data) => err ? reject(err) : resolve(data))); + })); + if ("function" != typeof callback) throw new InvalidArgumentError("invalid callback"); + if (this[kDestroyed]) return void (this[kOnDestroyed] ? this[kOnDestroyed].push(callback) : queueMicrotask((() => callback(null, null)))); + err || (err = new ClientDestroyedError), this[kDestroyed] = !0, this[kOnDestroyed] = this[kOnDestroyed] || [], + this[kOnDestroyed].push(callback); + const onDestroyed = () => { + const callbacks = this[kOnDestroyed]; + this[kOnDestroyed] = null; + for (let i = 0; i < callbacks.length; i++) callbacks[i](null, null); + }; + this[kDestroy](err).then((() => { + queueMicrotask(onDestroyed); + })); } - function atomic_0(initial, trace) { - return new AtomicBoolean(initial); + [kInterceptedDispatch](opts, handler) { + if (!this[kInterceptors] || 0 === this[kInterceptors].length) return this[kInterceptedDispatch] = this[kDispatch], + this[kDispatch](opts, handler); + let dispatch = this[kDispatch].bind(this); + for (let i = this[kInterceptors].length - 1; i >= 0; i--) dispatch = this[kInterceptors][i](dispatch); + return this[kInterceptedDispatch] = dispatch, dispatch(opts, handler); } - function atomic_1(initial, trace) { - return new AtomicInt(initial); + dispatch(opts, handler) { + if (!handler || "object" != typeof handler) throw new InvalidArgumentError("handler must be an object"); + try { + if (!opts || "object" != typeof opts) throw new InvalidArgumentError("opts must be an object."); + if (this[kDestroyed] || this[kOnDestroyed]) throw new ClientDestroyedError; + if (this[kClosed]) throw new ClientClosedError; + return this[kInterceptedDispatch](opts, handler); + } catch (err) { + if ("function" != typeof handler.onError) throw new InvalidArgumentError("invalid onError method"); + return handler.onError(err), !1; + } } - return setMetadataFor(atomicfu$TraceBase, "TraceBase", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(None, "None", objectMeta, atomicfu$TraceBase, void 0, void 0, void 0, []), - setMetadataFor(AtomicRef, "AtomicRef", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(AtomicBoolean, "AtomicBoolean", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(AtomicInt, "AtomicInt", classMeta, void 0, void 0, void 0, void 0, []), - atomicfu$TraceBase.prototype.atomicfu$Trace$append$1 = function(event) {}, atomicfu$TraceBase.prototype.atomicfu$Trace$append$2 = function(event1, event2) {}, - atomicfu$TraceBase.prototype.atomicfu$Trace$append$3 = function(event1, event2, event3) {}, - atomicfu$TraceBase.prototype.atomicfu$Trace$append$4 = function(event1, event2, event3, event4) {}, - AtomicRef.prototype.ge = function(_set____db54di) { - this.kotlinx$atomicfu$value = _set____db54di; - }, AtomicRef.prototype.he = function() { - return this.kotlinx$atomicfu$value; - }, AtomicRef.prototype.atomicfu$compareAndSet = function(expect, update) { - return this.kotlinx$atomicfu$value === expect && (this.kotlinx$atomicfu$value = update, - !0); - }, AtomicRef.prototype.atomicfu$getAndSet = function(value) { - var oldValue = this.kotlinx$atomicfu$value; - return this.kotlinx$atomicfu$value = value, oldValue; - }, AtomicRef.prototype.toString = function() { - return toString(this.kotlinx$atomicfu$value); - }, AtomicBoolean.prototype.ie = function(_set____db54di) { - this.kotlinx$atomicfu$value = _set____db54di; - }, AtomicBoolean.prototype.he = function() { - return this.kotlinx$atomicfu$value; - }, AtomicBoolean.prototype.atomicfu$compareAndSet = function(expect, update) { - return this.kotlinx$atomicfu$value === expect && (this.kotlinx$atomicfu$value = update, - !0); - }, AtomicBoolean.prototype.atomicfu$getAndSet = function(value) { - var oldValue = this.kotlinx$atomicfu$value; - return this.kotlinx$atomicfu$value = value, oldValue; - }, AtomicBoolean.prototype.toString = function() { - return this.kotlinx$atomicfu$value.toString(); - }, AtomicInt.prototype.je = function(_set____db54di) { - this.kotlinx$atomicfu$value = _set____db54di; - }, AtomicInt.prototype.he = function() { - return this.kotlinx$atomicfu$value; - }, AtomicInt.prototype.atomicfu$compareAndSet = function(expect, update) { - return this.kotlinx$atomicfu$value === expect && (this.kotlinx$atomicfu$value = update, - !0); - }, AtomicInt.prototype.atomicfu$getAndSet = function(value) { - var oldValue = this.kotlinx$atomicfu$value; - return this.kotlinx$atomicfu$value = value, oldValue; - }, AtomicInt.prototype.atomicfu$getAndIncrement = function() { - var tmp0_this = this, tmp1 = tmp0_this.kotlinx$atomicfu$value; - return tmp0_this.kotlinx$atomicfu$value = tmp1 + 1 | 0, tmp1; - }, AtomicInt.prototype.atomicfu$getAndDecrement = function() { - var tmp0_this = this, tmp1 = tmp0_this.kotlinx$atomicfu$value; - return tmp0_this.kotlinx$atomicfu$value = tmp1 - 1 | 0, tmp1; - }, AtomicInt.prototype.atomicfu$getAndAdd = function(delta) { - var oldValue = this.kotlinx$atomicfu$value, tmp0_this = this; - return tmp0_this.kotlinx$atomicfu$value = tmp0_this.kotlinx$atomicfu$value + delta | 0, - oldValue; - }, AtomicInt.prototype.atomicfu$addAndGet = function(delta) { - var tmp0_this = this; - return tmp0_this.kotlinx$atomicfu$value = tmp0_this.kotlinx$atomicfu$value + delta | 0, - this.kotlinx$atomicfu$value; - }, AtomicInt.prototype.atomicfu$incrementAndGet = function() { - var tmp0_this = this; - return tmp0_this.kotlinx$atomicfu$value = tmp0_this.kotlinx$atomicfu$value + 1 | 0, - tmp0_this.kotlinx$atomicfu$value; - }, AtomicInt.prototype.atomicfu$decrementAndGet = function() { - var tmp0_this = this; - return tmp0_this.kotlinx$atomicfu$value = tmp0_this.kotlinx$atomicfu$value - 1 | 0, - tmp0_this.kotlinx$atomicfu$value; - }, AtomicInt.prototype.toString = function() { - return this.kotlinx$atomicfu$value.toString(); - }, _.$_$ = _.$_$ || {}, _.$_$.a = atomic$boolean$1, _.$_$.b = atomic$ref$1, _.$_$.c = atomic$int$1, - _; - }) ? __WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__) : __WEBPACK_AMD_DEFINE_FACTORY__) || (module.exports = __WEBPACK_AMD_DEFINE_RESULT__); + }; }, - 8304: function(module, exports, __webpack_require__) { - var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; - __WEBPACK_AMD_DEFINE_ARRAY__ = [ exports, __webpack_require__(2037), __webpack_require__(8744), __webpack_require__(9925) ], - void 0 === (__WEBPACK_AMD_DEFINE_RESULT__ = "function" == typeof (__WEBPACK_AMD_DEFINE_FACTORY__ = function(_, $module$_actions_core_fx0i1v, kotlin_kotlin, kotlin_org_jetbrains_kotlin_wrappers_kotlin_actions_toolkit) { - "use strict"; - var None_instance, Unknown_instance, warning = $module$_actions_core_fx0i1v.warning, info = $module$_actions_core_fx0i1v.info, Unit_getInstance = kotlin_kotlin.$_$.d2, CoroutineImpl = kotlin_kotlin.$_$.m4, copyToArray = kotlin_kotlin.$_$.r2, collectionSizeOrDefault = kotlin_kotlin.$_$.m2, ArrayList_init_$Create$ = kotlin_kotlin.$_$.r, restoreCache = kotlin_org_jetbrains_kotlin_wrappers_kotlin_actions_toolkit.$_$.b, get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.x3, restoreCache_0 = kotlin_org_jetbrains_kotlin_wrappers_kotlin_actions_toolkit.$_$.a, removePrefix = kotlin_kotlin.$_$.b6, endsWith$default = kotlin_kotlin.$_$.h, joinToString$default = kotlin_kotlin.$_$.e, classMeta = kotlin_kotlin.$_$.x4, setMetadataFor = kotlin_kotlin.$_$.o5, saveCache = kotlin_org_jetbrains_kotlin_wrappers_kotlin_actions_toolkit.$_$.c, contains$default = kotlin_kotlin.$_$.g, getStringHashCode = kotlin_kotlin.$_$.c5, THROW_CCE = kotlin_kotlin.$_$.v6, objectMeta = kotlin_kotlin.$_$.n5; - function restoreAndLog(paths, primaryKey, restoreKeys, version, $cont) { - var tmp = new $restoreAndLogCOROUTINE$0(paths, primaryKey, restoreKeys, version, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); - } - function saveAndLog(paths, key, version, $cont) { - var tmp = new $saveAndLogCOROUTINE$1(paths, key, version, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); - } - function $restoreAndLogCOROUTINE$0(paths, primaryKey, restoreKeys, version, resultContinuation) { - CoroutineImpl.call(this, resultContinuation), this.tu_1 = paths, this.uu_1 = primaryKey, - this.vu_1 = restoreKeys, this.wu_1 = version; - } - function $saveAndLogCOROUTINE$1(paths, key, version, resultContinuation) { - CoroutineImpl.call(this, resultContinuation), this.hv_1 = paths, this.iv_1 = key, - this.jv_1 = version; - } - function Exact(path) { - RestoreType.call(this), this.kv_1 = path; - } - function Partial(path) { - RestoreType.call(this), this.lv_1 = path; + 7704: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const EventEmitter = __webpack_require__(4434); + module.exports = class extends EventEmitter { + dispatch() { + throw new Error("not implemented"); } - function None() { - None_instance = this, RestoreType.call(this); + close() { + throw new Error("not implemented"); } - function None_getInstance() { - return null == None_instance && new None, None_instance; + destroy() { + throw new Error("not implemented"); } - function Unknown() { - Unknown_instance = this, RestoreType.call(this); + }; + }, + 2136: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const Busboy = __webpack_require__(1484), util = __webpack_require__(8869), {ReadableStreamFrom, isBlobLike, isReadableStreamLike, readableStreamClose, createDeferredPromise, fullyReadBody} = __webpack_require__(8292), {FormData} = __webpack_require__(9706), {kState} = __webpack_require__(9415), {webidl} = __webpack_require__(769), {DOMException, structuredClone} = __webpack_require__(3771), {Blob, File: NativeFile} = __webpack_require__(181), {kBodyUsed} = __webpack_require__(8028), assert = __webpack_require__(2613), {isErrored} = __webpack_require__(8869), {isUint8Array, isArrayBuffer} = __webpack_require__(8253), {File: UndiciFile} = __webpack_require__(3534), {parseMIMEType, serializeAMimeType} = __webpack_require__(3587); + let ReadableStream = globalThis.ReadableStream; + const File = NativeFile ?? UndiciFile, textEncoder = new TextEncoder, textDecoder = new TextDecoder; + function extractBody(object, keepalive = !1) { + ReadableStream || (ReadableStream = __webpack_require__(3774).ReadableStream); + let stream = null; + stream = object instanceof ReadableStream ? object : isBlobLike(object) ? object.stream() : new ReadableStream({ + async pull(controller) { + controller.enqueue("string" == typeof source ? textEncoder.encode(source) : source), + queueMicrotask((() => readableStreamClose(controller))); + }, + start() {}, + type: void 0 + }), assert(isReadableStreamLike(stream)); + let action = null, source = null, length = null, type = null; + if ("string" == typeof object) source = object, type = "text/plain;charset=UTF-8"; else if (object instanceof URLSearchParams) source = object.toString(), + type = "application/x-www-form-urlencoded;charset=UTF-8"; else if (isArrayBuffer(object)) source = new Uint8Array(object.slice()); else if (ArrayBuffer.isView(object)) source = new Uint8Array(object.buffer.slice(object.byteOffset, object.byteOffset + object.byteLength)); else if (util.isFormDataLike(object)) { + const boundary = `----formdata-undici-0${`${Math.floor(1e11 * Math.random())}`.padStart(11, "0")}`, prefix = `--${boundary}\r\nContent-Disposition: form-data`, escape = str => str.replace(/\n/g, "%0A").replace(/\r/g, "%0D").replace(/"/g, "%22"), normalizeLinefeeds = value => value.replace(/\r?\n|\r/g, "\r\n"), blobParts = [], rn = new Uint8Array([ 13, 10 ]); + length = 0; + let hasUnknownSizeValue = !1; + for (const [name, value] of object) if ("string" == typeof value) { + const chunk = textEncoder.encode(prefix + `; name="${escape(normalizeLinefeeds(name))}"` + `\r\n\r\n${normalizeLinefeeds(value)}\r\n`); + blobParts.push(chunk), length += chunk.byteLength; + } else { + const chunk = textEncoder.encode(`${prefix}; name="${escape(normalizeLinefeeds(name))}"` + (value.name ? `; filename="${escape(value.name)}"` : "") + "\r\n" + `Content-Type: ${value.type || "application/octet-stream"}\r\n\r\n`); + blobParts.push(chunk, value, rn), "number" == typeof value.size ? length += chunk.byteLength + value.size + rn.byteLength : hasUnknownSizeValue = !0; + } + const chunk = textEncoder.encode(`--${boundary}--`); + blobParts.push(chunk), length += chunk.byteLength, hasUnknownSizeValue && (length = null), + source = object, action = async function*() { + for (const part of blobParts) part.stream ? yield* part.stream() : yield part; + }, type = "multipart/form-data; boundary=" + boundary; + } else if (isBlobLike(object)) source = object, length = object.size, object.type && (type = object.type); else if ("function" == typeof object[Symbol.asyncIterator]) { + if (keepalive) throw new TypeError("keepalive"); + if (util.isDisturbed(object) || object.locked) throw new TypeError("Response body object should not be disturbed or locked"); + stream = object instanceof ReadableStream ? object : ReadableStreamFrom(object); + } + if (("string" == typeof source || util.isBuffer(source)) && (length = Buffer.byteLength(source)), + null != action) { + let iterator; + stream = new ReadableStream({ + async start() { + iterator = action(object)[Symbol.asyncIterator](); + }, + async pull(controller) { + const {value, done} = await iterator.next(); + return done ? queueMicrotask((() => { + controller.close(); + })) : isErrored(stream) || controller.enqueue(new Uint8Array(value)), controller.desiredSize > 0; + }, + async cancel(reason) { + await iterator.return(); + }, + type: void 0 + }); } - function Unknown_getInstance() { - return null == Unknown_instance && new Unknown, Unknown_instance; + return [ { + stream, + source, + length + }, type ]; + } + async function* consumeBody(body) { + if (body) if (isUint8Array(body)) yield body; else { + const stream = body.stream; + if (util.isDisturbed(stream)) throw new TypeError("The body has already been consumed."); + if (stream.locked) throw new TypeError("The stream is locked."); + stream[kBodyUsed] = !0, yield* stream; } - function RestoreType() {} - return setMetadataFor($restoreAndLogCOROUTINE$0, "$restoreAndLogCOROUTINE$0", classMeta, CoroutineImpl, void 0, void 0, void 0, []), - setMetadataFor($saveAndLogCOROUTINE$1, "$saveAndLogCOROUTINE$1", classMeta, CoroutineImpl, void 0, void 0, void 0, []), - setMetadataFor(RestoreType, "RestoreType", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(Exact, "Exact", classMeta, RestoreType, void 0, void 0, void 0, []), - setMetadataFor(Partial, "Partial", classMeta, RestoreType, void 0, void 0, void 0, []), - setMetadataFor(None, "None", objectMeta, RestoreType, void 0, void 0, void 0, []), - setMetadataFor(Unknown, "Unknown", objectMeta, RestoreType, void 0, void 0, void 0, []), - $restoreAndLogCOROUTINE$0.prototype.td = function() { - var suspendResult = this.nd_1; - $sm: for (;;) try { - switch (this.ld_1) { - case 0: - if (this.md_1 = 6, this.md_1 = 4, this.vu_1.l()) { - if (this.ld_1 = 2, (suspendResult = restoreCache_0(copyToArray(this.tu_1), this.wu_1 + this.uu_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - } - this.ld_1 = 1; - for (var tmp_0 = copyToArray(this.tu_1), tmp_1 = this.wu_1 + this.uu_1, tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(this.vu_1, 10)), tmp0_iterator = this.vu_1.d(); tmp0_iterator.e(); ) { - var item = tmp0_iterator.f(); - tmp0_mapTo.a(this.wu_1 + item); - } - if ((suspendResult = restoreCache(tmp_0, tmp_1, copyToArray(tmp0_mapTo), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 1: - case 2: - this.yu_1 = suspendResult, this.ld_1 = 3; - continue $sm; - - case 3: - this.xu_1 = this.yu_1, this.md_1 = 6, this.ld_1 = 5; - continue $sm; - - case 4: - if (this.md_1 = 6, this.od_1 instanceof Error) { - var t = this.od_1; - if ("ValidationError" == t.name) throw t; - return warning("Error while loading " + this.uu_1 + ": " + t.message), None_getInstance(); - } - throw this.od_1; - - case 5: - this.md_1 = 6; - var result = this.xu_1, tmp2_safe_receiver = null == result ? null : removePrefix(result, this.wu_1); - return null != tmp2_safe_receiver ? endsWith$default(tmp2_safe_receiver, this.uu_1, !1, 2, null) ? new Exact(tmp2_safe_receiver) : new Partial(tmp2_safe_receiver) : (info("Cache was not found for version=" + this.wu_1 + ", primaryKey=" + this.uu_1 + ", restore keys=" + joinToString$default(this.vu_1, ", ", null, null, 0, null, null, 62, null)), - None_getInstance()); - - case 6: - throw this.od_1; + } + function throwIfAborted(state) { + if (state.aborted) throw new DOMException("The operation was aborted.", "AbortError"); + } + function bodyMixinMethods(instance) { + return { + blob() { + return specConsumeBody(this, (bytes => { + let mimeType = function(object) { + const {headersList} = object[kState], contentType = headersList.get("content-type"); + if (null === contentType) return "failure"; + return parseMIMEType(contentType); + }(this); + return "failure" === mimeType ? mimeType = "" : mimeType && (mimeType = serializeAMimeType(mimeType)), + new Blob([ bytes ], { + type: mimeType + }); + }), instance); + }, + arrayBuffer() { + return specConsumeBody(this, (bytes => new Uint8Array(bytes).buffer), instance); + }, + text() { + return specConsumeBody(this, utf8DecodeBytes, instance); + }, + json() { + return specConsumeBody(this, parseJSONFromBytes, instance); + }, + async formData() { + webidl.brandCheck(this, instance), throwIfAborted(this[kState]); + const contentType = this.headers.get("Content-Type"); + if (/multipart\/form-data/.test(contentType)) { + const headers = {}; + for (const [key, value] of this.headers) headers[key.toLowerCase()] = value; + const responseFormData = new FormData; + let busboy; + try { + busboy = new Busboy({ + headers, + preservePath: !0 + }); + } catch (err) { + throw new DOMException(`${err}`, "AbortError"); + } + busboy.on("field", ((name, value) => { + responseFormData.append(name, value); + })), busboy.on("file", ((name, value, filename, encoding, mimeType) => { + const chunks = []; + if ("base64" === encoding || "base64" === encoding.toLowerCase()) { + let base64chunk = ""; + value.on("data", (chunk => { + base64chunk += chunk.toString().replace(/[\r\n]/gm, ""); + const end = base64chunk.length - base64chunk.length % 4; + chunks.push(Buffer.from(base64chunk.slice(0, end), "base64")), base64chunk = base64chunk.slice(end); + })), value.on("end", (() => { + chunks.push(Buffer.from(base64chunk, "base64")), responseFormData.append(name, new File(chunks, filename, { + type: mimeType + })); + })); + } else value.on("data", (chunk => { + chunks.push(chunk); + })), value.on("end", (() => { + responseFormData.append(name, new File(chunks, filename, { + type: mimeType + })); + })); + })); + const busboyResolve = new Promise(((resolve, reject) => { + busboy.on("finish", resolve), busboy.on("error", (err => reject(new TypeError(err)))); + })); + if (null !== this.body) for await (const chunk of consumeBody(this[kState].body)) busboy.write(chunk); + return busboy.end(), await busboyResolve, responseFormData; } - } catch ($p) { - if (6 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; - } - }, $saveAndLogCOROUTINE$1.prototype.td = function() { - var suspendResult = this.nd_1; - $sm: for (;;) try { - switch (this.ld_1) { - case 0: - if (this.md_1 = 3, this.md_1 = 2, this.ld_1 = 1, (suspendResult = saveCache(copyToArray(this.hv_1), this.jv_1 + this.iv_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 1: - this.md_1 = 3, this.ld_1 = 4; - continue $sm; - - case 2: - if (this.md_1 = 3, this.od_1 instanceof Error) { - var t = this.od_1, tmp0_subject = t.name; - if ("ValidationError" == tmp0_subject) throw t; - if ("ReserveCacheError" == tmp0_subject) { - var tmp1_elvis_lhs = t.message; - info(null == tmp1_elvis_lhs ? "Unknown ReserveCacheError" : tmp1_elvis_lhs); - } else { - var tmp2_safe_receiver = t.message; - !0 === (null == tmp2_safe_receiver ? null : contains$default(tmp2_safe_receiver, "Cache already exists", !1, 2, null)) ? info("Error while uploading " + this.iv_1 + ": " + t.message) : warning("Error while uploading " + this.iv_1 + ": " + t.message); + if (/application\/x-www-form-urlencoded/.test(contentType)) { + let entries; + try { + let text = ""; + const streamingDecoder = new TextDecoder("utf-8", { + ignoreBOM: !0 + }); + for await (const chunk of consumeBody(this[kState].body)) { + if (!isUint8Array(chunk)) throw new TypeError("Expected Uint8Array chunk"); + text += streamingDecoder.decode(chunk, { + stream: !0 + }); } - this.ld_1 = 4; - continue $sm; + text += streamingDecoder.decode(), entries = new URLSearchParams(text); + } catch (err) { + throw Object.assign(new TypeError, { + cause: err + }); } - throw this.od_1; - - case 3: - throw this.od_1; - - case 4: - return this.md_1 = 3, Unit_getInstance(); + const formData = new FormData; + for (const [name, value] of entries) formData.append(name, value); + return formData; } - } catch ($p) { - if (3 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; - } - }, Exact.prototype.toString = function() { - return "Exact(path=" + this.kv_1 + ")"; - }, Exact.prototype.hashCode = function() { - return getStringHashCode(this.kv_1); - }, Exact.prototype.equals = function(other) { - if (this === other) return !0; - if (!(other instanceof Exact)) return !1; - var tmp0_other_with_cast = other instanceof Exact ? other : THROW_CCE(); - return this.kv_1 === tmp0_other_with_cast.kv_1; - }, Partial.prototype.toString = function() { - return "Partial(path=" + this.lv_1 + ")"; - }, Partial.prototype.hashCode = function() { - return getStringHashCode(this.lv_1); - }, Partial.prototype.equals = function(other) { - if (this === other) return !0; - if (!(other instanceof Partial)) return !1; - var tmp0_other_with_cast = other instanceof Partial ? other : THROW_CCE(); - return this.lv_1 === tmp0_other_with_cast.lv_1; - }, None.prototype.toString = function() { - return "None"; - }, Unknown.prototype.toString = function() { - return "Unknown"; - }, _.$_$ = _.$_$ || {}, _.$_$.a = Exact, _.$_$.b = Partial, _.$_$.c = restoreAndLog, - _.$_$.d = saveAndLog, _.$_$.e = None_getInstance, _.$_$.f = Unknown_getInstance, - _; - }) ? __WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__) : __WEBPACK_AMD_DEFINE_FACTORY__) || (module.exports = __WEBPACK_AMD_DEFINE_RESULT__); - }, - 8585: function(module, exports, __webpack_require__) { - var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; - __WEBPACK_AMD_DEFINE_ARRAY__ = [ exports, __webpack_require__(7742), __webpack_require__(2037), __webpack_require__(8744), __webpack_require__(9925), __webpack_require__(7646), __webpack_require__(3814) ], - void 0 === (__WEBPACK_AMD_DEFINE_RESULT__ = "function" == typeof (__WEBPACK_AMD_DEFINE_FACTORY__ = function(_, process, $module$_actions_core_fx0i1v, kotlin_kotlin, kotlin_org_jetbrains_kotlin_wrappers_kotlin_actions_toolkit, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_org_jetbrains_kotlin_wrappers_kotlin_node) { - "use strict"; - var ActionStage_PRE_instance, ActionStage_MAIN_instance, ActionStage_POST_instance, ActionStage_entriesInitialized, ActionsEnvironment_instance, Environment_instance, LINE_SEPARATOR, properties_initialized_InputExtensions_kt_l1mje6, getInput = $module$_actions_core_fx0i1v.getInput, captureStack = kotlin_kotlin.$_$.r4, extendThrowable = kotlin_kotlin.$_$.z4, classMeta = kotlin_kotlin.$_$.x4, setMetadataFor = kotlin_kotlin.$_$.o5, Unit_getInstance = kotlin_kotlin.$_$.d2, Enum = kotlin_kotlin.$_$.q6, objectMeta = kotlin_kotlin.$_$.n5, KProperty1 = kotlin_kotlin.$_$.y5, getPropertyCallableRef = kotlin_kotlin.$_$.b5, collectionSizeOrDefault = kotlin_kotlin.$_$.m2, ArrayList_init_$Create$ = kotlin_kotlin.$_$.r, THROW_CCE = kotlin_kotlin.$_$.v6, isCharSequence = kotlin_kotlin.$_$.f5, trim = kotlin_kotlin.$_$.m6, toString = kotlin_kotlin.$_$.r5, ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.s, charSequenceLength = kotlin_kotlin.$_$.v4, Regex_init_$Create$ = kotlin_kotlin.$_$.f1, CoroutineImpl = kotlin_kotlin.$_$.m4, ensureNotNull = kotlin_kotlin.$_$.a7, exec = kotlin_org_jetbrains_kotlin_wrappers_kotlin_actions_toolkit.$_$.d, get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.x3, numberToInt = kotlin_kotlin.$_$.l5, joinToString$default = kotlin_kotlin.$_$.e, CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e, isInterface = kotlin_kotlin.$_$.g5, unlink = kotlin_org_jetbrains_kotlin_wrappers_kotlin_node.$_$.f, launch$default = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c, create = kotlin_org_jetbrains_kotlin_wrappers_kotlin_actions_toolkit.$_$.e, await_0 = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a, supervisorScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b; - function ActionFailedException_init_$Init$(message, cause, $mask0, $marker, $this) { - return 0 != (2 & $mask0) && (cause = null), ActionFailedException.call($this, message, cause), - $this; - } - function ActionFailedException_init_$Create$(message, cause, $mask0, $marker) { - var tmp = ActionFailedException_init_$Init$(message, cause, $mask0, $marker, Object.create(ActionFailedException.prototype)); - return captureStack(tmp, ActionFailedException_init_$Create$), tmp; - } - function ActionFailedException(message, cause) { - extendThrowable(this, message, cause), this.or_1 = message, captureStack(this, ActionFailedException); - } - function values() { - return [ ActionStage_PRE_getInstance(), ActionStage_MAIN_getInstance(), ActionStage_POST_getInstance() ]; - } - function ActionStage_initEntries() { - if (ActionStage_entriesInitialized) return Unit_getInstance(); - ActionStage_entriesInitialized = !0, ActionStage_PRE_instance = new ActionStage("PRE", 0), - ActionStage_MAIN_instance = new ActionStage("MAIN", 1), ActionStage_POST_instance = new ActionStage("POST", 2); - } - function ActionStage(name, ordinal) { - Enum.call(this, name, ordinal); - } - function ActionStage_PRE_getInstance() { - return ActionStage_initEntries(), ActionStage_PRE_instance; - } - function ActionStage_MAIN_getInstance() { - return ActionStage_initEntries(), ActionStage_MAIN_instance; - } - function ActionStage_POST_getInstance() { - return ActionStage_initEntries(), ActionStage_POST_instance; - } - function ActionsEnvironment() { - ActionsEnvironment_instance = this, this.pr_1 = Environment_getInstance(), this.qr_1 = Environment_getInstance(), - this.rr_1 = Environment_getInstance(), this.sr_1 = Environment_getInstance(), this.tr_1 = Environment_getInstance(), - this.ur_1 = Environment_getInstance(), this.vr_1 = Environment_getInstance(), this.wr_1 = Environment_getInstance(), - this.xr_1 = Environment_getInstance(), this.yr_1 = Environment_getInstance(), this.zr_1 = Environment_getInstance(), - this.as_1 = Environment_getInstance(), this.bs_1 = Environment_getInstance(), this.cs_1 = Environment_getInstance(), - this.ds_1 = Environment_getInstance(), this.es_1 = Environment_getInstance(), this.fs_1 = Environment_getInstance(), - this.gs_1 = Environment_getInstance(); - } - function ActionsEnvironment_getInstance() { - return null == ActionsEnvironment_instance && new ActionsEnvironment, ActionsEnvironment_instance; + throw await Promise.resolve(), throwIfAborted(this[kState]), webidl.errors.exception({ + header: `${instance.name}.formData`, + message: "Could not parse content as FormData." + }); + } + }; + } + async function specConsumeBody(object, convertBytesToJSValue, instance) { + if (webidl.brandCheck(object, instance), throwIfAborted(object[kState]), null != (body = object[kState].body) && (body.stream.locked || util.isDisturbed(body.stream))) throw new TypeError("Body is unusable"); + var body; + const promise = createDeferredPromise(), errorSteps = error => promise.reject(error), successSteps = data => { + try { + promise.resolve(convertBytesToJSValue(data)); + } catch (e) { + errorSteps(e); + } + }; + return null == object[kState].body ? (successSteps(new Uint8Array), promise.promise) : (await fullyReadBody(object[kState].body, successSteps, errorSteps), + promise.promise); + } + function utf8DecodeBytes(buffer) { + if (0 === buffer.length) return ""; + 239 === buffer[0] && 187 === buffer[1] && 191 === buffer[2] && (buffer = buffer.subarray(3)); + return textDecoder.decode(buffer); + } + function parseJSONFromBytes(bytes) { + return JSON.parse(utf8DecodeBytes(bytes)); + } + module.exports = { + extractBody, + safelyExtractBody: function(object, keepalive = !1) { + return ReadableStream || (ReadableStream = __webpack_require__(3774).ReadableStream), + object instanceof ReadableStream && (assert(!util.isDisturbed(object), "The body has already been consumed."), + assert(!object.locked, "The stream is locked.")), extractBody(object, keepalive); + }, + cloneBody: function(body) { + const [out1, out2] = body.stream.tee(), out2Clone = structuredClone(out2, { + transfer: [ out2 ] + }), [, finalClone] = out2Clone.tee(); + return body.stream = out1, { + stream: finalClone, + length: body.length, + source: body.source + }; + }, + mixinBody: function(prototype) { + Object.assign(prototype.prototype, bodyMixinMethods(prototype)); } - function Environment() { - Environment_instance = this; + }; + }, + 3771: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const {MessageChannel, receiveMessageOnPort} = __webpack_require__(8167), corsSafeListedMethods = [ "GET", "HEAD", "POST" ], corsSafeListedMethodsSet = new Set(corsSafeListedMethods), redirectStatus = [ 301, 302, 303, 307, 308 ], redirectStatusSet = new Set(redirectStatus), badPorts = [ "1", "7", "9", "11", "13", "15", "17", "19", "20", "21", "22", "23", "25", "37", "42", "43", "53", "69", "77", "79", "87", "95", "101", "102", "103", "104", "109", "110", "111", "113", "115", "117", "119", "123", "135", "137", "139", "143", "161", "179", "389", "427", "465", "512", "513", "514", "515", "526", "530", "531", "532", "540", "548", "554", "556", "563", "587", "601", "636", "989", "990", "993", "995", "1719", "1720", "1723", "2049", "3659", "4045", "5060", "5061", "6000", "6566", "6665", "6666", "6667", "6668", "6669", "6697", "10080" ], badPortsSet = new Set(badPorts), referrerPolicy = [ "", "no-referrer", "no-referrer-when-downgrade", "same-origin", "origin", "strict-origin", "origin-when-cross-origin", "strict-origin-when-cross-origin", "unsafe-url" ], referrerPolicySet = new Set(referrerPolicy), safeMethods = [ "GET", "HEAD", "OPTIONS", "TRACE" ], safeMethodsSet = new Set(safeMethods), forbiddenMethods = [ "CONNECT", "TRACE", "TRACK" ], forbiddenMethodsSet = new Set(forbiddenMethods), subresource = [ "audio", "audioworklet", "font", "image", "manifest", "paintworklet", "script", "style", "track", "video", "xslt", "" ], subresourceSet = new Set(subresource), DOMException = globalThis.DOMException ?? (() => { + try { + atob("~"); + } catch (err) { + return Object.getPrototypeOf(err).constructor; + } + })(); + let channel; + const structuredClone = globalThis.structuredClone ?? function(value, options = void 0) { + if (0 === arguments.length) throw new TypeError("missing argument"); + return channel || (channel = new MessageChannel), channel.port1.unref(), channel.port2.unref(), + channel.port1.postMessage(value, options?.transfer), receiveMessageOnPort(channel.port2).message; + }; + module.exports = { + DOMException, + structuredClone, + subresource, + forbiddenMethods, + requestBodyHeader: [ "content-encoding", "content-language", "content-location", "content-type", "content-length" ], + referrerPolicy, + requestRedirect: [ "follow", "manual", "error" ], + requestMode: [ "navigate", "same-origin", "no-cors", "cors" ], + requestCredentials: [ "omit", "same-origin", "include" ], + requestCache: [ "default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached" ], + redirectStatus, + corsSafeListedMethods, + nullBodyStatus: [ 101, 204, 205, 304 ], + safeMethods, + badPorts, + requestDuplex: [ "half" ], + subresourceSet, + badPortsSet, + redirectStatusSet, + corsSafeListedMethodsSet, + safeMethodsSet, + forbiddenMethodsSet, + referrerPolicySet + }; + }, + 3587: (module, __unused_webpack_exports, __webpack_require__) => { + const assert = __webpack_require__(2613), {atob} = __webpack_require__(181), {isomorphicDecode} = __webpack_require__(8292), encoder = new TextEncoder, HTTP_TOKEN_CODEPOINTS = /^[!#$%&'*+-.^_|~A-Za-z0-9]+$/, HTTP_WHITESPACE_REGEX = /(\u000A|\u000D|\u0009|\u0020)/, HTTP_QUOTED_STRING_TOKENS = /[\u0009|\u0020-\u007E|\u0080-\u00FF]/; + function URLSerializer(url, excludeFragment = !1) { + if (!excludeFragment) return url.href; + const href = url.href, hashLength = url.hash.length; + return 0 === hashLength ? href : href.substring(0, href.length - hashLength); + } + function collectASequenceOfCodePoints(condition, input, position) { + let result = ""; + for (;position.position < input.length && condition(input[position.position]); ) result += input[position.position], + position.position++; + return result; + } + function collectASequenceOfCodePointsFast(char, input, position) { + const idx = input.indexOf(char, position.position), start = position.position; + return -1 === idx ? (position.position = input.length, input.slice(start)) : (position.position = idx, + input.slice(start, position.position)); + } + function stringPercentDecode(input) { + return function(input) { + const output = []; + for (let i = 0; i < input.length; i++) { + const byte = input[i]; + if (37 !== byte) output.push(byte); else if (37 !== byte || /^[0-9A-Fa-f]{2}$/i.test(String.fromCharCode(input[i + 1], input[i + 2]))) { + const nextTwoBytes = String.fromCharCode(input[i + 1], input[i + 2]), bytePoint = Number.parseInt(nextTwoBytes, 16); + output.push(bytePoint), i += 2; + } else output.push(37); + } + return Uint8Array.from(output); + }(encoder.encode(input)); + } + function parseMIMEType(input) { + const position = { + position: 0 + }, type = collectASequenceOfCodePointsFast("/", input = removeHTTPWhitespace(input, !0, !0), position); + if (0 === type.length || !HTTP_TOKEN_CODEPOINTS.test(type)) return "failure"; + if (position.position > input.length) return "failure"; + position.position++; + let subtype = collectASequenceOfCodePointsFast(";", input, position); + if (subtype = removeHTTPWhitespace(subtype, !1, !0), 0 === subtype.length || !HTTP_TOKEN_CODEPOINTS.test(subtype)) return "failure"; + const typeLowercase = type.toLowerCase(), subtypeLowercase = subtype.toLowerCase(), mimeType = { + type: typeLowercase, + subtype: subtypeLowercase, + parameters: new Map, + essence: `${typeLowercase}/${subtypeLowercase}` + }; + for (;position.position < input.length; ) { + position.position++, collectASequenceOfCodePoints((char => HTTP_WHITESPACE_REGEX.test(char)), input, position); + let parameterName = collectASequenceOfCodePoints((char => ";" !== char && "=" !== char), input, position); + if (parameterName = parameterName.toLowerCase(), position.position < input.length) { + if (";" === input[position.position]) continue; + position.position++; + } + if (position.position > input.length) break; + let parameterValue = null; + if ('"' === input[position.position]) parameterValue = collectAnHTTPQuotedString(input, position, !0), + collectASequenceOfCodePointsFast(";", input, position); else if (parameterValue = collectASequenceOfCodePointsFast(";", input, position), + parameterValue = removeHTTPWhitespace(parameterValue, !1, !0), 0 === parameterValue.length) continue; + 0 === parameterName.length || !HTTP_TOKEN_CODEPOINTS.test(parameterName) || 0 !== parameterValue.length && !HTTP_QUOTED_STRING_TOKENS.test(parameterValue) || mimeType.parameters.has(parameterName) || mimeType.parameters.set(parameterName, parameterValue); + } + return mimeType; + } + function collectAnHTTPQuotedString(input, position, extractValue) { + const positionStart = position.position; + let value = ""; + for (assert('"' === input[position.position]), position.position++; value += collectASequenceOfCodePoints((char => '"' !== char && "\\" !== char), input, position), + !(position.position >= input.length); ) { + const quoteOrBackslash = input[position.position]; + if (position.position++, "\\" !== quoteOrBackslash) { + assert('"' === quoteOrBackslash); + break; + } + if (position.position >= input.length) { + value += "\\"; + break; + } + value += input[position.position], position.position++; } - function Environment_getInstance() { - return null == Environment_instance && new Environment, Environment_instance; + return extractValue ? value : input.slice(positionStart, position.position); + } + function isHTTPWhiteSpace(char) { + return "\r" === char || "\n" === char || "\t" === char || " " === char; + } + function removeHTTPWhitespace(str, leading = !0, trailing = !0) { + let lead = 0, trail = str.length - 1; + if (leading) for (;lead < str.length && isHTTPWhiteSpace(str[lead]); lead++) ; + if (trailing) for (;trail > 0 && isHTTPWhiteSpace(str[trail]); trail--) ; + return str.slice(lead, trail + 1); + } + function isASCIIWhitespace(char) { + return "\r" === char || "\n" === char || "\t" === char || "\f" === char || " " === char; + } + module.exports = { + dataURLProcessor: function(dataURL) { + assert("data:" === dataURL.protocol); + let input = URLSerializer(dataURL, !0); + input = input.slice(5); + const position = { + position: 0 + }; + let mimeType = collectASequenceOfCodePointsFast(",", input, position); + const mimeTypeLength = mimeType.length; + if (mimeType = function(str, leading = !0, trailing = !0) { + let lead = 0, trail = str.length - 1; + if (leading) for (;lead < str.length && isASCIIWhitespace(str[lead]); lead++) ; + if (trailing) for (;trail > 0 && isASCIIWhitespace(str[trail]); trail--) ; + return str.slice(lead, trail + 1); + }(mimeType, !0, !0), position.position >= input.length) return "failure"; + position.position++; + let body = stringPercentDecode(input.slice(mimeTypeLength + 1)); + if (/;(\u0020){0,}base64$/i.test(mimeType)) { + if (body = function(data) { + (data = data.replace(/[\u0009\u000A\u000C\u000D\u0020]/g, "")).length % 4 == 0 && (data = data.replace(/=?=$/, "")); + if (data.length % 4 == 1) return "failure"; + if (/[^+/0-9A-Za-z]/.test(data)) return "failure"; + const binary = atob(data), bytes = new Uint8Array(binary.length); + for (let byte = 0; byte < binary.length; byte++) bytes[byte] = binary.charCodeAt(byte); + return bytes; + }(isomorphicDecode(body)), "failure" === body) return "failure"; + mimeType = mimeType.slice(0, -6), mimeType = mimeType.replace(/(\u0020)+$/, ""), + mimeType = mimeType.slice(0, -1); + } + mimeType.startsWith(";") && (mimeType = "text/plain" + mimeType); + let mimeTypeRecord = parseMIMEType(mimeType); + return "failure" === mimeTypeRecord && (mimeTypeRecord = parseMIMEType("text/plain;charset=US-ASCII")), + { + mimeType: mimeTypeRecord, + body + }; + }, + URLSerializer, + collectASequenceOfCodePoints, + collectASequenceOfCodePointsFast, + stringPercentDecode, + parseMIMEType, + collectAnHTTPQuotedString, + serializeAMimeType: function(mimeType) { + assert("failure" !== mimeType); + const {parameters, essence} = mimeType; + let serialization = essence; + for (let [name, value] of parameters.entries()) serialization += ";", serialization += name, + serialization += "=", HTTP_TOKEN_CODEPOINTS.test(value) || (value = value.replace(/(\\|")/g, "\\$1"), + value = '"' + value, value += '"'), serialization += value; + return serialization; } - function GITHUB_WORKFLOW$factory() { - return getPropertyCallableRef("GITHUB_WORKFLOW", 1, KProperty1, (function(receiver) { - return receiver.hs(); - }), null); + }; + }, + 3534: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const {Blob, File: NativeFile} = __webpack_require__(181), {types} = __webpack_require__(9023), {kState} = __webpack_require__(9415), {isBlobLike} = __webpack_require__(8292), {webidl} = __webpack_require__(769), {parseMIMEType, serializeAMimeType} = __webpack_require__(3587), {kEnumerableProperty} = __webpack_require__(8869), encoder = new TextEncoder; + class File extends Blob { + constructor(fileBits, fileName, options = {}) { + webidl.argumentLengthCheck(arguments, 2, { + header: "File constructor" + }), fileBits = webidl.converters["sequence"](fileBits); + const n = fileName = webidl.converters.USVString(fileName); + let d, t = (options = webidl.converters.FilePropertyBag(options)).type; + substep: { + if (t) { + if (t = parseMIMEType(t), "failure" === t) { + t = ""; + break substep; + } + t = serializeAMimeType(t).toLowerCase(); + } + d = options.lastModified; + } + super(function(parts, options) { + const bytes = []; + for (const element of parts) if ("string" == typeof element) { + let s = element; + "native" === options.endings && (s = convertLineEndingsNative(s)), bytes.push(encoder.encode(s)); + } else types.isAnyArrayBuffer(element) || types.isTypedArray(element) ? element.buffer ? bytes.push(new Uint8Array(element.buffer, element.byteOffset, element.byteLength)) : bytes.push(new Uint8Array(element)) : isBlobLike(element) && bytes.push(element); + return bytes; + }(fileBits, options), { + type: t + }), this[kState] = { + name: n, + lastModified: d, + type: t + }; } - function GITHUB_EVENT_NAME$factory() { - return getPropertyCallableRef("GITHUB_EVENT_NAME", 1, KProperty1, (function(receiver) { - return receiver.js(); - }), null); + get name() { + return webidl.brandCheck(this, File), this[kState].name; } - function GITHUB_EVENT_PATH$factory() { - return getPropertyCallableRef("GITHUB_EVENT_PATH", 1, KProperty1, (function(receiver) { - return receiver.ks(); - }), null); + get lastModified() { + return webidl.brandCheck(this, File), this[kState].lastModified; } - function GITHUB_SHA$factory() { - return getPropertyCallableRef("GITHUB_SHA", 1, KProperty1, (function(receiver) { - return receiver.ls(); - }), null); + get type() { + return webidl.brandCheck(this, File), this[kState].type; } - function RUNNER_OS$factory() { - return getPropertyCallableRef("RUNNER_OS", 1, KProperty1, (function(receiver) { - return receiver.ms(); - }), null); + } + class FileLike { + constructor(blobLike, fileName, options = {}) { + const n = fileName, t = options.type, d = options.lastModified ?? Date.now(); + this[kState] = { + blobLike, + name: n, + type: t, + lastModified: d + }; } - function get_LINE_SEPARATOR() { - return init_properties_InputExtensions_kt_cog0zu(), LINE_SEPARATOR; + stream(...args) { + return webidl.brandCheck(this, FileLike), this[kState].blobLike.stream(...args); } - function getInput_0(name, required) { - init_properties_InputExtensions_kt_cog0zu(); - var tmp0_apply = {}; - return tmp0_apply.required = required, getInput(name, tmp0_apply); + arrayBuffer(...args) { + return webidl.brandCheck(this, FileLike), this[kState].blobLike.arrayBuffer(...args); } - function getInput$default(name, required, $mask0, $handler) { - return 0 != (2 & $mask0) && (required = !1), getInput_0(name, required); + slice(...args) { + return webidl.brandCheck(this, FileLike), this[kState].blobLike.slice(...args); } - function getListInput(name, required) { - init_properties_InputExtensions_kt_cog0zu(); - var tmp0_apply = {}; - tmp0_apply.required = required; - for (var tmp0_split = getInput(name, tmp0_apply), tmp2_map = get_LINE_SEPARATOR().mb(tmp0_split, 0), tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp2_map, 10)), tmp0_iterator = tmp2_map.d(); tmp0_iterator.e(); ) { - var tmp$ret$5, item = tmp0_iterator.f(); - tmp$ret$5 = toString(trim(isCharSequence(item) ? item : THROW_CCE())), tmp0_mapTo.a(tmp$ret$5); - } - for (var tmp3_filterNot = tmp0_mapTo, tmp0_filterNotTo = ArrayList_init_$Create$_0(), tmp0_iterator_0 = tmp3_filterNot.d(); tmp0_iterator_0.e(); ) { - var element = tmp0_iterator_0.f(); - 0 === charSequenceLength(element) || tmp0_filterNotTo.a(element); - } - return tmp0_filterNotTo; + text(...args) { + return webidl.brandCheck(this, FileLike), this[kState].blobLike.text(...args); } - function getListInput$default(name, required, $mask0, $handler) { - return 0 != (2 & $mask0) && (required = !1), getListInput(name, required); + get size() { + return webidl.brandCheck(this, FileLike), this[kState].blobLike.size; } - function init_properties_InputExtensions_kt_cog0zu() { - properties_initialized_InputExtensions_kt_l1mje6 || (properties_initialized_InputExtensions_kt_l1mje6 = !0, - LINE_SEPARATOR = Regex_init_$Create$("[\r\n]+")); + get type() { + return webidl.brandCheck(this, FileLike), this[kState].blobLike.type; } - function ExecResult(exitCode, stdout, stderr) { - this.ns_1 = exitCode, this.os_1 = stdout, this.ps_1 = stderr; + get name() { + return webidl.brandCheck(this, FileLike), this[kState].name; } - function exec_0(commandLine, args, captureOutput, options, $cont) { - var tmp = new $execCOROUTINE$0(commandLine, args, captureOutput, options, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); + get lastModified() { + return webidl.brandCheck(this, FileLike), this[kState].lastModified; } - function exec$default(commandLine, args, captureOutput, options, $cont, $mask0, $handler) { - return 0 != (4 & $mask0) && (captureOutput = !1), 0 != (8 & $mask0) && (options = exec$lambda), - exec_0(commandLine, args, captureOutput, options, $cont); + get [Symbol.toStringTag]() { + return "File"; } - function exec$lambda($this$null) { - return Unit_getInstance(); + } + function convertLineEndingsNative(s) { + let nativeLineEnding = "\n"; + return "win32" === process.platform && (nativeLineEnding = "\r\n"), s.replace(/\r?\n/g, nativeLineEnding); + } + Object.defineProperties(File.prototype, { + [Symbol.toStringTag]: { + value: "File", + configurable: !0 + }, + name: kEnumerableProperty, + lastModified: kEnumerableProperty + }), webidl.converters.Blob = webidl.interfaceConverter(Blob), webidl.converters.BlobPart = function(V, opts) { + if ("Object" === webidl.util.Type(V)) { + if (isBlobLike(V)) return webidl.converters.Blob(V, { + strict: !1 + }); + if (ArrayBuffer.isView(V) || types.isAnyArrayBuffer(V)) return webidl.converters.BufferSource(V, opts); + } + return webidl.converters.USVString(V, opts); + }, webidl.converters["sequence"] = webidl.sequenceConverter(webidl.converters.BlobPart), + webidl.converters.FilePropertyBag = webidl.dictionaryConverter([ { + key: "lastModified", + converter: webidl.converters["long long"], + get defaultValue() { + return Date.now(); + } + }, { + key: "type", + converter: webidl.converters.DOMString, + defaultValue: "" + }, { + key: "endings", + converter: value => ("native" !== (value = (value = webidl.converters.DOMString(value)).toLowerCase()) && (value = "transparent"), + value), + defaultValue: "transparent" + } ]), module.exports = { + File, + FileLike, + isFileLike: function(object) { + return NativeFile && object instanceof NativeFile || object instanceof File || object && ("function" == typeof object.stream || "function" == typeof object.arrayBuffer) && "File" === object[Symbol.toStringTag]; } - function exec$lambda_0($stdout) { - return function(it) { - var tmp$ret$1; - return tmp$ret$1 = it, $stdout.a("" + tmp$ret$1), Unit_getInstance(); - }; + }; + }, + 9706: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const {isBlobLike, toUSVString, makeIterator} = __webpack_require__(8292), {kState} = __webpack_require__(9415), {File: UndiciFile, FileLike, isFileLike} = __webpack_require__(3534), {webidl} = __webpack_require__(769), {Blob, File: NativeFile} = __webpack_require__(181), File = NativeFile ?? UndiciFile; + class FormData { + constructor(form) { + if (void 0 !== form) throw webidl.errors.conversionFailed({ + prefix: "FormData constructor", + argument: "Argument 1", + types: [ "undefined" ] + }); + this[kState] = []; } - function exec$lambda_1($stderr) { - return function(it) { - var tmp$ret$1; - return tmp$ret$1 = it, $stderr.a("" + tmp$ret$1), Unit_getInstance(); - }; + append(name, value, filename = void 0) { + if (webidl.brandCheck(this, FormData), webidl.argumentLengthCheck(arguments, 2, { + header: "FormData.append" + }), 3 === arguments.length && !isBlobLike(value)) throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'"); + const entry = makeEntry(name = webidl.converters.USVString(name), value = isBlobLike(value) ? webidl.converters.Blob(value, { + strict: !1 + }) : webidl.converters.USVString(value), filename = 3 === arguments.length ? webidl.converters.USVString(filename) : void 0); + this[kState].push(entry); } - function $execCOROUTINE$0(commandLine, args, captureOutput, options, resultContinuation) { - CoroutineImpl.call(this, resultContinuation), this.ys_1 = commandLine, this.zs_1 = args, - this.at_1 = captureOutput, this.bt_1 = options; + delete(name) { + webidl.brandCheck(this, FormData), webidl.argumentLengthCheck(arguments, 1, { + header: "FormData.delete" + }), name = webidl.converters.USVString(name), this[kState] = this[kState].filter((entry => entry.name !== name)); } - function removeFiles(files, $cont) { - var tmp = new $removeFilesCOROUTINE$1(files, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); + get(name) { + webidl.brandCheck(this, FormData), webidl.argumentLengthCheck(arguments, 1, { + header: "FormData.get" + }), name = webidl.converters.USVString(name); + const idx = this[kState].findIndex((entry => entry.name === name)); + return -1 === idx ? null : this[kState][idx].value; } - function removeFiles$slambda$slambda($file, resultContinuation) { - this.xt_1 = $file, CoroutineImpl.call(this, resultContinuation); + getAll(name) { + return webidl.brandCheck(this, FormData), webidl.argumentLengthCheck(arguments, 1, { + header: "FormData.getAll" + }), name = webidl.converters.USVString(name), this[kState].filter((entry => entry.name === name)).map((entry => entry.value)); } - function removeFiles$slambda$slambda_0($file, resultContinuation) { - var i = new removeFiles$slambda$slambda($file, resultContinuation), l = function($this$launch, $cont) { - return i.zt($this$launch, $cont); - }; - return l.$arity = 1, l; + has(name) { + return webidl.brandCheck(this, FormData), webidl.argumentLengthCheck(arguments, 1, { + header: "FormData.has" + }), name = webidl.converters.USVString(name), -1 !== this[kState].findIndex((entry => entry.name === name)); + } + set(name, value, filename = void 0) { + if (webidl.brandCheck(this, FormData), webidl.argumentLengthCheck(arguments, 2, { + header: "FormData.set" + }), 3 === arguments.length && !isBlobLike(value)) throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'"); + name = webidl.converters.USVString(name), value = isBlobLike(value) ? webidl.converters.Blob(value, { + strict: !1 + }) : webidl.converters.USVString(value), filename = 3 === arguments.length ? toUSVString(filename) : void 0; + const entry = makeEntry(name, value, filename), idx = this[kState].findIndex((entry => entry.name === name)); + -1 !== idx ? this[kState] = [ ...this[kState].slice(0, idx), entry, ...this[kState].slice(idx + 1).filter((entry => entry.name !== name)) ] : this[kState].push(entry); + } + entries() { + return webidl.brandCheck(this, FormData), makeIterator((() => this[kState].map((pair => [ pair.name, pair.value ]))), "FormData", "key+value"); } - function removeFiles$slambda($fileNames, resultContinuation) { - this.ju_1 = $fileNames, CoroutineImpl.call(this, resultContinuation); + keys() { + return webidl.brandCheck(this, FormData), makeIterator((() => this[kState].map((pair => [ pair.name, pair.value ]))), "FormData", "key"); } - function removeFiles$slambda_0($fileNames, resultContinuation) { - var i = new removeFiles$slambda($fileNames, resultContinuation), l = function($this$supervisorScope, $cont) { - return i.zt($this$supervisorScope, $cont); + values() { + return webidl.brandCheck(this, FormData), makeIterator((() => this[kState].map((pair => [ pair.name, pair.value ]))), "FormData", "value"); + } + forEach(callbackFn, thisArg = globalThis) { + if (webidl.brandCheck(this, FormData), webidl.argumentLengthCheck(arguments, 1, { + header: "FormData.forEach" + }), "function" != typeof callbackFn) throw new TypeError("Failed to execute 'forEach' on 'FormData': parameter 1 is not of type 'Function'."); + for (const [key, value] of this) callbackFn.apply(thisArg, [ value, key, this ]); + } + } + function makeEntry(name, value, filename) { + if (name = Buffer.from(name).toString("utf8"), "string" == typeof value) value = Buffer.from(value).toString("utf8"); else if (isFileLike(value) || (value = value instanceof Blob ? new File([ value ], "blob", { + type: value.type + }) : new FileLike(value, "blob", { + type: value.type + })), void 0 !== filename) { + const options = { + type: value.type, + lastModified: value.lastModified }; - return l.$arity = 1, l; + value = NativeFile && value instanceof NativeFile || value instanceof UndiciFile ? new File([ value ], filename, options) : new FileLike(value, filename, options); } - function $removeFilesCOROUTINE$1(files, resultContinuation) { - CoroutineImpl.call(this, resultContinuation), this.mt_1 = files; - } - return setMetadataFor(ActionFailedException, "ActionFailedException", classMeta, Error, void 0, void 0, void 0, []), - setMetadataFor(ActionStage, "ActionStage", classMeta, Enum, void 0, void 0, void 0, []), - setMetadataFor(ActionsEnvironment, "ActionsEnvironment", objectMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(Environment, "Environment", objectMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(ExecResult, "ExecResult", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor($execCOROUTINE$0, "$execCOROUTINE$0", classMeta, CoroutineImpl, void 0, void 0, void 0, []), - setMetadataFor(removeFiles$slambda$slambda, "removeFiles$slambda$slambda", classMeta, CoroutineImpl, void 0, void 0, void 0, [ 1 ]), - setMetadataFor(removeFiles$slambda, "removeFiles$slambda", classMeta, CoroutineImpl, void 0, void 0, void 0, [ 1 ]), - setMetadataFor($removeFilesCOROUTINE$1, "$removeFilesCOROUTINE$1", classMeta, CoroutineImpl, void 0, void 0, void 0, []), - ActionFailedException.prototype.x5 = function() { - return this.or_1; - }, Object.defineProperty(ActionFailedException.prototype, "message", { - configurable: !0, - get: function() { - return this.x5(); - } - }), ActionsEnvironment.prototype.hs = function() { - return this.qr_1.is(this, GITHUB_WORKFLOW$factory()); - }, ActionsEnvironment.prototype.js = function() { - return this.wr_1.is(this, GITHUB_EVENT_NAME$factory()); - }, ActionsEnvironment.prototype.ks = function() { - return this.xr_1.is(this, GITHUB_EVENT_PATH$factory()); - }, ActionsEnvironment.prototype.ls = function() { - return this.zr_1.is(this, GITHUB_SHA$factory()); - }, ActionsEnvironment.prototype.ms = function() { - return this.gs_1.is(this, RUNNER_OS$factory()); - }, Environment.prototype.is = function(environment, property) { - var tmp0_elvis_lhs = process.env[property.callableName]; - if (null == tmp0_elvis_lhs) throw ActionFailedException_init_$Create$(property.callableName + " is not found in process.env", null, 2, null); - return tmp0_elvis_lhs; - }, $execCOROUTINE$0.prototype.td = function() { - var suspendResult = this.nd_1; - $sm: for (;;) try { - switch (this.ld_1) { - case 0: - this.md_1 = 2, this.ct_1 = ArrayList_init_$Create$_0(), this.dt_1 = ArrayList_init_$Create$_0(), - this.ld_1 = 1; - var tmp_2 = this.zs_1.slice(), tmp0_apply = { - listeners: {} - }; - if (this.bt_1(tmp0_apply), this.at_1 && (ensureNotNull(tmp0_apply.listeners).stdout = exec$lambda_0(this.ct_1), - ensureNotNull(tmp0_apply.listeners).stderr = exec$lambda_1(this.dt_1)), (suspendResult = exec(this.ys_1, tmp_2, tmp0_apply, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 1: - return new ExecResult(numberToInt(suspendResult), joinToString$default(this.ct_1, "\n", null, null, 0, null, null, 62, null), joinToString$default(this.dt_1, "\n", null, null, 0, null, null, 62, null)); - - case 2: - throw this.od_1; - } - } catch ($p) { - if (2 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; - } - }, removeFiles$slambda$slambda.prototype.zt = function($this$launch, $cont) { - var tmp = this.au($this$launch, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); - }, removeFiles$slambda$slambda.prototype.fe = function(p1, $cont) { - return this.zt(null != p1 && isInterface(p1, CoroutineScope) ? p1 : THROW_CCE(), $cont); - }, removeFiles$slambda$slambda.prototype.td = function() { - var suspendResult = this.nd_1; - $sm: for (;;) try { - switch (this.ld_1) { - case 0: - if (this.md_1 = 2, this.ld_1 = 1, (suspendResult = unlink(this.xt_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 1: - return Unit_getInstance(); - - case 2: - throw this.od_1; - } - } catch ($p) { - if (2 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; - } - }, removeFiles$slambda$slambda.prototype.au = function($this$launch, completion) { - var i = new removeFiles$slambda$slambda(this.xt_1, completion); - return i.yt_1 = $this$launch, i; - }, removeFiles$slambda.prototype.zt = function($this$supervisorScope, $cont) { - var tmp = this.au($this$supervisorScope, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); - }, removeFiles$slambda.prototype.fe = function(p1, $cont) { - return this.zt(null != p1 && isInterface(p1, CoroutineScope) ? p1 : THROW_CCE(), $cont); - }, removeFiles$slambda.prototype.td = function() { - for (this.nd_1; ;) try { - var tmp = this.ld_1; - if (0 === tmp) { - this.md_1 = 1; - for (var indexedObject = this.ju_1, inductionVariable = 0, last = indexedObject.length; inductionVariable < last; ) { - var file = indexedObject[inductionVariable]; - inductionVariable = inductionVariable + 1 | 0, launch$default(this.ku_1, null, null, removeFiles$slambda$slambda_0(file, null), 3, null); - } - return Unit_getInstance(); - } - if (1 === tmp) throw this.od_1; - } catch ($p) { - throw $p; - } - }, removeFiles$slambda.prototype.au = function($this$supervisorScope, completion) { - var i = new removeFiles$slambda(this.ju_1, completion); - return i.ku_1 = $this$supervisorScope, i; - }, $removeFilesCOROUTINE$1.prototype.td = function() { - var suspendResult = this.nd_1; - $sm: for (;;) try { - switch (this.ld_1) { - case 0: - if (this.md_1 = 4, this.mt_1.l()) return Unit_getInstance(); - if (this.ld_1 = 1, (suspendResult = create(joinToString$default(this.mt_1, "\n", null, null, 0, null, null, 62, null), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 1: - if (this.nt_1 = suspendResult, this.ld_1 = 2, (suspendResult = await_0(this.nt_1.glob(), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 2: - if (this.ot_1 = suspendResult, this.ld_1 = 3, (suspendResult = supervisorScope(removeFiles$slambda_0(this.ot_1, null), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 3: - return Unit_getInstance(); - - case 4: - throw this.od_1; - } - } catch ($p) { - if (4 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; - } - }, _.$_$ = _.$_$ || {}, _.$_$.a = ActionFailedException, _.$_$.b = values, _.$_$.c = ActionStage_MAIN_getInstance, - _.$_$.d = ActionStage_POST_getInstance, _.$_$.e = removeFiles, _.$_$.f = getInput$default, - _.$_$.g = getListInput$default, _.$_$.h = exec$default, _.$_$.i = ActionFailedException_init_$Create$, - _.$_$.j = ActionsEnvironment_getInstance, _; - }) ? __WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__) : __WEBPACK_AMD_DEFINE_FACTORY__) || (module.exports = __WEBPACK_AMD_DEFINE_RESULT__); + return { + name, + value + }; + } + FormData.prototype[Symbol.iterator] = FormData.prototype.entries, Object.defineProperties(FormData.prototype, { + [Symbol.toStringTag]: { + value: "FormData", + configurable: !0 + } + }), module.exports = { + FormData + }; }, - 6116: function(module, exports, __webpack_require__) { - var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; - __WEBPACK_AMD_DEFINE_ARRAY__ = [ exports, __webpack_require__(2037), __webpack_require__(7742), __webpack_require__(5471), __webpack_require__(9411), __webpack_require__(8744), __webpack_require__(482), __webpack_require__(8585), __webpack_require__(4727), __webpack_require__(3012), __webpack_require__(4370), __webpack_require__(2528), __webpack_require__(9925), __webpack_require__(3814) ], - void 0 === (__WEBPACK_AMD_DEFINE_RESULT__ = "function" == typeof (__WEBPACK_AMD_DEFINE_FACTORY__ = function(_, $module$_actions_core_fx0i1v, process, $module$string_argv_8hgmbc, path, kotlin_kotlin, kotlin_gradle_cache_action_layered_cache, kotlin_gradle_cache_action_wrappers_actions_toolkit, kotlin_gradle_cache_action_gradle_launcher, kotlin_gradle_cache_action_wrappers_octokit_webhooks, kotlin_gradle_cache_action_cache_proxy, kotlin_gradle_cache_action_wrappers_nodejs, kotlin_org_jetbrains_kotlin_wrappers_kotlin_actions_toolkit, kotlin_org_jetbrains_kotlin_wrappers_kotlin_node) { - "use strict"; - var setFailed = $module$_actions_core_fx0i1v.setFailed, info = $module$_actions_core_fx0i1v.info, parseArgsStringToArgv = $module$string_argv_8hgmbc.parseArgsStringToArgv, warning = $module$_actions_core_fx0i1v.warning, setOutput = $module$_actions_core_fx0i1v.setOutput, Regex_init_$Create$ = kotlin_kotlin.$_$.f1, Unit_getInstance = kotlin_kotlin.$_$.d2, ArrayList_init_$Create$ = kotlin_kotlin.$_$.s, contains$default = kotlin_kotlin.$_$.g, startsWith$default = kotlin_kotlin.$_$.n, collectionSizeOrDefault = kotlin_kotlin.$_$.m2, mapCapacity = kotlin_kotlin.$_$.h3, coerceAtLeast = kotlin_kotlin.$_$.u5, LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.y, getOrNull = kotlin_kotlin.$_$.x2, to = kotlin_kotlin.$_$.k7, CoroutineImpl = kotlin_kotlin.$_$.m4, stateVariable = kotlin_gradle_cache_action_layered_cache.$_$.a, values = kotlin_gradle_cache_action_wrappers_actions_toolkit.$_$.b, ActionStage_POST_getInstance = kotlin_gradle_cache_action_wrappers_actions_toolkit.$_$.d, get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.x3, ActionFailedException = kotlin_gradle_cache_action_wrappers_actions_toolkit.$_$.a, classMeta = kotlin_kotlin.$_$.x4, setMetadataFor = kotlin_kotlin.$_$.o5, getInput$default = kotlin_gradle_cache_action_wrappers_actions_toolkit.$_$.f, _Char___init__impl__6a9atx = kotlin_kotlin.$_$.s1, charArrayOf = kotlin_kotlin.$_$.s4, trimEnd = kotlin_kotlin.$_$.j6, toList = kotlin_kotlin.$_$.r3, isBlank = kotlin_kotlin.$_$.z5, toBoolean = kotlin_kotlin.$_$.d6, ActionsEnvironment_getInstance = kotlin_gradle_cache_action_wrappers_actions_toolkit.$_$.j, getListInput$default = kotlin_gradle_cache_action_wrappers_actions_toolkit.$_$.g, Parameters = kotlin_gradle_cache_action_layered_cache.$_$.c, resolveDistribution = kotlin_gradle_cache_action_gradle_launcher.$_$.d, currentTrigger = kotlin_gradle_cache_action_wrappers_octokit_webhooks.$_$.a, ActionStage_MAIN_getInstance = kotlin_gradle_cache_action_wrappers_actions_toolkit.$_$.c, GradleCacheAction = kotlin_gradle_cache_action_layered_cache.$_$.b, listOf = kotlin_kotlin.$_$.f3, plus = kotlin_kotlin.$_$.j3, install = kotlin_gradle_cache_action_gradle_launcher.$_$.b, LaunchParams = kotlin_gradle_cache_action_gradle_launcher.$_$.a, CacheProxy = kotlin_gradle_cache_action_cache_proxy.$_$.a, get_normalizedPath = kotlin_gradle_cache_action_wrappers_nodejs.$_$.b, mkdirP = kotlin_org_jetbrains_kotlin_wrappers_kotlin_actions_toolkit.$_$.f, writeFile = kotlin_org_jetbrains_kotlin_wrappers_kotlin_node.$_$.g, launchGradle = kotlin_gradle_cache_action_gradle_launcher.$_$.c, get_EmptyContinuation = kotlin_kotlin.$_$.a4; - function splitLines(_this__u8e3s4) { - for (var tmp1_filter = Regex_init_$Create$("\\s*[\r\n]+\\s*").mb(_this__u8e3s4, 0), tmp0_filterTo = ArrayList_init_$Create$(), tmp0_iterator = tmp1_filter.d(); tmp0_iterator.e(); ) { - var element = tmp0_iterator.f(); - !startsWith$default(element, "#", !1, 2, null) && contains$default(element, "=", !1, 2, null) && tmp0_filterTo.a(element); - } - for (var tmp2_associate = tmp0_filterTo, capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(tmp2_associate, 10)), 16), tmp1_associateTo = LinkedHashMap_init_$Create$(capacity), tmp0_iterator_0 = tmp2_associate.d(); tmp0_iterator_0.e(); ) { - var element_0 = tmp0_iterator_0.f(), values = Regex_init_$Create$("\\s*=\\s*").mb(element_0, 2), tmp_0 = values.g(0), tmp0_elvis_lhs = getOrNull(values, 1), tmp0_plusAssign = to(tmp_0, null == tmp0_elvis_lhs ? "" : tmp0_elvis_lhs); - tmp1_associateTo.t2(tmp0_plusAssign.r2_1, tmp0_plusAssign.s2_1); - } - return tmp1_associateTo; + 6367: module => { + "use strict"; + const globalOrigin = Symbol.for("undici.globalOrigin.1"); + module.exports = { + getGlobalOrigin: function() { + return globalThis[globalOrigin]; + }, + setGlobalOrigin: function(newOrigin) { + if (void 0 === newOrigin) return void Object.defineProperty(globalThis, globalOrigin, { + value: void 0, + writable: !0, + enumerable: !1, + configurable: !1 + }); + const parsedURL = new URL(newOrigin); + if ("http:" !== parsedURL.protocol && "https:" !== parsedURL.protocol) throw new TypeError(`Only http & https urls are allowed, received ${parsedURL.protocol}`); + Object.defineProperty(globalThis, globalOrigin, { + value: parsedURL, + writable: !0, + enumerable: !1, + configurable: !1 + }); } - function isMochaRunning() { - var tmp$ret$4; - $l$block: { - for (var indexedObject = [ "afterEach", "after", "beforeEach", "before", "describe", "it" ], inductionVariable = 0, last = indexedObject.length; inductionVariable < last; ) { - var element = indexedObject[inductionVariable]; - inductionVariable = inductionVariable + 1 | 0; - var tmp = globalThis[element]; - if (null == tmp || "function" != typeof tmp) { - tmp$ret$4 = !1; - break $l$block; - } - } - tmp$ret$4 = !0; + }; + }, + 5472: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const {kHeadersList, kConstruct} = __webpack_require__(8028), {kGuard} = __webpack_require__(9415), {kEnumerableProperty} = __webpack_require__(8869), {makeIterator, isValidHeaderName, isValidHeaderValue} = __webpack_require__(8292), {webidl} = __webpack_require__(769), assert = __webpack_require__(2613), kHeadersMap = Symbol("headers map"), kHeadersSortedMap = Symbol("headers map sorted"); + function isHTTPWhiteSpaceCharCode(code) { + return 10 === code || 13 === code || 9 === code || 32 === code; + } + function headerValueNormalize(potentialValue) { + let i = 0, j = potentialValue.length; + for (;j > i && isHTTPWhiteSpaceCharCode(potentialValue.charCodeAt(j - 1)); ) --j; + for (;j > i && isHTTPWhiteSpaceCharCode(potentialValue.charCodeAt(i)); ) ++i; + return 0 === i && j === potentialValue.length ? potentialValue : potentialValue.substring(i, j); + } + function fill(headers, object) { + if (Array.isArray(object)) for (let i = 0; i < object.length; ++i) { + const header = object[i]; + if (2 !== header.length) throw webidl.errors.exception({ + header: "Headers constructor", + message: `expected name/value pair to be length 2, found ${header.length}.` + }); + appendHeader(headers, header[0], header[1]); + } else { + if ("object" != typeof object || null === object) throw webidl.errors.conversionFailed({ + prefix: "Headers constructor", + argument: "Argument 1", + types: [ "sequence>", "record" ] + }); + { + const keys = Object.keys(object); + for (let i = 0; i < keys.length; ++i) appendHeader(headers, keys[i], object[keys[i]]); } - return tmp$ret$4; } - function main($cont) { - var tmp = new $mainCOROUTINE$0($cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); + } + function appendHeader(headers, name, value) { + if (value = headerValueNormalize(value), !isValidHeaderName(name)) throw webidl.errors.invalidArgument({ + prefix: "Headers.append", + value: name, + type: "header name" + }); + if (!isValidHeaderValue(value)) throw webidl.errors.invalidArgument({ + prefix: "Headers.append", + value, + type: "header value" + }); + if ("immutable" === headers[kGuard]) throw new TypeError("immutable"); + return headers[kGuard], headers[kHeadersList].append(name, value); + } + class HeadersList { + cookies=null; + constructor(init) { + init instanceof HeadersList ? (this[kHeadersMap] = new Map(init[kHeadersMap]), this[kHeadersSortedMap] = init[kHeadersSortedMap], + this.cookies = null === init.cookies ? null : [ ...init.cookies ]) : (this[kHeadersMap] = new Map(init), + this[kHeadersSortedMap] = null); } - function mainInternal(stage, $cont) { - var tmp = new $mainInternalCOROUTINE$1(stage, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); + contains(name) { + return name = name.toLowerCase(), this[kHeadersMap].has(name); } - function main$lambda() { - return "MAIN"; + clear() { + this[kHeadersMap].clear(), this[kHeadersSortedMap] = null, this.cookies = null; } - function $mainCOROUTINE$0(resultContinuation) { - CoroutineImpl.call(this, resultContinuation); + append(name, value) { + this[kHeadersSortedMap] = null; + const lowercaseName = name.toLowerCase(), exists = this[kHeadersMap].get(lowercaseName); + if (exists) { + const delimiter = "cookie" === lowercaseName ? "; " : ", "; + this[kHeadersMap].set(lowercaseName, { + name: exists.name, + value: `${exists.value}${delimiter}${value}` + }); + } else this[kHeadersMap].set(lowercaseName, { + name, + value + }); + "set-cookie" === lowercaseName && (this.cookies ??= [], this.cookies.push(value)); } - function $mainInternalCOROUTINE$1(stage, resultContinuation) { - CoroutineImpl.call(this, resultContinuation), this.l21_1 = stage; + set(name, value) { + this[kHeadersSortedMap] = null; + const lowercaseName = name.toLowerCase(); + "set-cookie" === lowercaseName && (this.cookies = [ value ]), this[kHeadersMap].set(lowercaseName, { + name, + value + }); } - return setMetadataFor($mainCOROUTINE$0, "$mainCOROUTINE$0", classMeta, CoroutineImpl, void 0, void 0, void 0, []), - setMetadataFor($mainInternalCOROUTINE$1, "$mainInternalCOROUTINE$1", classMeta, CoroutineImpl, void 0, void 0, void 0, []), - $mainCOROUTINE$0.prototype.td = function() { - var suspendResult = this.nd_1; - $sm: for (;;) try { - switch (this.ld_1) { - case 0: - if (this.md_1 = 4, isMochaRunning()) return Unit_getInstance(); - this.b21_1 = stateVariable("stage", main$lambda); - var tmp$ret$0, tmp_1 = this; - l$ret$1: do { - for (var indexedObject = values(), inductionVariable = 0, last = indexedObject.length; inductionVariable < last; ) { - var element = indexedObject[inductionVariable]; - if (inductionVariable = inductionVariable + 1 | 0, element.c4_1 === this.b21_1.ij()) { - tmp$ret$0 = element; - break l$ret$1; - } - } - tmp$ret$0 = null; - } while (0); - tmp_1.c21_1 = tmp$ret$0; - var tmp_2, tmp0_subject = this.c21_1; - switch (null == tmp0_subject ? -1 : tmp0_subject.d4_1) { - case 1: - tmp_2 = ActionStage_POST_getInstance(); - break; - - case -1: - return setFailed("Unable to find action stage: " + this.b21_1.ij()), Unit_getInstance(); - - default: - tmp_2 = null; - } - var tmp2_elvis_lhs = null == tmp_2 ? null : tmp_2.c4_1; - if (this.b21_1.jj(null == tmp2_elvis_lhs ? "FINAL" : tmp2_elvis_lhs), this.md_1 = 2, - this.ld_1 = 1, (suspendResult = mainInternal(this.c21_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 1: - this.md_1 = 4, this.ld_1 = 3; - continue $sm; - - case 2: - if (this.md_1 = 4, this.od_1 instanceof ActionFailedException) { - var e = this.od_1; - setFailed(e.or_1), this.ld_1 = 3; - continue $sm; - } - throw this.od_1; - - case 3: - return this.md_1 = 4, Unit_getInstance(); - - case 4: - throw this.od_1; - } - } catch ($p) { - if (4 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; - } - }, $mainInternalCOROUTINE$1.prototype.td = function() { - var suspendResult = this.nd_1; - $sm: for (;;) try { - switch (this.ld_1) { - case 0: - this.md_1 = 16, this.m21_1 = trimEnd(getInput$default("home-directory", !1, 2, null), charArrayOf([ _Char___init__impl__6a9atx(47), _Char___init__impl__6a9atx(92) ])), - "" !== this.m21_1 && (info("Overriding home directory to " + this.m21_1), process.env.HOME = this.m21_1), - this.n21_1 = toList(parseArgsStringToArgv(getInput$default("arguments", !1, 2, null))); - var tmp_3, tmp_2 = this, tmp1_ifBlank = getInput$default("remote-build-cache-proxy-enabled", !1, 2, null); - tmp_3 = isBlank(tmp1_ifBlank) ? "true" : tmp1_ifBlank, tmp_2.o21_1 = toBoolean(tmp_3); - var tmp_5, tmp_4 = this, tmp2_ifBlank = getInput$default("execution-only-caches", !1, 2, null); - tmp_5 = isBlank(tmp2_ifBlank) ? "false" : tmp2_ifBlank, tmp_4.p21_1 = toBoolean(tmp_5); - var tmp_7, tmp_6 = this, tmp3_ifBlank = getInput$default("gradle-build-scan-report", !1, 2, null); - tmp_7 = isBlank(tmp3_ifBlank) ? "true" : tmp3_ifBlank, tmp_6.q21_1 = toBoolean(tmp_7), - this.r21_1 = trimEnd(getInput$default("build-root-directory", !1, 2, null), charArrayOf([ _Char___init__impl__6a9atx(47), _Char___init__impl__6a9atx(92) ])), - "" !== this.r21_1 && (info("changing working directory to " + this.r21_1), process.chdir(this.r21_1)); - var tmp_13, tmp_9 = this, tmp_11 = ActionsEnvironment_getInstance().ms() + "-" + getInput$default("job-id", !1, 2, null), tmp_12 = toBoolean(getInput$default("debug", !1, 2, null)), tmp4_ifBlank = getInput$default("save-generated-gradle-jars", !1, 2, null); - tmp_13 = isBlank(tmp4_ifBlank) ? "true" : tmp4_ifBlank; - var tmp_15, tmp_14 = toBoolean(tmp_13); - if (!this.o21_1 || this.n21_1.l()) { - var tmp_16, tmp5_ifBlank = getInput$default("save-local-build-cache", !1, 2, null); - tmp_16 = isBlank(tmp5_ifBlank) ? "true" : tmp5_ifBlank, tmp_15 = toBoolean(tmp_16); - } else tmp_15 = !1; - var tmp_18, tmp_17 = tmp_15; - if (this.p21_1) tmp_18 = !1; else { - var tmp_19, tmp6_ifBlank = getInput$default("save-gradle-dependencies-cache", !1, 2, null); - tmp_19 = isBlank(tmp6_ifBlank) ? "true" : tmp6_ifBlank, tmp_18 = toBoolean(tmp_19); - } - var tmp_22, tmp_20 = tmp_18, tmp_21 = getListInput$default("gradle-dependencies-cache-key", !1, 2, null); - if (this.p21_1) tmp_22 = !1; else { - var tmp_23, tmp7_ifBlank = getInput$default("save-maven-dependencies-cache", !1, 2, null); - tmp_23 = isBlank(tmp7_ifBlank) ? "true" : tmp7_ifBlank, tmp_22 = toBoolean(tmp_23); - } - var tmp_26, tmp_24 = tmp_22, tmp_25 = getListInput$default("maven-local-ignore-paths", !1, 2, null), tmp8_ifBlank = getInput$default("concurrent", !1, 2, null); - tmp_26 = isBlank(tmp8_ifBlank) ? "false" : tmp8_ifBlank; - var tmp_28, tmp_27 = toBoolean(tmp_26), tmp9_ifBlank = getInput$default("read-only", !1, 2, null); - tmp_28 = isBlank(tmp9_ifBlank) ? "false" : tmp9_ifBlank, tmp_9.s21_1 = new Parameters(tmp_11, ".", tmp_12, tmp_14, tmp_17, tmp_20, tmp_21, tmp_24, tmp_25, tmp_27, toBoolean(tmp_28)), - this.ld_1 = 1; - var tmp_35, tmp10_ifBlank = getInput$default("gradle-version", !1, 2, null), tmp_30 = isBlank(tmp10_ifBlank) ? "wrapper" : tmp10_ifBlank, tmp11_ifBlank = getInput$default("gradle-distribution-url", !1, 2, null), tmp_32 = isBlank(tmp11_ifBlank) ? null : tmp11_ifBlank, tmp12_ifBlank = getInput$default("gradle-distribution-sha-256-sum", !1, 2, null), tmp_34 = isBlank(tmp12_ifBlank) ? null : tmp12_ifBlank, tmp13_ifBlank = getInput$default("gradle-distribution-sha-256-sum-warning", !1, 2, null); - if (tmp_35 = isBlank(tmp13_ifBlank) ? "true" : tmp13_ifBlank, (suspendResult = resolveDistribution(tmp_30, this.s21_1.p1p_1, tmp_32, tmp_34, toBoolean(tmp_35), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 1: - if (this.t21_1 = suspendResult, this.l21_1.equals(ActionStage_MAIN_getInstance()) || this.l21_1.equals(ActionStage_POST_getInstance())) { - if (this.ld_1 = 2, (suspendResult = currentTrigger(this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - } - this.ld_1 = 5; - continue $sm; - - case 2: - if (this.u21_1 = suspendResult, this.v21_1 = new GradleCacheAction(this.u21_1, this.s21_1, this.t21_1), - this.s21_1.r1p_1 || this.s21_1.s1p_1 || this.s21_1.t1p_1 || this.s21_1.v1p_1) { - if (this.ld_1 = 3, (suspendResult = this.v21_1.f1q(this.l21_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - } - this.ld_1 = 4; - continue $sm; - - case 3: - this.ld_1 = 4; - continue $sm; - - case 4: - this.ld_1 = 5; - continue $sm; - - case 5: - if (this.l21_1.equals(ActionStage_MAIN_getInstance()) && !this.n21_1.l()) { - var tmp_37 = this, tmp0_subject = !!this.s21_1.s1p_1 || this.o21_1; - if (tmp_37.w21_1 = !0 === tmp0_subject ? plus(listOf("--build-cache"), this.n21_1) : this.n21_1, - this.ld_1 = 6, (suspendResult = install(this.t21_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - } - this.ld_1 = 14; - continue $sm; - - case 6: - if (this.x21_1 = suspendResult, this.y21_1 = new LaunchParams(this.x21_1, this.s21_1.p1p_1, this.w21_1, splitLines(getInput$default("properties", !1, 2, null))), - this.z21_1 = new CacheProxy, this.o21_1) { - if (info("Starting remote cache proxy, adding it via ~/.gradle/init.gradle"), this.ld_1 = 7, - (suspendResult = this.z21_1.s1e(this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - } - this.ld_1 = 10; - continue $sm; - - case 7: - if (this.a22_1 = path.join(get_normalizedPath("~"), ".gradle"), this.ld_1 = 8, (suspendResult = mkdirP(this.a22_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 8: - this.ld_1 = 9; - var tmp_40, tmp_39 = path.join(this.a22_1, "init.gradle"), tmp14_ifBlank = getInput$default("multi-cache-enabled", !1, 2, null); - tmp_40 = isBlank(tmp14_ifBlank) ? "true" : tmp14_ifBlank; - var tmp_45, tmp_41 = toBoolean(tmp_40), tmp15_ifBlank = getInput$default("multi-cache-version", !1, 2, null), tmp_43 = isBlank(tmp15_ifBlank) ? "1.0" : tmp15_ifBlank, tmp_44 = getInput$default("multi-cache-repository", !1, 2, null), tmp16_ifBlank = getInput$default("multi-cache-group-id-filter", !1, 2, null); - if (tmp_45 = isBlank(tmp16_ifBlank) ? "com[.]github[.]burrunan[.]multi-?cache" : tmp16_ifBlank, - (suspendResult = writeFile(tmp_39, this.z21_1.r1e(tmp_41, tmp_43, tmp_44, tmp_45, !this.s21_1.y1p_1), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 9: - this.ld_1 = 10; - continue $sm; - - case 10: - this.ld_1 = 11; - continue $sm; - - case 11: - if (this.md_1 = 15, this.ld_1 = 12, (suspendResult = launchGradle(this.y21_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 12: - var tmp_47, result = suspendResult, tmp_46 = this; - if (this.q21_1) { - var tmp1_safe_receiver = result.w1l_1; - null == tmp1_safe_receiver || (warning("Gradle Build Scan: " + tmp1_safe_receiver), - setOutput("build-scan-url", tmp1_safe_receiver)), tmp_47 = Unit_getInstance(); - } - tmp_46.b22_1 = tmp_47, this.md_1 = 16, this.ld_1 = 13; - continue $sm; - - case 13: - this.o21_1 && this.z21_1.t1e(), this.ld_1 = 14; - continue $sm; - - case 14: - return Unit_getInstance(); - - case 15: - this.md_1 = 16; - var t = this.od_1; - throw this.o21_1 && this.z21_1.t1e(), t; - - case 16: - throw this.od_1; - } - } catch ($p) { - if (16 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; - } - }, main(get_EmptyContinuation()), _; - }) ? __WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__) : __WEBPACK_AMD_DEFINE_FACTORY__) || (module.exports = __WEBPACK_AMD_DEFINE_RESULT__); - }, - 4370: function(module, exports, __webpack_require__) { - var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; - __WEBPACK_AMD_DEFINE_ARRAY__ = [ exports, __webpack_require__(1041), __webpack_require__(1799), __webpack_require__(9411), __webpack_require__(7561), __webpack_require__(2037), __webpack_require__(7742), __webpack_require__(8849), __webpack_require__(1722), __webpack_require__(8744), __webpack_require__(7646), __webpack_require__(3286), __webpack_require__(3814), __webpack_require__(8585), __webpack_require__(2528) ], - void 0 === (__WEBPACK_AMD_DEFINE_RESULT__ = "function" == typeof (__WEBPACK_AMD_DEFINE_FACTORY__ = function(_, $module$node_url_6t8tpx, $module$_actions_cache_lib_internal_cacheHttpClient_mmpjzs, path, $module$node_fs_4svwsv, $module$_actions_core_fx0i1v, process, $module$node_http_1wibjg, $module$_actions_cache_lib_internal_constants_blb2pe, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_gradle_cache_action_cache_service_mock, kotlin_org_jetbrains_kotlin_wrappers_kotlin_node, kotlin_gradle_cache_action_wrappers_actions_toolkit, kotlin_gradle_cache_action_wrappers_nodejs) { - "use strict"; - var Companion_instance, parse = $module$node_url_6t8tpx.parse, reserveCache = $module$_actions_cache_lib_internal_cacheHttpClient_mmpjzs.reserveCache, saveCache = $module$_actions_cache_lib_internal_cacheHttpClient_mmpjzs.saveCache, createWriteStream = $module$node_fs_4svwsv.createWriteStream, getCacheEntry = $module$_actions_cache_lib_internal_cacheHttpClient_mmpjzs.getCacheEntry, debug = $module$_actions_core_fx0i1v.debug, isDebug = $module$_actions_core_fx0i1v.isDebug, downloadCache = $module$_actions_cache_lib_internal_cacheHttpClient_mmpjzs.downloadCache, createReadStream = $module$node_fs_4svwsv.createReadStream, createServer = $module$node_http_1wibjg.createServer, CompressionMethod = $module$_actions_cache_lib_internal_constants_blb2pe.CompressionMethod, objectMeta = kotlin_kotlin.$_$.n5, setMetadataFor = kotlin_kotlin.$_$.o5, Unit_getInstance = kotlin_kotlin.$_$.d2, CoroutineImpl = kotlin_kotlin.$_$.m4, THROW_CCE = kotlin_kotlin.$_$.v6, CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e, isInterface = kotlin_kotlin.$_$.g5, removePrefix = kotlin_kotlin.$_$.b6, Companion_getInstance = kotlin_gradle_cache_action_cache_service_mock.$_$.b, get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.x3, classMeta = kotlin_kotlin.$_$.x4, ensureNotNull = kotlin_kotlin.$_$.a7, handle = kotlin_gradle_cache_action_cache_service_mock.$_$.a, await_0 = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a, newThrowable = kotlin_kotlin.$_$.j5, stat = kotlin_org_jetbrains_kotlin_wrappers_kotlin_node.$_$.e, equals = kotlin_kotlin.$_$.y4, toString = kotlin_kotlin.$_$.r5, listOf = kotlin_kotlin.$_$.f3, removeFiles = kotlin_gradle_cache_action_wrappers_actions_toolkit.$_$.e, numberToLong = kotlin_kotlin.$_$.m5, Long = kotlin_kotlin.$_$.t6, Companion_getInstance_0 = kotlin_kotlin.$_$.c2, _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.w1, pipeAndWait$default = kotlin_gradle_cache_action_wrappers_nodejs.$_$.e, GlobalScope_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d, launch$default = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c, intercepted = kotlin_kotlin.$_$.z3, SafeContinuation_init_$Create$ = kotlin_kotlin.$_$.e1, returnIfSuspended = kotlin_kotlin.$_$.d, mkdir = kotlin_gradle_cache_action_wrappers_nodejs.$_$.c, replace$default = kotlin_kotlin.$_$.l, trimIndent = kotlin_kotlin.$_$.k6; - function Companion() { - Companion_instance = this, this.b1b_1 = "GHA_CACHE_URL", this.c1b_1 = ".cache-proxy"; + delete(name) { + this[kHeadersSortedMap] = null, "set-cookie" === (name = name.toLowerCase()) && (this.cookies = null), + this[kHeadersMap].delete(name); } - function Companion_getInstance_1() { - return null == Companion_instance && new Companion, Companion_instance; + get(name) { + const value = this[kHeadersMap].get(name.toLowerCase()); + return void 0 === value ? null : value.value; } - function putEntry($this, id, req, res, $cont) { - var tmp = new $putEntryCOROUTINE$0($this, id, req, res, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); + * [Symbol.iterator]() { + for (const [name, {value}] of this[kHeadersMap]) yield [ name, value ]; } - function getEntry($this, id, res, $cont) { - var tmp = new $getEntryCOROUTINE$1($this, id, res, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); + get entries() { + const headers = {}; + if (this[kHeadersMap].size) for (const {name, value} of this[kHeadersMap].values()) headers[name] = value; + return headers; } - function CacheProxy$server$lambda$slambda($path, $req, this$0, $res, resultContinuation) { - this.v1c_1 = $path, this.w1c_1 = $req, this.x1c_1 = this$0, this.y1c_1 = $res, CoroutineImpl.call(this, resultContinuation); + } + class Headers { + constructor(init = void 0) { + init !== kConstruct && (this[kHeadersList] = new HeadersList, this[kGuard] = "none", + void 0 !== init && fill(this, init = webidl.converters.HeadersInit(init))); } - function CacheProxy$server$lambda$slambda_0($path, $req, this$0, $res, resultContinuation) { - var i = new CacheProxy$server$lambda$slambda($path, $req, this$0, $res, resultContinuation), l = function($this$handle, $cont) { - return i.zt($this$handle, $cont); - }; - return l.$arity = 1, l; + append(name, value) { + return webidl.brandCheck(this, Headers), webidl.argumentLengthCheck(arguments, 2, { + header: "Headers.append" + }), appendHeader(this, name = webidl.converters.ByteString(name), value = webidl.converters.ByteString(value)); } - function CacheProxy$server$lambda(this$0) { - return function(req, res) { - var tmp0_elvis_lhs = parse(ensureNotNull(req.url), !0).pathname; - return handle(res, CacheProxy$server$lambda$slambda_0(null == tmp0_elvis_lhs ? "" : tmp0_elvis_lhs, req, this$0, res, null)), - Unit_getInstance(); - }; + delete(name) { + if (webidl.brandCheck(this, Headers), webidl.argumentLengthCheck(arguments, 1, { + header: "Headers.delete" + }), name = webidl.converters.ByteString(name), !isValidHeaderName(name)) throw webidl.errors.invalidArgument({ + prefix: "Headers.delete", + value: name, + type: "header name" + }); + if ("immutable" === this[kGuard]) throw new TypeError("immutable"); + this[kGuard], this[kHeadersList].contains(name) && this[kHeadersList].delete(name); } - function CacheProxy$putEntry$slambda($id, this$0, $fileName, resultContinuation) { - this.k1d_1 = $id, this.l1d_1 = this$0, this.m1d_1 = $fileName, CoroutineImpl.call(this, resultContinuation); + get(name) { + if (webidl.brandCheck(this, Headers), webidl.argumentLengthCheck(arguments, 1, { + header: "Headers.get" + }), name = webidl.converters.ByteString(name), !isValidHeaderName(name)) throw webidl.errors.invalidArgument({ + prefix: "Headers.get", + value: name, + type: "header name" + }); + return this[kHeadersList].get(name); } - function CacheProxy$putEntry$slambda_0($id, this$0, $fileName, resultContinuation) { - var i = new CacheProxy$putEntry$slambda($id, this$0, $fileName, resultContinuation), l = function($this$launch, $cont) { - return i.zt($this$launch, $cont); - }; - return l.$arity = 1, l; + has(name) { + if (webidl.brandCheck(this, Headers), webidl.argumentLengthCheck(arguments, 1, { + header: "Headers.has" + }), name = webidl.converters.ByteString(name), !isValidHeaderName(name)) throw webidl.errors.invalidArgument({ + prefix: "Headers.has", + value: name, + type: "header name" + }); + return this[kHeadersList].contains(name); } - function CacheProxy$start$lambda($safe) { - return function() { - var tmp$ret$0; - return Companion_getInstance_0(), tmp$ret$0 = _Result___init__impl__xyqfz8(null), - $safe.n3(tmp$ret$0), Unit_getInstance(), Unit_getInstance(); - }; + set(name, value) { + if (webidl.brandCheck(this, Headers), webidl.argumentLengthCheck(arguments, 2, { + header: "Headers.set" + }), name = webidl.converters.ByteString(name), value = headerValueNormalize(value = webidl.converters.ByteString(value)), + !isValidHeaderName(name)) throw webidl.errors.invalidArgument({ + prefix: "Headers.set", + value: name, + type: "header name" + }); + if (!isValidHeaderValue(value)) throw webidl.errors.invalidArgument({ + prefix: "Headers.set", + value, + type: "header value" + }); + if ("immutable" === this[kGuard]) throw new TypeError("immutable"); + this[kGuard], this[kHeadersList].set(name, value); } - function $putEntryCOROUTINE$0(_this__u8e3s4, id, req, res, resultContinuation) { - CoroutineImpl.call(this, resultContinuation), this.l1b_1 = _this__u8e3s4, this.m1b_1 = id, - this.n1b_1 = req, this.o1b_1 = res; + getSetCookie() { + webidl.brandCheck(this, Headers); + const list = this[kHeadersList].cookies; + return list ? [ ...list ] : []; } - function $getEntryCOROUTINE$1(_this__u8e3s4, id, res, resultContinuation) { - CoroutineImpl.call(this, resultContinuation), this.z1b_1 = _this__u8e3s4, this.a1c_1 = id, - this.b1c_1 = res; + get [kHeadersSortedMap]() { + if (this[kHeadersList][kHeadersSortedMap]) return this[kHeadersList][kHeadersSortedMap]; + const headers = [], names = [ ...this[kHeadersList] ].sort(((a, b) => a[0] < b[0] ? -1 : 1)), cookies = this[kHeadersList].cookies; + for (let i = 0; i < names.length; ++i) { + const [name, value] = names[i]; + if ("set-cookie" === name) for (let j = 0; j < cookies.length; ++j) headers.push([ name, cookies[j] ]); else assert(null !== value), + headers.push([ name, value ]); + } + return this[kHeadersList][kHeadersSortedMap] = headers, headers; } - function $startCOROUTINE$2(_this__u8e3s4, resultContinuation) { - CoroutineImpl.call(this, resultContinuation), this.p1e_1 = _this__u8e3s4; + keys() { + if (webidl.brandCheck(this, Headers), "immutable" === this[kGuard]) { + const value = this[kHeadersSortedMap]; + return makeIterator((() => value), "Headers", "key"); + } + return makeIterator((() => [ ...this[kHeadersSortedMap].values() ]), "Headers", "key"); } - function CacheProxy() { - Companion_getInstance_1(), this.d1e_1 = null, this.e1e_1 = createServer(CacheProxy$server$lambda(this)); - var tmp$ret$2, tmp_0 = this, tmp0_apply = {}; - tmp0_apply.compressionMethod = CompressionMethod.Gzip, tmp$ret$2 = tmp0_apply, tmp_0.f1e_1 = tmp$ret$2, - this.g1e_1 = "com.github.burrunan.multi-cache"; - } - return setMetadataFor(Companion, "Companion", objectMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(CacheProxy$server$lambda$slambda, "CacheProxy$server$lambda$slambda", classMeta, CoroutineImpl, void 0, void 0, void 0, [ 1 ]), - setMetadataFor(CacheProxy$putEntry$slambda, "CacheProxy$putEntry$slambda", classMeta, CoroutineImpl, void 0, void 0, void 0, [ 1 ]), - setMetadataFor($putEntryCOROUTINE$0, "$putEntryCOROUTINE$0", classMeta, CoroutineImpl, void 0, void 0, void 0, []), - setMetadataFor($getEntryCOROUTINE$1, "$getEntryCOROUTINE$1", classMeta, CoroutineImpl, void 0, void 0, void 0, []), - setMetadataFor($startCOROUTINE$2, "$startCOROUTINE$2", classMeta, CoroutineImpl, void 0, void 0, void 0, []), - setMetadataFor(CacheProxy, "CacheProxy", classMeta, void 0, void 0, void 0, void 0, [ 3, 2, 0, 1 ]), - CacheProxy$server$lambda$slambda.prototype.zt = function($this$handle, $cont) { - var tmp = this.au($this$handle, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); - }, CacheProxy$server$lambda$slambda.prototype.fe = function(p1, $cont) { - return this.zt(null != p1 && isInterface(p1, CoroutineScope) ? p1 : THROW_CCE(), $cont); - }, CacheProxy$server$lambda$slambda.prototype.td = function() { - var suspendResult = this.nd_1; - $sm: for (;;) try { - switch (this.ld_1) { - case 0: - if (this.md_1 = 4, this.a1d_1 = removePrefix(this.v1c_1, "/"), this.b1d_1 = this.w1c_1.method, - "GET" === this.b1d_1) { - if (this.ld_1 = 2, (suspendResult = getEntry(this.x1c_1, this.a1d_1, this.y1c_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - } - if ("PUT" === this.b1d_1) { - if (this.ld_1 = 1, (suspendResult = putEntry(this.x1c_1, this.a1d_1, this.w1c_1, this.y1c_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - } - Companion_getInstance().h12("Not implemented: " + this.w1c_1.method), this.ld_1 = 3; - continue $sm; + values() { + if (webidl.brandCheck(this, Headers), "immutable" === this[kGuard]) { + const value = this[kHeadersSortedMap]; + return makeIterator((() => value), "Headers", "value"); + } + return makeIterator((() => [ ...this[kHeadersSortedMap].values() ]), "Headers", "value"); + } + entries() { + if (webidl.brandCheck(this, Headers), "immutable" === this[kGuard]) { + const value = this[kHeadersSortedMap]; + return makeIterator((() => value), "Headers", "key+value"); + } + return makeIterator((() => [ ...this[kHeadersSortedMap].values() ]), "Headers", "key+value"); + } + forEach(callbackFn, thisArg = globalThis) { + if (webidl.brandCheck(this, Headers), webidl.argumentLengthCheck(arguments, 1, { + header: "Headers.forEach" + }), "function" != typeof callbackFn) throw new TypeError("Failed to execute 'forEach' on 'Headers': parameter 1 is not of type 'Function'."); + for (const [key, value] of this) callbackFn.apply(thisArg, [ value, key, this ]); + } + [Symbol.for("nodejs.util.inspect.custom")]() { + return webidl.brandCheck(this, Headers), this[kHeadersList]; + } + } + Headers.prototype[Symbol.iterator] = Headers.prototype.entries, Object.defineProperties(Headers.prototype, { + append: kEnumerableProperty, + delete: kEnumerableProperty, + get: kEnumerableProperty, + has: kEnumerableProperty, + set: kEnumerableProperty, + getSetCookie: kEnumerableProperty, + keys: kEnumerableProperty, + values: kEnumerableProperty, + entries: kEnumerableProperty, + forEach: kEnumerableProperty, + [Symbol.iterator]: { + enumerable: !1 + }, + [Symbol.toStringTag]: { + value: "Headers", + configurable: !0 + } + }), webidl.converters.HeadersInit = function(V) { + if ("Object" === webidl.util.Type(V)) return V[Symbol.iterator] ? webidl.converters["sequence>"](V) : webidl.converters["record"](V); + throw webidl.errors.conversionFailed({ + prefix: "Headers constructor", + argument: "Argument 1", + types: [ "sequence>", "record" ] + }); + }, module.exports = { + fill, + Headers, + HeadersList + }; + }, + 5306: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const {Response, makeNetworkError, makeAppropriateNetworkError, filterResponse, makeResponse} = __webpack_require__(3767), {Headers} = __webpack_require__(5472), {Request, makeRequest} = __webpack_require__(8899), zlib = __webpack_require__(3106), {bytesMatch, makePolicyContainer, clonePolicyContainer, requestBadPort, TAOCheck, appendRequestOriginHeader, responseLocationURL, requestCurrentURL, setRequestReferrerPolicyOnRedirect, tryUpgradeRequestToAPotentiallyTrustworthyURL, createOpaqueTimingInfo, appendFetchMetadata, corsCheck, crossOriginResourcePolicyCheck, determineRequestsReferrer, coarsenedSharedCurrentTime, createDeferredPromise, isBlobLike, sameOrigin, isCancelled, isAborted, isErrorLike, fullyReadBody, readableStreamClose, isomorphicEncode, urlIsLocal, urlIsHttpHttpsScheme, urlHasHttpsScheme} = __webpack_require__(8292), {kState, kHeaders, kGuard, kRealm} = __webpack_require__(9415), assert = __webpack_require__(2613), {safelyExtractBody} = __webpack_require__(2136), {redirectStatusSet, nullBodyStatus, safeMethodsSet, requestBodyHeader, subresourceSet, DOMException} = __webpack_require__(3771), {kHeadersList} = __webpack_require__(8028), EE = __webpack_require__(4434), {Readable, pipeline} = __webpack_require__(2203), {addAbortListener, isErrored, isReadable, nodeMajor, nodeMinor} = __webpack_require__(8869), {dataURLProcessor, serializeAMimeType} = __webpack_require__(3587), {TransformStream} = __webpack_require__(3774), {getGlobalDispatcher} = __webpack_require__(5710), {webidl} = __webpack_require__(769), {STATUS_CODES} = __webpack_require__(8611), GET_OR_HEAD = [ "GET", "HEAD" ]; + let resolveObjectURL, ReadableStream = globalThis.ReadableStream; + class Fetch extends EE { + constructor(dispatcher) { + super(), this.dispatcher = dispatcher, this.connection = null, this.dump = !1, this.state = "ongoing", + this.setMaxListeners(21); + } + terminate(reason) { + "ongoing" === this.state && (this.state = "terminated", this.connection?.destroy(reason), + this.emit("terminated", reason)); + } + abort(error) { + "ongoing" === this.state && (this.state = "aborted", error || (error = new DOMException("The operation was aborted.", "AbortError")), + this.serializedAbortReason = error, this.connection?.destroy(error), this.emit("terminated", error)); + } + } + function finalizeAndReportTiming(response, initiatorType = "other") { + if ("error" === response.type && response.aborted) return; + if (!response.urlList?.length) return; + const originalURL = response.urlList[0]; + let timingInfo = response.timingInfo, cacheState = response.cacheState; + urlIsHttpHttpsScheme(originalURL) && null !== timingInfo && (response.timingAllowPassed || (timingInfo = createOpaqueTimingInfo({ + startTime: timingInfo.startTime + }), cacheState = ""), timingInfo.endTime = coarsenedSharedCurrentTime(), response.timingInfo = timingInfo, + function(timingInfo, originalURL, initiatorType, globalThis, cacheState) { + (nodeMajor > 18 || 18 === nodeMajor && nodeMinor >= 2) && performance.markResourceTiming(timingInfo, originalURL.href, initiatorType, globalThis, cacheState); + }(timingInfo, originalURL, initiatorType, globalThis, cacheState)); + } + function abortFetch(p, request, responseObject, error) { + if (error || (error = new DOMException("The operation was aborted.", "AbortError")), + p.reject(error), null != request.body && isReadable(request.body?.stream) && request.body.stream.cancel(error).catch((err => { + if ("ERR_INVALID_STATE" !== err.code) throw err; + })), null == responseObject) return; + const response = responseObject[kState]; + null != response.body && isReadable(response.body?.stream) && response.body.stream.cancel(error).catch((err => { + if ("ERR_INVALID_STATE" !== err.code) throw err; + })); + } + function fetching({request, processRequestBodyChunkLength, processRequestEndOfBody, processResponse, processResponseEndOfBody, processResponseConsumeBody, useParallelQueue = !1, dispatcher}) { + let taskDestination = null, crossOriginIsolatedCapability = !1; + null != request.client && (taskDestination = request.client.globalObject, crossOriginIsolatedCapability = request.client.crossOriginIsolatedCapability); + const currenTime = coarsenedSharedCurrentTime(crossOriginIsolatedCapability), timingInfo = createOpaqueTimingInfo({ + startTime: currenTime + }), fetchParams = { + controller: new Fetch(dispatcher), + request, + timingInfo, + processRequestBodyChunkLength, + processRequestEndOfBody, + processResponse, + processResponseConsumeBody, + processResponseEndOfBody, + taskDestination, + crossOriginIsolatedCapability + }; + if (assert(!request.body || request.body.stream), "client" === request.window && (request.window = "Window" === request.client?.globalObject?.constructor?.name ? request.client : "no-window"), + "client" === request.origin && (request.origin = request.client?.origin), "client" === request.policyContainer && (null != request.client ? request.policyContainer = clonePolicyContainer(request.client.policyContainer) : request.policyContainer = makePolicyContainer()), + !request.headersList.contains("accept")) { + const value = "*/*"; + request.headersList.append("accept", value); + } + return request.headersList.contains("accept-language") || request.headersList.append("accept-language", "*"), + request.priority, subresourceSet.has(request.destination), mainFetch(fetchParams).catch((err => { + fetchParams.controller.terminate(err); + })), fetchParams.controller; + } + async function mainFetch(fetchParams, recursive = !1) { + const request = fetchParams.request; + let response = null; + if (request.localURLsOnly && !urlIsLocal(requestCurrentURL(request)) && (response = makeNetworkError("local URLs only")), + tryUpgradeRequestToAPotentiallyTrustworthyURL(request), "blocked" === requestBadPort(request) && (response = makeNetworkError("bad port")), + "" === request.referrerPolicy && (request.referrerPolicy = request.policyContainer.referrerPolicy), + "no-referrer" !== request.referrer && (request.referrer = determineRequestsReferrer(request)), + null === response && (response = await (async () => { + const currentURL = requestCurrentURL(request); + return sameOrigin(currentURL, request.url) && "basic" === request.responseTainting || "data:" === currentURL.protocol || "navigate" === request.mode || "websocket" === request.mode ? (request.responseTainting = "basic", + await schemeFetch(fetchParams)) : "same-origin" === request.mode ? makeNetworkError('request mode cannot be "same-origin"') : "no-cors" === request.mode ? "follow" !== request.redirect ? makeNetworkError('redirect mode cannot be "follow" for "no-cors" request') : (request.responseTainting = "opaque", + await schemeFetch(fetchParams)) : urlIsHttpHttpsScheme(requestCurrentURL(request)) ? (request.responseTainting = "cors", + await httpFetch(fetchParams)) : makeNetworkError("URL scheme must be a HTTP(S) scheme"); + })()), recursive) return response; + 0 === response.status || response.internalResponse || (request.responseTainting, + "basic" === request.responseTainting ? response = filterResponse(response, "basic") : "cors" === request.responseTainting ? response = filterResponse(response, "cors") : "opaque" === request.responseTainting ? response = filterResponse(response, "opaque") : assert(!1)); + let internalResponse = 0 === response.status ? response : response.internalResponse; + if (0 === internalResponse.urlList.length && internalResponse.urlList.push(...request.urlList), + request.timingAllowFailed || (response.timingAllowPassed = !0), "opaque" === response.type && 206 === internalResponse.status && internalResponse.rangeRequested && !request.headers.contains("range") && (response = internalResponse = makeNetworkError()), + 0 === response.status || "HEAD" !== request.method && "CONNECT" !== request.method && !nullBodyStatus.includes(internalResponse.status) || (internalResponse.body = null, + fetchParams.controller.dump = !0), request.integrity) { + const processBodyError = reason => fetchFinale(fetchParams, makeNetworkError(reason)); + if ("opaque" === request.responseTainting || null == response.body) return void processBodyError(response.error); + const processBody = bytes => { + bytesMatch(bytes, request.integrity) ? (response.body = safelyExtractBody(bytes)[0], + fetchFinale(fetchParams, response)) : processBodyError("integrity mismatch"); + }; + await fullyReadBody(response.body, processBody, processBodyError); + } else fetchFinale(fetchParams, response); + } + function schemeFetch(fetchParams) { + if (isCancelled(fetchParams) && 0 === fetchParams.request.redirectCount) return Promise.resolve(makeAppropriateNetworkError(fetchParams)); + const {request} = fetchParams, {protocol: scheme} = requestCurrentURL(request); + switch (scheme) { + case "about:": + return Promise.resolve(makeNetworkError("about scheme is not supported")); - case 1: - case 2: - this.ld_1 = 3; - continue $sm; + case "blob:": + { + resolveObjectURL || (resolveObjectURL = __webpack_require__(181).resolveObjectURL); + const blobURLEntry = requestCurrentURL(request); + if (0 !== blobURLEntry.search.length) return Promise.resolve(makeNetworkError("NetworkError when attempting to fetch resource.")); + const blobURLEntryObject = resolveObjectURL(blobURLEntry.toString()); + if ("GET" !== request.method || !isBlobLike(blobURLEntryObject)) return Promise.resolve(makeNetworkError("invalid method")); + const bodyWithType = safelyExtractBody(blobURLEntryObject), body = bodyWithType[0], length = isomorphicEncode(`${body.length}`), type = bodyWithType[1] ?? "", response = makeResponse({ + statusText: "OK", + headersList: [ [ "content-length", { + name: "Content-Length", + value: length + } ], [ "content-type", { + name: "Content-Type", + value: type + } ] ] + }); + return response.body = body, Promise.resolve(response); + } - case 3: - return Unit_getInstance(); + case "data:": + { + const currentURL = requestCurrentURL(request), dataURLStruct = dataURLProcessor(currentURL); + if ("failure" === dataURLStruct) return Promise.resolve(makeNetworkError("failed to fetch the data URL")); + const mimeType = serializeAMimeType(dataURLStruct.mimeType); + return Promise.resolve(makeResponse({ + statusText: "OK", + headersList: [ [ "content-type", { + name: "Content-Type", + value: mimeType + } ] ], + body: safelyExtractBody(dataURLStruct.body)[0] + })); + } - case 4: - throw this.od_1; - } - } catch ($p) { - if (4 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; - } - }, CacheProxy$server$lambda$slambda.prototype.au = function($this$handle, completion) { - var i = new CacheProxy$server$lambda$slambda(this.v1c_1, this.w1c_1, this.x1c_1, this.y1c_1, completion); - return i.z1c_1 = $this$handle, i; - }, CacheProxy$putEntry$slambda.prototype.zt = function($this$launch, $cont) { - var tmp = this.au($this$launch, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); - }, CacheProxy$putEntry$slambda.prototype.fe = function(p1, $cont) { - return this.zt(null != p1 && isInterface(p1, CoroutineScope) ? p1 : THROW_CCE(), $cont); - }, CacheProxy$putEntry$slambda.prototype.td = function() { - var suspendResult = this.nd_1; - $sm: for (;;) try { - switch (this.ld_1) { - case 0: - this.md_1 = 10, this.ld_1 = 1; - continue $sm; + case "file:": + return Promise.resolve(makeNetworkError("not implemented... yet...")); - case 1: - if (this.md_1 = 8, this.p1d_1 = reserveCache(this.k1d_1, [ this.k1d_1 ], this.l1d_1.f1e_1), - this.ld_1 = 2, (suspendResult = await_0(this.p1d_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; + case "http:": + case "https:": + return httpFetch(fetchParams).catch((err => makeNetworkError(err))); - case 2: - this.q1d_1 = suspendResult; - var tmp_1 = this, tmp0_safe_receiver = this.q1d_1.result; - if (tmp_1.r1d_1 = null == tmp0_safe_receiver ? null : tmp0_safe_receiver.cacheId, - null == this.r1d_1) { - if (equals(this.q1d_1.statusCode, 400)) { - if (this.ld_1 = 7, (suspendResult = stat(this.m1d_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; + default: + return Promise.resolve(makeNetworkError("unknown scheme")); + } + } + function finalizeResponse(fetchParams, response) { + fetchParams.request.done = !0, null != fetchParams.processResponseDone && queueMicrotask((() => fetchParams.processResponseDone(response))); + } + function fetchFinale(fetchParams, response) { + "error" === response.type && (response.urlList = [ fetchParams.request.urlList[0] ], + response.timingInfo = createOpaqueTimingInfo({ + startTime: fetchParams.timingInfo.startTime + })); + const processResponseEndOfBody = () => { + fetchParams.request.done = !0, null != fetchParams.processResponseEndOfBody && queueMicrotask((() => fetchParams.processResponseEndOfBody(response))); + }; + if (null != fetchParams.processResponse && queueMicrotask((() => fetchParams.processResponse(response))), + null == response.body) processResponseEndOfBody(); else { + const identityTransformAlgorithm = (chunk, controller) => { + controller.enqueue(chunk); + }, transformStream = new TransformStream({ + start() {}, + transform: identityTransformAlgorithm, + flush: processResponseEndOfBody + }, { + size: () => 1 + }, { + size: () => 1 + }); + response.body = { + stream: response.body.stream.pipeThrough(transformStream) + }; + } + if (null != fetchParams.processResponseConsumeBody) { + const processBody = nullOrBytes => fetchParams.processResponseConsumeBody(response, nullOrBytes), processBodyError = failure => fetchParams.processResponseConsumeBody(response, failure); + return null != response.body ? fullyReadBody(response.body, processBody, processBodyError) : (queueMicrotask((() => processBody(null))), + Promise.resolve()); + } + } + async function httpFetch(fetchParams) { + const request = fetchParams.request; + let response = null, actualResponse = null; + const timingInfo = fetchParams.timingInfo; + if (request.serviceWorkers, null === response) { + if ("follow" === request.redirect && (request.serviceWorkers = "none"), actualResponse = response = await httpNetworkOrCacheFetch(fetchParams), + "cors" === request.responseTainting && "failure" === corsCheck(request, response)) return makeNetworkError("cors failure"); + "failure" === TAOCheck(request, response) && (request.timingAllowFailed = !0); + } + return "opaque" !== request.responseTainting && "opaque" !== response.type || "blocked" !== crossOriginResourcePolicyCheck(request.origin, request.client, request.destination, actualResponse) ? (redirectStatusSet.has(actualResponse.status) && ("manual" !== request.redirect && fetchParams.controller.connection.destroy(), + "error" === request.redirect ? response = makeNetworkError("unexpected redirect") : "manual" === request.redirect ? response = actualResponse : "follow" === request.redirect ? response = await function(fetchParams, response) { + const request = fetchParams.request, actualResponse = response.internalResponse ? response.internalResponse : response; + let locationURL; + try { + if (locationURL = responseLocationURL(actualResponse, requestCurrentURL(request).hash), + null == locationURL) return response; + } catch (err) { + return Promise.resolve(makeNetworkError(err)); + } + if (!urlIsHttpHttpsScheme(locationURL)) return Promise.resolve(makeNetworkError("URL scheme must be a HTTP(S) scheme")); + if (20 === request.redirectCount) return Promise.resolve(makeNetworkError("redirect count exceeded")); + if (request.redirectCount += 1, "cors" === request.mode && (locationURL.username || locationURL.password) && !sameOrigin(request, locationURL)) return Promise.resolve(makeNetworkError('cross origin not allowed for request mode "cors"')); + if ("cors" === request.responseTainting && (locationURL.username || locationURL.password)) return Promise.resolve(makeNetworkError('URL cannot contain credentials for request mode "cors"')); + if (303 !== actualResponse.status && null != request.body && null == request.body.source) return Promise.resolve(makeNetworkError()); + if ([ 301, 302 ].includes(actualResponse.status) && "POST" === request.method || 303 === actualResponse.status && !GET_OR_HEAD.includes(request.method)) { + request.method = "GET", request.body = null; + for (const headerName of requestBodyHeader) request.headersList.delete(headerName); + } + sameOrigin(requestCurrentURL(request), locationURL) || (request.headersList.delete("authorization"), + request.headersList.delete("proxy-authorization", !0), request.headersList.delete("cookie"), + request.headersList.delete("host")); + null != request.body && (assert(null != request.body.source), request.body = safelyExtractBody(request.body.source)[0]); + const timingInfo = fetchParams.timingInfo; + timingInfo.redirectEndTime = timingInfo.postRedirectStartTime = coarsenedSharedCurrentTime(fetchParams.crossOriginIsolatedCapability), + 0 === timingInfo.redirectStartTime && (timingInfo.redirectStartTime = timingInfo.startTime); + return request.urlList.push(locationURL), setRequestReferrerPolicyOnRedirect(request, actualResponse), + mainFetch(fetchParams, !0); + }(fetchParams, response) : assert(!1)), response.timingInfo = timingInfo, response) : makeNetworkError("blocked"); + } + async function httpNetworkOrCacheFetch(fetchParams, isAuthenticationFetch = !1, isNewConnectionFetch = !1) { + const request = fetchParams.request; + let httpFetchParams = null, httpRequest = null, response = null; + "no-window" === request.window && "error" === request.redirect ? (httpFetchParams = fetchParams, + httpRequest = request) : (httpRequest = makeRequest(request), httpFetchParams = { + ...fetchParams + }, httpFetchParams.request = httpRequest); + const includeCredentials = "include" === request.credentials || "same-origin" === request.credentials && "basic" === request.responseTainting, contentLength = httpRequest.body ? httpRequest.body.length : null; + let contentLengthHeaderValue = null; + if (null == httpRequest.body && [ "POST", "PUT" ].includes(httpRequest.method) && (contentLengthHeaderValue = "0"), + null != contentLength && (contentLengthHeaderValue = isomorphicEncode(`${contentLength}`)), + null != contentLengthHeaderValue && httpRequest.headersList.append("content-length", contentLengthHeaderValue), + null != contentLength && httpRequest.keepalive, httpRequest.referrer instanceof URL && httpRequest.headersList.append("referer", isomorphicEncode(httpRequest.referrer.href)), + appendRequestOriginHeader(httpRequest), appendFetchMetadata(httpRequest), httpRequest.headersList.contains("user-agent") || httpRequest.headersList.append("user-agent", "undefined" == typeof esbuildDetection ? "undici" : "node"), + "default" === httpRequest.cache && (httpRequest.headersList.contains("if-modified-since") || httpRequest.headersList.contains("if-none-match") || httpRequest.headersList.contains("if-unmodified-since") || httpRequest.headersList.contains("if-match") || httpRequest.headersList.contains("if-range")) && (httpRequest.cache = "no-store"), + "no-cache" !== httpRequest.cache || httpRequest.preventNoCacheCacheControlHeaderModification || httpRequest.headersList.contains("cache-control") || httpRequest.headersList.append("cache-control", "max-age=0"), + "no-store" !== httpRequest.cache && "reload" !== httpRequest.cache || (httpRequest.headersList.contains("pragma") || httpRequest.headersList.append("pragma", "no-cache"), + httpRequest.headersList.contains("cache-control") || httpRequest.headersList.append("cache-control", "no-cache")), + httpRequest.headersList.contains("range") && httpRequest.headersList.append("accept-encoding", "identity"), + httpRequest.headersList.contains("accept-encoding") || (urlHasHttpsScheme(requestCurrentURL(httpRequest)) ? httpRequest.headersList.append("accept-encoding", "br, gzip, deflate") : httpRequest.headersList.append("accept-encoding", "gzip, deflate")), + httpRequest.headersList.delete("host"), httpRequest.cache = "no-store", "no-store" !== httpRequest.mode && httpRequest.mode, + null == response) { + if ("only-if-cached" === httpRequest.mode) return makeNetworkError("only if cached"); + const forwardResponse = await async function(fetchParams) { + assert(!fetchParams.controller.connection || fetchParams.controller.connection.destroyed), + fetchParams.controller.connection = { + abort: null, + destroyed: !1, + destroy(err) { + this.destroyed || (this.destroyed = !0, this.abort?.(err ?? new DOMException("The operation was aborted.", "AbortError"))); + } + }; + const request = fetchParams.request; + let response = null; + const timingInfo = fetchParams.timingInfo, httpCache = null; + null == httpCache && (request.cache = "no-store"); + request.mode; + let requestBody = null; + if (null == request.body && fetchParams.processRequestEndOfBody) queueMicrotask((() => fetchParams.processRequestEndOfBody())); else if (null != request.body) { + const processBodyChunk = async function*(bytes) { + isCancelled(fetchParams) || (yield bytes, fetchParams.processRequestBodyChunkLength?.(bytes.byteLength)); + }, processEndOfBody = () => { + isCancelled(fetchParams) || fetchParams.processRequestEndOfBody && fetchParams.processRequestEndOfBody(); + }, processBodyError = e => { + isCancelled(fetchParams) || ("AbortError" === e.name ? fetchParams.controller.abort() : fetchParams.controller.terminate(e)); + }; + requestBody = async function*() { + try { + for await (const bytes of request.body.stream) yield* processBodyChunk(bytes); + processEndOfBody(); + } catch (err) { + processBodyError(err); } - var tmp1_safe_receiver = this.q1d_1.error; - throw newThrowable("Can't reserve cache for id " + this.k1d_1 + ", another job might be creating this cache: " + (null == tmp1_safe_receiver ? null : tmp1_safe_receiver.message), void 0); + }(); + } + try { + const {body, status, statusText, headersList, socket} = await dispatch({ + body: requestBody + }); + if (socket) response = makeResponse({ + status, + statusText, + headersList, + socket + }); else { + const iterator = body[Symbol.asyncIterator](); + fetchParams.controller.next = () => iterator.next(), response = makeResponse({ + status, + statusText, + headersList + }); } - this.s1d_1 = this.r1d_1, this.ld_1 = 3; - continue $sm; - - case 3: - if (this.t1d_1 = this.s1d_1, console.log("cacheid: " + toString(this.t1d_1)), this.ld_1 = 4, - (suspendResult = await_0(saveCache(this.t1d_1, this.m1d_1), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 4: - this.o1d_1 = suspendResult, this.md_1 = 10, this.ld_1 = 5; - continue $sm; - - case 5: - if (this.ld_1 = 6, (suspendResult = removeFiles(listOf(this.m1d_1), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 6: - return Unit_getInstance(); - - case 7: - throw this.u1d_1 = suspendResult, this.v1d_1 = this.u1d_1, this.w1d_1 = this.v1d_1.size, - this.x1d_1 = numberToLong(this.w1d_1), this.y1d_1 = this.x1d_1.t4(new Long(1024, 0)), - this.z1d_1 = this.y1d_1.t4(new Long(1024, 0)), this.a1e_1 = toString(this.z1d_1), - this.b1e_1 = "Cache " + this.m1d_1 + " size of " + this.a1e_1 + " MB is over the limit, not saving cache", - newThrowable(this.b1e_1, void 0); - - case 8: - if (this.md_1 = 10, this.c1e_1 = this.od_1, this.ld_1 = 9, (suspendResult = removeFiles(listOf(this.m1d_1), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 9: - throw this.c1e_1; - - case 10: - throw this.od_1; + } catch (err) { + return "AbortError" === err.name ? (fetchParams.controller.connection.destroy(), + makeAppropriateNetworkError(fetchParams, err)) : makeNetworkError(err); } - } catch ($p) { - if (10 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; - } - }, CacheProxy$putEntry$slambda.prototype.au = function($this$launch, completion) { - var i = new CacheProxy$putEntry$slambda(this.k1d_1, this.l1d_1, this.m1d_1, completion); - return i.n1d_1 = $this$launch, i; - }, $putEntryCOROUTINE$0.prototype.td = function() { - var suspendResult = this.nd_1; - $sm: for (;;) try { - switch (this.ld_1) { - case 0: - this.md_1 = 5; - var tmp_0 = this, tmp_1 = path; - Companion_getInstance_1(), tmp_0.p1b_1 = tmp_1.join(".cache-proxy", "bc-" + this.m1b_1), - this.ld_1 = 1; - continue $sm; - - case 1: - this.md_1 = 4, this.ld_1 = 2; - var tmp_2 = createWriteStream(this.p1b_1); - if ((suspendResult = pipeAndWait$default(this.n1b_1, tmp_2, !1, this, 2, null)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 2: - var tmp_3 = this; - this.o1b_1.writeHead(200, "OK"), tmp_3.q1b_1 = Unit_getInstance(), this.md_1 = 5, - this.ld_1 = 3; - continue $sm; - - case 3: - var tmp_4 = GlobalScope_getInstance(); - return launch$default(tmp_4, null, null, CacheProxy$putEntry$slambda_0(this.m1b_1, this.l1b_1, this.p1b_1, null), 3, null), - Unit_getInstance(); - - case 4: - this.md_1 = 5; - var t = this.od_1, tmp_5 = GlobalScope_getInstance(); - throw launch$default(tmp_5, null, null, CacheProxy$putEntry$slambda_0(this.m1b_1, this.l1b_1, this.p1b_1, null), 3, null), - t; - - case 5: - throw this.od_1; + const pullAlgorithm = () => { + fetchParams.controller.resume(); + }, cancelAlgorithm = reason => { + fetchParams.controller.abort(reason); + }; + ReadableStream || (ReadableStream = __webpack_require__(3774).ReadableStream); + const stream = new ReadableStream({ + async start(controller) { + fetchParams.controller.controller = controller; + }, + async pull(controller) { + await pullAlgorithm(controller); + }, + async cancel(reason) { + await cancelAlgorithm(reason); + } + }, { + highWaterMark: 0, + size: () => 1 + }); + function onAborted(reason) { + isAborted(fetchParams) ? (response.aborted = !0, isReadable(stream) && fetchParams.controller.controller.error(fetchParams.controller.serializedAbortReason)) : isReadable(stream) && fetchParams.controller.controller.error(new TypeError("terminated", { + cause: isErrorLike(reason) ? reason : void 0 + })), fetchParams.controller.connection.destroy(); + } + return response.body = { + stream + }, fetchParams.controller.on("terminated", onAborted), fetchParams.controller.resume = async () => { + for (;;) { + let bytes, isFailure; + try { + const {done, value} = await fetchParams.controller.next(); + if (isAborted(fetchParams)) break; + bytes = done ? void 0 : value; + } catch (err) { + fetchParams.controller.ended && !timingInfo.encodedBodySize ? bytes = void 0 : (bytes = err, + isFailure = !0); + } + if (void 0 === bytes) return readableStreamClose(fetchParams.controller.controller), + void finalizeResponse(fetchParams, response); + if (timingInfo.decodedBodySize += bytes?.byteLength ?? 0, isFailure) return void fetchParams.controller.terminate(bytes); + if (fetchParams.controller.controller.enqueue(new Uint8Array(bytes)), isErrored(stream)) return void fetchParams.controller.terminate(); + if (!fetchParams.controller.controller.desiredSize) return; + } + }, response; + async function dispatch({body}) { + const url = requestCurrentURL(request), agent = fetchParams.controller.dispatcher; + return new Promise(((resolve, reject) => agent.dispatch({ + path: url.pathname + url.search, + origin: url.origin, + method: request.method, + body: fetchParams.controller.dispatcher.isMockActive ? request.body && (request.body.source || request.body.stream) : body, + headers: request.headersList.entries, + maxRedirections: 0, + upgrade: "websocket" === request.mode ? "websocket" : void 0 + }, { + body: null, + abort: null, + onConnect(abort) { + const {connection} = fetchParams.controller; + connection.destroyed ? abort(new DOMException("The operation was aborted.", "AbortError")) : (fetchParams.controller.on("terminated", abort), + this.abort = connection.abort = abort); + }, + onHeaders(status, headersList, resume, statusText) { + if (status < 200) return; + let codings = [], location = ""; + const headers = new Headers; + if (Array.isArray(headersList)) for (let n = 0; n < headersList.length; n += 2) { + const key = headersList[n + 0].toString("latin1"), val = headersList[n + 1].toString("latin1"); + "content-encoding" === key.toLowerCase() ? codings = val.toLowerCase().split(",").map((x => x.trim())) : "location" === key.toLowerCase() && (location = val), + headers[kHeadersList].append(key, val); + } else { + const keys = Object.keys(headersList); + for (const key of keys) { + const val = headersList[key]; + "content-encoding" === key.toLowerCase() ? codings = val.toLowerCase().split(",").map((x => x.trim())).reverse() : "location" === key.toLowerCase() && (location = val), + headers[kHeadersList].append(key, val); + } + } + this.body = new Readable({ + read: resume + }); + const decoders = [], willFollow = "follow" === request.redirect && location && redirectStatusSet.has(status); + if ("HEAD" !== request.method && "CONNECT" !== request.method && !nullBodyStatus.includes(status) && !willFollow) for (const coding of codings) if ("x-gzip" === coding || "gzip" === coding) decoders.push(zlib.createGunzip({ + flush: zlib.constants.Z_SYNC_FLUSH, + finishFlush: zlib.constants.Z_SYNC_FLUSH + })); else if ("deflate" === coding) decoders.push(zlib.createInflate()); else { + if ("br" !== coding) { + decoders.length = 0; + break; + } + decoders.push(zlib.createBrotliDecompress()); + } + return resolve({ + status, + statusText, + headersList: headers[kHeadersList], + body: decoders.length ? pipeline(this.body, ...decoders, (() => {})) : this.body.on("error", (() => {})) + }), !0; + }, + onData(chunk) { + if (fetchParams.controller.dump) return; + const bytes = chunk; + return timingInfo.encodedBodySize += bytes.byteLength, this.body.push(bytes); + }, + onComplete() { + this.abort && fetchParams.controller.off("terminated", this.abort), fetchParams.controller.ended = !0, + this.body.push(null); + }, + onError(error) { + this.abort && fetchParams.controller.off("terminated", this.abort), this.body?.destroy(error), + fetchParams.controller.terminate(error), reject(error); + }, + onUpgrade(status, headersList, socket) { + if (101 !== status) return; + const headers = new Headers; + for (let n = 0; n < headersList.length; n += 2) { + const key = headersList[n + 0].toString("latin1"), val = headersList[n + 1].toString("latin1"); + headers[kHeadersList].append(key, val); + } + return resolve({ + status, + statusText: STATUS_CODES[status], + headersList: headers[kHeadersList], + socket + }), !0; + } + }))); } - } catch ($p) { - if (5 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; - } - }, $getEntryCOROUTINE$1.prototype.td = function() { - var suspendResult = this.nd_1; - $sm: for (;;) try { - switch (this.ld_1) { - case 0: - if (this.md_1 = 10, this.ld_1 = 1, (suspendResult = await_0(getCacheEntry([ this.a1c_1 ], [ this.a1c_1 ], this.z1b_1.f1e_1), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 1: - this.c1c_1 = suspendResult; - var tmp_1, tmp_0 = this; - if (null == this.c1c_1) throw Companion_getInstance().i12("No cache entry found for " + this.a1c_1); - tmp_1 = this.c1c_1, tmp_0.d1c_1 = tmp_1; - var tmp_3, tmp_2 = this, tmp1_elvis_lhs = this.d1c_1.archiveLocation; - if (null == tmp1_elvis_lhs) throw Companion_getInstance().i12("No archive location for " + this.a1c_1); - tmp_3 = tmp1_elvis_lhs, tmp_2.e1c_1 = tmp_3; - var tmp_4 = this, tmp_5 = path; - Companion_getInstance_1(), tmp_4.f1c_1 = tmp_5.join(".cache-proxy", "dl-" + this.a1c_1), - isDebug() && debug("Found " + this.d1c_1.cacheKey + ", " + this.d1c_1.scope + " " + this.e1c_1), - this.ld_1 = 2; - continue $sm; - - case 2: - if (this.md_1 = 8, this.ld_1 = 3, (suspendResult = await_0(downloadCache(this.e1c_1, this.f1c_1), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 3: - if (this.h1c_1 = {}, this.ld_1 = 4, (suspendResult = stat(this.f1c_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 4: - this.i1c_1 = suspendResult, this.j1c_1 = this.i1c_1, this.k1c_1 = this.j1c_1.size, - this.h1c_1["content-length"] = this.k1c_1, this.l1c_1 = this.h1c_1, this.b1c_1.writeHead(200, "Ok", this.l1c_1), - this.ld_1 = 5; - var tmp_8 = createReadStream(this.f1c_1); - if ((suspendResult = pipeAndWait$default(tmp_8, this.b1c_1, !1, this, 2, null)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 5: - this.g1c_1 = suspendResult, this.md_1 = 10, this.ld_1 = 6; - continue $sm; - - case 6: - if (this.ld_1 = 7, (suspendResult = removeFiles(listOf(this.f1c_1), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 7: - return Unit_getInstance(); - - case 8: - if (this.md_1 = 10, this.m1c_1 = this.od_1, this.ld_1 = 9, (suspendResult = removeFiles(listOf(this.f1c_1), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 9: - throw this.m1c_1; - - case 10: - throw this.od_1; + }(httpFetchParams, includeCredentials, isNewConnectionFetch); + !safeMethodsSet.has(httpRequest.method) && forwardResponse.status >= 200 && forwardResponse.status, + null == response && (response = forwardResponse); + } + if (response.urlList = [ ...httpRequest.urlList ], httpRequest.headersList.contains("range") && (response.rangeRequested = !0), + response.requestIncludesCredentials = includeCredentials, 407 === response.status) return "no-window" === request.window ? makeNetworkError() : isCancelled(fetchParams) ? makeAppropriateNetworkError(fetchParams) : makeNetworkError("proxy authentication required"); + if (421 === response.status && !isNewConnectionFetch && (null == request.body || null != request.body.source)) { + if (isCancelled(fetchParams)) return makeAppropriateNetworkError(fetchParams); + fetchParams.controller.connection.destroy(), response = await httpNetworkOrCacheFetch(fetchParams, isAuthenticationFetch, !0); + } + return response; + } + module.exports = { + fetch: function(input, init = {}) { + webidl.argumentLengthCheck(arguments, 1, { + header: "globalThis.fetch" + }); + const p = createDeferredPromise(); + let requestObject; + try { + requestObject = new Request(input, init); + } catch (e) { + return p.reject(e), p.promise; + } + const request = requestObject[kState]; + if (requestObject.signal.aborted) return abortFetch(p, request, null, requestObject.signal.reason), + p.promise; + const globalObject = request.client.globalObject; + "ServiceWorkerGlobalScope" === globalObject?.constructor?.name && (request.serviceWorkers = "none"); + let responseObject = null, locallyAborted = !1, controller = null; + return addAbortListener(requestObject.signal, (() => { + locallyAborted = !0, assert(null != controller), controller.abort(requestObject.signal.reason), + abortFetch(p, request, responseObject, requestObject.signal.reason); + })), controller = fetching({ + request, + processResponseEndOfBody: response => finalizeAndReportTiming(response, "fetch"), + processResponse: response => locallyAborted ? Promise.resolve() : response.aborted ? (abortFetch(p, request, responseObject, controller.serializedAbortReason), + Promise.resolve()) : "error" === response.type ? (p.reject(Object.assign(new TypeError("fetch failed"), { + cause: response.error + })), Promise.resolve()) : (responseObject = new Response, responseObject[kState] = response, + responseObject[kRealm] = null, responseObject[kHeaders][kHeadersList] = response.headersList, + responseObject[kHeaders][kGuard] = "immutable", responseObject[kHeaders][kRealm] = null, + void p.resolve(responseObject)), + dispatcher: init.dispatcher ?? getGlobalDispatcher() + }), p.promise; + }, + Fetch, + fetching, + finalizeAndReportTiming + }; + }, + 8899: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const {extractBody, mixinBody, cloneBody} = __webpack_require__(2136), {Headers, fill: fillHeaders, HeadersList} = __webpack_require__(5472), {FinalizationRegistry} = __webpack_require__(383)(), util = __webpack_require__(8869), {isValidHTTPToken, sameOrigin, normalizeMethod, makePolicyContainer, normalizeMethodRecord} = __webpack_require__(8292), {forbiddenMethodsSet, corsSafeListedMethodsSet, referrerPolicy, requestRedirect, requestMode, requestCredentials, requestCache, requestDuplex} = __webpack_require__(3771), {kEnumerableProperty} = util, {kHeaders, kSignal, kState, kGuard, kRealm} = __webpack_require__(9415), {webidl} = __webpack_require__(769), {getGlobalOrigin} = __webpack_require__(6367), {URLSerializer} = __webpack_require__(3587), {kHeadersList, kConstruct} = __webpack_require__(8028), assert = __webpack_require__(2613), {getMaxListeners, setMaxListeners, getEventListeners, defaultMaxListeners} = __webpack_require__(4434); + let TransformStream = globalThis.TransformStream; + const kAbortController = Symbol("abortController"), requestFinalizer = new FinalizationRegistry((({signal, abort}) => { + signal.removeEventListener("abort", abort); + })); + class Request { + constructor(input, init = {}) { + if (input === kConstruct) return; + webidl.argumentLengthCheck(arguments, 1, { + header: "Request constructor" + }), input = webidl.converters.RequestInfo(input), init = webidl.converters.RequestInit(init), + this[kRealm] = { + settingsObject: { + baseUrl: getGlobalOrigin(), + get origin() { + return this.baseUrl?.origin; + }, + policyContainer: makePolicyContainer() + } + }; + let request = null, fallbackMode = null; + const baseUrl = this[kRealm].settingsObject.baseUrl; + let signal = null; + if ("string" == typeof input) { + let parsedURL; + try { + parsedURL = new URL(input, baseUrl); + } catch (err) { + throw new TypeError("Failed to parse URL from " + input, { + cause: err + }); + } + if (parsedURL.username || parsedURL.password) throw new TypeError("Request cannot be constructed from a URL that includes credentials: " + input); + request = makeRequest({ + urlList: [ parsedURL ] + }), fallbackMode = "cors"; + } else assert(input instanceof Request), request = input[kState], signal = input[kSignal]; + const origin = this[kRealm].settingsObject.origin; + let window = "client"; + if ("EnvironmentSettingsObject" === request.window?.constructor?.name && sameOrigin(request.window, origin) && (window = request.window), + null != init.window) throw new TypeError(`'window' option '${window}' must be null`); + "window" in init && (window = "no-window"), request = makeRequest({ + method: request.method, + headersList: request.headersList, + unsafeRequest: request.unsafeRequest, + client: this[kRealm].settingsObject, + window, + priority: request.priority, + origin: request.origin, + referrer: request.referrer, + referrerPolicy: request.referrerPolicy, + mode: request.mode, + credentials: request.credentials, + cache: request.cache, + redirect: request.redirect, + integrity: request.integrity, + keepalive: request.keepalive, + reloadNavigation: request.reloadNavigation, + historyNavigation: request.historyNavigation, + urlList: [ ...request.urlList ] + }); + const initHasKey = 0 !== Object.keys(init).length; + if (initHasKey && ("navigate" === request.mode && (request.mode = "same-origin"), + request.reloadNavigation = !1, request.historyNavigation = !1, request.origin = "client", + request.referrer = "client", request.referrerPolicy = "", request.url = request.urlList[request.urlList.length - 1], + request.urlList = [ request.url ]), void 0 !== init.referrer) { + const referrer = init.referrer; + if ("" === referrer) request.referrer = "no-referrer"; else { + let parsedReferrer; + try { + parsedReferrer = new URL(referrer, baseUrl); + } catch (err) { + throw new TypeError(`Referrer "${referrer}" is not a valid URL.`, { + cause: err + }); + } + "about:" === parsedReferrer.protocol && "client" === parsedReferrer.hostname || origin && !sameOrigin(parsedReferrer, this[kRealm].settingsObject.baseUrl) ? request.referrer = "client" : request.referrer = parsedReferrer; } - } catch ($p) { - if (10 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; } - }, $startCOROUTINE$2.prototype.td = function() { - var suspendResult = this.nd_1; - $sm: for (;;) try { - switch (this.ld_1) { - case 0: - this.md_1 = 3, this.ld_1 = 1; - var safe = SafeContinuation_init_$Create$(intercepted(this)); - if (this.p1e_1.e1e_1.listen(0, CacheProxy$start$lambda(safe)), (suspendResult = returnIfSuspended(safe.k9(), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 1: - if (this.ld_1 = 2, Companion_getInstance_1(), (suspendResult = mkdir(".cache-proxy", this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 2: - var tmp0_unsafeCast = this.p1e_1.e1e_1.address(), url = "http://localhost:" + toString(tmp0_unsafeCast.port) + "/"; - this.p1e_1.d1e_1 = url; - var tmp1_set = process.env; - return Companion_getInstance_1(), tmp1_set.GHA_CACHE_URL = url, Unit_getInstance(); - - case 3: - throw this.od_1; + let mode; + if (void 0 !== init.referrerPolicy && (request.referrerPolicy = init.referrerPolicy), + mode = void 0 !== init.mode ? init.mode : fallbackMode, "navigate" === mode) throw webidl.errors.exception({ + header: "Request constructor", + message: "invalid request mode navigate." + }); + if (null != mode && (request.mode = mode), void 0 !== init.credentials && (request.credentials = init.credentials), + void 0 !== init.cache && (request.cache = init.cache), "only-if-cached" === request.cache && "same-origin" !== request.mode) throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode"); + if (void 0 !== init.redirect && (request.redirect = init.redirect), null != init.integrity && (request.integrity = String(init.integrity)), + void 0 !== init.keepalive && (request.keepalive = Boolean(init.keepalive)), void 0 !== init.method) { + let method = init.method; + if (!isValidHTTPToken(method)) throw new TypeError(`'${method}' is not a valid HTTP method.`); + if (forbiddenMethodsSet.has(method.toUpperCase())) throw new TypeError(`'${method}' HTTP method is unsupported.`); + method = normalizeMethodRecord[method] ?? normalizeMethod(method), request.method = method; + } + void 0 !== init.signal && (signal = init.signal), this[kState] = request; + const ac = new AbortController; + if (this[kSignal] = ac.signal, this[kSignal][kRealm] = this[kRealm], null != signal) { + if (!signal || "boolean" != typeof signal.aborted || "function" != typeof signal.addEventListener) throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal."); + if (signal.aborted) ac.abort(signal.reason); else { + this[kAbortController] = ac; + const acRef = new WeakRef(ac), abort = function() { + const ac = acRef.deref(); + void 0 !== ac && ac.abort(this.reason); + }; + try { + ("function" == typeof getMaxListeners && getMaxListeners(signal) === defaultMaxListeners || getEventListeners(signal, "abort").length >= defaultMaxListeners) && setMaxListeners(100, signal); + } catch {} + util.addAbortListener(signal, abort), requestFinalizer.register(ac, { + signal, + abort + }); } - } catch ($p) { - if (3 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; - } - }, CacheProxy.prototype.q1e = function() { - return this.d1e_1; - }, CacheProxy.prototype.r1e = function(multiCacheEnabled, multiCacheVersion, multiCacheRepository, multiCacheGroupIdFilter, push) { - var multiCacheGroupIdFilterEscaped = replace$default(multiCacheGroupIdFilter, "\\", "\\\\", !1, 4, null); - return trimIndent("\n def pluginId = 'com.github.burrunan.multi-cache'\n def multiCacheVersion = '1.0'\n def multiCacheGroupIdFilter = 'com[.]github[.]burrunan[.]multi-?cache'\n boolean multiCacheEnabled = " + multiCacheEnabled + "\n String multiCacheRepository = '" + multiCacheRepository + "'\n boolean gradle6Plus = org.gradle.util.GradleVersion.current() >= org.gradle.util.GradleVersion.version('6.0')\n // beforeSettings is Gradle 6.0+\n if (multiCacheEnabled && !gradle6Plus) {\n println(\"Multiple remote build caches (" + this.g1e_1 + ") are supported in Gradle 6.0+ only\")\n multiCacheEnabled = false\n }\n if (multiCacheEnabled) {\n beforeSettings { settings ->\n def repos = settings.buildscript.repositories\n if (multiCacheRepository != '') {\n repos.add(\n repos.maven {\n url = multiCacheRepository\n if ('" + multiCacheGroupIdFilterEscaped + "' != '') {\n content {\n includeGroupByRegex('" + multiCacheGroupIdFilterEscaped + "')\n }\n }\n }\n )\n } else if (repos.isEmpty()) {\n repos.add(repos.gradlePluginPortal())\n }\n settings.buildscript.dependencies {\n classpath(\"" + this.g1e_1 + ":" + this.g1e_1 + ".gradle.plugin:" + multiCacheVersion + '")\n }\n }\n }\n\n settingsEvaluated { settings ->\n settings.buildCache {\n boolean needMulticache = remote != null\n if (needMulticache && !multiCacheEnabled) {\n println("' + this.g1e_1 + ' is disabled")\n return\n }\n\n local {\n enabled = true\n push = ' + push + '\n }\n if (needMulticache) {\n settings.pluginManager.apply("' + this.g1e_1 + "\")\n settings.multicache.push('base')\n }\n remote(HttpBuildCache) {\n url = '" + this.q1e() + "'\n push = " + push + "\n // Build cache is located on localhost, so it is fine to use http protocol\n if (gradle6Plus) {\n allowInsecureProtocol = true\n }\n }\n if (needMulticache) {\n settings.multicache.pushAndConfigure('actions-cache') {\n loadSequentiallyWriteConcurrently('actions-cache', 'base')\n }\n }\n }\n }\n "); - }, CacheProxy.prototype.s1e = function($cont) { - var tmp = new $startCOROUTINE$2(this, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); - }, CacheProxy.prototype.t1e = function() { - this.e1e_1.close(); - }, _.$_$ = _.$_$ || {}, _.$_$.a = CacheProxy, _; - }) ? __WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__) : __WEBPACK_AMD_DEFINE_FACTORY__) || (module.exports = __WEBPACK_AMD_DEFINE_RESULT__); - }, - 3286: function(module, exports, __webpack_require__) { - var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; - __WEBPACK_AMD_DEFINE_ARRAY__ = [ exports, __webpack_require__(8744), __webpack_require__(7646) ], - void 0 === (__WEBPACK_AMD_DEFINE_RESULT__ = "function" == typeof (__WEBPACK_AMD_DEFINE_FACTORY__ = function(_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core) { - "use strict"; - var Companion_instance, objectMeta = kotlin_kotlin.$_$.n5, setMetadataFor = kotlin_kotlin.$_$.o5, extendThrowable = kotlin_kotlin.$_$.z4, captureStack = kotlin_kotlin.$_$.r4, classMeta = kotlin_kotlin.$_$.x4, GlobalScope_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d, launch$default = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c, CoroutineImpl = kotlin_kotlin.$_$.m4, Unit_getInstance = kotlin_kotlin.$_$.d2, THROW_CCE = kotlin_kotlin.$_$.v6, CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e, isInterface = kotlin_kotlin.$_$.g5, get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.x3, supervisorScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b, printStackTrace = kotlin_kotlin.$_$.g7; - function Companion() { - Companion_instance = this; + } + if (this[kHeaders] = new Headers(kConstruct), this[kHeaders][kHeadersList] = request.headersList, + this[kHeaders][kGuard] = "request", this[kHeaders][kRealm] = this[kRealm], "no-cors" === mode) { + if (!corsSafeListedMethodsSet.has(request.method)) throw new TypeError(`'${request.method} is unsupported in no-cors mode.`); + this[kHeaders][kGuard] = "request-no-cors"; + } + if (initHasKey) { + const headersList = this[kHeaders][kHeadersList], headers = void 0 !== init.headers ? init.headers : new HeadersList(headersList); + if (headersList.clear(), headers instanceof HeadersList) { + for (const [key, val] of headers) headersList.append(key, val); + headersList.cookies = headers.cookies; + } else fillHeaders(this[kHeaders], headers); + } + const inputBody = input instanceof Request ? input[kState].body : null; + if (!(null == init.body && null == inputBody || "GET" !== request.method && "HEAD" !== request.method)) throw new TypeError("Request with GET/HEAD method cannot have body."); + let initBody = null; + if (null != init.body) { + const [extractedBody, contentType] = extractBody(init.body, request.keepalive); + initBody = extractedBody, contentType && !this[kHeaders][kHeadersList].contains("content-type") && this[kHeaders].append("content-type", contentType); + } + const inputOrInitBody = initBody ?? inputBody; + if (null != inputOrInitBody && null == inputOrInitBody.source) { + if (null != initBody && null == init.duplex) throw new TypeError("RequestInit: duplex option is required when sending a body."); + if ("same-origin" !== request.mode && "cors" !== request.mode) throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"'); + request.useCORSPreflightFlag = !0; + } + let finalBody = inputOrInitBody; + if (null == initBody && null != inputBody) { + if (util.isDisturbed(inputBody.stream) || inputBody.stream.locked) throw new TypeError("Cannot construct a Request with a Request object that has already been used."); + TransformStream || (TransformStream = __webpack_require__(3774).TransformStream); + const identityTransform = new TransformStream; + inputBody.stream.pipeThrough(identityTransform), finalBody = { + source: inputBody.source, + length: inputBody.length, + stream: identityTransform.readable + }; + } + this[kState].body = finalBody; } - function Companion_getInstance() { - return null == Companion_instance && new Companion, Companion_instance; + get method() { + return webidl.brandCheck(this, Request), this[kState].method; } - function HttpException(code, message) { - Companion_getInstance(), extendThrowable(this, message, void 0), this.j12_1 = code, - captureStack(this, HttpException); + get url() { + return webidl.brandCheck(this, Request), URLSerializer(this[kState].url); } - function handle(_this__u8e3s4, action) { - var tmp = GlobalScope_getInstance(); - return launch$default(tmp, null, null, handle$slambda_0(_this__u8e3s4, action, null), 3, null); + get headers() { + return webidl.brandCheck(this, Request), this[kHeaders]; } - function handle$slambda$slambda($action, resultContinuation) { - this.s12_1 = $action, CoroutineImpl.call(this, resultContinuation); + get destination() { + return webidl.brandCheck(this, Request), this[kState].destination; } - function handle$slambda$slambda_0($action, resultContinuation) { - var i = new handle$slambda$slambda($action, resultContinuation), l = function($this$supervisorScope, $cont) { - return i.zt($this$supervisorScope, $cont); - }; - return l.$arity = 1, l; + get referrer() { + return webidl.brandCheck(this, Request), "no-referrer" === this[kState].referrer ? "" : "client" === this[kState].referrer ? "about:client" : this[kState].referrer.toString(); } - function handle$slambda($this_handle, $action, resultContinuation) { - this.c13_1 = $this_handle, this.d13_1 = $action, CoroutineImpl.call(this, resultContinuation); + get referrerPolicy() { + return webidl.brandCheck(this, Request), this[kState].referrerPolicy; } - function handle$slambda_0($this_handle, $action, resultContinuation) { - var i = new handle$slambda($this_handle, $action, resultContinuation), l = function($this$launch, $cont) { - return i.zt($this$launch, $cont); - }; - return l.$arity = 1, l; + get mode() { + return webidl.brandCheck(this, Request), this[kState].mode; } - return setMetadataFor(Companion, "Companion", objectMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(HttpException, "HttpException", classMeta, Error, void 0, void 0, void 0, []), - setMetadataFor(handle$slambda$slambda, "handle$slambda$slambda", classMeta, CoroutineImpl, void 0, void 0, void 0, [ 1 ]), - setMetadataFor(handle$slambda, "handle$slambda", classMeta, CoroutineImpl, void 0, void 0, void 0, [ 1 ]), - Companion.prototype.h12 = function(message) { - return new HttpException(501, message); - }, Companion.prototype.i12 = function(message) { - return new HttpException(404, message); - }, handle$slambda$slambda.prototype.zt = function($this$supervisorScope, $cont) { - var tmp = this.au($this$supervisorScope, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); - }, handle$slambda$slambda.prototype.fe = function(p1, $cont) { - return this.zt(null != p1 && isInterface(p1, CoroutineScope) ? p1 : THROW_CCE(), $cont); - }, handle$slambda$slambda.prototype.td = function() { - var suspendResult = this.nd_1; - $sm: for (;;) try { - switch (this.ld_1) { - case 0: - if (this.md_1 = 2, this.ld_1 = 1, (suspendResult = this.s12_1(this.t12_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 1: - return Unit_getInstance(); - - case 2: - throw this.od_1; - } - } catch ($p) { - if (2 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; - } - }, handle$slambda$slambda.prototype.au = function($this$supervisorScope, completion) { - var i = new handle$slambda$slambda(this.s12_1, completion); - return i.t12_1 = $this$supervisorScope, i; - }, handle$slambda.prototype.zt = function($this$launch, $cont) { - var tmp = this.au($this$launch, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); - }, handle$slambda.prototype.fe = function(p1, $cont) { - return this.zt(null != p1 && isInterface(p1, CoroutineScope) ? p1 : THROW_CCE(), $cont); - }, handle$slambda.prototype.td = function() { - var suspendResult = this.nd_1; - $sm: for (;;) try { - switch (this.ld_1) { - case 0: - this.md_1 = 5, this.ld_1 = 1; - continue $sm; - - case 1: - if (this.md_1 = 4, this.md_1 = 3, this.ld_1 = 2, (suspendResult = supervisorScope(handle$slambda$slambda_0(this.d13_1, null), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 2: - this.f13_1 = suspendResult, this.md_1 = 5, this.ld_1 = 6; - continue $sm; - - case 3: - if (this.md_1 = 4, this.od_1 instanceof HttpException) { - var e = this.od_1, tmp_1 = this, tmp0_elvis_lhs = e.message; - this.c13_1.writeHead(e.j12_1, null == tmp0_elvis_lhs ? "no message" : tmp0_elvis_lhs), - tmp_1.f13_1 = Unit_getInstance(), this.md_1 = 5, this.ld_1 = 6; - continue $sm; - } - if (this.od_1 instanceof Error) { - var e_0 = this.od_1, tmp_3 = this; - printStackTrace(e_0), this.c13_1.writeHead(500, "Error processing " + e_0.message), - tmp_3.f13_1 = Unit_getInstance(), this.md_1 = 5, this.ld_1 = 6; - continue $sm; - } - throw this.od_1; - - case 4: - this.md_1 = 5; - var t = this.od_1; - throw this.c13_1.end(), t; - - case 5: - throw this.od_1; - - case 6: - return this.c13_1.end(), Unit_getInstance(); - } - } catch ($p) { - if (5 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; - } - }, handle$slambda.prototype.au = function($this$launch, completion) { - var i = new handle$slambda(this.c13_1, this.d13_1, completion); - return i.e13_1 = $this$launch, i; - }, _.$_$ = _.$_$ || {}, _.$_$.a = handle, _.$_$.b = Companion_getInstance, _; - }) ? __WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__) : __WEBPACK_AMD_DEFINE_FACTORY__) || (module.exports = __WEBPACK_AMD_DEFINE_RESULT__); - }, - 4727: function(module, exports, __webpack_require__) { - var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; - __WEBPACK_AMD_DEFINE_ARRAY__ = [ exports, __webpack_require__(7127), __webpack_require__(2037), __webpack_require__(9411), __webpack_require__(612), __webpack_require__(202), __webpack_require__(7742), __webpack_require__(8744), __webpack_require__(7646), __webpack_require__(9925), __webpack_require__(4377), __webpack_require__(8585), __webpack_require__(3814), __webpack_require__(2528), __webpack_require__(3903), __webpack_require__(5162) ], - void 0 === (__WEBPACK_AMD_DEFINE_RESULT__ = "function" == typeof (__WEBPACK_AMD_DEFINE_FACTORY__ = function(_, $module$_actions_tool_cache_bge9h1, $module$_actions_core_fx0i1v, path, $module$node_os_4svwl4, $module$_actions_http_client_ma87oy, process, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_org_jetbrains_kotlin_wrappers_kotlin_actions_toolkit, kotlin_gradle_cache_action_hashing, kotlin_gradle_cache_action_wrappers_actions_toolkit, kotlin_org_jetbrains_kotlin_wrappers_kotlin_node, kotlin_gradle_cache_action_wrappers_nodejs, kotlin_gradle_cache_action_wrappers_java_properties, kotlin_org_jetbrains_kotlin_wrappers_kotlin_js) { - "use strict"; - var HTTP_AGENT, properties_initialized_GradleInstaller_kt_g293ov, Companion_instance, Current_instance, ReleaseCandidate_instance, Nightly_instance, ReleaseNightly_instance, Wrapper_instance, errorHeaderValues, ErrorHeader_FAILURE_instance, ErrorHeader_WHERE_instance, ErrorHeader_WHAT_WENT_WRONG_instance, ErrorHeader_TRY_instance, ErrorHeader_entriesInitialized, properties_initialized_GradleErrorCollector_kt_b094ge, KOTLIN_COMPILE_ERROR, CHECKSTYLE_ERROR, JAVA_ERROR, properties_initialized_GradleOutErrorCollector_kt_hea2pw, imul = Math.imul, find = $module$_actions_tool_cache_bge9h1.find, info = $module$_actions_core_fx0i1v.info, platform = $module$node_os_4svwl4.platform, HttpClient = $module$_actions_http_client_ma87oy.HttpClient, warning = $module$_actions_core_fx0i1v.warning, setOutput = $module$_actions_core_fx0i1v.setOutput, error = $module$_actions_core_fx0i1v.error, setFailed = $module$_actions_core_fx0i1v.setFailed, getStringHashCode = kotlin_kotlin.$_$.c5, THROW_CCE = kotlin_kotlin.$_$.v6, classMeta = kotlin_kotlin.$_$.x4, setMetadataFor = kotlin_kotlin.$_$.o5, Unit_getInstance = kotlin_kotlin.$_$.d2, CoroutineImpl = kotlin_kotlin.$_$.m4, noWhenBranchMatchedException = kotlin_kotlin.$_$.e7, get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.x3, CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e, isInterface = kotlin_kotlin.$_$.g5, rmRF = kotlin_org_jetbrains_kotlin_wrappers_kotlin_actions_toolkit.$_$.g, downloadTool = kotlin_org_jetbrains_kotlin_wrappers_kotlin_actions_toolkit.$_$.i, charSequenceLength = kotlin_kotlin.$_$.v4, hashFiles = kotlin_gradle_cache_action_hashing.$_$.b, ActionFailedException_init_$Create$ = kotlin_gradle_cache_action_wrappers_actions_toolkit.$_$.i, extractZip = kotlin_org_jetbrains_kotlin_wrappers_kotlin_actions_toolkit.$_$.j, cacheDir = kotlin_org_jetbrains_kotlin_wrappers_kotlin_actions_toolkit.$_$.h, GlobalScope_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d, launch$default = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c, equals = kotlin_kotlin.$_$.y4, toInt = kotlin_kotlin.$_$.g6, chmod = kotlin_org_jetbrains_kotlin_wrappers_kotlin_node.$_$.a, await_0 = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a, toString = kotlin_kotlin.$_$.r5, arrayIterator = kotlin_kotlin.$_$.p4, exists = kotlin_gradle_cache_action_wrappers_nodejs.$_$.a, readFile = kotlin_org_jetbrains_kotlin_wrappers_kotlin_node.$_$.c, parseString = kotlin_gradle_cache_action_wrappers_java_properties.$_$.a, mapCapacity = kotlin_kotlin.$_$.h3, coerceAtLeast = kotlin_kotlin.$_$.u5, LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.y, ensureNotNull = kotlin_kotlin.$_$.a7, getValue = kotlin_kotlin.$_$.y2, substringAfterLast$default = kotlin_kotlin.$_$.p, substringAfter$default = kotlin_kotlin.$_$.q, removeSuffix = kotlin_kotlin.$_$.c6, removePrefix = kotlin_kotlin.$_$.b6, endsWith$default = kotlin_kotlin.$_$.h, startsWith$default = kotlin_kotlin.$_$.n, isCharSequence = kotlin_kotlin.$_$.f5, trim = kotlin_kotlin.$_$.m6, to = kotlin_kotlin.$_$.k7, recordOf = kotlin_org_jetbrains_kotlin_wrappers_kotlin_js.$_$.a, trimEnd = kotlin_kotlin.$_$.i6, listOf = kotlin_kotlin.$_$.f3, ArrayList_init_$Create$ = kotlin_kotlin.$_$.r, plus = kotlin_kotlin.$_$.j3, copyToArray = kotlin_kotlin.$_$.r2, exec$default = kotlin_gradle_cache_action_wrappers_actions_toolkit.$_$.h, listOf_0 = kotlin_kotlin.$_$.g3, plus_0 = kotlin_kotlin.$_$.k3, objectMeta = kotlin_kotlin.$_$.n5, Enum = kotlin_kotlin.$_$.q6, ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.s, StringBuilder_init_$Create$ = kotlin_kotlin.$_$.h1, LinkedHashMap_init_$Create$_0 = kotlin_kotlin.$_$.z, Regex_init_$Create$ = kotlin_kotlin.$_$.f1, toInt_0 = kotlin_kotlin.$_$.f6, _Char___init__impl__6a9atx = kotlin_kotlin.$_$.s1, isBlank = kotlin_kotlin.$_$.z5, joinToString$default = kotlin_kotlin.$_$.e; - function GradleDistribution(version, distributionUrl, distributionSha256Sum) { - this.s1h_1 = version, this.t1h_1 = distributionUrl, this.u1h_1 = distributionSha256Sum; + get credentials() { + return this[kState].credentials; } - function resolveDistribution(versionSpec, projectPath, distributionUrl, distributionSha256Sum, enableDistributionSha256SumWarning, $cont) { - var tmp = new $resolveDistributionCOROUTINE$0(versionSpec, projectPath, distributionUrl, distributionSha256Sum, enableDistributionSha256SumWarning, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); + get cache() { + return webidl.brandCheck(this, Request), this[kState].cache; } - function $resolveDistributionCOROUTINE$0(versionSpec, projectPath, distributionUrl, distributionSha256Sum, enableDistributionSha256SumWarning, resultContinuation) { - CoroutineImpl.call(this, resultContinuation), this.d1i_1 = versionSpec, this.e1i_1 = projectPath, - this.f1i_1 = distributionUrl, this.g1i_1 = distributionSha256Sum, this.h1i_1 = enableDistributionSha256SumWarning; + get redirect() { + return webidl.brandCheck(this, Request), this[kState].redirect; } - function get_HTTP_AGENT() { - return init_properties_GradleInstaller_kt_offm37(), HTTP_AGENT; + get integrity() { + return webidl.brandCheck(this, Request), this[kState].integrity; + } + get keepalive() { + return webidl.brandCheck(this, Request), this[kState].keepalive; + } + get isReloadNavigation() { + return webidl.brandCheck(this, Request), this[kState].reloadNavigation; + } + get isHistoryNavigation() { + return webidl.brandCheck(this, Request), this[kState].historyNavigation; + } + get signal() { + return webidl.brandCheck(this, Request), this[kSignal]; + } + get body() { + return webidl.brandCheck(this, Request), this[kState].body ? this[kState].body.stream : null; } - function install(distribution, $cont) { - var tmp = new $installCOROUTINE$1(distribution, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); + get bodyUsed() { + return webidl.brandCheck(this, Request), !!this[kState].body && util.isDisturbed(this[kState].body.stream); } - function findUrl(_this__u8e3s4, $cont) { - var tmp = new $findUrlCOROUTINE$2(_this__u8e3s4, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); + get duplex() { + return webidl.brandCheck(this, Request), "half"; } - function findUrl_0(_this__u8e3s4, $cont) { - var tmp = new $findUrlCOROUTINE$3(_this__u8e3s4, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); + clone() { + if (webidl.brandCheck(this, Request), this.bodyUsed || this.body?.locked) throw new TypeError("unusable"); + const clonedRequest = function(request) { + const newRequest = makeRequest({ + ...request, + body: null + }); + null != request.body && (newRequest.body = cloneBody(request.body)); + return newRequest; + }(this[kState]), clonedRequestObject = new Request(kConstruct); + clonedRequestObject[kState] = clonedRequest, clonedRequestObject[kRealm] = this[kRealm], + clonedRequestObject[kHeaders] = new Headers(kConstruct), clonedRequestObject[kHeaders][kHeadersList] = clonedRequest.headersList, + clonedRequestObject[kHeaders][kGuard] = this[kHeaders][kGuard], clonedRequestObject[kHeaders][kRealm] = this[kHeaders][kRealm]; + const ac = new AbortController; + return this.signal.aborted ? ac.abort(this.signal.reason) : util.addAbortListener(this.signal, (() => { + ac.abort(this.signal.reason); + })), clonedRequestObject[kSignal] = ac.signal, clonedRequestObject; + } + } + function makeRequest(init) { + const request = { + method: "GET", + localURLsOnly: !1, + unsafeRequest: !1, + body: null, + client: null, + reservedClient: null, + replacesClientId: "", + window: "client", + keepalive: !1, + serviceWorkers: "all", + initiator: "", + destination: "", + priority: null, + origin: "client", + policyContainer: "client", + referrer: "client", + referrerPolicy: "", + mode: "no-cors", + useCORSPreflightFlag: !1, + credentials: "same-origin", + useCredentials: !1, + cache: "default", + redirect: "follow", + integrity: "", + cryptoGraphicsNonceMetadata: "", + parserMetadata: "", + reloadNavigation: !1, + historyNavigation: !1, + userActivation: !1, + taintedOrigin: !1, + redirectCount: 0, + responseTainting: "basic", + preventNoCacheCacheControlHeaderModification: !1, + done: !1, + timingAllowFailed: !1, + ...init, + headersList: init.headersList ? new HeadersList(init.headersList) : new HeadersList + }; + return request.url = request.urlList[0], request; + } + mixinBody(Request), Object.defineProperties(Request.prototype, { + method: kEnumerableProperty, + url: kEnumerableProperty, + headers: kEnumerableProperty, + redirect: kEnumerableProperty, + clone: kEnumerableProperty, + signal: kEnumerableProperty, + duplex: kEnumerableProperty, + destination: kEnumerableProperty, + body: kEnumerableProperty, + bodyUsed: kEnumerableProperty, + isHistoryNavigation: kEnumerableProperty, + isReloadNavigation: kEnumerableProperty, + keepalive: kEnumerableProperty, + integrity: kEnumerableProperty, + cache: kEnumerableProperty, + credentials: kEnumerableProperty, + attribute: kEnumerableProperty, + referrerPolicy: kEnumerableProperty, + referrer: kEnumerableProperty, + mode: kEnumerableProperty, + [Symbol.toStringTag]: { + value: "Request", + configurable: !0 + } + }), webidl.converters.Request = webidl.interfaceConverter(Request), webidl.converters.RequestInfo = function(V) { + return "string" == typeof V ? webidl.converters.USVString(V) : V instanceof Request ? webidl.converters.Request(V) : webidl.converters.USVString(V); + }, webidl.converters.AbortSignal = webidl.interfaceConverter(AbortSignal), webidl.converters.RequestInit = webidl.dictionaryConverter([ { + key: "method", + converter: webidl.converters.ByteString + }, { + key: "headers", + converter: webidl.converters.HeadersInit + }, { + key: "body", + converter: webidl.nullableConverter(webidl.converters.BodyInit) + }, { + key: "referrer", + converter: webidl.converters.USVString + }, { + key: "referrerPolicy", + converter: webidl.converters.DOMString, + allowedValues: referrerPolicy + }, { + key: "mode", + converter: webidl.converters.DOMString, + allowedValues: requestMode + }, { + key: "credentials", + converter: webidl.converters.DOMString, + allowedValues: requestCredentials + }, { + key: "cache", + converter: webidl.converters.DOMString, + allowedValues: requestCache + }, { + key: "redirect", + converter: webidl.converters.DOMString, + allowedValues: requestRedirect + }, { + key: "integrity", + converter: webidl.converters.DOMString + }, { + key: "keepalive", + converter: webidl.converters.boolean + }, { + key: "signal", + converter: webidl.nullableConverter((signal => webidl.converters.AbortSignal(signal, { + strict: !1 + }))) + }, { + key: "window", + converter: webidl.converters.any + }, { + key: "duplex", + converter: webidl.converters.DOMString, + allowedValues: requestDuplex + } ]), module.exports = { + Request, + makeRequest + }; + }, + 3767: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const {Headers, HeadersList, fill} = __webpack_require__(5472), {extractBody, cloneBody, mixinBody} = __webpack_require__(2136), util = __webpack_require__(8869), {kEnumerableProperty} = util, {isValidReasonPhrase, isCancelled, isAborted, isBlobLike, serializeJavascriptValueToJSONString, isErrorLike, isomorphicEncode} = __webpack_require__(8292), {redirectStatusSet, nullBodyStatus, DOMException} = __webpack_require__(3771), {kState, kHeaders, kGuard, kRealm} = __webpack_require__(9415), {webidl} = __webpack_require__(769), {FormData} = __webpack_require__(9706), {getGlobalOrigin} = __webpack_require__(6367), {URLSerializer} = __webpack_require__(3587), {kHeadersList, kConstruct} = __webpack_require__(8028), assert = __webpack_require__(2613), {types} = __webpack_require__(9023), ReadableStream = globalThis.ReadableStream || __webpack_require__(3774).ReadableStream, textEncoder = new TextEncoder("utf-8"); + class Response { + static error() { + const relevantRealm = { + settingsObject: {} + }, responseObject = new Response; + return responseObject[kState] = makeNetworkError(), responseObject[kRealm] = relevantRealm, + responseObject[kHeaders][kHeadersList] = responseObject[kState].headersList, responseObject[kHeaders][kGuard] = "immutable", + responseObject[kHeaders][kRealm] = relevantRealm, responseObject; + } + static json(data, init = {}) { + webidl.argumentLengthCheck(arguments, 1, { + header: "Response.json" + }), null !== init && (init = webidl.converters.ResponseInit(init)); + const bytes = textEncoder.encode(serializeJavascriptValueToJSONString(data)), body = extractBody(bytes), relevantRealm = { + settingsObject: {} + }, responseObject = new Response; + return responseObject[kRealm] = relevantRealm, responseObject[kHeaders][kGuard] = "response", + responseObject[kHeaders][kRealm] = relevantRealm, initializeResponse(responseObject, init, { + body: body[0], + type: "application/json" + }), responseObject; + } + static redirect(url, status = 302) { + const relevantRealm = { + settingsObject: {} + }; + let parsedURL; + webidl.argumentLengthCheck(arguments, 1, { + header: "Response.redirect" + }), url = webidl.converters.USVString(url), status = webidl.converters["unsigned short"](status); + try { + parsedURL = new URL(url, getGlobalOrigin()); + } catch (err) { + throw Object.assign(new TypeError("Failed to parse URL from " + url), { + cause: err + }); + } + if (!redirectStatusSet.has(status)) throw new RangeError("Invalid status code " + status); + const responseObject = new Response; + responseObject[kRealm] = relevantRealm, responseObject[kHeaders][kGuard] = "immutable", + responseObject[kHeaders][kRealm] = relevantRealm, responseObject[kState].status = status; + const value = isomorphicEncode(URLSerializer(parsedURL)); + return responseObject[kState].headersList.append("location", value), responseObject; + } + constructor(body = null, init = {}) { + null !== body && (body = webidl.converters.BodyInit(body)), init = webidl.converters.ResponseInit(init), + this[kRealm] = { + settingsObject: {} + }, this[kState] = makeResponse({}), this[kHeaders] = new Headers(kConstruct), this[kHeaders][kGuard] = "response", + this[kHeaders][kHeadersList] = this[kState].headersList, this[kHeaders][kRealm] = this[kRealm]; + let bodyWithType = null; + if (null != body) { + const [extractedBody, type] = extractBody(body); + bodyWithType = { + body: extractedBody, + type + }; + } + initializeResponse(this, init, bodyWithType); } - function findVersionFromWrapper(projectPath, enableDistributionSha256SumWarning, $cont) { - var tmp = new $findVersionFromWrapperCOROUTINE$4(projectPath, enableDistributionSha256SumWarning, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); + get type() { + return webidl.brandCheck(this, Response), this[kState].type; } - function resolveChecksum(_this__u8e3s4, $cont) { - var tmp = new $resolveChecksumCOROUTINE$5(_this__u8e3s4, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); + get url() { + webidl.brandCheck(this, Response); + const urlList = this[kState].urlList, url = urlList[urlList.length - 1] ?? null; + return null === url ? "" : URLSerializer(url, !0); } - function install$slambda($gradleZip, $extractedGradleDir, resultContinuation) { - this.q1l_1 = $gradleZip, this.r1l_1 = $extractedGradleDir, CoroutineImpl.call(this, resultContinuation); + get redirected() { + return webidl.brandCheck(this, Response), this[kState].urlList.length > 1; } - function install$slambda_0($gradleZip, $extractedGradleDir, resultContinuation) { - var i = new install$slambda($gradleZip, $extractedGradleDir, resultContinuation), l = function($this$launch, $cont) { - return i.zt($this$launch, $cont); - }; - return l.$arity = 1, l; + get status() { + return webidl.brandCheck(this, Response), this[kState].status; } - function $installCOROUTINE$1(distribution, resultContinuation) { - CoroutineImpl.call(this, resultContinuation), this.t1i_1 = distribution; + get ok() { + return webidl.brandCheck(this, Response), this[kState].status >= 200 && this[kState].status <= 299; } - function $findUrlCOROUTINE$2(_this__u8e3s4, resultContinuation) { - CoroutineImpl.call(this, resultContinuation), this.n1j_1 = _this__u8e3s4; + get statusText() { + return webidl.brandCheck(this, Response), this[kState].statusText; } - function $findUrlCOROUTINE$3(_this__u8e3s4, resultContinuation) { - CoroutineImpl.call(this, resultContinuation), this.a1k_1 = _this__u8e3s4; + get headers() { + return webidl.brandCheck(this, Response), this[kHeaders]; } - function $findVersionFromWrapperCOROUTINE$4(projectPath, enableDistributionSha256SumWarning, resultContinuation) { - CoroutineImpl.call(this, resultContinuation), this.l1k_1 = projectPath, this.m1k_1 = enableDistributionSha256SumWarning; + get body() { + return webidl.brandCheck(this, Response), this[kState].body ? this[kState].body.stream : null; } - function $resolveChecksumCOROUTINE$5(_this__u8e3s4, resultContinuation) { - CoroutineImpl.call(this, resultContinuation), this.d1l_1 = _this__u8e3s4; + get bodyUsed() { + return webidl.brandCheck(this, Response), !!this[kState].body && util.isDisturbed(this[kState].body.stream); } - function init_properties_GradleInstaller_kt_offm37() { - properties_initialized_GradleInstaller_kt_g293ov || (properties_initialized_GradleInstaller_kt_g293ov = !0, - HTTP_AGENT = recordOf([ to("User-Agent", "burrunan/gradle-cache-action") ])); + clone() { + if (webidl.brandCheck(this, Response), this.bodyUsed || this.body && this.body.locked) throw webidl.errors.exception({ + header: "Response.clone", + message: "Body has already been consumed." + }); + const clonedResponse = cloneResponse(this[kState]), clonedResponseObject = new Response; + return clonedResponseObject[kState] = clonedResponse, clonedResponseObject[kRealm] = this[kRealm], + clonedResponseObject[kHeaders][kHeadersList] = clonedResponse.headersList, clonedResponseObject[kHeaders][kGuard] = this[kHeaders][kGuard], + clonedResponseObject[kHeaders][kRealm] = this[kHeaders][kRealm], clonedResponseObject; } - function GradleResult(buildScanUrl) { - this.w1l_1 = buildScanUrl; + } + function cloneResponse(response) { + if (response.internalResponse) return filterResponse(cloneResponse(response.internalResponse), response.type); + const newResponse = makeResponse({ + ...response, + body: null + }); + return null != response.body && (newResponse.body = cloneBody(response.body)), newResponse; + } + function makeResponse(init) { + return { + aborted: !1, + rangeRequested: !1, + timingAllowPassed: !1, + requestIncludesCredentials: !1, + type: "default", + status: 200, + timingInfo: null, + cacheState: "", + statusText: "", + ...init, + headersList: init.headersList ? new HeadersList(init.headersList) : new HeadersList, + urlList: init.urlList ? [ ...init.urlList ] : [] + }; + } + function makeNetworkError(reason) { + return makeResponse({ + type: "error", + status: 0, + error: isErrorLike(reason) ? reason : new Error(reason ? String(reason) : reason), + aborted: reason && "AbortError" === reason.name + }); + } + function makeFilteredResponse(response, state) { + return state = { + internalResponse: response, + ...state + }, new Proxy(response, { + get: (target, p) => p in state ? state[p] : target[p], + set: (target, p, value) => (assert(!(p in state)), target[p] = value, !0) + }); + } + function filterResponse(response, type) { + return "basic" === type ? makeFilteredResponse(response, { + type: "basic", + headersList: response.headersList + }) : "cors" === type ? makeFilteredResponse(response, { + type: "cors", + headersList: response.headersList + }) : "opaque" === type ? makeFilteredResponse(response, { + type: "opaque", + urlList: Object.freeze([]), + status: 0, + statusText: "", + body: null + }) : "opaqueredirect" === type ? makeFilteredResponse(response, { + type: "opaqueredirect", + status: 0, + statusText: "", + headersList: [], + body: null + }) : void assert(!1); + } + function initializeResponse(response, init, body) { + if (null !== init.status && (init.status < 200 || init.status > 599)) throw new RangeError('init["status"] must be in the range of 200 to 599, inclusive.'); + if ("statusText" in init && null != init.statusText && !isValidReasonPhrase(String(init.statusText))) throw new TypeError("Invalid statusText"); + if ("status" in init && null != init.status && (response[kState].status = init.status), + "statusText" in init && null != init.statusText && (response[kState].statusText = init.statusText), + "headers" in init && null != init.headers && fill(response[kHeaders], init.headers), + body) { + if (nullBodyStatus.includes(response.status)) throw webidl.errors.exception({ + header: "Response constructor", + message: "Invalid response status code " + response.status + }); + response[kState].body = body.body, null == body.type || response[kState].headersList.contains("Content-Type") || response[kState].headersList.append("content-type", body.type); + } + } + mixinBody(Response), Object.defineProperties(Response.prototype, { + type: kEnumerableProperty, + url: kEnumerableProperty, + status: kEnumerableProperty, + ok: kEnumerableProperty, + redirected: kEnumerableProperty, + statusText: kEnumerableProperty, + headers: kEnumerableProperty, + clone: kEnumerableProperty, + body: kEnumerableProperty, + bodyUsed: kEnumerableProperty, + [Symbol.toStringTag]: { + value: "Response", + configurable: !0 + } + }), Object.defineProperties(Response, { + json: kEnumerableProperty, + redirect: kEnumerableProperty, + error: kEnumerableProperty + }), webidl.converters.ReadableStream = webidl.interfaceConverter(ReadableStream), + webidl.converters.FormData = webidl.interfaceConverter(FormData), webidl.converters.URLSearchParams = webidl.interfaceConverter(URLSearchParams), + webidl.converters.XMLHttpRequestBodyInit = function(V) { + return "string" == typeof V ? webidl.converters.USVString(V) : isBlobLike(V) ? webidl.converters.Blob(V, { + strict: !1 + }) : types.isArrayBuffer(V) || types.isTypedArray(V) || types.isDataView(V) ? webidl.converters.BufferSource(V) : util.isFormDataLike(V) ? webidl.converters.FormData(V, { + strict: !1 + }) : V instanceof URLSearchParams ? webidl.converters.URLSearchParams(V) : webidl.converters.DOMString(V); + }, webidl.converters.BodyInit = function(V) { + return V instanceof ReadableStream ? webidl.converters.ReadableStream(V) : V?.[Symbol.asyncIterator] ? V : webidl.converters.XMLHttpRequestBodyInit(V); + }, webidl.converters.ResponseInit = webidl.dictionaryConverter([ { + key: "status", + converter: webidl.converters["unsigned short"], + defaultValue: 200 + }, { + key: "statusText", + converter: webidl.converters.ByteString, + defaultValue: "" + }, { + key: "headers", + converter: webidl.converters.HeadersInit + } ]), module.exports = { + makeNetworkError, + makeResponse, + makeAppropriateNetworkError: function(fetchParams, err = null) { + return assert(isCancelled(fetchParams)), isAborted(fetchParams) ? makeNetworkError(Object.assign(new DOMException("The operation was aborted.", "AbortError"), { + cause: err + })) : makeNetworkError(Object.assign(new DOMException("Request was cancelled."), { + cause: err + })); + }, + filterResponse, + Response, + cloneResponse + }; + }, + 9415: module => { + "use strict"; + module.exports = { + kUrl: Symbol("url"), + kHeaders: Symbol("headers"), + kSignal: Symbol("signal"), + kState: Symbol("state"), + kGuard: Symbol("guard"), + kRealm: Symbol("realm") + }; + }, + 8292: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const {redirectStatusSet, referrerPolicySet: referrerPolicyTokens, badPortsSet} = __webpack_require__(3771), {getGlobalOrigin} = __webpack_require__(6367), {performance} = __webpack_require__(2987), {isBlobLike, toUSVString, ReadableStreamFrom} = __webpack_require__(8869), assert = __webpack_require__(2613), {isUint8Array} = __webpack_require__(8253); + let crypto, supportedHashes = []; + try { + crypto = __webpack_require__(6982); + const possibleRelevantHashes = [ "sha256", "sha384", "sha512" ]; + supportedHashes = crypto.getHashes().filter((hash => possibleRelevantHashes.includes(hash))); + } catch {} + function responseURL(response) { + const urlList = response.urlList, length = urlList.length; + return 0 === length ? null : urlList[length - 1].toString(); + } + function requestCurrentURL(request) { + return request.urlList[request.urlList.length - 1]; + } + function isTokenCharCode(c) { + switch (c) { + case 34: + case 40: + case 41: + case 44: + case 47: + case 58: + case 59: + case 60: + case 61: + case 62: + case 63: + case 64: + case 91: + case 92: + case 93: + case 123: + case 125: + return !1; + + default: + return c >= 33 && c <= 126; } - function launchGradle(params, $cont) { - var tmp = new $launchGradleCOROUTINE$6(params, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); + } + function isValidHTTPToken(characters) { + if (0 === characters.length) return !1; + for (let i = 0; i < characters.length; ++i) if (!isTokenCharCode(characters.charCodeAt(i))) return !1; + return !0; + } + function isValidHeaderValue(potentialValue) { + return !(potentialValue.startsWith("\t") || potentialValue.startsWith(" ") || potentialValue.endsWith("\t") || potentialValue.endsWith(" ")) && !(potentialValue.includes("\0") || potentialValue.includes("\r") || potentialValue.includes("\n")); + } + function stripURLForReferrer(url, originOnly) { + return assert(url instanceof URL), "file:" === url.protocol || "about:" === url.protocol || "blank:" === url.protocol ? "no-referrer" : (url.username = "", + url.password = "", url.hash = "", originOnly && (url.pathname = "", url.search = ""), + url); + } + function isURLPotentiallyTrustworthy(url) { + return url instanceof URL && ("about:blank" === url.href || "about:srcdoc" === url.href || ("data:" === url.protocol || ("file:" === url.protocol || function(origin) { + if (null == origin || "null" === origin) return !1; + const originAsURL = new URL(origin); + if ("https:" === originAsURL.protocol || "wss:" === originAsURL.protocol) return !0; + if (/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(originAsURL.hostname) || "localhost" === originAsURL.hostname || originAsURL.hostname.includes("localhost.") || originAsURL.hostname.endsWith(".localhost")) return !0; + return !1; + }(url.origin)))); + } + const parseHashWithOptions = /(?sha256|sha384|sha512)-((?[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i; + function parseMetadata(metadata) { + const result = []; + let empty = !0; + for (const token of metadata.split(" ")) { + empty = !1; + const parsedToken = parseHashWithOptions.exec(token); + if (null === parsedToken || void 0 === parsedToken.groups || void 0 === parsedToken.groups.algo) continue; + const algorithm = parsedToken.groups.algo.toLowerCase(); + supportedHashes.includes(algorithm) && result.push(parsedToken.groups); + } + return !0 === empty ? "no metadata" : result; + } + function compareBase64Mixed(actualValue, expectedValue) { + if (actualValue.length !== expectedValue.length) return !1; + for (let i = 0; i < actualValue.length; ++i) if (actualValue[i] !== expectedValue[i]) { + if ("+" === actualValue[i] && "-" === expectedValue[i] || "/" === actualValue[i] && "_" === expectedValue[i]) continue; + return !1; } - function launchGradle$lambda$lambda($buildScanUrl, $outCollector) { - return function(it) { - var str = toString(trimEnd(isCharSequence(it) ? it : THROW_CCE())); - return startsWith$default(str, "https://gradle.com/s/", !1, 2, null) && (setOutput("build-scan-url", str), - $buildScanUrl._v = str, Unit_getInstance()), $outCollector.p1m(str), Unit_getInstance(); + return !0; + } + function sameOrigin(A, B) { + return A.origin === B.origin && "null" === A.origin || A.protocol === B.protocol && A.hostname === B.hostname && A.port === B.port; + } + const normalizeMethodRecord = { + delete: "DELETE", + DELETE: "DELETE", + get: "GET", + GET: "GET", + head: "HEAD", + HEAD: "HEAD", + options: "OPTIONS", + OPTIONS: "OPTIONS", + post: "POST", + POST: "POST", + put: "PUT", + PUT: "PUT" + }; + Object.setPrototypeOf(normalizeMethodRecord, null); + const esIteratorPrototype = Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())); + let ReadableStream = globalThis.ReadableStream; + async function readAllBytes(reader) { + const bytes = []; + let byteLength = 0; + for (;;) { + const {done, value: chunk} = await reader.read(); + if (done) return Buffer.concat(bytes, byteLength); + if (!isUint8Array(chunk)) throw new TypeError("Received non-Uint8Array chunk"); + bytes.push(chunk), byteLength += chunk.length; + } + } + function urlHasHttpsScheme(url) { + return "string" == typeof url ? url.startsWith("https:") : "https:" === url.protocol; + } + function urlIsHttpHttpsScheme(url) { + assert("protocol" in url); + const protocol = url.protocol; + return "http:" === protocol || "https:" === protocol; + } + const hasOwn = Object.hasOwn || ((dict, key) => Object.prototype.hasOwnProperty.call(dict, key)); + module.exports = { + isAborted: function(fetchParams) { + return "aborted" === fetchParams.controller.state; + }, + isCancelled: function(fetchParams) { + return "aborted" === fetchParams.controller.state || "terminated" === fetchParams.controller.state; + }, + createDeferredPromise: function() { + let res, rej; + return { + promise: new Promise(((resolve, reject) => { + res = resolve, rej = reject; + })), + resolve: res, + reject: rej }; - } - function launchGradle$lambda$lambda_0($errorCollector, $outCollector) { - return function(it) { - return $errorCollector.p1m(it), $outCollector.p1m(it), Unit_getInstance(); + }, + ReadableStreamFrom, + toUSVString, + tryUpgradeRequestToAPotentiallyTrustworthyURL: function(request) {}, + coarsenedSharedCurrentTime: function(crossOriginIsolatedCapability) { + return performance.now(); + }, + determineRequestsReferrer: function(request) { + const policy = request.referrerPolicy; + assert(policy); + let referrerSource = null; + if ("client" === request.referrer) { + const globalOrigin = getGlobalOrigin(); + if (!globalOrigin || "null" === globalOrigin.origin) return "no-referrer"; + referrerSource = new URL(globalOrigin); + } else request.referrer instanceof URL && (referrerSource = request.referrer); + let referrerURL = stripURLForReferrer(referrerSource); + const referrerOrigin = stripURLForReferrer(referrerSource, !0); + referrerURL.toString().length > 4096 && (referrerURL = referrerOrigin); + const areSameOrigin = sameOrigin(request, referrerURL), isNonPotentiallyTrustWorthy = isURLPotentiallyTrustworthy(referrerURL) && !isURLPotentiallyTrustworthy(request.url); + switch (policy) { + case "origin": + return null != referrerOrigin ? referrerOrigin : stripURLForReferrer(referrerSource, !0); + + case "unsafe-url": + return referrerURL; + + case "same-origin": + return areSameOrigin ? referrerOrigin : "no-referrer"; + + case "origin-when-cross-origin": + return areSameOrigin ? referrerURL : referrerOrigin; + + case "strict-origin-when-cross-origin": + { + const currentURL = requestCurrentURL(request); + return sameOrigin(referrerURL, currentURL) ? referrerURL : isURLPotentiallyTrustworthy(referrerURL) && !isURLPotentiallyTrustworthy(currentURL) ? "no-referrer" : referrerOrigin; + } + + default: + return isNonPotentiallyTrustWorthy ? "no-referrer" : referrerOrigin; + } + }, + makePolicyContainer: function() { + return { + referrerPolicy: "strict-origin-when-cross-origin" }; - } - function launchGradle$lambda($params, $buildScanUrl, $outCollector, $errorCollector) { - return function($this$exec) { - var tmp$ret$2; - $this$exec.cwd = $params.w1m_1, $this$exec.ignoreReturnCode = !0; - var tmp0_apply = {}; - return tmp0_apply.stdline = launchGradle$lambda$lambda($buildScanUrl, $outCollector), - tmp0_apply.errline = launchGradle$lambda$lambda_0($errorCollector, $outCollector), - tmp$ret$2 = tmp0_apply, $this$exec.listeners = tmp$ret$2, Unit_getInstance(); + }, + clonePolicyContainer: function(policyContainer) { + return { + referrerPolicy: policyContainer.referrerPolicy }; + }, + appendFetchMetadata: function(httpRequest) { + let header = null; + header = httpRequest.mode, httpRequest.headersList.set("sec-fetch-mode", header); + }, + appendRequestOriginHeader: function(request) { + let serializedOrigin = request.origin; + if ("cors" === request.responseTainting || "websocket" === request.mode) serializedOrigin && request.headersList.append("origin", serializedOrigin); else if ("GET" !== request.method && "HEAD" !== request.method) { + switch (request.referrerPolicy) { + case "no-referrer": + serializedOrigin = null; + break; + + case "no-referrer-when-downgrade": + case "strict-origin": + case "strict-origin-when-cross-origin": + request.origin && urlHasHttpsScheme(request.origin) && !urlHasHttpsScheme(requestCurrentURL(request)) && (serializedOrigin = null); + break; + + case "same-origin": + sameOrigin(request, requestCurrentURL(request)) || (serializedOrigin = null); + } + serializedOrigin && request.headersList.append("origin", serializedOrigin); + } + }, + TAOCheck: function() { + return "success"; + }, + corsCheck: function() { + return "success"; + }, + crossOriginResourcePolicyCheck: function() { + return "allowed"; + }, + createOpaqueTimingInfo: function(timingInfo) { + return { + startTime: timingInfo.startTime ?? 0, + redirectStartTime: 0, + redirectEndTime: 0, + postRedirectStartTime: timingInfo.startTime ?? 0, + finalServiceWorkerStartTime: 0, + finalNetworkResponseStartTime: 0, + finalNetworkRequestStartTime: 0, + endTime: 0, + encodedBodySize: 0, + decodedBodySize: 0, + finalConnectionTimingInfo: null + }; + }, + setRequestReferrerPolicyOnRedirect: function(request, actualResponse) { + const {headersList} = actualResponse, policyHeader = (headersList.get("referrer-policy") ?? "").split(","); + let policy = ""; + if (policyHeader.length > 0) for (let i = policyHeader.length; 0 !== i; i--) { + const token = policyHeader[i - 1].trim(); + if (referrerPolicyTokens.has(token)) { + policy = token; + break; + } + } + "" !== policy && (request.referrerPolicy = policy); + }, + isValidHTTPToken, + requestBadPort: function(request) { + const url = requestCurrentURL(request); + return urlIsHttpHttpsScheme(url) && badPortsSet.has(url.port) ? "blocked" : "allowed"; + }, + requestCurrentURL, + responseURL, + responseLocationURL: function(response, requestFragment) { + if (!redirectStatusSet.has(response.status)) return null; + let location = response.headersList.get("location"); + return null !== location && isValidHeaderValue(location) && (location = new URL(location, responseURL(response))), + location && !location.hash && (location.hash = requestFragment), location; + }, + isBlobLike, + isURLPotentiallyTrustworthy, + isValidReasonPhrase: function(statusText) { + for (let i = 0; i < statusText.length; ++i) { + const c = statusText.charCodeAt(i); + if (!(9 === c || c >= 32 && c <= 126 || c >= 128 && c <= 255)) return !1; + } + return !0; + }, + sameOrigin, + normalizeMethod: function(method) { + return normalizeMethodRecord[method.toLowerCase()] ?? method; + }, + serializeJavascriptValueToJSONString: function(value) { + const result = JSON.stringify(value); + if (void 0 === result) throw new TypeError("Value is not JSON serializable"); + return assert("string" == typeof result), result; + }, + makeIterator: function(iterator, name, kind) { + const object = { + index: 0, + kind, + target: iterator + }, i = { + next() { + if (Object.getPrototypeOf(this) !== i) throw new TypeError(`'next' called on an object that does not implement interface ${name} Iterator.`); + const {index, kind, target} = object, values = target(); + if (index >= values.length) return { + value: void 0, + done: !0 + }; + const pair = values[index]; + return object.index = index + 1, function(pair, kind) { + let result; + switch (kind) { + case "key": + result = pair[0]; + break; + + case "value": + result = pair[1]; + break; + + case "key+value": + result = pair; + } + return { + value: result, + done: !1 + }; + }(pair, kind); + }, + [Symbol.toStringTag]: `${name} Iterator` + }; + return Object.setPrototypeOf(i, esIteratorPrototype), Object.setPrototypeOf({}, i); + }, + isValidHeaderName: function(potentialValue) { + return isValidHTTPToken(potentialValue); + }, + isValidHeaderValue, + hasOwn, + isErrorLike: function(object) { + return object instanceof Error || "Error" === object?.constructor?.name || "DOMException" === object?.constructor?.name; + }, + fullyReadBody: async function(body, processBody, processBodyError) { + const successSteps = processBody, errorSteps = processBodyError; + let reader; + try { + reader = body.stream.getReader(); + } catch (e) { + return void errorSteps(e); + } + try { + successSteps(await readAllBytes(reader)); + } catch (e) { + errorSteps(e); + } + }, + bytesMatch: function(bytes, metadataList) { + if (void 0 === crypto) return !0; + const parsedMetadata = parseMetadata(metadataList); + if ("no metadata" === parsedMetadata) return !0; + if (0 === parsedMetadata.length) return !0; + const strongest = function(metadataList) { + let algorithm = metadataList[0].algo; + if ("5" === algorithm[3]) return algorithm; + for (let i = 1; i < metadataList.length; ++i) { + const metadata = metadataList[i]; + if ("5" === metadata.algo[3]) { + algorithm = "sha512"; + break; + } + "3" !== algorithm[3] && ("3" === metadata.algo[3] && (algorithm = "sha384")); + } + return algorithm; + }(parsedMetadata), metadata = function(metadataList, algorithm) { + if (1 === metadataList.length) return metadataList; + let pos = 0; + for (let i = 0; i < metadataList.length; ++i) metadataList[i].algo === algorithm && (metadataList[pos++] = metadataList[i]); + return metadataList.length = pos, metadataList; + }(parsedMetadata, strongest); + for (const item of metadata) { + const algorithm = item.algo, expectedValue = item.hash; + let actualValue = crypto.createHash(algorithm).update(bytes).digest("base64"); + if ("=" === actualValue[actualValue.length - 1] && (actualValue = "=" === actualValue[actualValue.length - 2] ? actualValue.slice(0, -2) : actualValue.slice(0, -1)), + compareBase64Mixed(actualValue, expectedValue)) return !0; + } + return !1; + }, + isReadableStreamLike: function(stream) { + return ReadableStream || (ReadableStream = __webpack_require__(3774).ReadableStream), + stream instanceof ReadableStream || "ReadableStream" === stream[Symbol.toStringTag] && "function" == typeof stream.tee; + }, + readableStreamClose: function(controller) { + try { + controller.close(); + } catch (err) { + if (!err.message.includes("Controller is already closed")) throw err; + } + }, + isomorphicEncode: function(input) { + for (let i = 0; i < input.length; i++) assert(input.charCodeAt(i) <= 255); + return input; + }, + isomorphicDecode: function(input) { + return input.length < 65535 ? String.fromCharCode(...input) : input.reduce(((previous, current) => previous + String.fromCharCode(current)), ""); + }, + urlIsLocal: function(url) { + assert("protocol" in url); + const protocol = url.protocol; + return "about:" === protocol || "blob:" === protocol || "data:" === protocol; + }, + urlHasHttpsScheme, + urlIsHttpHttpsScheme, + readAllBytes, + normalizeMethodRecord, + parseMetadata + }; + }, + 769: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const {types} = __webpack_require__(9023), {hasOwn, toUSVString} = __webpack_require__(8292), webidl = { + converters: {}, + util: {}, + errors: {} + }; + webidl.errors.exception = function(message) { + return new TypeError(`${message.header}: ${message.message}`); + }, webidl.errors.conversionFailed = function(context) { + const plural = 1 === context.types.length ? "" : " one of", message = `${context.argument} could not be converted to${plural}: ${context.types.join(", ")}.`; + return webidl.errors.exception({ + header: context.prefix, + message + }); + }, webidl.errors.invalidArgument = function(context) { + return webidl.errors.exception({ + header: context.prefix, + message: `"${context.value}" is an invalid ${context.type}.` + }); + }, webidl.brandCheck = function(V, I, opts = void 0) { + if (!1 === opts?.strict || V instanceof I) return V?.[Symbol.toStringTag] === I.prototype[Symbol.toStringTag]; + throw new TypeError("Illegal invocation"); + }, webidl.argumentLengthCheck = function({length}, min, ctx) { + if (length < min) throw webidl.errors.exception({ + message: `${min} argument${1 !== min ? "s" : ""} required, but${length ? " only" : ""} ${length} found.`, + ...ctx + }); + }, webidl.illegalConstructor = function() { + throw webidl.errors.exception({ + header: "TypeError", + message: "Illegal constructor" + }); + }, webidl.util.Type = function(V) { + switch (typeof V) { + case "undefined": + return "Undefined"; + + case "boolean": + return "Boolean"; + + case "string": + return "String"; + + case "symbol": + return "Symbol"; + + case "number": + return "Number"; + + case "bigint": + return "BigInt"; + + case "function": + case "object": + return null === V ? "Null" : "Object"; + } + }, webidl.util.ConvertToInt = function(V, bitLength, signedness, opts = {}) { + let upperBound, lowerBound; + 64 === bitLength ? (upperBound = Math.pow(2, 53) - 1, lowerBound = "unsigned" === signedness ? 0 : Math.pow(-2, 53) + 1) : "unsigned" === signedness ? (lowerBound = 0, + upperBound = Math.pow(2, bitLength) - 1) : (lowerBound = Math.pow(-2, bitLength) - 1, + upperBound = Math.pow(2, bitLength - 1) - 1); + let x = Number(V); + if (0 === x && (x = 0), !0 === opts.enforceRange) { + if (Number.isNaN(x) || x === Number.POSITIVE_INFINITY || x === Number.NEGATIVE_INFINITY) throw webidl.errors.exception({ + header: "Integer conversion", + message: `Could not convert ${V} to an integer.` + }); + if (x = webidl.util.IntegerPart(x), x < lowerBound || x > upperBound) throw webidl.errors.exception({ + header: "Integer conversion", + message: `Value must be between ${lowerBound}-${upperBound}, got ${x}.` + }); + return x; } - function $launchGradleCOROUTINE$6(params, resultContinuation) { - CoroutineImpl.call(this, resultContinuation), this.f1m_1 = params; - } - function GradleVersion_init_$Init$(name, unused, $mask0, $marker, $this) { - return 0 != (2 & $mask0) && (unused = 0), GradleVersion.call($this, name, unused), - $this; - } - function Companion() { - Companion_instance = this, this.e1n_1 = listOf_0([ Current_getInstance(), ReleaseCandidate_getInstance(), Nightly_getInstance(), ReleaseNightly_getInstance() ]), - this.f1n_1 = plus_0(this.e1n_1, Wrapper_getInstance()); - } - function Companion_getInstance() { - return null == Companion_instance && new Companion, Companion_instance; - } - function Dynamic(label, apiPath) { - GradleVersion_init_$Init$(label, 0, 2, null, this), this.v1l_1 = apiPath; + return Number.isNaN(x) || !0 !== opts.clamp ? Number.isNaN(x) || 0 === x && Object.is(0, x) || x === Number.POSITIVE_INFINITY || x === Number.NEGATIVE_INFINITY ? 0 : (x = webidl.util.IntegerPart(x), + x %= Math.pow(2, bitLength), "signed" === signedness && x >= Math.pow(2, bitLength) - 1 ? x - Math.pow(2, bitLength) : x) : (x = Math.min(Math.max(x, lowerBound), upperBound), + x = Math.floor(x) % 2 == 0 ? Math.floor(x) : Math.ceil(x), x); + }, webidl.util.IntegerPart = function(n) { + const r = Math.floor(Math.abs(n)); + return n < 0 ? -1 * r : r; + }, webidl.sequenceConverter = function(converter) { + return V => { + if ("Object" !== webidl.util.Type(V)) throw webidl.errors.exception({ + header: "Sequence", + message: `Value of type ${webidl.util.Type(V)} is not an Object.` + }); + const method = V?.[Symbol.iterator]?.(), seq = []; + if (void 0 === method || "function" != typeof method.next) throw webidl.errors.exception({ + header: "Sequence", + message: "Object is not an iterator." + }); + for (;;) { + const {done, value} = method.next(); + if (done) break; + seq.push(converter(value)); + } + return seq; + }; + }, webidl.recordConverter = function(keyConverter, valueConverter) { + return O => { + if ("Object" !== webidl.util.Type(O)) throw webidl.errors.exception({ + header: "Record", + message: `Value of type ${webidl.util.Type(O)} is not an Object.` + }); + const result = {}; + if (!types.isProxy(O)) { + const keys = Object.keys(O); + for (const key of keys) { + const typedKey = keyConverter(key), typedValue = valueConverter(O[key]); + result[typedKey] = typedValue; + } + return result; + } + const keys = Reflect.ownKeys(O); + for (const key of keys) { + const desc = Reflect.getOwnPropertyDescriptor(O, key); + if (desc?.enumerable) { + const typedKey = keyConverter(key), typedValue = valueConverter(O[key]); + result[typedKey] = typedValue; + } + } + return result; + }; + }, webidl.interfaceConverter = function(i) { + return (V, opts = {}) => { + if (!1 !== opts.strict && !(V instanceof i)) throw webidl.errors.exception({ + header: i.name, + message: `Expected ${V} to be an instance of ${i.name}.` + }); + return V; + }; + }, webidl.dictionaryConverter = function(converters) { + return dictionary => { + const type = webidl.util.Type(dictionary), dict = {}; + if ("Null" === type || "Undefined" === type) return dict; + if ("Object" !== type) throw webidl.errors.exception({ + header: "Dictionary", + message: `Expected ${dictionary} to be one of: Null, Undefined, Object.` + }); + for (const options of converters) { + const {key, defaultValue, required, converter} = options; + if (!0 === required && !hasOwn(dictionary, key)) throw webidl.errors.exception({ + header: "Dictionary", + message: `Missing required key "${key}".` + }); + let value = dictionary[key]; + const hasDefault = hasOwn(options, "defaultValue"); + if (hasDefault && null !== value && (value = value ?? defaultValue), required || hasDefault || void 0 !== value) { + if (value = converter(value), options.allowedValues && !options.allowedValues.includes(value)) throw webidl.errors.exception({ + header: "Dictionary", + message: `${value} is not an accepted type. Expected one of ${options.allowedValues.join(", ")}.` + }); + dict[key] = value; + } + } + return dict; + }; + }, webidl.nullableConverter = function(converter) { + return V => null === V ? V : converter(V); + }, webidl.converters.DOMString = function(V, opts = {}) { + if (null === V && opts.legacyNullToEmptyString) return ""; + if ("symbol" == typeof V) throw new TypeError("Could not convert argument of type symbol to string."); + return String(V); + }, webidl.converters.ByteString = function(V) { + const x = webidl.converters.DOMString(V); + for (let index = 0; index < x.length; index++) if (x.charCodeAt(index) > 255) throw new TypeError(`Cannot convert argument to a ByteString because the character at index ${index} has a value of ${x.charCodeAt(index)} which is greater than 255.`); + return x; + }, webidl.converters.USVString = toUSVString, webidl.converters.boolean = function(V) { + return Boolean(V); + }, webidl.converters.any = function(V) { + return V; + }, webidl.converters["long long"] = function(V) { + return webidl.util.ConvertToInt(V, 64, "signed"); + }, webidl.converters["unsigned long long"] = function(V) { + return webidl.util.ConvertToInt(V, 64, "unsigned"); + }, webidl.converters["unsigned long"] = function(V) { + return webidl.util.ConvertToInt(V, 32, "unsigned"); + }, webidl.converters["unsigned short"] = function(V, opts) { + return webidl.util.ConvertToInt(V, 16, "unsigned", opts); + }, webidl.converters.ArrayBuffer = function(V, opts = {}) { + if ("Object" !== webidl.util.Type(V) || !types.isAnyArrayBuffer(V)) throw webidl.errors.conversionFailed({ + prefix: `${V}`, + argument: `${V}`, + types: [ "ArrayBuffer" ] + }); + if (!1 === opts.allowShared && types.isSharedArrayBuffer(V)) throw webidl.errors.exception({ + header: "ArrayBuffer", + message: "SharedArrayBuffer is not allowed." + }); + return V; + }, webidl.converters.TypedArray = function(V, T, opts = {}) { + if ("Object" !== webidl.util.Type(V) || !types.isTypedArray(V) || V.constructor.name !== T.name) throw webidl.errors.conversionFailed({ + prefix: `${T.name}`, + argument: `${V}`, + types: [ T.name ] + }); + if (!1 === opts.allowShared && types.isSharedArrayBuffer(V.buffer)) throw webidl.errors.exception({ + header: "ArrayBuffer", + message: "SharedArrayBuffer is not allowed." + }); + return V; + }, webidl.converters.DataView = function(V, opts = {}) { + if ("Object" !== webidl.util.Type(V) || !types.isDataView(V)) throw webidl.errors.exception({ + header: "DataView", + message: "Object is not a DataView." + }); + if (!1 === opts.allowShared && types.isSharedArrayBuffer(V.buffer)) throw webidl.errors.exception({ + header: "ArrayBuffer", + message: "SharedArrayBuffer is not allowed." + }); + return V; + }, webidl.converters.BufferSource = function(V, opts = {}) { + if (types.isAnyArrayBuffer(V)) return webidl.converters.ArrayBuffer(V, opts); + if (types.isTypedArray(V)) return webidl.converters.TypedArray(V, V.constructor); + if (types.isDataView(V)) return webidl.converters.DataView(V, opts); + throw new TypeError(`Could not convert ${V} to a BufferSource.`); + }, webidl.converters["sequence"] = webidl.sequenceConverter(webidl.converters.ByteString), + webidl.converters["sequence>"] = webidl.sequenceConverter(webidl.converters["sequence"]), + webidl.converters["record"] = webidl.recordConverter(webidl.converters.ByteString, webidl.converters.ByteString), + module.exports = { + webidl + }; + }, + 3435: module => { + "use strict"; + module.exports = { + getEncoding: function(label) { + if (!label) return "failure"; + switch (label.trim().toLowerCase()) { + case "unicode-1-1-utf-8": + case "unicode11utf8": + case "unicode20utf8": + case "utf-8": + case "utf8": + case "x-unicode20utf8": + return "UTF-8"; + + case "866": + case "cp866": + case "csibm866": + case "ibm866": + return "IBM866"; + + case "csisolatin2": + case "iso-8859-2": + case "iso-ir-101": + case "iso8859-2": + case "iso88592": + case "iso_8859-2": + case "iso_8859-2:1987": + case "l2": + case "latin2": + return "ISO-8859-2"; + + case "csisolatin3": + case "iso-8859-3": + case "iso-ir-109": + case "iso8859-3": + case "iso88593": + case "iso_8859-3": + case "iso_8859-3:1988": + case "l3": + case "latin3": + return "ISO-8859-3"; + + case "csisolatin4": + case "iso-8859-4": + case "iso-ir-110": + case "iso8859-4": + case "iso88594": + case "iso_8859-4": + case "iso_8859-4:1988": + case "l4": + case "latin4": + return "ISO-8859-4"; + + case "csisolatincyrillic": + case "cyrillic": + case "iso-8859-5": + case "iso-ir-144": + case "iso8859-5": + case "iso88595": + case "iso_8859-5": + case "iso_8859-5:1988": + return "ISO-8859-5"; + + case "arabic": + case "asmo-708": + case "csiso88596e": + case "csiso88596i": + case "csisolatinarabic": + case "ecma-114": + case "iso-8859-6": + case "iso-8859-6-e": + case "iso-8859-6-i": + case "iso-ir-127": + case "iso8859-6": + case "iso88596": + case "iso_8859-6": + case "iso_8859-6:1987": + return "ISO-8859-6"; + + case "csisolatingreek": + case "ecma-118": + case "elot_928": + case "greek": + case "greek8": + case "iso-8859-7": + case "iso-ir-126": + case "iso8859-7": + case "iso88597": + case "iso_8859-7": + case "iso_8859-7:1987": + case "sun_eu_greek": + return "ISO-8859-7"; + + case "csiso88598e": + case "csisolatinhebrew": + case "hebrew": + case "iso-8859-8": + case "iso-8859-8-e": + case "iso-ir-138": + case "iso8859-8": + case "iso88598": + case "iso_8859-8": + case "iso_8859-8:1988": + case "visual": + return "ISO-8859-8"; + + case "csiso88598i": + case "iso-8859-8-i": + case "logical": + return "ISO-8859-8-I"; + + case "csisolatin6": + case "iso-8859-10": + case "iso-ir-157": + case "iso8859-10": + case "iso885910": + case "l6": + case "latin6": + return "ISO-8859-10"; + + case "iso-8859-13": + case "iso8859-13": + case "iso885913": + return "ISO-8859-13"; + + case "iso-8859-14": + case "iso8859-14": + case "iso885914": + return "ISO-8859-14"; + + case "csisolatin9": + case "iso-8859-15": + case "iso8859-15": + case "iso885915": + case "iso_8859-15": + case "l9": + return "ISO-8859-15"; + + case "iso-8859-16": + return "ISO-8859-16"; + + case "cskoi8r": + case "koi": + case "koi8": + case "koi8-r": + case "koi8_r": + return "KOI8-R"; + + case "koi8-ru": + case "koi8-u": + return "KOI8-U"; + + case "csmacintosh": + case "mac": + case "macintosh": + case "x-mac-roman": + return "macintosh"; + + case "iso-8859-11": + case "iso8859-11": + case "iso885911": + case "tis-620": + case "windows-874": + return "windows-874"; + + case "cp1250": + case "windows-1250": + case "x-cp1250": + return "windows-1250"; + + case "cp1251": + case "windows-1251": + case "x-cp1251": + return "windows-1251"; + + case "ansi_x3.4-1968": + case "ascii": + case "cp1252": + case "cp819": + case "csisolatin1": + case "ibm819": + case "iso-8859-1": + case "iso-ir-100": + case "iso8859-1": + case "iso88591": + case "iso_8859-1": + case "iso_8859-1:1987": + case "l1": + case "latin1": + case "us-ascii": + case "windows-1252": + case "x-cp1252": + return "windows-1252"; + + case "cp1253": + case "windows-1253": + case "x-cp1253": + return "windows-1253"; + + case "cp1254": + case "csisolatin5": + case "iso-8859-9": + case "iso-ir-148": + case "iso8859-9": + case "iso88599": + case "iso_8859-9": + case "iso_8859-9:1989": + case "l5": + case "latin5": + case "windows-1254": + case "x-cp1254": + return "windows-1254"; + + case "cp1255": + case "windows-1255": + case "x-cp1255": + return "windows-1255"; + + case "cp1256": + case "windows-1256": + case "x-cp1256": + return "windows-1256"; + + case "cp1257": + case "windows-1257": + case "x-cp1257": + return "windows-1257"; + + case "cp1258": + case "windows-1258": + case "x-cp1258": + return "windows-1258"; + + case "x-mac-cyrillic": + case "x-mac-ukrainian": + return "x-mac-cyrillic"; + + case "chinese": + case "csgb2312": + case "csiso58gb231280": + case "gb2312": + case "gb_2312": + case "gb_2312-80": + case "gbk": + case "iso-ir-58": + case "x-gbk": + return "GBK"; + + case "gb18030": + return "gb18030"; + + case "big5": + case "big5-hkscs": + case "cn-big5": + case "csbig5": + case "x-x-big5": + return "Big5"; + + case "cseucpkdfmtjapanese": + case "euc-jp": + case "x-euc-jp": + return "EUC-JP"; + + case "csiso2022jp": + case "iso-2022-jp": + return "ISO-2022-JP"; + + case "csshiftjis": + case "ms932": + case "ms_kanji": + case "shift-jis": + case "shift_jis": + case "sjis": + case "windows-31j": + case "x-sjis": + return "Shift_JIS"; + + case "cseuckr": + case "csksc56011987": + case "euc-kr": + case "iso-ir-149": + case "korean": + case "ks_c_5601-1987": + case "ks_c_5601-1989": + case "ksc5601": + case "ksc_5601": + case "windows-949": + return "EUC-KR"; + + case "csiso2022kr": + case "hz-gb-2312": + case "iso-2022-cn": + case "iso-2022-cn-ext": + case "iso-2022-kr": + case "replacement": + return "replacement"; + + case "unicodefffe": + case "utf-16be": + return "UTF-16BE"; + + case "csunicode": + case "iso-10646-ucs-2": + case "ucs-2": + case "unicode": + case "unicodefeff": + case "utf-16": + case "utf-16le": + return "UTF-16LE"; + + case "x-user-defined": + return "x-user-defined"; + + default: + return "failure"; + } } - function Official(label) { - GradleVersion_init_$Init$(label, 0, 2, null, this); + }; + }, + 2495: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const {staticPropertyDescriptors, readOperation, fireAProgressEvent} = __webpack_require__(2398), {kState, kError, kResult, kEvents, kAborted} = __webpack_require__(2077), {webidl} = __webpack_require__(769), {kEnumerableProperty} = __webpack_require__(8869); + class FileReader extends EventTarget { + constructor() { + super(), this[kState] = "empty", this[kResult] = null, this[kError] = null, this[kEvents] = { + loadend: null, + error: null, + abort: null, + load: null, + progress: null, + loadstart: null + }; } - function Current() { - Current_instance = this, Dynamic.call(this, "current", "current"); + readAsArrayBuffer(blob) { + webidl.brandCheck(this, FileReader), webidl.argumentLengthCheck(arguments, 1, { + header: "FileReader.readAsArrayBuffer" + }), blob = webidl.converters.Blob(blob, { + strict: !1 + }), readOperation(this, blob, "ArrayBuffer"); + } + readAsBinaryString(blob) { + webidl.brandCheck(this, FileReader), webidl.argumentLengthCheck(arguments, 1, { + header: "FileReader.readAsBinaryString" + }), blob = webidl.converters.Blob(blob, { + strict: !1 + }), readOperation(this, blob, "BinaryString"); + } + readAsText(blob, encoding = void 0) { + webidl.brandCheck(this, FileReader), webidl.argumentLengthCheck(arguments, 1, { + header: "FileReader.readAsText" + }), blob = webidl.converters.Blob(blob, { + strict: !1 + }), void 0 !== encoding && (encoding = webidl.converters.DOMString(encoding)), readOperation(this, blob, "Text", encoding); + } + readAsDataURL(blob) { + webidl.brandCheck(this, FileReader), webidl.argumentLengthCheck(arguments, 1, { + header: "FileReader.readAsDataURL" + }), blob = webidl.converters.Blob(blob, { + strict: !1 + }), readOperation(this, blob, "DataURL"); } - function Current_getInstance() { - return null == Current_instance && new Current, Current_instance; + abort() { + "empty" !== this[kState] && "done" !== this[kState] ? ("loading" === this[kState] && (this[kState] = "done", + this[kResult] = null), this[kAborted] = !0, fireAProgressEvent("abort", this), "loading" !== this[kState] && fireAProgressEvent("loadend", this)) : this[kResult] = null; + } + get readyState() { + switch (webidl.brandCheck(this, FileReader), this[kState]) { + case "empty": + return this.EMPTY; + + case "loading": + return this.LOADING; + + case "done": + return this.DONE; + } + } + get result() { + return webidl.brandCheck(this, FileReader), this[kResult]; + } + get error() { + return webidl.brandCheck(this, FileReader), this[kError]; + } + get onloadend() { + return webidl.brandCheck(this, FileReader), this[kEvents].loadend; + } + set onloadend(fn) { + webidl.brandCheck(this, FileReader), this[kEvents].loadend && this.removeEventListener("loadend", this[kEvents].loadend), + "function" == typeof fn ? (this[kEvents].loadend = fn, this.addEventListener("loadend", fn)) : this[kEvents].loadend = null; + } + get onerror() { + return webidl.brandCheck(this, FileReader), this[kEvents].error; + } + set onerror(fn) { + webidl.brandCheck(this, FileReader), this[kEvents].error && this.removeEventListener("error", this[kEvents].error), + "function" == typeof fn ? (this[kEvents].error = fn, this.addEventListener("error", fn)) : this[kEvents].error = null; + } + get onloadstart() { + return webidl.brandCheck(this, FileReader), this[kEvents].loadstart; + } + set onloadstart(fn) { + webidl.brandCheck(this, FileReader), this[kEvents].loadstart && this.removeEventListener("loadstart", this[kEvents].loadstart), + "function" == typeof fn ? (this[kEvents].loadstart = fn, this.addEventListener("loadstart", fn)) : this[kEvents].loadstart = null; + } + get onprogress() { + return webidl.brandCheck(this, FileReader), this[kEvents].progress; + } + set onprogress(fn) { + webidl.brandCheck(this, FileReader), this[kEvents].progress && this.removeEventListener("progress", this[kEvents].progress), + "function" == typeof fn ? (this[kEvents].progress = fn, this.addEventListener("progress", fn)) : this[kEvents].progress = null; + } + get onload() { + return webidl.brandCheck(this, FileReader), this[kEvents].load; + } + set onload(fn) { + webidl.brandCheck(this, FileReader), this[kEvents].load && this.removeEventListener("load", this[kEvents].load), + "function" == typeof fn ? (this[kEvents].load = fn, this.addEventListener("load", fn)) : this[kEvents].load = null; + } + get onabort() { + return webidl.brandCheck(this, FileReader), this[kEvents].abort; + } + set onabort(fn) { + webidl.brandCheck(this, FileReader), this[kEvents].abort && this.removeEventListener("abort", this[kEvents].abort), + "function" == typeof fn ? (this[kEvents].abort = fn, this.addEventListener("abort", fn)) : this[kEvents].abort = null; + } + } + FileReader.EMPTY = FileReader.prototype.EMPTY = 0, FileReader.LOADING = FileReader.prototype.LOADING = 1, + FileReader.DONE = FileReader.prototype.DONE = 2, Object.defineProperties(FileReader.prototype, { + EMPTY: staticPropertyDescriptors, + LOADING: staticPropertyDescriptors, + DONE: staticPropertyDescriptors, + readAsArrayBuffer: kEnumerableProperty, + readAsBinaryString: kEnumerableProperty, + readAsText: kEnumerableProperty, + readAsDataURL: kEnumerableProperty, + abort: kEnumerableProperty, + readyState: kEnumerableProperty, + result: kEnumerableProperty, + error: kEnumerableProperty, + onloadstart: kEnumerableProperty, + onprogress: kEnumerableProperty, + onload: kEnumerableProperty, + onabort: kEnumerableProperty, + onerror: kEnumerableProperty, + onloadend: kEnumerableProperty, + [Symbol.toStringTag]: { + value: "FileReader", + writable: !1, + enumerable: !1, + configurable: !0 + } + }), Object.defineProperties(FileReader, { + EMPTY: staticPropertyDescriptors, + LOADING: staticPropertyDescriptors, + DONE: staticPropertyDescriptors + }), module.exports = { + FileReader + }; + }, + 7313: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const {webidl} = __webpack_require__(769), kState = Symbol("ProgressEvent state"); + class ProgressEvent extends Event { + constructor(type, eventInitDict = {}) { + super(type = webidl.converters.DOMString(type), eventInitDict = webidl.converters.ProgressEventInit(eventInitDict ?? {})), + this[kState] = { + lengthComputable: eventInitDict.lengthComputable, + loaded: eventInitDict.loaded, + total: eventInitDict.total + }; } - function ReleaseCandidate() { - ReleaseCandidate_instance = this, Dynamic.call(this, "rc", "release-candidate"); + get lengthComputable() { + return webidl.brandCheck(this, ProgressEvent), this[kState].lengthComputable; + } + get loaded() { + return webidl.brandCheck(this, ProgressEvent), this[kState].loaded; + } + get total() { + return webidl.brandCheck(this, ProgressEvent), this[kState].total; + } + } + webidl.converters.ProgressEventInit = webidl.dictionaryConverter([ { + key: "lengthComputable", + converter: webidl.converters.boolean, + defaultValue: !1 + }, { + key: "loaded", + converter: webidl.converters["unsigned long long"], + defaultValue: 0 + }, { + key: "total", + converter: webidl.converters["unsigned long long"], + defaultValue: 0 + }, { + key: "bubbles", + converter: webidl.converters.boolean, + defaultValue: !1 + }, { + key: "cancelable", + converter: webidl.converters.boolean, + defaultValue: !1 + }, { + key: "composed", + converter: webidl.converters.boolean, + defaultValue: !1 + } ]), module.exports = { + ProgressEvent + }; + }, + 2077: module => { + "use strict"; + module.exports = { + kState: Symbol("FileReader state"), + kResult: Symbol("FileReader result"), + kError: Symbol("FileReader error"), + kLastProgressEventFired: Symbol("FileReader last progress event fired timestamp"), + kEvents: Symbol("FileReader events"), + kAborted: Symbol("FileReader aborted") + }; + }, + 2398: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const {kState, kError, kResult, kAborted, kLastProgressEventFired} = __webpack_require__(2077), {ProgressEvent} = __webpack_require__(7313), {getEncoding} = __webpack_require__(3435), {DOMException} = __webpack_require__(3771), {serializeAMimeType, parseMIMEType} = __webpack_require__(3587), {types} = __webpack_require__(9023), {StringDecoder} = __webpack_require__(3193), {btoa} = __webpack_require__(181); + function fireAProgressEvent(e, reader) { + const event = new ProgressEvent(e, { + bubbles: !1, + cancelable: !1 + }); + reader.dispatchEvent(event); + } + function packageData(bytes, type, mimeType, encodingName) { + switch (type) { + case "DataURL": + { + let dataURL = "data:"; + const parsed = parseMIMEType(mimeType || "application/octet-stream"); + "failure" !== parsed && (dataURL += serializeAMimeType(parsed)), dataURL += ";base64,"; + const decoder = new StringDecoder("latin1"); + for (const chunk of bytes) dataURL += btoa(decoder.write(chunk)); + return dataURL += btoa(decoder.end()), dataURL; + } + + case "Text": + { + let encoding = "failure"; + if (encodingName && (encoding = getEncoding(encodingName)), "failure" === encoding && mimeType) { + const type = parseMIMEType(mimeType); + "failure" !== type && (encoding = getEncoding(type.parameters.get("charset"))); + } + return "failure" === encoding && (encoding = "UTF-8"), function(ioQueue, encoding) { + const bytes = combineByteSequences(ioQueue), BOMEncoding = function(ioQueue) { + const [a, b, c] = ioQueue; + if (239 === a && 187 === b && 191 === c) return "UTF-8"; + if (254 === a && 255 === b) return "UTF-16BE"; + if (255 === a && 254 === b) return "UTF-16LE"; + return null; + }(bytes); + let slice = 0; + null !== BOMEncoding && (encoding = BOMEncoding, slice = "UTF-8" === BOMEncoding ? 3 : 2); + const sliced = bytes.slice(slice); + return new TextDecoder(encoding).decode(sliced); + }(bytes, encoding); + } + + case "ArrayBuffer": + return combineByteSequences(bytes).buffer; + + case "BinaryString": + { + let binaryString = ""; + const decoder = new StringDecoder("latin1"); + for (const chunk of bytes) binaryString += decoder.write(chunk); + return binaryString += decoder.end(), binaryString; + } } - function ReleaseCandidate_getInstance() { - return null == ReleaseCandidate_instance && new ReleaseCandidate, ReleaseCandidate_instance; + } + function combineByteSequences(sequences) { + const size = sequences.reduce(((a, b) => a + b.byteLength), 0); + let offset = 0; + return sequences.reduce(((a, b) => (a.set(b, offset), offset += b.byteLength, a)), new Uint8Array(size)); + } + module.exports = { + staticPropertyDescriptors: { + enumerable: !0, + writable: !1, + configurable: !1 + }, + readOperation: function(fr, blob, type, encodingName) { + if ("loading" === fr[kState]) throw new DOMException("Invalid state", "InvalidStateError"); + fr[kState] = "loading", fr[kResult] = null, fr[kError] = null; + const reader = blob.stream().getReader(), bytes = []; + let chunkPromise = reader.read(), isFirstChunk = !0; + (async () => { + for (;!fr[kAborted]; ) try { + const {done, value} = await chunkPromise; + if (isFirstChunk && !fr[kAborted] && queueMicrotask((() => { + fireAProgressEvent("loadstart", fr); + })), isFirstChunk = !1, !done && types.isUint8Array(value)) bytes.push(value), (void 0 === fr[kLastProgressEventFired] || Date.now() - fr[kLastProgressEventFired] >= 50) && !fr[kAborted] && (fr[kLastProgressEventFired] = Date.now(), + queueMicrotask((() => { + fireAProgressEvent("progress", fr); + }))), chunkPromise = reader.read(); else if (done) { + queueMicrotask((() => { + fr[kState] = "done"; + try { + const result = packageData(bytes, type, blob.type, encodingName); + if (fr[kAborted]) return; + fr[kResult] = result, fireAProgressEvent("load", fr); + } catch (error) { + fr[kError] = error, fireAProgressEvent("error", fr); + } + "loading" !== fr[kState] && fireAProgressEvent("loadend", fr); + })); + break; + } + } catch (error) { + if (fr[kAborted]) return; + queueMicrotask((() => { + fr[kState] = "done", fr[kError] = error, fireAProgressEvent("error", fr), "loading" !== fr[kState] && fireAProgressEvent("loadend", fr); + })); + break; + } + })(); + }, + fireAProgressEvent + }; + }, + 5710: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const globalDispatcher = Symbol.for("undici.globalDispatcher.1"), {InvalidArgumentError} = __webpack_require__(3898), Agent = __webpack_require__(1180); + function setGlobalDispatcher(agent) { + if (!agent || "function" != typeof agent.dispatch) throw new InvalidArgumentError("Argument agent must implement Agent"); + Object.defineProperty(globalThis, globalDispatcher, { + value: agent, + writable: !0, + enumerable: !1, + configurable: !1 + }); + } + function getGlobalDispatcher() { + return globalThis[globalDispatcher]; + } + void 0 === getGlobalDispatcher() && setGlobalDispatcher(new Agent), module.exports = { + setGlobalDispatcher, + getGlobalDispatcher + }; + }, + 899: module => { + "use strict"; + module.exports = class { + constructor(handler) { + this.handler = handler; } - function Nightly() { - Nightly_instance = this, Dynamic.call(this, "nightly", "nightly"); + onConnect(...args) { + return this.handler.onConnect(...args); } - function Nightly_getInstance() { - return null == Nightly_instance && new Nightly, Nightly_instance; + onError(...args) { + return this.handler.onError(...args); } - function ReleaseNightly() { - ReleaseNightly_instance = this, Dynamic.call(this, "release-nightly", "release-nightly"); + onUpgrade(...args) { + return this.handler.onUpgrade(...args); } - function ReleaseNightly_getInstance() { - return null == ReleaseNightly_instance && new ReleaseNightly, ReleaseNightly_instance; + onHeaders(...args) { + return this.handler.onHeaders(...args); } - function Wrapper() { - Wrapper_instance = this, GradleVersion_init_$Init$("wrapper", 0, 2, null, this); + onData(...args) { + return this.handler.onData(...args); } - function Wrapper_getInstance() { - return null == Wrapper_instance && new Wrapper, Wrapper_instance; + onComplete(...args) { + return this.handler.onComplete(...args); } - function GradleVersion(name, unused) { - Companion_getInstance(), this.t1l_1 = name; + onBodySent(...args) { + return this.handler.onBodySent(...args); } - function GradleVersion_0(version) { - var tmp$ret$1; - $l$block: { - for (var tmp0_iterator = Companion_getInstance().f1n_1.d(); tmp0_iterator.e(); ) { - var element = tmp0_iterator.f(); - if (element.t1l_1 === version) { - tmp$ret$1 = element; - break $l$block; - } - } - tmp$ret$1 = null; - } - var tmp0_elvis_lhs = tmp$ret$1; - return null == tmp0_elvis_lhs ? new Official(version) : tmp0_elvis_lhs; + }; + }, + 4386: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const util = __webpack_require__(8869), {kBodyUsed} = __webpack_require__(8028), assert = __webpack_require__(2613), {InvalidArgumentError} = __webpack_require__(3898), EE = __webpack_require__(4434), redirectableStatusCodes = [ 300, 301, 302, 303, 307, 308 ], kBody = Symbol("body"); + class BodyAsyncIterable { + constructor(body) { + this[kBody] = body, this[kBodyUsed] = !1; } - function LaunchParams(gradle, projectPath, arguments_0, properties) { - this.v1m_1 = gradle, this.w1m_1 = projectPath, this.x1m_1 = arguments_0, this.y1m_1 = properties; + async* [Symbol.asyncIterator]() { + assert(!this[kBodyUsed], "disturbed"), this[kBodyUsed] = !0, yield* this[kBody]; } - function GradleError_init_$Init$(message, file, line, col, $mask0, $marker, $this) { - return 0 != (2 & $mask0) && (file = null), 0 != (4 & $mask0) && (line = null), 0 != (8 & $mask0) && (col = null), - GradleError.call($this, message, file, line, col), $this; + } + function shouldRemoveHeader(header, removeContent, unknownOrigin) { + if (4 === header.length) return "host" === util.headerNameToString(header); + if (removeContent && util.headerNameToString(header).startsWith("content-")) return !0; + if (unknownOrigin && (13 === header.length || 6 === header.length || 19 === header.length)) { + const name = util.headerNameToString(header); + return "authorization" === name || "cookie" === name || "proxy-authorization" === name; } - function GradleError_init_$Create$(message, file, line, col, $mask0, $marker) { - return GradleError_init_$Init$(message, file, line, col, $mask0, $marker, Object.create(GradleError.prototype)); + return !1; + } + module.exports = class { + constructor(dispatch, maxRedirections, opts, handler) { + if (null != maxRedirections && (!Number.isInteger(maxRedirections) || maxRedirections < 0)) throw new InvalidArgumentError("maxRedirections must be a positive number"); + util.validateHandler(handler, opts.method, opts.upgrade), this.dispatch = dispatch, + this.location = null, this.abort = null, this.opts = { + ...opts, + maxRedirections: 0 + }, this.maxRedirections = maxRedirections, this.handler = handler, this.history = [], + util.isStream(this.opts.body) ? (0 === util.bodyLength(this.opts.body) && this.opts.body.on("data", (function() { + assert(!1); + })), "boolean" != typeof this.opts.body.readableDidRead && (this.opts.body[kBodyUsed] = !1, + EE.prototype.on.call(this.opts.body, "data", (function() { + this[kBodyUsed] = !0; + })))) : (this.opts.body && "function" == typeof this.opts.body.pipeTo || this.opts.body && "string" != typeof this.opts.body && !ArrayBuffer.isView(this.opts.body) && util.isIterable(this.opts.body)) && (this.opts.body = new BodyAsyncIterable(this.opts.body)); + } + onConnect(abort) { + this.abort = abort, this.handler.onConnect(abort, { + history: this.history + }); } - function GradleError(message, file, line, col) { - this.a1n_1 = message, this.b1n_1 = file, this.c1n_1 = line, this.d1n_1 = col; + onUpgrade(statusCode, headers, socket) { + this.handler.onUpgrade(statusCode, headers, socket); + } + onError(error) { + this.handler.onError(error); + } + onHeaders(statusCode, headers, resume, statusText) { + if (this.location = this.history.length >= this.maxRedirections || util.isDisturbed(this.opts.body) ? null : function(statusCode, headers) { + if (-1 === redirectableStatusCodes.indexOf(statusCode)) return null; + for (let i = 0; i < headers.length; i += 2) if ("location" === headers[i].toString().toLowerCase()) return headers[i + 1]; + }(statusCode, headers), this.opts.origin && this.history.push(new URL(this.opts.path, this.opts.origin)), + !this.location) return this.handler.onHeaders(statusCode, headers, resume, statusText); + const {origin, pathname, search} = util.parseURL(new URL(this.location, this.opts.origin && new URL(this.opts.path, this.opts.origin))), path = search ? `${pathname}${search}` : pathname; + this.opts.headers = function(headers, removeContent, unknownOrigin) { + const ret = []; + if (Array.isArray(headers)) for (let i = 0; i < headers.length; i += 2) shouldRemoveHeader(headers[i], removeContent, unknownOrigin) || ret.push(headers[i], headers[i + 1]); else if (headers && "object" == typeof headers) for (const key of Object.keys(headers)) shouldRemoveHeader(key, removeContent, unknownOrigin) || ret.push(key, headers[key]); else assert(null == headers, "headers must be an object or an array"); + return ret; + }(this.opts.headers, 303 === statusCode, this.opts.origin !== origin), this.opts.path = path, + this.opts.origin = origin, this.opts.maxRedirections = 0, this.opts.query = null, + 303 === statusCode && "HEAD" !== this.opts.method && (this.opts.method = "GET", + this.opts.body = null); + } + onData(chunk) { + if (!this.location) return this.handler.onData(chunk); + } + onComplete(trailers) { + this.location ? (this.location = null, this.abort = null, this.dispatch(this.opts, this)) : this.handler.onComplete(trailers); + } + onBodySent(chunk) { + this.handler.onBodySent && this.handler.onBodySent(chunk); } - function get_errorHeaderValues() { - return init_properties_GradleErrorCollector_kt_v2ik1e(), errorHeaderValues; + }; + }, + 3786: (module, __unused_webpack_exports, __webpack_require__) => { + const assert = __webpack_require__(2613), {kRetryHandlerDefaultRetry} = __webpack_require__(8028), {RequestRetryError} = __webpack_require__(3898), {isDisturbed, parseHeaders, parseRangeHeader} = __webpack_require__(8869); + class RetryHandler { + constructor(opts, handlers) { + const {retryOptions, ...dispatchOpts} = opts, {retry: retryFn, maxRetries, maxTimeout, minTimeout, timeoutFactor, methods, errorCodes, retryAfter, statusCodes} = retryOptions ?? {}; + this.dispatch = handlers.dispatch, this.handler = handlers.handler, this.opts = dispatchOpts, + this.abort = null, this.aborted = !1, this.retryOpts = { + retry: retryFn ?? RetryHandler[kRetryHandlerDefaultRetry], + retryAfter: retryAfter ?? !0, + maxTimeout: maxTimeout ?? 3e4, + timeout: minTimeout ?? 500, + timeoutFactor: timeoutFactor ?? 2, + maxRetries: maxRetries ?? 5, + methods: methods ?? [ "GET", "HEAD", "OPTIONS", "PUT", "DELETE", "TRACE" ], + statusCodes: statusCodes ?? [ 500, 502, 503, 504, 429 ], + errorCodes: errorCodes ?? [ "ECONNRESET", "ECONNREFUSED", "ENOTFOUND", "ENETDOWN", "ENETUNREACH", "EHOSTDOWN", "EHOSTUNREACH", "EPIPE" ] + }, this.retryCount = 0, this.start = 0, this.end = null, this.etag = null, this.resume = null, + this.handler.onConnect((reason => { + this.aborted = !0, this.abort ? this.abort(reason) : this.reason = reason; + })); } - function values() { - return [ ErrorHeader_FAILURE_getInstance(), ErrorHeader_WHERE_getInstance(), ErrorHeader_WHAT_WENT_WRONG_getInstance(), ErrorHeader_TRY_getInstance() ]; + onRequestSent() { + this.handler.onRequestSent && this.handler.onRequestSent(); + } + onUpgrade(statusCode, headers, socket) { + this.handler.onUpgrade && this.handler.onUpgrade(statusCode, headers, socket); + } + onConnect(abort) { + this.aborted ? abort(this.reason) : this.abort = abort; + } + onBodySent(chunk) { + if (this.handler.onBodySent) return this.handler.onBodySent(chunk); + } + static [kRetryHandlerDefaultRetry](err, {state, opts}, cb) { + const {statusCode, code, headers} = err, {method, retryOptions} = opts, {maxRetries, timeout, maxTimeout, timeoutFactor, statusCodes, errorCodes, methods} = retryOptions; + let {counter, currentTimeout} = state; + if (currentTimeout = null != currentTimeout && currentTimeout > 0 ? currentTimeout : timeout, + code && "UND_ERR_REQ_RETRY" !== code && "UND_ERR_SOCKET" !== code && !errorCodes.includes(code)) return void cb(err); + if (Array.isArray(methods) && !methods.includes(method)) return void cb(err); + if (null != statusCode && Array.isArray(statusCodes) && !statusCodes.includes(statusCode)) return void cb(err); + if (counter > maxRetries) return void cb(err); + let retryAfterHeader = null != headers && headers["retry-after"]; + retryAfterHeader && (retryAfterHeader = Number(retryAfterHeader), retryAfterHeader = isNaN(retryAfterHeader) ? function(retryAfter) { + const current = Date.now(); + return new Date(retryAfter).getTime() - current; + }(retryAfterHeader) : 1e3 * retryAfterHeader); + const retryTimeout = retryAfterHeader > 0 ? Math.min(retryAfterHeader, maxTimeout) : Math.min(currentTimeout * timeoutFactor ** counter, maxTimeout); + state.currentTimeout = retryTimeout, setTimeout((() => cb(null)), retryTimeout); + } + onHeaders(statusCode, rawHeaders, resume, statusMessage) { + const headers = parseHeaders(rawHeaders); + if (this.retryCount += 1, statusCode >= 300) return this.abort(new RequestRetryError("Request failed", statusCode, { + headers, + count: this.retryCount + })), !1; + if (null != this.resume) { + if (this.resume = null, 206 !== statusCode) return !0; + const contentRange = parseRangeHeader(headers["content-range"]); + if (!contentRange) return this.abort(new RequestRetryError("Content-Range mismatch", statusCode, { + headers, + count: this.retryCount + })), !1; + if (null != this.etag && this.etag !== headers.etag) return this.abort(new RequestRetryError("ETag mismatch", statusCode, { + headers, + count: this.retryCount + })), !1; + const {start, size, end = size} = contentRange; + return assert(this.start === start, "content-range mismatch"), assert(null == this.end || this.end === end, "content-range mismatch"), + this.resume = resume, !0; + } + if (null == this.end) { + if (206 === statusCode) { + const range = parseRangeHeader(headers["content-range"]); + if (null == range) return this.handler.onHeaders(statusCode, rawHeaders, resume, statusMessage); + const {start, size, end = size} = range; + assert(null != start && Number.isFinite(start) && this.start !== start, "content-range mismatch"), + assert(Number.isFinite(start)), assert(null != end && Number.isFinite(end) && this.end !== end, "invalid content-length"), + this.start = start, this.end = end; + } + if (null == this.end) { + const contentLength = headers["content-length"]; + this.end = null != contentLength ? Number(contentLength) : null; + } + return assert(Number.isFinite(this.start)), assert(null == this.end || Number.isFinite(this.end), "invalid content-length"), + this.resume = resume, this.etag = null != headers.etag ? headers.etag : null, this.handler.onHeaders(statusCode, rawHeaders, resume, statusMessage); + } + const err = new RequestRetryError("Request failed", statusCode, { + headers, + count: this.retryCount + }); + return this.abort(err), !1; } - function ErrorHeader_initEntries() { - if (ErrorHeader_entriesInitialized) return Unit_getInstance(); - ErrorHeader_entriesInitialized = !0, ErrorHeader_FAILURE_instance = new ErrorHeader("FAILURE", 0, "FAILURE: "), - ErrorHeader_WHERE_instance = new ErrorHeader("WHERE", 1, "* Where:"), ErrorHeader_WHAT_WENT_WRONG_instance = new ErrorHeader("WHAT_WENT_WRONG", 2, "* What went wrong:"), - ErrorHeader_TRY_instance = new ErrorHeader("TRY", 3, "* Try:"); + onData(chunk) { + return this.start += chunk.length, this.handler.onData(chunk); } - function ErrorHeader(name, ordinal, message) { - Enum.call(this, name, ordinal), this.i1n_1 = message; + onComplete(rawTrailers) { + return this.retryCount = 0, this.handler.onComplete(rawTrailers); } - function GradleErrorCollector() { - var tmp$ret$0, tmp = this; - tmp$ret$0 = ArrayList_init_$Create$_0(), tmp.q1m_1 = tmp$ret$0, this.r1m_1 = this.q1m_1, - this.s1m_1 = StringBuilder_init_$Create$(), this.t1m_1 = null; - var tmp$ret$1, tmp_0 = this; - tmp$ret$1 = LinkedHashMap_init_$Create$_0(), tmp_0.u1m_1 = tmp$ret$1; + onError(err) { + if (this.aborted || isDisturbed(this.opts.body)) return this.handler.onError(err); + this.retryOpts.retry(err, { + state: { + counter: this.retryCount++, + currentTimeout: this.retryAfter + }, + opts: { + retryOptions: this.retryOpts, + ...this.opts + } + }, function(err) { + if (null != err || this.aborted || isDisturbed(this.opts.body)) return this.handler.onError(err); + 0 !== this.start && (this.opts = { + ...this.opts, + headers: { + ...this.opts.headers, + range: `bytes=${this.start}-${this.end ?? ""}` + } + }); + try { + this.dispatch(this.opts, this); + } catch (err) { + this.handler.onError(err); + } + }.bind(this)); } - function ErrorHeader_FAILURE_getInstance() { - return ErrorHeader_initEntries(), ErrorHeader_FAILURE_instance; + } + module.exports = RetryHandler; + }, + 8838: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const RedirectHandler = __webpack_require__(4386); + module.exports = function({maxRedirections: defaultMaxRedirections}) { + return dispatch => function(opts, handler) { + const {maxRedirections = defaultMaxRedirections} = opts; + if (!maxRedirections) return dispatch(opts, handler); + const redirectHandler = new RedirectHandler(dispatch, maxRedirections, opts, handler); + return opts = { + ...opts, + maxRedirections: 0 + }, dispatch(opts, redirectHandler); + }; + }; + }, + 263: (__unused_webpack_module, exports, __webpack_require__) => { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: !0 + }), exports.SPECIAL_HEADERS = exports.HEADER_STATE = exports.MINOR = exports.MAJOR = exports.CONNECTION_TOKEN_CHARS = exports.HEADER_CHARS = exports.TOKEN = exports.STRICT_TOKEN = exports.HEX = exports.URL_CHAR = exports.STRICT_URL_CHAR = exports.USERINFO_CHARS = exports.MARK = exports.ALPHANUM = exports.NUM = exports.HEX_MAP = exports.NUM_MAP = exports.ALPHA = exports.FINISH = exports.H_METHOD_MAP = exports.METHOD_MAP = exports.METHODS_RTSP = exports.METHODS_ICE = exports.METHODS_HTTP = exports.METHODS = exports.LENIENT_FLAGS = exports.FLAGS = exports.TYPE = exports.ERROR = void 0; + const utils_1 = __webpack_require__(5479); + var METHODS, HEADER_STATE; + !function(ERROR) { + ERROR[ERROR.OK = 0] = "OK", ERROR[ERROR.INTERNAL = 1] = "INTERNAL", ERROR[ERROR.STRICT = 2] = "STRICT", + ERROR[ERROR.LF_EXPECTED = 3] = "LF_EXPECTED", ERROR[ERROR.UNEXPECTED_CONTENT_LENGTH = 4] = "UNEXPECTED_CONTENT_LENGTH", + ERROR[ERROR.CLOSED_CONNECTION = 5] = "CLOSED_CONNECTION", ERROR[ERROR.INVALID_METHOD = 6] = "INVALID_METHOD", + ERROR[ERROR.INVALID_URL = 7] = "INVALID_URL", ERROR[ERROR.INVALID_CONSTANT = 8] = "INVALID_CONSTANT", + ERROR[ERROR.INVALID_VERSION = 9] = "INVALID_VERSION", ERROR[ERROR.INVALID_HEADER_TOKEN = 10] = "INVALID_HEADER_TOKEN", + ERROR[ERROR.INVALID_CONTENT_LENGTH = 11] = "INVALID_CONTENT_LENGTH", ERROR[ERROR.INVALID_CHUNK_SIZE = 12] = "INVALID_CHUNK_SIZE", + ERROR[ERROR.INVALID_STATUS = 13] = "INVALID_STATUS", ERROR[ERROR.INVALID_EOF_STATE = 14] = "INVALID_EOF_STATE", + ERROR[ERROR.INVALID_TRANSFER_ENCODING = 15] = "INVALID_TRANSFER_ENCODING", ERROR[ERROR.CB_MESSAGE_BEGIN = 16] = "CB_MESSAGE_BEGIN", + ERROR[ERROR.CB_HEADERS_COMPLETE = 17] = "CB_HEADERS_COMPLETE", ERROR[ERROR.CB_MESSAGE_COMPLETE = 18] = "CB_MESSAGE_COMPLETE", + ERROR[ERROR.CB_CHUNK_HEADER = 19] = "CB_CHUNK_HEADER", ERROR[ERROR.CB_CHUNK_COMPLETE = 20] = "CB_CHUNK_COMPLETE", + ERROR[ERROR.PAUSED = 21] = "PAUSED", ERROR[ERROR.PAUSED_UPGRADE = 22] = "PAUSED_UPGRADE", + ERROR[ERROR.PAUSED_H2_UPGRADE = 23] = "PAUSED_H2_UPGRADE", ERROR[ERROR.USER = 24] = "USER"; + }(exports.ERROR || (exports.ERROR = {})), function(TYPE) { + TYPE[TYPE.BOTH = 0] = "BOTH", TYPE[TYPE.REQUEST = 1] = "REQUEST", TYPE[TYPE.RESPONSE = 2] = "RESPONSE"; + }(exports.TYPE || (exports.TYPE = {})), function(FLAGS) { + FLAGS[FLAGS.CONNECTION_KEEP_ALIVE = 1] = "CONNECTION_KEEP_ALIVE", FLAGS[FLAGS.CONNECTION_CLOSE = 2] = "CONNECTION_CLOSE", + FLAGS[FLAGS.CONNECTION_UPGRADE = 4] = "CONNECTION_UPGRADE", FLAGS[FLAGS.CHUNKED = 8] = "CHUNKED", + FLAGS[FLAGS.UPGRADE = 16] = "UPGRADE", FLAGS[FLAGS.CONTENT_LENGTH = 32] = "CONTENT_LENGTH", + FLAGS[FLAGS.SKIPBODY = 64] = "SKIPBODY", FLAGS[FLAGS.TRAILING = 128] = "TRAILING", + FLAGS[FLAGS.TRANSFER_ENCODING = 512] = "TRANSFER_ENCODING"; + }(exports.FLAGS || (exports.FLAGS = {})), function(LENIENT_FLAGS) { + LENIENT_FLAGS[LENIENT_FLAGS.HEADERS = 1] = "HEADERS", LENIENT_FLAGS[LENIENT_FLAGS.CHUNKED_LENGTH = 2] = "CHUNKED_LENGTH", + LENIENT_FLAGS[LENIENT_FLAGS.KEEP_ALIVE = 4] = "KEEP_ALIVE"; + }(exports.LENIENT_FLAGS || (exports.LENIENT_FLAGS = {})), function(METHODS) { + METHODS[METHODS.DELETE = 0] = "DELETE", METHODS[METHODS.GET = 1] = "GET", METHODS[METHODS.HEAD = 2] = "HEAD", + METHODS[METHODS.POST = 3] = "POST", METHODS[METHODS.PUT = 4] = "PUT", METHODS[METHODS.CONNECT = 5] = "CONNECT", + METHODS[METHODS.OPTIONS = 6] = "OPTIONS", METHODS[METHODS.TRACE = 7] = "TRACE", + METHODS[METHODS.COPY = 8] = "COPY", METHODS[METHODS.LOCK = 9] = "LOCK", METHODS[METHODS.MKCOL = 10] = "MKCOL", + METHODS[METHODS.MOVE = 11] = "MOVE", METHODS[METHODS.PROPFIND = 12] = "PROPFIND", + METHODS[METHODS.PROPPATCH = 13] = "PROPPATCH", METHODS[METHODS.SEARCH = 14] = "SEARCH", + METHODS[METHODS.UNLOCK = 15] = "UNLOCK", METHODS[METHODS.BIND = 16] = "BIND", METHODS[METHODS.REBIND = 17] = "REBIND", + METHODS[METHODS.UNBIND = 18] = "UNBIND", METHODS[METHODS.ACL = 19] = "ACL", METHODS[METHODS.REPORT = 20] = "REPORT", + METHODS[METHODS.MKACTIVITY = 21] = "MKACTIVITY", METHODS[METHODS.CHECKOUT = 22] = "CHECKOUT", + METHODS[METHODS.MERGE = 23] = "MERGE", METHODS[METHODS["M-SEARCH"] = 24] = "M-SEARCH", + METHODS[METHODS.NOTIFY = 25] = "NOTIFY", METHODS[METHODS.SUBSCRIBE = 26] = "SUBSCRIBE", + METHODS[METHODS.UNSUBSCRIBE = 27] = "UNSUBSCRIBE", METHODS[METHODS.PATCH = 28] = "PATCH", + METHODS[METHODS.PURGE = 29] = "PURGE", METHODS[METHODS.MKCALENDAR = 30] = "MKCALENDAR", + METHODS[METHODS.LINK = 31] = "LINK", METHODS[METHODS.UNLINK = 32] = "UNLINK", METHODS[METHODS.SOURCE = 33] = "SOURCE", + METHODS[METHODS.PRI = 34] = "PRI", METHODS[METHODS.DESCRIBE = 35] = "DESCRIBE", + METHODS[METHODS.ANNOUNCE = 36] = "ANNOUNCE", METHODS[METHODS.SETUP = 37] = "SETUP", + METHODS[METHODS.PLAY = 38] = "PLAY", METHODS[METHODS.PAUSE = 39] = "PAUSE", METHODS[METHODS.TEARDOWN = 40] = "TEARDOWN", + METHODS[METHODS.GET_PARAMETER = 41] = "GET_PARAMETER", METHODS[METHODS.SET_PARAMETER = 42] = "SET_PARAMETER", + METHODS[METHODS.REDIRECT = 43] = "REDIRECT", METHODS[METHODS.RECORD = 44] = "RECORD", + METHODS[METHODS.FLUSH = 45] = "FLUSH"; + }(METHODS = exports.METHODS || (exports.METHODS = {})), exports.METHODS_HTTP = [ METHODS.DELETE, METHODS.GET, METHODS.HEAD, METHODS.POST, METHODS.PUT, METHODS.CONNECT, METHODS.OPTIONS, METHODS.TRACE, METHODS.COPY, METHODS.LOCK, METHODS.MKCOL, METHODS.MOVE, METHODS.PROPFIND, METHODS.PROPPATCH, METHODS.SEARCH, METHODS.UNLOCK, METHODS.BIND, METHODS.REBIND, METHODS.UNBIND, METHODS.ACL, METHODS.REPORT, METHODS.MKACTIVITY, METHODS.CHECKOUT, METHODS.MERGE, METHODS["M-SEARCH"], METHODS.NOTIFY, METHODS.SUBSCRIBE, METHODS.UNSUBSCRIBE, METHODS.PATCH, METHODS.PURGE, METHODS.MKCALENDAR, METHODS.LINK, METHODS.UNLINK, METHODS.PRI, METHODS.SOURCE ], + exports.METHODS_ICE = [ METHODS.SOURCE ], exports.METHODS_RTSP = [ METHODS.OPTIONS, METHODS.DESCRIBE, METHODS.ANNOUNCE, METHODS.SETUP, METHODS.PLAY, METHODS.PAUSE, METHODS.TEARDOWN, METHODS.GET_PARAMETER, METHODS.SET_PARAMETER, METHODS.REDIRECT, METHODS.RECORD, METHODS.FLUSH, METHODS.GET, METHODS.POST ], + exports.METHOD_MAP = utils_1.enumToMap(METHODS), exports.H_METHOD_MAP = {}, Object.keys(exports.METHOD_MAP).forEach((key => { + /^H/.test(key) && (exports.H_METHOD_MAP[key] = exports.METHOD_MAP[key]); + })), function(FINISH) { + FINISH[FINISH.SAFE = 0] = "SAFE", FINISH[FINISH.SAFE_WITH_CB = 1] = "SAFE_WITH_CB", + FINISH[FINISH.UNSAFE = 2] = "UNSAFE"; + }(exports.FINISH || (exports.FINISH = {})), exports.ALPHA = []; + for (let i = "A".charCodeAt(0); i <= "Z".charCodeAt(0); i++) exports.ALPHA.push(String.fromCharCode(i)), + exports.ALPHA.push(String.fromCharCode(i + 32)); + exports.NUM_MAP = { + 0: 0, + 1: 1, + 2: 2, + 3: 3, + 4: 4, + 5: 5, + 6: 6, + 7: 7, + 8: 8, + 9: 9 + }, exports.HEX_MAP = { + 0: 0, + 1: 1, + 2: 2, + 3: 3, + 4: 4, + 5: 5, + 6: 6, + 7: 7, + 8: 8, + 9: 9, + A: 10, + B: 11, + C: 12, + D: 13, + E: 14, + F: 15, + a: 10, + b: 11, + c: 12, + d: 13, + e: 14, + f: 15 + }, exports.NUM = [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9" ], exports.ALPHANUM = exports.ALPHA.concat(exports.NUM), + exports.MARK = [ "-", "_", ".", "!", "~", "*", "'", "(", ")" ], exports.USERINFO_CHARS = exports.ALPHANUM.concat(exports.MARK).concat([ "%", ";", ":", "&", "=", "+", "$", "," ]), + exports.STRICT_URL_CHAR = [ "!", '"', "$", "%", "&", "'", "(", ")", "*", "+", ",", "-", ".", "/", ":", ";", "<", "=", ">", "@", "[", "\\", "]", "^", "_", "`", "{", "|", "}", "~" ].concat(exports.ALPHANUM), + exports.URL_CHAR = exports.STRICT_URL_CHAR.concat([ "\t", "\f" ]); + for (let i = 128; i <= 255; i++) exports.URL_CHAR.push(i); + exports.HEX = exports.NUM.concat([ "a", "b", "c", "d", "e", "f", "A", "B", "C", "D", "E", "F" ]), + exports.STRICT_TOKEN = [ "!", "#", "$", "%", "&", "'", "*", "+", "-", ".", "^", "_", "`", "|", "~" ].concat(exports.ALPHANUM), + exports.TOKEN = exports.STRICT_TOKEN.concat([ " " ]), exports.HEADER_CHARS = [ "\t" ]; + for (let i = 32; i <= 255; i++) 127 !== i && exports.HEADER_CHARS.push(i); + exports.CONNECTION_TOKEN_CHARS = exports.HEADER_CHARS.filter((c => 44 !== c)), exports.MAJOR = exports.NUM_MAP, + exports.MINOR = exports.MAJOR, function(HEADER_STATE) { + HEADER_STATE[HEADER_STATE.GENERAL = 0] = "GENERAL", HEADER_STATE[HEADER_STATE.CONNECTION = 1] = "CONNECTION", + HEADER_STATE[HEADER_STATE.CONTENT_LENGTH = 2] = "CONTENT_LENGTH", HEADER_STATE[HEADER_STATE.TRANSFER_ENCODING = 3] = "TRANSFER_ENCODING", + HEADER_STATE[HEADER_STATE.UPGRADE = 4] = "UPGRADE", HEADER_STATE[HEADER_STATE.CONNECTION_KEEP_ALIVE = 5] = "CONNECTION_KEEP_ALIVE", + HEADER_STATE[HEADER_STATE.CONNECTION_CLOSE = 6] = "CONNECTION_CLOSE", HEADER_STATE[HEADER_STATE.CONNECTION_UPGRADE = 7] = "CONNECTION_UPGRADE", + HEADER_STATE[HEADER_STATE.TRANSFER_ENCODING_CHUNKED = 8] = "TRANSFER_ENCODING_CHUNKED"; + }(HEADER_STATE = exports.HEADER_STATE || (exports.HEADER_STATE = {})), exports.SPECIAL_HEADERS = { + connection: HEADER_STATE.CONNECTION, + "content-length": HEADER_STATE.CONTENT_LENGTH, + "proxy-connection": HEADER_STATE.CONNECTION, + "transfer-encoding": HEADER_STATE.TRANSFER_ENCODING, + upgrade: HEADER_STATE.UPGRADE + }; + }, + 3265: module =>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ACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCAQDscBAAECAwQFBgcICQoLDA0ODxAREhMUFRYX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EEcIRAM2AMLQgAhESAQIQEgEC0AAEFQag435wHmAQECAwQFBgcIAAAAAAAAAAkKCwwNDgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADxAREhMUAAtBHiEQDL0DC0ICIREM5QELQgMhEQzkAQtCBCERDOMBC0IFIREM4gELQgYhEQzhAQtCByERDOABC0IIIREM3wELQgkhEQzeAQtCCiERDN0BC0ILIREM3AELQgwhEQzbAQtCDSERDNoBC0IOIREM2QELQg8hEQzYAQtCCiERDNcBC0ILIREM1gELQgwhEQzVAQtCDSERDNQBC0IOIREM0wELQg8hEQzSAQtCACERAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCAQLQAAQVBqDjflAeQBAAECAwQFBgfmAeYB5gHmAeYB5gHmAQgJCgsMDeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gEODxAREhPmAQtCAiERDOQBC0IDIREM4wELQgQhEQziAQtCBSERDOEBC0IGIREM4AELQgchEQzfAQtCCCERDN4BC0IJIREM3QELQgohEQzcAQtCCyERDNsBC0IMIREM2gELQg0hEQzZAQtCDiERDNgBC0IPIREM1wELQgohEQzWAQtCCyERDNUBC0IMIREM1AELQg0hEQzTAQtCDiERDNIBC0IPIREM0QELIABCACAAKQMgIhEgAiABIhBrrSISfSITIBMgEVYbNwMgIBEgElYiFEUN0gFBHyEQDMADCwJAIAEiASACRg0AIABBiYCAgAA2AgggACABNgIEIAEhAUEkIRAMpwMLQSAhEAy/AwsgACABIhAgAhC+gICAAEF/ag4FtgEAxQIB0QHSAQtBESEQDKQDCyAAQQE6AC8gECEBDLsDCyABIgEgAkcN0gFBJCEQDLsDCyABIg0gAkcNHkHGACEQDLoDCyAAIAEiASACELKAgIAAIhAN1AEgASEBDLUBCyABIhAgAkcNJkHQACEQDLgDCwJAIAEiASACRw0AQSghEAy4AwsgAEEANgIEIABBjICAgAA2AgggACABIAEQsYCAgAAi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hQgAEG5jYCAADYCECAAQRo2AgxBACEQDLQBCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxUCyAAQeUANgIcIAAgATYCFCAAIBA2AgxBACEQDLMBCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxNCyAAQdIANgIcIAAgATYCFCAAIBA2AgxBACEQDLIBCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxNCyAAQdMANgIcIAAgATYCFCAAIBA2AgxBACEQDLEBCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxRCyAAQeUANgIcIAAgATYCFCAAIBA2AgxBACEQDLABCyAAQQA2AhwgACABNgIUIABBxoqAgAA2AhAgAEEHNgIMQQAhEAyvAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMSQsgAEHSADYCHCAAIAE2AhQgACAQNgIMQQAhEAyuAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMSQsgAEHTADYCHCAAIAE2AhQgACAQNgIMQQAhEAytAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMTQsgAEHlADYCHCAAIAE2AhQgACAQNgIMQQAhEAysAQsgAEEANgIcIAAgATYCFCAAQdyIgIAANgIQIABBBzYCDEEAIRAMqwELIBBBP0cNASABQQFqIQELQQUhEAyQAQtBACEQIABBADYCHCAAIAE2AhQgAEH9koCAADYCECAAQQc2AgwMqAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMpwELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0wA2AhwgACABNgIUIAAgEDYCDEEAIRAMpgELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEYLIABB5QA2AhwgACABNgIUIA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ABIAA2AggPC0EfIQICQCAAQf///wdLDQAgAEEIdiICIAJBgP4/akEQdkEIcSICdCIEIARBgOAfakEQdkEEcSIEdCIGIAZBgIAPakEQdkECcSIGdEEPdiACIARyIAZyayICQQF0IAAgAkEVanZBAXFyQRxqIQILIAEgAjYCHCABQgA3AhAgAkECdEG40oCAAGohBAJAAkBBACgCjNCAgAAiBkEBIAJ0IgNxDQAgBCABNgIAQQAgBiADcjYCjNCAgAAgASAENgIYIAEgATYCCCABIAE2AgwMAQsgAEEAQRkgAkEBdmsgAkEfRht0IQIgBCgCACEGAkADQCAGIgQoAgRBeHEgAEYNASACQR12IQYgAkEBdCECIAQgBkEEcWpBEGoiAygCACIGDQALIAMgATYCACABIAQ2AhggASABNgIMIAEgATYCCAwBCyAEKAIIIgAgATYCDCAEIAE2AgggAUEANgIYIAEgBDYCDCABIAA2AggLQQBBACgCqNCAgABBf2oiAUF/IAEbNgKo0ICAAAsLBAAAAAtOAAJAIAANAD8AQRB0DwsCQCAAQf//A3ENACAAQX9MDQACQCAAQRB2QAAiAEF/Rw0AQQBBMDYC+NOAgABBfw8LIABBEHQPCxDKgICAAAAL8gICA38BfgJAIAJFDQAgACABOgAAIAIgAGoiA0F/aiABOgAAIAJBA0kNACAAIAE6AAIgACABOgABIANBfWogAToAACADQX5qIAE6AAAgAkEHSQ0AIAAgAToAAyADQXxqIAE6AAAgAkEJSQ0AIABBACAAa0EDcSIEaiIDIAFB/wFxQYGChAhsIgE2AgAgAyACIARrQXxxIgRqIgJBfGogATYCACAEQQlJDQAgAyABNgIIIAMgATYCBCACQXhqIAE2AgAgAkF0aiABNgIAIARBGUkNACADIAE2AhggAyABNgIUIAMgATYCECADIAE2AgwgAkFwaiABNgIAIAJBbGogATYCACACQWhqIAE2AgAgAkFkaiABNgIAIAQgA0EEcUEYciIFayICQSBJDQAgAa1CgYCAgBB+IQYgAyAFaiEBA0AgASAGNwMYIAEgBjcDECABIAY3AwggASAGNwMAIAFBIGohASACQWBqIgJBH0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AkUCAAsIABCIgICAAAsZACAAEMKAgIAAGiAAIAI2AjggACABOgAoCxwAIAAgAC8BMiAALQAuIAAQwYCAgAAQgICAgAALKgEBf0HAABDGgICAACIBEMKAgIAAGiABQYCIgIAANgI4IAEgADoAKCABCwoAIAAQyICAgAALBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LRQEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABDCgICAABogACAENgI4IAAgAzoAKCAAIAI6AC0gACABNgIYCxEAIAAgASABIAJqEMOAgIAACxAAIABBAEHcABDMgICAABoLZwEBf0EAIQECQCAAKAIMDQACQAJAAkACQCAALQAvDgMBAAMCCyAAKAI4IgFFDQAgASgCLCIBRQ0AIAAgARGAgICAAAAiAQ0DC0EADwsQyoCAgAAACyAAQcOWgIAANgIQQQ4hAQsgAQseAAJAIAAoAgwNACAAQdGbgIAANgIQIABBFTYCDAsLFgACQCAAKAIMQRVHDQAgAEEANgIMCwsWAAJAIAAoAgxBFkcNACAAQQA2AgwLCwcAIAAoAgwLBwAgACgCEAsJACAAIAE2AhALBwAgACgCFAsiAAJAIABBJEkNABDKgICAAAALIABBAnRBoLOAgABqKAIACyIAAkAgAEEuSQ0AEMqAgIAAAAsgAEECdEGwtICAAGooAgAL7gsBAX9B66iAgAAhAQJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIABBnH9qDvQDY2IAAWFhYWFhYQIDBAVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWF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BMCAAQQA6AC8gAwuZAQECfwJAAkACQCAALQAqRQ0AIAAtACtFDQBBACEBIAAvATAiAkECcUUNAQwCC0EAIQEgAC8BMCICQQFxRQ0BC0EBIQEgAC0AKEEBRg0AIAAvATJB//8DcSIAQZx/akHkAEkNACAAQcwBRg0AIABBsAJGDQAgAkHAAHENAEEAIQEgAkGIBHFBgARGDQAgAkEocUEARyEBCyABC0kBAXsgAEEQav0MAAAAAAAAAAAAAAAAAAAAACIB/QsDACAAIAH9CwMAIABBMGogAf0LAwAgAEEgaiAB/QsDACAAQd0BNgIcQQALewEBfwJAIAAoAgwiAw0AAkAgACgCBEUNACAAIAE2AgQLAkAgACABIAIQxICAgAAiAw0AIAAoAgwPCyAAIAM2AhxBACEDIAAoAgQiAUUNACAAIAEgAiAAKAIIEYGAgIAAACIBRQ0AIAAgAjYCFCAAIAE2AgwgASEDCyADC+TzAQMOfwN+BH8jgICAgABBEGsiAySAgICAACABIQQgASEFIAEhBiABIQcgASEIIAEhCSABIQogASELIAEhDCABIQ0gASEOIAEhDwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ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AwsC0GZASEQDCsLQZoBIRAMKgtBmwEhEAwpC0GcASEQDCgLQZ0BIRAMJwtBngEhEAwmC0GfASEQDCULQaABIRAMJAtBoQEhEAwjC0GiASEQDCILQaMBIRAMIQtBpAEhEAwgC0GlASEQDB8LQaYBIRAMHgtBpwEhEAwdC0GoASEQDBwLQakBIRAMGwtBqgEhEAwaC0GrASEQDBkLQawBIRAMGAtBrQEhEAwXC0GuASEQDBYLQQEhEAwVC0GvASEQDBQLQbABIRAMEwtBsQEhEAwSC0GzASEQDBELQbIBIRAMEAtBtAEhEAwPC0G1ASEQDA4LQbYBIRAMDQtBtwEhEAwMC0G4ASEQDAsLQbkBIRAMCgtBugEhEAwJC0G7ASEQDAgLQcYBIRAMBwtBvAEhEAwGC0G9ASEQDAULQb4BIRAMBAtBvwEhEAwDC0HAASEQDAILQcIBIRAMAQtBwQEhEAsDQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAC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CyABIgEgAkcNkAFB9wAhEAz9AwsgASIBIAJHDYYBQe8AIRAM/AMLIAEiASACRw1/QeoAIRAM+wMLIAEiASACRw17QegAIRAM+gMLIAEiASACRw14QeYAIRAM+QMLIAEiASACRw0aQRghEAz4AwsgASIBIAJHDRRBEiEQDPcDCyABIgEgAkcNWUHFACEQDPYDCyABIgEgAkcNSkE/IRAM9QMLIAEiASACRw1IQTwhEAz0AwsgASIBIAJHDUFBMSEQDPMDCyAALQAuQQFGDesDDIcCCyAAIAEiASACEMCAgIAAQQFHDeYBIABCADcDIAznAQsgACABIgEgAhC0gICAACIQDecBIAEhAQz1AgsCQCABIgEgAkcNAEEGIRAM8AMLIAAgAUEBaiIBIAIQu4CAgAAiEA3oASABIQEMMQsgAEIANwMgQRIhEAzVAwsgASIQIAJHDStBHSEQDO0DCwJAIAEiASACRg0AIAFBAWohAUEQIRAM1AMLQQchEAzsAwsgAEIAIAApAyAiESACIAEiEGutIhJ9IhMgEyARVhs3AyAgESASViIURQ3lAUEIIRAM6wMLAkAgASIBIAJGDQAgAEGJgICAADYCCCAAIAE2AgQgASEBQRQhEAzSAwtBCSEQDOoDCyABIQEgACkDIFAN5AEgASEBDPICCwJAIAEiASACRw0AQQshEAzpAwsgACABQQFqIgEgAhC2gICAACIQDeUBIAEhAQzyAgsgACABIgEgAhC4gICAACIQDeUBIAEhAQzyAgsgACABIgEgAhC4gICAACIQDeYBIAEhAQwNCyAAIAEiASACELqAgIAAIhAN5wEgASEBDPACCwJAIAEiASACRw0AQQ8hEAzlAwsgAS0AACIQQTtGDQggEEENRw3oASABQQFqIQEM7wILIAAgASIBIAIQuoCAgAAiEA3oASABIQEM8gILA0ACQCABLQAAQfC1gIAAai0AACIQQQFGDQAgEEECRw3rASAAKAIEIRAgAEEANgIEIAAgECABQQFqIgEQuYCAgAAiEA3qASABIQEM9AILIAFBAWoiASACRw0AC0ESIRAM4gMLIAAgASIBIAIQuoCAgAAiEA3pASABIQEMCgsgASIBIAJHDQZBGy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2AgxBACEQDLsBCwJAIAEtAABBUGoiEEH/AXFBCk8NACAAIBA6ACogAUEBaiEBQc8AIRAMogELIAAoAgQhBCAAQQA2AgQCQCAAIAQgARCtgICAACIEDQAgASEBDKcBCyAAQd4ANgIcIAAgATYCFCAAIAQ2AgxBACEQDLoBCyAAQQA2AgAgF0EBaiEBAkAgAC0AKUEjTw0AIAEhAQxZCyAAQQA2AhwgACABNgIUIABB04mAgAA2AhAgAEEINgIMQQAhEAy5AQsgAEEANgIAC0EAIRAgAEEANgIcIAAgATYCFCAAQZCzgIAANgIQIABBCDYCDAy3AQsgAEEANgIAIBdBAWohAQJAIAAtAClBIUcNACABIQEMVgsgAEEANgIcIAAgATYCFCAAQZuKgIAANgIQIABBCDYCDEEAIRAMtgELIABBADYCACAXQQFqIQECQCAALQApIhBBXWpBC08NACABIQEMVQsCQCAQQQZLDQBBASAQdEHKAHFFDQAgASEBDFULQQAhECAAQQA2AhwgACABNgIUIABB94mAgAA2AhAgAEEINgIMDLUBCyAQQRVGDXEgAEEANgIcIAAgATYCFCAAQbmNgIAANgIQIABBGjYCDEEAIRAMtAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDFQLIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMswELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDE0LIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMsgELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDE0LIABB0wA2AhwgACABNgIUIAAgEDYCDEEAIRAMsQELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDFELIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMsAELIABBADYCHCAAIAE2AhQgAEHGioCAADYCECAAQQc2AgxBACEQDK8BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxJCyAAQdIANgIcIAAgATYCFCAAIBA2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xVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw=="; + }, + 5479: (__unused_webpack_module, exports) => { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: !0 + }), exports.enumToMap = void 0, exports.enumToMap = function(obj) { + const res = {}; + return Object.keys(obj).forEach((key => { + const value = obj[key]; + "number" == typeof value && (res[key] = value); + })), res; + }; + }, + 992: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const {kClients} = __webpack_require__(8028), Agent = __webpack_require__(1180), {kAgent, kMockAgentSet, kMockAgentGet, kDispatches, kIsMockActive, kNetConnect, kGetNetConnect, kOptions, kFactory} = __webpack_require__(6676), MockClient = __webpack_require__(1014), MockPool = __webpack_require__(7099), {matchValue, buildMockOptions} = __webpack_require__(8968), {InvalidArgumentError, UndiciError} = __webpack_require__(3898), Dispatcher = __webpack_require__(7704), Pluralizer = __webpack_require__(9720), PendingInterceptorsFormatter = __webpack_require__(831); + class FakeWeakRef { + constructor(value) { + this.value = value; } - function ErrorHeader_WHERE_getInstance() { - return ErrorHeader_initEntries(), ErrorHeader_WHERE_instance; + deref() { + return this.value; } - function ErrorHeader_WHAT_WENT_WRONG_getInstance() { - return ErrorHeader_initEntries(), ErrorHeader_WHAT_WENT_WRONG_instance; + } + module.exports = class extends Dispatcher { + constructor(opts) { + if (super(opts), this[kNetConnect] = !0, this[kIsMockActive] = !0, opts && opts.agent && "function" != typeof opts.agent.dispatch) throw new InvalidArgumentError("Argument opts.agent must implement Agent"); + const agent = opts && opts.agent ? opts.agent : new Agent(opts); + this[kAgent] = agent, this[kClients] = agent[kClients], this[kOptions] = buildMockOptions(opts); } - function ErrorHeader_TRY_getInstance() { - return ErrorHeader_initEntries(), ErrorHeader_TRY_instance; + get(origin) { + let dispatcher = this[kMockAgentGet](origin); + return dispatcher || (dispatcher = this[kFactory](origin), this[kMockAgentSet](origin, dispatcher)), + dispatcher; } - function init_properties_GradleErrorCollector_kt_v2ik1e() { - properties_initialized_GradleErrorCollector_kt_b094ge || (properties_initialized_GradleErrorCollector_kt_b094ge = !0, - errorHeaderValues = values()); + dispatch(opts, handler) { + return this.get(opts.origin), this[kAgent].dispatch(opts, handler); } - function get_KOTLIN_COMPILE_ERROR() { - return init_properties_GradleOutErrorCollector_kt_kfyw48(), KOTLIN_COMPILE_ERROR; + async close() { + await this[kAgent].close(), this[kClients].clear(); } - function get_CHECKSTYLE_ERROR() { - return init_properties_GradleOutErrorCollector_kt_kfyw48(), CHECKSTYLE_ERROR; + deactivate() { + this[kIsMockActive] = !1; } - function get_JAVA_ERROR() { - return init_properties_GradleOutErrorCollector_kt_kfyw48(), JAVA_ERROR; + activate() { + this[kIsMockActive] = !0; } - function processJavaError($this, line) { - var tmp0_safe_receiver = get_JAVA_ERROR().lb(line); - if (null != tmp0_safe_receiver) return $this.z1m(), $this.n1m_1 = tmp0_safe_receiver, - Unit_getInstance(); - if (null != $this.n1m_1) { - var errorContinuation = startsWith$default(line, " ", !1, 2, null); - errorContinuation && $this.o1m_1.a(line), (!errorContinuation || $this.o1m_1.c() >= 3) && $this.z1m(); + enableNetConnect(matcher) { + if ("string" == typeof matcher || "function" == typeof matcher || matcher instanceof RegExp) Array.isArray(this[kNetConnect]) ? this[kNetConnect].push(matcher) : this[kNetConnect] = [ matcher ]; else { + if (void 0 !== matcher) throw new InvalidArgumentError("Unsupported matcher. Must be one of String|Function|RegExp."); + this[kNetConnect] = !0; } } - function GradleOutErrorCollector() { - var tmp$ret$0, tmp = this; - tmp$ret$0 = ArrayList_init_$Create$_0(), tmp.k1m_1 = tmp$ret$0, this.l1m_1 = this.k1m_1, - this.m1m_1 = "Unknown task", this.n1m_1 = null; - var tmp$ret$1, tmp_0 = this; - tmp$ret$1 = ArrayList_init_$Create$_0(), tmp_0.o1m_1 = tmp$ret$1; - } - function init_properties_GradleOutErrorCollector_kt_kfyw48() { - properties_initialized_GradleOutErrorCollector_kt_hea2pw || (properties_initialized_GradleOutErrorCollector_kt_hea2pw = !0, - KOTLIN_COMPILE_ERROR = Regex_init_$Create$("^e: (\\S.+?):(\\d+):(?:(\\d+):)? (.+)$"), - CHECKSTYLE_ERROR = Regex_init_$Create$("^\\[ant:checkstyle\\] \\[ERROR\\] (\\S.+?):(\\d+):(?:(\\d+):)? (.+) \\[([^\\]]+)\\]$"), - JAVA_ERROR = Regex_init_$Create$("^(\\S.+?):(\\d+): error: (.+)$")); + disableNetConnect() { + this[kNetConnect] = !1; } - return setMetadataFor(GradleDistribution, "GradleDistribution", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor($resolveDistributionCOROUTINE$0, "$resolveDistributionCOROUTINE$0", classMeta, CoroutineImpl, void 0, void 0, void 0, []), - setMetadataFor(install$slambda, "install$slambda", classMeta, CoroutineImpl, void 0, void 0, void 0, [ 1 ]), - setMetadataFor($installCOROUTINE$1, "$installCOROUTINE$1", classMeta, CoroutineImpl, void 0, void 0, void 0, []), - setMetadataFor($findUrlCOROUTINE$2, "$findUrlCOROUTINE$2", classMeta, CoroutineImpl, void 0, void 0, void 0, []), - setMetadataFor($findUrlCOROUTINE$3, "$findUrlCOROUTINE$3", classMeta, CoroutineImpl, void 0, void 0, void 0, []), - setMetadataFor($findVersionFromWrapperCOROUTINE$4, "$findVersionFromWrapperCOROUTINE$4", classMeta, CoroutineImpl, void 0, void 0, void 0, []), - setMetadataFor($resolveChecksumCOROUTINE$5, "$resolveChecksumCOROUTINE$5", classMeta, CoroutineImpl, void 0, void 0, void 0, []), - setMetadataFor(GradleResult, "GradleResult", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor($launchGradleCOROUTINE$6, "$launchGradleCOROUTINE$6", classMeta, CoroutineImpl, void 0, void 0, void 0, []), - setMetadataFor(Companion, "Companion", objectMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(GradleVersion, "GradleVersion", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(Dynamic, "Dynamic", classMeta, GradleVersion, void 0, void 0, void 0, []), - setMetadataFor(Official, "Official", classMeta, GradleVersion, void 0, void 0, void 0, []), - setMetadataFor(Current, "Current", objectMeta, Dynamic, void 0, void 0, void 0, []), - setMetadataFor(ReleaseCandidate, "ReleaseCandidate", objectMeta, Dynamic, void 0, void 0, void 0, []), - setMetadataFor(Nightly, "Nightly", objectMeta, Dynamic, void 0, void 0, void 0, []), - setMetadataFor(ReleaseNightly, "ReleaseNightly", objectMeta, Dynamic, void 0, void 0, void 0, []), - setMetadataFor(Wrapper, "Wrapper", objectMeta, GradleVersion, void 0, void 0, void 0, []), - setMetadataFor(LaunchParams, "LaunchParams", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(GradleError, "GradleError", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(ErrorHeader, "ErrorHeader", classMeta, Enum, void 0, void 0, void 0, []), - setMetadataFor(GradleErrorCollector, "GradleErrorCollector", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(GradleOutErrorCollector, "GradleOutErrorCollector", classMeta, void 0, void 0, void 0, void 0, []), - GradleDistribution.prototype.toString = function() { - return "GradleDistribution(version=" + this.s1h_1 + ", distributionUrl=" + this.t1h_1 + ", distributionSha256Sum=" + this.u1h_1 + ")"; - }, GradleDistribution.prototype.hashCode = function() { - var result = getStringHashCode(this.s1h_1); - return result = imul(result, 31) + getStringHashCode(this.t1h_1) | 0, result = imul(result, 31) + (null == this.u1h_1 ? 0 : getStringHashCode(this.u1h_1)) | 0; - }, GradleDistribution.prototype.equals = function(other) { - if (this === other) return !0; - if (!(other instanceof GradleDistribution)) return !1; - var tmp0_other_with_cast = other instanceof GradleDistribution ? other : THROW_CCE(); - return this.s1h_1 === tmp0_other_with_cast.s1h_1 && this.t1h_1 === tmp0_other_with_cast.t1h_1 && this.u1h_1 == tmp0_other_with_cast.u1h_1; - }, $resolveDistributionCOROUTINE$0.prototype.td = function() { - var suspendResult = this.nd_1; - $sm: for (;;) try { - switch (this.ld_1) { - case 0: - if (this.md_1 = 6, null != this.f1i_1) { - var tmp_4 = this, tmp0_elvis_lhs = this.g1i_1; - tmp_4.i1i_1 = new GradleDistribution(this.d1i_1, this.f1i_1, null == tmp0_elvis_lhs ? this.f1i_1 + ".sha256" : tmp0_elvis_lhs), - this.ld_1 = 5; - continue $sm; - } - if (this.j1i_1 = GradleVersion_0(this.d1i_1), this.j1i_1 instanceof Official) { - if (this.ld_1 = 3, (suspendResult = findUrl(this.j1i_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - } - if (this.j1i_1 instanceof Dynamic) { - if (this.ld_1 = 2, (suspendResult = findUrl_0(this.j1i_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - } - if (this.j1i_1 instanceof Wrapper) { - if (this.ld_1 = 1, (suspendResult = findVersionFromWrapper(this.e1i_1, this.h1i_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - } - noWhenBranchMatchedException(); - break; - - case 1: - case 2: - case 3: - this.k1i_1 = suspendResult, this.ld_1 = 4; - continue $sm; - - case 4: - this.i1i_1 = this.k1i_1, this.ld_1 = 5; - continue $sm; - - case 5: - return this.i1i_1; - - case 6: - throw this.od_1; - } - } catch ($p) { - if (6 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; - } - }, install$slambda.prototype.zt = function($this$launch, $cont) { - var tmp = this.au($this$launch, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); - }, install$slambda.prototype.fe = function(p1, $cont) { - return this.zt(null != p1 && isInterface(p1, CoroutineScope) ? p1 : THROW_CCE(), $cont); - }, install$slambda.prototype.td = function() { - var suspendResult = this.nd_1; - $sm: for (;;) try { - switch (this.ld_1) { - case 0: - if (this.md_1 = 3, this.ld_1 = 1, (suspendResult = rmRF(this.q1l_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 1: - if (this.ld_1 = 2, (suspendResult = rmRF(this.r1l_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 2: - return Unit_getInstance(); - - case 3: - throw this.od_1; - } - } catch ($p) { - if (3 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; - } - }, install$slambda.prototype.au = function($this$launch, completion) { - var i = new install$slambda(this.q1l_1, this.r1l_1, completion); - return i.s1l_1 = $this$launch, i; - }, $installCOROUTINE$1.prototype.td = function() { - var suspendResult = this.nd_1; - $sm: for (;;) try { - switch (this.ld_1) { - case 0: - if (this.md_1 = 9, this.u1i_1 = find("gradle", this.t1i_1.s1h_1), charSequenceLength(this.u1i_1) > 0) { - var tmp_0 = this; - info("Detected Gradle " + this.t1i_1.s1h_1 + " at " + this.u1i_1), tmp_0.v1i_1 = this.u1i_1, - this.ld_1 = 6; - continue $sm; - } - if (this.ld_1 = 1, (suspendResult = downloadTool(this.t1i_1.t1h_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 1: - if (this.w1i_1 = suspendResult, this.x1i_1 = this.t1i_1.u1h_1, null == this.x1i_1) { - this.y1i_1 = null, this.ld_1 = 3; - continue $sm; - } - if (this.ld_1 = 2, (suspendResult = hashFiles([ this.w1i_1 ], "sha256", !1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 2: - this.z1i_1 = suspendResult, this.a1j_1 = this.z1i_1.r1g_1; - var tmp_1 = this; - if (this.a1j_1 !== this.x1i_1) { - var tmp_2 = "Checksum mismatch for Gradle " + this.t1i_1.s1h_1 + " (" + this.t1i_1.t1h_1 + "). Expected: " + this.x1i_1 + ", actual: " + this.a1j_1; - throw ActionFailedException_init_$Create$(tmp_2, null, 2, null); - } - tmp_1.y1i_1 = Unit_getInstance(), this.ld_1 = 3; - continue $sm; - - case 3: - if (this.ld_1 = 4, (suspendResult = extractZip(this.w1i_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 4: - if (this.b1j_1 = suspendResult, this.ld_1 = 5, (suspendResult = cacheDir(path.join(this.b1j_1, "gradle-" + this.t1i_1.s1h_1), "gradle", this.t1i_1.s1h_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 5: - this.c1j_1 = suspendResult; - var tmp_3 = GlobalScope_getInstance(); - launch$default(tmp_3, null, null, install$slambda_0(this.w1i_1, this.b1j_1, null), 3, null), - this.v1i_1 = this.c1j_1, this.ld_1 = 6; - continue $sm; - - case 6: - if (this.d1j_1 = this.v1i_1, this.e1j_1 = path.join(this.d1j_1, "bin", equals(platform(), "win32") ? "gradle.bat" : "gradle"), - equals(platform(), "win32")) { - this.ld_1 = 8; - continue $sm; - } - if (this.ld_1 = 7, (suspendResult = chmod(this.e1j_1, toInt("755", 8), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 7: - this.ld_1 = 8; - continue $sm; - - case 8: - return this.e1j_1; - - case 9: - throw this.od_1; - } - } catch ($p) { - if (9 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; - } - }, $findUrlCOROUTINE$2.prototype.td = function() { - var suspendResult = this.nd_1; - $sm: for (;;) try { - switch (this.ld_1) { - case 0: - if (this.md_1 = 4, this.o1j_1 = "https://services.gradle.org/versions/all", this.ld_1 = 1, - (suspendResult = await_0((new HttpClient).getJson(this.o1j_1, get_HTTP_AGENT()), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 1: - this.p1j_1 = suspendResult; - var tmp0_unsafeCast = this.p1j_1.statusCode; - if (!equals(tmp0_unsafeCast, 200)) { - var tmp_0 = "Unable to lookup " + this.o1j_1 + " Gradle version: " + toString(this.p1j_1.statusCode) + ", " + JSON.stringify(this.p1j_1.result); - throw ActionFailedException_init_$Create$(tmp_0, null, 2, null); - } - var tmp_2, tmp_1 = this, tmp0_safe_receiver = this.p1j_1.result; - if (null == tmp0_safe_receiver) tmp_2 = null; else { - var tmp$ret$0; - l$ret$1: do { - for (var tmp0_iterator = arrayIterator(tmp0_safe_receiver); tmp0_iterator.e(); ) { - var element = tmp0_iterator.f(); - if (element.version === this.n1j_1.t1l_1) { - tmp$ret$0 = element; - break l$ret$1; - } - } - tmp$ret$0 = null; - } while (0); - tmp_2 = tmp$ret$0; - } - if (tmp_1.q1j_1 = tmp_2, null == this.q1j_1) { - this.r1j_1 = null, this.ld_1 = 3; - continue $sm; - } - if (this.ld_1 = 2, (suspendResult = resolveChecksum(this.q1j_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 2: - this.r1j_1 = suspendResult, this.ld_1 = 3; - continue $sm; - - case 3: - var tmp2_elvis_lhs = this.r1j_1; - if (null == tmp2_elvis_lhs) { - var tmp_4 = "Unable to find Gradle version " + this.n1j_1.t1l_1; - throw ActionFailedException_init_$Create$(tmp_4, null, 2, null); - } - return tmp2_elvis_lhs; - - case 4: - throw this.od_1; - } - } catch ($p) { - if (4 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; - } - }, $findUrlCOROUTINE$3.prototype.td = function() { - var suspendResult = this.nd_1; - $sm: for (;;) try { - switch (this.ld_1) { - case 0: - if (this.md_1 = 6, this.b1k_1 = "https://services.gradle.org/versions/" + this.a1k_1.v1l_1, - this.ld_1 = 1, (suspendResult = await_0((new HttpClient).getJson(this.b1k_1, get_HTTP_AGENT()), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 1: - this.c1k_1 = suspendResult; - var tmp0_unsafeCast = this.c1k_1.statusCode; - if (!equals(tmp0_unsafeCast, 200)) { - var tmp_0 = "Unable to lookup " + this.b1k_1 + " Gradle version: " + toString(this.c1k_1.statusCode) + ", " + JSON.stringify(this.c1k_1.result); - throw ActionFailedException_init_$Create$(tmp_0, null, 2, null); - } - var tmp0_safe_receiver = this.c1k_1.result; - if (null != (null == tmp0_safe_receiver ? null : tmp0_safe_receiver.version)) { - if (this.ld_1 = 5, (suspendResult = resolveChecksum(this.c1k_1.result, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - } - this.ld_1 = 2; - continue $sm; - - case 2: - if (this.a1k_1 instanceof ReleaseCandidate) { - if (this.ld_1 = 4, (suspendResult = findUrl_0(Current_getInstance(), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - } - this.ld_1 = 3; - continue $sm; - - case 3: - var tmp_2 = "Empty result from " + this.b1k_1 + ": " + JSON.stringify(this.c1k_1.result); - throw ActionFailedException_init_$Create$(tmp_2, null, 2, null); - - case 4: - case 5: - return suspendResult; - - case 6: - throw this.od_1; - } - } catch ($p) { - if (6 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; - } - }, $findVersionFromWrapperCOROUTINE$4.prototype.td = function() { - var suspendResult = this.nd_1; - $sm: for (;;) try { - switch (this.ld_1) { - case 0: - if (this.md_1 = 7, this.n1k_1 = path.join(this.l1k_1, "gradle", "wrapper", "gradle-wrapper.properties"), - exists(this.n1k_1)) { - this.ld_1 = 1; - continue $sm; - } - if (warning("Gradle wrapper configuration is not found at " + path.resolve(this.n1k_1) + ".\nWill use the current release Gradle version"), - this.ld_1 = 6, (suspendResult = findUrl_0(Current_getInstance(), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 1: - if (this.ld_1 = 2, (suspendResult = readFile(this.n1k_1, "utf8", this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 2: - this.o1k_1 = suspendResult; - for (var tmp_0 = this, tmp0_run = parseString(this.o1k_1), tmp0_associateWith = tmp0_run.getKeys(), result = LinkedHashMap_init_$Create$(coerceAtLeast(mapCapacity(tmp0_associateWith.length), 16)), indexedObject = tmp0_associateWith, inductionVariable = 0, last = indexedObject.length; inductionVariable < last; ) { - var element = indexedObject[inductionVariable]; - inductionVariable = inductionVariable + 1 | 0, result.t2(element, ensureNotNull(tmp0_run.getFirst(element))); - } - tmp_0.p1k_1 = result, this.q1k_1 = getValue(this.p1k_1, "distributionUrl"), this.r1k_1 = this.p1k_1.v1("distributionSha256Sum"); - var tmp_1 = this, tmp_2 = substringAfterLast$default(this.q1k_1, "/", null, 2, null); - tmp_1.s1k_1 = removeSuffix(removeSuffix(removeSuffix(substringAfter$default(tmp_2, "gradle-", null, 2, null), "-all.zip"), "-bin.zip"), ".zip"), - this.m1k_1 && null == this.r1k_1 && warning("distributionSha256Sum is not set in " + this.n1k_1 + ".\nPlease consider adding the checksum, see https://docs.gradle.org/current/userguide/gradle_wrapper.html#configuring_checksum_verification"); - var tmp_3 = removePrefix(removePrefix(this.q1k_1, "https"), "http"); - if (startsWith$default(tmp_3, "://services.gradle.org/", !1, 2, null)) { - if (endsWith$default(this.q1k_1, "-bin.zip", !1, 2, null) && null != this.r1k_1) { - this.u1k_1 = new GradleDistribution(this.s1k_1, this.q1k_1, this.r1k_1), this.ld_1 = 4; - continue $sm; - } - if (this.ld_1 = 3, (suspendResult = findUrl(new Official(this.s1k_1), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - } - this.t1k_1 = new GradleDistribution(this.s1k_1, this.q1k_1, this.r1k_1), this.ld_1 = 5; - continue $sm; - - case 3: - this.u1k_1 = suspendResult, this.ld_1 = 4; - continue $sm; - - case 4: - this.t1k_1 = this.u1k_1, this.ld_1 = 5; - continue $sm; - - case 5: - return this.t1k_1; - - case 6: - return suspendResult; - - case 7: - throw this.od_1; - } - } catch ($p) { - if (7 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; + get isMockActive() { + return this[kIsMockActive]; + } + [kMockAgentSet](origin, dispatcher) { + this[kClients].set(origin, new FakeWeakRef(dispatcher)); + } + [kFactory](origin) { + const mockOptions = Object.assign({ + agent: this + }, this[kOptions]); + return this[kOptions] && 1 === this[kOptions].connections ? new MockClient(origin, mockOptions) : new MockPool(origin, mockOptions); + } + [kMockAgentGet](origin) { + const ref = this[kClients].get(origin); + if (ref) return ref.deref(); + if ("string" != typeof origin) { + const dispatcher = this[kFactory]("http://localhost:9999"); + return this[kMockAgentSet](origin, dispatcher), dispatcher; } - }, $resolveChecksumCOROUTINE$5.prototype.td = function() { - var suspendResult = this.nd_1; - $sm: for (;;) try { - switch (this.ld_1) { - case 0: - if (this.md_1 = 3, this.e1l_1 = this.d1l_1.version, this.f1l_1 = this.d1l_1.downloadUrl, - this.ld_1 = 1, (suspendResult = await_0((new HttpClient).get(this.d1l_1.checksumUrl, get_HTTP_AGENT()), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 1: - if (this.g1l_1 = suspendResult, this.h1l_1 = this.g1l_1.readBody(), this.ld_1 = 2, - (suspendResult = await_0(this.h1l_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 2: - var tmp0_trim = suspendResult, ARGUMENT = toString(trim(isCharSequence(tmp0_trim) ? tmp0_trim : THROW_CCE())); - return new GradleDistribution(this.e1l_1, this.f1l_1, ARGUMENT); - - case 3: - throw this.od_1; + for (const [keyMatcher, nonExplicitRef] of Array.from(this[kClients])) { + const nonExplicitDispatcher = nonExplicitRef.deref(); + if (nonExplicitDispatcher && "string" != typeof keyMatcher && matchValue(keyMatcher, origin)) { + const dispatcher = this[kFactory](origin); + return this[kMockAgentSet](origin, dispatcher), dispatcher[kDispatches] = nonExplicitDispatcher[kDispatches], + dispatcher; } - } catch ($p) { - if (3 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; } - }, $launchGradleCOROUTINE$6.prototype.td = function() { - var suspendResult = this.nd_1; - $sm: for (;;) try { - switch (this.ld_1) { - case 0: - this.md_1 = 2, this.g1m_1 = { - _v: null - }, this.h1m_1 = !1, this.i1m_1 = new GradleErrorCollector, this.j1m_1 = new GradleOutErrorCollector, - this.ld_1 = 1; - for (var tmp_0 = listOf("--no-daemon"), tmp0_map = this.f1m_1.y1m_1, tmp0_mapTo = ArrayList_init_$Create$(tmp0_map.c()), tmp0_iterator = tmp0_map.h1().d(); tmp0_iterator.e(); ) { - var item = tmp0_iterator.f(); - tmp0_mapTo.a("-P" + item.e1() + "=" + item.g1()); - } - var tmp1_toTypedArray = plus(plus(tmp_0, tmp0_mapTo), this.f1m_1.x1m_1), tmp_1 = copyToArray(tmp1_toTypedArray).slice(); - if ((suspendResult = exec$default(this.f1m_1.v1m_1, tmp_1, !1, launchGradle$lambda(this.f1m_1, this.g1m_1, this.j1m_1, this.i1m_1), this, 4, null)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 1: - var result = suspendResult; - this.i1m_1.z1m(), this.j1m_1.z1m(); - for (var tmp0_iterator_0 = plus(this.i1m_1.r1m_1, this.j1m_1.l1m_1).d(); tmp0_iterator_0.e(); ) { - var error_0 = tmp0_iterator_0.f(); - this.h1m_1 = !0; - var tmp1_safe_receiver = error_0.b1n_1, shortFile = null == tmp1_safe_receiver ? null : removePrefix(tmp1_safe_receiver, process.cwd()), tmp0_apply = {}; - tmp0_apply.file = shortFile, tmp0_apply.startLine = error_0.c1n_1, tmp0_apply.startColumn = error_0.d1n_1, - error(error_0.a1n_1, tmp0_apply); - } - if (this.h1m_1) { - var tmp2_unsafeCast = 1; - process.exitCode = tmp2_unsafeCast; - } - return this.h1m_1 || 0 === result.ns_1 || setFailed("Gradle process finished with a non-zero exit code: " + result.ns_1), - new GradleResult(this.g1m_1._v); - - case 2: - throw this.od_1; + } + [kGetNetConnect]() { + return this[kNetConnect]; + } + pendingInterceptors() { + const mockAgentClients = this[kClients]; + return Array.from(mockAgentClients.entries()).flatMap((([origin, scope]) => scope.deref()[kDispatches].map((dispatch => ({ + ...dispatch, + origin + }))))).filter((({pending}) => pending)); + } + assertNoPendingInterceptors({pendingInterceptorsFormatter = new PendingInterceptorsFormatter} = {}) { + const pending = this.pendingInterceptors(); + if (0 === pending.length) return; + const pluralizer = new Pluralizer("interceptor", "interceptors").pluralize(pending.length); + throw new UndiciError(`\n${pluralizer.count} ${pluralizer.noun} ${pluralizer.is} pending:\n\n${pendingInterceptorsFormatter.format(pending)}\n`.trim()); + } + }; + }, + 1014: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const {promisify} = __webpack_require__(9023), Client = __webpack_require__(2138), {buildMockDispatch} = __webpack_require__(8968), {kDispatches, kMockAgent, kClose, kOriginalClose, kOrigin, kOriginalDispatch, kConnected} = __webpack_require__(6676), {MockInterceptor} = __webpack_require__(3226), Symbols = __webpack_require__(8028), {InvalidArgumentError} = __webpack_require__(3898); + class MockClient extends Client { + constructor(origin, opts) { + if (super(origin, opts), !opts || !opts.agent || "function" != typeof opts.agent.dispatch) throw new InvalidArgumentError("Argument opts.agent must implement Agent"); + this[kMockAgent] = opts.agent, this[kOrigin] = origin, this[kDispatches] = [], this[kConnected] = 1, + this[kOriginalDispatch] = this.dispatch, this[kOriginalClose] = this.close.bind(this), + this.dispatch = buildMockDispatch.call(this), this.close = this[kClose]; + } + get [Symbols.kConnected]() { + return this[kConnected]; + } + intercept(opts) { + return new MockInterceptor(opts, this[kDispatches]); + } + async [kClose]() { + await promisify(this[kOriginalClose])(), this[kConnected] = 0, this[kMockAgent][Symbols.kClients].delete(this[kOrigin]); + } + } + module.exports = MockClient; + }, + 4850: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const {UndiciError} = __webpack_require__(3898); + class MockNotMatchedError extends UndiciError { + constructor(message) { + super(message), Error.captureStackTrace(this, MockNotMatchedError), this.name = "MockNotMatchedError", + this.message = message || "The request does not match any registered mock dispatches", + this.code = "UND_MOCK_ERR_MOCK_NOT_MATCHED"; + } + } + module.exports = { + MockNotMatchedError + }; + }, + 3226: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const {getResponseData, buildKey, addMockDispatch} = __webpack_require__(8968), {kDispatches, kDispatchKey, kDefaultHeaders, kDefaultTrailers, kContentLength, kMockDispatch} = __webpack_require__(6676), {InvalidArgumentError} = __webpack_require__(3898), {buildURL} = __webpack_require__(8869); + class MockScope { + constructor(mockDispatch) { + this[kMockDispatch] = mockDispatch; + } + delay(waitInMs) { + if ("number" != typeof waitInMs || !Number.isInteger(waitInMs) || waitInMs <= 0) throw new InvalidArgumentError("waitInMs must be a valid integer > 0"); + return this[kMockDispatch].delay = waitInMs, this; + } + persist() { + return this[kMockDispatch].persist = !0, this; + } + times(repeatTimes) { + if ("number" != typeof repeatTimes || !Number.isInteger(repeatTimes) || repeatTimes <= 0) throw new InvalidArgumentError("repeatTimes must be a valid integer > 0"); + return this[kMockDispatch].times = repeatTimes, this; + } + } + module.exports.MockInterceptor = class { + constructor(opts, mockDispatches) { + if ("object" != typeof opts) throw new InvalidArgumentError("opts must be an object"); + if (void 0 === opts.path) throw new InvalidArgumentError("opts.path must be defined"); + if (void 0 === opts.method && (opts.method = "GET"), "string" == typeof opts.path) if (opts.query) opts.path = buildURL(opts.path, opts.query); else { + const parsedURL = new URL(opts.path, "data://"); + opts.path = parsedURL.pathname + parsedURL.search; + } + "string" == typeof opts.method && (opts.method = opts.method.toUpperCase()), this[kDispatchKey] = buildKey(opts), + this[kDispatches] = mockDispatches, this[kDefaultHeaders] = {}, this[kDefaultTrailers] = {}, + this[kContentLength] = !1; + } + createMockScopeDispatchData(statusCode, data, responseOptions = {}) { + const responseData = getResponseData(data), contentLength = this[kContentLength] ? { + "content-length": responseData.length + } : {}; + return { + statusCode, + data, + headers: { + ...this[kDefaultHeaders], + ...contentLength, + ...responseOptions.headers + }, + trailers: { + ...this[kDefaultTrailers], + ...responseOptions.trailers } - } catch ($p) { - if (2 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; + }; + } + validateReplyParameters(statusCode, data, responseOptions) { + if (void 0 === statusCode) throw new InvalidArgumentError("statusCode must be defined"); + if (void 0 === data) throw new InvalidArgumentError("data must be defined"); + if ("object" != typeof responseOptions) throw new InvalidArgumentError("responseOptions must be an object"); + } + reply(replyData) { + if ("function" == typeof replyData) { + const wrappedDefaultsCallback = opts => { + const resolvedData = replyData(opts); + if ("object" != typeof resolvedData) throw new InvalidArgumentError("reply options callback must return an object"); + const {statusCode, data = "", responseOptions = {}} = resolvedData; + return this.validateReplyParameters(statusCode, data, responseOptions), { + ...this.createMockScopeDispatchData(statusCode, data, responseOptions) + }; + }, newMockDispatch = addMockDispatch(this[kDispatches], this[kDispatchKey], wrappedDefaultsCallback); + return new MockScope(newMockDispatch); } - }, Official.prototype.toString = function() { - return "Official(" + this.t1l_1 + ")"; - }, Current.prototype.toString = function() { - return "Current"; - }, ReleaseCandidate.prototype.toString = function() { - return "ReleaseCandidate"; - }, Nightly.prototype.toString = function() { - return "Nightly"; - }, ReleaseNightly.prototype.toString = function() { - return "ReleaseNightly"; - }, Wrapper.prototype.toString = function() { - return "Wrapper"; - }, GradleError.prototype.toString = function() { - return "GradleError(line=" + this.c1n_1 + ", col=" + this.d1n_1 + ", file=" + this.b1n_1 + ", message='" + this.a1n_1 + "')"; - }, GradleErrorCollector.prototype.z1m = function() { - if (!this.u1m_1.l()) { - var tmp, tmp0_elvis_lhs = this.u1m_1.v1(ErrorHeader_WHAT_WENT_WRONG_getInstance()), message = null == tmp0_elvis_lhs ? "Unknown error" : tmp0_elvis_lhs, tmp1_plusAssign = this.q1m_1, tmp2_safe_receiver = this.u1m_1.v1(ErrorHeader_WHERE_getInstance()); - if (null == tmp2_safe_receiver) tmp = null; else { - var tmp0_safe_receiver = Regex_init_$Create$("^Build file '(.+)' line: (\\d+)$").lb(tmp2_safe_receiver); - tmp = null == tmp0_safe_receiver ? null : GradleError_init_$Create$(message, tmp0_safe_receiver.cc().g(1), toInt_0(tmp0_safe_receiver.cc().g(2)), null, 8, null); - } - var tmp3_elvis_lhs = tmp, tmp2_plusAssign = null == tmp3_elvis_lhs ? GradleError_init_$Create$(message, null, null, null, 14, null) : tmp3_elvis_lhs; - tmp1_plusAssign.a(tmp2_plusAssign); - } - this.u1m_1.i6(), this.s1m_1.xa(); - }, GradleErrorCollector.prototype.p1m = function(line) { - var tmp$ret$2, str = toString(trimEnd(isCharSequence(line) ? line : THROW_CCE())), tmp = ErrorHeader_FAILURE_getInstance().i1n_1; - if (startsWith$default(str, tmp, !1, 2, null)) { - this.z1m(); - var tmp0_set = this.u1m_1, tmp1_set = ErrorHeader_FAILURE_getInstance(), tmp2_set = removePrefix(str, ErrorHeader_FAILURE_getInstance().i1n_1); - return tmp0_set.t2(tmp1_set, tmp2_set), Unit_getInstance(); - } - if (startsWith$default(str, "* Get more help", !1, 2, null) || startsWith$default(str, "BUILD FAILED ", !1, 2, null)) return this.z1m(), - this.t1m_1 = null, Unit_getInstance(); - $l$block: { - for (var indexedObject = get_errorHeaderValues(), inductionVariable = 0, last = indexedObject.length; inductionVariable < last; ) { - var element = indexedObject[inductionVariable]; - if (inductionVariable = inductionVariable + 1 | 0, startsWith$default(str, element.i1n_1, !1, 2, null)) { - tmp$ret$2 = element; - break $l$block; + const [statusCode, data = "", responseOptions = {}] = [ ...arguments ]; + this.validateReplyParameters(statusCode, data, responseOptions); + const dispatchData = this.createMockScopeDispatchData(statusCode, data, responseOptions), newMockDispatch = addMockDispatch(this[kDispatches], this[kDispatchKey], dispatchData); + return new MockScope(newMockDispatch); + } + replyWithError(error) { + if (void 0 === error) throw new InvalidArgumentError("error must be defined"); + const newMockDispatch = addMockDispatch(this[kDispatches], this[kDispatchKey], { + error + }); + return new MockScope(newMockDispatch); + } + defaultReplyHeaders(headers) { + if (void 0 === headers) throw new InvalidArgumentError("headers must be defined"); + return this[kDefaultHeaders] = headers, this; + } + defaultReplyTrailers(trailers) { + if (void 0 === trailers) throw new InvalidArgumentError("trailers must be defined"); + return this[kDefaultTrailers] = trailers, this; + } + replyContentLength() { + return this[kContentLength] = !0, this; + } + }, module.exports.MockScope = MockScope; + }, + 7099: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const {promisify} = __webpack_require__(9023), Pool = __webpack_require__(7047), {buildMockDispatch} = __webpack_require__(8968), {kDispatches, kMockAgent, kClose, kOriginalClose, kOrigin, kOriginalDispatch, kConnected} = __webpack_require__(6676), {MockInterceptor} = __webpack_require__(3226), Symbols = __webpack_require__(8028), {InvalidArgumentError} = __webpack_require__(3898); + class MockPool extends Pool { + constructor(origin, opts) { + if (super(origin, opts), !opts || !opts.agent || "function" != typeof opts.agent.dispatch) throw new InvalidArgumentError("Argument opts.agent must implement Agent"); + this[kMockAgent] = opts.agent, this[kOrigin] = origin, this[kDispatches] = [], this[kConnected] = 1, + this[kOriginalDispatch] = this.dispatch, this[kOriginalClose] = this.close.bind(this), + this.dispatch = buildMockDispatch.call(this), this.close = this[kClose]; + } + get [Symbols.kConnected]() { + return this[kConnected]; + } + intercept(opts) { + return new MockInterceptor(opts, this[kDispatches]); + } + async [kClose]() { + await promisify(this[kOriginalClose])(), this[kConnected] = 0, this[kMockAgent][Symbols.kClients].delete(this[kOrigin]); + } + } + module.exports = MockPool; + }, + 6676: module => { + "use strict"; + module.exports = { + kAgent: Symbol("agent"), + kOptions: Symbol("options"), + kFactory: Symbol("factory"), + kDispatches: Symbol("dispatches"), + kDispatchKey: Symbol("dispatch key"), + kDefaultHeaders: Symbol("default headers"), + kDefaultTrailers: Symbol("default trailers"), + kContentLength: Symbol("content length"), + kMockAgent: Symbol("mock agent"), + kMockAgentSet: Symbol("mock agent set"), + kMockAgentGet: Symbol("mock agent get"), + kMockDispatch: Symbol("mock dispatch"), + kClose: Symbol("close"), + kOriginalClose: Symbol("original agent close"), + kOrigin: Symbol("origin"), + kIsMockActive: Symbol("is mock active"), + kNetConnect: Symbol("net connect"), + kGetNetConnect: Symbol("get net connect"), + kConnected: Symbol("connected") + }; + }, + 8968: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const {MockNotMatchedError} = __webpack_require__(4850), {kDispatches, kMockAgent, kOriginalDispatch, kOrigin, kGetNetConnect} = __webpack_require__(6676), {buildURL, nop} = __webpack_require__(8869), {STATUS_CODES} = __webpack_require__(8611), {types: {isPromise}} = __webpack_require__(9023); + function matchValue(match, value) { + return "string" == typeof match ? match === value : match instanceof RegExp ? match.test(value) : "function" == typeof match && !0 === match(value); + } + function lowerCaseEntries(headers) { + return Object.fromEntries(Object.entries(headers).map((([headerName, headerValue]) => [ headerName.toLocaleLowerCase(), headerValue ]))); + } + function getHeaderByName(headers, key) { + if (!Array.isArray(headers)) return "function" == typeof headers.get ? headers.get(key) : lowerCaseEntries(headers)[key.toLocaleLowerCase()]; + for (let i = 0; i < headers.length; i += 2) if (headers[i].toLocaleLowerCase() === key.toLocaleLowerCase()) return headers[i + 1]; + } + function buildHeadersFromArray(headers) { + const clone = headers.slice(), entries = []; + for (let index = 0; index < clone.length; index += 2) entries.push([ clone[index], clone[index + 1] ]); + return Object.fromEntries(entries); + } + function matchHeaders(mockDispatch, headers) { + if ("function" == typeof mockDispatch.headers) return Array.isArray(headers) && (headers = buildHeadersFromArray(headers)), + mockDispatch.headers(headers ? lowerCaseEntries(headers) : {}); + if (void 0 === mockDispatch.headers) return !0; + if ("object" != typeof headers || "object" != typeof mockDispatch.headers) return !1; + for (const [matchHeaderName, matchHeaderValue] of Object.entries(mockDispatch.headers)) { + if (!matchValue(matchHeaderValue, getHeaderByName(headers, matchHeaderName))) return !1; + } + return !0; + } + function safeUrl(path) { + if ("string" != typeof path) return path; + const pathSegments = path.split("?"); + if (2 !== pathSegments.length) return path; + const qp = new URLSearchParams(pathSegments.pop()); + return qp.sort(), [ ...pathSegments, qp.toString() ].join("?"); + } + function getResponseData(data) { + return Buffer.isBuffer(data) ? data : "object" == typeof data ? JSON.stringify(data) : data.toString(); + } + function getMockDispatch(mockDispatches, key) { + const basePath = key.query ? buildURL(key.path, key.query) : key.path, resolvedPath = "string" == typeof basePath ? safeUrl(basePath) : basePath; + let matchedMockDispatches = mockDispatches.filter((({consumed}) => !consumed)).filter((({path}) => matchValue(safeUrl(path), resolvedPath))); + if (0 === matchedMockDispatches.length) throw new MockNotMatchedError(`Mock dispatch not matched for path '${resolvedPath}'`); + if (matchedMockDispatches = matchedMockDispatches.filter((({method}) => matchValue(method, key.method))), + 0 === matchedMockDispatches.length) throw new MockNotMatchedError(`Mock dispatch not matched for method '${key.method}'`); + if (matchedMockDispatches = matchedMockDispatches.filter((({body}) => void 0 === body || matchValue(body, key.body))), + 0 === matchedMockDispatches.length) throw new MockNotMatchedError(`Mock dispatch not matched for body '${key.body}'`); + if (matchedMockDispatches = matchedMockDispatches.filter((mockDispatch => matchHeaders(mockDispatch, key.headers))), + 0 === matchedMockDispatches.length) throw new MockNotMatchedError(`Mock dispatch not matched for headers '${"object" == typeof key.headers ? JSON.stringify(key.headers) : key.headers}'`); + return matchedMockDispatches[0]; + } + function deleteMockDispatch(mockDispatches, key) { + const index = mockDispatches.findIndex((dispatch => !!dispatch.consumed && function(mockDispatch, {path, method, body, headers}) { + const pathMatch = matchValue(mockDispatch.path, path), methodMatch = matchValue(mockDispatch.method, method), bodyMatch = void 0 === mockDispatch.body || matchValue(mockDispatch.body, body), headersMatch = matchHeaders(mockDispatch, headers); + return pathMatch && methodMatch && bodyMatch && headersMatch; + }(dispatch, key))); + -1 !== index && mockDispatches.splice(index, 1); + } + function buildKey(opts) { + const {path, method, body, headers, query} = opts; + return { + path, + method, + body, + headers, + query + }; + } + function generateKeyValues(data) { + return Object.entries(data).reduce(((keyValuePairs, [key, value]) => [ ...keyValuePairs, Buffer.from(`${key}`), Array.isArray(value) ? value.map((x => Buffer.from(`${x}`))) : Buffer.from(`${value}`) ]), []); + } + function getStatusText(statusCode) { + return STATUS_CODES[statusCode] || "unknown"; + } + function mockDispatch(opts, handler) { + const key = buildKey(opts), mockDispatch = getMockDispatch(this[kDispatches], key); + mockDispatch.timesInvoked++, mockDispatch.data.callback && (mockDispatch.data = { + ...mockDispatch.data, + ...mockDispatch.data.callback(opts) + }); + const {data: {statusCode, data, headers, trailers, error}, delay, persist} = mockDispatch, {timesInvoked, times} = mockDispatch; + if (mockDispatch.consumed = !persist && timesInvoked >= times, mockDispatch.pending = timesInvoked < times, + null !== error) return deleteMockDispatch(this[kDispatches], key), handler.onError(error), + !0; + function handleReply(mockDispatches, _data = data) { + const optsHeaders = Array.isArray(opts.headers) ? buildHeadersFromArray(opts.headers) : opts.headers, body = "function" == typeof _data ? _data({ + ...opts, + headers: optsHeaders + }) : _data; + if (isPromise(body)) return void body.then((newData => handleReply(mockDispatches, newData))); + const responseData = getResponseData(body), responseHeaders = generateKeyValues(headers), responseTrailers = generateKeyValues(trailers); + handler.abort = nop, handler.onHeaders(statusCode, responseHeaders, resume, getStatusText(statusCode)), + handler.onData(Buffer.from(responseData)), handler.onComplete(responseTrailers), + deleteMockDispatch(mockDispatches, key); + } + function resume() {} + return "number" == typeof delay && delay > 0 ? setTimeout((() => { + handleReply(this[kDispatches]); + }), delay) : handleReply(this[kDispatches]), !0; + } + function checkNetConnect(netConnect, origin) { + const url = new URL(origin); + return !0 === netConnect || !(!Array.isArray(netConnect) || !netConnect.some((matcher => matchValue(matcher, url.host)))); + } + module.exports = { + getResponseData, + getMockDispatch, + addMockDispatch: function(mockDispatches, key, data) { + const newMockDispatch = { + timesInvoked: 0, + times: 1, + persist: !1, + consumed: !1, + ...key, + pending: !0, + data: { + error: null, + ..."function" == typeof data ? { + callback: data + } : { + ...data } } - tmp$ret$2 = null; + }; + return mockDispatches.push(newMockDispatch), newMockDispatch; + }, + deleteMockDispatch, + buildKey, + generateKeyValues, + matchValue, + getResponse: async function(body) { + const buffers = []; + for await (const data of body) buffers.push(data); + return Buffer.concat(buffers).toString("utf8"); + }, + getStatusText, + mockDispatch, + buildMockDispatch: function() { + const agent = this[kMockAgent], origin = this[kOrigin], originalDispatch = this[kOriginalDispatch]; + return function(opts, handler) { + if (agent.isMockActive) try { + mockDispatch.call(this, opts, handler); + } catch (error) { + if (!(error instanceof MockNotMatchedError)) throw error; + { + const netConnect = agent[kGetNetConnect](); + if (!1 === netConnect) throw new MockNotMatchedError(`${error.message}: subsequent request to origin ${origin} was not allowed (net.connect disabled)`); + if (!checkNetConnect(netConnect, origin)) throw new MockNotMatchedError(`${error.message}: subsequent request to origin ${origin} was not allowed (net.connect is not enabled for this origin)`); + originalDispatch.call(this, opts, handler); + } + } else originalDispatch.call(this, opts, handler); + }; + }, + checkNetConnect, + buildMockOptions: function(opts) { + if (opts) { + const {agent, ...mockOptions} = opts; + return mockOptions; } - var tmp0_safe_receiver = tmp$ret$2; - if (null != tmp0_safe_receiver) { - var tmp0_safe_receiver_0 = this.t1m_1; - if (null == tmp0_safe_receiver_0) ; else { - var tmp1_set_0 = this.u1m_1, tmp0_trimEnd = this.s1m_1.toString(), tmp2_set_0 = toString(trimEnd(isCharSequence(tmp0_trimEnd) ? tmp0_trimEnd : THROW_CCE())); - tmp1_set_0.t2(tmp0_safe_receiver_0, tmp2_set_0), Unit_getInstance(); + }, + getHeaderByName + }; + }, + 831: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const {Transform} = __webpack_require__(2203), {Console} = __webpack_require__(4236); + module.exports = class { + constructor({disableColors} = {}) { + this.transform = new Transform({ + transform(chunk, _enc, cb) { + cb(null, chunk); + } + }), this.logger = new Console({ + stdout: this.transform, + inspectOptions: { + colors: !disableColors && !process.env.CI } - return this.s1m_1.xa(), this.t1m_1 = tmp0_safe_receiver, Unit_getInstance(); + }); + } + format(pendingInterceptors) { + const withPrettyHeaders = pendingInterceptors.map((({method, path, data: {statusCode}, persist, times, timesInvoked, origin}) => ({ + Method: method, + Origin: origin, + Path: path, + "Status code": statusCode, + Persistent: persist ? "✅" : "❌", + Invocations: timesInvoked, + Remaining: persist ? 1 / 0 : times - timesInvoked + }))); + return this.logger.table(withPrettyHeaders), this.transform.read().toString(); + } + }; + }, + 9720: module => { + "use strict"; + const singulars = { + pronoun: "it", + is: "is", + was: "was", + this: "this" + }, plurals = { + pronoun: "they", + is: "are", + was: "were", + this: "these" + }; + module.exports = class { + constructor(singular, plural) { + this.singular = singular, this.plural = plural; + } + pluralize(count) { + const one = 1 === count; + return { + ...one ? singulars : plurals, + count, + noun: one ? this.singular : this.plural + }; + } + }; + }, + 1826: module => { + "use strict"; + class FixedCircularBuffer { + constructor() { + this.bottom = 0, this.top = 0, this.list = new Array(2048), this.next = null; + } + isEmpty() { + return this.top === this.bottom; + } + isFull() { + return (this.top + 1 & 2047) === this.bottom; + } + push(data) { + this.list[this.top] = data, this.top = this.top + 1 & 2047; + } + shift() { + const nextItem = this.list[this.bottom]; + return void 0 === nextItem ? null : (this.list[this.bottom] = void 0, this.bottom = this.bottom + 1 & 2047, + nextItem); + } + } + module.exports = class { + constructor() { + this.head = this.tail = new FixedCircularBuffer; + } + isEmpty() { + return this.head.isEmpty(); + } + push(data) { + this.head.isFull() && (this.head = this.head.next = new FixedCircularBuffer), this.head.push(data); + } + shift() { + const tail = this.tail, next = tail.shift(); + return tail.isEmpty() && null !== tail.next && (this.tail = tail.next), next; + } + }; + }, + 333: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const DispatcherBase = __webpack_require__(524), FixedQueue = __webpack_require__(1826), {kConnected, kSize, kRunning, kPending, kQueued, kBusy, kFree, kUrl, kClose, kDestroy, kDispatch} = __webpack_require__(8028), PoolStats = __webpack_require__(6141), kClients = Symbol("clients"), kNeedDrain = Symbol("needDrain"), kQueue = Symbol("queue"), kClosedResolve = Symbol("closed resolve"), kOnDrain = Symbol("onDrain"), kOnConnect = Symbol("onConnect"), kOnDisconnect = Symbol("onDisconnect"), kOnConnectionError = Symbol("onConnectionError"), kGetDispatcher = Symbol("get dispatcher"), kAddClient = Symbol("add client"), kRemoveClient = Symbol("remove client"), kStats = Symbol("stats"); + module.exports = { + PoolBase: class extends DispatcherBase { + constructor() { + super(), this[kQueue] = new FixedQueue, this[kClients] = [], this[kQueued] = 0; + const pool = this; + this[kOnDrain] = function(origin, targets) { + const queue = pool[kQueue]; + let needDrain = !1; + for (;!needDrain; ) { + const item = queue.shift(); + if (!item) break; + pool[kQueued]--, needDrain = !this.dispatch(item.opts, item.handler); + } + this[kNeedDrain] = needDrain, !this[kNeedDrain] && pool[kNeedDrain] && (pool[kNeedDrain] = !1, + pool.emit("drain", origin, [ pool, ...targets ])), pool[kClosedResolve] && queue.isEmpty() && Promise.all(pool[kClients].map((c => c.close()))).then(pool[kClosedResolve]); + }, this[kOnConnect] = (origin, targets) => { + pool.emit("connect", origin, [ pool, ...targets ]); + }, this[kOnDisconnect] = (origin, targets, err) => { + pool.emit("disconnect", origin, [ pool, ...targets ], err); + }, this[kOnConnectionError] = (origin, targets, err) => { + pool.emit("connectionError", origin, [ pool, ...targets ], err); + }, this[kStats] = new PoolStats(this); + } + get [kBusy]() { + return this[kNeedDrain]; + } + get [kConnected]() { + return this[kClients].filter((client => client[kConnected])).length; + } + get [kFree]() { + return this[kClients].filter((client => client[kConnected] && !client[kNeedDrain])).length; + } + get [kPending]() { + let ret = this[kQueued]; + for (const {[kPending]: pending} of this[kClients]) ret += pending; + return ret; + } + get [kRunning]() { + let ret = 0; + for (const {[kRunning]: running} of this[kClients]) ret += running; + return ret; + } + get [kSize]() { + let ret = this[kQueued]; + for (const {[kSize]: size} of this[kClients]) ret += size; + return ret; + } + get stats() { + return this[kStats]; + } + async [kClose]() { + return this[kQueue].isEmpty() ? Promise.all(this[kClients].map((c => c.close()))) : new Promise((resolve => { + this[kClosedResolve] = resolve; + })); } - null != this.t1m_1 && this.s1m_1.va(line).p4(_Char___init__impl__6a9atx(10)); - }, GradleOutErrorCollector.prototype.p1m = function(line) { - if (startsWith$default(line, "> Task ", !1, 2, null) || startsWith$default(line, "> Configure", !1, 2, null)) { - var tmp$ret$1, tmp_0 = this; - tmp$ret$1 = "[" + removePrefix(line, "> ") + "]", tmp_0.m1m_1 = tmp$ret$1; + async [kDestroy](err) { + for (;;) { + const item = this[kQueue].shift(); + if (!item) break; + item.handler.onError(err); + } + return Promise.all(this[kClients].map((c => c.destroy(err)))); + } + [kDispatch](opts, handler) { + const dispatcher = this[kGetDispatcher](); + return dispatcher ? dispatcher.dispatch(opts, handler) || (dispatcher[kNeedDrain] = !0, + this[kNeedDrain] = !this[kGetDispatcher]()) : (this[kNeedDrain] = !0, this[kQueue].push({ + opts, + handler + }), this[kQueued]++), !this[kNeedDrain]; + } + [kAddClient](client) { + return client.on("drain", this[kOnDrain]).on("connect", this[kOnConnect]).on("disconnect", this[kOnDisconnect]).on("connectionError", this[kOnConnectionError]), + this[kClients].push(client), this[kNeedDrain] && process.nextTick((() => { + this[kNeedDrain] && this[kOnDrain](client[kUrl], [ this, client ]); + })), this; + } + [kRemoveClient](client) { + client.close((() => { + const idx = this[kClients].indexOf(client); + -1 !== idx && this[kClients].splice(idx, 1); + })), this[kNeedDrain] = this[kClients].some((dispatcher => !dispatcher[kNeedDrain] && !0 !== dispatcher.closed && !0 !== dispatcher.destroyed)); } - if (startsWith$default(line, "e: ", !1, 2, null)) { - var tmp0_safe_receiver = get_KOTLIN_COMPILE_ERROR().lb(line); - if (null == tmp0_safe_receiver) ; else { - var tmp$ret$4, tmp1_plusAssign = this.k1m_1, tmp_1 = this.m1m_1 + " " + tmp0_safe_receiver.cc().g(4), tmp_2 = tmp0_safe_receiver.cc().g(1), tmp_3 = toInt_0(tmp0_safe_receiver.cc().g(2)), tmp0_takeIf = tmp0_safe_receiver.cc().g(3), tmp2_plusAssign = new GradleError(tmp_1, tmp_2, tmp_3, null == (tmp$ret$4 = isBlank(tmp0_takeIf) ? null : tmp0_takeIf) ? null : toInt_0(tmp$ret$4)); - tmp1_plusAssign.a(tmp2_plusAssign), Unit_getInstance(); + }, + kClients, + kNeedDrain, + kAddClient, + kRemoveClient, + kGetDispatcher + }; + }, + 6141: (module, __unused_webpack_exports, __webpack_require__) => { + const {kFree, kConnected, kPending, kQueued, kRunning, kSize} = __webpack_require__(8028), kPool = Symbol("pool"); + module.exports = class { + constructor(pool) { + this[kPool] = pool; + } + get connected() { + return this[kPool][kConnected]; + } + get free() { + return this[kPool][kFree]; + } + get pending() { + return this[kPool][kPending]; + } + get queued() { + return this[kPool][kQueued]; + } + get running() { + return this[kPool][kRunning]; + } + get size() { + return this[kPool][kSize]; + } + }; + }, + 7047: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const {PoolBase, kClients, kNeedDrain, kAddClient, kGetDispatcher} = __webpack_require__(333), Client = __webpack_require__(2138), {InvalidArgumentError} = __webpack_require__(3898), util = __webpack_require__(8869), {kUrl, kInterceptors} = __webpack_require__(8028), buildConnector = __webpack_require__(5651), kOptions = Symbol("options"), kConnections = Symbol("connections"), kFactory = Symbol("factory"); + function defaultFactory(origin, opts) { + return new Client(origin, opts); + } + module.exports = class extends PoolBase { + constructor(origin, {connections, factory = defaultFactory, connect, connectTimeout, tls, maxCachedSessions, socketPath, autoSelectFamily, autoSelectFamilyAttemptTimeout, allowH2, ...options} = {}) { + if (super(), null != connections && (!Number.isFinite(connections) || connections < 0)) throw new InvalidArgumentError("invalid connections"); + if ("function" != typeof factory) throw new InvalidArgumentError("factory must be a function."); + if (null != connect && "function" != typeof connect && "object" != typeof connect) throw new InvalidArgumentError("connect must be a function or an object"); + "function" != typeof connect && (connect = buildConnector({ + ...tls, + maxCachedSessions, + allowH2, + socketPath, + timeout: connectTimeout, + ...util.nodeHasAutoSelectFamily && autoSelectFamily ? { + autoSelectFamily, + autoSelectFamilyAttemptTimeout + } : void 0, + ...connect + })), this[kInterceptors] = options.interceptors && options.interceptors.Pool && Array.isArray(options.interceptors.Pool) ? options.interceptors.Pool : [], + this[kConnections] = connections || null, this[kUrl] = util.parseOrigin(origin), + this[kOptions] = { + ...util.deepClone(options), + connect, + allowH2 + }, this[kOptions].interceptors = options.interceptors ? { + ...options.interceptors + } : void 0, this[kFactory] = factory; + } + [kGetDispatcher]() { + let dispatcher = this[kClients].find((dispatcher => !dispatcher[kNeedDrain])); + return dispatcher || ((!this[kConnections] || this[kClients].length < this[kConnections]) && (dispatcher = this[kFactory](this[kUrl], this[kOptions]), + this[kAddClient](dispatcher)), dispatcher); + } + }; + }, + 1133: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const {kProxy, kClose, kDestroy, kInterceptors} = __webpack_require__(8028), {URL} = __webpack_require__(7016), Agent = __webpack_require__(1180), Pool = __webpack_require__(7047), DispatcherBase = __webpack_require__(524), {InvalidArgumentError, RequestAbortedError} = __webpack_require__(3898), buildConnector = __webpack_require__(5651), kAgent = Symbol("proxy agent"), kClient = Symbol("proxy client"), kProxyHeaders = Symbol("proxy headers"), kRequestTls = Symbol("request tls settings"), kProxyTls = Symbol("proxy tls settings"), kConnectEndpoint = Symbol("connect endpoint function"); + function defaultFactory(origin, opts) { + return new Pool(origin, opts); + } + module.exports = class extends DispatcherBase { + constructor(opts) { + if (super(opts), this[kProxy] = function(opts) { + if ("string" == typeof opts && (opts = { + uri: opts + }), !opts || !opts.uri) throw new InvalidArgumentError("Proxy opts.uri is mandatory"); + return { + uri: opts.uri, + protocol: opts.protocol || "https" + }; + }(opts), this[kAgent] = new Agent(opts), this[kInterceptors] = opts.interceptors && opts.interceptors.ProxyAgent && Array.isArray(opts.interceptors.ProxyAgent) ? opts.interceptors.ProxyAgent : [], + "string" == typeof opts && (opts = { + uri: opts + }), !opts || !opts.uri) throw new InvalidArgumentError("Proxy opts.uri is mandatory"); + const {clientFactory = defaultFactory} = opts; + if ("function" != typeof clientFactory) throw new InvalidArgumentError("Proxy opts.clientFactory must be a function."); + this[kRequestTls] = opts.requestTls, this[kProxyTls] = opts.proxyTls, this[kProxyHeaders] = opts.headers || {}; + const resolvedUrl = new URL(opts.uri), {origin, port, host, username, password} = resolvedUrl; + if (opts.auth && opts.token) throw new InvalidArgumentError("opts.auth cannot be used in combination with opts.token"); + opts.auth ? this[kProxyHeaders]["proxy-authorization"] = `Basic ${opts.auth}` : opts.token ? this[kProxyHeaders]["proxy-authorization"] = opts.token : username && password && (this[kProxyHeaders]["proxy-authorization"] = `Basic ${Buffer.from(`${decodeURIComponent(username)}:${decodeURIComponent(password)}`).toString("base64")}`); + const connect = buildConnector({ + ...opts.proxyTls + }); + this[kConnectEndpoint] = buildConnector({ + ...opts.requestTls + }), this[kClient] = clientFactory(resolvedUrl, { + connect + }), this[kAgent] = new Agent({ + ...opts, + connect: async (opts, callback) => { + let requestedHost = opts.host; + opts.port || (requestedHost += ":" + ("https:" === opts.protocol ? 443 : 80)); + try { + const {socket, statusCode} = await this[kClient].connect({ + origin, + port, + path: requestedHost, + signal: opts.signal, + headers: { + ...this[kProxyHeaders], + host + } + }); + if (200 !== statusCode && (socket.on("error", (() => {})).destroy(), callback(new RequestAbortedError(`Proxy response (${statusCode}) !== 200 when HTTP Tunneling`))), + "https:" !== opts.protocol) return void callback(null, socket); + let servername; + servername = this[kRequestTls] ? this[kRequestTls].servername : opts.servername, + this[kConnectEndpoint]({ + ...opts, + servername, + httpSocket: socket + }, callback); + } catch (err) { + callback(err); + } } - return Unit_getInstance(); - } - var tmp1_safe_receiver_0 = get_CHECKSTYLE_ERROR().lb(line); - if (null == tmp1_safe_receiver_0) ; else { - var tmp$ret$8, tmp1_plusAssign_0 = this.k1m_1, tmp_5 = this.m1m_1 + " " + removePrefix("[" + tmp1_safe_receiver_0.cc().g(5) + "] ", "[] ") + tmp1_safe_receiver_0.cc().g(4), tmp_6 = tmp1_safe_receiver_0.cc().g(1), tmp_7 = toInt_0(tmp1_safe_receiver_0.cc().g(2)), tmp0_takeIf_0 = tmp1_safe_receiver_0.cc().g(3), tmp2_plusAssign_0 = new GradleError(tmp_5, tmp_6, tmp_7, null == (tmp$ret$8 = isBlank(tmp0_takeIf_0) ? null : tmp0_takeIf_0) ? null : toInt_0(tmp$ret$8)); - tmp1_plusAssign_0.a(tmp2_plusAssign_0), Unit_getInstance(); - } - processJavaError(this, line); - }, GradleOutErrorCollector.prototype.z1m = function() { - var tmp0_safe_receiver = this.n1m_1; - if (null == tmp0_safe_receiver) ; else { - var tmp0_plusAssign = this.k1m_1, tmp1_plusAssign = GradleError_init_$Create$(this.m1m_1 + " " + tmp0_safe_receiver.cc().g(3) + "\n" + joinToString$default(this.o1m_1, "\n", null, null, 0, null, null, 62, null), tmp0_safe_receiver.cc().g(1), toInt_0(tmp0_safe_receiver.cc().g(2)), null, 8, null); - tmp0_plusAssign.a(tmp1_plusAssign), Unit_getInstance(); - } - this.n1m_1 = null, this.o1m_1.i6(); - }, _.$_$ = _.$_$ || {}, _.$_$.a = LaunchParams, _.$_$.b = install, _.$_$.c = launchGradle, - _.$_$.d = resolveDistribution, _; - }) ? __WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__) : __WEBPACK_AMD_DEFINE_FACTORY__) || (module.exports = __WEBPACK_AMD_DEFINE_RESULT__); + }); + } + dispatch(opts, handler) { + const {host} = new URL(opts.origin), headers = function(headers) { + if (Array.isArray(headers)) { + const headersPair = {}; + for (let i = 0; i < headers.length; i += 2) headersPair[headers[i]] = headers[i + 1]; + return headersPair; + } + return headers; + }(opts.headers); + return function(headers) { + const existProxyAuth = headers && Object.keys(headers).find((key => "proxy-authorization" === key.toLowerCase())); + if (existProxyAuth) throw new InvalidArgumentError("Proxy-Authorization should be sent in ProxyAgent constructor"); + }(headers), this[kAgent].dispatch({ + ...opts, + headers: { + ...headers, + host + } + }, handler); + } + async [kClose]() { + await this[kAgent].close(), await this[kClient].close(); + } + async [kDestroy]() { + await this[kAgent].destroy(), await this[kClient].destroy(); + } + }; }, - 4377: function(module, exports, __webpack_require__) { - var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; - __WEBPACK_AMD_DEFINE_ARRAY__ = [ exports, __webpack_require__(7742), __webpack_require__(6005), __webpack_require__(7561), __webpack_require__(2037), __webpack_require__(8744), __webpack_require__(3645), __webpack_require__(9925), __webpack_require__(7646), __webpack_require__(2528), __webpack_require__(3814), __webpack_require__(8585), __webpack_require__(1853) ], - void 0 === (__WEBPACK_AMD_DEFINE_RESULT__ = "function" == typeof (__WEBPACK_AMD_DEFINE_FACTORY__ = function(_, process, $module$node_crypto_ke3snv, $module$node_fs_4svwsv, $module$_actions_core_fx0i1v, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core, kotlin_org_jetbrains_kotlin_wrappers_kotlin_actions_toolkit, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_gradle_cache_action_wrappers_nodejs, kotlin_org_jetbrains_kotlin_wrappers_kotlin_node, kotlin_gradle_cache_action_wrappers_actions_toolkit, kotlin_gradle_cache_action_wrappers_js) { - "use strict"; - var Companion_instance, $serializer_instance, Companion_instance_0, $serializer_instance_0, Companion_instance_1, Companion_instance_2, $serializer_instance_1, createHash = $module$node_crypto_ke3snv.createHash, createReadStream = $module$node_fs_4svwsv.createReadStream, warning = $module$_actions_core_fx0i1v.warning, imul = Math.imul, objectMeta = kotlin_kotlin.$_$.n5, setMetadataFor = kotlin_kotlin.$_$.o5, PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g1, LongSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k, StringSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l, IntSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j, Unit_getInstance = kotlin_kotlin.$_$.d2, Long = kotlin_kotlin.$_$.t6, UnknownFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d, THROW_CCE = kotlin_kotlin.$_$.v6, typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c1, GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d1, throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i1, classMeta = kotlin_kotlin.$_$.x4, LinkedHashMapSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e1, _Char___init__impl__6a9atx = kotlin_kotlin.$_$.s1, lastIndexOf$default = kotlin_kotlin.$_$.j, padStart = kotlin_kotlin.$_$.a6, CoroutineImpl = kotlin_kotlin.$_$.m4, joinToString$default = kotlin_kotlin.$_$.f, create = kotlin_org_jetbrains_kotlin_wrappers_kotlin_actions_toolkit.$_$.e, get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.x3, await_0 = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a, sort = kotlin_kotlin.$_$.n3, get_normalizedPath = kotlin_gradle_cache_action_wrappers_nodejs.$_$.b, LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.z, arrayIterator = kotlin_kotlin.$_$.p4, stat = kotlin_org_jetbrains_kotlin_wrappers_kotlin_node.$_$.e, numberToLong = kotlin_kotlin.$_$.m5, startsWith$default = kotlin_kotlin.$_$.n, replace$default = kotlin_kotlin.$_$.m, pipeAndWait = kotlin_gradle_cache_action_wrappers_nodejs.$_$.d, substringAfterLast$default = kotlin_kotlin.$_$.o, stackTraceToString = kotlin_kotlin.$_$.h7, ActionFailedException = kotlin_gradle_cache_action_wrappers_actions_toolkit.$_$.a, formatBytes = kotlin_gradle_cache_action_wrappers_js.$_$.a, joinToString$default_0 = kotlin_kotlin.$_$.e, ArrayList_init_$Create$ = kotlin_kotlin.$_$.s, toString = kotlin_kotlin.$_$.r5, Map = kotlin_kotlin.$_$.i2, isInterface = kotlin_kotlin.$_$.g5, getStringHashCode = kotlin_kotlin.$_$.c5, numberToInt = kotlin_kotlin.$_$.l5; - function Companion() { - Companion_instance = this; + 6087: module => { + "use strict"; + let fastNowTimeout, fastNow = Date.now(); + const fastTimers = []; + function onTimeout() { + fastNow = Date.now(); + let len = fastTimers.length, idx = 0; + for (;idx < len; ) { + const timer = fastTimers[idx]; + 0 === timer.state ? timer.state = fastNow + timer.delay : timer.state > 0 && fastNow >= timer.state && (timer.state = -1, + timer.callback(timer.opaque)), -1 === timer.state ? (timer.state = -2, idx !== len - 1 ? fastTimers[idx] = fastTimers.pop() : fastTimers.pop(), + len -= 1) : idx += 1; + } + fastTimers.length > 0 && refreshTimeout(); + } + function refreshTimeout() { + fastNowTimeout && fastNowTimeout.refresh ? fastNowTimeout.refresh() : (clearTimeout(fastNowTimeout), + fastNowTimeout = setTimeout(onTimeout, 1e3), fastNowTimeout.unref && fastNowTimeout.unref()); + } + class Timeout { + constructor(callback, delay, opaque) { + this.callback = callback, this.delay = delay, this.opaque = opaque, this.state = -2, + this.refresh(); + } + refresh() { + -2 === this.state && (fastTimers.push(this), fastNowTimeout && 1 !== fastTimers.length || refreshTimeout()), + this.state = 0; } - function Companion_getInstance() { - return null == Companion_instance && new Companion, Companion_instance; + clear() { + this.state = -1; } - function $serializer() { - $serializer_instance = this; - var tmp0_serialDesc = new PluginGeneratedSerialDescriptor("com.github.burrunan.hashing.HashInfo", this, 3); - tmp0_serialDesc.b11("totalBytes", !1), tmp0_serialDesc.b11("hash", !1), tmp0_serialDesc.b11("totalFiles", !1), - this.v1e_1 = tmp0_serialDesc; + } + module.exports = { + setTimeout: (callback, delay, opaque) => delay < 1e3 ? setTimeout(callback, delay, opaque) : new Timeout(callback, delay, opaque), + clearTimeout(timeout) { + timeout instanceof Timeout ? timeout.clear() : clearTimeout(timeout); } - function $serializer_getInstance() { - return null == $serializer_instance && new $serializer, $serializer_instance; + }; + }, + 4741: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const diagnosticsChannel = __webpack_require__(1637), {uid, states} = __webpack_require__(3884), {kReadyState, kSentClose, kByteParser, kReceivedClose} = __webpack_require__(1884), {fireEvent, failWebsocketConnection} = __webpack_require__(645), {CloseEvent} = __webpack_require__(6072), {makeRequest} = __webpack_require__(8899), {fetching} = __webpack_require__(5306), {Headers} = __webpack_require__(5472), {getGlobalDispatcher} = __webpack_require__(5710), {kHeadersList} = __webpack_require__(8028), channels = {}; + let crypto; + channels.open = diagnosticsChannel.channel("undici:websocket:open"), channels.close = diagnosticsChannel.channel("undici:websocket:close"), + channels.socketError = diagnosticsChannel.channel("undici:websocket:socket_error"); + try { + crypto = __webpack_require__(6982); + } catch {} + function onSocketData(chunk) { + this.ws[kByteParser].write(chunk) || this.pause(); + } + function onSocketClose() { + const {ws} = this, wasClean = ws[kSentClose] && ws[kReceivedClose]; + let code = 1005, reason = ""; + const result = ws[kByteParser].closingInfo; + result ? (code = result.code ?? 1005, reason = result.reason) : ws[kSentClose] || (code = 1006), + ws[kReadyState] = states.CLOSED, fireEvent("close", ws, CloseEvent, { + wasClean, + code, + reason + }), channels.close.hasSubscribers && channels.close.publish({ + websocket: ws, + code, + reason + }); + } + function onSocketError(error) { + const {ws} = this; + ws[kReadyState] = states.CLOSING, channels.socketError.hasSubscribers && channels.socketError.publish(error), + this.destroy(); + } + module.exports = { + establishWebSocketConnection: function(url, protocols, ws, onEstablish, options) { + const requestURL = url; + requestURL.protocol = "ws:" === url.protocol ? "http:" : "https:"; + const request = makeRequest({ + urlList: [ requestURL ], + serviceWorkers: "none", + referrer: "no-referrer", + mode: "websocket", + credentials: "include", + cache: "no-store", + redirect: "error" + }); + if (options.headers) { + const headersList = new Headers(options.headers)[kHeadersList]; + request.headersList = headersList; + } + const keyValue = crypto.randomBytes(16).toString("base64"); + request.headersList.append("sec-websocket-key", keyValue), request.headersList.append("sec-websocket-version", "13"); + for (const protocol of protocols) request.headersList.append("sec-websocket-protocol", protocol); + return fetching({ + request, + useParallelQueue: !0, + dispatcher: options.dispatcher ?? getGlobalDispatcher(), + processResponse(response) { + if ("error" === response.type || 101 !== response.status) return void failWebsocketConnection(ws, "Received network error or non-101 status code."); + if (0 !== protocols.length && !response.headersList.get("Sec-WebSocket-Protocol")) return void failWebsocketConnection(ws, "Server did not respond with sent protocols."); + if ("websocket" !== response.headersList.get("Upgrade")?.toLowerCase()) return void failWebsocketConnection(ws, 'Server did not set Upgrade header to "websocket".'); + if ("upgrade" !== response.headersList.get("Connection")?.toLowerCase()) return void failWebsocketConnection(ws, 'Server did not set Connection header to "upgrade".'); + if (response.headersList.get("Sec-WebSocket-Accept") !== crypto.createHash("sha1").update(keyValue + uid).digest("base64")) return void failWebsocketConnection(ws, "Incorrect hash received in Sec-WebSocket-Accept header."); + const secExtension = response.headersList.get("Sec-WebSocket-Extensions"); + if (null !== secExtension && "" !== secExtension) return void failWebsocketConnection(ws, "Received different permessage-deflate than the one set."); + const secProtocol = response.headersList.get("Sec-WebSocket-Protocol"); + null === secProtocol || secProtocol === request.headersList.get("Sec-WebSocket-Protocol") ? (response.socket.on("data", onSocketData), + response.socket.on("close", onSocketClose), response.socket.on("error", onSocketError), + channels.open.hasSubscribers && channels.open.publish({ + address: response.socket.address(), + protocol: secProtocol, + extensions: secExtension + }), onEstablish(response)) : failWebsocketConnection(ws, "Protocol was not set in the opening handshake."); + } + }); } - function HashInfo_init_$Init$(seen1, totalBytes, hash, totalFiles, serializationConstructorMarker, $this) { - return 7 != (7 & seen1) && throwMissingFieldException(seen1, 7, $serializer_getInstance().v1e_1), - $this.x1e_1 = totalBytes, $this.y1e_1 = hash, $this.z1e_1 = totalFiles, $this; + }; + }, + 3884: module => { + "use strict"; + const emptyBuffer = Buffer.allocUnsafe(0); + module.exports = { + uid: "258EAFA5-E914-47DA-95CA-C5AB0DC85B11", + staticPropertyDescriptors: { + enumerable: !0, + writable: !1, + configurable: !1 + }, + states: { + CONNECTING: 0, + OPEN: 1, + CLOSING: 2, + CLOSED: 3 + }, + opcodes: { + CONTINUATION: 0, + TEXT: 1, + BINARY: 2, + CLOSE: 8, + PING: 9, + PONG: 10 + }, + maxUnsigned16Bit: 65535, + parserStates: { + INFO: 0, + PAYLOADLENGTH_16: 2, + PAYLOADLENGTH_64: 3, + READ_DATA: 4 + }, + emptyBuffer + }; + }, + 6072: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const {webidl} = __webpack_require__(769), {kEnumerableProperty} = __webpack_require__(8869), {MessagePort} = __webpack_require__(8167); + class MessageEvent extends Event { + #eventInit; + constructor(type, eventInitDict = {}) { + webidl.argumentLengthCheck(arguments, 1, { + header: "MessageEvent constructor" + }), super(type = webidl.converters.DOMString(type), eventInitDict = webidl.converters.MessageEventInit(eventInitDict)), + this.#eventInit = eventInitDict; + } + get data() { + return webidl.brandCheck(this, MessageEvent), this.#eventInit.data; } - function HashInfo_init_$Create$(seen1, totalBytes, hash, totalFiles, serializationConstructorMarker) { - return HashInfo_init_$Init$(seen1, totalBytes, hash, totalFiles, serializationConstructorMarker, Object.create(HashInfo.prototype)); + get origin() { + return webidl.brandCheck(this, MessageEvent), this.#eventInit.origin; + } + get lastEventId() { + return webidl.brandCheck(this, MessageEvent), this.#eventInit.lastEventId; + } + get source() { + return webidl.brandCheck(this, MessageEvent), this.#eventInit.source; + } + get ports() { + return webidl.brandCheck(this, MessageEvent), Object.isFrozen(this.#eventInit.ports) || Object.freeze(this.#eventInit.ports), + this.#eventInit.ports; + } + initMessageEvent(type, bubbles = !1, cancelable = !1, data = null, origin = "", lastEventId = "", source = null, ports = []) { + return webidl.brandCheck(this, MessageEvent), webidl.argumentLengthCheck(arguments, 1, { + header: "MessageEvent.initMessageEvent" + }), new MessageEvent(type, { + bubbles, + cancelable, + data, + origin, + lastEventId, + source, + ports + }); } - function HashInfo(totalBytes, hash, totalFiles) { - Companion_getInstance(), this.x1e_1 = totalBytes, this.y1e_1 = hash, this.z1e_1 = totalFiles; + } + class CloseEvent extends Event { + #eventInit; + constructor(type, eventInitDict = {}) { + webidl.argumentLengthCheck(arguments, 1, { + header: "CloseEvent constructor" + }), super(type = webidl.converters.DOMString(type), eventInitDict = webidl.converters.CloseEventInit(eventInitDict)), + this.#eventInit = eventInitDict; } - function Companion_0() { - Companion_instance_0 = this; + get wasClean() { + return webidl.brandCheck(this, CloseEvent), this.#eventInit.wasClean; } - function Companion_getInstance_0() { - return null == Companion_instance_0 && new Companion_0, Companion_instance_0; + get code() { + return webidl.brandCheck(this, CloseEvent), this.#eventInit.code; } - function $serializer_0() { - $serializer_instance_0 = this; - var tmp0_serialDesc = new PluginGeneratedSerialDescriptor("com.github.burrunan.hashing.HashContents", this, 1); - tmp0_serialDesc.b11("files", !1), this.a1f_1 = tmp0_serialDesc; + get reason() { + return webidl.brandCheck(this, CloseEvent), this.#eventInit.reason; } - function $serializer_getInstance_0() { - return null == $serializer_instance_0 && new $serializer_0, $serializer_instance_0; + } + class ErrorEvent extends Event { + #eventInit; + constructor(type, eventInitDict) { + webidl.argumentLengthCheck(arguments, 1, { + header: "ErrorEvent constructor" + }), super(type, eventInitDict), type = webidl.converters.DOMString(type), eventInitDict = webidl.converters.ErrorEventInit(eventInitDict ?? {}), + this.#eventInit = eventInitDict; } - function HashContents_init_$Init$(seen1, files, serializationConstructorMarker, $this) { - return 1 != (1 & seen1) && throwMissingFieldException(seen1, 1, $serializer_getInstance_0().a1f_1), - $this.c1f_1 = files, $this; + get message() { + return webidl.brandCheck(this, ErrorEvent), this.#eventInit.message; } - function HashContents_init_$Create$(seen1, files, serializationConstructorMarker) { - return HashContents_init_$Init$(seen1, files, serializationConstructorMarker, Object.create(HashContents.prototype)); + get filename() { + return webidl.brandCheck(this, ErrorEvent), this.#eventInit.filename; } - function HashContents(files) { - Companion_getInstance_0(), this.c1f_1 = files; + get lineno() { + return webidl.brandCheck(this, ErrorEvent), this.#eventInit.lineno; } - function Companion_1() { - Companion_instance_1 = this; + get colno() { + return webidl.brandCheck(this, ErrorEvent), this.#eventInit.colno; } - function Companion_getInstance_1() { - return null == Companion_instance_1 && new Companion_1, Companion_instance_1; + get error() { + return webidl.brandCheck(this, ErrorEvent), this.#eventInit.error; } - function HashDetails(info, contents) { - Companion_getInstance_1(), this.d1f_1 = info, this.e1f_1 = contents; + } + Object.defineProperties(MessageEvent.prototype, { + [Symbol.toStringTag]: { + value: "MessageEvent", + configurable: !0 + }, + data: kEnumerableProperty, + origin: kEnumerableProperty, + lastEventId: kEnumerableProperty, + source: kEnumerableProperty, + ports: kEnumerableProperty, + initMessageEvent: kEnumerableProperty + }), Object.defineProperties(CloseEvent.prototype, { + [Symbol.toStringTag]: { + value: "CloseEvent", + configurable: !0 + }, + reason: kEnumerableProperty, + code: kEnumerableProperty, + wasClean: kEnumerableProperty + }), Object.defineProperties(ErrorEvent.prototype, { + [Symbol.toStringTag]: { + value: "ErrorEvent", + configurable: !0 + }, + message: kEnumerableProperty, + filename: kEnumerableProperty, + lineno: kEnumerableProperty, + colno: kEnumerableProperty, + error: kEnumerableProperty + }), webidl.converters.MessagePort = webidl.interfaceConverter(MessagePort), webidl.converters["sequence"] = webidl.sequenceConverter(webidl.converters.MessagePort); + const eventInit = [ { + key: "bubbles", + converter: webidl.converters.boolean, + defaultValue: !1 + }, { + key: "cancelable", + converter: webidl.converters.boolean, + defaultValue: !1 + }, { + key: "composed", + converter: webidl.converters.boolean, + defaultValue: !1 + } ]; + webidl.converters.MessageEventInit = webidl.dictionaryConverter([ ...eventInit, { + key: "data", + converter: webidl.converters.any, + defaultValue: null + }, { + key: "origin", + converter: webidl.converters.USVString, + defaultValue: "" + }, { + key: "lastEventId", + converter: webidl.converters.DOMString, + defaultValue: "" + }, { + key: "source", + converter: webidl.nullableConverter(webidl.converters.MessagePort), + defaultValue: null + }, { + key: "ports", + converter: webidl.converters["sequence"], + get defaultValue() { + return []; + } + } ]), webidl.converters.CloseEventInit = webidl.dictionaryConverter([ ...eventInit, { + key: "wasClean", + converter: webidl.converters.boolean, + defaultValue: !1 + }, { + key: "code", + converter: webidl.converters["unsigned short"], + defaultValue: 0 + }, { + key: "reason", + converter: webidl.converters.USVString, + defaultValue: "" + } ]), webidl.converters.ErrorEventInit = webidl.dictionaryConverter([ ...eventInit, { + key: "message", + converter: webidl.converters.DOMString, + defaultValue: "" + }, { + key: "filename", + converter: webidl.converters.USVString, + defaultValue: "" + }, { + key: "lineno", + converter: webidl.converters["unsigned long"], + defaultValue: 0 + }, { + key: "colno", + converter: webidl.converters["unsigned long"], + defaultValue: 0 + }, { + key: "error", + converter: webidl.converters.any + } ]), module.exports = { + MessageEvent, + CloseEvent, + ErrorEvent + }; + }, + 7980: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const {maxUnsigned16Bit} = __webpack_require__(3884); + let crypto; + try { + crypto = __webpack_require__(6982); + } catch {} + module.exports = { + WebsocketFrameSend: class { + constructor(data) { + this.frameData = data, this.maskKey = crypto.randomBytes(4); + } + createFrame(opcode) { + const bodyLength = this.frameData?.byteLength ?? 0; + let payloadLength = bodyLength, offset = 6; + bodyLength > maxUnsigned16Bit ? (offset += 8, payloadLength = 127) : bodyLength > 125 && (offset += 2, + payloadLength = 126); + const buffer = Buffer.allocUnsafe(bodyLength + offset); + buffer[0] = buffer[1] = 0, buffer[0] |= 128, buffer[0] = (240 & buffer[0]) + opcode, + buffer[offset - 4] = this.maskKey[0], buffer[offset - 3] = this.maskKey[1], buffer[offset - 2] = this.maskKey[2], + buffer[offset - 1] = this.maskKey[3], buffer[1] = payloadLength, 126 === payloadLength ? buffer.writeUInt16BE(bodyLength, 2) : 127 === payloadLength && (buffer[2] = buffer[3] = 0, + buffer.writeUIntBE(bodyLength, 4, 6)), buffer[1] |= 128; + for (let i = 0; i < bodyLength; i++) buffer[offset + i] = this.frameData[i] ^ this.maskKey[i % 4]; + return buffer; + } } - function hashFilesDetailed(paths, algorithm, includeFileName, $cont) { - var tmp = new $hashFilesDetailedCOROUTINE$0(paths, algorithm, includeFileName, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); + }; + }, + 752: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const {Writable} = __webpack_require__(2203), diagnosticsChannel = __webpack_require__(1637), {parserStates, opcodes, states, emptyBuffer} = __webpack_require__(3884), {kReadyState, kSentClose, kResponse, kReceivedClose} = __webpack_require__(1884), {isValidStatusCode, failWebsocketConnection, websocketMessageReceived} = __webpack_require__(645), {WebsocketFrameSend} = __webpack_require__(7980), channels = {}; + channels.ping = diagnosticsChannel.channel("undici:websocket:ping"), channels.pong = diagnosticsChannel.channel("undici:websocket:pong"); + module.exports = { + ByteParser: class extends Writable { + #buffers=[]; + #byteOffset=0; + #state=parserStates.INFO; + #info={}; + #fragments=[]; + constructor(ws) { + super(), this.ws = ws; + } + _write(chunk, _, callback) { + this.#buffers.push(chunk), this.#byteOffset += chunk.length, this.run(callback); + } + run(callback) { + for (;;) { + if (this.#state === parserStates.INFO) { + if (this.#byteOffset < 2) return callback(); + const buffer = this.consume(2); + if (this.#info.fin = !!(128 & buffer[0]), this.#info.opcode = 15 & buffer[0], this.#info.originalOpcode ??= this.#info.opcode, + this.#info.fragmented = !this.#info.fin && this.#info.opcode !== opcodes.CONTINUATION, + this.#info.fragmented && this.#info.opcode !== opcodes.BINARY && this.#info.opcode !== opcodes.TEXT) return void failWebsocketConnection(this.ws, "Invalid frame type was fragmented."); + const payloadLength = 127 & buffer[1]; + if (payloadLength <= 125 ? (this.#info.payloadLength = payloadLength, this.#state = parserStates.READ_DATA) : 126 === payloadLength ? this.#state = parserStates.PAYLOADLENGTH_16 : 127 === payloadLength && (this.#state = parserStates.PAYLOADLENGTH_64), + this.#info.fragmented && payloadLength > 125) return void failWebsocketConnection(this.ws, "Fragmented frame exceeded 125 bytes."); + if ((this.#info.opcode === opcodes.PING || this.#info.opcode === opcodes.PONG || this.#info.opcode === opcodes.CLOSE) && payloadLength > 125) return void failWebsocketConnection(this.ws, "Payload length for control frame exceeded 125 bytes."); + if (this.#info.opcode === opcodes.CLOSE) { + if (1 === payloadLength) return void failWebsocketConnection(this.ws, "Received close frame with a 1-byte body."); + const body = this.consume(payloadLength); + if (this.#info.closeInfo = this.parseCloseBody(!1, body), !this.ws[kSentClose]) { + const body = Buffer.allocUnsafe(2); + body.writeUInt16BE(this.#info.closeInfo.code, 0); + const closeFrame = new WebsocketFrameSend(body); + this.ws[kResponse].socket.write(closeFrame.createFrame(opcodes.CLOSE), (err => { + err || (this.ws[kSentClose] = !0); + })); + } + return this.ws[kReadyState] = states.CLOSING, this.ws[kReceivedClose] = !0, void this.end(); + } + if (this.#info.opcode === opcodes.PING) { + const body = this.consume(payloadLength); + if (!this.ws[kReceivedClose]) { + const frame = new WebsocketFrameSend(body); + this.ws[kResponse].socket.write(frame.createFrame(opcodes.PONG)), channels.ping.hasSubscribers && channels.ping.publish({ + payload: body + }); + } + if (this.#state = parserStates.INFO, this.#byteOffset > 0) continue; + return void callback(); + } + if (this.#info.opcode === opcodes.PONG) { + const body = this.consume(payloadLength); + if (channels.pong.hasSubscribers && channels.pong.publish({ + payload: body + }), this.#byteOffset > 0) continue; + return void callback(); + } + } else if (this.#state === parserStates.PAYLOADLENGTH_16) { + if (this.#byteOffset < 2) return callback(); + const buffer = this.consume(2); + this.#info.payloadLength = buffer.readUInt16BE(0), this.#state = parserStates.READ_DATA; + } else if (this.#state === parserStates.PAYLOADLENGTH_64) { + if (this.#byteOffset < 8) return callback(); + const buffer = this.consume(8), upper = buffer.readUInt32BE(0); + if (upper > 2 ** 31 - 1) return void failWebsocketConnection(this.ws, "Received payload length > 2^31 bytes."); + const lower = buffer.readUInt32BE(4); + this.#info.payloadLength = (upper << 8) + lower, this.#state = parserStates.READ_DATA; + } else if (this.#state === parserStates.READ_DATA) { + if (this.#byteOffset < this.#info.payloadLength) return callback(); + if (this.#byteOffset >= this.#info.payloadLength) { + const body = this.consume(this.#info.payloadLength); + if (this.#fragments.push(body), !this.#info.fragmented || this.#info.fin && this.#info.opcode === opcodes.CONTINUATION) { + const fullMessage = Buffer.concat(this.#fragments); + websocketMessageReceived(this.ws, this.#info.originalOpcode, fullMessage), this.#info = {}, + this.#fragments.length = 0; + } + this.#state = parserStates.INFO; + } + } + if (!(this.#byteOffset > 0)) { + callback(); + break; + } + } + } + consume(n) { + if (n > this.#byteOffset) return null; + if (0 === n) return emptyBuffer; + if (this.#buffers[0].length === n) return this.#byteOffset -= this.#buffers[0].length, + this.#buffers.shift(); + const buffer = Buffer.allocUnsafe(n); + let offset = 0; + for (;offset !== n; ) { + const next = this.#buffers[0], {length} = next; + if (length + offset === n) { + buffer.set(this.#buffers.shift(), offset); + break; + } + if (length + offset > n) { + buffer.set(next.subarray(0, n - offset), offset), this.#buffers[0] = next.subarray(n - offset); + break; + } + buffer.set(this.#buffers.shift(), offset), offset += next.length; + } + return this.#byteOffset -= n, buffer; + } + parseCloseBody(onlyCode, data) { + let code; + if (data.length >= 2 && (code = data.readUInt16BE(0)), onlyCode) return isValidStatusCode(code) ? { + code + } : null; + let reason = data.subarray(2); + if (239 === reason[0] && 187 === reason[1] && 191 === reason[2] && (reason = reason.subarray(3)), + void 0 !== code && !isValidStatusCode(code)) return null; + try { + reason = new TextDecoder("utf-8", { + fatal: !0 + }).decode(reason); + } catch { + return null; + } + return { + code, + reason + }; + } + get closingInfo() { + return this.#info.closeInfo; + } } - function hashFilesDetailed$default(paths, algorithm, includeFileName, $cont, $mask0, $handler) { - return 0 != (2 & $mask0) && (algorithm = "sha1"), 0 != (4 & $mask0) && (includeFileName = !0), - hashFilesDetailed(paths, algorithm, includeFileName, $cont); + }; + }, + 1884: module => { + "use strict"; + module.exports = { + kWebSocketURL: Symbol("url"), + kReadyState: Symbol("ready state"), + kController: Symbol("controller"), + kResponse: Symbol("response"), + kBinaryType: Symbol("binary type"), + kSentClose: Symbol("sent close"), + kReceivedClose: Symbol("received close"), + kByteParser: Symbol("byte parser") + }; + }, + 645: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const {kReadyState, kController, kResponse, kBinaryType, kWebSocketURL} = __webpack_require__(1884), {states, opcodes} = __webpack_require__(3884), {MessageEvent, ErrorEvent} = __webpack_require__(6072); + function fireEvent(e, target, eventConstructor = Event, eventInitDict) { + const event = new eventConstructor(e, eventInitDict); + target.dispatchEvent(event); + } + function failWebsocketConnection(ws, reason) { + const {[kController]: controller, [kResponse]: response} = ws; + controller.abort(), response?.socket && !response.socket.destroyed && response.socket.destroy(), + reason && fireEvent("error", ws, ErrorEvent, { + error: new Error(reason) + }); + } + module.exports = { + isEstablished: function(ws) { + return ws[kReadyState] === states.OPEN; + }, + isClosing: function(ws) { + return ws[kReadyState] === states.CLOSING; + }, + isClosed: function(ws) { + return ws[kReadyState] === states.CLOSED; + }, + fireEvent, + isValidSubprotocol: function(protocol) { + if (0 === protocol.length) return !1; + for (const char of protocol) { + const code = char.charCodeAt(0); + if (code < 33 || code > 126 || "(" === char || ")" === char || "<" === char || ">" === char || "@" === char || "," === char || ";" === char || ":" === char || "\\" === char || '"' === char || "/" === char || "[" === char || "]" === char || "?" === char || "=" === char || "{" === char || "}" === char || 32 === code || 9 === code) return !1; + } + return !0; + }, + isValidStatusCode: function(code) { + return code >= 1e3 && code < 1015 ? 1004 !== code && 1005 !== code && 1006 !== code : code >= 3e3 && code <= 4999; + }, + failWebsocketConnection, + websocketMessageReceived: function(ws, type, data) { + if (ws[kReadyState] !== states.OPEN) return; + let dataForEvent; + if (type === opcodes.TEXT) try { + dataForEvent = new TextDecoder("utf-8", { + fatal: !0 + }).decode(data); + } catch { + return void failWebsocketConnection(ws, "Received invalid UTF-8 in text frame."); + } else type === opcodes.BINARY && (dataForEvent = "blob" === ws[kBinaryType] ? new Blob([ data ]) : new Uint8Array(data).buffer); + fireEvent("message", ws, MessageEvent, { + origin: ws[kWebSocketURL].origin, + data: dataForEvent + }); } - function Companion_2() { - Companion_instance_2 = this; + }; + }, + 9658: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const {webidl} = __webpack_require__(769), {DOMException} = __webpack_require__(3771), {URLSerializer} = __webpack_require__(3587), {getGlobalOrigin} = __webpack_require__(6367), {staticPropertyDescriptors, states, opcodes, emptyBuffer} = __webpack_require__(3884), {kWebSocketURL, kReadyState, kController, kBinaryType, kResponse, kSentClose, kByteParser} = __webpack_require__(1884), {isEstablished, isClosing, isValidSubprotocol, failWebsocketConnection, fireEvent} = __webpack_require__(645), {establishWebSocketConnection} = __webpack_require__(4741), {WebsocketFrameSend} = __webpack_require__(7980), {ByteParser} = __webpack_require__(752), {kEnumerableProperty, isBlobLike} = __webpack_require__(8869), {getGlobalDispatcher} = __webpack_require__(5710), {types} = __webpack_require__(9023); + let experimentalWarned = !1; + class WebSocket extends EventTarget { + #events={ + open: null, + error: null, + close: null, + message: null + }; + #bufferedAmount=0; + #protocol=""; + #extensions=""; + constructor(url, protocols = []) { + super(), webidl.argumentLengthCheck(arguments, 1, { + header: "WebSocket constructor" + }), experimentalWarned || (experimentalWarned = !0, process.emitWarning("WebSockets are experimental, expect them to change at any time.", { + code: "UNDICI-WS" + })); + const options = webidl.converters["DOMString or sequence or WebSocketInit"](protocols); + url = webidl.converters.USVString(url), protocols = options.protocols; + const baseURL = getGlobalOrigin(); + let urlRecord; + try { + urlRecord = new URL(url, baseURL); + } catch (e) { + throw new DOMException(e, "SyntaxError"); + } + if ("http:" === urlRecord.protocol ? urlRecord.protocol = "ws:" : "https:" === urlRecord.protocol && (urlRecord.protocol = "wss:"), + "ws:" !== urlRecord.protocol && "wss:" !== urlRecord.protocol) throw new DOMException(`Expected a ws: or wss: protocol, got ${urlRecord.protocol}`, "SyntaxError"); + if (urlRecord.hash || urlRecord.href.endsWith("#")) throw new DOMException("Got fragment", "SyntaxError"); + if ("string" == typeof protocols && (protocols = [ protocols ]), protocols.length !== new Set(protocols.map((p => p.toLowerCase()))).size) throw new DOMException("Invalid Sec-WebSocket-Protocol value", "SyntaxError"); + if (protocols.length > 0 && !protocols.every((p => isValidSubprotocol(p)))) throw new DOMException("Invalid Sec-WebSocket-Protocol value", "SyntaxError"); + this[kWebSocketURL] = new URL(urlRecord.href), this[kController] = establishWebSocketConnection(urlRecord, protocols, this, (response => this.#onConnectionEstablished(response)), options), + this[kReadyState] = WebSocket.CONNECTING, this[kBinaryType] = "blob"; + } + close(code = void 0, reason = void 0) { + if (webidl.brandCheck(this, WebSocket), void 0 !== code && (code = webidl.converters["unsigned short"](code, { + clamp: !0 + })), void 0 !== reason && (reason = webidl.converters.USVString(reason)), void 0 !== code && 1e3 !== code && (code < 3e3 || code > 4999)) throw new DOMException("invalid code", "InvalidAccessError"); + let reasonByteLength = 0; + if (void 0 !== reason && (reasonByteLength = Buffer.byteLength(reason), reasonByteLength > 123)) throw new DOMException(`Reason must be less than 123 bytes; received ${reasonByteLength}`, "SyntaxError"); + if (this[kReadyState] === WebSocket.CLOSING || this[kReadyState] === WebSocket.CLOSED) ; else if (isEstablished(this)) if (isClosing(this)) this[kReadyState] = WebSocket.CLOSING; else { + const frame = new WebsocketFrameSend; + void 0 !== code && void 0 === reason ? (frame.frameData = Buffer.allocUnsafe(2), + frame.frameData.writeUInt16BE(code, 0)) : void 0 !== code && void 0 !== reason ? (frame.frameData = Buffer.allocUnsafe(2 + reasonByteLength), + frame.frameData.writeUInt16BE(code, 0), frame.frameData.write(reason, 2, "utf-8")) : frame.frameData = emptyBuffer; + this[kResponse].socket.write(frame.createFrame(opcodes.CLOSE), (err => { + err || (this[kSentClose] = !0); + })), this[kReadyState] = states.CLOSING; + } else failWebsocketConnection(this, "Connection was closed before it was established."), + this[kReadyState] = WebSocket.CLOSING; + } + send(data) { + if (webidl.brandCheck(this, WebSocket), webidl.argumentLengthCheck(arguments, 1, { + header: "WebSocket.send" + }), data = webidl.converters.WebSocketSendData(data), this[kReadyState] === WebSocket.CONNECTING) throw new DOMException("Sent before connected.", "InvalidStateError"); + if (!isEstablished(this) || isClosing(this)) return; + const socket = this[kResponse].socket; + if ("string" == typeof data) { + const value = Buffer.from(data), buffer = new WebsocketFrameSend(value).createFrame(opcodes.TEXT); + this.#bufferedAmount += value.byteLength, socket.write(buffer, (() => { + this.#bufferedAmount -= value.byteLength; + })); + } else if (types.isArrayBuffer(data)) { + const value = Buffer.from(data), buffer = new WebsocketFrameSend(value).createFrame(opcodes.BINARY); + this.#bufferedAmount += value.byteLength, socket.write(buffer, (() => { + this.#bufferedAmount -= value.byteLength; + })); + } else if (ArrayBuffer.isView(data)) { + const ab = Buffer.from(data, data.byteOffset, data.byteLength), buffer = new WebsocketFrameSend(ab).createFrame(opcodes.BINARY); + this.#bufferedAmount += ab.byteLength, socket.write(buffer, (() => { + this.#bufferedAmount -= ab.byteLength; + })); + } else if (isBlobLike(data)) { + const frame = new WebsocketFrameSend; + data.arrayBuffer().then((ab => { + const value = Buffer.from(ab); + frame.frameData = value; + const buffer = frame.createFrame(opcodes.BINARY); + this.#bufferedAmount += value.byteLength, socket.write(buffer, (() => { + this.#bufferedAmount -= value.byteLength; + })); + })); + } } - function Companion_getInstance_2() { - return null == Companion_instance_2 && new Companion_2, Companion_instance_2; + get readyState() { + return webidl.brandCheck(this, WebSocket), this[kReadyState]; } - function $serializer_1() { - $serializer_instance_1 = this; - var tmp0_serialDesc = new PluginGeneratedSerialDescriptor("com.github.burrunan.hashing.FileDetails", this, 2); - tmp0_serialDesc.b11("fileSize", !1), tmp0_serialDesc.b11("hash", !1), this.g1g_1 = tmp0_serialDesc; + get bufferedAmount() { + return webidl.brandCheck(this, WebSocket), this.#bufferedAmount; } - function $serializer_getInstance_1() { - return null == $serializer_instance_1 && new $serializer_1, $serializer_instance_1; + get url() { + return webidl.brandCheck(this, WebSocket), URLSerializer(this[kWebSocketURL]); } - function FileDetails_init_$Init$(seen1, fileSize, hash, serializationConstructorMarker, $this) { - return 3 != (3 & seen1) && throwMissingFieldException(seen1, 3, $serializer_getInstance_1().g1g_1), - $this.i1g_1 = fileSize, $this.j1g_1 = hash, $this; + get extensions() { + return webidl.brandCheck(this, WebSocket), this.#extensions; } - function FileDetails_init_$Create$(seen1, fileSize, hash, serializationConstructorMarker) { - return FileDetails_init_$Init$(seen1, fileSize, hash, serializationConstructorMarker, Object.create(FileDetails.prototype)); + get protocol() { + return webidl.brandCheck(this, WebSocket), this.#protocol; + } + get onopen() { + return webidl.brandCheck(this, WebSocket), this.#events.open; + } + set onopen(fn) { + webidl.brandCheck(this, WebSocket), this.#events.open && this.removeEventListener("open", this.#events.open), + "function" == typeof fn ? (this.#events.open = fn, this.addEventListener("open", fn)) : this.#events.open = null; + } + get onerror() { + return webidl.brandCheck(this, WebSocket), this.#events.error; + } + set onerror(fn) { + webidl.brandCheck(this, WebSocket), this.#events.error && this.removeEventListener("error", this.#events.error), + "function" == typeof fn ? (this.#events.error = fn, this.addEventListener("error", fn)) : this.#events.error = null; + } + get onclose() { + return webidl.brandCheck(this, WebSocket), this.#events.close; + } + set onclose(fn) { + webidl.brandCheck(this, WebSocket), this.#events.close && this.removeEventListener("close", this.#events.close), + "function" == typeof fn ? (this.#events.close = fn, this.addEventListener("close", fn)) : this.#events.close = null; + } + get onmessage() { + return webidl.brandCheck(this, WebSocket), this.#events.message; + } + set onmessage(fn) { + webidl.brandCheck(this, WebSocket), this.#events.message && this.removeEventListener("message", this.#events.message), + "function" == typeof fn ? (this.#events.message = fn, this.addEventListener("message", fn)) : this.#events.message = null; + } + get binaryType() { + return webidl.brandCheck(this, WebSocket), this[kBinaryType]; + } + set binaryType(type) { + webidl.brandCheck(this, WebSocket), this[kBinaryType] = "blob" !== type && "arraybuffer" !== type ? "blob" : type; + } + #onConnectionEstablished(response) { + this[kResponse] = response; + const parser = new ByteParser(this); + parser.on("drain", (function() { + this.ws[kResponse].socket.resume(); + })), response.socket.ws = this, this[kByteParser] = parser, this[kReadyState] = states.OPEN; + const extensions = response.headersList.get("sec-websocket-extensions"); + null !== extensions && (this.#extensions = extensions); + const protocol = response.headersList.get("sec-websocket-protocol"); + null !== protocol && (this.#protocol = protocol), fireEvent("open", this); + } + } + WebSocket.CONNECTING = WebSocket.prototype.CONNECTING = states.CONNECTING, WebSocket.OPEN = WebSocket.prototype.OPEN = states.OPEN, + WebSocket.CLOSING = WebSocket.prototype.CLOSING = states.CLOSING, WebSocket.CLOSED = WebSocket.prototype.CLOSED = states.CLOSED, + Object.defineProperties(WebSocket.prototype, { + CONNECTING: staticPropertyDescriptors, + OPEN: staticPropertyDescriptors, + CLOSING: staticPropertyDescriptors, + CLOSED: staticPropertyDescriptors, + url: kEnumerableProperty, + readyState: kEnumerableProperty, + bufferedAmount: kEnumerableProperty, + onopen: kEnumerableProperty, + onerror: kEnumerableProperty, + onclose: kEnumerableProperty, + close: kEnumerableProperty, + onmessage: kEnumerableProperty, + binaryType: kEnumerableProperty, + send: kEnumerableProperty, + extensions: kEnumerableProperty, + protocol: kEnumerableProperty, + [Symbol.toStringTag]: { + value: "WebSocket", + writable: !1, + enumerable: !1, + configurable: !0 + } + }), Object.defineProperties(WebSocket, { + CONNECTING: staticPropertyDescriptors, + OPEN: staticPropertyDescriptors, + CLOSING: staticPropertyDescriptors, + CLOSED: staticPropertyDescriptors + }), webidl.converters["sequence"] = webidl.sequenceConverter(webidl.converters.DOMString), + webidl.converters["DOMString or sequence"] = function(V) { + return "Object" === webidl.util.Type(V) && Symbol.iterator in V ? webidl.converters["sequence"](V) : webidl.converters.DOMString(V); + }, webidl.converters.WebSocketInit = webidl.dictionaryConverter([ { + key: "protocols", + converter: webidl.converters["DOMString or sequence"], + get defaultValue() { + return []; + } + }, { + key: "dispatcher", + converter: V => V, + get defaultValue() { + return getGlobalDispatcher(); + } + }, { + key: "headers", + converter: webidl.nullableConverter(webidl.converters.HeadersInit) + } ]), webidl.converters["DOMString or sequence or WebSocketInit"] = function(V) { + return "Object" !== webidl.util.Type(V) || Symbol.iterator in V ? { + protocols: webidl.converters["DOMString or sequence"](V) + } : webidl.converters.WebSocketInit(V); + }, webidl.converters.WebSocketSendData = function(V) { + if ("Object" === webidl.util.Type(V)) { + if (isBlobLike(V)) return webidl.converters.Blob(V, { + strict: !1 + }); + if (ArrayBuffer.isView(V) || types.isAnyArrayBuffer(V)) return webidl.converters.BufferSource(V); } - function FileDetails(fileSize, hash) { - Companion_getInstance_2(), this.i1g_1 = fileSize, this.j1g_1 = hash; + return webidl.converters.USVString(V); + }, module.exports = { + WebSocket + }; + }, + 5478: (__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + "use strict"; + __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, { + NIL: () => nil, + parse: () => esm_node_parse, + stringify: () => esm_node_stringify, + v1: () => esm_node_v1, + v3: () => esm_node_v3, + v4: () => esm_node_v4, + v5: () => esm_node_v5, + validate: () => esm_node_validate, + version: () => esm_node_version + }); + var external_crypto_ = __webpack_require__(6982), external_crypto_default = __webpack_require__.n(external_crypto_); + const rnds8Pool = new Uint8Array(256); + let poolPtr = rnds8Pool.length; + function rng() { + return poolPtr > rnds8Pool.length - 16 && (external_crypto_default().randomFillSync(rnds8Pool), + poolPtr = 0), rnds8Pool.slice(poolPtr, poolPtr += 16); + } + const regex = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i; + const esm_node_validate = function(uuid) { + return "string" == typeof uuid && regex.test(uuid); + }, byteToHex = []; + for (let i = 0; i < 256; ++i) byteToHex.push((i + 256).toString(16).substr(1)); + const esm_node_stringify = function(arr, offset = 0) { + const uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + "-" + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + "-" + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + "-" + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + "-" + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); + if (!esm_node_validate(uuid)) throw TypeError("Stringified UUID is invalid"); + return uuid; + }; + let _nodeId, _clockseq, _lastMSecs = 0, _lastNSecs = 0; + const esm_node_v1 = function(options, buf, offset) { + let i = buf && offset || 0; + const b = buf || new Array(16); + let node = (options = options || {}).node || _nodeId, clockseq = void 0 !== options.clockseq ? options.clockseq : _clockseq; + if (null == node || null == clockseq) { + const seedBytes = options.random || (options.rng || rng)(); + null == node && (node = _nodeId = [ 1 | seedBytes[0], seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5] ]), + null == clockseq && (clockseq = _clockseq = 16383 & (seedBytes[6] << 8 | seedBytes[7])); } - function sha1FromModulesFileName(key) { - var tmp$ret$1, tmp = _Char___init__impl__6a9atx(47), lastSlash = lastIndexOf$default(key, tmp, 0, !1, 6, null), tmp_0 = _Char___init__impl__6a9atx(47), hashStart = lastIndexOf$default(key, tmp_0, lastSlash - 1 | 0, !1, 4, null) + 1 | 0; - return tmp$ret$1 = key.substring(hashStart, lastSlash), padStart(tmp$ret$1, 40, _Char___init__impl__6a9atx(48)); + let msecs = void 0 !== options.msecs ? options.msecs : Date.now(), nsecs = void 0 !== options.nsecs ? options.nsecs : _lastNSecs + 1; + const dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 1e4; + if (dt < 0 && void 0 === options.clockseq && (clockseq = clockseq + 1 & 16383), + (dt < 0 || msecs > _lastMSecs) && void 0 === options.nsecs && (nsecs = 0), nsecs >= 1e4) throw new Error("uuid.v1(): Can't create more than 10M uuids/sec"); + _lastMSecs = msecs, _lastNSecs = nsecs, _clockseq = clockseq, msecs += 122192928e5; + const tl = (1e4 * (268435455 & msecs) + nsecs) % 4294967296; + b[i++] = tl >>> 24 & 255, b[i++] = tl >>> 16 & 255, b[i++] = tl >>> 8 & 255, b[i++] = 255 & tl; + const tmh = msecs / 4294967296 * 1e4 & 268435455; + b[i++] = tmh >>> 8 & 255, b[i++] = 255 & tmh, b[i++] = tmh >>> 24 & 15 | 16, b[i++] = tmh >>> 16 & 255, + b[i++] = clockseq >>> 8 | 128, b[i++] = 255 & clockseq; + for (let n = 0; n < 6; ++n) b[i + n] = node[n]; + return buf || esm_node_stringify(b); + }; + const esm_node_parse = function(uuid) { + if (!esm_node_validate(uuid)) throw TypeError("Invalid UUID"); + let v; + const arr = new Uint8Array(16); + return arr[0] = (v = parseInt(uuid.slice(0, 8), 16)) >>> 24, arr[1] = v >>> 16 & 255, + arr[2] = v >>> 8 & 255, arr[3] = 255 & v, arr[4] = (v = parseInt(uuid.slice(9, 13), 16)) >>> 8, + arr[5] = 255 & v, arr[6] = (v = parseInt(uuid.slice(14, 18), 16)) >>> 8, arr[7] = 255 & v, + arr[8] = (v = parseInt(uuid.slice(19, 23), 16)) >>> 8, arr[9] = 255 & v, arr[10] = (v = parseInt(uuid.slice(24, 36), 16)) / 1099511627776 & 255, + arr[11] = v / 4294967296 & 255, arr[12] = v >>> 24 & 255, arr[13] = v >>> 16 & 255, + arr[14] = v >>> 8 & 255, arr[15] = 255 & v, arr; + }; + function v35(name, version, hashfunc) { + function generateUUID(value, namespace, buf, offset) { + if ("string" == typeof value && (value = function(str) { + str = unescape(encodeURIComponent(str)); + const bytes = []; + for (let i = 0; i < str.length; ++i) bytes.push(str.charCodeAt(i)); + return bytes; + }(value)), "string" == typeof namespace && (namespace = esm_node_parse(namespace)), + 16 !== namespace.length) throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)"); + let bytes = new Uint8Array(16 + value.length); + if (bytes.set(namespace), bytes.set(value, namespace.length), bytes = hashfunc(bytes), + bytes[6] = 15 & bytes[6] | version, bytes[8] = 63 & bytes[8] | 128, buf) { + offset = offset || 0; + for (let i = 0; i < 16; ++i) buf[offset + i] = bytes[i]; + return buf; + } + return esm_node_stringify(bytes); } - function $hashFilesDetailedCOROUTINE$0(paths, algorithm, includeFileName, resultContinuation) { - CoroutineImpl.call(this, resultContinuation), this.n1f_1 = paths, this.o1f_1 = algorithm, - this.p1f_1 = includeFileName; + try { + generateUUID.name = name; + } catch (err) {} + return generateUUID.DNS = "6ba7b810-9dad-11d1-80b4-00c04fd430c8", generateUUID.URL = "6ba7b811-9dad-11d1-80b4-00c04fd430c8", + generateUUID; + } + const esm_node_v3 = v35("v3", 48, (function(bytes) { + return Array.isArray(bytes) ? bytes = Buffer.from(bytes) : "string" == typeof bytes && (bytes = Buffer.from(bytes, "utf8")), + external_crypto_default().createHash("md5").update(bytes).digest(); + })); + const esm_node_v4 = function(options, buf, offset) { + const rnds = (options = options || {}).random || (options.rng || rng)(); + if (rnds[6] = 15 & rnds[6] | 64, rnds[8] = 63 & rnds[8] | 128, buf) { + offset = offset || 0; + for (let i = 0; i < 16; ++i) buf[offset + i] = rnds[i]; + return buf; } - function Diff(newFiles, totalUpdated, totalDeleted, messages, updatedFiles, deletedFiles) { - this.k1g_1 = newFiles, this.l1g_1 = totalUpdated, this.m1g_1 = totalDeleted, this.n1g_1 = messages, - this.o1g_1 = updatedFiles, this.p1g_1 = deletedFiles; - } - function diff(oldContents, newContents, maxUpdatesToPrint) { - for (var messages = ArrayList_init_$Create$(), updatedFiles = ArrayList_init_$Create$(), deletedFiles = ArrayList_init_$Create$(), newFiles = 0, totalUpdated = new Long(0, 0), totalDeleted = new Long(0, 0), tmp0_iterator_0 = newContents.c1f_1.h1().d(); tmp0_iterator_0.e(); ) { - var tmp, tmp1_loop_parameter = tmp0_iterator_0.f(), file = tmp1_loop_parameter.e1(), hash = tmp1_loop_parameter.g1(), oldHash = oldContents.c1f_1.v1(file); - (null == oldHash ? null : oldHash.j1g_1) !== hash.j1g_1 && (updatedFiles.a(file), - messages.c() >= maxUpdatesToPrint || (null == oldHash ? (newFiles = newFiles + 1 | 0, - totalUpdated = totalUpdated.w4(hash.i1g_1), tmp = "N " + toString(hash.i1g_1) + " " + file + " " + hash.j1g_1) : (totalUpdated = totalUpdated.w4(hash.i1g_1), - tmp = "U " + toString(hash.i1g_1) + " " + file + " " + toString(oldHash.i1g_1) + " " + oldHash.j1g_1 + " => " + hash.j1g_1), - messages.a(tmp))); - } - if ((oldContents.c1f_1.c() + newFiles | 0) !== newContents.c1f_1.c()) for (var tmp3_iterator = oldContents.c1f_1.h1().d(); tmp3_iterator.e(); ) { - var tmp4_loop_parameter = tmp3_iterator.f(), file_0 = tmp4_loop_parameter.e1(), hash_0 = tmp4_loop_parameter.g1(), tmp2_contains = newContents.c1f_1; - (isInterface(tmp2_contains, Map) ? tmp2_contains : THROW_CCE()).p1(file_0) || (deletedFiles.a(file_0), - totalDeleted = totalDeleted.w4(hash_0.i1g_1), messages.c() < maxUpdatesToPrint && messages.a("D " + file_0 + " " + hash_0)); + return esm_node_stringify(rnds); + }; + const esm_node_v5 = v35("v5", 80, (function(bytes) { + return Array.isArray(bytes) ? bytes = Buffer.from(bytes) : "string" == typeof bytes && (bytes = Buffer.from(bytes, "utf8")), + external_crypto_default().createHash("sha1").update(bytes).digest(); + })), nil = "00000000-0000-0000-0000-000000000000"; + const esm_node_version = function(uuid) { + if (!esm_node_validate(uuid)) throw TypeError("Invalid UUID"); + return parseInt(uuid.substr(14, 1), 16); + }; + }, + 1718: (module, __unused_webpack_exports, __webpack_require__) => { + !function(_, $module$_actions_core_fx0i1v, node_process_process_dcpv5o, $module$string_argv_8hgmbc, node_path_path_1155cy, $module$_actions_io_79d2l8, kotlin_kotlin, kotlin_gradle_cache_action_layered_cache, kotlin_gradle_cache_action_wrappers_actions_toolkit, kotlin_gradle_cache_action_gradle_launcher, kotlin_gradle_cache_action_wrappers_octokit_webhooks, kotlin_gradle_cache_action_cache_proxy, kotlin_gradle_cache_action_wrappers_nodejs, kotlin_org_jetbrains_kotlin_wrappers_kotlin_js, kotlin_org_jetbrains_kotlin_wrappers_kotlin_node) { + "use strict"; + var $completion, tmp, setFailed = $module$_actions_core_fx0i1v.setFailed, info = $module$_actions_core_fx0i1v.info, parseArgsStringToArgv = $module$string_argv_8hgmbc.parseArgsStringToArgv, mkdirP = $module$_actions_io_79d2l8.mkdirP, warning = $module$_actions_core_fx0i1v.warning, setOutput = $module$_actions_core_fx0i1v.setOutput, Regex_init_$Create$ = kotlin_kotlin.$_$.u, ArrayList_init_$Create$ = kotlin_kotlin.$_$.h, startsWith = kotlin_kotlin.$_$.u6, contains = kotlin_kotlin.$_$.i6, Unit_instance = kotlin_kotlin.$_$.w1, collectionSizeOrDefault = kotlin_kotlin.$_$.f2, mapCapacity = kotlin_kotlin.$_$.c3, coerceAtLeast = kotlin_kotlin.$_$.z5, LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.n, getOrNull = kotlin_kotlin.$_$.q2, to = kotlin_kotlin.$_$.h8, CoroutineImpl = kotlin_kotlin.$_$.i4, stateVariable = kotlin_gradle_cache_action_layered_cache.$_$.a, values = kotlin_gradle_cache_action_wrappers_actions_toolkit.$_$.d, ActionStage_POST_getInstance = kotlin_gradle_cache_action_wrappers_actions_toolkit.$_$.f, get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.t3, ActionFailedException = kotlin_gradle_cache_action_wrappers_actions_toolkit.$_$.c, protoOf = kotlin_kotlin.$_$.t5, initMetadataForCoroutine = kotlin_kotlin.$_$.g5, getInput = kotlin_gradle_cache_action_wrappers_actions_toolkit.$_$.a, _Char___init__impl__6a9atx = kotlin_kotlin.$_$.l1, charArrayOf = kotlin_kotlin.$_$.r4, trimEnd = kotlin_kotlin.$_$.f7, toList = kotlin_kotlin.$_$.n3, isBlank = kotlin_kotlin.$_$.m6, toBoolean = kotlin_kotlin.$_$.a7, ActionsEnvironment_getInstance = kotlin_gradle_cache_action_wrappers_actions_toolkit.$_$.i, getListInput = kotlin_gradle_cache_action_wrappers_actions_toolkit.$_$.b, Parameters = kotlin_gradle_cache_action_layered_cache.$_$.c, resolveDistribution = kotlin_gradle_cache_action_gradle_launcher.$_$.d, currentTrigger = kotlin_gradle_cache_action_wrappers_octokit_webhooks.$_$.a, ActionStage_MAIN_getInstance = kotlin_gradle_cache_action_wrappers_actions_toolkit.$_$.e, GradleCacheAction = kotlin_gradle_cache_action_layered_cache.$_$.b, listOf = kotlin_kotlin.$_$.a3, plus = kotlin_kotlin.$_$.e3, install = kotlin_gradle_cache_action_gradle_launcher.$_$.b, LaunchParams = kotlin_gradle_cache_action_gradle_launcher.$_$.a, CacheProxy = kotlin_gradle_cache_action_cache_proxy.$_$.a, get_normalizedPath = kotlin_gradle_cache_action_wrappers_nodejs.$_$.b, awaitPromiseLike = kotlin_org_jetbrains_kotlin_wrappers_kotlin_js.$_$.a, writeFile = kotlin_org_jetbrains_kotlin_wrappers_kotlin_node.$_$.g, launchGradle = kotlin_gradle_cache_action_gradle_launcher.$_$.c, get_EmptyContinuation = kotlin_kotlin.$_$.w3; + function splitLines(_this__u8e3s4) { + for (var this_0 = Regex_init_$Create$("\\s*[\r\n]+\\s*").ea(_this__u8e3s4, 0), destination = ArrayList_init_$Create$(), tmp0_iterator = this_0.h(); tmp0_iterator.i(); ) { + var element = tmp0_iterator.j(); + !startsWith(element, "#") && contains(element, "=") && destination.e(element); } - return new Diff(newFiles, totalUpdated, totalDeleted, messages, updatedFiles, deletedFiles); + for (var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(destination, 10)), 16), destination_0 = LinkedHashMap_init_$Create$(capacity), tmp0_iterator_0 = destination.h(); tmp0_iterator_0.i(); ) { + var element_0 = tmp0_iterator_0.j(), values = Regex_init_$Create$("\\s*=\\s*").ea(element_0, 2), tmp = values.p(0), tmp0_elvis_lhs = getOrNull(values, 1), pair = to(tmp, null == tmp0_elvis_lhs ? "" : tmp0_elvis_lhs); + destination_0.n1(pair.pc_1, pair.qc_1); + } + return destination_0; } - function diff$default(oldContents, newContents, maxUpdatesToPrint, $mask0, $handler) { - return 0 != (4 & $mask0) && (maxUpdatesToPrint = 50), diff(oldContents, newContents, maxUpdatesToPrint); + function isMochaRunning() { + var tmp$ret$4; + $l$block: { + for (var indexedObject = [ "afterEach", "after", "beforeEach", "before", "describe", "it" ], inductionVariable = 0, last = indexedObject.length; inductionVariable < last; ) { + var element = indexedObject[inductionVariable]; + inductionVariable = inductionVariable + 1 | 0; + var tmp = globalThis[element]; + if (null == tmp || "function" != typeof tmp) { + tmp$ret$4 = !1; + break $l$block; + } + } + tmp$ret$4 = !0; + } + return tmp$ret$4; } - function HashResult(hash, numFiles, totalBytes) { - this.r1g_1 = hash, this.s1g_1 = numFiles, this.t1g_1 = totalBytes; + function mainInternal(stage, $completion) { + var tmp = new $mainInternalCOROUTINE$1(stage, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); } - function hashFiles(paths, algorithm, includeFileName, $cont) { - var tmp = new $hashFilesCOROUTINE$1(paths, algorithm, includeFileName, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); + function main$lambda() { + return "MAIN"; } - function hashFiles$default(paths, algorithm, includeFileName, $cont, $mask0, $handler) { - return 0 != (2 & $mask0) && (algorithm = "sha1"), 0 != (4 & $mask0) && (includeFileName = !0), - hashFiles(paths, algorithm, includeFileName, $cont); + function $mainCOROUTINE$0(resultContinuation) { + CoroutineImpl.call(this, resultContinuation); } - function $hashFilesCOROUTINE$1(paths, algorithm, includeFileName, resultContinuation) { - CoroutineImpl.call(this, resultContinuation), this.c1h_1 = paths, this.d1h_1 = algorithm, - this.e1h_1 = includeFileName; + function $mainInternalCOROUTINE$1(stage, resultContinuation) { + CoroutineImpl.call(this, resultContinuation), this.g27_1 = stage; } - return setMetadataFor(Companion, "Companion", objectMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor($serializer, "$serializer", objectMeta, void 0, [ GeneratedSerializer ], void 0, void 0, []), - setMetadataFor(HashInfo, "HashInfo", classMeta, void 0, void 0, void 0, { - 0: $serializer_getInstance - }, []), setMetadataFor(Companion_0, "Companion", objectMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor($serializer_0, "$serializer", objectMeta, void 0, [ GeneratedSerializer ], void 0, void 0, []), - setMetadataFor(HashContents, "HashContents", classMeta, void 0, void 0, void 0, { - 0: $serializer_getInstance_0 - }, []), setMetadataFor(Companion_1, "Companion", objectMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(HashDetails, "HashDetails", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(Companion_2, "Companion", objectMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor($serializer_1, "$serializer", objectMeta, void 0, [ GeneratedSerializer ], void 0, void 0, []), - setMetadataFor(FileDetails, "FileDetails", classMeta, void 0, void 0, void 0, { - 0: $serializer_getInstance_1 - }, []), setMetadataFor($hashFilesDetailedCOROUTINE$0, "$hashFilesDetailedCOROUTINE$0", classMeta, CoroutineImpl, void 0, void 0, void 0, []), - setMetadataFor(Diff, "Diff", classMeta, void 0, void 0, void 0, void 0, []), setMetadataFor(HashResult, "HashResult", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor($hashFilesCOROUTINE$1, "$hashFilesCOROUTINE$1", classMeta, CoroutineImpl, void 0, void 0, void 0, []), - Companion.prototype.u1e = function() { - return $serializer_getInstance(); - }, $serializer.prototype.mv = function() { - return this.v1e_1; - }, $serializer.prototype.y10 = function() { - return [ LongSerializer_getInstance(), StringSerializer_getInstance(), IntSerializer_getInstance() ]; - }, $serializer.prototype.ov = function(decoder) { - var tmp0_desc = this.v1e_1, tmp1_flag = !0, tmp2_index = 0, tmp3_bitMask0 = 0, tmp4_local0 = new Long(0, 0), tmp5_local1 = null, tmp6_local2 = 0, tmp7_input = decoder.mx(tmp0_desc); - if (tmp7_input.ux()) tmp4_local0 = tmp7_input.px(tmp0_desc, 0), tmp3_bitMask0 |= 1, - tmp5_local1 = tmp7_input.qx(tmp0_desc, 1), tmp3_bitMask0 |= 2, tmp6_local2 = tmp7_input.ox(tmp0_desc, 2), - tmp3_bitMask0 |= 4; else for (;tmp1_flag; ) switch (tmp2_index = tmp7_input.vx(tmp0_desc)) { - case -1: - tmp1_flag = !1; - break; - - case 0: - tmp4_local0 = tmp7_input.px(tmp0_desc, 0), tmp3_bitMask0 |= 1; - break; - - case 1: - tmp5_local1 = tmp7_input.qx(tmp0_desc, 1), tmp3_bitMask0 |= 2; - break; - - case 2: - tmp6_local2 = tmp7_input.ox(tmp0_desc, 2), tmp3_bitMask0 |= 4; - break; - - default: - throw UnknownFieldException_init_$Create$(tmp2_index); - } - return tmp7_input.nx(tmp0_desc), HashInfo_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null); - }, $serializer.prototype.w1e = function(encoder, value) { - var tmp0_desc = this.v1e_1, tmp1_output = encoder.mx(tmp0_desc); - tmp1_output.ey(tmp0_desc, 0, value.x1e_1), tmp1_output.fy(tmp0_desc, 1, value.y1e_1), - tmp1_output.dy(tmp0_desc, 2, value.z1e_1), tmp1_output.nx(tmp0_desc); - }, $serializer.prototype.nv = function(encoder, value) { - return this.w1e(encoder, value instanceof HashInfo ? value : THROW_CCE()); - }, Companion_0.prototype.u1e = function() { - return $serializer_getInstance_0(); - }, $serializer_0.prototype.mv = function() { - return this.a1f_1; - }, $serializer_0.prototype.y10 = function() { - return [ new LinkedHashMapSerializer(StringSerializer_getInstance(), $serializer_getInstance_1()) ]; - }, $serializer_0.prototype.ov = function(decoder) { - var tmp0_desc = this.a1f_1, tmp1_flag = !0, tmp2_index = 0, tmp3_bitMask0 = 0, tmp4_local0 = null, tmp5_input = decoder.mx(tmp0_desc); - if (tmp5_input.ux()) tmp4_local0 = tmp5_input.rx(tmp0_desc, 0, new LinkedHashMapSerializer(StringSerializer_getInstance(), $serializer_getInstance_1()), tmp4_local0), - tmp3_bitMask0 |= 1; else for (;tmp1_flag; ) switch (tmp2_index = tmp5_input.vx(tmp0_desc)) { - case -1: - tmp1_flag = !1; - break; - - case 0: - tmp4_local0 = tmp5_input.rx(tmp0_desc, 0, new LinkedHashMapSerializer(StringSerializer_getInstance(), $serializer_getInstance_1()), tmp4_local0), - tmp3_bitMask0 |= 1; - break; - - default: - throw UnknownFieldException_init_$Create$(tmp2_index); - } - return tmp5_input.nx(tmp0_desc), HashContents_init_$Create$(tmp3_bitMask0, tmp4_local0, null); - }, $serializer_0.prototype.b1f = function(encoder, value) { - var tmp0_desc = this.a1f_1, tmp1_output = encoder.mx(tmp0_desc); - tmp1_output.gy(tmp0_desc, 0, new LinkedHashMapSerializer(StringSerializer_getInstance(), $serializer_getInstance_1()), value.c1f_1), - tmp1_output.nx(tmp0_desc); - }, $serializer_0.prototype.nv = function(encoder, value) { - return this.b1f(encoder, value instanceof HashContents ? value : THROW_CCE()); - }, $serializer_1.prototype.mv = function() { - return this.g1g_1; - }, $serializer_1.prototype.y10 = function() { - return [ LongSerializer_getInstance(), StringSerializer_getInstance() ]; - }, $serializer_1.prototype.ov = function(decoder) { - var tmp0_desc = this.g1g_1, tmp1_flag = !0, tmp2_index = 0, tmp3_bitMask0 = 0, tmp4_local0 = new Long(0, 0), tmp5_local1 = null, tmp6_input = decoder.mx(tmp0_desc); - if (tmp6_input.ux()) tmp4_local0 = tmp6_input.px(tmp0_desc, 0), tmp3_bitMask0 |= 1, - tmp5_local1 = tmp6_input.qx(tmp0_desc, 1), tmp3_bitMask0 |= 2; else for (;tmp1_flag; ) switch (tmp2_index = tmp6_input.vx(tmp0_desc)) { - case -1: - tmp1_flag = !1; - break; - - case 0: - tmp4_local0 = tmp6_input.px(tmp0_desc, 0), tmp3_bitMask0 |= 1; - break; - - case 1: - tmp5_local1 = tmp6_input.qx(tmp0_desc, 1), tmp3_bitMask0 |= 2; - break; - - default: - throw UnknownFieldException_init_$Create$(tmp2_index); - } - return tmp6_input.nx(tmp0_desc), FileDetails_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null); - }, $serializer_1.prototype.h1g = function(encoder, value) { - var tmp0_desc = this.g1g_1, tmp1_output = encoder.mx(tmp0_desc); - tmp1_output.ey(tmp0_desc, 0, value.i1g_1), tmp1_output.fy(tmp0_desc, 1, value.j1g_1), - tmp1_output.nx(tmp0_desc); - }, $serializer_1.prototype.nv = function(encoder, value) { - return this.h1g(encoder, value instanceof FileDetails ? value : THROW_CCE()); - }, $hashFilesDetailedCOROUTINE$0.prototype.td = function() { - var suspendResult = this.nd_1; + initMetadataForCoroutine($mainCOROUTINE$0, CoroutineImpl), initMetadataForCoroutine($mainInternalCOROUTINE$1, CoroutineImpl), + protoOf($mainCOROUTINE$0).d7 = function() { + var suspendResult = this.x6_1; $sm: for (;;) try { - switch (this.ld_1) { + switch (this.v6_1) { case 0: - if (this.md_1 = 12, this.md_1 = 11, this.ld_1 = 1, (suspendResult = create(joinToString$default(this.n1f_1, "\n", null, null, 0, null, null, 62, null), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 1: - if (this.r1f_1 = suspendResult, this.ld_1 = 2, (suspendResult = await_0(this.r1f_1.glob(), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 2: - this.s1f_1 = suspendResult, sort(this.s1f_1), this.t1f_1 = process.cwd(), this.u1f_1 = get_normalizedPath("~"), - this.v1f_1 = new Long(0, 0), this.w1f_1 = LinkedHashMap_init_$Create$(), this.x1f_1 = createHash(this.o1f_1), - this.y1f_1 = arrayIterator(this.s1f_1), this.ld_1 = 3; - continue $sm; - - case 3: - if (!this.y1f_1.e()) { - this.ld_1 = 10; - continue $sm; - } - if (this.z1f_1 = this.y1f_1.f(), this.ld_1 = 4, (suspendResult = stat(this.z1f_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 4: - if (this.a1g_1 = suspendResult, this.b1g_1 = this.a1g_1, this.b1g_1.isDirectory()) { - this.ld_1 = 3; - continue $sm; - } - this.ld_1 = 5; - continue $sm; - - case 5: - this.c1g_1 = numberToLong(this.b1g_1.size), this.v1f_1 = this.v1f_1.w4(this.c1g_1); - var tmp_3, tmp_2 = this; - if (startsWith$default(this.z1f_1, this.t1f_1, !1, 2, null)) { - var tmp1_substring = this.t1f_1.length; - tmp_3 = "ws://" + this.z1f_1.substring(tmp1_substring); - } else if (startsWith$default(this.z1f_1, this.u1f_1, !1, 2, null)) { - var tmp2_substring = this.u1f_1.length; - tmp_3 = "~" + this.z1f_1.substring(tmp2_substring); - } else tmp_3 = this.z1f_1; - var tmp_4 = tmp_3, tmp_5 = _Char___init__impl__6a9atx(92), tmp_6 = _Char___init__impl__6a9atx(47); - if (tmp_2.d1g_1 = replace$default(tmp_4, tmp_5, tmp_6, !1, 4, null), "sha1" === this.o1f_1 && startsWith$default(this.d1g_1, "~/.gradle/caches/modules-2/files-2.1/", !1, 2, null)) { - this.e1g_1 = sha1FromModulesFileName(this.d1g_1), this.ld_1 = 9; - continue $sm; - } - if (startsWith$default(this.d1g_1, "~/.gradle/caches/build-cache-1/", !1, 2, null)) { - var tmp_8 = this, tmp_9 = _Char___init__impl__6a9atx(47); - tmp_8.e1g_1 = substringAfterLast$default(this.d1g_1, tmp_9, null, 2, null), this.ld_1 = 9; - continue $sm; - } - this.f1g_1 = createHash(this.o1f_1), this.md_1 = 8, this.ld_1 = 6; - var tmp_10 = createReadStream(this.z1f_1); - if ((suspendResult = pipeAndWait(tmp_10, this.f1g_1, !0, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 6: - this.md_1 = 11, this.ld_1 = 7; - continue $sm; + if (this.w6_1 = 4, isMochaRunning()) return Unit_instance; + this.w26_1 = stateVariable("stage", main$lambda); + var tmp$ret$0; + l$ret$1: do { + for (var indexedObject = values(), inductionVariable = 0, last = indexedObject.length; inductionVariable < last; ) { + var element = indexedObject[inductionVariable]; + if (inductionVariable = inductionVariable + 1 | 0, element.q1_1 === this.w26_1.ik()) { + tmp$ret$0 = element; + break l$ret$1; + } + } + tmp$ret$0 = null; + } while (0); + this.x26_1 = tmp$ret$0; + var tmp_2, tmp0_subject = this.x26_1; + switch (null == tmp0_subject ? -1 : tmp0_subject.r1_1) { + case 1: + tmp_2 = ActionStage_POST_getInstance(); + break; - case 7: - this.md_1 = 11, this.e1g_1 = this.f1g_1.digest("hex"), this.ld_1 = 9; - continue $sm; + case -1: + return setFailed("Unable to find action stage: " + this.w26_1.ik()), Unit_instance; - case 8: - if (this.md_1 = 11, this.od_1 instanceof Error) { - var e = this.od_1; - warning("Unable to hash " + this.z1f_1 + ", will ignore the file: " + stackTraceToString(e)), - this.ld_1 = 3; - continue $sm; + default: + tmp_2 = null; } - throw this.od_1; - - case 9: - var digest = this.e1g_1, tmp3_set = new FileDetails(this.c1g_1, digest); - this.w1f_1.t2(this.d1g_1, tmp3_set), this.p1f_1 && this.x1f_1.update(this.d1g_1), - this.x1f_1.update(digest), this.ld_1 = 3; + var tmp0_elvis_lhs = null == tmp_2 ? null : tmp_2.q1_1; + if (this.w26_1.k1z(null == tmp0_elvis_lhs ? "FINAL" : tmp0_elvis_lhs), this.w6_1 = 2, + this.v6_1 = 1, (suspendResult = mainInternal(this.x26_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; continue $sm; - case 10: - this.q1f_1 = new HashDetails(new HashInfo(this.v1f_1, this.x1f_1.digest("hex"), this.w1f_1.c()), new HashContents(this.w1f_1)), - this.md_1 = 12, this.ld_1 = 13; + case 1: + this.w6_1 = 4, this.v6_1 = 3; continue $sm; - case 11: - if (this.md_1 = 12, this.od_1 instanceof Error) { - var e_0 = this.od_1; - throw new ActionFailedException("Unable to hash " + joinToString$default(this.n1f_1, ", ", null, null, 0, null, null, 62, null) + ": " + e_0, e_0); + case 2: + if (this.w6_1 = 4, this.y6_1 instanceof ActionFailedException) { + var e = this.y6_1; + setFailed(e.pt_1), this.v6_1 = 3; + continue $sm; } - throw this.od_1; + throw this.y6_1; - case 12: - throw this.od_1; + case 3: + return this.w6_1 = 4, Unit_instance; - case 13: - return this.md_1 = 12, this.q1f_1; + case 4: + throw this.y6_1; } } catch ($p) { - if (12 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; - } - }, Diff.prototype.q1g = function() { - var tmp_1, tmp_0 = this.o1g_1.l() ? "" : this.o1g_1.c() + " updates (" + formatBytes(this.l1g_1) + ")"; - return tmp_1 = this.p1g_1.l() ? "" : (this.o1g_1.l() ? "" : ", ") + this.p1g_1.c() + " deletes (" + formatBytes(this.m1g_1) + ")", - tmp_0 + tmp_1 + "\n " + joinToString$default_0(this.n1g_1, "\n ", null, null, 0, null, null, 62, null); - }, HashResult.prototype.toString = function() { - return "HashResult(hash=" + this.r1g_1 + ", numFiles=" + this.s1g_1 + ", totalBytes=" + this.t1g_1 + ")"; - }, HashResult.prototype.hashCode = function() { - var result = getStringHashCode(this.r1g_1); - return result = imul(result, 31) + this.s1g_1 | 0, result = imul(result, 31) + this.t1g_1 | 0; - }, HashResult.prototype.equals = function(other) { - if (this === other) return !0; - if (!(other instanceof HashResult)) return !1; - var tmp0_other_with_cast = other instanceof HashResult ? other : THROW_CCE(); - return this.r1g_1 === tmp0_other_with_cast.r1g_1 && this.s1g_1 === tmp0_other_with_cast.s1g_1 && this.t1g_1 === tmp0_other_with_cast.t1g_1; - }, $hashFilesCOROUTINE$1.prototype.td = function() { - var suspendResult = this.nd_1; + var e_0 = $p; + if (4 === this.w6_1) throw e_0; + this.v6_1 = this.w6_1, this.y6_1 = e_0; + } + }, protoOf($mainInternalCOROUTINE$1).d7 = function() { + var suspendResult = this.x6_1; $sm: for (;;) try { - switch (this.ld_1) { + switch (this.v6_1) { case 0: - if (this.md_1 = 11, this.md_1 = 10, this.ld_1 = 1, (suspendResult = create(joinToString$default(this.c1h_1, "\n", null, null, 0, null, null, 62, null), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + this.w6_1 = 16, this.h27_1 = trimEnd(getInput("home-directory"), charArrayOf([ _Char___init__impl__6a9atx(47), _Char___init__impl__6a9atx(92) ])), + "" !== this.h27_1 && (info("Overriding home directory to " + this.h27_1), node_process_process_dcpv5o.env.HOME = this.h27_1), + this.i27_1 = toList(parseArgsStringToArgv(getInput("arguments"))); + var tmp_1, this_0 = getInput("remote-build-cache-proxy-enabled"); + tmp_1 = isBlank(this_0) ? "true" : this_0, this.j27_1 = toBoolean(tmp_1); + var tmp_3, this_1 = getInput("execution-only-caches"); + tmp_3 = isBlank(this_1) ? "false" : this_1, this.k27_1 = toBoolean(tmp_3); + var tmp_5, this_2 = getInput("gradle-build-scan-report"); + tmp_5 = isBlank(this_2) ? "true" : this_2, this.l27_1 = toBoolean(tmp_5), this.m27_1 = trimEnd(getInput("build-root-directory"), charArrayOf([ _Char___init__impl__6a9atx(47), _Char___init__impl__6a9atx(92) ])), + "" !== this.m27_1 && (info("changing working directory to " + this.m27_1), node_process_process_dcpv5o.chdir(this.m27_1)); + var tmp_9, tmp_7 = ActionsEnvironment_getInstance().nu() + "-" + getInput("job-id"), tmp_8 = toBoolean(getInput("debug")), this_3 = getInput("save-generated-gradle-jars"); + tmp_9 = isBlank(this_3) ? "true" : this_3; + var tmp_11, tmp_10 = toBoolean(tmp_9); + if (!this.j27_1 || this.i27_1.q()) { + var tmp_12, this_4 = getInput("save-local-build-cache"); + tmp_12 = isBlank(this_4) ? "true" : this_4, tmp_11 = toBoolean(tmp_12); + } else tmp_11 = !1; + var tmp_14, tmp_13 = tmp_11; + if (this.k27_1) tmp_14 = !1; else { + var tmp_15, this_5 = getInput("save-gradle-dependencies-cache"); + tmp_15 = isBlank(this_5) ? "true" : this_5, tmp_14 = toBoolean(tmp_15); + } + var tmp_18, tmp_16 = tmp_14, tmp_17 = getListInput("gradle-dependencies-cache-key"); + if (this.k27_1) tmp_18 = !1; else { + var tmp_19, this_6 = getInput("save-maven-dependencies-cache"); + tmp_19 = isBlank(this_6) ? "true" : this_6, tmp_18 = toBoolean(tmp_19); + } + var tmp_22, tmp_20 = tmp_18, tmp_21 = getListInput("maven-local-ignore-paths"), this_7 = getInput("concurrent"); + tmp_22 = isBlank(this_7) ? "false" : this_7; + var tmp_24, tmp_23 = toBoolean(tmp_22), this_8 = getInput("read-only"); + tmp_24 = isBlank(this_8) ? "false" : this_8, this.n27_1 = new Parameters(tmp_7, ".", tmp_8, tmp_10, tmp_13, tmp_16, tmp_17, tmp_20, tmp_21, tmp_23, toBoolean(tmp_24)), + this.v6_1 = 1; + var tmp_31, this_9 = getInput("gradle-version"), tmp_26 = isBlank(this_9) ? "wrapper" : this_9, this_10 = getInput("gradle-distribution-url"), tmp_28 = isBlank(this_10) ? null : this_10, this_11 = getInput("gradle-distribution-sha-256-sum"), tmp_30 = isBlank(this_11) ? null : this_11, this_12 = getInput("gradle-distribution-sha-256-sum-warning"); + if (tmp_31 = isBlank(this_12) ? "true" : this_12, (suspendResult = resolveDistribution(tmp_26, this.n27_1.a1v_1, tmp_28, tmp_30, toBoolean(tmp_31), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; continue $sm; case 1: - if (this.g1h_1 = suspendResult, this.ld_1 = 2, (suspendResult = await_0(this.g1h_1.glob(), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + if (this.o27_1 = suspendResult, this.g27_1.equals(ActionStage_MAIN_getInstance()) || this.g27_1.equals(ActionStage_POST_getInstance())) { + if (this.v6_1 = 2, (suspendResult = currentTrigger(this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + } + this.v6_1 = 5; continue $sm; case 2: - this.h1h_1 = suspendResult, sort(this.h1h_1), this.i1h_1 = process.cwd(), this.j1h_1 = get_normalizedPath("~"), - this.k1h_1 = createHash(this.d1h_1), this.l1h_1 = 0, this.m1h_1 = 0, this.n1h_1 = arrayIterator(this.h1h_1), - this.ld_1 = 3; + if (this.p27_1 = suspendResult, this.q27_1 = new GradleCacheAction(this.p27_1, this.n27_1, this.o27_1), + this.n27_1.c1v_1 || this.n27_1.d1v_1 || this.n27_1.e1v_1 || this.n27_1.g1v_1) { + if (this.v6_1 = 3, (suspendResult = this.q27_1.q1v(this.g27_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + } + this.v6_1 = 4; continue $sm; case 3: - if (!this.n1h_1.e()) { - this.ld_1 = 9; - continue $sm; - } - if (this.o1h_1 = this.n1h_1.f(), this.ld_1 = 4, (suspendResult = stat(this.o1h_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + this.v6_1 = 4; continue $sm; case 4: - if (this.p1h_1 = suspendResult, this.q1h_1 = this.p1h_1, this.q1h_1.isDirectory()) { - this.ld_1 = 3; - continue $sm; - } - this.ld_1 = 5; + this.v6_1 = 5; continue $sm; case 5: - var tmp_2, tmp_1 = this; - if (startsWith$default(this.o1h_1, this.i1h_1, !1, 2, null)) { - var tmp1_substring = this.i1h_1.length; - tmp_2 = "ws://" + this.o1h_1.substring(tmp1_substring); - } else if (startsWith$default(this.o1h_1, this.j1h_1, !1, 2, null)) { - var tmp2_substring = this.j1h_1.length; - tmp_2 = "~" + this.o1h_1.substring(tmp2_substring); - } else tmp_2 = this.o1h_1; - var tmp_3 = tmp_2, tmp_4 = _Char___init__impl__6a9atx(92), tmp_5 = _Char___init__impl__6a9atx(47); - tmp_1.r1h_1 = replace$default(tmp_3, tmp_4, tmp_5, !1, 4, null), this.m1h_1 = this.m1h_1 + 1 | 0, - this.l1h_1 = this.l1h_1 + numberToInt(this.q1h_1.size) | 0, this.md_1 = 8, this.ld_1 = 6; - var tmp_6 = createReadStream(this.o1h_1); - if ((suspendResult = pipeAndWait(tmp_6, this.k1h_1, !1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + if (!!this.g27_1.equals(ActionStage_MAIN_getInstance()) && !this.i27_1.q()) { + if (this.r27_1 = !0 === (this.n27_1.d1v_1 || this.j27_1) ? plus(listOf("--build-cache"), this.i27_1) : this.i27_1, + this.v6_1 = 6, (suspendResult = install(this.o27_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + } + this.v6_1 = 14; continue $sm; case 6: - this.md_1 = 10, this.ld_1 = 7; + if (this.s27_1 = suspendResult, this.t27_1 = new LaunchParams(this.s27_1, this.n27_1.a1v_1, this.r27_1, splitLines(getInput("properties"))), + this.u27_1 = new CacheProxy, this.j27_1) { + if (info("Starting remote cache proxy, adding it via ~/.gradle/init.gradle"), this.v6_1 = 7, + (suspendResult = this.u27_1.g1j(this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + } + this.v6_1 = 10; continue $sm; case 7: - this.md_1 = 10, this.e1h_1 && this.k1h_1.update(this.r1h_1, "utf8"), this.ld_1 = 3; + this.v27_1 = node_path_path_1155cy.join(get_normalizedPath("~"), ".gradle"); + if (this.w27_1 = this.v27_1, this.v6_1 = 8, (suspendResult = awaitPromiseLike(mkdirP(this.w27_1), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; continue $sm; case 8: - if (this.md_1 = 10, this.od_1 instanceof Error) { - var e = this.od_1; - warning("Unable to hash " + this.o1h_1 + ", will ignore the file: " + stackTraceToString(e)), - this.ld_1 = 3; - continue $sm; - } - throw this.od_1; + this.v6_1 = 9; + var tmp_36, tmp_35 = node_path_path_1155cy.join(this.v27_1, "init.gradle"), this_13 = getInput("multi-cache-enabled"); + tmp_36 = isBlank(this_13) ? "true" : this_13; + var tmp_41, tmp_37 = toBoolean(tmp_36), this_14 = getInput("multi-cache-version"), tmp_39 = isBlank(this_14) ? "1.0" : this_14, tmp_40 = getInput("multi-cache-repository"), this_15 = getInput("multi-cache-group-id-filter"); + tmp_41 = isBlank(this_15) ? "com[.]github[.]burrunan[.]multi-?cache" : this_15; + var tmp_42 = this.u27_1.f1j(tmp_37, tmp_39, tmp_40, tmp_41, !this.n27_1.j1v_1); + if ((suspendResult = writeFile(tmp_35, tmp_42, "utf8", this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; case 9: - this.k1h_1.end(), this.f1h_1 = new HashResult(this.k1h_1.digest("hex"), this.m1h_1, this.l1h_1), - this.md_1 = 11, this.ld_1 = 12; + this.v6_1 = 10; continue $sm; case 10: - if (this.md_1 = 11, this.od_1 instanceof Error) { - var e_0 = this.od_1; - throw new ActionFailedException("Unable to hash " + joinToString$default(this.c1h_1, ", ", null, null, 0, null, null, 62, null) + ": " + e_0, e_0); - } - throw this.od_1; + this.v6_1 = 11; + continue $sm; case 11: - throw this.od_1; + if (this.w6_1 = 15, this.v6_1 = 12, (suspendResult = launchGradle(this.t27_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; case 12: - return this.md_1 = 11, this.f1h_1; + var tmp_44, result = suspendResult; + if (this.l27_1) { + var tmp3_safe_receiver = result.h1r_1; + null == tmp3_safe_receiver || (warning("Gradle Build Scan: " + tmp3_safe_receiver), + setOutput("build-scan-url", tmp3_safe_receiver)), tmp_44 = Unit_instance; + } + this.x27_1 = tmp_44, this.w6_1 = 16, this.v6_1 = 13; + continue $sm; + + case 13: + this.w6_1 = 16, this.j27_1 && this.u27_1.h1j(), this.v6_1 = 14; + continue $sm; + + case 14: + return Unit_instance; + + case 15: + this.w6_1 = 16; + var t = this.y6_1; + throw this.j27_1 && this.u27_1.h1j(), t; + + case 16: + throw this.y6_1; } } catch ($p) { - if (11 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; - } - }, $serializer.prototype.z10 = typeParametersSerializers, $serializer_0.prototype.z10 = typeParametersSerializers, - $serializer_1.prototype.z10 = typeParametersSerializers, _.$_$ = _.$_$ || {}, _.$_$.a = HashContents, - _.$_$.b = hashFiles, _.$_$.c = diff$default, _.$_$.d = hashFilesDetailed$default, - _.$_$.e = hashFiles$default, _.$_$.f = Companion_getInstance_0, _.$_$.g = Companion_getInstance, - _; - }) ? __WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__) : __WEBPACK_AMD_DEFINE_FACTORY__) || (module.exports = __WEBPACK_AMD_DEFINE_RESULT__); - }, - 3903: function(module, exports, __webpack_require__) { - var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; - __WEBPACK_AMD_DEFINE_ARRAY__ = [ exports, __webpack_require__(8843), __webpack_require__(8744) ], - void 0 === (__WEBPACK_AMD_DEFINE_RESULT__ = "function" == typeof (__WEBPACK_AMD_DEFINE_FACTORY__ = function(_, $module$java_properties_jp8gnq, kotlin_kotlin) { - "use strict"; - var NEWLINE, properties_initialized_parseString_kt_7cjk5o, PropertiesFile = $module$java_properties_jp8gnq.PropertiesFile, Regex_init_$Create$ = (kotlin_kotlin.$_$.d2, - kotlin_kotlin.$_$.f1); - function get_NEWLINE() { - return init_properties_parseString_kt_kw3tsg(), NEWLINE; - } - function parseString(text) { - init_properties_parseString_kt_kw3tsg(); - for (var tmp0_apply = new (Function.bind.apply(PropertiesFile, [ null ])), tmp0_iterator = get_NEWLINE().mb(text, 0).d(); tmp0_iterator.e(); ) { - var line = tmp0_iterator.f(); - tmp0_apply.makeKeys(line); - } - return tmp0_apply; - } - function init_properties_parseString_kt_kw3tsg() { - properties_initialized_parseString_kt_7cjk5o || (properties_initialized_parseString_kt_7cjk5o = !0, - NEWLINE = Regex_init_$Create$("\\s*[\r\n]+\\s*")); - } - return _.$_$ = _.$_$ || {}, _.$_$.a = parseString, _; - }) ? __WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__) : __WEBPACK_AMD_DEFINE_FACTORY__) || (module.exports = __WEBPACK_AMD_DEFINE_RESULT__); - }, - 1853: function(module, exports, __webpack_require__) { - var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; - __WEBPACK_AMD_DEFINE_ARRAY__ = [ exports, __webpack_require__(8744) ], void 0 === (__WEBPACK_AMD_DEFINE_RESULT__ = "function" == typeof (__WEBPACK_AMD_DEFINE_FACTORY__ = function(_, kotlin_kotlin) { - "use strict"; - var Long = kotlin_kotlin.$_$.t6, toString = (kotlin_kotlin.$_$.d2, kotlin_kotlin.$_$.r5); - function formatBytes(_this__u8e3s4) { - var tmp, tmp$ret$2; - if (_this__u8e3s4.u4(new Long(5120, 0)) < 0) tmp = toString(_this__u8e3s4) + " B"; else if (_this__u8e3s4.u4(new Long(6164480, 0)) < 0) tmp = toString(_this__u8e3s4.w4(new Long(512, 0)).t4(new Long(1024, 0))) + " KiB"; else if (tmp$ret$2 = new Long(5120, 0).v4(new Long(1204, 0)).v4(new Long(1024, 0)), - _this__u8e3s4.u4(tmp$ret$2) < 0) { - var tmp$ret$3; - tmp$ret$3 = new Long(524288, 0); - var tmp$ret$4, tmp_0 = _this__u8e3s4.w4(tmp$ret$3); - tmp$ret$4 = new Long(1048576, 0), tmp = toString(tmp_0.t4(tmp$ret$4)) + " MiB"; - } else { - var tmp$ret$6; - tmp$ret$6 = new Long(524288, 0).v4(new Long(1024, 0)); - var tmp$ret$8, tmp_1 = _this__u8e3s4.w4(tmp$ret$6); - tmp$ret$8 = new Long(1048576, 0).v4(new Long(1024, 0)), tmp = toString(tmp_1.t4(tmp$ret$8)) + " GiB"; + var e = $p; + if (16 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; } - return tmp; - } - return _.$_$ = _.$_$ || {}, _.$_$.a = formatBytes, _; - }) ? __WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__) : __WEBPACK_AMD_DEFINE_FACTORY__) || (module.exports = __WEBPACK_AMD_DEFINE_RESULT__); + }, $completion = get_EmptyContinuation(), (tmp = new $mainCOROUTINE$0($completion)).x6_1 = Unit_instance, + tmp.y6_1 = null, tmp.d7(); + }(module.exports, __webpack_require__(4613), __webpack_require__(1708), __webpack_require__(829), __webpack_require__(6760), __webpack_require__(8599), __webpack_require__(7036), __webpack_require__(3161), __webpack_require__(7361), __webpack_require__(1284), __webpack_require__(5527), __webpack_require__(3257), __webpack_require__(3138), __webpack_require__(6077), __webpack_require__(4350)); }, - 482: function(module, exports, __webpack_require__) { - var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; - __WEBPACK_AMD_DEFINE_ARRAY__ = [ exports, __webpack_require__(2037), __webpack_require__(7561), __webpack_require__(8744), __webpack_require__(8585), __webpack_require__(3012), __webpack_require__(7646), __webpack_require__(8304), __webpack_require__(2528), __webpack_require__(4377), __webpack_require__(1853), __webpack_require__(3645), __webpack_require__(3814), __webpack_require__(3730) ], - void 0 === (__WEBPACK_AMD_DEFINE_RESULT__ = "function" == typeof (__WEBPACK_AMD_DEFINE_FACTORY__ = function(_, $module$_actions_core_fx0i1v, $module$node_fs_4svwsv, kotlin_kotlin, kotlin_gradle_cache_action_wrappers_actions_toolkit, kotlin_gradle_cache_action_wrappers_octokit_webhooks, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_gradle_cache_action_wrappers_actions_cache, kotlin_gradle_cache_action_wrappers_nodejs, kotlin_gradle_cache_action_hashing, kotlin_gradle_cache_action_wrappers_js, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core, kotlin_org_jetbrains_kotlin_wrappers_kotlin_node, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json) { + 3257: (module, __unused_webpack_exports, __webpack_require__) => { + !function(_, $module$node_url_6t8tpx, $module$_actions_cache_lib_internal_cacheHttpClient_mmpjzs, node_path_path_1155cy, $module$node_fs_4svwsv, $module$_actions_core_fx0i1v, node_process_process_dcpv5o, $module$node_http_1wibjg, $module$_actions_cache_lib_internal_constants_blb2pe, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_gradle_cache_action_cache_service_mock, kotlin_org_jetbrains_kotlin_wrappers_kotlin_node, kotlin_gradle_cache_action_wrappers_actions_toolkit, kotlin_gradle_cache_action_wrappers_nodejs) { "use strict"; - var Companion_instance, Companion_instance_0, $serializer_instance, Companion_instance_1, $serializer_instance_0, Companion_instance_2, info = $module$_actions_core_fx0i1v.info, imul = Math.imul, startGroup = $module$_actions_core_fx0i1v.startGroup, endGroup = $module$_actions_core_fx0i1v.endGroup, debug = $module$_actions_core_fx0i1v.debug, isDebug = $module$_actions_core_fx0i1v.isDebug, warning = $module$_actions_core_fx0i1v.warning, mkdirSync = $module$node_fs_4svwsv.mkdirSync, existsSync = $module$node_fs_4svwsv.existsSync, getState = $module$_actions_core_fx0i1v.getState, saveState = $module$_actions_core_fx0i1v.saveState, objectMeta = kotlin_kotlin.$_$.n5, setMetadataFor = kotlin_kotlin.$_$.o5, CoroutineImpl = kotlin_kotlin.$_$.m4, Unit_getInstance = kotlin_kotlin.$_$.d2, exec$default = kotlin_gradle_cache_action_wrappers_actions_toolkit.$_$.h, get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.x3, THROW_CCE = kotlin_kotlin.$_$.v6, isCharSequence = kotlin_kotlin.$_$.f5, trim = kotlin_kotlin.$_$.m6, toString = kotlin_kotlin.$_$.r5, classMeta = kotlin_kotlin.$_$.x4, ArrayList_init_$Create$ = kotlin_kotlin.$_$.s, ActionFailedException_init_$Create$ = kotlin_gradle_cache_action_wrappers_actions_toolkit.$_$.i, roundToInt = kotlin_kotlin.$_$.t5, getStringHashCode = kotlin_kotlin.$_$.c5, hashCode = kotlin_kotlin.$_$.d5, equals = kotlin_kotlin.$_$.y4, WorkflowDispatch = kotlin_gradle_cache_action_wrappers_octokit_webhooks.$_$.f, Schedule = kotlin_gradle_cache_action_wrappers_octokit_webhooks.$_$.e, noWhenBranchMatchedException = kotlin_kotlin.$_$.e7, ActionsEnvironment_getInstance = kotlin_gradle_cache_action_wrappers_actions_toolkit.$_$.j, Other = kotlin_gradle_cache_action_wrappers_octokit_webhooks.$_$.c, removePrefix = kotlin_kotlin.$_$.b6, BranchPush = kotlin_gradle_cache_action_wrappers_octokit_webhooks.$_$.b, PullRequest = kotlin_gradle_cache_action_wrappers_octokit_webhooks.$_$.d, CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e, isInterface = kotlin_kotlin.$_$.g5, launch$default = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c, supervisorScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b, Unknown_getInstance = kotlin_gradle_cache_action_wrappers_actions_cache.$_$.f, emptyList = kotlin_kotlin.$_$.s2, exists = kotlin_gradle_cache_action_wrappers_nodejs.$_$.a, restoreAndLog = kotlin_gradle_cache_action_wrappers_actions_cache.$_$.c, Exact = kotlin_gradle_cache_action_wrappers_actions_cache.$_$.a, startsWith$default = kotlin_kotlin.$_$.n, Partial = kotlin_gradle_cache_action_wrappers_actions_cache.$_$.b, copyToArray = kotlin_kotlin.$_$.r2, hashFilesDetailed$default = kotlin_gradle_cache_action_hashing.$_$.d, abs = kotlin_kotlin.$_$.s5, Long = kotlin_kotlin.$_$.t6, formatBytes = kotlin_gradle_cache_action_wrappers_js.$_$.a, saveAndLog = kotlin_gradle_cache_action_wrappers_actions_cache.$_$.d, Companion_getInstance = kotlin_gradle_cache_action_hashing.$_$.g, Companion_getInstance_0 = kotlin_gradle_cache_action_hashing.$_$.f, plus = kotlin_kotlin.$_$.k3, listOf = kotlin_kotlin.$_$.g3, collectionSizeOrDefault = kotlin_kotlin.$_$.m2, ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.r, None_getInstance = kotlin_gradle_cache_action_wrappers_actions_cache.$_$.e, joinToString$default = kotlin_kotlin.$_$.e, withIndex = kotlin_kotlin.$_$.u3, removeFiles = kotlin_gradle_cache_action_wrappers_actions_toolkit.$_$.e, checkIndexOverflow = kotlin_kotlin.$_$.l2, mapCapacity = kotlin_kotlin.$_$.h3, coerceAtLeast = kotlin_kotlin.$_$.u5, LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.y, firstOrNull = kotlin_kotlin.$_$.v2, firstOrNull_0 = kotlin_kotlin.$_$.w2, LinkedHashMap_init_$Create$_0 = kotlin_kotlin.$_$.z, LinkedHashSet_init_$Create$ = kotlin_kotlin.$_$.b1, zip = kotlin_kotlin.$_$.v3, Map = kotlin_kotlin.$_$.i2, addAll = kotlin_kotlin.$_$.j2, HashContents = kotlin_gradle_cache_action_hashing.$_$.a, diff$default = kotlin_gradle_cache_action_hashing.$_$.c, toList = kotlin_kotlin.$_$.q3, listOf_0 = kotlin_kotlin.$_$.f3, PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g1, ArrayListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a1, StringSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l, UnknownFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d, typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c1, GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d1, throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i1, Regex_init_$Create$ = kotlin_kotlin.$_$.f1, get_normalizedPath = kotlin_gradle_cache_action_wrappers_nodejs.$_$.b, rename = kotlin_org_jetbrains_kotlin_wrappers_kotlin_node.$_$.d, Default_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.a, readFile = kotlin_org_jetbrains_kotlin_wrappers_kotlin_node.$_$.c, SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o1, _Char___init__impl__6a9atx = kotlin_kotlin.$_$.s1, replace$default = kotlin_kotlin.$_$.m, writeFile = kotlin_org_jetbrains_kotlin_wrappers_kotlin_node.$_$.h, charArrayOf = kotlin_kotlin.$_$.s4, trimStart = kotlin_kotlin.$_$.l6, plus_0 = kotlin_kotlin.$_$.j3, hashFiles$default = kotlin_gradle_cache_action_hashing.$_$.e, isBlank = kotlin_kotlin.$_$.z5, toInt = kotlin_kotlin.$_$.f6, isObject = kotlin_kotlin.$_$.h5; + var parse = $module$node_url_6t8tpx.parse, reserveCache = $module$_actions_cache_lib_internal_cacheHttpClient_mmpjzs.reserveCache, saveCache = $module$_actions_cache_lib_internal_cacheHttpClient_mmpjzs.saveCache, createWriteStream = $module$node_fs_4svwsv.createWriteStream, getCacheEntry = $module$_actions_cache_lib_internal_cacheHttpClient_mmpjzs.getCacheEntry, debug = $module$_actions_core_fx0i1v.debug, isDebug = $module$_actions_core_fx0i1v.isDebug, downloadCache = $module$_actions_cache_lib_internal_cacheHttpClient_mmpjzs.downloadCache, createReadStream = $module$node_fs_4svwsv.createReadStream, createServer = $module$node_http_1wibjg.createServer, CompressionMethod = $module$_actions_cache_lib_internal_constants_blb2pe.CompressionMethod, protoOf = kotlin_kotlin.$_$.t5, initMetadataForCompanion = kotlin_kotlin.$_$.f5, Unit_instance = kotlin_kotlin.$_$.w1, CoroutineImpl = kotlin_kotlin.$_$.i4, THROW_CCE = kotlin_kotlin.$_$.r7, CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d, isInterface = kotlin_kotlin.$_$.l5, removePrefix = kotlin_kotlin.$_$.q6, Companion_instance = kotlin_gradle_cache_action_cache_service_mock.$_$.b, get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.t3, initMetadataForLambda = kotlin_kotlin.$_$.i5, VOID = kotlin_kotlin.$_$.c, ensureNotNull = kotlin_kotlin.$_$.x7, handle = kotlin_gradle_cache_action_cache_service_mock.$_$.a, await_0 = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a, newThrowable = kotlin_kotlin.$_$.n5, stat = kotlin_org_jetbrains_kotlin_wrappers_kotlin_node.$_$.e, equals = kotlin_kotlin.$_$.x4, toString = kotlin_kotlin.$_$.v5, listOf = kotlin_kotlin.$_$.a3, removeFiles = kotlin_gradle_cache_action_wrappers_actions_toolkit.$_$.h, numberToLong = kotlin_kotlin.$_$.r5, toLong = kotlin_kotlin.$_$.u5, _Result___init__impl__xyqfz8 = (kotlin_kotlin.$_$.v1, + kotlin_kotlin.$_$.p1), pipeAndWait = kotlin_gradle_cache_action_wrappers_nodejs.$_$.d, GlobalScope_instance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c, launch = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e, initMetadataForCoroutine = kotlin_kotlin.$_$.g5, intercepted = kotlin_kotlin.$_$.v3, SafeContinuation_init_$Create$ = kotlin_kotlin.$_$.t, returnIfSuspended = kotlin_kotlin.$_$.e, mkdir = kotlin_gradle_cache_action_wrappers_nodejs.$_$.c, replace = kotlin_kotlin.$_$.s6, trimIndent = kotlin_kotlin.$_$.g7, initMetadataForClass = kotlin_kotlin.$_$.e5; function Companion() { - Companion_instance = this, this.c1o_1 = "defaultbranch"; - } - function Companion_getInstance_1() { - return null == Companion_instance && new Companion, Companion_instance; - } - function GradleCacheAction$treeId$slambda(resultContinuation) { - CoroutineImpl.call(this, resultContinuation); - } - function GradleCacheAction$treeId$slambda_0(resultContinuation) { - var i = new GradleCacheAction$treeId$slambda(resultContinuation), l = function($cont) { - return i.l1o($cont); - }; - return l.$arity = 0, l; - } - function $executeCOROUTINE$0(_this__u8e3s4, stage, resultContinuation) { - CoroutineImpl.call(this, resultContinuation), this.w1o_1 = _this__u8e3s4, this.x1o_1 = stage; - } - function GradleCacheAction(trigger, params, gradleDistribution) { - Companion_getInstance_1(), this.k1p_1 = trigger, this.l1p_1 = params, this.m1p_1 = gradleDistribution, - this.n1p_1 = suspendingStateVariable("tree_id", GradleCacheAction$treeId$slambda_0(null)); - } - function Parameters(jobId, path, debug, generatedGradleJars, localBuildCache, gradleDependenciesCache, gradleDependenciesCacheKey, mavenDependenciesCache, mavenLocalIgnorePaths, concurrent, readOnly) { - this.o1p_1 = jobId, this.p1p_1 = path, this.q1p_1 = debug, this.r1p_1 = generatedGradleJars, - this.s1p_1 = localBuildCache, this.t1p_1 = gradleDependenciesCache, this.u1p_1 = gradleDependenciesCacheKey, - this.v1p_1 = mavenDependenciesCache, this.w1p_1 = mavenLocalIgnorePaths, this.x1p_1 = concurrent, - this.y1p_1 = readOnly; - } - function get_cacheKey(_this__u8e3s4) { - var tmp, tmp0_subject = _this__u8e3s4; - if (tmp0_subject instanceof PullRequest) tmp = "PR" + toString(_this__u8e3s4.l1n_1.pull_request.number); else if (tmp0_subject instanceof BranchPush) { - var tmp_0, ref = removePrefix(_this__u8e3s4.o1n_1.ref, "refs/heads/"); - ref === removePrefix(_this__u8e3s4.o1n_1.repository.default_branch, "refs/heads/") ? (Companion_getInstance_1(), - tmp_0 = "defaultbranch") : tmp_0 = ref, tmp = tmp_0; - } else tmp0_subject instanceof Schedule || tmp0_subject instanceof WorkflowDispatch ? (Companion_getInstance_1(), - tmp = "defaultbranch") : tmp0_subject instanceof Other ? tmp = _this__u8e3s4.s1n_1 + "-" + ActionsEnvironment_getInstance().hs() + "-" + ActionsEnvironment_getInstance().ls() : noWhenBranchMatchedException(); - return tmp; - } - function CompositeCache$save$slambda$slambda($cache, resultContinuation) { - this.o1q_1 = $cache, CoroutineImpl.call(this, resultContinuation); - } - function CompositeCache$save$slambda$slambda_0($cache, resultContinuation) { - var i = new CompositeCache$save$slambda$slambda($cache, resultContinuation), l = function($this$launch, $cont) { - return i.zt($this$launch, $cont); - }; - return l.$arity = 1, l; + this.n1f_1 = "GHA_CACHE_URL", this.o1f_1 = ".cache-proxy"; } - function CompositeCache$restore$slambda$slambda($cache, resultContinuation) { - this.y1q_1 = $cache, CoroutineImpl.call(this, resultContinuation); + function putEntry($this, id, req, res, $completion) { + var tmp = new $putEntryCOROUTINE$0($this, id, req, res, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); } - function CompositeCache$restore$slambda$slambda_0($cache, resultContinuation) { - var i = new CompositeCache$restore$slambda$slambda($cache, resultContinuation), l = function($this$launch, $cont) { - return i.zt($this$launch, $cont); - }; - return l.$arity = 1, l; + function getEntry($this, id, res, $completion) { + var tmp = new $getEntryCOROUTINE$1($this, id, res, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); } - function CompositeCache$save$slambda(this$0, resultContinuation) { - this.i1r_1 = this$0, CoroutineImpl.call(this, resultContinuation); + function CacheProxy$server$lambda$slambda($path, $req, this$0, $res, resultContinuation) { + this.h1h_1 = $path, this.i1h_1 = $req, this.j1h_1 = this$0, this.k1h_1 = $res, CoroutineImpl.call(this, resultContinuation); } - function CompositeCache$save$slambda_0(this$0, resultContinuation) { - var i = new CompositeCache$save$slambda(this$0, resultContinuation), l = function($this$supervisorScope, $cont) { - return i.zt($this$supervisorScope, $cont); + function CacheProxy$server$lambda(this$0) { + return function(req, res) { + var tmp0_elvis_lhs = parse(ensureNotNull(req.url), !0).pathname; + return handle(res, function($path, $req, this$0, $res, resultContinuation) { + var i = new CacheProxy$server$lambda$slambda($path, $req, this$0, $res, resultContinuation), l = function($this$handle, $completion) { + return i.gw($this$handle, $completion); + }; + return l.$arity = 1, l; + }(null == tmp0_elvis_lhs ? "" : tmp0_elvis_lhs, req, this$0, res, null)), Unit_instance; }; - return l.$arity = 1, l; } - function CompositeCache$restore$slambda(this$0, resultContinuation) { - this.s1r_1 = this$0, CoroutineImpl.call(this, resultContinuation); + function CacheProxy$putEntry$slambda($id, this$0, $fileName, resultContinuation) { + this.x1h_1 = $id, this.y1h_1 = this$0, this.z1h_1 = $fileName, CoroutineImpl.call(this, resultContinuation); } - function CompositeCache$restore$slambda_0(this$0, resultContinuation) { - var i = new CompositeCache$restore$slambda(this$0, resultContinuation), l = function($this$supervisorScope, $cont) { - return i.zt($this$supervisorScope, $cont); + function CacheProxy$putEntry$slambda_0($id, this$0, $fileName, resultContinuation) { + var i = new CacheProxy$putEntry$slambda($id, this$0, $fileName, resultContinuation), l = function($this$launch, $completion) { + return i.gw($this$launch, $completion); }; return l.$arity = 1, l; } - function $saveCOROUTINE$1(_this__u8e3s4, resultContinuation) { - CoroutineImpl.call(this, resultContinuation), this.c1s_1 = _this__u8e3s4; - } - function $restoreCOROUTINE$2(_this__u8e3s4, resultContinuation) { - CoroutineImpl.call(this, resultContinuation), this.q1s_1 = _this__u8e3s4; - } - function CompositeCache(name, caches, concurrent) { - this.a1q_1 = name, this.b1q_1 = caches, this.c1q_1 = concurrent; - } - function DefaultCache_init_$Init$(name, primaryKey, restoreKeys, paths, readOnlyMessage, stateKey, skipRestoreIfPathExists, $mask0, $marker, $this) { - var tmp$ret$0; - return 0 != (4 & $mask0) && (tmp$ret$0 = emptyList(), Unit_getInstance(), restoreKeys = tmp$ret$0), - 0 != (16 & $mask0) && (readOnlyMessage = null), 0 != (32 & $mask0) && (stateKey = ""), - 0 != (64 & $mask0) && (skipRestoreIfPathExists = null), DefaultCache.call($this, name, primaryKey, restoreKeys, paths, readOnlyMessage, stateKey, skipRestoreIfPathExists), - $this; - } - function DefaultCache_init_$Create$(name, primaryKey, restoreKeys, paths, readOnlyMessage, stateKey, skipRestoreIfPathExists, $mask0, $marker) { - return DefaultCache_init_$Init$(name, primaryKey, restoreKeys, paths, readOnlyMessage, stateKey, skipRestoreIfPathExists, $mask0, $marker, Object.create(DefaultCache.prototype)); - } - function _get_restoredKey__gcgyt4($this) { - return $this.g1t_1.ij() ? $this.w1s_1 : $this.i1t_1.ij() >= 0 ? $this.x1s_1.g($this.i1t_1.ij()) : null; - } - function $restoreCOROUTINE$3(_this__u8e3s4, resultContinuation) { - CoroutineImpl.call(this, resultContinuation), this.s1t_1 = _this__u8e3s4; - } - function $saveCOROUTINE$4(_this__u8e3s4, resultContinuation) { - CoroutineImpl.call(this, resultContinuation), this.j1u_1 = _this__u8e3s4; - } - function DefaultCache(name, primaryKey, restoreKeys, paths, readOnlyMessage, stateKey, skipRestoreIfPathExists) { - this.w1s_1 = primaryKey, this.x1s_1 = restoreKeys, this.y1s_1 = paths, this.z1s_1 = readOnlyMessage, - this.a1t_1 = skipRestoreIfPathExists, this.b1t_1 = name, this.c1t_1 = "1-"; - var tmp = this, tmp_0 = name + "-info", tmp_1 = Companion_getInstance().u1e(); - tmp.d1t_1 = MetadataFile_init_$Create$(tmp_0, tmp_1, null, 4, null); - var tmp_2 = this, tmp_3 = name + "-contents", tmp_4 = Companion_getInstance_0().u1e(); - tmp_2.e1t_1 = MetadataFile_init_$Create$(tmp_3, tmp_4, null, 4, null), this.f1t_1 = plus(plus(this.y1s_1, this.d1t_1.y1t_1), this.e1t_1.y1t_1); - var tmp_6 = name + "_" + stateKey + "_exact"; - this.g1t_1 = toBoolean(stateVariable$default(tmp_6, null, 2, null)); - var tmp_8 = name + "_" + stateKey + "_skip"; - this.h1t_1 = toBoolean(stateVariable$default(tmp_8, null, 2, null)); - var tmp_10 = name + "_" + stateKey + "_key"; - this.i1t_1 = toInt_0(stateVariable$default(tmp_10, null, 2, null), -1), this.j1t_1 = null; - } - function gradleGeneratedJarsCache(gradleVersion) { - return DefaultCache_init_$Create$("gradle-generated-jars", "generated-gradle-jars-gradle-" + gradleVersion, null, listOf([ "~/.gradle/caches/" + gradleVersion + "/generated-gradle-jars/*", "!~/.gradle/caches/" + gradleVersion + "/generated-gradle-jars/*.lock" ]), null, null, "~/.gradle/caches/" + gradleVersion + "/generated-gradle-jars", 52, null); - } - function LayeredCache_init_$Init$(name, baseline, maxLayers, primaryKey, restoreKeys, paths, $mask0, $marker, $this) { - var tmp$ret$0; - return 0 != (4 & $mask0) && (maxLayers = 5), 0 != (16 & $mask0) && (tmp$ret$0 = emptyList(), - Unit_getInstance(), restoreKeys = tmp$ret$0), LayeredCache.call($this, name, baseline, maxLayers, primaryKey, restoreKeys, paths), - $this; - } - function LayeredCache_init_$Create$(name, baseline, maxLayers, primaryKey, restoreKeys, paths, $mask0, $marker) { - return LayeredCache_init_$Init$(name, baseline, maxLayers, primaryKey, restoreKeys, paths, $mask0, $marker, Object.create(LayeredCache.prototype)); - } - function toCache(_this__u8e3s4, $this, stateKey) { - var tmp, tmp0_name = $this.r1u_1, tmp1_primaryKey = _this__u8e3s4.b1v_1; - if (_this__u8e3s4.c1v_1.l()) { - for (var tmp1_map = $this.v1u_1, tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_map, 10)), tmp0_iterator = tmp1_map.d(); tmp0_iterator.e(); ) { - var tmp$ret$2, item = tmp0_iterator.f(); - tmp$ret$2 = $this.x1u_1 + "-" + item, tmp0_mapTo.a(tmp$ret$2); - } - tmp = tmp0_mapTo; - } else tmp = emptyList(); - var tmp_0, tmp2_restoreKeys = tmp, tmp2_ifEmpty = _this__u8e3s4.c1v_1; - return tmp_0 = tmp2_ifEmpty.l() ? $this.w1u_1 : tmp2_ifEmpty, DefaultCache_init_$Create$(tmp0_name, tmp1_primaryKey, tmp2_restoreKeys, tmp_0, null, stateKey, null, 80, null); - } - function toLayer(_this__u8e3s4, $this) { - return new CacheLayer($this.x1u_1 + "-delta-" + $this.u1u_1, _this__u8e3s4.o1g_1); - } - function saveSingleLayerCache($this, $cont) { - var tmp = new $saveSingleLayerCacheCOROUTINE$7($this, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); - } - function LayeredCache$restore$lambda(it) { - return it.c1v_1.l() ? it.b1v_1 : it.b1v_1 + " (" + it.c1v_1.c() + " files)"; - } - function $restoreCOROUTINE$5(_this__u8e3s4, resultContinuation) { - CoroutineImpl.call(this, resultContinuation), this.y1v_1 = _this__u8e3s4; - } - function $saveCOROUTINE$6(_this__u8e3s4, resultContinuation) { - CoroutineImpl.call(this, resultContinuation), this.t1w_1 = _this__u8e3s4; - } - function $saveSingleLayerCacheCOROUTINE$7(_this__u8e3s4, resultContinuation) { - CoroutineImpl.call(this, resultContinuation), this.l1v_1 = _this__u8e3s4; - } - function LayeredCache(name, baseline, maxLayers, primaryKey, restoreKeys, paths) { - this.r1u_1 = name, this.s1u_1 = baseline, this.t1u_1 = maxLayers, this.u1u_1 = primaryKey, - this.v1u_1 = restoreKeys, this.w1u_1 = paths, this.x1u_1 = "1"; - var tmp = this, tmp_0 = "layer-" + this.r1u_1, tmp_1 = Companion_getInstance_2().u1e(); - tmp.y1u_1 = MetadataFile_init_$Create$(tmp_0, tmp_1, null, 4, null); - var tmp_2 = this, tmp_3 = this.r1u_1 + "_exact"; - tmp_2.z1u_1 = toBoolean(stateVariable$default(tmp_3, null, 2, null)); - for (var tmp_4 = this, tmp_5 = this.x1u_1 + "-index-" + this.r1u_1, tmp_6 = this.x1u_1 + "-index-" + this.u1u_1, tmp0_map = this.v1u_1, tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp0_map, 10)), tmp0_iterator = tmp0_map.d(); tmp0_iterator.e(); ) { - var tmp$ret$1, item = tmp0_iterator.f(); - tmp$ret$1 = this.x1u_1 + "-index-" + item, tmp0_mapTo.a(tmp$ret$1); - } - var tmp_7 = tmp0_mapTo, tmp_8 = listOf_0(this.y1u_1.y1t_1); - tmp_4.a1v_1 = DefaultCache_init_$Create$(tmp_5, tmp_6, tmp_7, tmp_8, null, null, null, 112, null); - } - function Companion_0() { - Companion_instance_0 = this; - } - function Companion_getInstance_2() { - return null == Companion_instance_0 && new Companion_0, Companion_instance_0; - } - function $serializer() { - $serializer_instance = this; - var tmp0_serialDesc = new PluginGeneratedSerialDescriptor("com.github.burrunan.gradle.cache.CacheLayers", this, 2); - tmp0_serialDesc.b11("layers", !1), tmp0_serialDesc.b11("deletedFiles", !1), this.n1x_1 = tmp0_serialDesc; - } - function $serializer_getInstance() { - return null == $serializer_instance && new $serializer, $serializer_instance; - } - function CacheLayers_init_$Init$(seen1, layers, deletedFiles, serializationConstructorMarker, $this) { - return 3 != (3 & seen1) && throwMissingFieldException(seen1, 3, $serializer_getInstance().n1x_1), - $this.j1w_1 = layers, $this.k1w_1 = deletedFiles, $this; - } - function CacheLayers_init_$Create$(seen1, layers, deletedFiles, serializationConstructorMarker) { - return CacheLayers_init_$Init$(seen1, layers, deletedFiles, serializationConstructorMarker, Object.create(CacheLayers.prototype)); - } - function CacheLayers(layers, deletedFiles) { - Companion_getInstance_2(), this.j1w_1 = layers, this.k1w_1 = deletedFiles; - } - function Companion_1() { - Companion_instance_1 = this; - } - function Companion_getInstance_3() { - return null == Companion_instance_1 && new Companion_1, Companion_instance_1; - } - function $serializer_0() { - $serializer_instance_0 = this; - var tmp0_serialDesc = new PluginGeneratedSerialDescriptor("com.github.burrunan.gradle.cache.CacheLayer", this, 2); - tmp0_serialDesc.b11("primaryKey", !1), tmp0_serialDesc.b11("paths", !1), this.p1x_1 = tmp0_serialDesc; - } - function $serializer_getInstance_0() { - return null == $serializer_instance_0 && new $serializer_0, $serializer_instance_0; - } - function CacheLayer_init_$Init$(seen1, primaryKey, paths, serializationConstructorMarker, $this) { - return 3 != (3 & seen1) && throwMissingFieldException(seen1, 3, $serializer_getInstance_0().p1x_1), - $this.b1v_1 = primaryKey, $this.c1v_1 = paths, $this; - } - function CacheLayer_init_$Create$(seen1, primaryKey, paths, serializationConstructorMarker) { - return CacheLayer_init_$Init$(seen1, primaryKey, paths, serializationConstructorMarker, Object.create(CacheLayer.prototype)); - } - function CacheLayer(primaryKey, paths) { - Companion_getInstance_3(), this.b1v_1 = primaryKey, this.c1v_1 = paths; - } - function MetadataFile_init_$Init$(name, serializer, extension, $mask0, $marker, $this) { - return 0 != (4 & $mask0) && (extension = ".json"), MetadataFile.call($this, name, serializer, extension), - $this; - } - function MetadataFile_init_$Create$(name, serializer, extension, $mask0, $marker) { - return MetadataFile_init_$Init$(name, serializer, extension, $mask0, $marker, Object.create(MetadataFile.prototype)); - } - function Companion_2() { - Companion_instance_2 = this, this.r1x_1 = "~/.gradle-cache-action", this.s1x_1 = Regex_init_$Create$("[!@#$%^&*:;'\"{}\\r\\n\\[\\]\\\\]"); - var path = get_normalizedPath("~/.gradle-cache-action"); - if (!existsSync(path)) try { - mkdirSync(path); - } catch ($p) { - if (!($p instanceof Error)) throw $p; - } - } - function Companion_getInstance_4() { - return null == Companion_instance_2 && new Companion_2, Companion_instance_2; - } - function $restoreCOROUTINE$8(_this__u8e3s4, key, resultContinuation) { - CoroutineImpl.call(this, resultContinuation), this.b1y_1 = _this__u8e3s4, this.c1y_1 = key; - } - function $decodeCOROUTINE$9(_this__u8e3s4, warnOnMissing, resultContinuation) { - CoroutineImpl.call(this, resultContinuation), this.m1y_1 = _this__u8e3s4, this.n1y_1 = warnOnMissing; - } - function MetadataFile(name, serializer, extension) { - Companion_getInstance_4(), this.w1t_1 = serializer, this.x1t_1 = extension; - var tmp = this; - Companion_getInstance_4(), tmp.y1t_1 = "~/.gradle-cache-action/" + name + this.x1t_1, - this.z1t_1 = get_normalizedPath(this.y1t_1); - } - function gradleDependenciesCache(trigger, path, gradleDependenciesCacheKey, $cont) { - for (var tmp = listOf([ "~/.gradle/caches/modules-2/*", "!~/.gradle/caches/modules-2/gc.properties", "!~/.gradle/caches/modules-2/modules-2.lock" ]), tmp_0 = listOf([ path + "/**/*.gradle", path + "/**/*.gradle.kts", path + "/**/gradle/dependency-locking/**", path + "/**/*.properties", path + "/**/gradle/libs.versions.toml" ]), tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(gradleDependenciesCacheKey, 10)), tmp0_iterator = gradleDependenciesCacheKey.d(); tmp0_iterator.e(); ) { - var tmp$ret$1, tmp$ret$0, item = tmp0_iterator.f(), tmp_2 = (startsWith$default(item, "!", !1, 2, null) ? "!" : "") + path + "/**/"; - tmp$ret$0 = toString(trim(isCharSequence(item) ? item : THROW_CCE())), tmp$ret$1 = tmp_2 + trimStart(tmp$ret$0, charArrayOf([ _Char___init__impl__6a9atx(33) ])), - tmp0_mapTo.a(tmp$ret$1); - } - return dependenciesCache("gradle", trigger, tmp, plus_0(plus_0(tmp_0, tmp0_mapTo), listOf_0("!" + path + "/**/.gradle/")), $cont); - } - function mavenDependenciesCache(trigger, path, mavenLocalIgnorePaths, $cont) { - for (var tmp = listOf_0("~/.m2/repository"), tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(mavenLocalIgnorePaths, 10)), tmp0_iterator = mavenLocalIgnorePaths.d(); tmp0_iterator.e(); ) { - var tmp$ret$0; - tmp$ret$0 = "!~/.m2/repository/" + tmp0_iterator.f(), tmp0_mapTo.a(tmp$ret$0); - } - return dependenciesCache("maven", trigger, plus_0(tmp, tmp0_mapTo), listOf_0(path + "/**/pom.xml"), $cont); - } - function dependenciesCache(name, trigger, cacheLocation, pathDependencies, $cont) { - var tmp = new $dependenciesCacheCOROUTINE$10(name, trigger, cacheLocation, pathDependencies, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); - } - function dependenciesCache$slambda($pathDependencies, resultContinuation) { - this.s1z_1 = $pathDependencies, CoroutineImpl.call(this, resultContinuation); - } - function dependenciesCache$slambda_0($pathDependencies, resultContinuation) { - var i = new dependenciesCache$slambda($pathDependencies, resultContinuation), l = function($cont) { - return i.l1o($cont); + function CacheProxy$start$lambda($cont) { + return function() { + var this_0 = $cont, tmp$ret$0 = _Result___init__impl__xyqfz8(null); + return this_0.g7(tmp$ret$0), Unit_instance; }; - return l.$arity = 0, l; - } - function $dependenciesCacheCOROUTINE$10(name, trigger, cacheLocation, pathDependencies, resultContinuation) { - CoroutineImpl.call(this, resultContinuation), this.z1y_1 = name, this.a1z_1 = trigger, - this.b1z_1 = cacheLocation, this.c1z_1 = pathDependencies; - } - function localBuildCache(jobId, trigger, gradleVersion, treeId) { - var buildCacheLocation = "~/.gradle/caches/build-cache-1"; - Companion_getInstance_1(); - var tmp, defaultBranch = "defaultbranch", pkPrefix = get_cacheKey(trigger), tmp0_subject = trigger; - tmp = tmp0_subject instanceof PullRequest ? [ pkPrefix, removePrefix(trigger.l1n_1.pull_request.base.ref, "refs/heads/") ] : tmp0_subject instanceof BranchPush ? [ pkPrefix ] : []; - for (var tmp2_plus = [ defaultBranch, "master", "main" ], restoreKeys = tmp.concat(tmp2_plus), prefix = "gradle-build-cache-" + jobId + "-gradle-" + gradleVersion, tmp_0 = prefix + "-" + defaultBranch, tmp_1 = prefix + "-" + pkPrefix + "-" + treeId, tmp0_mapTo = ArrayList_init_$Create$_0(restoreKeys.length), indexedObject = restoreKeys, inductionVariable = 0, last = indexedObject.length; inductionVariable < last; ) { - var tmp$ret$14, item = indexedObject[inductionVariable]; - inductionVariable = inductionVariable + 1 | 0, tmp$ret$14 = prefix + "-" + item, - tmp0_mapTo.a(tmp$ret$14); - } - return LayeredCache_init_$Create$("local-build-cache", tmp_0, 0, tmp_1, tmp0_mapTo, listOf([ buildCacheLocation + "/*", "!" + buildCacheLocation + "/gc.properties", "!" + buildCacheLocation + "/build-cache-1.lock" ]), 4, null); - } - function stateVariable(name, default_0) { - return new DefaultStateVariable(name, default_0); - } - function stateVariable$default(name, default_0, $mask0, $handler) { - return 0 != (2 & $mask0) && (default_0 = stateVariable$lambda), stateVariable(name, default_0); - } - function DefaultStateVariable(name, default_0) { - BaseStateVariable.call(this, name), this.v1z_1 = default_0; - } - function BaseStateVariable(name) { - this.w1z_1 = name, this.x1z_1 = null; - } - function suspendingStateVariable(name, default_0) { - return new DefaultSuspendingStateVariable(name, default_0); - } - function $getCOROUTINE$11(_this__u8e3s4, resultContinuation) { - CoroutineImpl.call(this, resultContinuation), this.g20_1 = _this__u8e3s4; - } - function DefaultSuspendingStateVariable(name, default_0) { - BaseStateVariable.call(this, name), this.n20_1 = default_0; - } - function toBoolean(_this__u8e3s4) { - return transform(_this__u8e3s4, toBoolean$lambda, toBoolean$lambda_0); - } - function toInt_0(_this__u8e3s4, default_0) { - return transform(_this__u8e3s4, toInt$lambda(default_0), toInt$lambda_0); - } - function transform(_this__u8e3s4, decode, encode) { - return new transform$1(decode, _this__u8e3s4, encode); - } - function stateVariable$lambda() { - return ""; } - function toBoolean$lambda(it) { - return "Y" === it; - } - function toBoolean$lambda_0(it) { - return it ? "Y" : "N"; - } - function toInt$lambda($default) { - return function(it) { - return isBlank(it) ? $default : toInt(it); - }; + function $putEntryCOROUTINE$0(_this__u8e3s4, id, req, res, resultContinuation) { + CoroutineImpl.call(this, resultContinuation), this.x1f_1 = _this__u8e3s4, this.y1f_1 = id, + this.z1f_1 = req, this.a1g_1 = res; } - function toInt$lambda_0(it) { - return it.toString(); + function $getEntryCOROUTINE$1(_this__u8e3s4, id, res, resultContinuation) { + CoroutineImpl.call(this, resultContinuation), this.l1g_1 = _this__u8e3s4, this.m1g_1 = id, + this.n1g_1 = res; } - function transform$1($decode, $this_transform, $encode) { - this.p20_1 = $decode, this.q20_1 = $this_transform, this.r20_1 = $encode; - } - return setMetadataFor(Companion, "Companion", objectMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(GradleCacheAction$treeId$slambda, "GradleCacheAction$treeId$slambda", classMeta, CoroutineImpl, void 0, void 0, void 0, [ 0 ]), - setMetadataFor($executeCOROUTINE$0, "$executeCOROUTINE$0", classMeta, CoroutineImpl, void 0, void 0, void 0, []), - setMetadataFor(GradleCacheAction, "GradleCacheAction", classMeta, void 0, void 0, void 0, void 0, [ 1 ]), - setMetadataFor(Parameters, "Parameters", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(CompositeCache$save$slambda$slambda, "CompositeCache$save$slambda$slambda", classMeta, CoroutineImpl, void 0, void 0, void 0, [ 1 ]), - setMetadataFor(CompositeCache$restore$slambda$slambda, "CompositeCache$restore$slambda$slambda", classMeta, CoroutineImpl, void 0, void 0, void 0, [ 1 ]), - setMetadataFor(CompositeCache$save$slambda, "CompositeCache$save$slambda", classMeta, CoroutineImpl, void 0, void 0, void 0, [ 1 ]), - setMetadataFor(CompositeCache$restore$slambda, "CompositeCache$restore$slambda", classMeta, CoroutineImpl, void 0, void 0, void 0, [ 1 ]), - setMetadataFor($saveCOROUTINE$1, "$saveCOROUTINE$1", classMeta, CoroutineImpl, void 0, void 0, void 0, []), - setMetadataFor($restoreCOROUTINE$2, "$restoreCOROUTINE$2", classMeta, CoroutineImpl, void 0, void 0, void 0, []), - setMetadataFor(CompositeCache, "CompositeCache", classMeta, void 0, void 0, void 0, void 0, [ 0 ]), - setMetadataFor($restoreCOROUTINE$3, "$restoreCOROUTINE$3", classMeta, CoroutineImpl, void 0, void 0, void 0, []), - setMetadataFor($saveCOROUTINE$4, "$saveCOROUTINE$4", classMeta, CoroutineImpl, void 0, void 0, void 0, []), - setMetadataFor(DefaultCache, "DefaultCache", classMeta, void 0, void 0, void 0, void 0, [ 0 ]), - setMetadataFor($restoreCOROUTINE$5, "$restoreCOROUTINE$5", classMeta, CoroutineImpl, void 0, void 0, void 0, []), - setMetadataFor($saveCOROUTINE$6, "$saveCOROUTINE$6", classMeta, CoroutineImpl, void 0, void 0, void 0, []), - setMetadataFor($saveSingleLayerCacheCOROUTINE$7, "$saveSingleLayerCacheCOROUTINE$7", classMeta, CoroutineImpl, void 0, void 0, void 0, []), - setMetadataFor(LayeredCache, "LayeredCache", classMeta, void 0, void 0, void 0, void 0, [ 0 ]), - setMetadataFor(Companion_0, "Companion", objectMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor($serializer, "$serializer", objectMeta, void 0, [ GeneratedSerializer ], void 0, void 0, []), - setMetadataFor(CacheLayers, "CacheLayers", classMeta, void 0, void 0, void 0, { - 0: $serializer_getInstance - }, []), setMetadataFor(Companion_1, "Companion", objectMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor($serializer_0, "$serializer", objectMeta, void 0, [ GeneratedSerializer ], void 0, void 0, []), - setMetadataFor(CacheLayer, "CacheLayer", classMeta, void 0, void 0, void 0, { - 0: $serializer_getInstance_0 - }, []), setMetadataFor(Companion_2, "Companion", objectMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor($restoreCOROUTINE$8, "$restoreCOROUTINE$8", classMeta, CoroutineImpl, void 0, void 0, void 0, []), - setMetadataFor($decodeCOROUTINE$9, "$decodeCOROUTINE$9", classMeta, CoroutineImpl, void 0, void 0, void 0, []), - setMetadataFor(MetadataFile, "MetadataFile", classMeta, void 0, void 0, void 0, void 0, [ 1 ]), - setMetadataFor(dependenciesCache$slambda, "dependenciesCache$slambda", classMeta, CoroutineImpl, void 0, void 0, void 0, [ 0 ]), - setMetadataFor($dependenciesCacheCOROUTINE$10, "$dependenciesCacheCOROUTINE$10", classMeta, CoroutineImpl, void 0, void 0, void 0, []), - setMetadataFor(BaseStateVariable, "BaseStateVariable", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(DefaultStateVariable, "DefaultStateVariable", classMeta, BaseStateVariable, void 0, void 0, void 0, []), - setMetadataFor($getCOROUTINE$11, "$getCOROUTINE$11", classMeta, CoroutineImpl, void 0, void 0, void 0, []), - setMetadataFor(DefaultSuspendingStateVariable, "DefaultSuspendingStateVariable", classMeta, BaseStateVariable, void 0, void 0, void 0, [ 0 ]), - setMetadataFor(transform$1, void 0, classMeta, void 0, void 0, void 0, void 0, []), - GradleCacheAction$treeId$slambda.prototype.l1o = function($cont) { - var tmp = this.m1o($cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); - }, GradleCacheAction$treeId$slambda.prototype.n1o = function($cont) { - return this.l1o($cont); - }, GradleCacheAction$treeId$slambda.prototype.td = function() { - var suspendResult = this.nd_1; + function $startCOROUTINE$2(_this__u8e3s4, resultContinuation) { + CoroutineImpl.call(this, resultContinuation), this.d1j_1 = _this__u8e3s4; + } + function CacheProxy() { + this.r1i_1 = null; + this.s1i_1 = createServer(CacheProxy$server$lambda(this)); + var this_0 = {}; + this_0.compressionMethod = CompressionMethod.Gzip, this.t1i_1 = this_0, this.u1i_1 = "com.github.burrunan.multi-cache"; + } + initMetadataForCompanion(Companion), initMetadataForLambda(CacheProxy$server$lambda$slambda, CoroutineImpl, VOID, [ 1 ]), + initMetadataForLambda(CacheProxy$putEntry$slambda, CoroutineImpl, VOID, [ 1 ]), + initMetadataForCoroutine($putEntryCOROUTINE$0, CoroutineImpl), initMetadataForCoroutine($getEntryCOROUTINE$1, CoroutineImpl), + initMetadataForCoroutine($startCOROUTINE$2, CoroutineImpl), initMetadataForClass(CacheProxy, "CacheProxy", CacheProxy, VOID, VOID, [ 3, 2, 0, 1 ]), + protoOf(CacheProxy$server$lambda$slambda).gw = function($this$handle, $completion) { + var tmp = this.hw($this$handle, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); + }, protoOf(CacheProxy$server$lambda$slambda).c8 = function(p1, $completion) { + return this.gw(null != p1 && isInterface(p1, CoroutineScope) ? p1 : THROW_CCE(), $completion); + }, protoOf(CacheProxy$server$lambda$slambda).d7 = function() { + var suspendResult = this.x6_1; $sm: for (;;) try { - switch (this.ld_1) { + switch (this.v6_1) { case 0: - if (this.md_1 = 2, this.ld_1 = 1, (suspendResult = exec$default("git", [ "log", "-1", "--quiet", "--format=%T" ], !0, null, this, 8, null)) === get_COROUTINE_SUSPENDED()) return suspendResult; + if (this.w6_1 = 4, this.m1h_1 = removePrefix(this.h1h_1, "/"), this.n1h_1 = this.i1h_1.method, + "GET" === this.n1h_1) { + if (this.v6_1 = 2, (suspendResult = getEntry(this.j1h_1, this.m1h_1, this.k1h_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + } + if ("PUT" === this.n1h_1) { + if (this.v6_1 = 1, (suspendResult = putEntry(this.j1h_1, this.m1h_1, this.i1h_1, this.k1h_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + } + this.o1h_1 = Companion_instance.u15("Not implemented: " + this.i1h_1.method), this.v6_1 = 3; continue $sm; case 1: - var tmp0_trim = suspendResult.os_1; - return toString(trim(isCharSequence(tmp0_trim) ? tmp0_trim : THROW_CCE())); + this.o1h_1 = Unit_instance, this.v6_1 = 3; + continue $sm; case 2: - throw this.od_1; + this.o1h_1 = Unit_instance, this.v6_1 = 3; + continue $sm; + + case 3: + return Unit_instance; + + case 4: + throw this.y6_1; } } catch ($p) { - if (2 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; - } - }, GradleCacheAction$treeId$slambda.prototype.m1o = function(completion) { - return new GradleCacheAction$treeId$slambda(completion); - }, $executeCOROUTINE$0.prototype.td = function() { - var suspendResult = this.nd_1; + var e = $p; + if (4 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; + } + }, protoOf(CacheProxy$server$lambda$slambda).hw = function($this$handle, completion) { + var i = new CacheProxy$server$lambda$slambda(this.h1h_1, this.i1h_1, this.j1h_1, this.k1h_1, completion); + return i.l1h_1 = $this$handle, i; + }, protoOf(CacheProxy$putEntry$slambda).gw = function($this$launch, $completion) { + var tmp = this.hw($this$launch, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); + }, protoOf(CacheProxy$putEntry$slambda).c8 = function(p1, $completion) { + return this.gw(null != p1 && isInterface(p1, CoroutineScope) ? p1 : THROW_CCE(), $completion); + }, protoOf(CacheProxy$putEntry$slambda).d7 = function() { + var suspendResult = this.x6_1; $sm: for (;;) try { - switch (this.ld_1) { + switch (this.v6_1) { case 0: - if (this.md_1 = 11, this.y1o_1 = this.w1o_1.m1p_1.s1h_1, this.z1o_1 = ArrayList_init_$Create$(), - this.w1o_1.l1p_1.r1p_1 && this.z1o_1.a(gradleGeneratedJarsCache(this.y1o_1)), this.w1o_1.l1p_1.s1p_1) { - if (this.a1p_1 = this.w1o_1.l1p_1.o1p_1, this.b1p_1 = this.w1o_1.k1p_1, this.ld_1 = 1, - (suspendResult = this.w1o_1.n1p_1.z1p(this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - } - this.ld_1 = 2; + this.w6_1 = 10, this.v6_1 = 1; continue $sm; case 1: - this.c1p_1 = suspendResult, this.d1p_1 = localBuildCache(this.a1p_1, this.b1p_1, this.y1o_1, this.c1p_1), - this.z1o_1.a(this.d1p_1), this.ld_1 = 2; + this.w6_1 = 8; + var this_0 = [ this.x1h_1 ]; + if (this.c1i_1 = reserveCache(this.x1h_1, this_0, this.y1h_1.t1i_1), this.v6_1 = 2, + (suspendResult = await_0(this.c1i_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; continue $sm; case 2: - if (this.w1o_1.l1p_1.t1p_1) { - if (this.ld_1 = 3, (suspendResult = gradleDependenciesCache(this.w1o_1.k1p_1, this.w1o_1.l1p_1.p1p_1, this.w1o_1.l1p_1.u1p_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; + this.d1i_1 = suspendResult; + var tmp1_safe_receiver = this.d1i_1.result; + if (this.e1i_1 = null == tmp1_safe_receiver ? null : tmp1_safe_receiver.cacheId, + null == this.e1i_1) { + if (equals(this.d1i_1.statusCode, 400)) { + if (this.v6_1 = 7, (suspendResult = stat(this.z1h_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + } + var tmp2_safe_receiver = this.d1i_1.error; + throw newThrowable("Can't reserve cache for id " + this.x1h_1 + ", another job might be creating this cache: " + (null == tmp2_safe_receiver ? null : tmp2_safe_receiver.message)); } - this.ld_1 = 4; + this.f1i_1 = this.e1i_1, this.v6_1 = 3; continue $sm; case 3: - this.e1p_1 = suspendResult, this.z1o_1.a(this.e1p_1), this.ld_1 = 4; + if (this.g1i_1 = this.f1i_1, console.log("cacheid: " + toString(this.g1i_1)), this.v6_1 = 4, + (suspendResult = await_0(saveCache(this.g1i_1, this.z1h_1), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; continue $sm; case 4: - if (this.w1o_1.l1p_1.v1p_1) { - if (this.ld_1 = 5, (suspendResult = mavenDependenciesCache(this.w1o_1.k1p_1, this.w1o_1.l1p_1.p1p_1, this.w1o_1.l1p_1.w1p_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - } - this.ld_1 = 6; + this.b1i_1 = suspendResult, this.w6_1 = 10, this.v6_1 = 5; continue $sm; case 5: - this.f1p_1 = suspendResult, this.z1o_1.a(this.f1p_1), this.ld_1 = 6; + if (this.w6_1 = 10, this.v6_1 = 6, (suspendResult = removeFiles(listOf(this.z1h_1), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; continue $sm; case 6: - if (this.g1p_1 = new CompositeCache("all-caches", this.z1o_1, this.w1o_1.l1p_1.x1p_1), - this.h1p_1 = this.x1o_1, this.i1p_1 = this.h1p_1.d4_1, 1 === this.i1p_1) { - if (this.j1p_1 = Date.now(), this.ld_1 = 9, (suspendResult = this.g1p_1.e1q(this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - } - if (2 === this.i1p_1) { - if (this.w1o_1.l1p_1.y1p_1) { - info("read-only == true, so will skip cache upload"), this.ld_1 = 8; - continue $sm; - } - if (this.ld_1 = 7, (suspendResult = this.g1p_1.d1q(this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - } - var tmp_1 = "Cache action should be called in PRE or POST stages only. Current stage is " + this.x1o_1; - throw ActionFailedException_init_$Create$(tmp_1, null, 2, null); + return Unit_instance; case 7: - this.ld_1 = 8; - continue $sm; + this.h1i_1 = suspendResult, this.i1i_1 = this.h1i_1.size, this.j1i_1 = numberToLong(this.i1i_1); + this.k1i_1 = 1024, this.l1i_1 = this.j1i_1.c2(toLong(this.k1i_1)); + throw this.m1i_1 = 1024, this.n1i_1 = this.l1i_1.c2(toLong(this.m1i_1)), this.o1i_1 = this.n1i_1.toString(), + this.p1i_1 = "Cache " + this.z1h_1 + " size of " + this.o1i_1 + " MB is over the limit, not saving cache", + newThrowable(this.p1i_1); case 8: - this.ld_1 = 10; + if (this.w6_1 = 10, this.q1i_1 = this.y6_1, this.v6_1 = 9, (suspendResult = removeFiles(listOf(this.z1h_1), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; continue $sm; case 9: - var elapsed = Date.now() - this.j1p_1; - info("Cache restore took " + roundToInt(elapsed / 1e3) + " seconds"), this.ld_1 = 10; - continue $sm; + throw this.q1i_1; case 10: - return Unit_getInstance(); + throw this.y6_1; + } + } catch ($p) { + var e = $p; + if (10 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; + } + }, protoOf(CacheProxy$putEntry$slambda).hw = function($this$launch, completion) { + var i = new CacheProxy$putEntry$slambda(this.x1h_1, this.y1h_1, this.z1h_1, completion); + return i.a1i_1 = $this$launch, i; + }, protoOf($putEntryCOROUTINE$0).d7 = function() { + var suspendResult = this.x6_1; + $sm: for (;;) try { + switch (this.v6_1) { + case 0: + this.w6_1 = 5, this.b1g_1 = node_path_path_1155cy.join(".cache-proxy", "bc-" + this.y1f_1), + this.v6_1 = 1; + continue $sm; - case 11: - throw this.od_1; + case 1: + if (this.w6_1 = 4, this.v6_1 = 2, (suspendResult = pipeAndWait(this.z1f_1, createWriteStream(this.b1g_1), VOID, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 2: + this.a1g_1.writeHead(200, "OK", undefined), this.c1g_1 = Unit_instance, this.w6_1 = 5, + this.v6_1 = 3; + continue $sm; + + case 3: + return this.w6_1 = 5, launch(GlobalScope_instance, VOID, VOID, CacheProxy$putEntry$slambda_0(this.y1f_1, this.x1f_1, this.b1g_1, null)), + Unit_instance; + + case 4: + this.w6_1 = 5; + var t = this.y6_1; + throw launch(GlobalScope_instance, VOID, VOID, CacheProxy$putEntry$slambda_0(this.y1f_1, this.x1f_1, this.b1g_1, null)), + t; + + case 5: + throw this.y6_1; } } catch ($p) { - if (11 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; - } - }, GradleCacheAction.prototype.f1q = function(stage, $cont) { - var tmp = new $executeCOROUTINE$0(this, stage, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); - }, Parameters.prototype.toString = function() { - return "Parameters(jobId=" + this.o1p_1 + ", path=" + this.p1p_1 + ", debug=" + this.q1p_1 + ", generatedGradleJars=" + this.r1p_1 + ", localBuildCache=" + this.s1p_1 + ", gradleDependenciesCache=" + this.t1p_1 + ", gradleDependenciesCacheKey=" + this.u1p_1 + ", mavenDependenciesCache=" + this.v1p_1 + ", mavenLocalIgnorePaths=" + this.w1p_1 + ", concurrent=" + this.x1p_1 + ", readOnly=" + this.y1p_1 + ")"; - }, Parameters.prototype.hashCode = function() { - var result = getStringHashCode(this.o1p_1); - return result = imul(result, 31) + getStringHashCode(this.p1p_1) | 0, result = imul(result, 31) + (0 | this.q1p_1) | 0, - result = imul(result, 31) + (0 | this.r1p_1) | 0, result = imul(result, 31) + (0 | this.s1p_1) | 0, - result = imul(result, 31) + (0 | this.t1p_1) | 0, result = imul(result, 31) + hashCode(this.u1p_1) | 0, - result = imul(result, 31) + (0 | this.v1p_1) | 0, result = imul(result, 31) + hashCode(this.w1p_1) | 0, - result = imul(result, 31) + (0 | this.x1p_1) | 0, result = imul(result, 31) + (0 | this.y1p_1) | 0; - }, Parameters.prototype.equals = function(other) { - if (this === other) return !0; - if (!(other instanceof Parameters)) return !1; - var tmp0_other_with_cast = other instanceof Parameters ? other : THROW_CCE(); - return this.o1p_1 === tmp0_other_with_cast.o1p_1 && this.p1p_1 === tmp0_other_with_cast.p1p_1 && this.q1p_1 === tmp0_other_with_cast.q1p_1 && this.r1p_1 === tmp0_other_with_cast.r1p_1 && this.s1p_1 === tmp0_other_with_cast.s1p_1 && this.t1p_1 === tmp0_other_with_cast.t1p_1 && !!equals(this.u1p_1, tmp0_other_with_cast.u1p_1) && this.v1p_1 === tmp0_other_with_cast.v1p_1 && !!equals(this.w1p_1, tmp0_other_with_cast.w1p_1) && this.x1p_1 === tmp0_other_with_cast.x1p_1 && this.y1p_1 === tmp0_other_with_cast.y1p_1; - }, CompositeCache$save$slambda$slambda.prototype.zt = function($this$launch, $cont) { - var tmp = this.au($this$launch, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); - }, CompositeCache$save$slambda$slambda.prototype.fe = function(p1, $cont) { - return this.zt(null != p1 && isInterface(p1, CoroutineScope) ? p1 : THROW_CCE(), $cont); - }, CompositeCache$save$slambda$slambda.prototype.td = function() { - var suspendResult = this.nd_1; + var e = $p; + if (5 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; + } + }, protoOf($getEntryCOROUTINE$1).d7 = function() { + var suspendResult = this.x6_1; $sm: for (;;) try { - switch (this.ld_1) { + switch (this.v6_1) { case 0: - if (this.md_1 = 2, this.ld_1 = 1, (suspendResult = this.o1q_1.d1q(this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + this.w6_1 = 10, this.v6_1 = 1; + var this_0 = [ this.m1g_1 ], this_1 = [ this.m1g_1 ]; + if ((suspendResult = await_0(getCacheEntry(this_0, this_1, this.l1g_1.t1i_1), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; continue $sm; case 1: - return Unit_getInstance(); + this.o1g_1 = suspendResult; + var tmp_1; + if (null == this.o1g_1) throw Companion_instance.v15("No cache entry found for " + this.m1g_1); + tmp_1 = this.o1g_1, this.p1g_1 = tmp_1; + var tmp_3, tmp1_elvis_lhs = this.p1g_1.archiveLocation; + if (null == tmp1_elvis_lhs) throw Companion_instance.v15("No archive location for " + this.m1g_1); + tmp_3 = tmp1_elvis_lhs, this.q1g_1 = tmp_3, this.r1g_1 = node_path_path_1155cy.join(".cache-proxy", "dl-" + this.m1g_1), + isDebug() && debug("Found " + this.p1g_1.cacheKey + ", " + this.p1g_1.scope + " " + this.q1g_1), + this.v6_1 = 2; + continue $sm; case 2: - throw this.od_1; + if (this.w6_1 = 8, this.v6_1 = 3, (suspendResult = await_0(downloadCache(this.q1g_1, this.r1g_1), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 3: + this.t1g_1 = {}; + if (this.u1g_1 = this.t1g_1, this.v6_1 = 4, (suspendResult = stat(this.r1g_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 4: + if (this.v1g_1 = suspendResult, this.w1g_1 = this.v1g_1.size, this.u1g_1["content-length"] = this.w1g_1, + this.x1g_1 = this.t1g_1, this.n1g_1.writeHead(200, "Ok", this.x1g_1), this.v6_1 = 5, + (suspendResult = pipeAndWait(createReadStream(this.r1g_1), this.n1g_1, VOID, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 5: + this.s1g_1 = suspendResult, this.w6_1 = 10, this.v6_1 = 6; + continue $sm; + + case 6: + if (this.w6_1 = 10, this.v6_1 = 7, (suspendResult = removeFiles(listOf(this.r1g_1), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 7: + return Unit_instance; + + case 8: + if (this.w6_1 = 10, this.y1g_1 = this.y6_1, this.v6_1 = 9, (suspendResult = removeFiles(listOf(this.r1g_1), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 9: + throw this.y1g_1; + + case 10: + throw this.y6_1; } } catch ($p) { - if (2 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; - } - }, CompositeCache$save$slambda$slambda.prototype.au = function($this$launch, completion) { - var i = new CompositeCache$save$slambda$slambda(this.o1q_1, completion); - return i.p1q_1 = $this$launch, i; - }, CompositeCache$restore$slambda$slambda.prototype.zt = function($this$launch, $cont) { - var tmp = this.au($this$launch, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); - }, CompositeCache$restore$slambda$slambda.prototype.fe = function(p1, $cont) { - return this.zt(null != p1 && isInterface(p1, CoroutineScope) ? p1 : THROW_CCE(), $cont); - }, CompositeCache$restore$slambda$slambda.prototype.td = function() { - var suspendResult = this.nd_1; + var e = $p; + if (10 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; + } + }, protoOf($startCOROUTINE$2).d7 = function() { + var suspendResult = this.x6_1; $sm: for (;;) try { - switch (this.ld_1) { + switch (this.v6_1) { case 0: - if (this.md_1 = 2, this.ld_1 = 1, (suspendResult = this.y1q_1.e1q(this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + this.w6_1 = 3, this.v6_1 = 1; + var safe = SafeContinuation_init_$Create$(intercepted(this)); + if (this.d1j_1.s1i_1.listen(0, CacheProxy$start$lambda(safe)), (suspendResult = returnIfSuspended(safe.n7(), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; continue $sm; case 1: - return Unit_getInstance(); + if (this.v6_1 = 2, (suspendResult = mkdir(".cache-proxy", this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; case 2: - throw this.od_1; + var url = "http://localhost:" + this.d1j_1.s1i_1.address().port + "/"; + return this.d1j_1.r1i_1 = url, node_process_process_dcpv5o.env.GHA_CACHE_URL = url, + Unit_instance; + + case 3: + throw this.y6_1; } } catch ($p) { - if (2 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; - } - }, CompositeCache$restore$slambda$slambda.prototype.au = function($this$launch, completion) { - var i = new CompositeCache$restore$slambda$slambda(this.y1q_1, completion); - return i.z1q_1 = $this$launch, i; - }, CompositeCache$save$slambda.prototype.zt = function($this$supervisorScope, $cont) { - var tmp = this.au($this$supervisorScope, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); - }, CompositeCache$save$slambda.prototype.fe = function(p1, $cont) { - return this.zt(null != p1 && isInterface(p1, CoroutineScope) ? p1 : THROW_CCE(), $cont); - }, CompositeCache$save$slambda.prototype.td = function() { - for (this.nd_1; ;) try { - var tmp = this.ld_1; - if (0 === tmp) { - this.md_1 = 1; - for (var tmp0_iterator = this.i1r_1.b1q_1.d(); tmp0_iterator.e(); ) { - var cache = tmp0_iterator.f(); - launch$default(this.j1r_1, null, null, CompositeCache$save$slambda$slambda_0(cache, null), 3, null); - } - return Unit_getInstance(); + var e = $p; + if (3 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; + } + }, protoOf(CacheProxy).e1j = function() { + return this.r1i_1; + }, protoOf(CacheProxy).f1j = function(multiCacheEnabled, multiCacheVersion, multiCacheRepository, multiCacheGroupIdFilter, push) { + var multiCacheGroupIdFilterEscaped = replace(multiCacheGroupIdFilter, "\\", "\\\\"); + return trimIndent("\n def pluginId = 'com.github.burrunan.multi-cache'\n def multiCacheVersion = '1.0'\n def multiCacheGroupIdFilter = 'com[.]github[.]burrunan[.]multi-?cache'\n boolean multiCacheEnabled = " + multiCacheEnabled + "\n String multiCacheRepository = '" + multiCacheRepository + "'\n boolean gradle6Plus = org.gradle.util.GradleVersion.current() >= org.gradle.util.GradleVersion.version('6.0')\n // beforeSettings is Gradle 6.0+\n if (multiCacheEnabled && !gradle6Plus) {\n println(\"Multiple remote build caches (" + this.u1i_1 + ") are supported in Gradle 6.0+ only\")\n multiCacheEnabled = false\n }\n if (multiCacheEnabled) {\n beforeSettings { settings ->\n def repos = settings.buildscript.repositories\n if (multiCacheRepository != '') {\n repos.add(\n repos.maven {\n url = multiCacheRepository\n if ('" + multiCacheGroupIdFilterEscaped + "' != '') {\n content {\n includeGroupByRegex('" + multiCacheGroupIdFilterEscaped + "')\n }\n }\n }\n )\n } else if (repos.isEmpty()) {\n repos.add(repos.gradlePluginPortal())\n }\n settings.buildscript.dependencies {\n classpath(\"" + this.u1i_1 + ":" + this.u1i_1 + ".gradle.plugin:" + multiCacheVersion + '")\n }\n }\n }\n\n settingsEvaluated { settings ->\n settings.buildCache {\n boolean needMulticache = remote != null\n if (needMulticache && !multiCacheEnabled) {\n println("' + this.u1i_1 + ' is disabled")\n return\n }\n\n local {\n enabled = true\n push = ' + push + '\n }\n if (needMulticache) {\n settings.pluginManager.apply("' + this.u1i_1 + "\")\n settings.multicache.push('base')\n }\n remote(HttpBuildCache) {\n url = '" + this.e1j() + "'\n push = " + push + "\n // Build cache is located on localhost, so it is fine to use http protocol\n if (gradle6Plus) {\n allowInsecureProtocol = true\n }\n }\n if (needMulticache) {\n settings.multicache.pushAndConfigure('actions-cache') {\n loadSequentiallyWriteConcurrently('actions-cache', 'base')\n }\n }\n }\n }\n "); + }, protoOf(CacheProxy).g1j = function($completion) { + var tmp = new $startCOROUTINE$2(this, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); + }, protoOf(CacheProxy).h1j = function() { + this.s1i_1.close(); + }, new Companion, _.$_$ = _.$_$ || {}, _.$_$.a = CacheProxy; + }(module.exports, __webpack_require__(3136), __webpack_require__(3444), __webpack_require__(6760), __webpack_require__(3024), __webpack_require__(4613), __webpack_require__(1708), __webpack_require__(7067), __webpack_require__(5264), __webpack_require__(7036), __webpack_require__(9613), __webpack_require__(7725), __webpack_require__(4350), __webpack_require__(7361), __webpack_require__(3138)); + }, + 7725: (module, __unused_webpack_exports, __webpack_require__) => { + !function(_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core) { + "use strict"; + var Companion_instance, protoOf = kotlin_kotlin.$_$.t5, initMetadataForCompanion = kotlin_kotlin.$_$.f5, extendThrowable = kotlin_kotlin.$_$.y4, captureStack = kotlin_kotlin.$_$.q4, initMetadataForClass = kotlin_kotlin.$_$.e5, VOID = kotlin_kotlin.$_$.c, GlobalScope_instance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c, launch = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e, CoroutineImpl = kotlin_kotlin.$_$.i4, Unit_instance = kotlin_kotlin.$_$.w1, THROW_CCE = kotlin_kotlin.$_$.r7, CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d, isInterface = kotlin_kotlin.$_$.l5, get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.t3, initMetadataForLambda = kotlin_kotlin.$_$.i5, supervisorScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b, printStackTrace = kotlin_kotlin.$_$.d8; + function Companion() {} + function HttpException(code, message) { + extendThrowable(this, message), captureStack(this, HttpException), this.w15_1 = code; + } + function handle$slambda$slambda($action, resultContinuation) { + this.f16_1 = $action, CoroutineImpl.call(this, resultContinuation); + } + function handle$slambda$slambda_0($action, resultContinuation) { + var i = new handle$slambda$slambda($action, resultContinuation), l = function($this$supervisorScope, $completion) { + return i.gw($this$supervisorScope, $completion); + }; + return l.$arity = 1, l; + } + function handle$slambda($this_handle, $action, resultContinuation) { + this.p16_1 = $this_handle, this.q16_1 = $action, CoroutineImpl.call(this, resultContinuation); + } + initMetadataForCompanion(Companion), initMetadataForClass(HttpException, "HttpException", VOID, Error), + initMetadataForLambda(handle$slambda$slambda, CoroutineImpl, VOID, [ 1 ]), initMetadataForLambda(handle$slambda, CoroutineImpl, VOID, [ 1 ]), + protoOf(Companion).u15 = function(message) { + return new HttpException(501, message); + }, protoOf(Companion).v15 = function(message) { + return new HttpException(404, message); + }, protoOf(handle$slambda$slambda).gw = function($this$supervisorScope, $completion) { + var tmp = this.hw($this$supervisorScope, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); + }, protoOf(handle$slambda$slambda).c8 = function(p1, $completion) { + return this.gw(null != p1 && isInterface(p1, CoroutineScope) ? p1 : THROW_CCE(), $completion); + }, protoOf(handle$slambda$slambda).d7 = function() { + var suspendResult = this.x6_1; + $sm: for (;;) try { + switch (this.v6_1) { + case 0: + if (this.w6_1 = 2, this.v6_1 = 1, (suspendResult = this.f16_1(this.g16_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 1: + return Unit_instance; + + case 2: + throw this.y6_1; } - if (1 === tmp) throw this.od_1; } catch ($p) { - throw $p; - } - }, CompositeCache$save$slambda.prototype.au = function($this$supervisorScope, completion) { - var i = new CompositeCache$save$slambda(this.i1r_1, completion); - return i.j1r_1 = $this$supervisorScope, i; - }, CompositeCache$restore$slambda.prototype.zt = function($this$supervisorScope, $cont) { - var tmp = this.au($this$supervisorScope, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); - }, CompositeCache$restore$slambda.prototype.fe = function(p1, $cont) { - return this.zt(null != p1 && isInterface(p1, CoroutineScope) ? p1 : THROW_CCE(), $cont); - }, CompositeCache$restore$slambda.prototype.td = function() { - for (this.nd_1; ;) try { - var tmp = this.ld_1; - if (0 === tmp) { - this.md_1 = 1; - for (var tmp0_iterator = this.s1r_1.b1q_1.d(); tmp0_iterator.e(); ) { - var cache = tmp0_iterator.f(); - launch$default(this.t1r_1, null, null, CompositeCache$restore$slambda$slambda_0(cache, null), 3, null); + var e = $p; + if (2 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; + } + }, protoOf(handle$slambda$slambda).hw = function($this$supervisorScope, completion) { + var i = new handle$slambda$slambda(this.f16_1, completion); + return i.g16_1 = $this$supervisorScope, i; + }, protoOf(handle$slambda).gw = function($this$launch, $completion) { + var tmp = this.hw($this$launch, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); + }, protoOf(handle$slambda).c8 = function(p1, $completion) { + return this.gw(null != p1 && isInterface(p1, CoroutineScope) ? p1 : THROW_CCE(), $completion); + }, protoOf(handle$slambda).d7 = function() { + var suspendResult = this.x6_1; + $sm: for (;;) try { + switch (this.v6_1) { + case 0: + this.w6_1 = 5, this.v6_1 = 1; + continue $sm; + + case 1: + if (this.w6_1 = 4, this.w6_1 = 3, this.v6_1 = 2, (suspendResult = supervisorScope(handle$slambda$slambda_0(this.q16_1, null), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 2: + this.s16_1 = suspendResult, this.w6_1 = 5, this.v6_1 = 6; + continue $sm; + + case 3: + if (this.w6_1 = 4, this.y6_1 instanceof HttpException) { + var e = this.y6_1, tmp0_elvis_lhs = e.message, tmp_2 = null == tmp0_elvis_lhs ? "no message" : tmp0_elvis_lhs; + this.p16_1.writeHead(e.w15_1, tmp_2, undefined), this.s16_1 = Unit_instance, this.w6_1 = 5, + this.v6_1 = 6; + continue $sm; + } + if (this.y6_1 instanceof Error) { + var e_0 = this.y6_1; + printStackTrace(e_0); + var tmp_5 = "Error processing " + e_0.message; + this.p16_1.writeHead(500, tmp_5, undefined), this.s16_1 = Unit_instance, this.w6_1 = 5, + this.v6_1 = 6; + continue $sm; } - return Unit_getInstance(); + throw this.y6_1; + + case 4: + this.w6_1 = 5; + var t = this.y6_1; + throw this.p16_1.end(), t; + + case 5: + throw this.y6_1; + + case 6: + return this.w6_1 = 5, this.p16_1.end(), Unit_instance; } - if (1 === tmp) throw this.od_1; } catch ($p) { - throw $p; + var e_1 = $p; + if (5 === this.w6_1) throw e_1; + this.v6_1 = this.w6_1, this.y6_1 = e_1; + } + }, protoOf(handle$slambda).hw = function($this$launch, completion) { + var i = new handle$slambda(this.p16_1, this.q16_1, completion); + return i.r16_1 = $this$launch, i; + }, Companion_instance = new Companion, _.$_$ = _.$_$ || {}, _.$_$.a = function(_this__u8e3s4, action) { + var i, l; + return launch(GlobalScope_instance, VOID, VOID, (i = new handle$slambda(_this__u8e3s4, action, null), + (l = function($this$launch, $completion) { + return i.gw($this$launch, $completion); + }).$arity = 1, l)); + }, _.$_$.b = Companion_instance; + }(module.exports, __webpack_require__(7036), __webpack_require__(9613)); + }, + 1284: (module, __unused_webpack_exports, __webpack_require__) => { + !function(_, $module$_actions_io_79d2l8, $module$_actions_tool_cache_bge9h1, $module$_actions_core_fx0i1v, node_path_path_1155cy, $module$node_os_4svwl4, $module$_actions_http_client_ma87oy, node_process_process_dcpv5o, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_org_jetbrains_kotlin_wrappers_kotlin_js, kotlin_gradle_cache_action_hashing, kotlin_gradle_cache_action_wrappers_actions_toolkit, kotlin_org_jetbrains_kotlin_wrappers_kotlin_node, kotlin_gradle_cache_action_wrappers_nodejs, kotlin_gradle_cache_action_wrappers_java_properties) { + "use strict"; + var HTTP_AGENT, properties_initialized_GradleInstaller_kt_g293ov, Companion_instance, Current_instance, ReleaseCandidate_instance, Nightly_instance, ReleaseNightly_instance, Wrapper_instance, errorHeaderValues, ErrorHeader_FAILURE_instance, ErrorHeader_WHERE_instance, ErrorHeader_WHAT_WENT_WRONG_instance, ErrorHeader_TRY_instance, ErrorHeader_entriesInitialized, properties_initialized_GradleErrorCollector_kt_b094ge, KOTLIN_COMPILE_ERROR, CHECKSTYLE_ERROR, JAVA_ERROR, properties_initialized_GradleOutErrorCollector_kt_hea2pw, imul = Math.imul, rmRF = $module$_actions_io_79d2l8.rmRF, find = $module$_actions_tool_cache_bge9h1.find, downloadTool = $module$_actions_tool_cache_bge9h1.downloadTool, info = $module$_actions_core_fx0i1v.info, extractZip = $module$_actions_tool_cache_bge9h1.extractZip, cacheDir = $module$_actions_tool_cache_bge9h1.cacheDir, platform = $module$node_os_4svwl4.platform, HttpClient = $module$_actions_http_client_ma87oy.HttpClient, warning = $module$_actions_core_fx0i1v.warning, setOutput = $module$_actions_core_fx0i1v.setOutput, error = $module$_actions_core_fx0i1v.error, setFailed = $module$_actions_core_fx0i1v.setFailed, protoOf = kotlin_kotlin.$_$.t5, getStringHashCode = kotlin_kotlin.$_$.c5, THROW_CCE = kotlin_kotlin.$_$.r7, initMetadataForClass = kotlin_kotlin.$_$.e5, VOID = kotlin_kotlin.$_$.c, Unit_instance = kotlin_kotlin.$_$.w1, CoroutineImpl = kotlin_kotlin.$_$.i4, noWhenBranchMatchedException = kotlin_kotlin.$_$.b8, get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.t3, initMetadataForCoroutine = kotlin_kotlin.$_$.g5, CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d, isInterface = kotlin_kotlin.$_$.l5, awaitPromiseLike = kotlin_org_jetbrains_kotlin_wrappers_kotlin_js.$_$.a, initMetadataForLambda = kotlin_kotlin.$_$.i5, charSequenceLength = kotlin_kotlin.$_$.u4, hashFiles = kotlin_gradle_cache_action_hashing.$_$.d, ActionFailedException = kotlin_gradle_cache_action_wrappers_actions_toolkit.$_$.c, GlobalScope_instance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c, launch = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e, equals = kotlin_kotlin.$_$.x4, toInt = kotlin_kotlin.$_$.d7, chmod = kotlin_org_jetbrains_kotlin_wrappers_kotlin_node.$_$.a, toString = kotlin_kotlin.$_$.v5, exists = kotlin_gradle_cache_action_wrappers_nodejs.$_$.a, readFile = kotlin_org_jetbrains_kotlin_wrappers_kotlin_node.$_$.c, parseString = kotlin_gradle_cache_action_wrappers_java_properties.$_$.a, mapCapacity = kotlin_kotlin.$_$.c3, coerceAtLeast = kotlin_kotlin.$_$.z5, LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.n, ensureNotNull = kotlin_kotlin.$_$.x7, getValue = kotlin_kotlin.$_$.r2, substringAfterLast = kotlin_kotlin.$_$.w6, substringAfter = kotlin_kotlin.$_$.y6, removeSuffix = kotlin_kotlin.$_$.r6, endsWith = kotlin_kotlin.$_$.j6, removePrefix = kotlin_kotlin.$_$.q6, startsWith = kotlin_kotlin.$_$.u6, isCharSequence = kotlin_kotlin.$_$.k5, trim = kotlin_kotlin.$_$.i7, trimEnd = kotlin_kotlin.$_$.e7, listOf = kotlin_kotlin.$_$.a3, ArrayList_init_$Create$ = kotlin_kotlin.$_$.g, plus = kotlin_kotlin.$_$.e3, copyToArray = kotlin_kotlin.$_$.k2, exec = kotlin_gradle_cache_action_wrappers_actions_toolkit.$_$.g, listOf_0 = kotlin_kotlin.$_$.b3, plus_0 = kotlin_kotlin.$_$.f3, initMetadataForCompanion = kotlin_kotlin.$_$.f5, initMetadataForObject = kotlin_kotlin.$_$.j5, Enum = kotlin_kotlin.$_$.l7, ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.h, StringBuilder_init_$Create$ = kotlin_kotlin.$_$.w, LinkedHashMap_init_$Create$_0 = kotlin_kotlin.$_$.o, Regex_init_$Create$ = kotlin_kotlin.$_$.u, toInt_0 = kotlin_kotlin.$_$.c7, _Char___init__impl__6a9atx = kotlin_kotlin.$_$.l1, isBlank = kotlin_kotlin.$_$.m6, joinToString = kotlin_kotlin.$_$.u2; + function GradleDistribution(version, distributionUrl, distributionSha256Sum) { + this.l1m_1 = version, this.m1m_1 = distributionUrl, this.n1m_1 = distributionSha256Sum; + } + function $resolveDistributionCOROUTINE$0(versionSpec, projectPath, distributionUrl, distributionSha256Sum, enableDistributionSha256SumWarning, resultContinuation) { + CoroutineImpl.call(this, resultContinuation), this.w1m_1 = versionSpec, this.x1m_1 = projectPath, + this.y1m_1 = distributionUrl, this.z1m_1 = distributionSha256Sum, this.a1n_1 = enableDistributionSha256SumWarning; + } + function get_HTTP_AGENT() { + return function() { + if (!properties_initialized_GradleInstaller_kt_g293ov) { + properties_initialized_GradleInstaller_kt_g293ov = !0; + var this_0 = { + "User-Agent": "burrunan/gradle-cache-action" + }; + HTTP_AGENT = this_0; + } + }(), HTTP_AGENT; + } + function findUrl(_this__u8e3s4, $completion) { + var tmp = new $findUrlCOROUTINE$2(_this__u8e3s4, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); + } + function findUrl_0(_this__u8e3s4, $completion) { + var tmp = new $findUrlCOROUTINE$3(_this__u8e3s4, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); + } + function findVersionFromWrapper(projectPath, enableDistributionSha256SumWarning, $completion) { + var tmp = new $findVersionFromWrapperCOROUTINE$4(projectPath, enableDistributionSha256SumWarning, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); + } + function resolveChecksum(_this__u8e3s4, $completion) { + var tmp = new $resolveChecksumCOROUTINE$5(_this__u8e3s4, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); + } + function install$slambda($gradleZip, $extractedGradleDir, resultContinuation) { + this.z1q_1 = $gradleZip, this.a1r_1 = $extractedGradleDir, CoroutineImpl.call(this, resultContinuation); + } + function install$slambda_0($gradleZip, $extractedGradleDir, resultContinuation) { + var i = new install$slambda($gradleZip, $extractedGradleDir, resultContinuation), l = function($this$launch, $completion) { + return i.gw($this$launch, $completion); + }; + return l.$arity = 1, l; + } + function $installCOROUTINE$1(distribution, resultContinuation) { + CoroutineImpl.call(this, resultContinuation), this.m1n_1 = distribution; + } + function $findUrlCOROUTINE$2(_this__u8e3s4, resultContinuation) { + CoroutineImpl.call(this, resultContinuation), this.t1o_1 = _this__u8e3s4; + } + function $findUrlCOROUTINE$3(_this__u8e3s4, resultContinuation) { + CoroutineImpl.call(this, resultContinuation), this.h1p_1 = _this__u8e3s4; + } + function $findVersionFromWrapperCOROUTINE$4(projectPath, enableDistributionSha256SumWarning, resultContinuation) { + CoroutineImpl.call(this, resultContinuation), this.t1p_1 = projectPath, this.u1p_1 = enableDistributionSha256SumWarning; + } + function $resolveChecksumCOROUTINE$5(_this__u8e3s4, resultContinuation) { + CoroutineImpl.call(this, resultContinuation), this.l1q_1 = _this__u8e3s4; + } + function GradleResult(buildScanUrl) { + this.h1r_1 = buildScanUrl; + } + function launchGradle$lambda($params, $buildScanUrl, $outCollector, $errorCollector) { + return function($this$exec) { + $this$exec.cwd = $params.h1s_1, $this$exec.ignoreReturnCode = !0; + var this_0 = {}; + return this_0.stdline = function($buildScanUrl, $outCollector) { + return function(it) { + var str = toString(trimEnd(isCharSequence(it) ? it : THROW_CCE())); + return startsWith(str, "https://gradle.com/s/") && (setOutput("build-scan-url", str), + $buildScanUrl._v = str), $outCollector.a1s(str), Unit_instance; + }; + }($buildScanUrl, $outCollector), this_0.errline = function($errorCollector, $outCollector) { + return function(it) { + return $errorCollector.a1s(it), $outCollector.a1s(it), Unit_instance; + }; + }($errorCollector, $outCollector), $this$exec.listeners = this_0, Unit_instance; + }; + } + function $launchGradleCOROUTINE$6(params, resultContinuation) { + CoroutineImpl.call(this, resultContinuation), this.q1r_1 = params; + } + function Companion() { + Companion_instance = this, this.p1s_1 = listOf_0([ Current_getInstance(), ReleaseCandidate_getInstance(), Nightly_getInstance(), ReleaseNightly_getInstance() ]), + this.q1s_1 = plus_0(this.p1s_1, function() { + null == Wrapper_instance && new Wrapper; + return Wrapper_instance; + }()); + } + function Companion_getInstance() { + return null == Companion_instance && new Companion, Companion_instance; + } + function Dynamic(label, apiPath) { + GradleVersion.call(this, label), this.g1r_1 = apiPath; + } + function Official(label) { + GradleVersion.call(this, label); + } + function Current() { + Current_instance = this, Dynamic.call(this, "current", "current"); + } + function Current_getInstance() { + return null == Current_instance && new Current, Current_instance; + } + function ReleaseCandidate() { + ReleaseCandidate_instance = this, Dynamic.call(this, "rc", "release-candidate"); + } + function ReleaseCandidate_getInstance() { + return null == ReleaseCandidate_instance && new ReleaseCandidate, ReleaseCandidate_instance; + } + function Nightly() { + Nightly_instance = this, Dynamic.call(this, "nightly", "nightly"); + } + function Nightly_getInstance() { + return null == Nightly_instance && new Nightly, Nightly_instance; + } + function ReleaseNightly() { + ReleaseNightly_instance = this, Dynamic.call(this, "release-nightly", "release-nightly"); + } + function ReleaseNightly_getInstance() { + return null == ReleaseNightly_instance && new ReleaseNightly, ReleaseNightly_instance; + } + function Wrapper() { + Wrapper_instance = this, GradleVersion.call(this, "wrapper"); + } + function GradleVersion(name, unused) { + Companion_getInstance(), unused = unused === VOID ? 0 : unused, this.e1r_1 = name; + } + function GradleVersion_0(version) { + var tmp$ret$1; + $l$block: { + for (var tmp0_iterator = Companion_getInstance().q1s_1.h(); tmp0_iterator.i(); ) { + var element = tmp0_iterator.j(); + if (element.e1r_1 === version) { + tmp$ret$1 = element; + break $l$block; + } + } + tmp$ret$1 = null; + } + var tmp0_elvis_lhs = tmp$ret$1; + return null == tmp0_elvis_lhs ? new Official(version) : tmp0_elvis_lhs; + } + function LaunchParams(gradle, projectPath, arguments_0, properties) { + this.g1s_1 = gradle, this.h1s_1 = projectPath, this.i1s_1 = arguments_0, this.j1s_1 = properties; + } + function GradleError(message, file, line, col) { + file = file === VOID ? null : file, line = line === VOID ? null : line, col = col === VOID ? null : col, + this.l1s_1 = message, this.m1s_1 = file, this.n1s_1 = line, this.o1s_1 = col; + } + function get_errorHeaderValues() { + return properties_initialized_GradleErrorCollector_kt_b094ge || (properties_initialized_GradleErrorCollector_kt_b094ge = !0, + errorHeaderValues = [ ErrorHeader_FAILURE_getInstance(), ErrorHeader_WHERE_getInstance(), ErrorHeader_WHAT_WENT_WRONG_getInstance(), ErrorHeader_TRY_getInstance() ]), + errorHeaderValues; + } + function ErrorHeader_initEntries() { + if (ErrorHeader_entriesInitialized) return Unit_instance; + ErrorHeader_entriesInitialized = !0, ErrorHeader_FAILURE_instance = new ErrorHeader("FAILURE", 0, "FAILURE: "), + ErrorHeader_WHERE_instance = new ErrorHeader("WHERE", 1, "* Where:"), ErrorHeader_WHAT_WENT_WRONG_instance = new ErrorHeader("WHAT_WENT_WRONG", 2, "* What went wrong:"), + ErrorHeader_TRY_instance = new ErrorHeader("TRY", 3, "* Try:"); + } + function ErrorHeader(name, ordinal, message) { + Enum.call(this, name, ordinal), this.t1s_1 = message; + } + function GradleErrorCollector() { + this.b1s_1 = ArrayList_init_$Create$_0(), this.c1s_1 = this.b1s_1, this.d1s_1 = StringBuilder_init_$Create$(), + this.e1s_1 = null; + this.f1s_1 = LinkedHashMap_init_$Create$_0(); + } + function ErrorHeader_FAILURE_getInstance() { + return ErrorHeader_initEntries(), ErrorHeader_FAILURE_instance; + } + function ErrorHeader_WHERE_getInstance() { + return ErrorHeader_initEntries(), ErrorHeader_WHERE_instance; + } + function ErrorHeader_WHAT_WENT_WRONG_getInstance() { + return ErrorHeader_initEntries(), ErrorHeader_WHAT_WENT_WRONG_instance; + } + function ErrorHeader_TRY_getInstance() { + return ErrorHeader_initEntries(), ErrorHeader_TRY_instance; + } + function processJavaError($this, line) { + var tmp13_safe_receiver = (_init_properties_GradleOutErrorCollector_kt__gu17ja(), + JAVA_ERROR).da(line); + if (null != tmp13_safe_receiver) return $this.k1s(), $this.y1r_1 = tmp13_safe_receiver, + Unit_instance; + if (null != $this.y1r_1) { + var errorContinuation = startsWith(line, " "); + errorContinuation && $this.z1r_1.e(line), (!errorContinuation || $this.z1r_1.k() >= 3) && $this.k1s(); } - }, CompositeCache$restore$slambda.prototype.au = function($this$supervisorScope, completion) { - var i = new CompositeCache$restore$slambda(this.s1r_1, completion); - return i.t1r_1 = $this$supervisorScope, i; - }, $saveCOROUTINE$1.prototype.td = function() { - var suspendResult = this.nd_1; + } + function GradleOutErrorCollector() { + this.v1r_1 = ArrayList_init_$Create$_0(), this.w1r_1 = this.v1r_1, this.x1r_1 = "Unknown task", + this.y1r_1 = null; + this.z1r_1 = ArrayList_init_$Create$_0(); + } + function _init_properties_GradleOutErrorCollector_kt__gu17ja() { + properties_initialized_GradleOutErrorCollector_kt_hea2pw || (properties_initialized_GradleOutErrorCollector_kt_hea2pw = !0, + KOTLIN_COMPILE_ERROR = Regex_init_$Create$("^e: (\\S.+?):(\\d+):(?:(\\d+):)? (.+)$"), + CHECKSTYLE_ERROR = Regex_init_$Create$("^\\[ant:checkstyle\\] \\[ERROR\\] (\\S.+?):(\\d+):(?:(\\d+):)? (.+) \\[([^\\]]+)\\]$"), + JAVA_ERROR = Regex_init_$Create$("^(\\S.+?):(\\d+): error: (.+)$")); + } + initMetadataForClass(GradleDistribution, "GradleDistribution"), initMetadataForCoroutine($resolveDistributionCOROUTINE$0, CoroutineImpl), + initMetadataForLambda(install$slambda, CoroutineImpl, VOID, [ 1 ]), initMetadataForCoroutine($installCOROUTINE$1, CoroutineImpl), + initMetadataForCoroutine($findUrlCOROUTINE$2, CoroutineImpl), initMetadataForCoroutine($findUrlCOROUTINE$3, CoroutineImpl), + initMetadataForCoroutine($findVersionFromWrapperCOROUTINE$4, CoroutineImpl), initMetadataForCoroutine($resolveChecksumCOROUTINE$5, CoroutineImpl), + initMetadataForClass(GradleResult, "GradleResult"), initMetadataForCoroutine($launchGradleCOROUTINE$6, CoroutineImpl), + initMetadataForCompanion(Companion), initMetadataForClass(GradleVersion, "GradleVersion"), + initMetadataForClass(Dynamic, "Dynamic", VOID, GradleVersion), initMetadataForClass(Official, "Official", VOID, GradleVersion), + initMetadataForObject(Current, "Current", VOID, Dynamic), initMetadataForObject(ReleaseCandidate, "ReleaseCandidate", VOID, Dynamic), + initMetadataForObject(Nightly, "Nightly", VOID, Dynamic), initMetadataForObject(ReleaseNightly, "ReleaseNightly", VOID, Dynamic), + initMetadataForObject(Wrapper, "Wrapper", VOID, GradleVersion), initMetadataForClass(LaunchParams, "LaunchParams"), + initMetadataForClass(GradleError, "GradleError"), initMetadataForClass(ErrorHeader, "ErrorHeader", VOID, Enum), + initMetadataForClass(GradleErrorCollector, "GradleErrorCollector", GradleErrorCollector), + initMetadataForClass(GradleOutErrorCollector, "GradleOutErrorCollector", GradleOutErrorCollector), + protoOf(GradleDistribution).toString = function() { + return "GradleDistribution(version=" + this.l1m_1 + ", distributionUrl=" + this.m1m_1 + ", distributionSha256Sum=" + this.n1m_1 + ")"; + }, protoOf(GradleDistribution).hashCode = function() { + var result = getStringHashCode(this.l1m_1); + return result = imul(result, 31) + getStringHashCode(this.m1m_1) | 0, result = imul(result, 31) + (null == this.n1m_1 ? 0 : getStringHashCode(this.n1m_1)) | 0; + }, protoOf(GradleDistribution).equals = function(other) { + if (this === other) return !0; + if (!(other instanceof GradleDistribution)) return !1; + var tmp0_other_with_cast = other instanceof GradleDistribution ? other : THROW_CCE(); + return this.l1m_1 === tmp0_other_with_cast.l1m_1 && (this.m1m_1 === tmp0_other_with_cast.m1m_1 && this.n1m_1 == tmp0_other_with_cast.n1m_1); + }, protoOf($resolveDistributionCOROUTINE$0).d7 = function() { + var suspendResult = this.x6_1; $sm: for (;;) try { - switch (this.ld_1) { + switch (this.v6_1) { case 0: - if (this.md_1 = 13, this.c1s_1.c1q_1) { - this.ld_1 = 1; + if (this.w6_1 = 6, null != this.y1m_1) { + var tmp0_elvis_lhs = this.z1m_1; + this.b1n_1 = new GradleDistribution(this.w1m_1, this.y1m_1, null == tmp0_elvis_lhs ? this.y1m_1 + ".sha256" : tmp0_elvis_lhs), + this.v6_1 = 5; continue $sm; } - this.d1s_1 = this.c1s_1.b1q_1.d(), this.ld_1 = 3; - continue $sm; - - case 1: - if (this.ld_1 = 2, (suspendResult = supervisorScope(CompositeCache$save$slambda_0(this.c1s_1, null), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 2: - case 12: - return Unit_getInstance(); - - case 3: - if (!this.d1s_1.e()) { - this.ld_1 = 12; - continue $sm; - } - this.e1s_1 = this.d1s_1.f(), this.ld_1 = 4; - continue $sm; - - case 4: - this.g1s_1 = "Save " + this.e1s_1.tc(), startGroup(this.g1s_1), this.ld_1 = 5; - continue $sm; - - case 5: - this.ld_1 = 6; - continue $sm; - - case 6: - if (this.md_1 = 11, this.ld_1 = 7, (suspendResult = this.e1s_1.d1q(this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 7: - this.h1s_1 = suspendResult, this.md_1 = 13, this.ld_1 = 8; - continue $sm; - - case 8: - var tmp_2 = this; - endGroup(), tmp_2.f1s_1 = Unit_getInstance(), this.ld_1 = 10; - continue $sm; - - case 9: - endGroup(), this.ld_1 = 10; - continue $sm; - - case 10: - this.ld_1 = 3; - continue $sm; - - case 11: - this.md_1 = 13; - var t = this.od_1; - throw endGroup(), t; - - case 13: - throw this.od_1; - } - } catch ($p) { - if (13 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; - } - }, $restoreCOROUTINE$2.prototype.td = function() { - var suspendResult = this.nd_1; - $sm: for (;;) try { - switch (this.ld_1) { - case 0: - if (this.md_1 = 13, this.q1s_1.c1q_1) { - this.ld_1 = 1; + if (this.c1n_1 = GradleVersion_0(this.w1m_1), this.c1n_1 instanceof Official) { + if (this.v6_1 = 3, (suspendResult = findUrl(this.c1n_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; continue $sm; } - this.r1s_1 = this.q1s_1.b1q_1.d(), this.ld_1 = 3; - continue $sm; - - case 1: - if (this.ld_1 = 2, (suspendResult = supervisorScope(CompositeCache$restore$slambda_0(this.q1s_1, null), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 2: - case 12: - return Unknown_getInstance(); - - case 3: - if (!this.r1s_1.e()) { - this.ld_1 = 12; + if (this.c1n_1 instanceof Dynamic) { + if (this.v6_1 = 2, (suspendResult = findUrl_0(this.c1n_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; continue $sm; } - this.s1s_1 = this.r1s_1.f(), this.ld_1 = 4; - continue $sm; - - case 4: - this.u1s_1 = "Restore " + this.s1s_1.tc(), startGroup(this.u1s_1), this.ld_1 = 5; - continue $sm; - - case 5: - this.ld_1 = 6; - continue $sm; - - case 6: - if (this.md_1 = 11, this.ld_1 = 7, (suspendResult = this.s1s_1.e1q(this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 7: - this.v1s_1 = suspendResult, this.md_1 = 13, this.ld_1 = 8; - continue $sm; - - case 8: - var tmp_2 = this.v1s_1; - endGroup(), this.t1s_1 = tmp_2, this.ld_1 = 10; - continue $sm; - - case 9: - endGroup(), this.ld_1 = 10; - continue $sm; - - case 10: - this.ld_1 = 3; - continue $sm; - - case 11: - this.md_1 = 13; - var t = this.od_1; - throw endGroup(), t; - - case 13: - throw this.od_1; - } - } catch ($p) { - if (13 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; - } - }, CompositeCache.prototype.tc = function() { - return this.a1q_1; - }, CompositeCache.prototype.d1q = function($cont) { - var tmp = new $saveCOROUTINE$1(this, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); - }, CompositeCache.prototype.e1q = function($cont) { - var tmp = new $restoreCOROUTINE$2(this, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); - }, $restoreCOROUTINE$3.prototype.td = function() { - var suspendResult = this.nd_1; - $sm: for (;;) try { - switch (this.ld_1) { - case 0: - this.md_1 = 5; - var tmp0_safe_receiver = this.s1t_1.a1t_1; - if (null == tmp0_safe_receiver || exists(tmp0_safe_receiver) && (isDebug() && debug(this.s1t_1.b1t_1 + ": " + tmp0_safe_receiver + " already exists, so the cache restore and upload will be skipped"), - this.s1t_1.h1t_1.jj(!0)), isDebug() && debug(this.s1t_1.b1t_1 + ": restoring " + this.s1t_1.w1s_1 + ", " + this.s1t_1.x1s_1 + ", " + this.s1t_1.f1t_1), - this.ld_1 = 1, (suspendResult = restoreAndLog(this.s1t_1.f1t_1, this.s1t_1.w1s_1, this.s1t_1.x1s_1, this.s1t_1.c1t_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 1: - this.t1t_1 = suspendResult; - var tmp_1, tmp_0 = this.t1t_1; - if (this.s1t_1.g1t_1.jj(tmp_0 instanceof Exact), this.t1t_1 instanceof Partial) { - var tmp$ret$0; - l$ret$1: do { - for (var tmp0_indexOfFirst = this.s1t_1.x1s_1, index = 0, tmp0_iterator = tmp0_indexOfFirst.d(); tmp0_iterator.e(); ) { - var item = tmp0_iterator.f(); - if (startsWith$default(this.t1t_1.lv_1, item, !1, 2, null)) { - tmp$ret$0 = index; - break l$ret$1; - } - index = index + 1 | 0; - } - tmp$ret$0 = -1; - } while (0); - tmp_1 = tmp$ret$0; - } else tmp_1 = -1; - if (this.s1t_1.i1t_1.jj(tmp_1), isDebug() && debug(this.s1t_1.b1t_1 + ": restore type " + this.t1t_1 + ", " + this.s1t_1.g1t_1.ij() + ", " + this.s1t_1.i1t_1.ij()), - this.u1t_1 = _get_restoredKey__gcgyt4(this.s1t_1), null == this.u1t_1) { - this.v1t_1 = null, this.ld_1 = 4; + if (this.c1n_1 instanceof Wrapper) { + if (this.v6_1 = 1, (suspendResult = findVersionFromWrapper(this.x1m_1, this.a1n_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; continue $sm; } - if (this.ld_1 = 2, (suspendResult = this.s1t_1.d1t_1.a1u(this.u1t_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 2: - if (this.ld_1 = 3, (suspendResult = this.s1t_1.e1t_1.a1u(this.u1t_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 3: - this.v1t_1 = Unit_getInstance(), this.ld_1 = 4; - continue $sm; - - case 4: - return this.t1t_1; - - case 5: - throw this.od_1; - } - } catch ($p) { - if (5 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; - } - }, $saveCOROUTINE$4.prototype.td = function() { - var suspendResult = this.nd_1; - $sm: for (;;) try { - switch (this.ld_1) { - case 0: - if (this.md_1 = 6, isDebug() && debug(this.j1u_1.b1t_1 + ": saving " + this.j1u_1.g1t_1.ij() + " " + this.j1u_1.i1t_1.ij() + " " + this.j1u_1.w1s_1 + ", " + this.j1u_1.x1s_1 + ", " + this.j1u_1.f1t_1), - this.j1u_1.h1t_1.ij()) return isDebug() && debug(this.j1u_1.b1t_1 + ": cache save skipped"), - Unit_getInstance(); - if (this.j1u_1.g1t_1.ij()) return info(this.j1u_1.b1t_1 + " loaded from exact match, no need to update the cache entry"), - Unit_getInstance(); - var tmp0_safe_receiver = this.j1u_1.z1s_1; - if (null != tmp0_safe_receiver) return info(this.j1u_1.b1t_1 + " is configured as read-only: " + tmp0_safe_receiver), - Unit_getInstance(); - var tmp1_safe_receiver = _get_restoredKey__gcgyt4(this.j1u_1); - if (null == tmp1_safe_receiver || (this.j1u_1.d1t_1.m1u(tmp1_safe_receiver), this.j1u_1.e1t_1.m1u(tmp1_safe_receiver)), - this.ld_1 = 1, (suspendResult = this.j1u_1.n1u(this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; + noWhenBranchMatchedException(); + break; case 1: - this.k1u_1 = suspendResult, this.ld_1 = 2; - var tmp0_toTypedArray = this.j1u_1.y1s_1, tmp_0 = copyToArray(tmp0_toTypedArray).slice(); - if ((suspendResult = hashFilesDetailed$default(tmp_0, null, !1, this, 6, null)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - case 2: - if (this.l1u_1 = suspendResult, this.j1u_1.j1t_1 = this.l1u_1, this.l1u_1.e1f_1.c1f_1.l()) return info(this.j1u_1.b1t_1 + ": no files to cache => won't upload empty cache"), - Unit_getInstance(); - if (null != this.k1u_1) { - if (info(this.j1u_1.b1t_1 + ": comparing modifications of the cache contents"), - this.l1u_1.d1f_1.y1e_1 === this.k1u_1.y1e_1) return info(this.j1u_1.b1t_1 + ": contents did not change => no need to upload it"), - Unit_getInstance(); - var delta = this.l1u_1.d1f_1.x1e_1.x4(this.k1u_1.x1e_1); - info(this.j1u_1.b1t_1 + ": hash content differs (" + toString(abs(delta)) + " bytes " + (delta.u4(new Long(0, 0)) >= 0 ? "increase" : "decrease") + ")"); - } - if (info(this.j1u_1.b1t_1 + ": uploading " + formatBytes(this.l1u_1.d1f_1.x1e_1) + ", " + this.l1u_1.e1f_1.c1f_1.c() + " files as " + this.j1u_1.w1s_1), - this.ld_1 = 3, (suspendResult = this.j1u_1.d1t_1.o1u(this.l1u_1.d1f_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - case 3: - if (this.ld_1 = 4, (suspendResult = this.j1u_1.e1t_1.o1u(this.l1u_1.e1f_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + this.d1n_1 = suspendResult, this.v6_1 = 4; continue $sm; case 4: - if (this.ld_1 = 5, (suspendResult = saveAndLog(this.j1u_1.f1t_1, this.j1u_1.w1s_1, this.j1u_1.c1t_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + this.b1n_1 = this.d1n_1, this.v6_1 = 5; continue $sm; case 5: - return Unit_getInstance(); + return this.b1n_1; case 6: - throw this.od_1; + throw this.y6_1; } } catch ($p) { - if (6 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; - } - }, DefaultCache.prototype.tc = function() { - return this.b1t_1; - }, DefaultCache.prototype.n1u = function($cont) { - var tmp0_safe_receiver = this.j1t_1, tmp1_safe_receiver = null == tmp0_safe_receiver ? null : tmp0_safe_receiver.d1f_1; - if (null != tmp1_safe_receiver) return tmp1_safe_receiver; - var tmp2_safe_receiver = _get_restoredKey__gcgyt4(this); - return null == tmp2_safe_receiver || (this.e1t_1.m1u(tmp2_safe_receiver), Unit_getInstance()), - this.g1t_1.ij() || -1 !== this.i1t_1.ij() ? this.d1t_1.p1u(!1, $cont, 1, null) : null; - }, DefaultCache.prototype.q1u = function($cont) { - var tmp0_safe_receiver = this.j1t_1, tmp1_safe_receiver = null == tmp0_safe_receiver ? null : tmp0_safe_receiver.e1f_1; - if (null != tmp1_safe_receiver) return tmp1_safe_receiver; - var tmp2_safe_receiver = _get_restoredKey__gcgyt4(this); - return null == tmp2_safe_receiver || (this.e1t_1.m1u(tmp2_safe_receiver), Unit_getInstance()), - this.g1t_1.ij() || -1 !== this.i1t_1.ij() ? this.e1t_1.p1u(!1, $cont, 1, null) : null; - }, DefaultCache.prototype.e1q = function($cont) { - var tmp = new $restoreCOROUTINE$3(this, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); - }, DefaultCache.prototype.d1q = function($cont) { - var tmp = new $saveCOROUTINE$4(this, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); - }, $restoreCOROUTINE$5.prototype.td = function() { - var suspendResult = this.nd_1; + var e = $p; + if (6 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; + } + }, protoOf(install$slambda).gw = function($this$launch, $completion) { + var tmp = this.hw($this$launch, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); + }, protoOf(install$slambda).c8 = function(p1, $completion) { + return this.gw(null != p1 && isInterface(p1, CoroutineScope) ? p1 : THROW_CCE(), $completion); + }, protoOf(install$slambda).d7 = function() { + var suspendResult = this.x6_1; $sm: for (;;) try { - switch (this.ld_1) { + switch (this.v6_1) { case 0: - if (this.md_1 = 7, this.ld_1 = 1, (suspendResult = this.y1v_1.a1v_1.e1q(this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + this.w6_1 = 3; + if (this.c1r_1 = this.z1q_1, this.v6_1 = 1, (suspendResult = awaitPromiseLike(rmRF(this.c1r_1), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; continue $sm; case 1: - if (this.z1v_1 = suspendResult, equals(this.z1v_1, None_getInstance())) return None_getInstance(); - if (this.ld_1 = 2, (suspendResult = this.y1v_1.y1u_1.p1u(!1, this, 1, null)) === get_COROUTINE_SUSPENDED()) return suspendResult; + if (this.d1r_1 = this.a1r_1, this.v6_1 = 2, (suspendResult = awaitPromiseLike(rmRF(this.d1r_1), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; continue $sm; case 2: - this.a1w_1 = suspendResult; - var tmp_1, tmp_0 = this; - if (null == this.a1w_1) return warning("Unable to restore cache " + this.y1v_1), - Unknown_getInstance(); - tmp_1 = this.a1w_1, tmp_0.b1w_1 = tmp_1; - var tmp_3, tmp_2 = this, tmp1_subject = this.z1v_1; - tmp_3 = tmp1_subject instanceof Exact ? new Exact(removePrefix(this.z1v_1.kv_1, this.y1v_1.x1u_1 + "-index-")) : tmp1_subject instanceof Partial ? new Partial(removePrefix(this.z1v_1.lv_1, this.y1v_1.x1u_1 + "-index-")) : this.z1v_1, - tmp_2.c1w_1 = tmp_3; - var tmp_4 = this.y1v_1.r1u_1 + ": " + this.b1w_1.j1w_1.c() + " layers. "; - info(joinToString$default(this.b1w_1.j1w_1, ", ", tmp_4, null, 0, null, LayeredCache$restore$lambda, 28, null)), - this.d1w_1 = withIndex(this.b1w_1.j1w_1).d(), this.ld_1 = 3; - continue $sm; + return Unit_instance; case 3: - if (!this.d1w_1.e()) { - this.ld_1 = 5; - continue $sm; - } - if (this.e1w_1 = this.d1w_1.f(), this.f1w_1 = this.e1w_1.i2(), this.g1w_1 = this.e1w_1.j2(), - this.h1w_1 = toCache(this.g1w_1, this.y1v_1, this.f1w_1.toString()), this.ld_1 = 4, - (suspendResult = this.h1w_1.e1q(this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 4: - this.i1w_1 = suspendResult, this.i1w_1 instanceof Exact || (this.c1w_1 = Unknown_getInstance()), - isDebug() && debug(this.y1v_1.r1u_1 + ": layer " + this.f1w_1 + ", restore=" + this.i1w_1), - this.ld_1 = 3; - continue $sm; - - case 5: - if (this.ld_1 = 6, (suspendResult = removeFiles(this.b1w_1.k1w_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 6: - var tmp_6 = this.c1w_1; - return this.y1v_1.z1u_1.jj(tmp_6 instanceof Exact), this.c1w_1; - - case 7: - throw this.od_1; + throw this.y6_1; } } catch ($p) { - if (7 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; - } - }, $saveCOROUTINE$6.prototype.td = function() { - var suspendResult = this.nd_1; + var e = $p; + if (3 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; + } + }, protoOf(install$slambda).hw = function($this$launch, completion) { + var i = new install$slambda(this.z1q_1, this.a1r_1, completion); + return i.b1r_1 = $this$launch, i; + }, protoOf($installCOROUTINE$1).d7 = function() { + var suspendResult = this.x6_1; $sm: for (;;) try { - switch (this.ld_1) { + switch (this.v6_1) { case 0: - if (this.md_1 = 16, this.t1w_1.z1u_1.ij()) return info(this.t1w_1.r1u_1 + " loaded from exact match, no need to update the cache entry"), - Unit_getInstance(); - if (this.ld_1 = 1, (suspendResult = this.t1w_1.y1u_1.m1x(!1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + this.w6_1 = 9, this.n1n_1 = find("gradle", this.m1n_1.l1m_1); + var this_0 = this.n1n_1; + if (charSequenceLength(this_0) > 0) { + info("Detected Gradle " + this.m1n_1.l1m_1 + " at " + this.n1n_1), this.o1n_1 = this.n1n_1, + this.v6_1 = 6; + continue $sm; + } + this.p1n_1 = this.m1n_1.m1m_1; + this.q1n_1 = void 0; + this.r1n_1 = void 0; + if (this.s1n_1 = void 0, this.v6_1 = 1, (suspendResult = awaitPromiseLike(downloadTool(this.p1n_1, this.q1n_1, this.r1n_1, this.s1n_1), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; continue $sm; case 1: - if (this.u1w_1 = suspendResult, this.v1w_1 = startsWith$default(this.t1w_1.u1u_1, this.t1w_1.s1u_1, !1, 2, null), - null == this.u1w_1) { - if (!this.v1w_1) return info(this.t1w_1.r1u_1 + ": old contents is not found, and the current cache " + this.t1w_1.u1u_1 + " does not start with " + this.t1w_1.s1u_1 + ", so cache saving can't be done"), - Unit_getInstance(); - if (this.ld_1 = 15, (suspendResult = saveSingleLayerCache(this.t1w_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + if (this.t1n_1 = suspendResult, this.u1n_1 = this.m1n_1.n1m_1, null == this.u1n_1) { + this.v1n_1 = null, this.v6_1 = 3; continue $sm; } - this.ld_1 = 2; + this.w1n_1 = this.u1n_1; + if (this.x1n_1 = this.w1n_1, this.v6_1 = 2, (suspendResult = hashFiles([ this.t1n_1 ], "sha256", !1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; continue $sm; case 2: - for (var tmp_1 = this, tmp0_mapIndexed = this.u1w_1.j1w_1, tmp0_mapIndexedTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp0_mapIndexed, 10)), index = 0, tmp0_iterator = tmp0_mapIndexed.d(); tmp0_iterator.e(); ) { - var item = tmp0_iterator.f(), tmp1 = index; - index = tmp1 + 1 | 0; - var tmp1__anonymous__uwfjfc = checkIndexOverflow(tmp1); - tmp0_mapIndexedTo.a(toCache(item, this.t1w_1, tmp1__anonymous__uwfjfc.toString())); - } - tmp_1.w1w_1 = tmp0_mapIndexedTo, this.x1w_1 = LinkedHashMap_init_$Create$(coerceAtLeast(mapCapacity(collectionSizeOrDefault(this.w1w_1, 10)), 16)), - this.y1w_1 = this.w1w_1.d(), this.ld_1 = 3; + this.y1n_1 = suspendResult, this.z1n_1 = this.y1n_1.i1l_1; + if (this.z1n_1 !== this.x1n_1) throw new ActionFailedException("Checksum mismatch for Gradle " + this.m1n_1.l1m_1 + " (" + this.m1n_1.m1m_1 + "). Expected: " + this.x1n_1 + ", actual: " + this.z1n_1); + this.v1n_1 = Unit_instance, this.v6_1 = 3; continue $sm; case 3: - if (!this.y1w_1.e()) { - this.ld_1 = 5; - continue $sm; - } - if (this.z1w_1 = this.y1w_1.f(), this.ld_1 = 4, (suspendResult = this.z1w_1.q1u(this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + this.a1o_1 = this.t1n_1; + if (this.b1o_1 = void 0, this.v6_1 = 4, (suspendResult = awaitPromiseLike(extractZip(this.a1o_1, this.b1o_1), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; continue $sm; case 4: - this.a1x_1 = suspendResult, this.x1w_1.t2(this.z1w_1, this.a1x_1), this.ld_1 = 3; + this.c1o_1 = suspendResult; + this.d1o_1 = node_path_path_1155cy.join(this.c1o_1, "gradle-" + this.m1n_1.l1m_1); + this.e1o_1 = "gradle"; + this.f1o_1 = this.m1n_1.l1m_1; + if (this.g1o_1 = void 0, this.v6_1 = 5, (suspendResult = awaitPromiseLike(cacheDir(this.d1o_1, this.e1o_1, this.f1o_1, this.g1o_1), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; continue $sm; case 5: - if (this.b1x_1 = this.x1w_1, this.v1w_1) { - for (var tmp_2 = this, tmp0_mapNotNullTo = ArrayList_init_$Create$(), tmp0_iterator_0 = this.b1x_1.h1().d(); tmp0_iterator_0.e(); ) { - var element = tmp0_iterator_0.f(), cache = element.e1(), tmp0_safe_receiver = null == element.g1() ? cache.w1s_1 : null; - null == tmp0_safe_receiver || tmp0_mapNotNullTo.a(tmp0_safe_receiver); - } - if (tmp_2.c1x_1 = tmp0_mapNotNullTo, this.c1x_1.l()) { - this.ld_1 = 6; - continue $sm; - } - if (info(this.t1w_1.r1u_1 + ": there are missing layers: " + this.c1x_1), this.ld_1 = 14, - (suspendResult = saveSingleLayerCache(this.t1w_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - } - this.ld_1 = 8; + this.h1o_1 = suspendResult, this.h1o_1, launch(GlobalScope_instance, VOID, VOID, install$slambda_0(this.t1n_1, this.c1o_1, null)), + this.o1n_1 = this.h1o_1, this.v6_1 = 6; continue $sm; case 6: - if (this.u1w_1.j1w_1.c() > this.t1w_1.t1u_1) { - if (info(this.t1w_1.r1u_1 + ": " + this.u1w_1.j1w_1.c() + " layers reached, will create new snapshot"), - this.ld_1 = 13, (suspendResult = saveSingleLayerCache(this.t1w_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + this.i1o_1 = this.o1n_1; + var tmp_17, tmp_16 = node_path_path_1155cy, tmp_18 = platform(); + tmp_17 = equals(tmp_18, "win32") ? "gradle.bat" : "gradle", this.j1o_1 = tmp_16.join(this.i1o_1, "bin", tmp_17); + this.k1o_1 = this.j1o_1; + var tmp_20 = platform(); + if (equals(tmp_20, "win32")) { + this.v6_1 = 8; continue $sm; } - this.ld_1 = 7; + if (this.v6_1 = 7, (suspendResult = chmod(this.k1o_1, toInt("755", 8), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; continue $sm; case 7: - this.ld_1 = 8; + this.v6_1 = 8; continue $sm; case 8: - if (!this.v1w_1) { - var tmp$ret$0, firstLayer = firstOrNull(this.u1w_1.j1w_1); - l$ret$1: do { - for (var tmp0_iterator_1 = this.w1w_1.d(); tmp0_iterator_1.e(); ) { - var element_0 = tmp0_iterator_1.f(); - if (startsWith$default(element_0.b1t_1, this.t1w_1.s1u_1, !1, 2, null)) { - tmp$ret$0 = element_0; - break l$ret$1; - } - } - tmp$ret$0 = null; - } while (0); - var tmp_3, firstBaseline = null == tmp$ret$0 ? null : tmp$ret$0.b1t_1, tmp2_safe_receiver = null == firstLayer ? null : firstLayer.b1v_1; - if (null == tmp2_safe_receiver) tmp_3 = null; else { - var tmp_4 = this.t1w_1.x1u_1 + "-" + this.t1w_1.s1u_1; - tmp_3 = startsWith$default(tmp2_safe_receiver, tmp_4, !1, 2, null); - } - if (!0 !== tmp_3) return info(this.t1w_1.r1u_1 + ": the first baseline is not found, and the current cache " + this.t1w_1.u1u_1 + " does not start with " + this.t1w_1.x1u_1 + "-" + this.t1w_1.s1u_1 + ", so cache saving can't be done"), - Unit_getInstance(); - if (null == firstOrNull_0(this.b1x_1.x1())) return info(this.t1w_1.r1u_1 + ": the first baseline " + firstBaseline + " was not received, and the current cache " + this.t1w_1.u1u_1 + " does not start with " + this.t1w_1.s1u_1 + ", so cache saving can't be done"), - Unit_getInstance(); - } - this.ld_1 = 9; - var tmp2_toTypedArray = this.t1w_1.w1u_1, tmp_5 = copyToArray(tmp2_toTypedArray).slice(); - if ((suspendResult = hashFilesDetailed$default(tmp_5, null, !1, this, 6, null)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; + return this.j1o_1; case 9: - this.d1x_1 = suspendResult, this.e1x_1 = LinkedHashMap_init_$Create$_0(), this.f1x_1 = LinkedHashMap_init_$Create$_0(), - this.g1x_1 = LinkedHashSet_init_$Create$(), this.h1x_1 = ArrayList_init_$Create$(), - this.i1x_1 = ArrayList_init_$Create$(); - for (var tmp3_iterator = zip(this.u1w_1.j1w_1, this.b1x_1.x1()).d(); tmp3_iterator.e(); ) { - var tmp4_loop_parameter = tmp3_iterator.f(), layer = tmp4_loop_parameter.i2(), contents_0 = tmp4_loop_parameter.j2(); - if (null != contents_0) { - for (var helpfulBytes = new Long(0, 0), wastedBytes = new Long(0, 0), helpfulLayerFiles = LinkedHashMap_init_$Create$_0(), deletedLayerFiles = ArrayList_init_$Create$(), tmp5_iterator = contents_0.c1f_1.h1().d(); tmp5_iterator.e(); ) { - var tmp_11, tmp6_loop_parameter = tmp5_iterator.f(), file = tmp6_loop_parameter.e1(), details = tmp6_loop_parameter.g1(), newDetails = this.d1x_1.e1f_1.c1f_1.v1(file), tmp7_safe_receiver = newDetails; - if (details.j1g_1 === (null == tmp7_safe_receiver ? null : tmp7_safe_receiver.j1g_1)) { - var tmp_12 = this.f1x_1; - tmp_11 = !(isInterface(tmp_12, Map) ? tmp_12 : THROW_CCE()).p1(file); - } else tmp_11 = !1; - tmp_11 ? (helpfulBytes = helpfulBytes.w4(details.i1g_1), helpfulLayerFiles.t2(file, details)) : (null == newDetails && deletedLayerFiles.a(file), - wastedBytes = wastedBytes.w4(details.i1g_1)); - } - if (wastedBytes.u4(helpfulBytes) >= 0) info(this.t1w_1.r1u_1 + ": layer " + layer.b1v_1 + " has too much waste (" + formatBytes(wastedBytes) + " > " + formatBytes(helpfulBytes) + "), so the layer will be skipped"); else { - var tmp4_plusAssign = contents_0.c1f_1; - this.e1x_1.k7(tmp4_plusAssign), this.f1x_1.k7(helpfulLayerFiles), addAll(this.g1x_1, deletedLayerFiles), - this.h1x_1.a(layer); - var tmp5_plusAssign = layer.b1v_1 + " " + formatBytes(helpfulBytes.w4(wastedBytes)) + " total (" + contents_0.c1f_1.c() + " files), " + formatBytes(wastedBytes) + " outdated"; - this.i1x_1.a(tmp5_plusAssign); - } - } else info(this.t1w_1.r1u_1 + ": unknown contents for layer " + layer.b1v_1); - } - if (!this.v1w_1 && this.h1x_1.l()) return info(this.t1w_1.r1u_1 + ": at least one layer from the default branch is needed. The new contents is " + formatBytes(this.d1x_1.d1f_1.x1e_1) + " (" + this.d1x_1.d1f_1.z1e_1 + " files)"), - Unit_getInstance(); - var tmp_13 = this, tmp_14 = new HashContents(this.e1x_1); - if (tmp_13.j1x_1 = diff$default(tmp_14, this.d1x_1.e1f_1, 0, 4, null), this.j1x_1.n1g_1.l() || info(this.t1w_1.r1u_1 + ": cache contents is changed: " + this.j1x_1.q1g()), - this.k1x_1 = toLayer(this.j1x_1, this.t1w_1), this.l1x_1 = toCache(this.k1x_1, this.t1w_1, "newlayer"), - this.ld_1 = 10, (suspendResult = this.l1x_1.d1q(this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 10: - this.h1x_1.a(this.k1x_1); - var tmp7_plusAssign = this.k1x_1.b1v_1 + " " + formatBytes(this.j1x_1.l1g_1) + " total (" + this.j1x_1.o1g_1.c() + " files), " + formatBytes(this.j1x_1.m1g_1) + " deleted (" + this.j1x_1.p1g_1.c() + " files)"; - this.i1x_1.a(tmp7_plusAssign); - var tmp_15 = this.t1w_1.r1u_1 + ": " + this.h1x_1.c() + " layers. "; - if (info(joinToString$default(this.i1x_1, "; ", tmp_15, null, 0, null, null, 60, null)), - this.ld_1 = 11, (suspendResult = this.t1w_1.y1u_1.o1u(new CacheLayers(this.h1x_1, toList(this.g1x_1)), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 11: - if (this.ld_1 = 12, (suspendResult = this.t1w_1.a1v_1.d1q(this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 12: - case 13: - case 14: - case 15: - return Unit_getInstance(); - - case 16: - throw this.od_1; + throw this.y6_1; } } catch ($p) { - if (16 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; + var e = $p; + if (9 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; } - }, $saveSingleLayerCacheCOROUTINE$7.prototype.td = function() { - var suspendResult = this.nd_1; + }, protoOf($findUrlCOROUTINE$2).d7 = function() { + var suspendResult = this.x6_1; $sm: for (;;) try { - switch (this.ld_1) { + switch (this.v6_1) { case 0: - this.md_1 = 6, info(this.l1v_1.r1u_1 + ": creating single-layer cache image"); - var tmp_0 = this, tmp_1 = this.l1v_1.x1u_1 + "-" + this.l1v_1.u1u_1; - if (tmp_0.m1v_1 = new CacheLayer(tmp_1, emptyList()), this.n1v_1 = toCache(this.m1v_1, this.l1v_1, "single-layer"), - this.ld_1 = 1, (suspendResult = this.n1v_1.d1q(this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + this.w6_1 = 4, this.u1o_1 = "https://services.gradle.org/versions/all"; + if (this.v1o_1 = (new HttpClient).getJson(this.u1o_1, get_HTTP_AGENT()), this.v6_1 = 1, + (suspendResult = awaitPromiseLike(this.v1o_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; continue $sm; case 1: - if (this.ld_1 = 2, (suspendResult = this.n1v_1.n1u(this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 2: - if (this.o1v_1 = suspendResult, this.p1v_1 = null == this.o1v_1 ? null : this.o1v_1.z1e_1, - 0 === this.p1v_1) return Unit_getInstance(); - this.ld_1 = 3; - continue $sm; - - case 3: - this.ld_1 = 4; - var tmp_2 = listOf_0(this.m1v_1); - if ((suspendResult = this.l1v_1.y1u_1.o1u(new CacheLayers(tmp_2, emptyList()), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 4: - if (this.ld_1 = 5, (suspendResult = this.l1v_1.a1v_1.d1q(this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 5: - return Unit_getInstance(); - - case 6: - throw this.od_1; - } - } catch ($p) { - if (6 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; - } - }, LayeredCache.prototype.tc = function() { - return this.r1u_1; - }, LayeredCache.prototype.toString = function() { - return "Cache " + this.r1u_1 + ", primaryKey=" + this.u1u_1 + ", restoreKeys=" + this.v1u_1 + ", "; - }, LayeredCache.prototype.e1q = function($cont) { - var tmp = new $restoreCOROUTINE$5(this, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); - }, LayeredCache.prototype.d1q = function($cont) { - var tmp = new $saveCOROUTINE$6(this, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); - }, Companion_0.prototype.u1e = function() { - return $serializer_getInstance(); - }, $serializer.prototype.mv = function() { - return this.n1x_1; - }, $serializer.prototype.y10 = function() { - return [ new ArrayListSerializer($serializer_getInstance_0()), new ArrayListSerializer(StringSerializer_getInstance()) ]; - }, $serializer.prototype.ov = function(decoder) { - var tmp0_desc = this.n1x_1, tmp1_flag = !0, tmp2_index = 0, tmp3_bitMask0 = 0, tmp4_local0 = null, tmp5_local1 = null, tmp6_input = decoder.mx(tmp0_desc); - if (tmp6_input.ux()) tmp4_local0 = tmp6_input.rx(tmp0_desc, 0, new ArrayListSerializer($serializer_getInstance_0()), tmp4_local0), - tmp3_bitMask0 |= 1, tmp5_local1 = tmp6_input.rx(tmp0_desc, 1, new ArrayListSerializer(StringSerializer_getInstance()), tmp5_local1), - tmp3_bitMask0 |= 2; else for (;tmp1_flag; ) switch (tmp2_index = tmp6_input.vx(tmp0_desc)) { - case -1: - tmp1_flag = !1; - break; - - case 0: - tmp4_local0 = tmp6_input.rx(tmp0_desc, 0, new ArrayListSerializer($serializer_getInstance_0()), tmp4_local0), - tmp3_bitMask0 |= 1; - break; - - case 1: - tmp5_local1 = tmp6_input.rx(tmp0_desc, 1, new ArrayListSerializer(StringSerializer_getInstance()), tmp5_local1), - tmp3_bitMask0 |= 2; - break; - - default: - throw UnknownFieldException_init_$Create$(tmp2_index); - } - return tmp6_input.nx(tmp0_desc), CacheLayers_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null); - }, $serializer.prototype.o1x = function(encoder, value) { - var tmp0_desc = this.n1x_1, tmp1_output = encoder.mx(tmp0_desc); - tmp1_output.gy(tmp0_desc, 0, new ArrayListSerializer($serializer_getInstance_0()), value.j1w_1), - tmp1_output.gy(tmp0_desc, 1, new ArrayListSerializer(StringSerializer_getInstance()), value.k1w_1), - tmp1_output.nx(tmp0_desc); - }, $serializer.prototype.nv = function(encoder, value) { - return this.o1x(encoder, value instanceof CacheLayers ? value : THROW_CCE()); - }, $serializer_0.prototype.mv = function() { - return this.p1x_1; - }, $serializer_0.prototype.y10 = function() { - return [ StringSerializer_getInstance(), new ArrayListSerializer(StringSerializer_getInstance()) ]; - }, $serializer_0.prototype.ov = function(decoder) { - var tmp0_desc = this.p1x_1, tmp1_flag = !0, tmp2_index = 0, tmp3_bitMask0 = 0, tmp4_local0 = null, tmp5_local1 = null, tmp6_input = decoder.mx(tmp0_desc); - if (tmp6_input.ux()) tmp4_local0 = tmp6_input.qx(tmp0_desc, 0), tmp3_bitMask0 |= 1, - tmp5_local1 = tmp6_input.rx(tmp0_desc, 1, new ArrayListSerializer(StringSerializer_getInstance()), tmp5_local1), - tmp3_bitMask0 |= 2; else for (;tmp1_flag; ) switch (tmp2_index = tmp6_input.vx(tmp0_desc)) { - case -1: - tmp1_flag = !1; - break; - - case 0: - tmp4_local0 = tmp6_input.qx(tmp0_desc, 0), tmp3_bitMask0 |= 1; - break; - - case 1: - tmp5_local1 = tmp6_input.rx(tmp0_desc, 1, new ArrayListSerializer(StringSerializer_getInstance()), tmp5_local1), - tmp3_bitMask0 |= 2; - break; - - default: - throw UnknownFieldException_init_$Create$(tmp2_index); - } - return tmp6_input.nx(tmp0_desc), CacheLayer_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null); - }, $serializer_0.prototype.q1x = function(encoder, value) { - var tmp0_desc = this.p1x_1, tmp1_output = encoder.mx(tmp0_desc); - tmp1_output.fy(tmp0_desc, 0, value.b1v_1), tmp1_output.gy(tmp0_desc, 1, new ArrayListSerializer(StringSerializer_getInstance()), value.c1v_1), - tmp1_output.nx(tmp0_desc); - }, $serializer_0.prototype.nv = function(encoder, value) { - return this.q1x(encoder, value instanceof CacheLayer ? value : THROW_CCE()); - }, $restoreCOROUTINE$8.prototype.td = function() { - var suspendResult = this.nd_1; - $sm: for (;;) try { - switch (this.ld_1) { - case 0: - if (this.md_1 = 3, this.d1y_1 = get_normalizedPath(this.b1y_1.y1t_1), exists(this.d1y_1)) { - if (this.b1y_1.m1u(this.c1y_1), this.ld_1 = 1, (suspendResult = rename(this.d1y_1, this.b1y_1.z1t_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + this.w1o_1 = suspendResult; + var this_0 = this.w1o_1.statusCode; + if (!equals(this_0, 200)) throw new ActionFailedException("Unable to lookup " + this.u1o_1 + " Gradle version: " + toString(this.w1o_1.statusCode) + ", " + JSON.stringify(this.w1o_1.result)); + var tmp_2, tmp1_safe_receiver = this.w1o_1.result; + if (null == tmp1_safe_receiver) tmp_2 = null; else { + var tmp$ret$0; + l$ret$1: do { + for (var inductionVariable = 0, last = tmp1_safe_receiver.length; inductionVariable < last; ) { + var element = tmp1_safe_receiver[inductionVariable]; + if (inductionVariable = inductionVariable + 1 | 0, element.version === this.t1o_1.e1r_1) { + tmp$ret$0 = element; + break l$ret$1; + } + } + tmp$ret$0 = null; + } while (0); + tmp_2 = tmp$ret$0; + } + if (this.x1o_1 = tmp_2, null == this.x1o_1) { + this.y1o_1 = null, this.v6_1 = 3; continue $sm; } - warning(this.b1y_1.y1t_1 + ": " + this.d1y_1 + " does not exist"), this.ld_1 = 2; - continue $sm; - - case 1: - this.ld_1 = 2; + if (this.v6_1 = 2, (suspendResult = resolveChecksum(this.x1o_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; continue $sm; case 2: - return Unit_getInstance(); - - case 3: - throw this.od_1; - } - } catch ($p) { - if (3 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; - } - }, $decodeCOROUTINE$9.prototype.td = function() { - var suspendResult = this.nd_1; - $sm: for (;;) try { - switch (this.ld_1) { - case 0: - if (this.md_1 = 3, !exists(this.m1y_1.z1t_1)) return this.n1y_1 && warning(this.m1y_1.y1t_1 + ": " + this.m1y_1.z1t_1 + " does not exist"), - null; - if (this.md_1 = 2, this.p1y_1 = Default_getInstance(), this.q1y_1 = this.m1y_1.w1t_1, - this.ld_1 = 1, (suspendResult = readFile(this.m1y_1.z1t_1, "utf8", this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 1: - var ARGUMENT = suspendResult; - this.o1y_1 = this.p1y_1.k13(this.q1y_1, ARGUMENT), this.md_1 = 3, this.ld_1 = 4; + this.y1o_1 = suspendResult, this.v6_1 = 3; continue $sm; - case 2: - if (this.md_1 = 3, this.od_1 instanceof SerializationException) { - var e = this.od_1; - return warning(this.m1y_1.y1t_1 + ": error deserializing " + this.m1y_1.z1t_1 + " with " + this.m1y_1.w1t_1.mv().vv() + ", message: " + e), - null; - } - throw this.od_1; - case 3: - throw this.od_1; - - case 4: - return this.md_1 = 3, this.o1y_1; - } - } catch ($p) { - if (3 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; - } - }, MetadataFile.prototype.m1u = function(key) { - var tmp = this, tmp_0 = get_normalizedPath(this.y1t_1), tmp_1 = _Char___init__impl__6a9atx(47), tmp_2 = _Char___init__impl__6a9atx(45); - tmp.z1t_1 = tmp_0 + "." + replace$default(key, tmp_1, tmp_2, !1, 4, null); - }, MetadataFile.prototype.a1u = function(key, $cont) { - var tmp = new $restoreCOROUTINE$8(this, key, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); - }, MetadataFile.prototype.m1x = function(warnOnMissing, $cont) { - var tmp = new $decodeCOROUTINE$9(this, warnOnMissing, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); - }, MetadataFile.prototype.p1u = function(warnOnMissing, $cont, $mask0, $handler) { - return 0 != (1 & $mask0) && (warnOnMissing = !0), this.m1x(warnOnMissing, $cont); - }, MetadataFile.prototype.o1u = function(value, $cont) { - return writeFile(get_normalizedPath(this.y1t_1), Default_getInstance().j13(this.w1t_1, value), "utf8", $cont); - }, dependenciesCache$slambda.prototype.l1o = function($cont) { - var tmp = this.m1o($cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); - }, dependenciesCache$slambda.prototype.n1o = function($cont) { - return this.l1o($cont); - }, dependenciesCache$slambda.prototype.td = function() { - var suspendResult = this.nd_1; - $sm: for (;;) try { - switch (this.ld_1) { - case 0: - this.md_1 = 2, this.ld_1 = 1; - var tmp_0 = copyToArray(this.s1z_1).slice(); - if ((suspendResult = hashFiles$default(tmp_0, null, !1, this, 6, null)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 1: - return suspendResult.r1g_1; + var tmp0_elvis_lhs = this.y1o_1; + if (null == tmp0_elvis_lhs) throw new ActionFailedException("Unable to find Gradle version " + this.t1o_1.e1r_1); + return tmp0_elvis_lhs; - case 2: - throw this.od_1; + case 4: + throw this.y6_1; } } catch ($p) { - if (2 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; + var e = $p; + if (4 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; } - }, dependenciesCache$slambda.prototype.m1o = function(completion) { - return new dependenciesCache$slambda(this.s1z_1, completion); - }, $dependenciesCacheCOROUTINE$10.prototype.td = function() { - var suspendResult = this.nd_1; + }, protoOf($findUrlCOROUTINE$3).d7 = function() { + var suspendResult = this.x6_1; $sm: for (;;) try { - switch (this.ld_1) { + switch (this.v6_1) { case 0: - this.md_1 = 4; - var tmp_0 = this; - if (Companion_getInstance_1(), tmp_0.d1z_1 = "defaultbranch", this.e1z_1 = get_cacheKey(this.a1z_1), - this.f1z_1 = "dependencies-" + this.z1y_1, this.g1z_1 = suspendingStateVariable(this.f1z_1, dependenciesCache$slambda_0(this.c1z_1, null)), - isDebug()) { - if (this.ld_1 = 1, (suspendResult = this.g1z_1.z1p(this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - } - this.ld_1 = 2; + this.w6_1 = 6, this.i1p_1 = "https://services.gradle.org/versions/" + this.h1p_1.g1r_1; + if (this.j1p_1 = (new HttpClient).getJson(this.i1p_1, get_HTTP_AGENT()), this.v6_1 = 1, + (suspendResult = awaitPromiseLike(this.j1p_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; continue $sm; case 1: - this.h1z_1 = suspendResult, this.i1z_1 = this.f1z_1 + ": dependencyDeclarationHash=" + this.h1z_1, - debug(this.i1z_1), this.ld_1 = 2; + this.k1p_1 = suspendResult; + var this_0 = this.k1p_1.statusCode; + if (!equals(this_0, 200)) throw new ActionFailedException("Unable to lookup " + this.i1p_1 + " Gradle version: " + toString(this.k1p_1.statusCode) + ", " + JSON.stringify(this.k1p_1.result)); + var tmp3_safe_receiver = this.k1p_1.result; + if (null != (null == tmp3_safe_receiver ? null : tmp3_safe_receiver.version)) { + if (this.v6_1 = 5, (suspendResult = resolveChecksum(this.k1p_1.result, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + } + this.v6_1 = 2; continue $sm; case 2: - if (this.j1z_1 = "dependencies-" + this.z1y_1 + "-" + ActionsEnvironment_getInstance().ms(), - this.ld_1 = 3, (suspendResult = this.g1z_1.z1p(this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + if (this.h1p_1 instanceof ReleaseCandidate) { + if (this.v6_1 = 4, (suspendResult = findUrl_0(Current_getInstance(), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + } + this.v6_1 = 3; continue $sm; case 3: - var ARGUMENT = suspendResult, ARGUMENT_0 = this.j1z_1 + "-" + this.e1z_1 + "-" + ARGUMENT; - return LayeredCache_init_$Create$(this.f1z_1, this.j1z_1, 0, ARGUMENT_0, listOf([ this.j1z_1 + "-" + this.e1z_1, this.j1z_1 + "-" + this.d1z_1, this.j1z_1 + "-master", this.j1z_1 + "-main" ]), this.b1z_1, 4, null); + throw new ActionFailedException("Empty result from " + this.i1p_1 + ": " + JSON.stringify(this.k1p_1.result)); case 4: - throw this.od_1; + case 5: + return suspendResult; + + case 6: + throw this.y6_1; } } catch ($p) { - if (4 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; + var e = $p; + if (6 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; } - }, DefaultStateVariable.prototype.ij = function() { - var tmp, tmp0_elvis_lhs = this.x1z_1; - if (null == tmp0_elvis_lhs) { - var tmp0_ifBlank = getState(this.w1z_1), tmp1_also = isBlank(tmp0_ifBlank) ? this.v1z_1() : tmp0_ifBlank; - this.jj(tmp1_also), tmp = tmp1_also; - } else tmp = tmp0_elvis_lhs; - return tmp; - }, BaseStateVariable.prototype.jj = function(value) { - this.x1z_1 = value, saveState(this.w1z_1, value); - }, $getCOROUTINE$11.prototype.td = function() { - var suspendResult = this.nd_1; + }, protoOf($findVersionFromWrapperCOROUTINE$4).d7 = function() { + var suspendResult = this.x6_1; $sm: for (;;) try { - switch (this.ld_1) { + switch (this.v6_1) { case 0: - if (this.md_1 = 4, this.h20_1 = this.g20_1.x1z_1, null == this.h20_1) { - if (this.j20_1 = getState(this.g20_1.w1z_1), isBlank(this.j20_1)) { - if (this.ld_1 = 1, (suspendResult = this.g20_1.n20_1(this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - } - this.k20_1 = this.j20_1, this.ld_1 = 2; + if (this.w6_1 = 7, this.v1p_1 = node_path_path_1155cy.join(this.t1p_1, "gradle", "wrapper", "gradle-wrapper.properties"), + exists(this.v1p_1)) { + this.v6_1 = 1; continue $sm; } - this.i20_1 = this.h20_1, this.ld_1 = 3; + if (warning("Gradle wrapper configuration is not found at " + node_path_path_1155cy.resolve(this.v1p_1) + ".\nWill use the current release Gradle version"), + this.v6_1 = 6, (suspendResult = findUrl_0(Current_getInstance(), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; continue $sm; case 1: - this.k20_1 = suspendResult, this.ld_1 = 2; + if (this.v6_1 = 2, (suspendResult = readFile(this.v1p_1, "utf8", this)) === get_COROUTINE_SUSPENDED()) return suspendResult; continue $sm; case 2: - var tmp1_also = this.k20_1; - this.g20_1.jj(tmp1_also), this.i20_1 = tmp1_also, this.ld_1 = 3; + this.w1p_1 = suspendResult; + for (var $this$run = parseString(this.w1p_1), this_0 = $this$run.getKeys(), result = LinkedHashMap_init_$Create$(coerceAtLeast(mapCapacity(this_0.length), 16)), inductionVariable = 0, last = this_0.length; inductionVariable < last; ) { + var element = this_0[inductionVariable]; + inductionVariable = inductionVariable + 1 | 0, result.n1(element, ensureNotNull($this$run.getFirst(element))); + } + if (this.x1p_1 = result, this.y1p_1 = getValue(this.x1p_1, "distributionUrl"), this.z1p_1 = this.x1p_1.j1("distributionSha256Sum"), + this.a1q_1 = removeSuffix(removeSuffix(removeSuffix(substringAfter(substringAfterLast(this.y1p_1, "/"), "gradle-"), "-all.zip"), "-bin.zip"), ".zip"), + this.u1p_1 && null == this.z1p_1 && warning("distributionSha256Sum is not set in " + this.v1p_1 + ".\nPlease consider adding the checksum, see https://docs.gradle.org/current/userguide/gradle_wrapper.html#configuring_checksum_verification"), + startsWith(removePrefix(removePrefix(this.y1p_1, "https"), "http"), "://services.gradle.org/")) { + if (endsWith(this.y1p_1, "-bin.zip") && null != this.z1p_1) { + this.c1q_1 = new GradleDistribution(this.a1q_1, this.y1p_1, this.z1p_1), this.v6_1 = 4; + continue $sm; + } + if (this.v6_1 = 3, (suspendResult = findUrl(new Official(this.a1q_1), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + } + this.b1q_1 = new GradleDistribution(this.a1q_1, this.y1p_1, this.z1p_1), this.v6_1 = 5; continue $sm; case 3: - return this.i20_1; + this.c1q_1 = suspendResult, this.v6_1 = 4; + continue $sm; case 4: - throw this.od_1; + this.b1q_1 = this.c1q_1, this.v6_1 = 5; + continue $sm; + + case 5: + return this.b1q_1; + + case 6: + return suspendResult; + + case 7: + throw this.y6_1; } } catch ($p) { - if (4 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; - } - }, DefaultSuspendingStateVariable.prototype.o20 = function($cont) { - var tmp = new $getCOROUTINE$11(this, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); - }, DefaultSuspendingStateVariable.prototype.z1p = function($cont) { - return this.o20($cont); - }, transform$1.prototype.ij = function() { - return this.p20_1(this.q20_1.ij()); - }, transform$1.prototype.s20 = function(value) { - this.q20_1.jj(this.r20_1(value)); - }, transform$1.prototype.jj = function(value) { - return this.s20(isObject(value) ? value : THROW_CCE()); - }, $serializer.prototype.z10 = typeParametersSerializers, $serializer_0.prototype.z10 = typeParametersSerializers, - _.$_$ = _.$_$ || {}, _.$_$.a = stateVariable, _.$_$.b = GradleCacheAction, _.$_$.c = Parameters, - _; - }) ? __WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__) : __WEBPACK_AMD_DEFINE_FACTORY__) || (module.exports = __WEBPACK_AMD_DEFINE_RESULT__); - }, - 2528: function(module, exports, __webpack_require__) { - var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; - __WEBPACK_AMD_DEFINE_ARRAY__ = [ exports, __webpack_require__(612), __webpack_require__(7561), __webpack_require__(8744), __webpack_require__(3814) ], - void 0 === (__WEBPACK_AMD_DEFINE_RESULT__ = "function" == typeof (__WEBPACK_AMD_DEFINE_FACTORY__ = function(_, $module$node_os_4svwl4, $module$node_fs_4svwsv, kotlin_kotlin, kotlin_org_jetbrains_kotlin_wrappers_kotlin_node) { - "use strict"; - var homedir = $module$node_os_4svwl4.homedir, existsSync = $module$node_fs_4svwsv.existsSync, Unit_getInstance = kotlin_kotlin.$_$.d2, startsWith$default = kotlin_kotlin.$_$.n, CoroutineImpl = kotlin_kotlin.$_$.m4, mkdir = kotlin_org_jetbrains_kotlin_wrappers_kotlin_node.$_$.b, get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.x3, classMeta = kotlin_kotlin.$_$.x4, setMetadataFor = kotlin_kotlin.$_$.o5, finished = kotlin_org_jetbrains_kotlin_wrappers_kotlin_node.$_$.i; - function get_normalizedPath(_this__u8e3s4) { - return startsWith$default(_this__u8e3s4, "~", !1, 2, null) ? homedir() + _this__u8e3s4.substring(1) : _this__u8e3s4; - } - function exists(path) { - return existsSync(get_normalizedPath(path)); - } - function mkdir_0(path, $cont) { - var tmp = new $mkdirCOROUTINE$0(path, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); - } - function $mkdirCOROUTINE$0(path, resultContinuation) { - CoroutineImpl.call(this, resultContinuation), this.vq_1 = path; - } - function pipeAndWait(_this__u8e3s4, destination, end, $cont) { - var tmp$ret$2, tmp0_apply = {}; - return tmp0_apply.end = end, tmp$ret$2 = tmp0_apply, _this__u8e3s4.pipe(destination, tmp$ret$2), - finished(_this__u8e3s4, $cont); - } - function pipeAndWait$default(_this__u8e3s4, destination, end, $cont, $mask0, $handler) { - return 0 != (2 & $mask0) && (end = !1), pipeAndWait(_this__u8e3s4, destination, end, $cont); - } - return setMetadataFor($mkdirCOROUTINE$0, "$mkdirCOROUTINE$0", classMeta, CoroutineImpl, void 0, void 0, void 0, []), - $mkdirCOROUTINE$0.prototype.td = function() { - var suspendResult = this.nd_1; + var e = $p; + if (7 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; + } + }, protoOf($resolveChecksumCOROUTINE$5).d7 = function() { + var suspendResult = this.x6_1; $sm: for (;;) try { - switch (this.ld_1) { + switch (this.v6_1) { case 0: - if (this.md_1 = 3, exists(this.vq_1)) { - this.ld_1 = 2; - continue $sm; - } - this.ld_1 = 1; - var tmp0_apply = { - recursive: !0 - }; - if ((suspendResult = mkdir(this.vq_1, tmp0_apply, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + this.w6_1 = 3, this.m1q_1 = this.l1q_1.version, this.n1q_1 = this.l1q_1.downloadUrl; + if (this.o1q_1 = (new HttpClient).get(this.l1q_1.checksumUrl, get_HTTP_AGENT()), + this.v6_1 = 1, (suspendResult = awaitPromiseLike(this.o1q_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; continue $sm; case 1: - this.ld_1 = 2; + if (this.p1q_1 = suspendResult, this.q1q_1 = this.p1q_1.readBody(), this.v6_1 = 2, + (suspendResult = awaitPromiseLike(this.q1q_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; continue $sm; case 2: - return Unit_getInstance(); + var this_0 = suspendResult, ARGUMENT = toString(trim(isCharSequence(this_0) ? this_0 : THROW_CCE())); + return new GradleDistribution(this.m1q_1, this.n1q_1, ARGUMENT); case 3: - throw this.od_1; + throw this.y6_1; } } catch ($p) { - if (3 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; + var e = $p; + if (3 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; } - }, _.$_$ = _.$_$ || {}, _.$_$.a = exists, _.$_$.b = get_normalizedPath, _.$_$.c = mkdir_0, - _.$_$.d = pipeAndWait, _.$_$.e = pipeAndWait$default, _; - }) ? __WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__) : __WEBPACK_AMD_DEFINE_FACTORY__) || (module.exports = __WEBPACK_AMD_DEFINE_RESULT__); - }, - 3012: function(module, exports, __webpack_require__) { - var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; - __WEBPACK_AMD_DEFINE_ARRAY__ = [ exports, __webpack_require__(8744), __webpack_require__(8585), __webpack_require__(3814) ], - void 0 === (__WEBPACK_AMD_DEFINE_RESULT__ = "function" == typeof (__WEBPACK_AMD_DEFINE_FACTORY__ = function(_, kotlin_kotlin, kotlin_gradle_cache_action_wrappers_actions_toolkit, kotlin_org_jetbrains_kotlin_wrappers_kotlin_node) { - "use strict"; - var classMeta = kotlin_kotlin.$_$.x4, setMetadataFor = kotlin_kotlin.$_$.o5, Unit_getInstance = kotlin_kotlin.$_$.d2, CoroutineImpl = kotlin_kotlin.$_$.m4, ActionsEnvironment_getInstance = kotlin_gradle_cache_action_wrappers_actions_toolkit.$_$.j, readFile = kotlin_org_jetbrains_kotlin_wrappers_kotlin_node.$_$.c, get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.x3, THROW_CCE = kotlin_kotlin.$_$.v6, isObject = kotlin_kotlin.$_$.h5; - function PullRequest(event) { - ActionsTrigger.call(this, "pull_request", event), this.l1n_1 = event; - } - function BranchPush(event) { - ActionsTrigger.call(this, "push", event), this.o1n_1 = event; - } - function WorkflowDispatch(event) { - ActionsTrigger.call(this, "workflow_dispatch", event), this.r1n_1 = event; - } - function Schedule(name, event) { - ActionsTrigger.call(this, name, event); - } - function Other(name, event) { - ActionsTrigger.call(this, name, event); - } - function ActionsTrigger(name, event) { - this.s1n_1 = name, this.t1n_1 = event; - } - function currentTrigger($cont) { - var tmp = new $currentTriggerCOROUTINE$0($cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); - } - function $currentTriggerCOROUTINE$0(resultContinuation) { - CoroutineImpl.call(this, resultContinuation); - } - return setMetadataFor(ActionsTrigger, "ActionsTrigger", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(PullRequest, "PullRequest", classMeta, ActionsTrigger, void 0, void 0, void 0, []), - setMetadataFor(BranchPush, "BranchPush", classMeta, ActionsTrigger, void 0, void 0, void 0, []), - setMetadataFor(WorkflowDispatch, "WorkflowDispatch", classMeta, ActionsTrigger, void 0, void 0, void 0, []), - setMetadataFor(Schedule, "Schedule", classMeta, ActionsTrigger, void 0, void 0, void 0, []), - setMetadataFor(Other, "Other", classMeta, ActionsTrigger, void 0, void 0, void 0, []), - setMetadataFor($currentTriggerCOROUTINE$0, "$currentTriggerCOROUTINE$0", classMeta, CoroutineImpl, void 0, void 0, void 0, []), - $currentTriggerCOROUTINE$0.prototype.td = function() { - var suspendResult = this.nd_1; + }, protoOf($launchGradleCOROUTINE$6).d7 = function() { + var suspendResult = this.x6_1; $sm: for (;;) try { - switch (this.ld_1) { + switch (this.v6_1) { case 0: - if (this.md_1 = 2, this.ld_1 = 1, (suspendResult = readFile(ActionsEnvironment_getInstance().ks(), "utf8", this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + this.w6_1 = 2, this.r1r_1 = { + _v: null + }, this.s1r_1 = !1, this.t1r_1 = new GradleErrorCollector, this.u1r_1 = new GradleOutErrorCollector, + this.v6_1 = 1; + for (var tmp_0 = listOf("--no-daemon"), this_0 = this.q1r_1.j1s_1, destination = ArrayList_init_$Create$(this_0.k()), tmp0_iterator = this_0.m1().h(); tmp0_iterator.i(); ) { + var item = tmp0_iterator.j(); + destination.e("-P" + item.f1() + "=" + item.g1()); + } + var this_1 = plus(plus(tmp_0, destination), this.q1r_1.i1s_1), tmp_1 = copyToArray(this_1).slice(); + if ((suspendResult = exec(this.q1r_1.g1s_1, tmp_1, VOID, launchGradle$lambda(this.q1r_1, this.r1r_1, this.u1r_1, this.t1r_1), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; continue $sm; case 1: - var tmp_0, eventString = suspendResult, event = JSON.parse(eventString), eventName = ActionsEnvironment_getInstance().js(); - switch (eventName) { - case "pull_request": - tmp_0 = new PullRequest(isObject(event) ? event : THROW_CCE()); - break; - - case "push": - tmp_0 = new BranchPush(isObject(event) ? event : THROW_CCE()); - break; - - case "workflow_dispatch": - tmp_0 = new WorkflowDispatch(isObject(event) ? event : THROW_CCE()); - break; - - case "schedule": - tmp_0 = new Schedule(eventName, event); - break; - - default: - tmp_0 = new Other(eventName, event); - } - return tmp_0; + var result = suspendResult; + this.t1r_1.k1s(), this.u1r_1.k1s(); + for (var _iterator__ex2g4s = plus(this.t1r_1.c1s_1, this.u1r_1.w1r_1).h(); _iterator__ex2g4s.i(); ) { + var error_0 = _iterator__ex2g4s.j(); + this.s1r_1 = !0; + var tmp4_safe_receiver = error_0.m1s_1, shortFile = null == tmp4_safe_receiver ? null : removePrefix(tmp4_safe_receiver, node_process_process_dcpv5o.cwd()), this_2 = {}; + this_2.file = shortFile, this_2.startLine = error_0.n1s_1, this_2.startColumn = error_0.o1s_1, + error(error_0.l1s_1, this_2); + } + if (this.s1r_1) node_process_process_dcpv5o.exitCode = 1; + return this.s1r_1 || 0 === result.ou_1 || setFailed("Gradle process finished with a non-zero exit code: " + result.ou_1), + new GradleResult(this.r1r_1._v); case 2: - throw this.od_1; + throw this.y6_1; } } catch ($p) { - if (2 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; + var e = $p; + if (2 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; + } + }, protoOf(Official).toString = function() { + return "Official(" + this.e1r_1 + ")"; + }, protoOf(Current).toString = function() { + return "Current"; + }, protoOf(ReleaseCandidate).toString = function() { + return "ReleaseCandidate"; + }, protoOf(Nightly).toString = function() { + return "Nightly"; + }, protoOf(ReleaseNightly).toString = function() { + return "ReleaseNightly"; + }, protoOf(Wrapper).toString = function() { + return "Wrapper"; + }, protoOf(GradleError).toString = function() { + return "GradleError(line=" + this.n1s_1 + ", col=" + this.o1s_1 + ", file=" + this.m1s_1 + ", message='" + this.l1s_1 + "')"; + }, protoOf(GradleErrorCollector).k1s = function() { + if (!this.f1s_1.q()) { + var tmp, tmp0_elvis_lhs = this.f1s_1.j1(ErrorHeader_WHAT_WENT_WRONG_getInstance()), message = null == tmp0_elvis_lhs ? "Unknown error" : tmp0_elvis_lhs, this_0 = this.b1s_1, tmp5_safe_receiver = this.f1s_1.j1(ErrorHeader_WHERE_getInstance()); + if (null == tmp5_safe_receiver) tmp = null; else { + var tmp6_safe_receiver = Regex_init_$Create$("^Build file '(.+)' line: (\\d+)$").da(tmp5_safe_receiver); + tmp = null == tmp6_safe_receiver ? null : new GradleError(message, tmp6_safe_receiver.za().p(1), toInt_0(tmp6_safe_receiver.za().p(2))); + } + var tmp1_elvis_lhs = tmp, element = null == tmp1_elvis_lhs ? new GradleError(message) : tmp1_elvis_lhs; + this_0.e(element); + } + this.f1s_1.p1(), this.d1s_1.o9(); + }, protoOf(GradleErrorCollector).a1s = function(line) { + var tmp$ret$2, str = toString(trimEnd(isCharSequence(line) ? line : THROW_CCE())); + if (startsWith(str, ErrorHeader_FAILURE_getInstance().t1s_1)) { + this.k1s(); + var this_0 = this.f1s_1, key = ErrorHeader_FAILURE_getInstance(), value = removePrefix(str, ErrorHeader_FAILURE_getInstance().t1s_1); + return this_0.n1(key, value), Unit_instance; + } + if (startsWith(str, "* Get more help") || startsWith(str, "BUILD FAILED ")) return this.k1s(), + this.e1s_1 = null, Unit_instance; + $l$block: { + for (var indexedObject = get_errorHeaderValues(), inductionVariable = 0, last = indexedObject.length; inductionVariable < last; ) { + var element = indexedObject[inductionVariable]; + if (inductionVariable = inductionVariable + 1 | 0, startsWith(str, element.t1s_1)) { + tmp$ret$2 = element; + break $l$block; + } + } + tmp$ret$2 = null; } - }, _.$_$ = _.$_$ || {}, _.$_$.a = currentTrigger, _.$_$.b = BranchPush, _.$_$.c = Other, - _.$_$.d = PullRequest, _.$_$.e = Schedule, _.$_$.f = WorkflowDispatch, _; - }) ? __WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__) : __WEBPACK_AMD_DEFINE_FACTORY__) || (module.exports = __WEBPACK_AMD_DEFINE_RESULT__); + var tmp7_safe_receiver = tmp$ret$2; + if (null != tmp7_safe_receiver) { + var tmp8_safe_receiver = this.e1s_1; + if (null == tmp8_safe_receiver) ; else { + var this_1 = this.f1s_1, this_2 = this.d1s_1.toString(), value_0 = toString(trimEnd(isCharSequence(this_2) ? this_2 : THROW_CCE())); + this_1.n1(tmp8_safe_receiver, value_0); + } + return this.d1s_1.o9(), this.e1s_1 = tmp7_safe_receiver, Unit_instance; + } + null != this.e1s_1 && this.d1s_1.h6(line).i6(_Char___init__impl__6a9atx(10)); + }, protoOf(GradleOutErrorCollector).a1s = function(line) { + if (startsWith(line, "> Task ") || startsWith(line, "> Configure")) { + this.x1r_1 = "[" + removePrefix(line, "> ") + "]"; + } + if (startsWith(line, "e: ")) { + var tmp9_safe_receiver = (_init_properties_GradleOutErrorCollector_kt__gu17ja(), + KOTLIN_COMPILE_ERROR).da(line); + if (null == tmp9_safe_receiver) ; else { + var tmp_3, this_0 = this.v1r_1, tmp_0 = this.x1r_1 + " " + tmp9_safe_receiver.za().p(4), tmp_1 = tmp9_safe_receiver.za().p(1), tmp_2 = toInt_0(tmp9_safe_receiver.za().p(2)), this_1 = tmp9_safe_receiver.za().p(3), element = (tmp_3 = isBlank(this_1) ? null : this_1, + new GradleError(tmp_0, tmp_1, tmp_2, null == tmp_3 ? null : toInt_0(tmp_3))); + this_0.e(element); + } + return Unit_instance; + } + var tmp11_safe_receiver = (_init_properties_GradleOutErrorCollector_kt__gu17ja(), + CHECKSTYLE_ERROR).da(line); + if (null == tmp11_safe_receiver) ; else { + var tmp_7, this_2 = this.v1r_1, tmp_4 = this.x1r_1 + " " + removePrefix("[" + tmp11_safe_receiver.za().p(5) + "] ", "[] ") + tmp11_safe_receiver.za().p(4), tmp_5 = tmp11_safe_receiver.za().p(1), tmp_6 = toInt_0(tmp11_safe_receiver.za().p(2)), this_3 = tmp11_safe_receiver.za().p(3), element_0 = (tmp_7 = isBlank(this_3) ? null : this_3, + new GradleError(tmp_4, tmp_5, tmp_6, null == tmp_7 ? null : toInt_0(tmp_7))); + this_2.e(element_0); + } + processJavaError(this, line); + }, protoOf(GradleOutErrorCollector).k1s = function() { + var tmp14_safe_receiver = this.y1r_1; + if (null == tmp14_safe_receiver) ; else { + var this_0 = this.v1r_1, element = new GradleError(this.x1r_1 + " " + tmp14_safe_receiver.za().p(3) + "\n" + joinToString(this.z1r_1, "\n"), tmp14_safe_receiver.za().p(1), toInt_0(tmp14_safe_receiver.za().p(2))); + this_0.e(element); + } + this.y1r_1 = null, this.z1r_1.p1(); + }, _.$_$ = _.$_$ || {}, _.$_$.a = LaunchParams, _.$_$.b = function(distribution, $completion) { + var tmp = new $installCOROUTINE$1(distribution, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); + }, _.$_$.c = function(params, $completion) { + var tmp = new $launchGradleCOROUTINE$6(params, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); + }, _.$_$.d = function(versionSpec, projectPath, distributionUrl, distributionSha256Sum, enableDistributionSha256SumWarning, $completion) { + var tmp = new $resolveDistributionCOROUTINE$0(versionSpec, projectPath, distributionUrl = distributionUrl === VOID ? null : distributionUrl, distributionSha256Sum = distributionSha256Sum === VOID ? null : distributionSha256Sum, enableDistributionSha256SumWarning = enableDistributionSha256SumWarning === VOID || enableDistributionSha256SumWarning, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); + }; + }(module.exports, __webpack_require__(8599), __webpack_require__(8101), __webpack_require__(4613), __webpack_require__(6760), __webpack_require__(8161), __webpack_require__(5001), __webpack_require__(1708), __webpack_require__(7036), __webpack_require__(9613), __webpack_require__(6077), __webpack_require__(7298), __webpack_require__(7361), __webpack_require__(4350), __webpack_require__(3138), __webpack_require__(191)); }, - 8744: function(module, exports) { - var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__, log, LN2; - void 0 === ArrayBuffer.isView && (ArrayBuffer.isView = function(a) { - return null != a && null != a.__proto__ && a.__proto__.__proto__ === Int8Array.prototype.__proto__; - }), void 0 === Math.clz32 && (Math.clz32 = (log = Math.log, LN2 = Math.LN2, function(x) { - var asUint = x >>> 0; - return 0 === asUint ? 32 : 31 - (log(asUint) / LN2 | 0) | 0; - })), void 0 === String.prototype.endsWith && Object.defineProperty(String.prototype, "endsWith", { - value: function(searchString, position) { - var subjectString = this.toString(); - (void 0 === position || position > subjectString.length) && (position = subjectString.length), - position -= searchString.length; - var lastIndex = subjectString.indexOf(searchString, position); - return -1 !== lastIndex && lastIndex === position; + 7298: (module, __unused_webpack_exports, __webpack_require__) => { + !function(_, $module$_actions_glob_fwy0ei, node_process_process_dcpv5o, $module$node_crypto_ke3snv, $module$node_fs_4svwsv, $module$_actions_core_fx0i1v, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core, kotlin_org_jetbrains_kotlin_wrappers_kotlin_js, kotlin_gradle_cache_action_wrappers_nodejs, kotlin_org_jetbrains_kotlin_wrappers_kotlin_node, kotlin_gradle_cache_action_wrappers_actions_toolkit, kotlin_gradle_cache_action_wrappers_js) { + "use strict"; + var Companion_instance, $serializer_instance, Companion_instance_0, $serializer_instance_0, $serializer_instance_1, create = $module$_actions_glob_fwy0ei.create, createHash = $module$node_crypto_ke3snv.createHash, createReadStream = $module$node_fs_4svwsv.createReadStream, warning = $module$_actions_core_fx0i1v.warning, imul = Math.imul, protoOf = kotlin_kotlin.$_$.t5, initMetadataForCompanion = kotlin_kotlin.$_$.f5, PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f1, THROW_CCE = kotlin_kotlin.$_$.r7, Long = kotlin_kotlin.$_$.p7, UnknownFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b, LongSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j, StringSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k, IntSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i, typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a1, GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b1, initMetadataForObject = kotlin_kotlin.$_$.j5, VOID = kotlin_kotlin.$_$.c, throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h1, Unit_instance = kotlin_kotlin.$_$.w1, objectCreate = kotlin_kotlin.$_$.s5, initMetadataForClass = kotlin_kotlin.$_$.e5, LinkedHashMapSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d1, _Char___init__impl__6a9atx = kotlin_kotlin.$_$.l1, lastIndexOf = kotlin_kotlin.$_$.n6, padStart = kotlin_kotlin.$_$.p6, CoroutineImpl = kotlin_kotlin.$_$.i4, joinToString = kotlin_kotlin.$_$.v2, awaitPromiseLike = kotlin_org_jetbrains_kotlin_wrappers_kotlin_js.$_$.a, get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.t3, sort = kotlin_kotlin.$_$.j3, get_normalizedPath = kotlin_gradle_cache_action_wrappers_nodejs.$_$.b, LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.o, arrayIterator = kotlin_kotlin.$_$.o4, stat = kotlin_org_jetbrains_kotlin_wrappers_kotlin_node.$_$.e, numberToLong = kotlin_kotlin.$_$.r5, startsWith = kotlin_kotlin.$_$.u6, replace = kotlin_kotlin.$_$.t6, pipeAndWait = kotlin_gradle_cache_action_wrappers_nodejs.$_$.d, substringAfterLast = kotlin_kotlin.$_$.v6, stackTraceToString = kotlin_kotlin.$_$.e8, ActionFailedException = kotlin_gradle_cache_action_wrappers_actions_toolkit.$_$.c, initMetadataForCoroutine = kotlin_kotlin.$_$.g5, formatBytes = kotlin_gradle_cache_action_wrappers_js.$_$.a, joinToString_0 = kotlin_kotlin.$_$.u2, ArrayList_init_$Create$ = kotlin_kotlin.$_$.h, KtMap = kotlin_kotlin.$_$.b2, isInterface = kotlin_kotlin.$_$.l5, toString = kotlin_kotlin.$_$.v5, getStringHashCode = kotlin_kotlin.$_$.c5, numberToInt = kotlin_kotlin.$_$.q5; + function Companion() {} + function $serializer() { + $serializer_instance = this; + var tmp0_serialDesc = new PluginGeneratedSerialDescriptor("com.github.burrunan.hashing.HashInfo", this, 3); + tmp0_serialDesc.j14("totalBytes", !1), tmp0_serialDesc.j14("hash", !1), tmp0_serialDesc.j14("totalFiles", !1), + this.j1j_1 = tmp0_serialDesc; } - }), void 0 === String.prototype.startsWith && Object.defineProperty(String.prototype, "startsWith", { - value: function(searchString, position) { - return position = position || 0, this.lastIndexOf(searchString, position) === position; + function $serializer_getInstance() { + return null == $serializer_instance && new $serializer, $serializer_instance; } - }), void 0 === Math.imul && (Math.imul = function(a, b) { - return (4294901760 & a) * (65535 & b) + (65535 & a) * (0 | b) | 0; - }), __WEBPACK_AMD_DEFINE_ARRAY__ = [ exports ], void 0 === (__WEBPACK_AMD_DEFINE_RESULT__ = "function" == typeof (__WEBPACK_AMD_DEFINE_FACTORY__ = function(_) { - "use strict"; - var Companion_instance, Companion_instance_0, Companion_instance_1, EmptyList_instance, EmptyIterator_instance, EmptyMap_instance, EmptySequence_instance, EmptySet_instance, NaturalOrderComparator_instance, Key_instance, EmptyCoroutineContext_instance, CoroutineSingletons_COROUTINE_SUSPENDED_instance, CoroutineSingletons_UNDECIDED_instance, CoroutineSingletons_RESUMED_instance, CoroutineSingletons_entriesInitialized, Companion_instance_2, Companion_instance_3, UNDEFINED_RESULT, properties_initialized_DeepRecursive_kt_5z0al2, LazyThreadSafetyMode_PUBLICATION_instance, LazyThreadSafetyMode_entriesInitialized, UNINITIALIZED_VALUE_instance, Companion_instance_4, Unit_instance, IntCompanionObject_instance, _stableSortingIsSupported, HashCode_instance, EmptyContinuation, properties_initialized_EmptyContinuation_kt_4jdb9w, NothingKClassImpl_instance, functionClasses, PrimitiveClasses_instance, properties_initialized_primitives_kt_jle18u, Companion_instance_5, Companion_instance_6, Companion_instance_7, buf, bufFloat64, bufInt32, lowIndex, highIndex, properties_initialized_bitUtils_kt_i2bo3e, Companion_instance_8, ZERO, ONE, NEG_ONE, MAX_VALUE, MIN_VALUE, TWO_PWR_24_, properties_initialized_longjs_kt_5aju7t, propertyRefClassMetadataCache, properties_initialized_reflectRuntime_kt_inkhwd, InterfaceIdService_instance, Digit_instance, CompletedContinuation_instance, imul = Math.imul, isView = ArrayBuffer.isView, clz32 = Math.clz32; - function plus(context) { - return context === EmptyCoroutineContext_getInstance() ? this : context.w3(this, CoroutineContext$plus$lambda); + function HashInfo(totalBytes, hash, totalFiles) { + this.l1j_1 = totalBytes, this.m1j_1 = hash, this.n1j_1 = totalFiles; } - function get(key) { - return equals_0(this.e1(), key) ? isInterface(this, Element) ? this : THROW_CCE() : null; + function Companion_0() { + Companion_instance_0 = this; + this.o1j_1 = [ new LinkedHashMapSerializer(StringSerializer_getInstance(), $serializer_getInstance_1()) ]; } - function fold(initial, operation) { - return operation(initial, this); + function Companion_getInstance_0() { + return null == Companion_instance_0 && new Companion_0, Companion_instance_0; } - function minusKey(key) { - return equals_0(this.e1(), key) ? EmptyCoroutineContext_getInstance() : this; + function $serializer_0() { + $serializer_instance_0 = this; + var tmp0_serialDesc = new PluginGeneratedSerialDescriptor("com.github.burrunan.hashing.HashContents", this, 1); + tmp0_serialDesc.j14("files", !1), this.p1j_1 = tmp0_serialDesc; } - function get_0(key) { - if (key instanceof AbstractCoroutineContextKey) { - var tmp; - if (key.u3(this.e1())) { - var tmp_0 = key.t3(this); - tmp = null != tmp_0 && isInterface(tmp_0, Element) ? tmp_0 : null; - } else tmp = null; - return tmp; - } - return Key_getInstance() === key ? isInterface(this, Element) ? this : THROW_CCE() : null; + function $serializer_getInstance_0() { + return null == $serializer_instance_0 && new $serializer_0, $serializer_instance_0; } - function minusKey_0(key) { - return key instanceof AbstractCoroutineContextKey ? key.u3(this.e1()) && null != key.t3(this) ? EmptyCoroutineContext_getInstance() : this : Key_getInstance() === key ? EmptyCoroutineContext_getInstance() : this; + function HashContents(files) { + Companion_getInstance_0(), this.r1j_1 = files; } - function createJsMap() { - var result = Object.create(null); - return result.foo = 1, jsDeleteProperty(result, "foo"), result; + function Companion_1() {} + function HashDetails(info, contents) { + this.s1j_1 = info, this.t1j_1 = contents; } - function toList(_this__u8e3s4) { - switch (_this__u8e3s4.length) { - case 0: - return emptyList(); - - case 1: - return listOf_0(_this__u8e3s4[0]); - - default: - return toMutableList(_this__u8e3s4); - } + function Companion_2() {} + function $serializer_1() { + $serializer_instance_1 = this; + var tmp0_serialDesc = new PluginGeneratedSerialDescriptor("com.github.burrunan.hashing.FileDetails", this, 2); + tmp0_serialDesc.j14("fileSize", !1), tmp0_serialDesc.j14("hash", !1), this.x1k_1 = tmp0_serialDesc; } - function withIndex(_this__u8e3s4) { - return new IndexingIterable(withIndex$lambda(_this__u8e3s4)); + function $serializer_getInstance_1() { + return null == $serializer_instance_1 && new $serializer_1, $serializer_instance_1; } - function get_indices(_this__u8e3s4) { - return new IntRange(0, get_lastIndex(_this__u8e3s4)); + function FileDetails(fileSize, hash) { + this.z1k_1 = fileSize, this.a1l_1 = hash; } - function get_indices_0(_this__u8e3s4) { - return new IntRange(0, get_lastIndex_0(_this__u8e3s4)); + function sha1FromModulesFileName(key) { + var lastSlash = lastIndexOf(key, _Char___init__impl__6a9atx(47)), hashStart = lastIndexOf(key, _Char___init__impl__6a9atx(47), lastSlash - 1 | 0) + 1 | 0, tmp$ret$1 = key.substring(hashStart, lastSlash); + return padStart(tmp$ret$1, 40, _Char___init__impl__6a9atx(48)); } - function indexOf(_this__u8e3s4, element) { - if (null == element) { - var inductionVariable = 0, last = _this__u8e3s4.length - 1 | 0; - if (inductionVariable <= last) do { - var index = inductionVariable; - if (inductionVariable = inductionVariable + 1 | 0, null == _this__u8e3s4[index]) return index; - } while (inductionVariable <= last); - } else { - var inductionVariable_0 = 0, last_0 = _this__u8e3s4.length - 1 | 0; - if (inductionVariable_0 <= last_0) do { - var index_0 = inductionVariable_0; - if (inductionVariable_0 = inductionVariable_0 + 1 | 0, equals_0(element, _this__u8e3s4[index_0])) return index_0; - } while (inductionVariable_0 <= last_0); - } - return -1; + function $hashFilesDetailedCOROUTINE$0(paths, algorithm, includeFileName, resultContinuation) { + CoroutineImpl.call(this, resultContinuation), this.c1k_1 = paths, this.d1k_1 = algorithm, + this.e1k_1 = includeFileName; } - function toCollection(_this__u8e3s4, destination) { - for (var indexedObject = _this__u8e3s4, inductionVariable = 0, last = indexedObject.length; inductionVariable < last; ) { - var item = indexedObject[inductionVariable]; - inductionVariable = inductionVariable + 1 | 0, destination.a(item); - } - return destination; + function Diff(newFiles, totalUpdated, totalDeleted, messages, updatedFiles, deletedFiles) { + this.b1l_1 = newFiles, this.c1l_1 = totalUpdated, this.d1l_1 = totalDeleted, this.e1l_1 = messages, + this.f1l_1 = updatedFiles, this.g1l_1 = deletedFiles; } - function contains(_this__u8e3s4, element) { - return indexOf_0(_this__u8e3s4, element) >= 0; + function HashResult(hash, numFiles, totalBytes) { + this.i1l_1 = hash, this.j1l_1 = numFiles, this.k1l_1 = totalBytes; } - function single(_this__u8e3s4) { - var tmp; - switch (_this__u8e3s4.length) { + function $hashFilesCOROUTINE$1(paths, algorithm, includeFileName, resultContinuation) { + CoroutineImpl.call(this, resultContinuation), this.t1l_1 = paths, this.u1l_1 = algorithm, + this.v1l_1 = includeFileName; + } + initMetadataForCompanion(Companion), initMetadataForObject($serializer, "$serializer", VOID, VOID, [ GeneratedSerializer ]), + initMetadataForClass(HashInfo, "HashInfo", VOID, VOID, VOID, VOID, VOID, { + 0: $serializer_getInstance + }), initMetadataForCompanion(Companion_0), initMetadataForObject($serializer_0, "$serializer", VOID, VOID, [ GeneratedSerializer ]), + initMetadataForClass(HashContents, "HashContents", VOID, VOID, VOID, VOID, VOID, { + 0: $serializer_getInstance_0 + }), initMetadataForCompanion(Companion_1), initMetadataForClass(HashDetails, "HashDetails"), + initMetadataForCompanion(Companion_2), initMetadataForObject($serializer_1, "$serializer", VOID, VOID, [ GeneratedSerializer ]), + initMetadataForClass(FileDetails, "FileDetails", VOID, VOID, VOID, VOID, VOID, { + 0: $serializer_getInstance_1 + }), initMetadataForCoroutine($hashFilesDetailedCOROUTINE$0, CoroutineImpl), initMetadataForClass(Diff, "Diff"), + initMetadataForClass(HashResult, "HashResult"), initMetadataForCoroutine($hashFilesCOROUTINE$1, CoroutineImpl), + protoOf(Companion).i1j = function() { + return $serializer_getInstance(); + }, protoOf($serializer).k1j = function(encoder, value) { + var tmp0_desc = this.j1j_1, tmp1_output = encoder.k10(tmp0_desc); + tmp1_output.c11(tmp0_desc, 0, value.l1j_1), tmp1_output.d11(tmp0_desc, 1, value.m1j_1), + tmp1_output.b11(tmp0_desc, 2, value.n1j_1), tmp1_output.l10(tmp0_desc); + }, protoOf($serializer).jy = function(encoder, value) { + return this.k1j(encoder, value instanceof HashInfo ? value : THROW_CCE()); + }, protoOf($serializer).ky = function(decoder) { + var tmp0_desc = this.j1j_1, tmp1_flag = !0, tmp2_index = 0, tmp3_bitMask0 = 0, tmp4_local0 = new Long(0, 0), tmp5_local1 = null, tmp6_local2 = 0, tmp7_input = decoder.k10(tmp0_desc); + if (tmp7_input.s10()) tmp4_local0 = tmp7_input.n10(tmp0_desc, 0), tmp3_bitMask0 |= 1, + tmp5_local1 = tmp7_input.o10(tmp0_desc, 1), tmp3_bitMask0 |= 2, tmp6_local2 = tmp7_input.m10(tmp0_desc, 2), + tmp3_bitMask0 |= 4; else for (;tmp1_flag; ) switch (tmp2_index = tmp7_input.t10(tmp0_desc)) { + case -1: + tmp1_flag = !1; + break; + case 0: - throw NoSuchElementException_init_$Create$_0("Array is empty."); + tmp4_local0 = tmp7_input.n10(tmp0_desc, 0), tmp3_bitMask0 |= 1; + break; case 1: - tmp = _this__u8e3s4[0]; + tmp5_local1 = tmp7_input.o10(tmp0_desc, 1), tmp3_bitMask0 |= 2; + break; + + case 2: + tmp6_local2 = tmp7_input.m10(tmp0_desc, 2), tmp3_bitMask0 |= 4; break; default: - throw IllegalArgumentException_init_$Create$("Array has more than one element."); - } - return tmp; - } - function toMutableList(_this__u8e3s4) { - return ArrayList_init_$Create$_1(asCollection(_this__u8e3s4)); - } - function get_lastIndex(_this__u8e3s4) { - return _this__u8e3s4.length - 1 | 0; - } - function get_lastIndex_0(_this__u8e3s4) { - return _this__u8e3s4.length - 1 | 0; - } - function indexOf_0(_this__u8e3s4, element) { - var inductionVariable = 0, last = _this__u8e3s4.length - 1 | 0; - if (inductionVariable <= last) do { - var index = inductionVariable; - if (inductionVariable = inductionVariable + 1 | 0, equals_0(new Char(element), new Char(_this__u8e3s4[index]))) return index; - } while (inductionVariable <= last); - return -1; - } - function get_lastIndex_1(_this__u8e3s4) { - return _this__u8e3s4.length - 1 | 0; - } - function joinToString(_this__u8e3s4, separator, prefix, postfix, limit, truncated, transform) { - return joinTo(_this__u8e3s4, StringBuilder_init_$Create$_0(), separator, prefix, postfix, limit, truncated, transform).toString(); - } - function joinToString$default(_this__u8e3s4, separator, prefix, postfix, limit, truncated, transform, $mask0, $handler) { - return 0 != (1 & $mask0) && (separator = ", "), 0 != (2 & $mask0) && (prefix = ""), - 0 != (4 & $mask0) && (postfix = ""), 0 != (8 & $mask0) && (limit = -1), 0 != (16 & $mask0) && (truncated = "..."), - 0 != (32 & $mask0) && (transform = null), joinToString(_this__u8e3s4, separator, prefix, postfix, limit, truncated, transform); - } - function contains_0(_this__u8e3s4, element) { - return indexOf(_this__u8e3s4, element) >= 0; - } - function joinTo(_this__u8e3s4, buffer, separator, prefix, postfix, limit, truncated, transform) { - buffer.b(prefix); - var count = 0, indexedObject = _this__u8e3s4, inductionVariable = 0, last = indexedObject.length; - $l$loop: for (;inductionVariable < last; ) { - var element = indexedObject[inductionVariable]; - if (inductionVariable = inductionVariable + 1 | 0, (count = count + 1 | 0) > 1 && buffer.b(separator), - !(limit < 0 || count <= limit)) break $l$loop; - appendElement(buffer, element, transform); - } - return limit >= 0 && count > limit && buffer.b(truncated), buffer.b(postfix), buffer; - } - function withIndex$lambda($this_withIndex) { - return function() { - return arrayIterator($this_withIndex); - }; - } - function toHashSet(_this__u8e3s4) { - return toCollection_0(_this__u8e3s4, HashSet_init_$Create$_0(mapCapacity(collectionSizeOrDefault(_this__u8e3s4, 12)))); - } - function toBooleanArray(_this__u8e3s4) { - for (var result = booleanArray(_this__u8e3s4.c()), index = 0, tmp0_iterator = _this__u8e3s4.d(); tmp0_iterator.e(); ) { - var element = tmp0_iterator.f(), tmp1 = index; - index = tmp1 + 1 | 0, result[tmp1] = element; - } - return result; - } - function joinToString_0(_this__u8e3s4, separator, prefix, postfix, limit, truncated, transform) { - return joinTo_0(_this__u8e3s4, StringBuilder_init_$Create$_0(), separator, prefix, postfix, limit, truncated, transform).toString(); - } - function joinToString$default_0(_this__u8e3s4, separator, prefix, postfix, limit, truncated, transform, $mask0, $handler) { - return 0 != (1 & $mask0) && (separator = ", "), 0 != (2 & $mask0) && (prefix = ""), - 0 != (4 & $mask0) && (postfix = ""), 0 != (8 & $mask0) && (limit = -1), 0 != (16 & $mask0) && (truncated = "..."), - 0 != (32 & $mask0) && (transform = null), joinToString_0(_this__u8e3s4, separator, prefix, postfix, limit, truncated, transform); - } - function getOrNull(_this__u8e3s4, index) { - return index >= 0 && index <= get_lastIndex_2(_this__u8e3s4) ? _this__u8e3s4.g(index) : null; - } - function plus_0(_this__u8e3s4, elements) { - if (isInterface(elements, Collection)) { - var result = ArrayList_init_$Create$_0(_this__u8e3s4.c() + elements.c() | 0); - return result.k(_this__u8e3s4), result.k(elements), result; + throw UnknownFieldException_init_$Create$(tmp2_index); } - var result_0 = ArrayList_init_$Create$_1(_this__u8e3s4); - return addAll(result_0, elements), result_0; - } - function toCollection_0(_this__u8e3s4, destination) { - for (var tmp0_iterator = _this__u8e3s4.d(); tmp0_iterator.e(); ) { - var item = tmp0_iterator.f(); - destination.a(item); + return tmp7_input.l10(tmp0_desc), function(seen0, totalBytes, hash, totalFiles, serializationConstructorMarker, $this) { + return 7 & ~seen0 && throwMissingFieldException(seen0, 7, $serializer_getInstance().j1j_1), + $this.l1j_1 = totalBytes, $this.m1j_1 = hash, $this.n1j_1 = totalFiles, $this; + }(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, 0, objectCreate(protoOf(HashInfo))); + }, protoOf($serializer).iy = function() { + return this.j1j_1; + }, protoOf($serializer).l14 = function() { + return [ LongSerializer_getInstance(), StringSerializer_getInstance(), IntSerializer_getInstance() ]; + }, protoOf(Companion_0).i1j = function() { + return $serializer_getInstance_0(); + }, protoOf($serializer_0).q1j = function(encoder, value) { + var tmp0_desc = this.p1j_1, tmp1_output = encoder.k10(tmp0_desc), tmp2_cached = Companion_getInstance_0().o1j_1; + tmp1_output.e11(tmp0_desc, 0, tmp2_cached[0], value.r1j_1), tmp1_output.l10(tmp0_desc); + }, protoOf($serializer_0).jy = function(encoder, value) { + return this.q1j(encoder, value instanceof HashContents ? value : THROW_CCE()); + }, protoOf($serializer_0).ky = function(decoder) { + var tmp0_desc = this.p1j_1, tmp1_flag = !0, tmp2_index = 0, tmp3_bitMask0 = 0, tmp4_local0 = null, tmp5_input = decoder.k10(tmp0_desc), tmp6_cached = Companion_getInstance_0().o1j_1; + if (tmp5_input.s10()) tmp4_local0 = tmp5_input.p10(tmp0_desc, 0, tmp6_cached[0], tmp4_local0), + tmp3_bitMask0 |= 1; else for (;tmp1_flag; ) switch (tmp2_index = tmp5_input.t10(tmp0_desc)) { + case -1: + tmp1_flag = !1; + break; + + case 0: + tmp4_local0 = tmp5_input.p10(tmp0_desc, 0, tmp6_cached[0], tmp4_local0), tmp3_bitMask0 |= 1; + break; + + default: + throw UnknownFieldException_init_$Create$(tmp2_index); } - return destination; - } - function joinTo_0(_this__u8e3s4, buffer, separator, prefix, postfix, limit, truncated, transform) { - buffer.b(prefix); - var count = 0, tmp0_iterator = _this__u8e3s4.d(); - $l$loop: for (;tmp0_iterator.e(); ) { - var element = tmp0_iterator.f(); - if ((count = count + 1 | 0) > 1 && buffer.b(separator), !(limit < 0 || count <= limit)) break $l$loop; - appendElement(buffer, element, transform); + return tmp5_input.l10(tmp0_desc), function(seen0, files, serializationConstructorMarker, $this) { + return 1 & ~seen0 && throwMissingFieldException(seen0, 1, $serializer_getInstance_0().p1j_1), + $this.r1j_1 = files, $this; + }(tmp3_bitMask0, tmp4_local0, 0, objectCreate(protoOf(HashContents))); + }, protoOf($serializer_0).iy = function() { + return this.p1j_1; + }, protoOf($serializer_0).l14 = function() { + return [ Companion_getInstance_0().o1j_1[0] ]; + }, protoOf($serializer_1).y1k = function(encoder, value) { + var tmp0_desc = this.x1k_1, tmp1_output = encoder.k10(tmp0_desc); + tmp1_output.c11(tmp0_desc, 0, value.z1k_1), tmp1_output.d11(tmp0_desc, 1, value.a1l_1), + tmp1_output.l10(tmp0_desc); + }, protoOf($serializer_1).jy = function(encoder, value) { + return this.y1k(encoder, value instanceof FileDetails ? value : THROW_CCE()); + }, protoOf($serializer_1).ky = function(decoder) { + var tmp0_desc = this.x1k_1, tmp1_flag = !0, tmp2_index = 0, tmp3_bitMask0 = 0, tmp4_local0 = new Long(0, 0), tmp5_local1 = null, tmp6_input = decoder.k10(tmp0_desc); + if (tmp6_input.s10()) tmp4_local0 = tmp6_input.n10(tmp0_desc, 0), tmp3_bitMask0 |= 1, + tmp5_local1 = tmp6_input.o10(tmp0_desc, 1), tmp3_bitMask0 |= 2; else for (;tmp1_flag; ) switch (tmp2_index = tmp6_input.t10(tmp0_desc)) { + case -1: + tmp1_flag = !1; + break; + + case 0: + tmp4_local0 = tmp6_input.n10(tmp0_desc, 0), tmp3_bitMask0 |= 1; + break; + + case 1: + tmp5_local1 = tmp6_input.o10(tmp0_desc, 1), tmp3_bitMask0 |= 2; + break; + + default: + throw UnknownFieldException_init_$Create$(tmp2_index); } - return limit >= 0 && count > limit && buffer.b(truncated), buffer.b(postfix), buffer; - } - function joinTo$default(_this__u8e3s4, buffer, separator, prefix, postfix, limit, truncated, transform, $mask0, $handler) { - return 0 != (2 & $mask0) && (separator = ", "), 0 != (4 & $mask0) && (prefix = ""), - 0 != (8 & $mask0) && (postfix = ""), 0 != (16 & $mask0) && (limit = -1), 0 != (32 & $mask0) && (truncated = "..."), - 0 != (64 & $mask0) && (transform = null), joinTo_0(_this__u8e3s4, buffer, separator, prefix, postfix, limit, truncated, transform); - } - function toSet(_this__u8e3s4) { - if (isInterface(_this__u8e3s4, Collection)) { - var tmp; - switch (_this__u8e3s4.c()) { + return tmp6_input.l10(tmp0_desc), function(seen0, fileSize, hash, serializationConstructorMarker, $this) { + return 3 & ~seen0 && throwMissingFieldException(seen0, 3, $serializer_getInstance_1().x1k_1), + $this.z1k_1 = fileSize, $this.a1l_1 = hash, $this; + }(tmp3_bitMask0, tmp4_local0, tmp5_local1, 0, objectCreate(protoOf(FileDetails))); + }, protoOf($serializer_1).iy = function() { + return this.x1k_1; + }, protoOf($serializer_1).l14 = function() { + return [ LongSerializer_getInstance(), StringSerializer_getInstance() ]; + }, protoOf($hashFilesDetailedCOROUTINE$0).d7 = function() { + var suspendResult = this.x6_1; + $sm: for (;;) try { + switch (this.v6_1) { case 0: - tmp = emptySet(); - break; + this.w6_1 = 12, this.w6_1 = 11; + this.g1k_1 = joinToString(this.c1k_1, "\n"); + if (this.h1k_1 = void 0, this.v6_1 = 1, (suspendResult = awaitPromiseLike(create(this.g1k_1, this.h1k_1), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; case 1: - tmp = setOf(isInterface(_this__u8e3s4, List) ? _this__u8e3s4.g(0) : _this__u8e3s4.d().f()); - break; + this.i1k_1 = suspendResult; + if (this.j1k_1 = this.i1k_1.glob(), this.v6_1 = 2, (suspendResult = awaitPromiseLike(this.j1k_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; - default: - tmp = toCollection_0(_this__u8e3s4, LinkedHashSet_init_$Create$_0(mapCapacity(_this__u8e3s4.c()))); + case 2: + this.k1k_1 = suspendResult, sort(this.k1k_1), this.l1k_1 = node_process_process_dcpv5o.cwd(), + this.m1k_1 = get_normalizedPath("~"), this.n1k_1 = new Long(0, 0); + this.o1k_1 = LinkedHashMap_init_$Create$(), this.p1k_1 = createHash(this.d1k_1), + this.q1k_1 = arrayIterator(this.k1k_1), this.v6_1 = 3; + continue $sm; + + case 3: + if (!this.q1k_1.i()) { + this.v6_1 = 10; + continue $sm; + } + if (this.r1k_1 = this.q1k_1.j(), this.v6_1 = 4, (suspendResult = stat(this.r1k_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 4: + if (this.s1k_1 = suspendResult, this.s1k_1.isDirectory()) { + this.v6_1 = 3; + continue $sm; + } + this.v6_1 = 5; + continue $sm; + + case 5: + this.t1k_1 = numberToLong(this.s1k_1.size), this.n1k_1 = this.n1k_1.z1(this.t1k_1); + var tmp_5; + if (startsWith(this.r1k_1, this.l1k_1)) { + var this_0 = this.r1k_1, startIndex = this.l1k_1.length; + tmp_5 = "ws://" + this_0.substring(startIndex); + } else if (startsWith(this.r1k_1, this.m1k_1)) { + var this_1 = this.r1k_1, startIndex_0 = this.m1k_1.length; + tmp_5 = "~" + this_1.substring(startIndex_0); + } else tmp_5 = this.r1k_1; + if (this.u1k_1 = replace(tmp_5, _Char___init__impl__6a9atx(92), _Char___init__impl__6a9atx(47)), + "sha1" === this.d1k_1 && startsWith(this.u1k_1, "~/.gradle/caches/modules-2/files-2.1/")) { + this.v1k_1 = sha1FromModulesFileName(this.u1k_1), this.v6_1 = 9; + continue $sm; + } + if (startsWith(this.u1k_1, "~/.gradle/caches/build-cache-1/")) { + this.v1k_1 = substringAfterLast(this.u1k_1, _Char___init__impl__6a9atx(47)), this.v6_1 = 9; + continue $sm; + } + if (this.w1k_1 = createHash(this.d1k_1), this.w6_1 = 8, this.v6_1 = 6, (suspendResult = pipeAndWait(createReadStream(this.r1k_1), this.w1k_1, !0, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 6: + this.w6_1 = 11, this.v6_1 = 7; + continue $sm; + + case 7: + this.w6_1 = 11; + this.v1k_1 = this.w1k_1.digest("hex"), this.v6_1 = 9; + continue $sm; + + case 8: + if (this.w6_1 = 11, this.y6_1 instanceof Error) { + var e = this.y6_1; + warning("Unable to hash " + this.r1k_1 + ", will ignore the file: " + stackTraceToString(e)), + this.v6_1 = 3; + continue $sm; + } + throw this.y6_1; + + case 9: + var digest = this.v1k_1, this_2 = this.o1k_1, key = this.u1k_1, value = new FileDetails(this.t1k_1, digest); + this_2.n1(key, value), this.e1k_1 && this.p1k_1.update(this.u1k_1), this.p1k_1.update(digest), + this.v6_1 = 3; + continue $sm; + + case 10: + var tmp_9 = this.n1k_1; + this.f1k_1 = new HashDetails(new HashInfo(tmp_9, this.p1k_1.digest("hex"), this.o1k_1.k()), new HashContents(this.o1k_1)), + this.w6_1 = 12, this.v6_1 = 13; + continue $sm; + + case 11: + if (this.w6_1 = 12, this.y6_1 instanceof Error) { + var e_0 = this.y6_1; + throw new ActionFailedException("Unable to hash " + joinToString(this.c1k_1, ", ") + ": " + e_0.toString(), e_0); + } + throw this.y6_1; + + case 12: + throw this.y6_1; + + case 13: + return this.w6_1 = 12, this.f1k_1; } - return tmp; - } - return optimizeReadOnlySet(toCollection_0(_this__u8e3s4, LinkedHashSet_init_$Create$())); - } - function asSequence(_this__u8e3s4) { - return new _no_name_provided__qut3iv(_this__u8e3s4); - } - function plus_1(_this__u8e3s4, element) { - var result = ArrayList_init_$Create$_0(_this__u8e3s4.c() + 1 | 0); - return result.k(_this__u8e3s4), result.a(element), result; - } - function withIndex_0(_this__u8e3s4) { - return new IndexingIterable(withIndex$lambda_0(_this__u8e3s4)); - } - function firstOrNull(_this__u8e3s4) { - return _this__u8e3s4.l() ? null : _this__u8e3s4.g(0); - } - function firstOrNull_0(_this__u8e3s4) { - if (isInterface(_this__u8e3s4, List)) return _this__u8e3s4.l() ? null : _this__u8e3s4.g(0); - var iterator = _this__u8e3s4.d(); - return iterator.e() ? iterator.f() : null; - } - function zip(_this__u8e3s4, other) { - for (var first = _this__u8e3s4.d(), second = other.d(), tmp0_minOf = collectionSizeOrDefault(_this__u8e3s4, 10), tmp1_minOf = collectionSizeOrDefault(other, 10), list = ArrayList_init_$Create$_0(Math.min(tmp0_minOf, tmp1_minOf)); first.e() && second.e(); ) { - var tmp$ret$1; - tmp$ret$1 = to(first.f(), second.f()), list.a(tmp$ret$1); - } - return list; - } - function toList_0(_this__u8e3s4) { - if (isInterface(_this__u8e3s4, Collection)) { - var tmp; - switch (_this__u8e3s4.c()) { + } catch ($p) { + var e_1 = $p; + if (12 === this.w6_1) throw e_1; + this.v6_1 = this.w6_1, this.y6_1 = e_1; + } + }, protoOf(Diff).h1l = function() { + var tmp_1, tmp_0 = this.f1l_1.q() ? "" : this.f1l_1.k() + " updates (" + formatBytes(this.c1l_1) + ")"; + this.g1l_1.q() ? tmp_1 = "" : tmp_1 = (this.f1l_1.q() ? "" : ", ") + (this.g1l_1.k() + " deletes (") + formatBytes(this.d1l_1) + ")"; + return tmp_0 + tmp_1 + "\n " + joinToString_0(this.e1l_1, "\n "); + }, protoOf(HashResult).toString = function() { + return "HashResult(hash=" + this.i1l_1 + ", numFiles=" + this.j1l_1 + ", totalBytes=" + this.k1l_1 + ")"; + }, protoOf(HashResult).hashCode = function() { + var result = getStringHashCode(this.i1l_1); + return result = imul(result, 31) + this.j1l_1 | 0, result = imul(result, 31) + this.k1l_1 | 0; + }, protoOf(HashResult).equals = function(other) { + if (this === other) return !0; + if (!(other instanceof HashResult)) return !1; + var tmp0_other_with_cast = other instanceof HashResult ? other : THROW_CCE(); + return this.i1l_1 === tmp0_other_with_cast.i1l_1 && (this.j1l_1 === tmp0_other_with_cast.j1l_1 && this.k1l_1 === tmp0_other_with_cast.k1l_1); + }, protoOf($hashFilesCOROUTINE$1).d7 = function() { + var suspendResult = this.x6_1; + $sm: for (;;) try { + switch (this.v6_1) { case 0: - tmp = emptyList(); - break; + this.w6_1 = 11, this.w6_1 = 10; + this.x1l_1 = joinToString(this.t1l_1, "\n"); + if (this.y1l_1 = void 0, this.v6_1 = 1, (suspendResult = awaitPromiseLike(create(this.x1l_1, this.y1l_1), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; case 1: - tmp = listOf_0(isInterface(_this__u8e3s4, List) ? _this__u8e3s4.g(0) : _this__u8e3s4.d().f()); - break; + this.z1l_1 = suspendResult; + if (this.a1m_1 = this.z1l_1.glob(), this.v6_1 = 2, (suspendResult = awaitPromiseLike(this.a1m_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; - default: - tmp = toMutableList_0(_this__u8e3s4); + case 2: + this.b1m_1 = suspendResult, sort(this.b1m_1), this.c1m_1 = node_process_process_dcpv5o.cwd(), + this.d1m_1 = get_normalizedPath("~"), this.e1m_1 = createHash(this.u1l_1), this.f1m_1 = 0, + this.g1m_1 = 0, this.h1m_1 = arrayIterator(this.b1m_1), this.v6_1 = 3; + continue $sm; + + case 3: + if (!this.h1m_1.i()) { + this.v6_1 = 9; + continue $sm; + } + if (this.i1m_1 = this.h1m_1.j(), this.v6_1 = 4, (suspendResult = stat(this.i1m_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 4: + if (this.j1m_1 = suspendResult, this.j1m_1.isDirectory()) { + this.v6_1 = 3; + continue $sm; + } + this.v6_1 = 5; + continue $sm; + + case 5: + var tmp_4; + if (startsWith(this.i1m_1, this.c1m_1)) { + var this_0 = this.i1m_1, startIndex = this.c1m_1.length; + tmp_4 = "ws://" + this_0.substring(startIndex); + } else if (startsWith(this.i1m_1, this.d1m_1)) { + var this_1 = this.i1m_1, startIndex_0 = this.d1m_1.length; + tmp_4 = "~" + this_1.substring(startIndex_0); + } else tmp_4 = this.i1m_1; + if (this.k1m_1 = replace(tmp_4, _Char___init__impl__6a9atx(92), _Char___init__impl__6a9atx(47)), + this.g1m_1 = this.g1m_1 + 1 | 0, this.f1m_1 = this.f1m_1 + numberToInt(this.j1m_1.size) | 0, + this.w6_1 = 8, this.v6_1 = 6, (suspendResult = pipeAndWait(createReadStream(this.i1m_1), this.e1m_1, !1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 6: + this.w6_1 = 10, this.v6_1 = 7; + continue $sm; + + case 7: + this.w6_1 = 10, this.v1l_1 && this.e1m_1.update(this.k1m_1, "utf8"), this.v6_1 = 3; + continue $sm; + + case 8: + if (this.w6_1 = 10, this.y6_1 instanceof Error) { + var e = this.y6_1; + warning("Unable to hash " + this.i1m_1 + ", will ignore the file: " + stackTraceToString(e)), + this.v6_1 = 3; + continue $sm; + } + throw this.y6_1; + + case 9: + this.e1m_1.end(); + this.w1l_1 = new HashResult(this.e1m_1.digest("hex"), this.g1m_1, this.f1m_1), this.w6_1 = 11, + this.v6_1 = 12; + continue $sm; + + case 10: + if (this.w6_1 = 11, this.y6_1 instanceof Error) { + var e_0 = this.y6_1; + throw new ActionFailedException("Unable to hash " + joinToString(this.t1l_1, ", ") + ": " + e_0.toString(), e_0); + } + throw this.y6_1; + + case 11: + throw this.y6_1; + + case 12: + return this.w6_1 = 11, this.w1l_1; } - return tmp; + } catch ($p) { + var e_1 = $p; + if (11 === this.w6_1) throw e_1; + this.v6_1 = this.w6_1, this.y6_1 = e_1; + } + }, protoOf($serializer).m14 = typeParametersSerializers, protoOf($serializer_0).m14 = typeParametersSerializers, + protoOf($serializer_1).m14 = typeParametersSerializers, Companion_instance = new Companion, + new Companion_1, new Companion_2, _.$_$ = _.$_$ || {}, _.$_$.a = HashContents, _.$_$.b = function(oldContents, newContents, maxUpdatesToPrint) { + maxUpdatesToPrint = maxUpdatesToPrint === VOID ? 50 : maxUpdatesToPrint; + for (var messages = ArrayList_init_$Create$(), updatedFiles = ArrayList_init_$Create$(), deletedFiles = ArrayList_init_$Create$(), newFiles = 0, totalUpdated = new Long(0, 0), totalDeleted = new Long(0, 0), _iterator__ex2g4s = newContents.r1j_1.m1().h(); _iterator__ex2g4s.i(); ) { + var tmp, _destruct__k2r9zo = _iterator__ex2g4s.j(), file = _destruct__k2r9zo.f1(), hash = _destruct__k2r9zo.g1(), oldHash = oldContents.r1j_1.j1(file); + if ((null == oldHash ? null : oldHash.a1l_1) !== hash.a1l_1) if (updatedFiles.e(file), + !(messages.k() >= maxUpdatesToPrint)) null == oldHash ? (newFiles = newFiles + 1 | 0, + totalUpdated = totalUpdated.z1(hash.z1k_1), tmp = "N " + hash.z1k_1.toString() + " " + file + " " + hash.a1l_1) : (totalUpdated = totalUpdated.z1(hash.z1k_1), + tmp = "U " + hash.z1k_1.toString() + " " + file + " " + oldHash.z1k_1.toString() + " " + oldHash.a1l_1 + " => " + hash.a1l_1), + messages.e(tmp); + } + if ((oldContents.r1j_1.k() + newFiles | 0) !== newContents.r1j_1.k()) for (var _iterator__ex2g4s_0 = oldContents.r1j_1.m1().h(); _iterator__ex2g4s_0.i(); ) { + var _destruct__k2r9zo_0 = _iterator__ex2g4s_0.j(), file_0 = _destruct__k2r9zo_0.f1(), hash_0 = _destruct__k2r9zo_0.g1(), this_0 = newContents.r1j_1; + (isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).h1(file_0) || (deletedFiles.e(file_0), + totalDeleted = totalDeleted.z1(hash_0.z1k_1), messages.k() < maxUpdatesToPrint && messages.e("D " + file_0 + " " + toString(hash_0))); } - return optimizeReadOnlyList(toMutableList_1(_this__u8e3s4)); + return new Diff(newFiles, totalUpdated, totalDeleted, messages, updatedFiles, deletedFiles); + }, _.$_$.c = function(paths, algorithm, includeFileName, $completion) { + var tmp = new $hashFilesDetailedCOROUTINE$0(paths, algorithm = algorithm === VOID ? "sha1" : algorithm, includeFileName = includeFileName === VOID || includeFileName, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); + }, _.$_$.d = function(paths, algorithm, includeFileName, $completion) { + var tmp = new $hashFilesCOROUTINE$1(paths, algorithm = algorithm === VOID ? "sha1" : algorithm, includeFileName = includeFileName === VOID || includeFileName, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); + }, _.$_$.e = Companion_getInstance_0, _.$_$.f = Companion_instance; + }(module.exports, __webpack_require__(3675), __webpack_require__(1708), __webpack_require__(7598), __webpack_require__(3024), __webpack_require__(4613), __webpack_require__(7036), __webpack_require__(9539), __webpack_require__(6077), __webpack_require__(3138), __webpack_require__(4350), __webpack_require__(7361), __webpack_require__(3838)); + }, + 3161: (module, __unused_webpack_exports, __webpack_require__) => { + !function(_, $module$_actions_core_fx0i1v, $module$node_fs_4svwsv, kotlin_kotlin, kotlin_gradle_cache_action_wrappers_actions_toolkit, kotlin_gradle_cache_action_wrappers_octokit_webhooks, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_gradle_cache_action_wrappers_actions_cache, kotlin_gradle_cache_action_wrappers_nodejs, kotlin_gradle_cache_action_hashing, kotlin_gradle_cache_action_wrappers_js, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core, kotlin_org_jetbrains_kotlin_wrappers_kotlin_node, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json) { + "use strict"; + var Companion_instance_1, $serializer_instance, Companion_instance_2, $serializer_instance_0, Companion_instance_3, info = $module$_actions_core_fx0i1v.info, imul = Math.imul, startGroup = $module$_actions_core_fx0i1v.startGroup, endGroup = $module$_actions_core_fx0i1v.endGroup, debug = $module$_actions_core_fx0i1v.debug, isDebug = $module$_actions_core_fx0i1v.isDebug, warning = $module$_actions_core_fx0i1v.warning, mkdirSync = $module$node_fs_4svwsv.mkdirSync, existsSync = $module$node_fs_4svwsv.existsSync, getState = $module$_actions_core_fx0i1v.getState, saveState = $module$_actions_core_fx0i1v.saveState, protoOf = kotlin_kotlin.$_$.t5, initMetadataForCompanion = kotlin_kotlin.$_$.f5, CoroutineImpl = kotlin_kotlin.$_$.i4, Unit_instance = kotlin_kotlin.$_$.w1, VOID = kotlin_kotlin.$_$.c, exec = kotlin_gradle_cache_action_wrappers_actions_toolkit.$_$.g, get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.t3, THROW_CCE = kotlin_kotlin.$_$.r7, isCharSequence = kotlin_kotlin.$_$.k5, trim = kotlin_kotlin.$_$.i7, toString = kotlin_kotlin.$_$.v5, initMetadataForLambda = kotlin_kotlin.$_$.i5, ArrayList_init_$Create$ = kotlin_kotlin.$_$.h, ActionFailedException = kotlin_gradle_cache_action_wrappers_actions_toolkit.$_$.c, roundToInt = kotlin_kotlin.$_$.x5, initMetadataForCoroutine = kotlin_kotlin.$_$.g5, initMetadataForClass = kotlin_kotlin.$_$.e5, getStringHashCode = kotlin_kotlin.$_$.c5, getBooleanHashCode = kotlin_kotlin.$_$.a5, hashCode = kotlin_kotlin.$_$.d5, equals = kotlin_kotlin.$_$.x4, WorkflowDispatch = kotlin_gradle_cache_action_wrappers_octokit_webhooks.$_$.f, Schedule = kotlin_gradle_cache_action_wrappers_octokit_webhooks.$_$.e, noWhenBranchMatchedException = kotlin_kotlin.$_$.b8, ActionsEnvironment_getInstance = kotlin_gradle_cache_action_wrappers_actions_toolkit.$_$.i, Other = kotlin_gradle_cache_action_wrappers_octokit_webhooks.$_$.c, removePrefix = kotlin_kotlin.$_$.q6, BranchPush = kotlin_gradle_cache_action_wrappers_octokit_webhooks.$_$.b, PullRequest = kotlin_gradle_cache_action_wrappers_octokit_webhooks.$_$.d, CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d, isInterface = kotlin_kotlin.$_$.l5, launch = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e, supervisorScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b, Unknown_getInstance = kotlin_gradle_cache_action_wrappers_actions_cache.$_$.f, exists = kotlin_gradle_cache_action_wrappers_nodejs.$_$.a, restoreAndLog = kotlin_gradle_cache_action_wrappers_actions_cache.$_$.c, Exact = kotlin_gradle_cache_action_wrappers_actions_cache.$_$.a, startsWith = kotlin_kotlin.$_$.u6, Partial = kotlin_gradle_cache_action_wrappers_actions_cache.$_$.b, copyToArray = kotlin_kotlin.$_$.k2, hashFilesDetailed = kotlin_gradle_cache_action_hashing.$_$.c, abs = kotlin_kotlin.$_$.w5, Long = kotlin_kotlin.$_$.p7, formatBytes = kotlin_gradle_cache_action_wrappers_js.$_$.a, saveAndLog = kotlin_gradle_cache_action_wrappers_actions_cache.$_$.d, emptyList = kotlin_kotlin.$_$.l2, Companion_instance = kotlin_gradle_cache_action_hashing.$_$.f, Companion_getInstance = kotlin_gradle_cache_action_hashing.$_$.e, plus = kotlin_kotlin.$_$.f3, listOf = kotlin_kotlin.$_$.b3, collectionSizeOrDefault = kotlin_kotlin.$_$.f2, ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.g, None_getInstance = kotlin_gradle_cache_action_wrappers_actions_cache.$_$.e, joinToString = kotlin_kotlin.$_$.u2, withIndex = kotlin_kotlin.$_$.q3, removeFiles = kotlin_gradle_cache_action_wrappers_actions_toolkit.$_$.h, checkIndexOverflow = kotlin_kotlin.$_$.e2, mapCapacity = kotlin_kotlin.$_$.c3, coerceAtLeast = kotlin_kotlin.$_$.z5, LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.n, firstOrNull = kotlin_kotlin.$_$.o2, firstOrNull_0 = kotlin_kotlin.$_$.p2, LinkedHashMap_init_$Create$_0 = kotlin_kotlin.$_$.o, LinkedHashSet_init_$Create$ = kotlin_kotlin.$_$.q, zip = kotlin_kotlin.$_$.r3, KtMap = kotlin_kotlin.$_$.b2, addAll = kotlin_kotlin.$_$.d2, HashContents = kotlin_gradle_cache_action_hashing.$_$.a, diff = kotlin_gradle_cache_action_hashing.$_$.b, toList = kotlin_kotlin.$_$.m3, listOf_0 = kotlin_kotlin.$_$.a3, ArrayListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y, StringSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k, PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f1, UnknownFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b, typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a1, GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b1, initMetadataForObject = kotlin_kotlin.$_$.j5, throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h1, objectCreate = kotlin_kotlin.$_$.s5, Regex_init_$Create$ = kotlin_kotlin.$_$.u, get_normalizedPath = kotlin_gradle_cache_action_wrappers_nodejs.$_$.b, rename = kotlin_org_jetbrains_kotlin_wrappers_kotlin_node.$_$.d, Default_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.a, readFile = kotlin_org_jetbrains_kotlin_wrappers_kotlin_node.$_$.c, SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n1, _Char___init__impl__6a9atx = kotlin_kotlin.$_$.l1, replace = kotlin_kotlin.$_$.t6, writeFile = kotlin_org_jetbrains_kotlin_wrappers_kotlin_node.$_$.g, charArrayOf = kotlin_kotlin.$_$.r4, trimStart = kotlin_kotlin.$_$.h7, plus_0 = kotlin_kotlin.$_$.e3, hashFiles = kotlin_gradle_cache_action_hashing.$_$.d, isBlank = kotlin_kotlin.$_$.m6, toInt = kotlin_kotlin.$_$.c7; + function Companion() { + this.n1t_1 = "defaultbranch"; } - function toMutableList_0(_this__u8e3s4) { - return ArrayList_init_$Create$_1(_this__u8e3s4); + function GradleCacheAction$treeId$slambda(resultContinuation) { + CoroutineImpl.call(this, resultContinuation); } - function toMutableList_1(_this__u8e3s4) { - return isInterface(_this__u8e3s4, Collection) ? toMutableList_0(_this__u8e3s4) : toCollection_0(_this__u8e3s4, ArrayList_init_$Create$()); + function $executeCOROUTINE$0(_this__u8e3s4, stage, resultContinuation) { + CoroutineImpl.call(this, resultContinuation), this.h1u_1 = _this__u8e3s4, this.i1u_1 = stage; } - function minOrNull(_this__u8e3s4) { - var iterator = _this__u8e3s4.d(); - if (!iterator.e()) return null; - for (var min = iterator.f(); iterator.e(); ) { - var e = iterator.f(); - compareTo(min, e) > 0 && (min = e); - } - return min; + function GradleCacheAction(trigger, params, gradleDistribution) { + this.v1u_1 = trigger, this.w1u_1 = params, this.x1u_1 = gradleDistribution; + var i, l; + this.y1u_1 = suspendingStateVariable("tree_id", (i = new GradleCacheAction$treeId$slambda(null), + (l = function($completion) { + return i.w1t($completion); + }).$arity = 0, l)); } - function single_0(_this__u8e3s4) { - if (isInterface(_this__u8e3s4, List)) return single_1(_this__u8e3s4); - var iterator = _this__u8e3s4.d(); - if (!iterator.e()) throw NoSuchElementException_init_$Create$_0("Collection is empty."); - var single = iterator.f(); - if (iterator.e()) throw IllegalArgumentException_init_$Create$("Collection has more than one element."); - return single; + function Parameters(jobId, path, debug, generatedGradleJars, localBuildCache, gradleDependenciesCache, gradleDependenciesCacheKey, mavenDependenciesCache, mavenLocalIgnorePaths, concurrent, readOnly) { + this.z1u_1 = jobId, this.a1v_1 = path, this.b1v_1 = debug, this.c1v_1 = generatedGradleJars, + this.d1v_1 = localBuildCache, this.e1v_1 = gradleDependenciesCache, this.f1v_1 = gradleDependenciesCacheKey, + this.g1v_1 = mavenDependenciesCache, this.h1v_1 = mavenLocalIgnorePaths, this.i1v_1 = concurrent, + this.j1v_1 = readOnly; } - function single_1(_this__u8e3s4) { + function get_cacheKey(_this__u8e3s4) { var tmp; - switch (_this__u8e3s4.c()) { - case 0: - throw NoSuchElementException_init_$Create$_0("List is empty."); - - case 1: - tmp = _this__u8e3s4.g(0); - break; - - default: - throw IllegalArgumentException_init_$Create$("List has more than one element."); + if (_this__u8e3s4 instanceof PullRequest) tmp = "PR" + toString(_this__u8e3s4.w1s_1.pull_request.number); else if (_this__u8e3s4 instanceof BranchPush) { + var ref = removePrefix(_this__u8e3s4.z1s_1.ref, "refs/heads/"); + tmp = ref === removePrefix(_this__u8e3s4.z1s_1.repository.default_branch, "refs/heads/") ? "defaultbranch" : ref; + } else { + _this__u8e3s4 instanceof Schedule || _this__u8e3s4 instanceof WorkflowDispatch ? tmp = "defaultbranch" : _this__u8e3s4 instanceof Other ? tmp = _this__u8e3s4.d1t_1 + "-" + ActionsEnvironment_getInstance().iu() + "-" + ActionsEnvironment_getInstance().mu() : noWhenBranchMatchedException(); } return tmp; } - function last(_this__u8e3s4) { - if (_this__u8e3s4.l()) throw NoSuchElementException_init_$Create$_0("List is empty."); - return _this__u8e3s4.g(get_lastIndex_2(_this__u8e3s4)); - } - function singleOrNull(_this__u8e3s4) { - return 1 === _this__u8e3s4.c() ? _this__u8e3s4.g(0) : null; - } - function lastOrNull(_this__u8e3s4) { - return _this__u8e3s4.l() ? null : _this__u8e3s4.g(_this__u8e3s4.c() - 1 | 0); - } - function _no_name_provided__qut3iv($this_asSequence) { - this.m_1 = $this_asSequence; + function CompositeCache$save$slambda$slambda($cache, resultContinuation) { + this.z1v_1 = $cache, CoroutineImpl.call(this, resultContinuation); } - function withIndex$lambda_0($this_withIndex) { - return function() { - return $this_withIndex.d(); + function CompositeCache$save$slambda$slambda_0($cache, resultContinuation) { + var i = new CompositeCache$save$slambda$slambda($cache, resultContinuation), l = function($this$launch, $completion) { + return i.gw($this$launch, $completion); }; + return l.$arity = 1, l; } - function until(_this__u8e3s4, to) { - return to <= IntCompanionObject_getInstance().MIN_VALUE ? Companion_getInstance_2().n_1 : numberRangeToNumber(_this__u8e3s4, to - 1 | 0); - } - function step(_this__u8e3s4, step) { - return checkStepIsPositive(step > 0, step), Companion_getInstance_3().r(_this__u8e3s4.o_1, _this__u8e3s4.p_1, _this__u8e3s4.q_1 > 0 ? step : 0 | -step); + function CompositeCache$restore$slambda$slambda($cache, resultContinuation) { + this.j1w_1 = $cache, CoroutineImpl.call(this, resultContinuation); } - function coerceAtLeast(_this__u8e3s4, minimumValue) { - return _this__u8e3s4 < minimumValue ? minimumValue : _this__u8e3s4; + function CompositeCache$restore$slambda$slambda_0($cache, resultContinuation) { + var i = new CompositeCache$restore$slambda$slambda($cache, resultContinuation), l = function($this$launch, $completion) { + return i.gw($this$launch, $completion); + }; + return l.$arity = 1, l; } - function coerceAtMost(_this__u8e3s4, maximumValue) { - return _this__u8e3s4 > maximumValue ? maximumValue : _this__u8e3s4; + function CompositeCache$save$slambda(this$0, resultContinuation) { + this.t1w_1 = this$0, CoroutineImpl.call(this, resultContinuation); } - function downTo(_this__u8e3s4, to) { - return Companion_getInstance_3().r(_this__u8e3s4, to, -1); + function CompositeCache$save$slambda_0(this$0, resultContinuation) { + var i = new CompositeCache$save$slambda(this$0, resultContinuation), l = function($this$supervisorScope, $completion) { + return i.gw($this$supervisorScope, $completion); + }; + return l.$arity = 1, l; } - function coerceIn(_this__u8e3s4, minimumValue, maximumValue) { - if (minimumValue > maximumValue) throw IllegalArgumentException_init_$Create$("Cannot coerce value to an empty range: maximum " + maximumValue + " is less than minimum " + minimumValue + "."); - return _this__u8e3s4 < minimumValue ? minimumValue : _this__u8e3s4 > maximumValue ? maximumValue : _this__u8e3s4; + function CompositeCache$restore$slambda(this$0, resultContinuation) { + this.d1x_1 = this$0, CoroutineImpl.call(this, resultContinuation); } - function take(_this__u8e3s4, n) { - if (!(n >= 0)) throw IllegalArgumentException_init_$Create$(toString_2("Requested element count " + n + " is less than zero.")); - return 0 === n ? emptySequence() : isInterface(_this__u8e3s4, DropTakeSequence) ? _this__u8e3s4.s(n) : new TakeSequence(_this__u8e3s4, n); + function CompositeCache$restore$slambda_0(this$0, resultContinuation) { + var i = new CompositeCache$restore$slambda(this$0, resultContinuation), l = function($this$supervisorScope, $completion) { + return i.gw($this$supervisorScope, $completion); + }; + return l.$arity = 1, l; } - function map(_this__u8e3s4, transform) { - return new TransformingSequence(_this__u8e3s4, transform); + function $saveCOROUTINE$1(_this__u8e3s4, resultContinuation) { + CoroutineImpl.call(this, resultContinuation), this.n1x_1 = _this__u8e3s4; } - function toList_1(_this__u8e3s4) { - return optimizeReadOnlyList(toMutableList_2(_this__u8e3s4)); + function $restoreCOROUTINE$2(_this__u8e3s4, resultContinuation) { + CoroutineImpl.call(this, resultContinuation), this.b1y_1 = _this__u8e3s4; } - function toMutableList_2(_this__u8e3s4) { - return toCollection_1(_this__u8e3s4, ArrayList_init_$Create$()); + function CompositeCache(name, caches, concurrent) { + this.l1v_1 = name, this.m1v_1 = caches, this.n1v_1 = concurrent; } - function toCollection_1(_this__u8e3s4, destination) { - for (var tmp0_iterator = _this__u8e3s4.d(); tmp0_iterator.e(); ) { - var item = tmp0_iterator.f(); - destination.a(item); - } - return destination; + function _get_restoredKey__gcgyt4($this) { + return $this.r1y_1.ik() ? $this.h1y_1 : $this.t1y_1.ik() >= 0 ? $this.i1y_1.p($this.t1y_1.ik()) : null; } - function plus_2(_this__u8e3s4, elements) { - var tmp0_safe_receiver = collectionSizeOrNull(elements), tmp1_elvis_lhs = null == tmp0_safe_receiver ? null : _this__u8e3s4.c() + tmp0_safe_receiver | 0, result = LinkedHashSet_init_$Create$_0(mapCapacity(null == tmp1_elvis_lhs ? imul(_this__u8e3s4.c(), 2) : tmp1_elvis_lhs)); - return result.k(_this__u8e3s4), addAll(result, elements), result; + function $restoreCOROUTINE$3(_this__u8e3s4, resultContinuation) { + CoroutineImpl.call(this, resultContinuation), this.d1z_1 = _this__u8e3s4; } - function drop(_this__u8e3s4, n) { - if (!(n >= 0)) throw IllegalArgumentException_init_$Create$(toString_2("Requested character count " + n + " is less than zero.")); - var tmp1_substring = coerceAtMost(n, _this__u8e3s4.length); - return _this__u8e3s4.substring(tmp1_substring); + function $saveCOROUTINE$4(_this__u8e3s4, resultContinuation) { + CoroutineImpl.call(this, resultContinuation), this.y1z_1 = _this__u8e3s4; } - function dropLast(_this__u8e3s4, n) { - if (!(n >= 0)) throw IllegalArgumentException_init_$Create$(toString_2("Requested character count " + n + " is less than zero.")); - return take_0(_this__u8e3s4, coerceAtLeast(_this__u8e3s4.length - n | 0, 0)); + function DefaultCache(name, primaryKey, restoreKeys, paths, readOnlyMessage, stateKey, skipRestoreIfPathExists) { + restoreKeys = restoreKeys === VOID ? emptyList() : restoreKeys, readOnlyMessage = readOnlyMessage === VOID ? null : readOnlyMessage, + stateKey = stateKey === VOID ? "" : stateKey, skipRestoreIfPathExists = skipRestoreIfPathExists === VOID ? null : skipRestoreIfPathExists, + this.h1y_1 = primaryKey, this.i1y_1 = restoreKeys, this.j1y_1 = paths, this.k1y_1 = readOnlyMessage, + this.l1y_1 = skipRestoreIfPathExists, this.m1y_1 = name, this.n1y_1 = "1-", this.o1y_1 = new MetadataFile(name + "-info", Companion_instance.i1j()), + this.p1y_1 = new MetadataFile(name + "-contents", Companion_getInstance().i1j()), + this.q1y_1 = plus(plus(this.j1y_1, this.o1y_1.n1z_1), this.p1y_1.n1z_1), this.r1y_1 = toBoolean(stateVariable(name + "_" + stateKey + "_exact")), + this.s1y_1 = toBoolean(stateVariable(name + "_" + stateKey + "_skip")), this.t1y_1 = function(_this__u8e3s4, default_0) { + var tmp = ($default = default_0, function(it) { + return isBlank(it) ? $default : toInt(it); + }); + var $default; + return transform(_this__u8e3s4, tmp, toInt$lambda_0); + }(stateVariable(name + "_" + stateKey + "_key"), -1), this.u1y_1 = null; } - function take_0(_this__u8e3s4, n) { - if (!(n >= 0)) throw IllegalArgumentException_init_$Create$(toString_2("Requested character count " + n + " is less than zero.")); - var tmp1_substring = coerceAtMost(n, _this__u8e3s4.length); - return _this__u8e3s4.substring(0, tmp1_substring); + function toCache(_this__u8e3s4, $this, stateKey) { + var tmp, tmp13_name = $this.g20_1, tmp14_primaryKey = _this__u8e3s4.q20_1; + if (_this__u8e3s4.r20_1.q()) { + for (var this_0 = $this.k20_1, destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10)), tmp0_iterator = this_0.h(); tmp0_iterator.i(); ) { + var item = tmp0_iterator.j(), tmp$ret$2 = $this.m20_1 + "-" + item; + destination.e(tmp$ret$2); + } + tmp = destination; + } else tmp = emptyList(); + var tmp15_restoreKeys = tmp, this_1 = _this__u8e3s4.r20_1; + return new DefaultCache(tmp13_name, tmp14_primaryKey, tmp15_restoreKeys, this_1.q() ? $this.l20_1 : this_1, VOID, stateKey); } - function AbstractCollection$toString$lambda(this$0) { - return function(it) { - return it === this$0 ? "(this Collection)" : toString_1(it); - }; + function saveSingleLayerCache($this, $completion) { + var tmp = new $saveSingleLayerCacheCOROUTINE$7($this, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); } - function AbstractCollection() {} - function IteratorImpl($outer) { - this.w_1 = $outer, this.v_1 = 0; + function LayeredCache$restore$lambda(it) { + return it.r20_1.q() ? it.q20_1 : it.q20_1 + " (" + it.r20_1.k() + " files)"; } - function Companion() { - Companion_instance = this; + function $restoreCOROUTINE$5(_this__u8e3s4, resultContinuation) { + CoroutineImpl.call(this, resultContinuation), this.n21_1 = _this__u8e3s4; } - function Companion_getInstance() { - return null == Companion_instance && new Companion, Companion_instance; + function $saveCOROUTINE$6(_this__u8e3s4, resultContinuation) { + CoroutineImpl.call(this, resultContinuation), this.i22_1 = _this__u8e3s4; } - function AbstractList() { - Companion_getInstance(), AbstractCollection.call(this); + function $saveSingleLayerCacheCOROUTINE$7(_this__u8e3s4, resultContinuation) { + CoroutineImpl.call(this, resultContinuation), this.a21_1 = _this__u8e3s4; } - function AbstractMap$keys$1$iterator$1($entryIterator) { - this.d1_1 = $entryIterator; + function LayeredCache(name, baseline, maxLayers, primaryKey, restoreKeys, paths) { + maxLayers = maxLayers === VOID ? 5 : maxLayers, restoreKeys = restoreKeys === VOID ? emptyList() : restoreKeys, + this.g20_1 = name, this.h20_1 = baseline, this.i20_1 = maxLayers, this.j20_1 = primaryKey, + this.k20_1 = restoreKeys, this.l20_1 = paths, this.m20_1 = "1", this.n20_1 = new MetadataFile("layer-" + this.g20_1, Companion_getInstance_1().i1j()), + this.o20_1 = toBoolean(stateVariable(this.g20_1 + "_exact")); + for (var tmp_1 = this.m20_1 + "-index-" + this.g20_1, tmp_2 = this.m20_1 + "-index-" + this.j20_1, this_0 = this.k20_1, destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10)), tmp0_iterator = this_0.h(); tmp0_iterator.i(); ) { + var item = tmp0_iterator.j(), tmp$ret$1 = this.m20_1 + "-index-" + item; + destination.e(tmp$ret$1); + } + this.p20_1 = new DefaultCache(tmp_1, tmp_2, destination, listOf_0(this.n20_1.n1z_1)); } - function AbstractMap$values$1$iterator$1($entryIterator) { - this.f1_1 = $entryIterator; + function Companion_0() { + Companion_instance_1 = this; + this.g23_1 = [ new ArrayListSerializer($serializer_getInstance_0()), new ArrayListSerializer(StringSerializer_getInstance()) ]; } - function toString($this, o) { - return o === $this ? "(this Map)" : toString_1(o); + function Companion_getInstance_1() { + return null == Companion_instance_1 && new Companion_0, Companion_instance_1; } - function implFindEntry($this, key) { - var tmp$ret$1; - $l$block: { - for (var tmp0_iterator = $this.h1().d(); tmp0_iterator.e(); ) { - var element = tmp0_iterator.f(); - if (equals_0(element.e1(), key)) { - tmp$ret$1 = element; - break $l$block; - } - } - tmp$ret$1 = null; - } - return tmp$ret$1; + function $serializer() { + $serializer_instance = this; + var tmp0_serialDesc = new PluginGeneratedSerialDescriptor("com.github.burrunan.gradle.cache.CacheLayers", this, 2); + tmp0_serialDesc.j14("layers", !1), tmp0_serialDesc.j14("deletedFiles", !1), this.h23_1 = tmp0_serialDesc; } - function Companion_0() { - Companion_instance_0 = this; + function $serializer_getInstance() { + return null == $serializer_instance && new $serializer, $serializer_instance; } - function Companion_getInstance_0() { - return null == Companion_instance_0 && new Companion_0, Companion_instance_0; + function CacheLayers(layers, deletedFiles) { + Companion_getInstance_1(), this.y21_1 = layers, this.z21_1 = deletedFiles; } - function AbstractMap$keys$1(this$0) { - this.l1_1 = this$0, AbstractSet.call(this); + function Companion_1() { + Companion_instance_2 = this; + this.j23_1 = [ null, new ArrayListSerializer(StringSerializer_getInstance()) ]; } - function AbstractMap$toString$lambda(this$0) { - return function(it) { - return this$0.q1(it); - }; + function Companion_getInstance_2() { + return null == Companion_instance_2 && new Companion_1, Companion_instance_2; } - function AbstractMap$values$1(this$0) { - this.r1_1 = this$0, AbstractCollection.call(this); + function $serializer_0() { + $serializer_instance_0 = this; + var tmp0_serialDesc = new PluginGeneratedSerialDescriptor("com.github.burrunan.gradle.cache.CacheLayer", this, 2); + tmp0_serialDesc.j14("primaryKey", !1), tmp0_serialDesc.j14("paths", !1), this.k23_1 = tmp0_serialDesc; } - function AbstractMap() { - Companion_getInstance_0(), this.n1_1 = null, this.o1_1 = null; + function $serializer_getInstance_0() { + return null == $serializer_instance_0 && new $serializer_0, $serializer_instance_0; } - function Companion_1() { - Companion_instance_1 = this; + function CacheLayer(primaryKey, paths) { + Companion_getInstance_2(), this.q20_1 = primaryKey, this.r20_1 = paths; } - function Companion_getInstance_1() { - return null == Companion_instance_1 && new Companion_1, Companion_instance_1; + function Companion_2() { + Companion_instance_3 = this, this.m23_1 = "~/.gradle-cache-action", this.n23_1 = Regex_init_$Create$("[!@#$%^&*:;'\"{}\\r\\n\\[\\]\\\\]"); + var path = get_normalizedPath("~/.gradle-cache-action"); + if (!existsSync(path)) try { + mkdirSync(path); + } catch ($p) { + if (!($p instanceof Error)) throw $p; + } } - function AbstractSet() { - Companion_getInstance_1(), AbstractCollection.call(this); + function $restoreCOROUTINE$8(_this__u8e3s4, key, resultContinuation) { + CoroutineImpl.call(this, resultContinuation), this.w23_1 = _this__u8e3s4, this.x23_1 = key; } - function emptyList() { - return EmptyList_getInstance(); + function $decodeCOROUTINE$9(_this__u8e3s4, warnOnMissing, resultContinuation) { + CoroutineImpl.call(this, resultContinuation), this.h24_1 = _this__u8e3s4, this.i24_1 = warnOnMissing; } - function get_lastIndex_2(_this__u8e3s4) { - return _this__u8e3s4.c() - 1 | 0; + function MetadataFile(name, serializer, extension) { + null == Companion_instance_3 && new Companion_2, extension = extension === VOID ? ".json" : extension, + this.l1z_1 = serializer, this.m1z_1 = extension, this.n1z_1 = "~/.gradle-cache-action/" + name + this.m1z_1, + this.o1z_1 = get_normalizedPath(this.n1z_1); } - function get_indices_1(_this__u8e3s4) { - return numberRangeToNumber(0, _this__u8e3s4.c() - 1 | 0); + function gradleDependenciesCache(trigger, path, gradleDependenciesCacheKey, $completion) { + for (var tmp = listOf([ "~/.gradle/caches/modules-2/*", "!~/.gradle/caches/modules-2/gc.properties", "!~/.gradle/caches/modules-2/modules-2.lock" ]), tmp_0 = listOf([ path + "/**/*.gradle", path + "/**/*.gradle.kts", path + "/**/gradle/dependency-locking/**", path + "/**/*.properties", path + "/**/gradle/libs.versions.toml" ]), destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(gradleDependenciesCacheKey, 10)), tmp0_iterator = gradleDependenciesCacheKey.h(); tmp0_iterator.i(); ) { + var item = tmp0_iterator.j(), tmp_1 = (startsWith(item, "!") ? "!" : "") + path + "/**/", tmp$ret$0 = toString(trim(isCharSequence(item) ? item : THROW_CCE())), tmp$ret$1 = tmp_1 + trimStart(tmp$ret$0, charArrayOf([ _Char___init__impl__6a9atx(33) ])); + destination.e(tmp$ret$1); + } + return dependenciesCache("gradle", trigger, tmp, plus_0(plus_0(tmp_0, destination), listOf_0("!" + path + "/**/.gradle/")), $completion); } - function EmptyList() { - EmptyList_instance = this, this.a2_1 = new Long(-1478467534, -1720727600); + function mavenDependenciesCache(trigger, path, mavenLocalIgnorePaths, $completion) { + for (var tmp = listOf_0("~/.m2/repository"), destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(mavenLocalIgnorePaths, 10)), tmp0_iterator = mavenLocalIgnorePaths.h(); tmp0_iterator.i(); ) { + var tmp$ret$0 = "!~/.m2/repository/" + tmp0_iterator.j(); + destination.e(tmp$ret$0); + } + return dependenciesCache("maven", trigger, plus_0(tmp, destination), listOf_0(path + "/**/pom.xml"), $completion); } - function EmptyList_getInstance() { - return null == EmptyList_instance && new EmptyList, EmptyList_instance; + function dependenciesCache(name, trigger, cacheLocation, pathDependencies, $completion) { + var tmp = new $dependenciesCacheCOROUTINE$10(name, trigger, cacheLocation, pathDependencies, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); } - function EmptyIterator() { - EmptyIterator_instance = this; + function dependenciesCache$slambda($pathDependencies, resultContinuation) { + this.n25_1 = $pathDependencies, CoroutineImpl.call(this, resultContinuation); } - function EmptyIterator_getInstance() { - return null == EmptyIterator_instance && new EmptyIterator, EmptyIterator_instance; + function dependenciesCache$slambda_0($pathDependencies, resultContinuation) { + var i = new dependenciesCache$slambda($pathDependencies, resultContinuation), l = function($completion) { + return i.w1t($completion); + }; + return l.$arity = 0, l; } - function arrayListOf(elements) { - return 0 === elements.length ? ArrayList_init_$Create$() : ArrayList_init_$Create$_1(new ArrayAsCollection(elements, !0)); + function $dependenciesCacheCOROUTINE$10(name, trigger, cacheLocation, pathDependencies, resultContinuation) { + CoroutineImpl.call(this, resultContinuation), this.u24_1 = name, this.v24_1 = trigger, + this.w24_1 = cacheLocation, this.x24_1 = pathDependencies; } - function asCollection(_this__u8e3s4) { - return new ArrayAsCollection(_this__u8e3s4, !1); + function localBuildCache(jobId, trigger, gradleVersion, treeId) { + for (var pkPrefix = get_cacheKey(trigger), elements = [ "defaultbranch", "master", "main" ], restoreKeys = (trigger instanceof PullRequest ? [ pkPrefix, removePrefix(trigger.w1s_1.pull_request.base.ref, "refs/heads/") ] : trigger instanceof BranchPush ? [ pkPrefix ] : []).concat(elements), prefix = "gradle-build-cache-" + jobId + "-gradle-" + gradleVersion, tmp_0 = prefix + "-defaultbranch", tmp_1 = prefix + "-" + pkPrefix + "-" + treeId, destination = ArrayList_init_$Create$_0(restoreKeys.length), inductionVariable = 0, last = restoreKeys.length; inductionVariable < last; ) { + var item = restoreKeys[inductionVariable]; + inductionVariable = inductionVariable + 1 | 0; + var tmp$ret$14 = prefix + "-" + item; + destination.e(tmp$ret$14); + } + return new LayeredCache("local-build-cache", tmp_0, VOID, tmp_1, destination, listOf([ "~/.gradle/caches/build-cache-1/*", "!~/.gradle/caches/build-cache-1/gc.properties", "!~/.gradle/caches/build-cache-1/build-cache-1.lock" ])); } - function ArrayAsCollection(values, isVarargs) { - this.c2_1 = values, this.d2_1 = isVarargs; + function stateVariable(name, default_0) { + return new DefaultStateVariable(name, default_0 = default_0 === VOID ? stateVariable$lambda : default_0); } - function throwIndexOverflow() { - throw ArithmeticException_init_$Create$("Index overflow has happened."); + function DefaultStateVariable(name, default_0) { + BaseStateVariable.call(this, name), this.q25_1 = default_0; } - function listOf(elements) { - return elements.length > 0 ? asList(elements) : emptyList(); + function BaseStateVariable(name) { + this.r25_1 = name, this.s25_1 = null; } - function optimizeReadOnlyList(_this__u8e3s4) { - switch (_this__u8e3s4.c()) { - case 0: - return emptyList(); - - case 1: - return listOf_0(_this__u8e3s4.g(0)); - - default: - return _this__u8e3s4; - } + function suspendingStateVariable(name, default_0) { + return new DefaultSuspendingStateVariable(name, default_0); } - function IndexedValue(index, value) { - this.g2_1 = index, this.h2_1 = value; + function $getCOROUTINE$11(_this__u8e3s4, resultContinuation) { + CoroutineImpl.call(this, resultContinuation), this.b26_1 = _this__u8e3s4; } - function collectionSizeOrDefault(_this__u8e3s4, default_0) { - return isInterface(_this__u8e3s4, Collection) ? _this__u8e3s4.c() : default_0; + function DefaultSuspendingStateVariable(name, default_0) { + BaseStateVariable.call(this, name), this.i26_1 = default_0; } - function IndexingIterable(iteratorFactory) { - this.k2_1 = iteratorFactory; + function toBoolean(_this__u8e3s4) { + return transform(_this__u8e3s4, toBoolean$lambda, toBoolean$lambda_0); } - function collectionSizeOrNull(_this__u8e3s4) { - return isInterface(_this__u8e3s4, Collection) ? _this__u8e3s4.c() : null; + function transform(_this__u8e3s4, decode, encode) { + return new transform$1(decode, _this__u8e3s4, encode); } - function IndexingIterator(iterator) { - this.l2_1 = iterator, this.m2_1 = 0; + function stateVariable$lambda() { + return ""; } - function getOrImplicitDefault(_this__u8e3s4, key) { - if (isInterface(_this__u8e3s4, MapWithDefault)) return _this__u8e3s4.n2(key); - var value = _this__u8e3s4.v1(key); - if (null == value && !_this__u8e3s4.p1(key)) throw NoSuchElementException_init_$Create$_0("Key " + key + " is missing in the map."); - return null == value || isObject(value) ? value : THROW_CCE(); + function toBoolean$lambda(it) { + return "Y" === it; } - function MapWithDefault() {} - function emptyMap() { - var tmp = EmptyMap_getInstance(); - return isInterface(tmp, Map) ? tmp : THROW_CCE(); + function toBoolean$lambda_0(it) { + return it ? "Y" : "N"; } - function getValue(_this__u8e3s4, key) { - return getOrImplicitDefault(_this__u8e3s4, key); + function toInt$lambda_0(it) { + return it.toString(); } - function toMap(_this__u8e3s4) { - if (isInterface(_this__u8e3s4, Collection)) { - var tmp; - switch (_this__u8e3s4.c()) { + function transform$1($decode, $this_transform, $encode) { + this.k26_1 = $decode, this.l26_1 = $this_transform, this.m26_1 = $encode; + } + initMetadataForCompanion(Companion), initMetadataForLambda(GradleCacheAction$treeId$slambda, CoroutineImpl, VOID, [ 0 ]), + initMetadataForCoroutine($executeCOROUTINE$0, CoroutineImpl), initMetadataForClass(GradleCacheAction, "GradleCacheAction", VOID, VOID, VOID, [ 1 ]), + initMetadataForClass(Parameters, "Parameters"), initMetadataForLambda(CompositeCache$save$slambda$slambda, CoroutineImpl, VOID, [ 1 ]), + initMetadataForLambda(CompositeCache$restore$slambda$slambda, CoroutineImpl, VOID, [ 1 ]), + initMetadataForLambda(CompositeCache$save$slambda, CoroutineImpl, VOID, [ 1 ]), + initMetadataForLambda(CompositeCache$restore$slambda, CoroutineImpl, VOID, [ 1 ]), + initMetadataForCoroutine($saveCOROUTINE$1, CoroutineImpl), initMetadataForCoroutine($restoreCOROUTINE$2, CoroutineImpl), + initMetadataForClass(CompositeCache, "CompositeCache", VOID, VOID, VOID, [ 0 ]), + initMetadataForCoroutine($restoreCOROUTINE$3, CoroutineImpl), initMetadataForCoroutine($saveCOROUTINE$4, CoroutineImpl), + initMetadataForClass(DefaultCache, "DefaultCache", VOID, VOID, VOID, [ 0 ]), initMetadataForCoroutine($restoreCOROUTINE$5, CoroutineImpl), + initMetadataForCoroutine($saveCOROUTINE$6, CoroutineImpl), initMetadataForCoroutine($saveSingleLayerCacheCOROUTINE$7, CoroutineImpl), + initMetadataForClass(LayeredCache, "LayeredCache", VOID, VOID, VOID, [ 0 ]), initMetadataForCompanion(Companion_0), + initMetadataForObject($serializer, "$serializer", VOID, VOID, [ GeneratedSerializer ]), + initMetadataForClass(CacheLayers, "CacheLayers", VOID, VOID, VOID, VOID, VOID, { + 0: $serializer_getInstance + }), initMetadataForCompanion(Companion_1), initMetadataForObject($serializer_0, "$serializer", VOID, VOID, [ GeneratedSerializer ]), + initMetadataForClass(CacheLayer, "CacheLayer", VOID, VOID, VOID, VOID, VOID, { + 0: $serializer_getInstance_0 + }), initMetadataForCompanion(Companion_2), initMetadataForCoroutine($restoreCOROUTINE$8, CoroutineImpl), + initMetadataForCoroutine($decodeCOROUTINE$9, CoroutineImpl), initMetadataForClass(MetadataFile, "MetadataFile", VOID, VOID, VOID, [ 1 ]), + initMetadataForLambda(dependenciesCache$slambda, CoroutineImpl, VOID, [ 0 ]), initMetadataForCoroutine($dependenciesCacheCOROUTINE$10, CoroutineImpl), + initMetadataForClass(BaseStateVariable, "BaseStateVariable"), initMetadataForClass(DefaultStateVariable, "DefaultStateVariable", VOID, BaseStateVariable), + initMetadataForCoroutine($getCOROUTINE$11, CoroutineImpl), initMetadataForClass(DefaultSuspendingStateVariable, "DefaultSuspendingStateVariable", VOID, BaseStateVariable, VOID, [ 0 ]), + initMetadataForClass(transform$1), protoOf(GradleCacheAction$treeId$slambda).w1t = function($completion) { + var tmp = this.x1t($completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); + }, protoOf(GradleCacheAction$treeId$slambda).y1t = function($completion) { + return this.w1t($completion); + }, protoOf(GradleCacheAction$treeId$slambda).d7 = function() { + var suspendResult = this.x6_1; + $sm: for (;;) try { + switch (this.v6_1) { case 0: - tmp = emptyMap(); - break; + if (this.w6_1 = 2, this.v6_1 = 1, (suspendResult = exec("git", [ "log", "-1", "--quiet", "--format=%T" ], !0, VOID, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 1: + var this_0 = suspendResult.pu_1; + return toString(trim(isCharSequence(this_0) ? this_0 : THROW_CCE())); + + case 2: + throw this.y6_1; + } + } catch ($p) { + var e = $p; + if (2 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; + } + }, protoOf(GradleCacheAction$treeId$slambda).x1t = function(completion) { + return new GradleCacheAction$treeId$slambda(completion); + }, protoOf($executeCOROUTINE$0).d7 = function() { + var gradleVersion, suspendResult = this.x6_1; + $sm: for (;;) try { + switch (this.v6_1) { + case 0: + this.w6_1 = 11, this.j1u_1 = this.h1u_1.x1u_1.l1m_1; + if (this.k1u_1 = ArrayList_init_$Create$(), this.h1u_1.w1u_1.c1v_1 && this.k1u_1.e(new DefaultCache("gradle-generated-jars", "generated-gradle-jars-gradle-" + (gradleVersion = this.j1u_1), VOID, listOf([ "~/.gradle/caches/" + gradleVersion + "/generated-gradle-jars/*", "!~/.gradle/caches/" + gradleVersion + "/generated-gradle-jars/*.lock" ]), VOID, VOID, "~/.gradle/caches/" + gradleVersion + "/generated-gradle-jars")), + this.h1u_1.w1u_1.d1v_1) { + if (this.l1u_1 = this.h1u_1.w1u_1.z1u_1, this.m1u_1 = this.h1u_1.v1u_1, this.v6_1 = 1, + (suspendResult = this.h1u_1.y1u_1.k1v(this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + } + this.v6_1 = 2; + continue $sm; + + case 1: + this.n1u_1 = suspendResult, this.o1u_1 = localBuildCache(this.l1u_1, this.m1u_1, this.j1u_1, this.n1u_1), + this.k1u_1.e(this.o1u_1), this.v6_1 = 2; + continue $sm; + + case 2: + if (this.h1u_1.w1u_1.e1v_1) { + if (this.v6_1 = 3, (suspendResult = gradleDependenciesCache(this.h1u_1.v1u_1, this.h1u_1.w1u_1.a1v_1, this.h1u_1.w1u_1.f1v_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + } + this.v6_1 = 4; + continue $sm; + + case 3: + this.p1u_1 = suspendResult, this.k1u_1.e(this.p1u_1), this.v6_1 = 4; + continue $sm; + + case 4: + if (this.h1u_1.w1u_1.g1v_1) { + if (this.v6_1 = 5, (suspendResult = mavenDependenciesCache(this.h1u_1.v1u_1, this.h1u_1.w1u_1.a1v_1, this.h1u_1.w1u_1.h1v_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + } + this.v6_1 = 6; + continue $sm; + + case 5: + this.q1u_1 = suspendResult, this.k1u_1.e(this.q1u_1), this.v6_1 = 6; + continue $sm; + + case 6: + if (this.r1u_1 = new CompositeCache("all-caches", this.k1u_1, this.h1u_1.w1u_1.i1v_1), + this.s1u_1 = this.i1u_1, this.t1u_1 = this.s1u_1.r1_1, 1 === this.t1u_1) { + if (this.u1u_1 = Date.now(), this.v6_1 = 9, (suspendResult = this.r1u_1.p1v(this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + } + if (2 === this.t1u_1) { + if (this.h1u_1.w1u_1.j1v_1) { + info("read-only == true, so will skip cache upload"), this.v6_1 = 8; + continue $sm; + } + if (this.v6_1 = 7, (suspendResult = this.r1u_1.o1v(this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + } + throw new ActionFailedException("Cache action should be called in PRE or POST stages only. Current stage is " + this.i1u_1.toString()); + + case 7: + this.v6_1 = 8; + continue $sm; + + case 8: + this.v6_1 = 10; + continue $sm; + + case 9: + var elapsed = Date.now() - this.u1u_1; + info("Cache restore took " + roundToInt(elapsed / 1e3) + " seconds"), this.v6_1 = 10; + continue $sm; + + case 10: + return Unit_instance; + + case 11: + throw this.y6_1; + } + } catch ($p) { + var e = $p; + if (11 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; + } + }, protoOf(GradleCacheAction).q1v = function(stage, $completion) { + var tmp = new $executeCOROUTINE$0(this, stage, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); + }, protoOf(Parameters).toString = function() { + return "Parameters(jobId=" + this.z1u_1 + ", path=" + this.a1v_1 + ", debug=" + this.b1v_1 + ", generatedGradleJars=" + this.c1v_1 + ", localBuildCache=" + this.d1v_1 + ", gradleDependenciesCache=" + this.e1v_1 + ", gradleDependenciesCacheKey=" + toString(this.f1v_1) + ", mavenDependenciesCache=" + this.g1v_1 + ", mavenLocalIgnorePaths=" + toString(this.h1v_1) + ", concurrent=" + this.i1v_1 + ", readOnly=" + this.j1v_1 + ")"; + }, protoOf(Parameters).hashCode = function() { + var result = getStringHashCode(this.z1u_1); + return result = imul(result, 31) + getStringHashCode(this.a1v_1) | 0, result = imul(result, 31) + getBooleanHashCode(this.b1v_1) | 0, + result = imul(result, 31) + getBooleanHashCode(this.c1v_1) | 0, result = imul(result, 31) + getBooleanHashCode(this.d1v_1) | 0, + result = imul(result, 31) + getBooleanHashCode(this.e1v_1) | 0, result = imul(result, 31) + hashCode(this.f1v_1) | 0, + result = imul(result, 31) + getBooleanHashCode(this.g1v_1) | 0, result = imul(result, 31) + hashCode(this.h1v_1) | 0, + result = imul(result, 31) + getBooleanHashCode(this.i1v_1) | 0, result = imul(result, 31) + getBooleanHashCode(this.j1v_1) | 0; + }, protoOf(Parameters).equals = function(other) { + if (this === other) return !0; + if (!(other instanceof Parameters)) return !1; + var tmp0_other_with_cast = other instanceof Parameters ? other : THROW_CCE(); + return this.z1u_1 === tmp0_other_with_cast.z1u_1 && (this.a1v_1 === tmp0_other_with_cast.a1v_1 && (this.b1v_1 === tmp0_other_with_cast.b1v_1 && (this.c1v_1 === tmp0_other_with_cast.c1v_1 && (this.d1v_1 === tmp0_other_with_cast.d1v_1 && (this.e1v_1 === tmp0_other_with_cast.e1v_1 && (!!equals(this.f1v_1, tmp0_other_with_cast.f1v_1) && (this.g1v_1 === tmp0_other_with_cast.g1v_1 && (!!equals(this.h1v_1, tmp0_other_with_cast.h1v_1) && (this.i1v_1 === tmp0_other_with_cast.i1v_1 && this.j1v_1 === tmp0_other_with_cast.j1v_1))))))))); + }, protoOf(CompositeCache$save$slambda$slambda).gw = function($this$launch, $completion) { + var tmp = this.hw($this$launch, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); + }, protoOf(CompositeCache$save$slambda$slambda).c8 = function(p1, $completion) { + return this.gw(null != p1 && isInterface(p1, CoroutineScope) ? p1 : THROW_CCE(), $completion); + }, protoOf(CompositeCache$save$slambda$slambda).d7 = function() { + var suspendResult = this.x6_1; + $sm: for (;;) try { + switch (this.v6_1) { + case 0: + if (this.w6_1 = 2, this.v6_1 = 1, (suspendResult = this.z1v_1.o1v(this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 1: + return Unit_instance; + + case 2: + throw this.y6_1; + } + } catch ($p) { + var e = $p; + if (2 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; + } + }, protoOf(CompositeCache$save$slambda$slambda).hw = function($this$launch, completion) { + var i = new CompositeCache$save$slambda$slambda(this.z1v_1, completion); + return i.a1w_1 = $this$launch, i; + }, protoOf(CompositeCache$restore$slambda$slambda).gw = function($this$launch, $completion) { + var tmp = this.hw($this$launch, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); + }, protoOf(CompositeCache$restore$slambda$slambda).c8 = function(p1, $completion) { + return this.gw(null != p1 && isInterface(p1, CoroutineScope) ? p1 : THROW_CCE(), $completion); + }, protoOf(CompositeCache$restore$slambda$slambda).d7 = function() { + var suspendResult = this.x6_1; + $sm: for (;;) try { + switch (this.v6_1) { + case 0: + if (this.w6_1 = 2, this.v6_1 = 1, (suspendResult = this.j1w_1.p1v(this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 1: + return Unit_instance; + + case 2: + throw this.y6_1; + } + } catch ($p) { + var e = $p; + if (2 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; + } + }, protoOf(CompositeCache$restore$slambda$slambda).hw = function($this$launch, completion) { + var i = new CompositeCache$restore$slambda$slambda(this.j1w_1, completion); + return i.k1w_1 = $this$launch, i; + }, protoOf(CompositeCache$save$slambda).gw = function($this$supervisorScope, $completion) { + var tmp = this.hw($this$supervisorScope, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); + }, protoOf(CompositeCache$save$slambda).c8 = function(p1, $completion) { + return this.gw(null != p1 && isInterface(p1, CoroutineScope) ? p1 : THROW_CCE(), $completion); + }, protoOf(CompositeCache$save$slambda).d7 = function() { + for (this.x6_1; ;) try { + var tmp = this.v6_1; + if (0 === tmp) { + this.w6_1 = 1; + for (var _iterator__ex2g4s = this.t1w_1.m1v_1.h(); _iterator__ex2g4s.i(); ) { + var cache = _iterator__ex2g4s.j(); + launch(this.u1w_1, VOID, VOID, CompositeCache$save$slambda$slambda_0(cache, null)); + } + return Unit_instance; + } + if (1 === tmp) throw this.y6_1; + } catch ($p) { + throw $p; + } + }, protoOf(CompositeCache$save$slambda).hw = function($this$supervisorScope, completion) { + var i = new CompositeCache$save$slambda(this.t1w_1, completion); + return i.u1w_1 = $this$supervisorScope, i; + }, protoOf(CompositeCache$restore$slambda).gw = function($this$supervisorScope, $completion) { + var tmp = this.hw($this$supervisorScope, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); + }, protoOf(CompositeCache$restore$slambda).c8 = function(p1, $completion) { + return this.gw(null != p1 && isInterface(p1, CoroutineScope) ? p1 : THROW_CCE(), $completion); + }, protoOf(CompositeCache$restore$slambda).d7 = function() { + for (this.x6_1; ;) try { + var tmp = this.v6_1; + if (0 === tmp) { + this.w6_1 = 1; + for (var _iterator__ex2g4s = this.d1x_1.m1v_1.h(); _iterator__ex2g4s.i(); ) { + var cache = _iterator__ex2g4s.j(); + launch(this.e1x_1, VOID, VOID, CompositeCache$restore$slambda$slambda_0(cache, null)); + } + return Unit_instance; + } + if (1 === tmp) throw this.y6_1; + } catch ($p) { + throw $p; + } + }, protoOf(CompositeCache$restore$slambda).hw = function($this$supervisorScope, completion) { + var i = new CompositeCache$restore$slambda(this.d1x_1, completion); + return i.e1x_1 = $this$supervisorScope, i; + }, protoOf($saveCOROUTINE$1).d7 = function() { + var suspendResult = this.x6_1; + $sm: for (;;) try { + switch (this.v6_1) { + case 0: + if (this.w6_1 = 13, this.n1x_1.n1v_1) { + this.v6_1 = 1; + continue $sm; + } + this.o1x_1 = this.n1x_1.m1v_1.h(), this.v6_1 = 3; + continue $sm; + + case 1: + if (this.v6_1 = 2, (suspendResult = supervisorScope(CompositeCache$save$slambda_0(this.n1x_1, null), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 2: + case 12: + return Unit_instance; + + case 3: + if (!this.o1x_1.i()) { + this.v6_1 = 12; + continue $sm; + } + this.p1x_1 = this.o1x_1.j(), this.v6_1 = 4; + continue $sm; + + case 4: + this.r1x_1 = "Save " + this.p1x_1.s1(), startGroup(this.r1x_1), this.v6_1 = 5; + continue $sm; + + case 5: + this.v6_1 = 6; + continue $sm; + + case 6: + if (this.w6_1 = 11, this.v6_1 = 7, (suspendResult = this.p1x_1.o1v(this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 7: + this.s1x_1 = suspendResult, this.w6_1 = 13, this.v6_1 = 8; + continue $sm; + + case 8: + this.w6_1 = 13; + endGroup(), this.q1x_1 = Unit_instance, this.v6_1 = 10; + continue $sm; + + case 9: + this.w6_1 = 13, endGroup(), this.v6_1 = 10; + continue $sm; + + case 10: + this.v6_1 = 3; + continue $sm; + + case 11: + this.w6_1 = 13; + var t = this.y6_1; + throw endGroup(), t; + + case 13: + throw this.y6_1; + } + } catch ($p) { + var e = $p; + if (13 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; + } + }, protoOf($restoreCOROUTINE$2).d7 = function() { + var suspendResult = this.x6_1; + $sm: for (;;) try { + switch (this.v6_1) { + case 0: + if (this.w6_1 = 13, this.b1y_1.n1v_1) { + this.v6_1 = 1; + continue $sm; + } + this.c1y_1 = this.b1y_1.m1v_1.h(), this.v6_1 = 3; + continue $sm; + + case 1: + if (this.v6_1 = 2, (suspendResult = supervisorScope(CompositeCache$restore$slambda_0(this.b1y_1, null), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 2: + case 12: + return Unknown_getInstance(); + + case 3: + if (!this.c1y_1.i()) { + this.v6_1 = 12; + continue $sm; + } + this.d1y_1 = this.c1y_1.j(), this.v6_1 = 4; + continue $sm; + + case 4: + this.f1y_1 = "Restore " + this.d1y_1.s1(), startGroup(this.f1y_1), this.v6_1 = 5; + continue $sm; + + case 5: + this.v6_1 = 6; + continue $sm; + + case 6: + if (this.w6_1 = 11, this.v6_1 = 7, (suspendResult = this.d1y_1.p1v(this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 7: + this.g1y_1 = suspendResult, this.w6_1 = 13, this.v6_1 = 8; + continue $sm; + + case 8: + var tmp_2 = this.g1y_1; + this.w6_1 = 13, endGroup(), this.e1y_1 = tmp_2, this.v6_1 = 10; + continue $sm; + + case 9: + this.w6_1 = 13, endGroup(), this.v6_1 = 10; + continue $sm; + + case 10: + this.v6_1 = 3; + continue $sm; + + case 11: + this.w6_1 = 13; + var t = this.y6_1; + throw endGroup(), t; + + case 13: + throw this.y6_1; + } + } catch ($p) { + var e = $p; + if (13 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; + } + }, protoOf(CompositeCache).s1 = function() { + return this.l1v_1; + }, protoOf(CompositeCache).o1v = function($completion) { + var tmp = new $saveCOROUTINE$1(this, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); + }, protoOf(CompositeCache).p1v = function($completion) { + var tmp = new $restoreCOROUTINE$2(this, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); + }, protoOf($restoreCOROUTINE$3).d7 = function() { + var suspendResult = this.x6_1; + $sm: for (;;) try { + switch (this.v6_1) { + case 0: + this.w6_1 = 5; + var tmp8_safe_receiver = this.d1z_1.l1y_1; + if (null == tmp8_safe_receiver || exists(tmp8_safe_receiver) && (isDebug() && debug(this.d1z_1.m1y_1 + ": " + tmp8_safe_receiver + " already exists, so the cache restore and upload will be skipped"), + this.d1z_1.s1y_1.k1z(!0)), isDebug() && debug(this.d1z_1.m1y_1 + ": restoring " + this.d1z_1.h1y_1 + ", " + toString(this.d1z_1.i1y_1) + ", " + toString(this.d1z_1.q1y_1)), + this.v6_1 = 1, (suspendResult = restoreAndLog(this.d1z_1.q1y_1, this.d1z_1.h1y_1, this.d1z_1.i1y_1, this.d1z_1.n1y_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 1: + this.e1z_1 = suspendResult; + this.f1z_1 = this.e1z_1; + var tmp_2, tmp_1 = this.f1z_1; + if (this.d1z_1.r1y_1.k1z(tmp_1 instanceof Exact), this.f1z_1 instanceof Partial) { + var tmp$ret$0; + l$ret$1: do { + for (var index = 0, tmp0_iterator = this.d1z_1.i1y_1.h(); tmp0_iterator.i(); ) { + var item = tmp0_iterator.j(); + if (startsWith(this.f1z_1.hy_1, item)) { + tmp$ret$0 = index; + break l$ret$1; + } + index = index + 1 | 0; + } + tmp$ret$0 = -1; + } while (0); + tmp_2 = tmp$ret$0; + } else tmp_2 = -1; + if (this.d1z_1.t1y_1.k1z(tmp_2), isDebug() && debug(this.d1z_1.m1y_1 + ": restore type " + toString(this.f1z_1) + ", " + this.d1z_1.r1y_1.ik() + ", " + this.d1z_1.t1y_1.ik()), + this.g1z_1 = _get_restoredKey__gcgyt4(this.d1z_1), null == this.g1z_1) { + this.h1z_1 = null, this.v6_1 = 4; + continue $sm; + } + this.i1z_1 = this.g1z_1; + if (this.j1z_1 = this.i1z_1, this.v6_1 = 2, (suspendResult = this.d1z_1.o1y_1.p1z(this.j1z_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; - case 1: - tmp = mapOf(isInterface(_this__u8e3s4, List) ? _this__u8e3s4.g(0) : _this__u8e3s4.d().f()); - break; + case 2: + if (this.v6_1 = 3, (suspendResult = this.d1z_1.p1y_1.p1z(this.j1z_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; - default: - tmp = toMap_0(_this__u8e3s4, LinkedHashMap_init_$Create$_1(mapCapacity(_this__u8e3s4.c()))); - } - return tmp; - } - return optimizeReadOnlyMap(toMap_0(_this__u8e3s4, LinkedHashMap_init_$Create$())); - } - function EmptyMap() { - EmptyMap_instance = this, this.o2_1 = new Long(-888910638, 1920087921); - } - function EmptyMap_getInstance() { - return null == EmptyMap_instance && new EmptyMap, EmptyMap_instance; - } - function toMap_0(_this__u8e3s4, destination) { - return putAll_0(destination, _this__u8e3s4), destination; - } - function optimizeReadOnlyMap(_this__u8e3s4) { - var tmp; - if (0 === _this__u8e3s4.c()) tmp = emptyMap(); else tmp = _this__u8e3s4; - return tmp; - } - function putAll(_this__u8e3s4, pairs) { - for (var indexedObject = pairs, inductionVariable = 0, last = indexedObject.length; inductionVariable < last; ) { - var tmp1_loop_parameter = indexedObject[inductionVariable]; - inductionVariable = inductionVariable + 1 | 0; - var key = tmp1_loop_parameter.i2(), value = tmp1_loop_parameter.j2(); - _this__u8e3s4.t2(key, value); - } - } - function putAll_0(_this__u8e3s4, pairs) { - for (var tmp0_iterator = pairs.d(); tmp0_iterator.e(); ) { - var tmp1_loop_parameter = tmp0_iterator.f(), key = tmp1_loop_parameter.i2(), value = tmp1_loop_parameter.j2(); - _this__u8e3s4.t2(key, value); - } - } - function hashMapOf(pairs) { - var tmp0_apply = HashMap_init_$Create$_1(mapCapacity(pairs.length)); - return putAll(tmp0_apply, pairs), tmp0_apply; - } - function addAll(_this__u8e3s4, elements) { - if (isInterface(elements, Collection)) return _this__u8e3s4.k(elements); - for (var result = !1, tmp1_iterator = elements.d(); tmp1_iterator.e(); ) { - var item = tmp1_iterator.f(); - _this__u8e3s4.a(item) && (result = !0); - } - return result; - } - function removeLast(_this__u8e3s4) { - if (_this__u8e3s4.l()) throw NoSuchElementException_init_$Create$_0("List is empty."); - return _this__u8e3s4.u2(get_lastIndex_2(_this__u8e3s4)); - } - function IntIterator() {} - function generateSequence(seedFunction, nextFunction) { - return new GeneratorSequence(seedFunction, nextFunction); - } - function calcNext($this) { - $this.w2_1 = -2 === $this.x2_1 ? $this.y2_1.z2_1() : $this.y2_1.a3_1(ensureNotNull($this.w2_1)), - $this.x2_1 = null == $this.w2_1 ? 0 : 1; - } - function GeneratorSequence$iterator$1(this$0) { - this.y2_1 = this$0, this.w2_1 = null, this.x2_1 = -2; - } - function GeneratorSequence(getInitialValue, getNextValue) { - this.z2_1 = getInitialValue, this.a3_1 = getNextValue; - } - function emptySequence() { - return EmptySequence_getInstance(); - } - function DropTakeSequence() {} - function TakeSequence$iterator$1(this$0) { - this.b3_1 = this$0.e3_1, this.c3_1 = this$0.d3_1.d(); - } - function TakeSequence(sequence, count) { - if (this.d3_1 = sequence, this.e3_1 = count, !(this.e3_1 >= 0)) throw IllegalArgumentException_init_$Create$(toString_2("count must be non-negative, but was " + this.e3_1 + ".")); - } - function TransformingSequence$iterator$1(this$0) { - this.g3_1 = this$0, this.f3_1 = this$0.h3_1.d(); - } - function TransformingSequence(sequence, transformer) { - this.h3_1 = sequence, this.i3_1 = transformer; - } - function EmptySequence() { - EmptySequence_instance = this; - } - function EmptySequence_getInstance() { - return null == EmptySequence_instance && new EmptySequence, EmptySequence_instance; - } - function emptySet() { - return EmptySet_getInstance(); - } - function EmptySet() { - EmptySet_instance = this, this.j3_1 = new Long(1993859828, 793161749); - } - function EmptySet_getInstance() { - return null == EmptySet_instance && new EmptySet, EmptySet_instance; - } - function hashSetOf(elements) { - return toCollection(elements, HashSet_init_$Create$_0(mapCapacity(elements.length))); - } - function optimizeReadOnlySet(_this__u8e3s4) { - switch (_this__u8e3s4.c()) { - case 0: - return emptySet(); + case 3: + this.h1z_1 = Unit_instance, this.v6_1 = 4; + continue $sm; - case 1: - return setOf(_this__u8e3s4.d().f()); + case 4: + return this.e1z_1; - default: - return _this__u8e3s4; - } - } - function naturalOrder() { - var tmp = NaturalOrderComparator_getInstance(); - return isInterface(tmp, Comparator) ? tmp : THROW_CCE(); - } - function NaturalOrderComparator() { - NaturalOrderComparator_instance = this; - } - function NaturalOrderComparator_getInstance() { - return null == NaturalOrderComparator_instance && new NaturalOrderComparator, NaturalOrderComparator_instance; - } - function Continuation() {} - function startCoroutine(_this__u8e3s4, receiver, completion) { - var tmp$ret$0, tmp0_resume = intercepted(createCoroutineUnintercepted(_this__u8e3s4, receiver, completion)); - Companion_getInstance_4(), tmp$ret$0 = _Result___init__impl__xyqfz8(Unit_getInstance()), - tmp0_resume.n3(tmp$ret$0), Unit_getInstance(); - } - function Key() { - Key_instance = this; - } - function Key_getInstance() { - return null == Key_instance && new Key, Key_instance; - } - function ContinuationInterceptor() {} - function Element() {} - function CoroutineContext$plus$lambda(acc, element) { - var tmp, removed = acc.v3(element.e1()); - if (removed === EmptyCoroutineContext_getInstance()) tmp = element; else { - var tmp_0, interceptor = removed.q3(Key_getInstance()); - if (null == interceptor) tmp_0 = new CombinedContext(removed, element); else { - var left = removed.v3(Key_getInstance()); - tmp_0 = left === EmptyCoroutineContext_getInstance() ? new CombinedContext(element, interceptor) : new CombinedContext(new CombinedContext(left, element), interceptor); + case 5: + throw this.y6_1; } - tmp = tmp_0; - } - return tmp; - } - function CoroutineContext() {} - function EmptyCoroutineContext() { - EmptyCoroutineContext_instance = this, this.y3_1 = new Long(0, 0); - } - function EmptyCoroutineContext_getInstance() { - return null == EmptyCoroutineContext_instance && new EmptyCoroutineContext, EmptyCoroutineContext_instance; - } - function size($this) { - for (var cur = $this, size = 2; ;) { - var tmp = cur.z3_1, tmp0_elvis_lhs = tmp instanceof CombinedContext ? tmp : null; - if (null == tmp0_elvis_lhs) return size; - cur = tmp0_elvis_lhs, size = size + 1 | 0; - } - } - function contains_1($this, element) { - return equals_0($this.q3(element.e1()), element); - } - function containsAll($this, context) { - for (var cur = context; ;) { - if (!contains_1($this, cur.a4_1)) return !1; - var next = cur.z3_1; - if (!(next instanceof CombinedContext)) return contains_1($this, isInterface(next, Element) ? next : THROW_CCE()); - cur = next; - } - } - function CombinedContext$toString$lambda(acc, element) { - return 0 === charSequenceLength(acc) ? toString_2(element) : acc + ", " + element; - } - function CombinedContext(left, element) { - this.z3_1 = left, this.a4_1 = element; - } - function AbstractCoroutineContextKey(baseKey, safeCast) { - this.r3_1 = safeCast; - var tmp_0, tmp = this; - tmp_0 = baseKey instanceof AbstractCoroutineContextKey ? baseKey.s3_1 : baseKey, - tmp.s3_1 = tmp_0; - } - function AbstractCoroutineContextElement(key) { - this.b4_1 = key; - } - function get_COROUTINE_SUSPENDED() { - return CoroutineSingletons_COROUTINE_SUSPENDED_getInstance(); - } - function CoroutineSingletons_initEntries() { - if (CoroutineSingletons_entriesInitialized) return Unit_getInstance(); - CoroutineSingletons_entriesInitialized = !0, CoroutineSingletons_COROUTINE_SUSPENDED_instance = new CoroutineSingletons("COROUTINE_SUSPENDED", 0), - CoroutineSingletons_UNDECIDED_instance = new CoroutineSingletons("UNDECIDED", 1), - CoroutineSingletons_RESUMED_instance = new CoroutineSingletons("RESUMED", 2); - } - function CoroutineSingletons(name, ordinal) { - Enum.call(this, name, ordinal); - } - function CoroutineSingletons_COROUTINE_SUSPENDED_getInstance() { - return CoroutineSingletons_initEntries(), CoroutineSingletons_COROUTINE_SUSPENDED_instance; - } - function CoroutineSingletons_UNDECIDED_getInstance() { - return CoroutineSingletons_initEntries(), CoroutineSingletons_UNDECIDED_instance; - } - function CoroutineSingletons_RESUMED_getInstance() { - return CoroutineSingletons_initEntries(), CoroutineSingletons_RESUMED_instance; - } - function getProgressionLastElement(start, end, step) { - var tmp; - if (step > 0) tmp = start >= end ? end : end - differenceModulo(end, start, step) | 0; else { - if (!(step < 0)) throw IllegalArgumentException_init_$Create$("Step is zero."); - tmp = start <= end ? end : end + differenceModulo(start, end, 0 | -step) | 0; - } - return tmp; - } - function differenceModulo(a, b, c) { - return mod(mod(a, c) - mod(b, c) | 0, c); - } - function mod(a, b) { - var mod = a % b | 0; - return mod >= 0 ? mod : mod + b | 0; - } - function Companion_2() { - Companion_instance_2 = this, this.n_1 = new IntRange(1, 0); - } - function Companion_getInstance_2() { - return null == Companion_instance_2 && new Companion_2, Companion_instance_2; - } - function IntRange(start, endInclusive) { - Companion_getInstance_2(), IntProgression.call(this, start, endInclusive, 1); - } - function IntProgressionIterator(first, last, step) { - IntIterator.call(this), this.k4_1 = step, this.l4_1 = last, this.m4_1 = this.k4_1 > 0 ? first <= last : first >= last, - this.n4_1 = this.m4_1 ? first : this.l4_1; - } - function Companion_3() { - Companion_instance_3 = this; - } - function Companion_getInstance_3() { - return null == Companion_instance_3 && new Companion_3, Companion_instance_3; - } - function IntProgression(start, endInclusive, step) { - if (Companion_getInstance_3(), 0 === step) throw IllegalArgumentException_init_$Create$("Step must be non-zero."); - if (step === IntCompanionObject_getInstance().MIN_VALUE) throw IllegalArgumentException_init_$Create$("Step must be greater than Int.MIN_VALUE to avoid overflow on negation."); - this.o_1 = start, this.p_1 = getProgressionLastElement(start, endInclusive, step), - this.q_1 = step; - } - function checkStepIsPositive(isPositive, step) { - if (!isPositive) throw IllegalArgumentException_init_$Create$("Step must be positive, was: " + toString_2(step) + "."); - } - function appendElement(_this__u8e3s4, element, transform) { - null != transform ? _this__u8e3s4.b(transform(element)) : null == element || isCharSequence(element) ? _this__u8e3s4.b(element) : element instanceof Char ? _this__u8e3s4.p4(element.o4_1) : _this__u8e3s4.b(toString_1(element)); - } - function equals(_this__u8e3s4, other, ignoreCase) { - if (equals_0(new Char(_this__u8e3s4), new Char(other))) return !0; - if (!ignoreCase) return !1; - var thisUpper = uppercaseChar(_this__u8e3s4), otherUpper = uppercaseChar(other); - return !!equals_0(new Char(thisUpper), new Char(otherUpper)) || equals_0(new Char(charSequenceGet(toString_0(thisUpper).toLowerCase(), 0)), new Char(charSequenceGet(toString_0(otherUpper).toLowerCase(), 0))); - } - function trimIndent(_this__u8e3s4) { - return replaceIndent(_this__u8e3s4, ""); - } - function replaceIndent(_this__u8e3s4, newIndent) { - for (var lines_0 = lines(_this__u8e3s4), tmp0_filterTo = ArrayList_init_$Create$(), tmp0_iterator = lines_0.d(); tmp0_iterator.e(); ) { - var element = tmp0_iterator.f(); - !isBlank(element) && tmp0_filterTo.a(element); - } - for (var tmp1_map = tmp0_filterTo, tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_map, 10)), tmp0_iterator_0 = tmp1_map.d(); tmp0_iterator_0.e(); ) { - var item = tmp0_iterator_0.f(); - tmp0_mapTo.a(indentWidth(item)); - } - for (var tmp0_elvis_lhs = minOrNull(tmp0_mapTo), minCommonIndent = null == tmp0_elvis_lhs ? 0 : tmp0_elvis_lhs, tmp2_reindent = _this__u8e3s4.length + imul(newIndent.length, lines_0.c()) | 0, tmp3_reindent = getIndentFunction(newIndent), lastIndex = get_lastIndex_2(lines_0), tmp1_mapIndexedNotNullTo = ArrayList_init_$Create$(), index = 0, tmp0_iterator_1 = lines_0.d(); tmp0_iterator_1.e(); ) { - var item_0 = tmp0_iterator_1.f(), tmp1 = index; - index = tmp1 + 1 | 0; - var tmp, tmp$ret$5, tmp_0, tmp0__anonymous__q1qw7t = checkIndexOverflow(tmp1); - if (0 !== tmp0__anonymous__q1qw7t && tmp0__anonymous__q1qw7t !== lastIndex || !isBlank(item_0)) tmp = null == (tmp_0 = null == (tmp$ret$5 = drop(item_0, minCommonIndent)) ? null : tmp3_reindent(tmp$ret$5)) ? item_0 : tmp_0; else tmp = null; - var tmp0_safe_receiver_0 = tmp; - null == tmp0_safe_receiver_0 || (tmp1_mapIndexedNotNullTo.a(tmp0_safe_receiver_0), - Unit_getInstance()); - } - return joinTo$default(tmp1_mapIndexedNotNullTo, StringBuilder_init_$Create$(tmp2_reindent), "\n", null, null, 0, null, null, 124, null).toString(); - } - function indentWidth(_this__u8e3s4) { - var tmp$ret$1; - $l$block: { - var inductionVariable = 0, last = charSequenceLength(_this__u8e3s4) - 1 | 0; - if (inductionVariable <= last) do { - var index = inductionVariable; - if (inductionVariable = inductionVariable + 1 | 0, !isWhitespace(charSequenceGet(_this__u8e3s4, index))) { - tmp$ret$1 = index; - break $l$block; - } - } while (inductionVariable <= last); - tmp$ret$1 = -1; + } catch ($p) { + var e = $p; + if (5 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; } - var tmp1_let = tmp$ret$1; - return -1 === tmp1_let ? _this__u8e3s4.length : tmp1_let; - } - function getIndentFunction(indent) { - return 0 === charSequenceLength(indent) ? getIndentFunction$lambda : getIndentFunction$lambda_0(indent); - } - function getIndentFunction$lambda(line) { - return line; - } - function getIndentFunction$lambda_0($indent) { - return function(line) { - return $indent + line; - }; - } - function toLongOrNull(_this__u8e3s4) { - return toLongOrNull_0(_this__u8e3s4, 10); - } - function toIntOrNull(_this__u8e3s4) { - return toIntOrNull_0(_this__u8e3s4, 10); - } - function toLongOrNull_0(_this__u8e3s4, radix) { - checkRadix(radix); - var start, isNegative, limit, length = _this__u8e3s4.length; - if (0 === length) return null; - var firstChar = charSequenceGet(_this__u8e3s4, 0); - if (Char__compareTo_impl_ypi4mb(firstChar, _Char___init__impl__6a9atx(48)) < 0) { - if (1 === length) return null; - if (start = 1, equals_0(new Char(firstChar), new Char(_Char___init__impl__6a9atx(45)))) isNegative = !0, - Companion_getInstance_8(), limit = new Long(0, -2147483648); else { - if (!equals_0(new Char(firstChar), new Char(_Char___init__impl__6a9atx(43)))) return null; - isNegative = !1, Companion_getInstance_8(), limit = new Long(-1, 2147483647).s4(); - } - } else start = 0, isNegative = !1, Companion_getInstance_8(), limit = new Long(-1, 2147483647).s4(); - Companion_getInstance_8(); - var limitForMaxRadix = new Long(-1, 2147483647).s4().t4(new Long(36, 0)), limitBeforeMul = limitForMaxRadix, result = new Long(0, 0), inductionVariable = start; - if (inductionVariable < length) do { - var i = inductionVariable; - inductionVariable = inductionVariable + 1 | 0; - var tmp$ret$2, digit = digitOf(charSequenceGet(_this__u8e3s4, i), radix); - if (digit < 0) return null; - if (result.u4(limitBeforeMul) < 0) { - if (!limitBeforeMul.equals(limitForMaxRadix)) return null; - if (limitBeforeMul = limit.t4(toLong_0(radix)), result.u4(limitBeforeMul) < 0) return null; - } - tmp$ret$2 = result.v4(toLong_0(radix)); - var tmp$ret$3, tmp = result = tmp$ret$2; - if (tmp$ret$3 = limit.w4(toLong_0(digit)), tmp.u4(tmp$ret$3) < 0) return null; - result = result.x4(toLong_0(digit)); - } while (inductionVariable < length); - return isNegative ? result : result.s4(); - } - function toIntOrNull_0(_this__u8e3s4, radix) { - checkRadix(radix); - var start, isNegative, limit, length = _this__u8e3s4.length; - if (0 === length) return null; - var firstChar = charSequenceGet(_this__u8e3s4, 0); - if (Char__compareTo_impl_ypi4mb(firstChar, _Char___init__impl__6a9atx(48)) < 0) { - if (1 === length) return null; - if (start = 1, equals_0(new Char(firstChar), new Char(_Char___init__impl__6a9atx(45)))) isNegative = !0, - limit = IntCompanionObject_getInstance().MIN_VALUE; else { - if (!equals_0(new Char(firstChar), new Char(_Char___init__impl__6a9atx(43)))) return null; - isNegative = !1, limit = 0 | -IntCompanionObject_getInstance().MAX_VALUE; - } - } else start = 0, isNegative = !1, limit = 0 | -IntCompanionObject_getInstance().MAX_VALUE; - var limitForMaxRadix = (0 | -IntCompanionObject_getInstance().MAX_VALUE) / 36 | 0, limitBeforeMul = limitForMaxRadix, result = 0, inductionVariable = start; - if (inductionVariable < length) do { - var i = inductionVariable; - inductionVariable = inductionVariable + 1 | 0; - var digit = digitOf(charSequenceGet(_this__u8e3s4, i), radix); - if (digit < 0) return null; - if (result < limitBeforeMul) { - if (limitBeforeMul !== limitForMaxRadix) return null; - if (result < (limitBeforeMul = limit / radix | 0)) return null; + }, protoOf($saveCOROUTINE$4).d7 = function() { + var suspendResult = this.x6_1; + $sm: for (;;) try { + switch (this.v6_1) { + case 0: + if (this.w6_1 = 6, isDebug() && debug(this.y1z_1.m1y_1 + ": saving " + this.y1z_1.r1y_1.ik() + " " + this.y1z_1.t1y_1.ik() + " " + this.y1z_1.h1y_1 + ", " + toString(this.y1z_1.i1y_1) + ", " + toString(this.y1z_1.q1y_1)), + this.y1z_1.s1y_1.ik()) return isDebug() && debug(this.y1z_1.m1y_1 + ": cache save skipped"), + Unit_instance; + if (this.y1z_1.r1y_1.ik()) return info(this.y1z_1.m1y_1 + " loaded from exact match, no need to update the cache entry"), + Unit_instance; + var tmp11_safe_receiver = this.y1z_1.k1y_1; + if (null != tmp11_safe_receiver) return info(this.y1z_1.m1y_1 + " is configured as read-only: " + tmp11_safe_receiver), + Unit_instance; + var tmp12_safe_receiver = _get_restoredKey__gcgyt4(this.y1z_1); + if (null == tmp12_safe_receiver || (this.y1z_1.o1y_1.b20(tmp12_safe_receiver), this.y1z_1.p1y_1.b20(tmp12_safe_receiver)), + this.v6_1 = 1, (suspendResult = this.y1z_1.c20(this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 1: + this.z1z_1 = suspendResult, this.v6_1 = 2; + var this_0 = this.y1z_1.j1y_1; + if ((suspendResult = hashFilesDetailed(copyToArray(this_0).slice(), VOID, VOID, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 2: + if (this.a20_1 = suspendResult, this.y1z_1.u1y_1 = this.a20_1, this.a20_1.t1j_1.r1j_1.q()) return info(this.y1z_1.m1y_1 + ": no files to cache => won't upload empty cache"), + Unit_instance; + if (null != this.z1z_1) { + if (info(this.y1z_1.m1y_1 + ": comparing modifications of the cache contents"), + this.a20_1.s1j_1.m1j_1 === this.z1z_1.m1j_1) return info(this.y1z_1.m1y_1 + ": contents did not change => no need to upload it"), + Unit_instance; + var delta = this.a20_1.s1j_1.l1j_1.a2(this.z1z_1.l1j_1); + info(this.y1z_1.m1y_1 + ": hash content differs (" + abs(delta).toString() + " bytes " + (delta.b1(new Long(0, 0)) >= 0 ? "increase" : "decrease") + ")"); + } + if (info(this.y1z_1.m1y_1 + ": uploading " + formatBytes(this.a20_1.s1j_1.l1j_1) + ", " + this.a20_1.t1j_1.r1j_1.k() + " files as " + this.y1z_1.h1y_1), + this.v6_1 = 3, (suspendResult = this.y1z_1.o1y_1.d20(this.a20_1.s1j_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 3: + if (this.v6_1 = 4, (suspendResult = this.y1z_1.p1y_1.d20(this.a20_1.t1j_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 4: + if (this.v6_1 = 5, (suspendResult = saveAndLog(this.y1z_1.q1y_1, this.y1z_1.h1y_1, this.y1z_1.n1y_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 5: + return Unit_instance; + + case 6: + throw this.y6_1; } - if ((result = imul(result, radix)) < (limit + digit | 0)) return null; - result = result - digit | 0; - } while (inductionVariable < length); - return isNegative ? result : 0 | -result; - } - function numberFormatError(input) { - throw NumberFormatException_init_$Create$("Invalid number format: '" + input + "'"); - } - function contains_2(_this__u8e3s4, other, ignoreCase) { - return "string" == typeof other ? indexOf$default_0(_this__u8e3s4, other, 0, ignoreCase, 2, null) >= 0 : indexOf$default_1(_this__u8e3s4, other, 0, charSequenceLength(_this__u8e3s4), ignoreCase, !1, 16, null) >= 0; - } - function contains$default(_this__u8e3s4, other, ignoreCase, $mask0, $handler) { - return 0 != (2 & $mask0) && (ignoreCase = !1), contains_2(_this__u8e3s4, other, ignoreCase); - } - function trimEnd(_this__u8e3s4, chars) { - var tmp$ret$1; - $l$block: { - var tmp0_trimEnd = isCharSequence(_this__u8e3s4) ? _this__u8e3s4 : THROW_CCE(), inductionVariable = charSequenceLength(tmp0_trimEnd) - 1 | 0; - if (0 <= inductionVariable) do { - var index = inductionVariable; - if (inductionVariable = inductionVariable + -1 | 0, !contains(chars, charSequenceGet(tmp0_trimEnd, index))) { - tmp$ret$1 = charSequenceSubSequence(tmp0_trimEnd, 0, index + 1 | 0); - break $l$block; + } catch ($p) { + var e = $p; + if (6 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; + } + }, protoOf(DefaultCache).s1 = function() { + return this.m1y_1; + }, protoOf(DefaultCache).c20 = function($completion) { + var tmp2_safe_receiver = this.u1y_1, tmp3_safe_receiver = null == tmp2_safe_receiver ? null : tmp2_safe_receiver.s1j_1; + if (null != tmp3_safe_receiver) return tmp3_safe_receiver; + var tmp4_safe_receiver = _get_restoredKey__gcgyt4(this); + return null == tmp4_safe_receiver || this.p1y_1.b20(tmp4_safe_receiver), this.r1y_1.ik() || -1 !== this.t1y_1.ik() ? this.o1y_1.e20(VOID, $completion) : null; + }, protoOf(DefaultCache).f20 = function($completion) { + var tmp5_safe_receiver = this.u1y_1, tmp6_safe_receiver = null == tmp5_safe_receiver ? null : tmp5_safe_receiver.t1j_1; + if (null != tmp6_safe_receiver) return tmp6_safe_receiver; + var tmp7_safe_receiver = _get_restoredKey__gcgyt4(this); + return null == tmp7_safe_receiver || this.p1y_1.b20(tmp7_safe_receiver), this.r1y_1.ik() || -1 !== this.t1y_1.ik() ? this.p1y_1.e20(VOID, $completion) : null; + }, protoOf(DefaultCache).p1v = function($completion) { + var tmp = new $restoreCOROUTINE$3(this, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); + }, protoOf(DefaultCache).o1v = function($completion) { + var tmp = new $saveCOROUTINE$4(this, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); + }, protoOf($restoreCOROUTINE$5).d7 = function() { + var suspendResult = this.x6_1; + $sm: for (;;) try { + switch (this.v6_1) { + case 0: + if (this.w6_1 = 7, this.v6_1 = 1, (suspendResult = this.n21_1.p20_1.p1v(this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 1: + if (this.o21_1 = suspendResult, equals(this.o21_1, None_getInstance())) return None_getInstance(); + if (this.v6_1 = 2, (suspendResult = this.n21_1.n20_1.e20(VOID, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 2: + this.p21_1 = suspendResult; + var tmp_1; + if (null == this.p21_1) { + var $this$run = this.n21_1; + return warning("Unable to restore cache " + $this$run.toString()), Unknown_getInstance(); + } + tmp_1 = this.p21_1, this.q21_1 = tmp_1; + var tmp_3, tmp17_subject = this.o21_1; + tmp_3 = tmp17_subject instanceof Exact ? new Exact(removePrefix(this.o21_1.gy_1, this.n21_1.m20_1 + "-index-")) : tmp17_subject instanceof Partial ? new Partial(removePrefix(this.o21_1.hy_1, this.n21_1.m20_1 + "-index-")) : this.o21_1, + this.r21_1 = tmp_3; + var tmp_4 = this.n21_1.g20_1 + ": " + this.q21_1.y21_1.k() + " layers. "; + info(joinToString(this.q21_1.y21_1, ", ", tmp_4, VOID, VOID, VOID, LayeredCache$restore$lambda)), + this.s21_1 = withIndex(this.q21_1.y21_1).h(), this.v6_1 = 3; + continue $sm; + + case 3: + if (!this.s21_1.i()) { + this.v6_1 = 5; + continue $sm; } - } while (0 <= inductionVariable); - tmp$ret$1 = ""; + if (this.t21_1 = this.s21_1.j(), this.u21_1 = this.t21_1.gc(), this.v21_1 = this.t21_1.hc(), + this.w21_1 = toCache(this.v21_1, this.n21_1, this.u21_1.toString()), this.v6_1 = 4, + (suspendResult = this.w21_1.p1v(this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 4: + this.x21_1 = suspendResult, this.x21_1 instanceof Exact || (this.r21_1 = Unknown_getInstance()), + isDebug() && debug(this.n21_1.g20_1 + ": layer " + this.u21_1 + ", restore=" + toString(this.x21_1)), + this.v6_1 = 3; + continue $sm; + + case 5: + if (this.v6_1 = 6, (suspendResult = removeFiles(this.q21_1.z21_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 6: + var tmp_6 = this.r21_1; + return this.n21_1.o20_1.k1z(tmp_6 instanceof Exact), this.r21_1; + + case 7: + throw this.y6_1; + } + } catch ($p) { + var e = $p; + if (7 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; } - return toString_2(tmp$ret$1); - } - function startsWith(_this__u8e3s4, char, ignoreCase) { - return charSequenceLength(_this__u8e3s4) > 0 && equals(charSequenceGet(_this__u8e3s4, 0), char, ignoreCase); - } - function startsWith$default(_this__u8e3s4, char, ignoreCase, $mask0, $handler) { - return 0 != (2 & $mask0) && (ignoreCase = !1), startsWith(_this__u8e3s4, char, ignoreCase); - } - function endsWith(_this__u8e3s4, char, ignoreCase) { - return charSequenceLength(_this__u8e3s4) > 0 && equals(charSequenceGet(_this__u8e3s4, get_lastIndex_3(_this__u8e3s4)), char, ignoreCase); - } - function endsWith$default(_this__u8e3s4, char, ignoreCase, $mask0, $handler) { - return 0 != (2 & $mask0) && (ignoreCase = !1), endsWith(_this__u8e3s4, char, ignoreCase); - } - function trimStart(_this__u8e3s4, chars) { - var tmp$ret$1; - $l$block: { - var tmp0_trimStart = isCharSequence(_this__u8e3s4) ? _this__u8e3s4 : THROW_CCE(), inductionVariable = 0, last = charSequenceLength(tmp0_trimStart) - 1 | 0; - if (inductionVariable <= last) do { - var index = inductionVariable; - if (inductionVariable = inductionVariable + 1 | 0, !contains(chars, charSequenceGet(tmp0_trimStart, index))) { - tmp$ret$1 = charSequenceSubSequence(tmp0_trimStart, index, charSequenceLength(tmp0_trimStart)); - break $l$block; + }, protoOf($saveCOROUTINE$6).d7 = function() { + var _this__u8e3s4, $this, suspendResult = this.x6_1; + $sm: for (;;) try { + switch (this.v6_1) { + case 0: + if (this.w6_1 = 16, this.i22_1.o20_1.ik()) return info(this.i22_1.g20_1 + " loaded from exact match, no need to update the cache entry"), + Unit_instance; + if (this.v6_1 = 1, (suspendResult = this.i22_1.n20_1.f23(!1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 1: + if (this.j22_1 = suspendResult, this.k22_1 = startsWith(this.i22_1.j20_1, this.i22_1.h20_1), + null == this.j22_1) { + if (!this.k22_1) return info(this.i22_1.g20_1 + ": old contents is not found, and the current cache " + this.i22_1.j20_1 + " does not start with " + this.i22_1.h20_1 + ", so cache saving can't be done"), + Unit_instance; + if (this.v6_1 = 15, (suspendResult = saveSingleLayerCache(this.i22_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; } - } while (inductionVariable <= last); - tmp$ret$1 = ""; - } - return toString_2(tmp$ret$1); - } - function requireNonNegativeLimit(limit) { - var tmp; - if (!(limit >= 0)) throw IllegalArgumentException_init_$Create$(toString_2("Limit must be non-negative, but was " + limit)); - return tmp; - } - function get_lastIndex_3(_this__u8e3s4) { - return charSequenceLength(_this__u8e3s4) - 1 | 0; - } - function padStart(_this__u8e3s4, length, padChar) { - return toString_2(padStart_0(isCharSequence(_this__u8e3s4) ? _this__u8e3s4 : THROW_CCE(), length, padChar)); - } - function indexOf_1(_this__u8e3s4, char, startIndex, ignoreCase) { - var tmp; - if (ignoreCase || "string" != typeof _this__u8e3s4) tmp = indexOfAny(_this__u8e3s4, charArrayOf([ char ]), startIndex, ignoreCase); else { - var tmp1_nativeIndexOf = _this__u8e3s4, tmp0_nativeIndexOf = toString_0(char); - tmp = tmp1_nativeIndexOf.indexOf(tmp0_nativeIndexOf, startIndex); + this.v6_1 = 2; + continue $sm; + + case 2: + for (var this_0 = this.j22_1.y21_1, destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10)), index = 0, tmp0_iterator = this_0.h(); tmp0_iterator.i(); ) { + var item = tmp0_iterator.j(), tmp1 = index; + index = tmp1 + 1 | 0; + var index_0 = checkIndexOverflow(tmp1); + destination.e(toCache(item, this.i22_1, index_0.toString())); + } + this.l22_1 = destination; + this.m22_1 = this.l22_1, this.n22_1 = LinkedHashMap_init_$Create$(coerceAtLeast(mapCapacity(collectionSizeOrDefault(this.m22_1, 10)), 16)); + this.o22_1 = this.m22_1; + this.p22_1 = this.n22_1, this.q22_1 = this.o22_1.h(), this.v6_1 = 3; + continue $sm; + + case 3: + if (!this.q22_1.i()) { + this.v6_1 = 5; + continue $sm; + } + this.r22_1 = this.q22_1.j(); + if (this.s22_1 = this.r22_1, this.v6_1 = 4, (suspendResult = this.s22_1.f20(this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 4: + this.t22_1 = suspendResult, this.p22_1.n1(this.r22_1, this.t22_1), this.v6_1 = 3; + continue $sm; + + case 5: + if (this.u22_1 = this.p22_1, this.k22_1) { + for (var this_1 = this.u22_1, destination_0 = ArrayList_init_$Create$(), tmp0_iterator_0 = this_1.m1().h(); tmp0_iterator_0.i(); ) { + var element = tmp0_iterator_0.j(), cache = element.f1(), tmp0_safe_receiver = null == element.g1() ? cache.h1y_1 : null; + null == tmp0_safe_receiver || destination_0.e(tmp0_safe_receiver); + } + if (this.v22_1 = destination_0, this.v22_1.q()) { + this.v6_1 = 6; + continue $sm; + } + if (info(this.i22_1.g20_1 + ": there are missing layers: " + toString(this.v22_1)), + this.v6_1 = 14, (suspendResult = saveSingleLayerCache(this.i22_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + } + this.v6_1 = 8; + continue $sm; + + case 6: + if (this.j22_1.y21_1.k() > this.i22_1.i20_1) { + if (info(this.i22_1.g20_1 + ": " + this.j22_1.y21_1.k() + " layers reached, will create new snapshot"), + this.v6_1 = 13, (suspendResult = saveSingleLayerCache(this.i22_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + } + this.v6_1 = 7; + continue $sm; + + case 7: + this.v6_1 = 8; + continue $sm; + + case 8: + if (!this.k22_1) { + var tmp$ret$0, firstLayer = firstOrNull(this.j22_1.y21_1); + l$ret$1: do { + for (var tmp0_iterator_1 = this.l22_1.h(); tmp0_iterator_1.i(); ) { + var element_0 = tmp0_iterator_1.j(); + if (startsWith(element_0.m1y_1, this.i22_1.h20_1)) { + tmp$ret$0 = element_0; + break l$ret$1; + } + } + tmp$ret$0 = null; + } while (0); + var firstBaseline = null == tmp$ret$0 ? null : tmp$ret$0.m1y_1, tmp20_safe_receiver = null == firstLayer ? null : firstLayer.q20_1; + if (!0 !== (null == tmp20_safe_receiver ? null : startsWith(tmp20_safe_receiver, this.i22_1.m20_1 + "-" + this.i22_1.h20_1))) return info(this.i22_1.g20_1 + ": the first baseline is not found, and the current cache " + this.i22_1.j20_1 + " does not start with " + this.i22_1.m20_1 + "-" + this.i22_1.h20_1 + ", so cache saving can't be done"), + Unit_instance; + if (null == firstOrNull_0(this.u22_1.l1())) return info(this.i22_1.g20_1 + ": the first baseline " + firstBaseline + " was not received, and the current cache " + this.i22_1.j20_1 + " does not start with " + this.i22_1.h20_1 + ", so cache saving can't be done"), + Unit_instance; + } + this.v6_1 = 9; + var this_2 = this.i22_1.l20_1; + if ((suspendResult = hashFilesDetailed(copyToArray(this_2).slice(), VOID, VOID, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 9: + this.w22_1 = suspendResult; + this.x22_1 = LinkedHashMap_init_$Create$_0(); + this.y22_1 = LinkedHashMap_init_$Create$_0(); + this.z22_1 = LinkedHashSet_init_$Create$(); + this.a23_1 = ArrayList_init_$Create$(); + this.b23_1 = ArrayList_init_$Create$(); + for (var _iterator__ex2g4s = zip(this.j22_1.y21_1, this.u22_1.l1()).h(); _iterator__ex2g4s.i(); ) { + var _destruct__k2r9zo = _iterator__ex2g4s.j(), layer = _destruct__k2r9zo.gc(), contents_0 = _destruct__k2r9zo.hc(); + if (null != contents_0) { + for (var helpfulBytes = new Long(0, 0), wastedBytes = new Long(0, 0), helpfulLayerFiles = LinkedHashMap_init_$Create$_0(), deletedLayerFiles = ArrayList_init_$Create$(), _iterator__ex2g4s_0 = contents_0.r1j_1.m1().h(); _iterator__ex2g4s_0.i(); ) { + var tmp_11, _destruct__k2r9zo_0 = _iterator__ex2g4s_0.j(), file = _destruct__k2r9zo_0.f1(), details = _destruct__k2r9zo_0.g1(), newDetails = this.w22_1.t1j_1.r1j_1.j1(file); + if (details.a1l_1 === (null == newDetails ? null : newDetails.a1l_1)) { + var this_3 = this.y22_1; + tmp_11 = !(isInterface(this_3, KtMap) ? this_3 : THROW_CCE()).h1(file); + } else tmp_11 = !1; + tmp_11 ? (helpfulBytes = helpfulBytes.z1(details.z1k_1), helpfulLayerFiles.n1(file, details)) : (null == newDetails && deletedLayerFiles.e(file), + wastedBytes = wastedBytes.z1(details.z1k_1)); + } + if (wastedBytes.b1(helpfulBytes) >= 0) info(this.i22_1.g20_1 + ": layer " + layer.q20_1 + " has too much waste (" + formatBytes(wastedBytes) + " > " + formatBytes(helpfulBytes) + "), so the layer will be skipped"); else { + var this_4 = this.x22_1, map = contents_0.r1j_1; + this_4.o1(map), this.y22_1.o1(helpfulLayerFiles); + var this_5 = this.z22_1; + addAll(this_5, deletedLayerFiles), this.a23_1.e(layer); + var this_6 = this.b23_1, element_1 = layer.q20_1 + " " + formatBytes(helpfulBytes.z1(wastedBytes)) + " total (" + contents_0.r1j_1.k() + " files), " + formatBytes(wastedBytes) + " outdated"; + this_6.e(element_1); + } + } else info(this.i22_1.g20_1 + ": unknown contents for layer " + layer.q20_1); + } + if (!this.k22_1 && this.a23_1.q()) return info(this.i22_1.g20_1 + ": at least one layer from the default branch is needed. The new contents is " + formatBytes(this.w22_1.s1j_1.l1j_1) + " (" + this.w22_1.s1j_1.n1j_1 + " files)"), + Unit_instance; + if (this.c23_1 = diff(new HashContents(this.x22_1), this.w22_1.t1j_1), this.c23_1.e1l_1.q() || info(this.i22_1.g20_1 + ": cache contents is changed: " + this.c23_1.h1l()), + this.d23_1 = (_this__u8e3s4 = this.c23_1, new CacheLayer(($this = this.i22_1).m20_1 + "-delta-" + $this.j20_1, _this__u8e3s4.f1l_1)), + this.e23_1 = toCache(this.d23_1, this.i22_1, "newlayer"), this.v6_1 = 10, (suspendResult = this.e23_1.o1v(this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 10: + var this_7 = this.a23_1, element_2 = this.d23_1; + this_7.e(element_2); + var this_8 = this.b23_1, element_3 = this.d23_1.q20_1 + " " + formatBytes(this.c23_1.c1l_1) + " total (" + this.c23_1.f1l_1.k() + " files), " + formatBytes(this.c23_1.d1l_1) + " deleted (" + this.c23_1.g1l_1.k() + " files)"; + if (this_8.e(element_3), info(joinToString(this.b23_1, "; ", this.i22_1.g20_1 + ": " + this.a23_1.k() + " layers. ")), + this.v6_1 = 11, (suspendResult = this.i22_1.n20_1.d20(new CacheLayers(this.a23_1, toList(this.z22_1)), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 11: + if (this.v6_1 = 12, (suspendResult = this.i22_1.p20_1.o1v(this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 12: + case 13: + case 14: + case 15: + return Unit_instance; + + case 16: + throw this.y6_1; + } + } catch ($p) { + var e = $p; + if (16 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; } - return tmp; - } - function indexOf$default(_this__u8e3s4, char, startIndex, ignoreCase, $mask0, $handler) { - return 0 != (2 & $mask0) && (startIndex = 0), 0 != (4 & $mask0) && (ignoreCase = !1), - indexOf_1(_this__u8e3s4, char, startIndex, ignoreCase); - } - function indexOf_2(_this__u8e3s4, string, startIndex, ignoreCase) { - return ignoreCase || "string" != typeof _this__u8e3s4 ? indexOf$default_1(_this__u8e3s4, string, startIndex, charSequenceLength(_this__u8e3s4), ignoreCase, !1, 16, null) : _this__u8e3s4.indexOf(string, startIndex); - } - function indexOf$default_0(_this__u8e3s4, string, startIndex, ignoreCase, $mask0, $handler) { - return 0 != (2 & $mask0) && (startIndex = 0), 0 != (4 & $mask0) && (ignoreCase = !1), - indexOf_2(_this__u8e3s4, string, startIndex, ignoreCase); - } - function indexOf_3(_this__u8e3s4, other, startIndex, endIndex, ignoreCase, last) { - var indices = last ? downTo(coerceAtMost(startIndex, get_lastIndex_3(_this__u8e3s4)), coerceAtLeast(endIndex, 0)) : numberRangeToNumber(coerceAtLeast(startIndex, 0), coerceAtMost(endIndex, charSequenceLength(_this__u8e3s4))); - if ("string" == typeof _this__u8e3s4 && "string" == typeof other) { - var inductionVariable = indices.o_1, last_0 = indices.p_1, step = indices.q_1; - if (step > 0 && inductionVariable <= last_0 || step < 0 && last_0 <= inductionVariable) do { - var index = inductionVariable; - if (inductionVariable = inductionVariable + step | 0, regionMatches(other, 0, _this__u8e3s4, index, charSequenceLength(other), ignoreCase)) return index; - } while (index !== last_0); - } else { - var inductionVariable_0 = indices.o_1, last_1 = indices.p_1, step_0 = indices.q_1; - if (step_0 > 0 && inductionVariable_0 <= last_1 || step_0 < 0 && last_1 <= inductionVariable_0) do { - var index_0 = inductionVariable_0; - if (inductionVariable_0 = inductionVariable_0 + step_0 | 0, regionMatchesImpl(other, 0, _this__u8e3s4, index_0, charSequenceLength(other), ignoreCase)) return index_0; - } while (index_0 !== last_1); + }, protoOf($saveSingleLayerCacheCOROUTINE$7).d7 = function() { + var suspendResult = this.x6_1; + $sm: for (;;) try { + switch (this.v6_1) { + case 0: + this.w6_1 = 6, info(this.a21_1.g20_1 + ": creating single-layer cache image"); + var tmp_1 = this.a21_1.m20_1 + "-" + this.a21_1.j20_1; + if (this.b21_1 = new CacheLayer(tmp_1, emptyList()), this.c21_1 = toCache(this.b21_1, this.a21_1, "single-layer"), + this.v6_1 = 1, (suspendResult = this.c21_1.o1v(this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 1: + if (this.v6_1 = 2, (suspendResult = this.c21_1.c20(this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 2: + if (this.d21_1 = suspendResult, this.e21_1 = null == this.d21_1 ? null : this.d21_1.n1j_1, + 0 === this.e21_1) return Unit_instance; + this.v6_1 = 3; + continue $sm; + + case 3: + this.v6_1 = 4; + var tmp_2 = listOf_0(this.b21_1); + if ((suspendResult = this.a21_1.n20_1.d20(new CacheLayers(tmp_2, emptyList()), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 4: + if (this.v6_1 = 5, (suspendResult = this.a21_1.p20_1.o1v(this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 5: + return Unit_instance; + + case 6: + throw this.y6_1; + } + } catch ($p) { + var e = $p; + if (6 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; + } + }, protoOf(LayeredCache).s1 = function() { + return this.g20_1; + }, protoOf(LayeredCache).toString = function() { + return "Cache " + this.g20_1 + ", primaryKey=" + this.j20_1 + ", restoreKeys=" + toString(this.k20_1) + ", "; + }, protoOf(LayeredCache).p1v = function($completion) { + var tmp = new $restoreCOROUTINE$5(this, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); + }, protoOf(LayeredCache).o1v = function($completion) { + var tmp = new $saveCOROUTINE$6(this, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); + }, protoOf(Companion_0).i1j = function() { + return $serializer_getInstance(); + }, protoOf($serializer).i23 = function(encoder, value) { + var tmp0_desc = this.h23_1, tmp1_output = encoder.k10(tmp0_desc), tmp2_cached = Companion_getInstance_1().g23_1; + tmp1_output.e11(tmp0_desc, 0, tmp2_cached[0], value.y21_1), tmp1_output.e11(tmp0_desc, 1, tmp2_cached[1], value.z21_1), + tmp1_output.l10(tmp0_desc); + }, protoOf($serializer).jy = function(encoder, value) { + return this.i23(encoder, value instanceof CacheLayers ? value : THROW_CCE()); + }, protoOf($serializer).ky = function(decoder) { + var tmp0_desc = this.h23_1, tmp1_flag = !0, tmp2_index = 0, tmp3_bitMask0 = 0, tmp4_local0 = null, tmp5_local1 = null, tmp6_input = decoder.k10(tmp0_desc), tmp7_cached = Companion_getInstance_1().g23_1; + if (tmp6_input.s10()) tmp4_local0 = tmp6_input.p10(tmp0_desc, 0, tmp7_cached[0], tmp4_local0), + tmp3_bitMask0 |= 1, tmp5_local1 = tmp6_input.p10(tmp0_desc, 1, tmp7_cached[1], tmp5_local1), + tmp3_bitMask0 |= 2; else for (;tmp1_flag; ) switch (tmp2_index = tmp6_input.t10(tmp0_desc)) { + case -1: + tmp1_flag = !1; + break; + + case 0: + tmp4_local0 = tmp6_input.p10(tmp0_desc, 0, tmp7_cached[0], tmp4_local0), tmp3_bitMask0 |= 1; + break; + + case 1: + tmp5_local1 = tmp6_input.p10(tmp0_desc, 1, tmp7_cached[1], tmp5_local1), tmp3_bitMask0 |= 2; + break; + + default: + throw UnknownFieldException_init_$Create$(tmp2_index); } - return -1; - } - function indexOf$default_1(_this__u8e3s4, other, startIndex, endIndex, ignoreCase, last, $mask0, $handler) { - return 0 != (16 & $mask0) && (last = !1), indexOf_3(_this__u8e3s4, other, startIndex, endIndex, ignoreCase, last); - } - function padStart_0(_this__u8e3s4, length, padChar) { - if (length < 0) throw IllegalArgumentException_init_$Create$("Desired length " + length + " is less than zero."); - if (length <= charSequenceLength(_this__u8e3s4)) return charSequenceSubSequence(_this__u8e3s4, 0, charSequenceLength(_this__u8e3s4)); - var sb = StringBuilder_init_$Create$(length), inductionVariable = 1, last = length - charSequenceLength(_this__u8e3s4) | 0; - if (inductionVariable <= last) do { - var i = inductionVariable; - inductionVariable = inductionVariable + 1 | 0, sb.p4(padChar); - } while (i !== last); - return sb.b(_this__u8e3s4), sb; - } - function indexOfAny(_this__u8e3s4, chars, startIndex, ignoreCase) { - if (!ignoreCase && 1 === chars.length && "string" == typeof _this__u8e3s4) { - var tmp1_nativeIndexOf = _this__u8e3s4, tmp0_nativeIndexOf = toString_0(single(chars)); - return tmp1_nativeIndexOf.indexOf(tmp0_nativeIndexOf, startIndex); + return tmp6_input.l10(tmp0_desc), function(seen0, layers, deletedFiles, serializationConstructorMarker, $this) { + return 3 & ~seen0 && throwMissingFieldException(seen0, 3, $serializer_getInstance().h23_1), + $this.y21_1 = layers, $this.z21_1 = deletedFiles, $this; + }(tmp3_bitMask0, tmp4_local0, tmp5_local1, 0, objectCreate(protoOf(CacheLayers))); + }, protoOf($serializer).iy = function() { + return this.h23_1; + }, protoOf($serializer).l14 = function() { + var tmp0_cached = Companion_getInstance_1().g23_1; + return [ tmp0_cached[0], tmp0_cached[1] ]; + }, protoOf($serializer_0).l23 = function(encoder, value) { + var tmp0_desc = this.k23_1, tmp1_output = encoder.k10(tmp0_desc), tmp2_cached = Companion_getInstance_2().j23_1; + tmp1_output.d11(tmp0_desc, 0, value.q20_1), tmp1_output.e11(tmp0_desc, 1, tmp2_cached[1], value.r20_1), + tmp1_output.l10(tmp0_desc); + }, protoOf($serializer_0).jy = function(encoder, value) { + return this.l23(encoder, value instanceof CacheLayer ? value : THROW_CCE()); + }, protoOf($serializer_0).ky = function(decoder) { + var tmp0_desc = this.k23_1, tmp1_flag = !0, tmp2_index = 0, tmp3_bitMask0 = 0, tmp4_local0 = null, tmp5_local1 = null, tmp6_input = decoder.k10(tmp0_desc), tmp7_cached = Companion_getInstance_2().j23_1; + if (tmp6_input.s10()) tmp4_local0 = tmp6_input.o10(tmp0_desc, 0), tmp3_bitMask0 |= 1, + tmp5_local1 = tmp6_input.p10(tmp0_desc, 1, tmp7_cached[1], tmp5_local1), tmp3_bitMask0 |= 2; else for (;tmp1_flag; ) switch (tmp2_index = tmp6_input.t10(tmp0_desc)) { + case -1: + tmp1_flag = !1; + break; + + case 0: + tmp4_local0 = tmp6_input.o10(tmp0_desc, 0), tmp3_bitMask0 |= 1; + break; + + case 1: + tmp5_local1 = tmp6_input.p10(tmp0_desc, 1, tmp7_cached[1], tmp5_local1), tmp3_bitMask0 |= 2; + break; + + default: + throw UnknownFieldException_init_$Create$(tmp2_index); } - var inductionVariable = coerceAtLeast(startIndex, 0), last = get_lastIndex_3(_this__u8e3s4); - if (inductionVariable <= last) do { - var index = inductionVariable; - inductionVariable = inductionVariable + 1 | 0; - var tmp$ret$4, charAtIndex = charSequenceGet(_this__u8e3s4, index); - $l$block: { - for (var indexedObject = chars, inductionVariable_0 = 0, last_0 = indexedObject.length; inductionVariable_0 < last_0; ) { - var element = indexedObject[inductionVariable_0]; - if (inductionVariable_0 = inductionVariable_0 + 1 | 0, equals(element, charAtIndex, ignoreCase)) { - tmp$ret$4 = !0; - break $l$block; - } + return tmp6_input.l10(tmp0_desc), function(seen0, primaryKey, paths, serializationConstructorMarker, $this) { + return 3 & ~seen0 && throwMissingFieldException(seen0, 3, $serializer_getInstance_0().k23_1), + $this.q20_1 = primaryKey, $this.r20_1 = paths, $this; + }(tmp3_bitMask0, tmp4_local0, tmp5_local1, 0, objectCreate(protoOf(CacheLayer))); + }, protoOf($serializer_0).iy = function() { + return this.k23_1; + }, protoOf($serializer_0).l14 = function() { + var tmp0_cached = Companion_getInstance_2().j23_1; + return [ StringSerializer_getInstance(), tmp0_cached[1] ]; + }, protoOf($restoreCOROUTINE$8).d7 = function() { + var suspendResult = this.x6_1; + $sm: for (;;) try { + switch (this.v6_1) { + case 0: + if (this.w6_1 = 3, this.y23_1 = get_normalizedPath(this.w23_1.n1z_1), exists(this.y23_1)) { + if (this.w23_1.b20(this.x23_1), this.v6_1 = 1, (suspendResult = rename(this.y23_1, this.w23_1.o1z_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; } - tmp$ret$4 = !1; + warning(this.w23_1.n1z_1 + ": " + this.y23_1 + " does not exist"), this.v6_1 = 2; + continue $sm; + + case 1: + this.v6_1 = 2; + continue $sm; + + case 2: + return Unit_instance; + + case 3: + throw this.y6_1; } - if (tmp$ret$4) return index; - } while (index !== last); - return -1; - } - function regionMatchesImpl(_this__u8e3s4, thisOffset, other, otherOffset, length, ignoreCase) { - if (otherOffset < 0 || thisOffset < 0 || thisOffset > (charSequenceLength(_this__u8e3s4) - length | 0) || otherOffset > (charSequenceLength(other) - length | 0)) return !1; - var inductionVariable = 0; - if (inductionVariable < length) do { - var index = inductionVariable; - if (inductionVariable = inductionVariable + 1 | 0, !equals(charSequenceGet(_this__u8e3s4, thisOffset + index | 0), charSequenceGet(other, otherOffset + index | 0), ignoreCase)) return !1; - } while (inductionVariable < length); - return !0; - } - function get_indices_2(_this__u8e3s4) { - return numberRangeToNumber(0, charSequenceLength(_this__u8e3s4) - 1 | 0); - } - function removeSuffix(_this__u8e3s4, suffix) { - if (endsWith$default_0(_this__u8e3s4, suffix, !1, 2, null)) { - var tmp0_substring = _this__u8e3s4.length - charSequenceLength(suffix) | 0; - return _this__u8e3s4.substring(0, tmp0_substring); - } - return _this__u8e3s4; - } - function substringAfter(_this__u8e3s4, delimiter, missingDelimiterValue) { - var tmp, index = indexOf$default_0(_this__u8e3s4, delimiter, 0, !1, 6, null); - if (-1 === index) tmp = missingDelimiterValue; else { - var tmp0_substring = index + delimiter.length | 0, tmp1_substring = _this__u8e3s4.length; - tmp = _this__u8e3s4.substring(tmp0_substring, tmp1_substring); + } catch ($p) { + var e = $p; + if (3 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; } - return tmp; - } - function substringAfter$default(_this__u8e3s4, delimiter, missingDelimiterValue, $mask0, $handler) { - return 0 != (2 & $mask0) && (missingDelimiterValue = _this__u8e3s4), substringAfter(_this__u8e3s4, delimiter, missingDelimiterValue); - } - function substringAfterLast(_this__u8e3s4, delimiter, missingDelimiterValue) { - var tmp, index = lastIndexOf$default(_this__u8e3s4, delimiter, 0, !1, 6, null); - if (-1 === index) tmp = missingDelimiterValue; else { - var tmp0_substring = index + delimiter.length | 0, tmp1_substring = _this__u8e3s4.length; - tmp = _this__u8e3s4.substring(tmp0_substring, tmp1_substring); + }, protoOf($decodeCOROUTINE$9).d7 = function() { + var suspendResult = this.x6_1; + $sm: for (;;) try { + switch (this.v6_1) { + case 0: + if (this.w6_1 = 3, !exists(this.h24_1.o1z_1)) return this.i24_1 && warning(this.h24_1.n1z_1 + ": " + this.h24_1.o1z_1 + " does not exist"), + null; + this.w6_1 = 2, this.k24_1 = Default_getInstance(), this.l24_1 = this.h24_1.l1z_1, + this.v6_1 = 1; + var tmp_0 = this.h24_1.o1z_1; + if ((suspendResult = readFile(tmp_0, "utf8", this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 1: + var ARGUMENT = suspendResult; + this.j24_1 = this.k24_1.x16(this.l24_1, ARGUMENT), this.w6_1 = 3, this.v6_1 = 4; + continue $sm; + + case 2: + if (this.w6_1 = 3, this.y6_1 instanceof SerializationException) { + var e = this.y6_1; + return warning(this.h24_1.n1z_1 + ": error deserializing " + this.h24_1.o1z_1 + " with " + this.h24_1.l1z_1.iy().ty() + ", message: " + e.toString()), + null; + } + throw this.y6_1; + + case 3: + throw this.y6_1; + + case 4: + return this.w6_1 = 3, this.j24_1; + } + } catch ($p) { + var e_0 = $p; + if (3 === this.w6_1) throw e_0; + this.v6_1 = this.w6_1, this.y6_1 = e_0; + } + }, protoOf(MetadataFile).b20 = function(key) { + this.o1z_1 = get_normalizedPath(this.n1z_1) + "." + replace(key, _Char___init__impl__6a9atx(47), _Char___init__impl__6a9atx(45)); + }, protoOf(MetadataFile).p1z = function(key, $completion) { + var tmp = new $restoreCOROUTINE$8(this, key, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); + }, protoOf(MetadataFile).f23 = function(warnOnMissing, $completion) { + var tmp = new $decodeCOROUTINE$9(this, warnOnMissing, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); + }, protoOf(MetadataFile).e20 = function(warnOnMissing, $completion, $super) { + return warnOnMissing = warnOnMissing === VOID || warnOnMissing, $super === VOID ? this.f23(warnOnMissing, $completion) : $super.f23.call(this, warnOnMissing, $completion); + }, protoOf(MetadataFile).d20 = function(value, $completion) { + var tmp = get_normalizedPath(this.n1z_1), tmp_0 = Default_getInstance().w16(this.l1z_1, value); + return writeFile(tmp, tmp_0, "utf8", $completion); + }, protoOf(dependenciesCache$slambda).w1t = function($completion) { + var tmp = this.x1t($completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); + }, protoOf(dependenciesCache$slambda).y1t = function($completion) { + return this.w1t($completion); + }, protoOf(dependenciesCache$slambda).d7 = function() { + var suspendResult = this.x6_1; + $sm: for (;;) try { + switch (this.v6_1) { + case 0: + this.w6_1 = 2, this.v6_1 = 1; + var this_0 = this.n25_1; + if ((suspendResult = hashFiles(copyToArray(this_0).slice(), VOID, VOID, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 1: + return suspendResult.i1l_1; + + case 2: + throw this.y6_1; + } + } catch ($p) { + var e = $p; + if (2 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; + } + }, protoOf(dependenciesCache$slambda).x1t = function(completion) { + return new dependenciesCache$slambda(this.n25_1, completion); + }, protoOf($dependenciesCacheCOROUTINE$10).d7 = function() { + var suspendResult = this.x6_1; + $sm: for (;;) try { + switch (this.v6_1) { + case 0: + this.w6_1 = 4, this.y24_1 = "defaultbranch", this.z24_1 = get_cacheKey(this.v24_1), + this.a25_1 = "dependencies-" + this.u24_1; + if (this.b25_1 = suspendingStateVariable(this.a25_1, dependenciesCache$slambda_0(this.x24_1, null)), + isDebug()) { + if (this.v6_1 = 1, (suspendResult = this.b25_1.k1v(this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + } + this.v6_1 = 2; + continue $sm; + + case 1: + this.c25_1 = suspendResult, this.d25_1 = this.a25_1 + ": dependencyDeclarationHash=" + this.c25_1, + debug(this.d25_1), this.v6_1 = 2; + continue $sm; + + case 2: + if (this.e25_1 = "dependencies-" + this.u24_1 + "-" + ActionsEnvironment_getInstance().nu(), + this.v6_1 = 3, (suspendResult = this.b25_1.k1v(this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 3: + var ARGUMENT = suspendResult, ARGUMENT_0 = this.e25_1 + "-" + this.z24_1 + "-" + ARGUMENT; + return new LayeredCache(this.a25_1, this.e25_1, VOID, ARGUMENT_0, listOf([ this.e25_1 + "-" + this.z24_1, this.e25_1 + "-" + this.y24_1, this.e25_1 + "-master", this.e25_1 + "-main" ]), this.w24_1); + + case 4: + throw this.y6_1; + } + } catch ($p) { + var e = $p; + if (4 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; } + }, protoOf(DefaultStateVariable).ik = function() { + var tmp, tmp0_elvis_lhs = this.s25_1; + if (null == tmp0_elvis_lhs) { + var this_0 = getState(this.r25_1), this_1 = isBlank(this_0) ? this.q25_1() : this_0; + this.k1z(this_1), tmp = this_1; + } else tmp = tmp0_elvis_lhs; return tmp; - } - function substringAfterLast$default(_this__u8e3s4, delimiter, missingDelimiterValue, $mask0, $handler) { - return 0 != (2 & $mask0) && (missingDelimiterValue = _this__u8e3s4), substringAfterLast(_this__u8e3s4, delimiter, missingDelimiterValue); - } - function removePrefix(_this__u8e3s4, prefix) { - if (startsWith$default_0(_this__u8e3s4, prefix, !1, 2, null)) { - var tmp0_substring = charSequenceLength(prefix); - return _this__u8e3s4.substring(tmp0_substring); - } - return _this__u8e3s4; - } - function trim(_this__u8e3s4) { - var startIndex = 0, endIndex = charSequenceLength(_this__u8e3s4) - 1 | 0, startFound = !1; - $l$loop: for (;startIndex <= endIndex; ) { - var match = isWhitespace(charSequenceGet(_this__u8e3s4, startFound ? endIndex : startIndex)); - if (startFound) { - if (!match) break $l$loop; - endIndex = endIndex - 1 | 0; - } else match ? startIndex = startIndex + 1 | 0 : startFound = !0; - } - return charSequenceSubSequence(_this__u8e3s4, startIndex, endIndex + 1 | 0); - } - function endsWith_0(_this__u8e3s4, suffix, ignoreCase) { - return ignoreCase || "string" != typeof _this__u8e3s4 || "string" != typeof suffix ? regionMatchesImpl(_this__u8e3s4, charSequenceLength(_this__u8e3s4) - charSequenceLength(suffix) | 0, suffix, 0, charSequenceLength(suffix), ignoreCase) : endsWith$default_1(_this__u8e3s4, suffix, !1, 2, null); - } - function endsWith$default_0(_this__u8e3s4, suffix, ignoreCase, $mask0, $handler) { - return 0 != (2 & $mask0) && (ignoreCase = !1), endsWith_0(_this__u8e3s4, suffix, ignoreCase); - } - function lastIndexOf(_this__u8e3s4, string, startIndex, ignoreCase) { - return ignoreCase || "string" != typeof _this__u8e3s4 ? indexOf_3(_this__u8e3s4, string, startIndex, 0, ignoreCase, !0) : _this__u8e3s4.lastIndexOf(string, startIndex); - } - function lastIndexOf$default(_this__u8e3s4, string, startIndex, ignoreCase, $mask0, $handler) { - return 0 != (2 & $mask0) && (startIndex = get_lastIndex_3(_this__u8e3s4)), 0 != (4 & $mask0) && (ignoreCase = !1), - lastIndexOf(_this__u8e3s4, string, startIndex, ignoreCase); - } - function startsWith_0(_this__u8e3s4, prefix, ignoreCase) { - return ignoreCase || "string" != typeof _this__u8e3s4 || "string" != typeof prefix ? regionMatchesImpl(_this__u8e3s4, 0, prefix, 0, charSequenceLength(prefix), ignoreCase) : startsWith$default_1(_this__u8e3s4, prefix, !1, 2, null); - } - function startsWith$default_0(_this__u8e3s4, prefix, ignoreCase, $mask0, $handler) { - return 0 != (2 & $mask0) && (ignoreCase = !1), startsWith_0(_this__u8e3s4, prefix, ignoreCase); - } - function trimEnd_0(_this__u8e3s4) { - var tmp$ret$0; - $l$block: { - var inductionVariable = charSequenceLength(_this__u8e3s4) - 1 | 0; - if (0 <= inductionVariable) do { - var index = inductionVariable; - if (inductionVariable = inductionVariable + -1 | 0, !isWhitespace(charSequenceGet(_this__u8e3s4, index))) { - tmp$ret$0 = charSequenceSubSequence(_this__u8e3s4, 0, index + 1 | 0); - break $l$block; + }, protoOf(BaseStateVariable).k1z = function(value) { + this.s25_1 = value, saveState(this.r25_1, value); + }, protoOf($getCOROUTINE$11).d7 = function() { + var suspendResult = this.x6_1; + $sm: for (;;) try { + switch (this.v6_1) { + case 0: + if (this.w6_1 = 4, this.c26_1 = this.b26_1.s25_1, null == this.c26_1) { + if (this.e26_1 = getState(this.b26_1.r25_1), isBlank(this.e26_1)) { + if (this.v6_1 = 1, (suspendResult = this.b26_1.i26_1(this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + } + this.f26_1 = this.e26_1, this.v6_1 = 2; + continue $sm; } - } while (0 <= inductionVariable); - tmp$ret$0 = ""; - } - return tmp$ret$0; - } - function lines(_this__u8e3s4) { - return toList_1(lineSequence(_this__u8e3s4)); + this.d26_1 = this.c26_1, this.v6_1 = 3; + continue $sm; + + case 1: + this.f26_1 = suspendResult, this.v6_1 = 2; + continue $sm; + + case 2: + var this_0 = this.f26_1; + this.b26_1.k1z(this_0), this.d26_1 = this_0, this.v6_1 = 3; + continue $sm; + + case 3: + return this.d26_1; + + case 4: + throw this.y6_1; + } + } catch ($p) { + var e = $p; + if (4 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; + } + }, protoOf(DefaultSuspendingStateVariable).j26 = function($completion) { + var tmp = new $getCOROUTINE$11(this, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); + }, protoOf(DefaultSuspendingStateVariable).k1v = function($completion) { + return this.j26($completion); + }, protoOf(transform$1).ik = function() { + return this.k26_1(this.l26_1.ik()); + }, protoOf(transform$1).n26 = function(value) { + this.l26_1.k1z(this.m26_1(value)); + }, protoOf(transform$1).k1z = function(value) { + return this.n26(null != value ? value : THROW_CCE()); + }, protoOf($serializer).m14 = typeParametersSerializers, protoOf($serializer_0).m14 = typeParametersSerializers, + new Companion, _.$_$ = _.$_$ || {}, _.$_$.a = stateVariable, _.$_$.b = GradleCacheAction, + _.$_$.c = Parameters; + }(module.exports, __webpack_require__(4613), __webpack_require__(3024), __webpack_require__(7036), __webpack_require__(7361), __webpack_require__(5527), __webpack_require__(9613), __webpack_require__(677), __webpack_require__(3138), __webpack_require__(7298), __webpack_require__(3838), __webpack_require__(9539), __webpack_require__(4350), __webpack_require__(1430)); + }, + 677: (module, __unused_webpack_exports, __webpack_require__) => { + !function(_, $module$_actions_cache_3s3lfo, $module$_actions_core_fx0i1v, kotlin_kotlin, kotlin_org_jetbrains_kotlin_wrappers_kotlin_js) { + "use strict"; + var None_instance, Unknown_instance, restoreCache = $module$_actions_cache_3s3lfo.restoreCache, warning = $module$_actions_core_fx0i1v.warning, info = $module$_actions_core_fx0i1v.info, saveCache = $module$_actions_cache_3s3lfo.saveCache, emptyList = kotlin_kotlin.$_$.l2, VOID = kotlin_kotlin.$_$.c, Unit_instance = kotlin_kotlin.$_$.w1, CoroutineImpl = kotlin_kotlin.$_$.i4, copyToArray = kotlin_kotlin.$_$.k2, collectionSizeOrDefault = kotlin_kotlin.$_$.f2, ArrayList_init_$Create$ = kotlin_kotlin.$_$.g, awaitPromiseLike = kotlin_org_jetbrains_kotlin_wrappers_kotlin_js.$_$.a, get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.t3, removePrefix = kotlin_kotlin.$_$.q6, endsWith = kotlin_kotlin.$_$.j6, joinToString = kotlin_kotlin.$_$.u2, protoOf = kotlin_kotlin.$_$.t5, initMetadataForCoroutine = kotlin_kotlin.$_$.g5, contains = kotlin_kotlin.$_$.i6, getStringHashCode = kotlin_kotlin.$_$.c5, THROW_CCE = kotlin_kotlin.$_$.r7, initMetadataForClass = kotlin_kotlin.$_$.e5, initMetadataForObject = kotlin_kotlin.$_$.j5; + function $restoreAndLogCOROUTINE$0(paths, primaryKey, restoreKeys, version, resultContinuation) { + CoroutineImpl.call(this, resultContinuation), this.ax_1 = paths, this.bx_1 = primaryKey, + this.cx_1 = restoreKeys, this.dx_1 = version; } - function lineSequence(_this__u8e3s4) { - return splitToSequence$default(_this__u8e3s4, [ "\r\n", "\n", "\r" ], !1, 0, 6, null); + function $saveAndLogCOROUTINE$1(paths, key, version, resultContinuation) { + CoroutineImpl.call(this, resultContinuation), this.yx_1 = paths, this.zx_1 = key, + this.ay_1 = version; } - function splitToSequence(_this__u8e3s4, delimiters, ignoreCase, limit) { - return map(rangesDelimitedBy$default(_this__u8e3s4, delimiters, 0, ignoreCase, limit, 2, null), splitToSequence$lambda(_this__u8e3s4)); + function Exact(path) { + RestoreType.call(this), this.gy_1 = path; } - function splitToSequence$default(_this__u8e3s4, delimiters, ignoreCase, limit, $mask0, $handler) { - return 0 != (2 & $mask0) && (ignoreCase = !1), 0 != (4 & $mask0) && (limit = 0), - splitToSequence(_this__u8e3s4, delimiters, ignoreCase, limit); + function Partial(path) { + RestoreType.call(this), this.hy_1 = path; } - function substring(_this__u8e3s4, range) { - return toString_2(charSequenceSubSequence(_this__u8e3s4, range.i4(), range.j4() + 1 | 0)); + function None() { + None_instance = this, RestoreType.call(this); } - function rangesDelimitedBy(_this__u8e3s4, delimiters, startIndex, ignoreCase, limit) { - return requireNonNegativeLimit(limit), new DelimitedRangesSequence(_this__u8e3s4, startIndex, limit, rangesDelimitedBy$lambda(asList(delimiters), ignoreCase)); + function None_getInstance() { + return null == None_instance && new None, None_instance; } - function rangesDelimitedBy$default(_this__u8e3s4, delimiters, startIndex, ignoreCase, limit, $mask0, $handler) { - return 0 != (2 & $mask0) && (startIndex = 0), 0 != (4 & $mask0) && (ignoreCase = !1), - 0 != (8 & $mask0) && (limit = 0), rangesDelimitedBy(_this__u8e3s4, delimiters, startIndex, ignoreCase, limit); + function Unknown() { + Unknown_instance = this, RestoreType.call(this); } - function calcNext_0($this) { - if ($this.b5_1 < 0) $this.z4_1 = 0, $this.c5_1 = null; else { - var tmp_0; - if ($this.e5_1.h5_1 > 0) { - var tmp0_this = $this; - tmp0_this.d5_1 = tmp0_this.d5_1 + 1 | 0, tmp_0 = tmp0_this.d5_1 >= $this.e5_1.h5_1; - } else tmp_0 = !1; - if (tmp_0 || $this.b5_1 > charSequenceLength($this.e5_1.f5_1)) $this.c5_1 = numberRangeToNumber($this.a5_1, get_lastIndex_3($this.e5_1.f5_1)), - $this.b5_1 = -1; else { - var match = $this.e5_1.i5_1($this.e5_1.f5_1, $this.b5_1); - if (null == match) $this.c5_1 = numberRangeToNumber($this.a5_1, get_lastIndex_3($this.e5_1.f5_1)), - $this.b5_1 = -1; else { - var tmp1_container = match, index = tmp1_container.i2(), length = tmp1_container.j2(); - $this.c5_1 = until($this.a5_1, index), $this.a5_1 = index + length | 0, $this.b5_1 = $this.a5_1 + (0 === length ? 1 : 0) | 0; + function RestoreType() {} + initMetadataForCoroutine($restoreAndLogCOROUTINE$0, CoroutineImpl), initMetadataForCoroutine($saveAndLogCOROUTINE$1, CoroutineImpl), + initMetadataForClass(RestoreType, "RestoreType"), initMetadataForClass(Exact, "Exact", VOID, RestoreType), + initMetadataForClass(Partial, "Partial", VOID, RestoreType), initMetadataForObject(None, "None", VOID, RestoreType), + initMetadataForObject(Unknown, "Unknown", VOID, RestoreType), protoOf($restoreAndLogCOROUTINE$0).d7 = function() { + var suspendResult = this.x6_1; + $sm: for (;;) try { + switch (this.v6_1) { + case 0: + if (this.w6_1 = 6, this.w6_1 = 4, this.cx_1.q()) { + var this_0 = this.ax_1; + this.gx_1 = copyToArray(this_0); + this.hx_1 = this.dx_1 + this.bx_1; + this.ix_1 = void 0; + this.jx_1 = void 0; + if (this.kx_1 = void 0, this.v6_1 = 2, (suspendResult = awaitPromiseLike(restoreCache(this.gx_1, this.hx_1, this.ix_1, this.jx_1, this.kx_1), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; } - } - $this.z4_1 = 1; - } - } - function DelimitedRangesSequence$iterator$1(this$0) { - this.e5_1 = this$0, this.z4_1 = -1, this.a5_1 = coerceIn(this$0.g5_1, 0, charSequenceLength(this$0.f5_1)), - this.b5_1 = this.a5_1, this.c5_1 = null, this.d5_1 = 0; - } - function DelimitedRangesSequence(input, startIndex, limit, getNextMatch) { - this.f5_1 = input, this.g5_1 = startIndex, this.h5_1 = limit, this.i5_1 = getNextMatch; - } - function findAnyOf(_this__u8e3s4, strings, startIndex, ignoreCase, last) { - if (!ignoreCase && 1 === strings.c()) { - var tmp, string = single_0(strings); - return (tmp = last ? lastIndexOf$default(_this__u8e3s4, string, startIndex, !1, 4, null) : indexOf$default_0(_this__u8e3s4, string, startIndex, !1, 4, null)) < 0 ? null : to(tmp, string); - } - var indices = last ? downTo(coerceAtMost(startIndex, get_lastIndex_3(_this__u8e3s4)), 0) : numberRangeToNumber(coerceAtLeast(startIndex, 0), charSequenceLength(_this__u8e3s4)); - if ("string" == typeof _this__u8e3s4) { - var inductionVariable = indices.o_1, last_0 = indices.p_1, step = indices.q_1; - if (step > 0 && inductionVariable <= last_0 || step < 0 && last_0 <= inductionVariable) do { - var tmp$ret$1, index_0 = inductionVariable; - inductionVariable = inductionVariable + step | 0; - $l$block: { - for (var tmp0_iterator = strings.d(); tmp0_iterator.e(); ) { - var element = tmp0_iterator.f(); - if (regionMatches(element, 0, _this__u8e3s4, index_0, element.length, ignoreCase)) { - tmp$ret$1 = element; - break $l$block; - } - } - tmp$ret$1 = null; + var this_1 = this.ax_1; + this.lx_1 = copyToArray(this_1); + this.mx_1 = this.dx_1 + this.bx_1; + for (var this_2 = this.cx_1, destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_2, 10)), tmp0_iterator = this_2.h(); tmp0_iterator.i(); ) { + var item = tmp0_iterator.j(); + destination.e(this.dx_1 + item); } - if (null != tmp$ret$1) return to(index_0, tmp$ret$1); - } while (index_0 !== last_0); - } else { - var inductionVariable_0 = indices.o_1, last_1 = indices.p_1, step_0 = indices.q_1; - if (step_0 > 0 && inductionVariable_0 <= last_1 || step_0 < 0 && last_1 <= inductionVariable_0) do { - var tmp$ret$3, index_1 = inductionVariable_0; - inductionVariable_0 = inductionVariable_0 + step_0 | 0; - $l$block_0: { - for (var tmp0_iterator_0 = strings.d(); tmp0_iterator_0.e(); ) { - var element_0 = tmp0_iterator_0.f(); - if (regionMatchesImpl(element_0, 0, _this__u8e3s4, index_1, element_0.length, ignoreCase)) { - tmp$ret$3 = element_0; - break $l$block_0; - } - } - tmp$ret$3 = null; + this.nx_1 = copyToArray(destination); + this.ox_1 = void 0; + if (this.px_1 = void 0, this.v6_1 = 1, (suspendResult = awaitPromiseLike(restoreCache(this.lx_1, this.mx_1, this.nx_1, this.ox_1, this.px_1), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 1: + case 2: + this.fx_1 = suspendResult, this.v6_1 = 3; + continue $sm; + + case 3: + this.ex_1 = this.fx_1, this.w6_1 = 6, this.v6_1 = 5; + continue $sm; + + case 4: + if (this.w6_1 = 6, this.y6_1 instanceof Error) { + var t = this.y6_1; + if ("ValidationError" == t.name) throw t; + return warning("Error while loading " + this.bx_1 + ": " + t.message), None_getInstance(); } - if (null != tmp$ret$3) return to(index_1, tmp$ret$3); - } while (index_1 !== last_1); - } - return null; - } - function substringAfterLast_0(_this__u8e3s4, delimiter, missingDelimiterValue) { - var tmp, index = lastIndexOf$default_0(_this__u8e3s4, delimiter, 0, !1, 6, null); - if (-1 === index) tmp = missingDelimiterValue; else { - var tmp0_substring = index + 1 | 0, tmp1_substring = _this__u8e3s4.length; - tmp = _this__u8e3s4.substring(tmp0_substring, tmp1_substring); - } - return tmp; - } - function substringAfterLast$default_0(_this__u8e3s4, delimiter, missingDelimiterValue, $mask0, $handler) { - return 0 != (2 & $mask0) && (missingDelimiterValue = _this__u8e3s4), substringAfterLast_0(_this__u8e3s4, delimiter, missingDelimiterValue); - } - function lastIndexOf_0(_this__u8e3s4, char, startIndex, ignoreCase) { - var tmp; - if (ignoreCase || "string" != typeof _this__u8e3s4) tmp = lastIndexOfAny(_this__u8e3s4, charArrayOf([ char ]), startIndex, ignoreCase); else { - var tmp1_nativeLastIndexOf = _this__u8e3s4, tmp0_nativeLastIndexOf = toString_0(char); - tmp = tmp1_nativeLastIndexOf.lastIndexOf(tmp0_nativeLastIndexOf, startIndex); - } - return tmp; - } - function lastIndexOf$default_0(_this__u8e3s4, char, startIndex, ignoreCase, $mask0, $handler) { - return 0 != (2 & $mask0) && (startIndex = get_lastIndex_3(_this__u8e3s4)), 0 != (4 & $mask0) && (ignoreCase = !1), - lastIndexOf_0(_this__u8e3s4, char, startIndex, ignoreCase); - } - function lastIndexOfAny(_this__u8e3s4, chars, startIndex, ignoreCase) { - if (!ignoreCase && 1 === chars.length && "string" == typeof _this__u8e3s4) { - var tmp1_nativeLastIndexOf = _this__u8e3s4, tmp0_nativeLastIndexOf = toString_0(single(chars)); - return tmp1_nativeLastIndexOf.lastIndexOf(tmp0_nativeLastIndexOf, startIndex); + throw this.y6_1; + + case 5: + this.w6_1 = 6; + var result = this.ex_1, tmp2_safe_receiver = null == result ? null : removePrefix(result, this.dx_1); + return null != tmp2_safe_receiver ? endsWith(tmp2_safe_receiver, this.bx_1) ? new Exact(tmp2_safe_receiver) : new Partial(tmp2_safe_receiver) : (info("Cache was not found for version=" + this.dx_1 + ", primaryKey=" + this.bx_1 + ", restore keys=" + joinToString(this.cx_1, ", ")), + None_getInstance()); + + case 6: + throw this.y6_1; + } + } catch ($p) { + var e = $p; + if (6 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; } - var inductionVariable = coerceAtMost(startIndex, get_lastIndex_3(_this__u8e3s4)); - if (0 <= inductionVariable) do { - var index = inductionVariable; - inductionVariable = inductionVariable + -1 | 0; - var tmp$ret$4, charAtIndex = charSequenceGet(_this__u8e3s4, index); - $l$block: { - for (var indexedObject = chars, inductionVariable_0 = 0, last = indexedObject.length; inductionVariable_0 < last; ) { - var element = indexedObject[inductionVariable_0]; - if (inductionVariable_0 = inductionVariable_0 + 1 | 0, equals(element, charAtIndex, ignoreCase)) { - tmp$ret$4 = !0; - break $l$block; + }, protoOf($saveAndLogCOROUTINE$1).d7 = function() { + var suspendResult = this.x6_1; + $sm: for (;;) try { + switch (this.v6_1) { + case 0: + this.w6_1 = 3, this.w6_1 = 2; + var this_0 = this.yx_1; + this.cy_1 = copyToArray(this_0); + this.dy_1 = this.ay_1 + this.zx_1; + this.ey_1 = void 0; + if (this.fy_1 = void 0, this.v6_1 = 1, (suspendResult = awaitPromiseLike(saveCache(this.cy_1, this.dy_1, this.ey_1, this.fy_1), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 1: + this.by_1 = suspendResult, this.w6_1 = 3, this.v6_1 = 4; + continue $sm; + + case 2: + if (this.w6_1 = 3, this.y6_1 instanceof Error) { + var t = this.y6_1, tmp3_subject = t.name; + if ("ValidationError" == tmp3_subject) throw t; + if ("ReserveCacheError" == tmp3_subject) { + var tmp0_elvis_lhs = t.message; + info(null == tmp0_elvis_lhs ? "Unknown ReserveCacheError" : tmp0_elvis_lhs); + } else { + var tmp4_safe_receiver = t.message; + !0 === (null == tmp4_safe_receiver ? null : contains(tmp4_safe_receiver, "Cache already exists")) ? info("Error while uploading " + this.zx_1 + ": " + t.message) : warning("Error while uploading " + this.zx_1 + ": " + t.message); } + this.by_1 = Unit_instance, this.v6_1 = 4; + continue $sm; } - tmp$ret$4 = !1; + throw this.y6_1; + + case 3: + throw this.y6_1; + + case 4: + return this.w6_1 = 3, Unit_instance; } - if (tmp$ret$4) return index; - } while (0 <= inductionVariable); - return -1; + } catch ($p) { + var e = $p; + if (3 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; + } + }, protoOf(Exact).toString = function() { + return "Exact(path=" + this.gy_1 + ")"; + }, protoOf(Exact).hashCode = function() { + return getStringHashCode(this.gy_1); + }, protoOf(Exact).equals = function(other) { + if (this === other) return !0; + if (!(other instanceof Exact)) return !1; + var tmp0_other_with_cast = other instanceof Exact ? other : THROW_CCE(); + return this.gy_1 === tmp0_other_with_cast.gy_1; + }, protoOf(Partial).toString = function() { + return "Partial(path=" + this.hy_1 + ")"; + }, protoOf(Partial).hashCode = function() { + return getStringHashCode(this.hy_1); + }, protoOf(Partial).equals = function(other) { + if (this === other) return !0; + if (!(other instanceof Partial)) return !1; + var tmp0_other_with_cast = other instanceof Partial ? other : THROW_CCE(); + return this.hy_1 === tmp0_other_with_cast.hy_1; + }, protoOf(None).toString = function() { + return "None"; + }, protoOf(Unknown).toString = function() { + return "Unknown"; + }, _.$_$ = _.$_$ || {}, _.$_$.a = Exact, _.$_$.b = Partial, _.$_$.c = function(paths, primaryKey, restoreKeys, version, $completion) { + var tmp_0 = new $restoreAndLogCOROUTINE$0(paths, primaryKey, restoreKeys = restoreKeys === VOID ? emptyList() : restoreKeys, version, $completion); + return tmp_0.x6_1 = Unit_instance, tmp_0.y6_1 = null, tmp_0.d7(); + }, _.$_$.d = function(paths, key, version, $completion) { + var tmp = new $saveAndLogCOROUTINE$1(paths, key, version, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); + }, _.$_$.e = None_getInstance, _.$_$.f = function() { + return null == Unknown_instance && new Unknown, Unknown_instance; + }; + }(module.exports, __webpack_require__(9989), __webpack_require__(4613), __webpack_require__(7036), __webpack_require__(6077)); + }, + 7361: (module, __unused_webpack_exports, __webpack_require__) => { + !function(_, node_process_process_dcpv5o, $module$_actions_core_fx0i1v, $module$_actions_exec_fwz1pt, $module$_actions_glob_fwy0ei, kotlin_kotlin, kotlin_org_jetbrains_kotlin_wrappers_kotlin_js, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_org_jetbrains_kotlin_wrappers_kotlin_node) { + "use strict"; + var ActionStage_PRE_instance, ActionStage_MAIN_instance, ActionStage_POST_instance, ActionStage_entriesInitialized, ActionsEnvironment_instance, Environment_instance, LINE_SEPARATOR, properties_initialized_InputExtensions_kt_l1mje6, getInput = $module$_actions_core_fx0i1v.getInput, exec = $module$_actions_exec_fwz1pt.exec, create = $module$_actions_glob_fwy0ei.create, VOID = kotlin_kotlin.$_$.c, extendThrowable = kotlin_kotlin.$_$.y4, captureStack = kotlin_kotlin.$_$.q4, protoOf = kotlin_kotlin.$_$.t5, defineProp = kotlin_kotlin.$_$.w4, initMetadataForClass = kotlin_kotlin.$_$.e5, Unit_instance = kotlin_kotlin.$_$.w1, Enum = kotlin_kotlin.$_$.l7, initMetadataForObject = kotlin_kotlin.$_$.j5, KProperty1 = kotlin_kotlin.$_$.e6, getPropertyCallableRef = kotlin_kotlin.$_$.b5, collectionSizeOrDefault = kotlin_kotlin.$_$.f2, ArrayList_init_$Create$ = kotlin_kotlin.$_$.g, THROW_CCE = kotlin_kotlin.$_$.r7, isCharSequence = kotlin_kotlin.$_$.k5, trim = kotlin_kotlin.$_$.i7, toString = kotlin_kotlin.$_$.v5, ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.h, charSequenceLength = kotlin_kotlin.$_$.u4, Regex_init_$Create$ = kotlin_kotlin.$_$.u, CoroutineImpl = kotlin_kotlin.$_$.i4, ensureNotNull = kotlin_kotlin.$_$.x7, awaitPromiseLike = kotlin_org_jetbrains_kotlin_wrappers_kotlin_js.$_$.a, get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.t3, numberToInt = kotlin_kotlin.$_$.q5, joinToString = kotlin_kotlin.$_$.u2, initMetadataForCoroutine = kotlin_kotlin.$_$.g5, CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d, isInterface = kotlin_kotlin.$_$.l5, unlink = kotlin_org_jetbrains_kotlin_wrappers_kotlin_node.$_$.f, initMetadataForLambda = kotlin_kotlin.$_$.i5, launch = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e, supervisorScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b; + function ActionFailedException(message, cause) { + extendThrowable(this, message, cause = cause === VOID ? null : cause), captureStack(this, ActionFailedException), + this.pt_1 = message; } - function splitToSequence$lambda($this_splitToSequence) { - return function(it) { - return substring($this_splitToSequence, it); - }; + function ActionStage_initEntries() { + if (ActionStage_entriesInitialized) return Unit_instance; + ActionStage_entriesInitialized = !0, ActionStage_PRE_instance = new ActionStage("PRE", 0), + ActionStage_MAIN_instance = new ActionStage("MAIN", 1), ActionStage_POST_instance = new ActionStage("POST", 2); } - function rangesDelimitedBy$lambda($delimitersList, $ignoreCase) { - return function($this$$receiver, currentIndex) { - var tmp0_safe_receiver = findAnyOf($this$$receiver, $delimitersList, currentIndex, $ignoreCase, !1); - return null == tmp0_safe_receiver ? null : to(tmp0_safe_receiver.r2_1, tmp0_safe_receiver.s2_1.length); - }; + function ActionStage(name, ordinal) { + Enum.call(this, name, ordinal); } - function get_UNDEFINED_RESULT() { - return init_properties_DeepRecursive_kt_b2anle(), UNDEFINED_RESULT; + function ActionStage_PRE_getInstance() { + return ActionStage_initEntries(), ActionStage_PRE_instance; } - function DeepRecursiveScope() {} - function invoke(_this__u8e3s4, value) { - return init_properties_DeepRecursive_kt_b2anle(), new DeepRecursiveScopeImpl(_this__u8e3s4.k5_1, value).p5(); + function ActionStage_MAIN_getInstance() { + return ActionStage_initEntries(), ActionStage_MAIN_instance; } - function DeepRecursiveFunction(block) { - this.k5_1 = block; + function ActionStage_POST_getInstance() { + return ActionStage_initEntries(), ActionStage_POST_instance; } - function DeepRecursiveScopeImpl(block, value) { - DeepRecursiveScope.call(this), this.l5_1 = isSuspendFunction(block, 2) ? block : THROW_CCE(), - this.m5_1 = value, this.n5_1 = isInterface(this, Continuation) ? this : THROW_CCE(), - this.o5_1 = get_UNDEFINED_RESULT(); + function ActionsEnvironment() { + ActionsEnvironment_instance = this, this.qt_1 = Environment_instance, this.rt_1 = Environment_instance, + this.st_1 = Environment_instance, this.tt_1 = Environment_instance, this.ut_1 = Environment_instance, + this.vt_1 = Environment_instance, this.wt_1 = Environment_instance, this.xt_1 = Environment_instance, + this.yt_1 = Environment_instance, this.zt_1 = Environment_instance, this.au_1 = Environment_instance, + this.bu_1 = Environment_instance, this.cu_1 = Environment_instance, this.du_1 = Environment_instance, + this.eu_1 = Environment_instance, this.fu_1 = Environment_instance, this.gu_1 = Environment_instance, + this.hu_1 = Environment_instance; + } + function Environment() {} + function _init_properties_InputExtensions_kt__kgrvsk() { + properties_initialized_InputExtensions_kt_l1mje6 || (properties_initialized_InputExtensions_kt_l1mje6 = !0, + LINE_SEPARATOR = Regex_init_$Create$("[\r\n]+")); } - function init_properties_DeepRecursive_kt_b2anle() { - var tmp$ret$0; - properties_initialized_DeepRecursive_kt_5z0al2 || (properties_initialized_DeepRecursive_kt_5z0al2 = !0, - Companion_getInstance_4(), tmp$ret$0 = _Result___init__impl__xyqfz8(get_COROUTINE_SUSPENDED()), - UNDEFINED_RESULT = tmp$ret$0); + function ExecResult(exitCode, stdout, stderr) { + this.ou_1 = exitCode, this.pu_1 = stdout, this.qu_1 = stderr; } - function LazyThreadSafetyMode_initEntries() { - if (LazyThreadSafetyMode_entriesInitialized) return Unit_getInstance(); - LazyThreadSafetyMode_entriesInitialized = !0, new LazyThreadSafetyMode("SYNCHRONIZED", 0), - LazyThreadSafetyMode_PUBLICATION_instance = new LazyThreadSafetyMode("PUBLICATION", 1), - new LazyThreadSafetyMode("NONE", 2); + function exec$lambda(_this__u8e3s4) { + return Unit_instance; } - function LazyThreadSafetyMode(name, ordinal) { - Enum.call(this, name, ordinal); + function exec$lambda_0($stdout) { + return function(it) { + return $stdout.e("" + it), Unit_instance; + }; } - function UnsafeLazyImpl(initializer) { - this.s5_1 = initializer, this.t5_1 = UNINITIALIZED_VALUE_getInstance(); + function exec$lambda_1($stderr) { + return function(it) { + return $stderr.e("" + it), Unit_instance; + }; } - function UNINITIALIZED_VALUE() { - UNINITIALIZED_VALUE_instance = this; + function $execCOROUTINE$0(commandLine, args, captureOutput, options, resultContinuation) { + CoroutineImpl.call(this, resultContinuation), this.zu_1 = commandLine, this.av_1 = args, + this.bv_1 = captureOutput, this.cv_1 = options; } - function UNINITIALIZED_VALUE_getInstance() { - return null == UNINITIALIZED_VALUE_instance && new UNINITIALIZED_VALUE, UNINITIALIZED_VALUE_instance; + function removeFiles$slambda$slambda($file, resultContinuation) { + this.ew_1 = $file, CoroutineImpl.call(this, resultContinuation); } - function LazyThreadSafetyMode_PUBLICATION_getInstance() { - return LazyThreadSafetyMode_initEntries(), LazyThreadSafetyMode_PUBLICATION_instance; + function removeFiles$slambda$slambda_0($file, resultContinuation) { + var i = new removeFiles$slambda$slambda($file, resultContinuation), l = function($this$launch, $completion) { + return i.gw($this$launch, $completion); + }; + return l.$arity = 1, l; } - function _Result___init__impl__xyqfz8(value) { - return value; + function removeFiles$slambda($fileNames, resultContinuation) { + this.qw_1 = $fileNames, CoroutineImpl.call(this, resultContinuation); } - function _Result___get_value__impl__bjfvqg($this) { - return $this; + function removeFiles$slambda_0($fileNames, resultContinuation) { + var i = new removeFiles$slambda($fileNames, resultContinuation), l = function($this$supervisorScope, $completion) { + return i.gw($this$supervisorScope, $completion); + }; + return l.$arity = 1, l; + } + function $removeFilesCOROUTINE$1(files, resultContinuation) { + CoroutineImpl.call(this, resultContinuation), this.qv_1 = files; + } + initMetadataForClass(ActionFailedException, "ActionFailedException", VOID, Error), + initMetadataForClass(ActionStage, "ActionStage", VOID, Enum), initMetadataForObject(ActionsEnvironment, "ActionsEnvironment"), + initMetadataForObject(Environment, "Environment"), initMetadataForClass(ExecResult, "ExecResult"), + initMetadataForCoroutine($execCOROUTINE$0, CoroutineImpl), initMetadataForLambda(removeFiles$slambda$slambda, CoroutineImpl, VOID, [ 1 ]), + initMetadataForLambda(removeFiles$slambda, CoroutineImpl, VOID, [ 1 ]), initMetadataForCoroutine($removeFilesCOROUTINE$1, CoroutineImpl), + protoOf(ActionFailedException).p7 = function() { + return this.pt_1; + }, protoOf(ActionsEnvironment).iu = function() { + return this.rt_1.ju(this, getPropertyCallableRef("GITHUB_WORKFLOW", 1, KProperty1, (function(receiver) { + return receiver.iu(); + }), null)); + }, protoOf(ActionsEnvironment).ku = function() { + return this.xt_1.ju(this, getPropertyCallableRef("GITHUB_EVENT_NAME", 1, KProperty1, (function(receiver) { + return receiver.ku(); + }), null)); + }, protoOf(ActionsEnvironment).lu = function() { + return this.yt_1.ju(this, getPropertyCallableRef("GITHUB_EVENT_PATH", 1, KProperty1, (function(receiver) { + return receiver.lu(); + }), null)); + }, protoOf(ActionsEnvironment).mu = function() { + return this.au_1.ju(this, getPropertyCallableRef("GITHUB_SHA", 1, KProperty1, (function(receiver) { + return receiver.mu(); + }), null)); + }, protoOf(ActionsEnvironment).nu = function() { + return this.hu_1.ju(this, getPropertyCallableRef("RUNNER_OS", 1, KProperty1, (function(receiver) { + return receiver.nu(); + }), null)); + }, protoOf(Environment).ju = function(environment, property) { + var tmp0_elvis_lhs = node_process_process_dcpv5o.env[property.callableName]; + if (null == tmp0_elvis_lhs) throw new ActionFailedException(property.callableName + " is not found in process.env"); + return tmp0_elvis_lhs; + }, protoOf($execCOROUTINE$0).d7 = function() { + var suspendResult = this.x6_1; + $sm: for (;;) try { + switch (this.v6_1) { + case 0: + this.w6_1 = 2; + this.dv_1 = ArrayList_init_$Create$_0(); + this.ev_1 = ArrayList_init_$Create$_0(); + this.fv_1 = this.zu_1; + this.gv_1 = this.av_1.slice(); + var this_0 = {}; + if (this_0.listeners = {}, this.cv_1(this_0), this.bv_1) ensureNotNull(this_0.listeners).stdout = exec$lambda_0(this.dv_1), + ensureNotNull(this_0.listeners).stderr = exec$lambda_1(this.ev_1); + if (this.hv_1 = this_0, this.v6_1 = 1, (suspendResult = awaitPromiseLike(exec(this.fv_1, this.gv_1, this.hv_1), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 1: + return new ExecResult(numberToInt(suspendResult), joinToString(this.dv_1, "\n"), joinToString(this.ev_1, "\n")); + + case 2: + throw this.y6_1; + } + } catch ($p) { + var e = $p; + if (2 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; + } + }, protoOf(removeFiles$slambda$slambda).gw = function($this$launch, $completion) { + var tmp = this.hw($this$launch, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); + }, protoOf(removeFiles$slambda$slambda).c8 = function(p1, $completion) { + return this.gw(null != p1 && isInterface(p1, CoroutineScope) ? p1 : THROW_CCE(), $completion); + }, protoOf(removeFiles$slambda$slambda).d7 = function() { + var suspendResult = this.x6_1; + $sm: for (;;) try { + switch (this.v6_1) { + case 0: + if (this.w6_1 = 2, this.v6_1 = 1, (suspendResult = unlink(this.ew_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 1: + return Unit_instance; + + case 2: + throw this.y6_1; + } + } catch ($p) { + var e = $p; + if (2 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; + } + }, protoOf(removeFiles$slambda$slambda).hw = function($this$launch, completion) { + var i = new removeFiles$slambda$slambda(this.ew_1, completion); + return i.fw_1 = $this$launch, i; + }, protoOf(removeFiles$slambda).gw = function($this$supervisorScope, $completion) { + var tmp = this.hw($this$supervisorScope, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); + }, protoOf(removeFiles$slambda).c8 = function(p1, $completion) { + return this.gw(null != p1 && isInterface(p1, CoroutineScope) ? p1 : THROW_CCE(), $completion); + }, protoOf(removeFiles$slambda).d7 = function() { + for (this.x6_1; ;) try { + var tmp = this.v6_1; + if (0 === tmp) { + this.w6_1 = 1; + for (var indexedObject = this.qw_1, inductionVariable = 0, last = indexedObject.length; inductionVariable < last; ) { + var file = indexedObject[inductionVariable]; + inductionVariable = inductionVariable + 1 | 0, launch(this.rw_1, VOID, VOID, removeFiles$slambda$slambda_0(file, null)); + } + return Unit_instance; + } + if (1 === tmp) throw this.y6_1; + } catch ($p) { + throw $p; + } + }, protoOf(removeFiles$slambda).hw = function($this$supervisorScope, completion) { + var i = new removeFiles$slambda(this.qw_1, completion); + return i.rw_1 = $this$supervisorScope, i; + }, protoOf($removeFilesCOROUTINE$1).d7 = function() { + var suspendResult = this.x6_1; + $sm: for (;;) try { + switch (this.v6_1) { + case 0: + if (this.w6_1 = 4, this.qv_1.q()) return Unit_instance; + this.rv_1 = joinToString(this.qv_1, "\n"); + if (this.sv_1 = void 0, this.v6_1 = 1, (suspendResult = awaitPromiseLike(create(this.rv_1, this.sv_1), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 1: + this.tv_1 = suspendResult; + if (this.uv_1 = this.tv_1.glob(), this.v6_1 = 2, (suspendResult = awaitPromiseLike(this.uv_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 2: + if (this.vv_1 = suspendResult, this.v6_1 = 3, (suspendResult = supervisorScope(removeFiles$slambda_0(this.vv_1, null), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 3: + return Unit_instance; + + case 4: + throw this.y6_1; + } + } catch ($p) { + var e = $p; + if (4 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; + } + }, defineProp(protoOf(ActionFailedException), "message", (function() { + return this.p7(); + })), Environment_instance = new Environment, _.$_$ = _.$_$ || {}, _.$_$.a = function(name, required) { + required = required !== VOID && required, _init_properties_InputExtensions_kt__kgrvsk(); + var this_0 = {}; + return this_0.required = required, getInput(name, this_0); + }, _.$_$.b = function(name, required) { + required = required !== VOID && required, _init_properties_InputExtensions_kt__kgrvsk(); + var this_0 = {}; + this_0.required = required; + for (var this_1 = getInput(name, this_0), this_2 = (_init_properties_InputExtensions_kt__kgrvsk(), + LINE_SEPARATOR).ea(this_1, 0), destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_2, 10)), tmp0_iterator = this_2.h(); tmp0_iterator.i(); ) { + var item = tmp0_iterator.j(), tmp$ret$5 = toString(trim(isCharSequence(item) ? item : THROW_CCE())); + destination.e(tmp$ret$5); + } + for (var destination_0 = ArrayList_init_$Create$_0(), tmp0_iterator_0 = destination.h(); tmp0_iterator_0.i(); ) { + var element = tmp0_iterator_0.j(); + 0 !== charSequenceLength(element) && destination_0.e(element); + } + return destination_0; + }, _.$_$.c = ActionFailedException, _.$_$.d = function() { + return [ ActionStage_PRE_getInstance(), ActionStage_MAIN_getInstance(), ActionStage_POST_getInstance() ]; + }, _.$_$.e = ActionStage_MAIN_getInstance, _.$_$.f = ActionStage_POST_getInstance, + _.$_$.g = function(commandLine, args, captureOutput, options, $completion) { + var tmp_0 = new $execCOROUTINE$0(commandLine, args, captureOutput = captureOutput !== VOID && captureOutput, options = options === VOID ? exec$lambda : options, $completion); + return tmp_0.x6_1 = Unit_instance, tmp_0.y6_1 = null, tmp_0.d7(); + }, _.$_$.h = function(files, $completion) { + var tmp = new $removeFilesCOROUTINE$1(files, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); + }, _.$_$.i = function() { + return null == ActionsEnvironment_instance && new ActionsEnvironment, ActionsEnvironment_instance; + }; + }(module.exports, __webpack_require__(1708), __webpack_require__(4613), __webpack_require__(3021), __webpack_require__(3675), __webpack_require__(7036), __webpack_require__(6077), __webpack_require__(9613), __webpack_require__(4350)); + }, + 191: (module, __unused_webpack_exports, __webpack_require__) => { + !function(_, $module$java_properties_jp8gnq, kotlin_kotlin) { + "use strict"; + var NEWLINE, properties_initialized_parseString_kt_7cjk5o, PropertiesFile = $module$java_properties_jp8gnq.PropertiesFile, Regex_init_$Create$ = (kotlin_kotlin.$_$.w1, + kotlin_kotlin.$_$.u); + function _init_properties_parseString_kt__e3ypda() { + properties_initialized_parseString_kt_7cjk5o || (properties_initialized_parseString_kt_7cjk5o = !0, + NEWLINE = Regex_init_$Create$("\\s*[\r\n]+\\s*")); } - function _Result___get_isFailure__impl__jpiriv($this) { - return _Result___get_value__impl__bjfvqg($this) instanceof Failure; + _.$_$ = _.$_$ || {}, _.$_$.a = function(text) { + _init_properties_parseString_kt__e3ypda(); + for (var this_0 = new (Function.bind.apply(PropertiesFile, [ null ])), _iterator__ex2g4s = (_init_properties_parseString_kt__e3ypda(), + NEWLINE).ea(text, 0).h(); _iterator__ex2g4s.i(); ) { + var line = _iterator__ex2g4s.j(); + this_0.makeKeys(line); + } + return this_0; + }; + }(module.exports, __webpack_require__(7265), __webpack_require__(7036)); + }, + 3838: (module, __unused_webpack_exports, __webpack_require__) => { + !function(_, kotlin_kotlin) { + "use strict"; + var Long = kotlin_kotlin.$_$.p7, toLong = kotlin_kotlin.$_$.u5; + _.$_$ = _.$_$ || {}, _.$_$.a = function(_this__u8e3s4) { + var tmp; + if (_this__u8e3s4.b1(new Long(5120, 0)) < 0) tmp = _this__u8e3s4.toString() + " B"; else if (_this__u8e3s4.b1(new Long(6164480, 0)) < 0) tmp = _this__u8e3s4.z1(new Long(512, 0)).c2(new Long(1024, 0)).toString() + " KiB"; else { + var tmp$ret$2 = new Long(5, 0).b2(toLong(1024)).b2(toLong(1204)).b2(toLong(1024)); + if (_this__u8e3s4.b1(tmp$ret$2) < 0) { + var tmp$ret$3 = new Long(512, 0).b2(toLong(1024)), tmp_0 = _this__u8e3s4.z1(tmp$ret$3), tmp$ret$4 = new Long(1024, 0).b2(toLong(1024)); + tmp = tmp_0.c2(tmp$ret$4).toString() + " MiB"; + } else { + var tmp$ret$6 = new Long(512, 0).b2(toLong(1024)).b2(toLong(1024)), tmp_1 = _this__u8e3s4.z1(tmp$ret$6), tmp$ret$8 = new Long(1024, 0).b2(toLong(1024)).b2(toLong(1024)); + tmp = tmp_1.c2(tmp$ret$8).toString() + " GiB"; + } + } + return tmp; + }; + }(module.exports, __webpack_require__(7036)); + }, + 3138: (module, __unused_webpack_exports, __webpack_require__) => { + !function(_, $module$node_os_4svwl4, $module$node_fs_4svwsv, kotlin_kotlin, kotlin_org_jetbrains_kotlin_wrappers_kotlin_node) { + "use strict"; + var homedir = $module$node_os_4svwl4.homedir, existsSync = $module$node_fs_4svwsv.existsSync, startsWith = kotlin_kotlin.$_$.u6, Unit_instance = kotlin_kotlin.$_$.w1, CoroutineImpl = kotlin_kotlin.$_$.i4, mkdir = kotlin_org_jetbrains_kotlin_wrappers_kotlin_node.$_$.b, get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.t3, protoOf = kotlin_kotlin.$_$.t5, initMetadataForCoroutine = kotlin_kotlin.$_$.g5, VOID = kotlin_kotlin.$_$.c, finished = kotlin_org_jetbrains_kotlin_wrappers_kotlin_node.$_$.h; + function get_normalizedPath(_this__u8e3s4) { + var tmp; + startsWith(_this__u8e3s4, "~") ? tmp = homedir() + _this__u8e3s4.substring(1) : tmp = _this__u8e3s4; + return tmp; } - function Result__exceptionOrNull_impl_p6xea9($this) { - return _Result___get_value__impl__bjfvqg($this) instanceof Failure ? _Result___get_value__impl__bjfvqg($this).v5_1 : null; + function exists(path) { + return existsSync(get_normalizedPath(path)); } - function Result__toString_impl_yu5r8k($this) { - return _Result___get_value__impl__bjfvqg($this) instanceof Failure ? toString_2(_Result___get_value__impl__bjfvqg($this)) : "Success(" + toString_1(_Result___get_value__impl__bjfvqg($this)) + ")"; + function $mkdirCOROUTINE$0(path, resultContinuation) { + CoroutineImpl.call(this, resultContinuation), this.ot_1 = path; } - function Companion_4() { - Companion_instance_4 = this; + initMetadataForCoroutine($mkdirCOROUTINE$0, CoroutineImpl), protoOf($mkdirCOROUTINE$0).d7 = function() { + var suspendResult = this.x6_1; + $sm: for (;;) try { + switch (this.v6_1) { + case 0: + if (this.w6_1 = 3, exists(this.ot_1)) { + this.v6_1 = 2; + continue $sm; + } + this.v6_1 = 1; + var this_0 = { + recursive: !0 + }; + if ((suspendResult = mkdir(this.ot_1, this_0, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 1: + this.v6_1 = 2; + continue $sm; + + case 2: + return Unit_instance; + + case 3: + throw this.y6_1; + } + } catch ($p) { + var e = $p; + if (3 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; + } + }, _.$_$ = _.$_$ || {}, _.$_$.a = exists, _.$_$.b = get_normalizedPath, _.$_$.c = function(path, $completion) { + var tmp = new $mkdirCOROUTINE$0(path, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); + }, _.$_$.d = function(_this__u8e3s4, destination, end, $completion) { + end = end !== VOID && end; + var this_0 = {}; + return this_0.end = end, _this__u8e3s4.pipe(destination, this_0), finished(_this__u8e3s4, VOID, $completion); + }; + }(module.exports, __webpack_require__(8161), __webpack_require__(3024), __webpack_require__(7036), __webpack_require__(4350)); + }, + 5527: (module, __unused_webpack_exports, __webpack_require__) => { + !function(_, kotlin_kotlin, kotlin_gradle_cache_action_wrappers_actions_toolkit, kotlin_org_jetbrains_kotlin_wrappers_kotlin_node) { + "use strict"; + var protoOf = kotlin_kotlin.$_$.t5, initMetadataForClass = kotlin_kotlin.$_$.e5, VOID = kotlin_kotlin.$_$.c, Unit_instance = kotlin_kotlin.$_$.w1, CoroutineImpl = kotlin_kotlin.$_$.i4, ActionsEnvironment_getInstance = kotlin_gradle_cache_action_wrappers_actions_toolkit.$_$.i, readFile = kotlin_org_jetbrains_kotlin_wrappers_kotlin_node.$_$.c, get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.t3, THROW_CCE = kotlin_kotlin.$_$.r7, initMetadataForCoroutine = kotlin_kotlin.$_$.g5; + function PullRequest(event) { + ActionsTrigger.call(this, "pull_request", event), this.w1s_1 = event; } - function Companion_getInstance_4() { - return null == Companion_instance_4 && new Companion_4, Companion_instance_4; + function BranchPush(event) { + ActionsTrigger.call(this, "push", event), this.z1s_1 = event; } - function Failure(exception) { - this.v5_1 = exception; + function WorkflowDispatch(event) { + ActionsTrigger.call(this, "workflow_dispatch", event), this.c1t_1 = event; } - function Result__hashCode_impl_d2zufp($this) { - return null == $this ? 0 : hashCode($this); + function Schedule(name, event) { + ActionsTrigger.call(this, name, event); } - function Result__equals_impl_bxgmep($this, other) { - return other instanceof Result && !!equals_0($this, other instanceof Result ? other.w5_1 : THROW_CCE()); + function Other(name, event) { + ActionsTrigger.call(this, name, event); } - function Result(value) { - Companion_getInstance_4(), this.w5_1 = value; + function ActionsTrigger(name, event) { + this.d1t_1 = name, this.e1t_1 = event; } - function createFailure(exception) { - return new Failure(exception); + function $currentTriggerCOROUTINE$0(resultContinuation) { + CoroutineImpl.call(this, resultContinuation); } - function throwOnFailure(_this__u8e3s4) { - if (_Result___get_value__impl__bjfvqg(_this__u8e3s4) instanceof Failure) throw _Result___get_value__impl__bjfvqg(_this__u8e3s4).v5_1; + initMetadataForClass(ActionsTrigger, "ActionsTrigger"), initMetadataForClass(PullRequest, "PullRequest", VOID, ActionsTrigger), + initMetadataForClass(BranchPush, "BranchPush", VOID, ActionsTrigger), initMetadataForClass(WorkflowDispatch, "WorkflowDispatch", VOID, ActionsTrigger), + initMetadataForClass(Schedule, "Schedule", VOID, ActionsTrigger), initMetadataForClass(Other, "Other", VOID, ActionsTrigger), + initMetadataForCoroutine($currentTriggerCOROUTINE$0, CoroutineImpl), protoOf($currentTriggerCOROUTINE$0).d7 = function() { + var suspendResult = this.x6_1; + $sm: for (;;) try { + switch (this.v6_1) { + case 0: + this.w6_1 = 2, this.v6_1 = 1; + var tmp_0 = ActionsEnvironment_getInstance().lu(); + if ((suspendResult = readFile(tmp_0, "utf8", this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 1: + var tmp_1, eventString = suspendResult, event = JSON.parse(eventString), eventName = ActionsEnvironment_getInstance().ku(); + switch (eventName) { + case "pull_request": + tmp_1 = new PullRequest(null != event ? event : THROW_CCE()); + break; + + case "push": + tmp_1 = new BranchPush(null != event ? event : THROW_CCE()); + break; + + case "workflow_dispatch": + tmp_1 = new WorkflowDispatch(null != event ? event : THROW_CCE()); + break; + + case "schedule": + tmp_1 = new Schedule(eventName, event); + break; + + default: + tmp_1 = new Other(eventName, event); + } + return tmp_1; + + case 2: + throw this.y6_1; + } + } catch ($p) { + var e = $p; + if (2 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; + } + }, _.$_$ = _.$_$ || {}, _.$_$.a = function($completion) { + var tmp = new $currentTriggerCOROUTINE$0($completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); + }, _.$_$.b = BranchPush, _.$_$.c = Other, _.$_$.d = PullRequest, _.$_$.e = Schedule, + _.$_$.f = WorkflowDispatch; + }(module.exports, __webpack_require__(7036), __webpack_require__(7361), __webpack_require__(4350)); + }, + 6077: (module, __unused_webpack_exports, __webpack_require__) => { + !function(_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core) { + "use strict"; + var constructor = class { + static [Symbol.hasInstance](instance) { + return instance && "object" == typeof instance && !1 === instance.done; + } + }.prototype.constructor, VOID = kotlin_kotlin.$_$.c, protoOf = kotlin_kotlin.$_$.t5, initMetadataForClass = kotlin_kotlin.$_$.e5, CoroutineImpl = (kotlin_kotlin.$_$.g6, + kotlin_kotlin.$_$.i4), Unit_instance = kotlin_kotlin.$_$.w1, THROW_CCE = kotlin_kotlin.$_$.r7, SequenceScope = kotlin_kotlin.$_$.f6, get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.t3, initMetadataForLambda = kotlin_kotlin.$_$.i5, await_0 = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a; + kotlin_kotlin.$_$.k4, kotlin_kotlin.$_$.j4; + function AsyncIteratorAdapter(source) { + this.gp_1 = source, this.hp_1 = null; + } + function iteratorFor$slambda($source, resultContinuation) { + this.qp_1 = $source, CoroutineImpl.call(this, resultContinuation); + } + initMetadataForClass(AsyncIteratorAdapter, "AsyncIteratorAdapter", VOID, VOID, VOID, [ 0 ]), + initMetadataForLambda(iteratorFor$slambda, CoroutineImpl, VOID, [ 1 ]), protoOf(iteratorFor$slambda).vp = function($this$iterator, $completion) { + var tmp = this.wp($this$iterator, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); + }, protoOf(iteratorFor$slambda).c8 = function(p1, $completion) { + return this.vp(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion); + }, protoOf(iteratorFor$slambda).d7 = function() { + var suspendResult = this.x6_1; + $sm: for (;;) try { + switch (this.v6_1) { + case 0: + this.w6_1 = 5, this.v6_1 = 1; + continue $sm; + + case 1: + var tmp_1 = this.qp_1.next(); + if (this.sp_1 = tmp_1 instanceof constructor ? tmp_1 : null, null == this.sp_1) { + this.v6_1 = 4; + continue $sm; + } + this.tp_1 = this.sp_1, this.v6_1 = 2; + continue $sm; + + case 2: + if (this.up_1 = this.tp_1, this.v6_1 = 3, (suspendResult = this.rp_1.sc(this.up_1.value, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 3: + this.v6_1 = 1; + continue $sm; + + case 4: + return Unit_instance; + + case 5: + throw this.y6_1; + } + } catch ($p) { + var e = $p; + if (5 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; + } + }, protoOf(iteratorFor$slambda).wp = function($this$iterator, completion) { + var i = new iteratorFor$slambda(this.qp_1, completion); + return i.rp_1 = $this$iterator, i; + }, _.$_$ = _.$_$ || {}, _.$_$.a = function(promise, $completion) { + return await_0(promise, $completion); + }; + }(module.exports, __webpack_require__(7036), __webpack_require__(9613)); + }, + 7036: module => { + var log, LN2; + void 0 === Math.imul && (Math.imul = function(a, b) { + return (4294901760 & a) * (65535 & b) + (65535 & a) * (0 | b) | 0; + }), void 0 === ArrayBuffer.isView && (ArrayBuffer.isView = function(a) { + return null != a && null != a.__proto__ && a.__proto__.__proto__ === Int8Array.prototype.__proto__; + }), void 0 === Array.prototype.fill && Object.defineProperty(Array.prototype, "fill", { + value: function(value) { + if (null == this) throw new TypeError("this is null or not defined"); + for (var O = Object(this), len = O.length >>> 0, relativeStart = arguments[1] | 0, k = relativeStart < 0 ? Math.max(len + relativeStart, 0) : Math.min(relativeStart, len), end = arguments[2], relativeEnd = void 0 === end ? len : end | 0, finalValue = relativeEnd < 0 ? Math.max(len + relativeEnd, 0) : Math.min(relativeEnd, len); k < finalValue; ) O[k] = value, + k++; + return O; + } + }), [ Int8Array, Int16Array, Uint16Array, Int32Array, Float32Array, Float64Array ].forEach((function(TypedArray) { + void 0 === TypedArray.prototype.fill && Object.defineProperty(TypedArray.prototype, "fill", { + value: Array.prototype.fill + }); + })), void 0 === Math.clz32 && (Math.clz32 = (log = Math.log, LN2 = Math.LN2, function(x) { + var asUint = x >>> 0; + return 0 === asUint ? 32 : 31 - (log(asUint) / LN2 | 0) | 0; + })), void 0 === String.prototype.endsWith && Object.defineProperty(String.prototype, "endsWith", { + value: function(searchString, position) { + var subjectString = this.toString(); + (void 0 === position || position > subjectString.length) && (position = subjectString.length), + position -= searchString.length; + var lastIndex = subjectString.indexOf(searchString, position); + return -1 !== lastIndex && lastIndex === position; } - function NotImplementedError(message) { - Error_init_$Init$(message, this), captureStack(this, NotImplementedError); + }), void 0 === String.prototype.startsWith && Object.defineProperty(String.prototype, "startsWith", { + value: function(searchString, position) { + return position = position || 0, this.lastIndexOf(searchString, position) === position; } - function Pair(first, second) { - this.r2_1 = first, this.s2_1 = second; + }), function(_) { + "use strict"; + var Unit_instance, Companion_instance_0, buf, bufFloat64, bufInt32, lowIndex, highIndex, properties_initialized_bitUtils_kt_i2bo3e, symbolMap, symbolWeakMap, ZERO, ONE, NEG_ONE, MAX_VALUE, MIN_VALUE, TWO_PWR_24_, properties_initialized_longJs_kt_4syf89, globalInterfaceId, StringCompanionObject_instance, propertyRefClassMetadataCache, properties_initialized_reflectRuntime_kt_inkhwd, VOID, Digit_instance, Companion_instance_1, _stableSortingIsSupported, CompletedContinuation_instance, EmptyContinuation, properties_initialized_EmptyContinuation_kt_4jdb9w, NothingKClassImpl_instance, functionClasses, PrimitiveClasses_instance, properties_initialized_primitives_kt_jle18u, Companion_instance_3, Companion_instance_4, Companion_instance_6, Companion_instance_7, EmptyList_instance, EmptyIterator_instance, EmptyMap_instance, EmptySequence_instance, EmptySet_instance, NaturalOrderComparator_instance, Key_instance, EmptyCoroutineContext_instance, CoroutineSingletons_COROUTINE_SUSPENDED_instance, CoroutineSingletons_UNDECIDED_instance, CoroutineSingletons_RESUMED_instance, CoroutineSingletons_entriesInitialized, Companion_instance_8, Companion_instance_9, UNDEFINED_RESULT, properties_initialized_DeepRecursive_kt_5z0al2, LazyThreadSafetyMode_PUBLICATION_instance, LazyThreadSafetyMode_entriesInitialized, UNINITIALIZED_VALUE_instance, Companion_instance_10, imul = Math.imul, isView = ArrayBuffer.isView, clz32 = Math.clz32; + function plus(context) { + return context === EmptyCoroutineContext_getInstance() ? this : context.td(this, CoroutineContext$plus$lambda); } - function to(_this__u8e3s4, that) { - return new Pair(_this__u8e3s4, that); + function get(key) { + return equals(this.f1(), key) ? isInterface(this, Element) ? this : THROW_CCE() : null; } - function _UShort___init__impl__jigrne(data) { - return data; + function fold(initial, operation) { + return operation(initial, this); } - function _UShort___get_data__impl__g0245($this) { - return $this; + function minusKey(key) { + return equals(this.f1(), key) ? EmptyCoroutineContext_getInstance() : this; } function CharSequence() {} function Comparable() {} function Number_0() {} - function Unit() { - Unit_instance = this; - } - function Unit_getInstance() { - return null == Unit_instance && new Unit, Unit_instance; - } - function IntCompanionObject() { - IntCompanionObject_instance = this, this.MIN_VALUE = -2147483648, this.MAX_VALUE = 2147483647, - this.SIZE_BYTES = 4, this.SIZE_BITS = 32; - } - function IntCompanionObject_getInstance() { - return null == IntCompanionObject_instance && new IntCompanionObject, IntCompanionObject_instance; - } - function Comparator() {} - function listOf_0(element) { - return arrayListOf([ element ]); - } - function mapCapacity(expectedSize) { - return expectedSize; - } - function arrayCopy(source, destination, destinationOffset, startIndex, endIndex) { - Companion_getInstance().z(startIndex, endIndex, source.length); - var rangeSize = endIndex - startIndex | 0; - if (Companion_getInstance().z(destinationOffset, destinationOffset + rangeSize | 0, destination.length), - isView(destination) && isView(source)) { - var subrange = source.subarray(startIndex, endIndex); - destination.set(subrange, destinationOffset); - } else if (source !== destination || destinationOffset <= startIndex) { - var inductionVariable = 0; - if (inductionVariable < rangeSize) do { + function Unit() {} + function indexOf(_this__u8e3s4, element) { + if (null == element) { + var inductionVariable = 0, last = _this__u8e3s4.length - 1 | 0; + if (inductionVariable <= last) do { var index = inductionVariable; - inductionVariable = inductionVariable + 1 | 0, destination[destinationOffset + index | 0] = source[startIndex + index | 0]; - } while (inductionVariable < rangeSize); + if (inductionVariable = inductionVariable + 1 | 0, null == _this__u8e3s4[index]) return index; + } while (inductionVariable <= last); } else { - var inductionVariable_0 = rangeSize - 1 | 0; - if (0 <= inductionVariable_0) do { + var inductionVariable_0 = 0, last_0 = _this__u8e3s4.length - 1 | 0; + if (inductionVariable_0 <= last_0) do { var index_0 = inductionVariable_0; - inductionVariable_0 = inductionVariable_0 + -1 | 0, destination[destinationOffset + index_0 | 0] = source[startIndex + index_0 | 0]; - } while (0 <= inductionVariable_0); + if (inductionVariable_0 = inductionVariable_0 + 1 | 0, equals(element, _this__u8e3s4[index_0])) return index_0; + } while (inductionVariable_0 <= last_0); } + return -1; } - function setOf(element) { - return hashSetOf([ element ]); - } - function mapOf(pair) { - return hashMapOf([ pair ]); - } - function copyToArray(collection) { - return void 0 !== collection.toArray ? collection.toArray() : copyToArrayImpl(collection); + function get_lastIndex(_this__u8e3s4) { + return _this__u8e3s4.length - 1 | 0; } - function copyToArrayImpl(collection) { - for (var array = [], iterator = collection.d(); iterator.e(); ) array.push(iterator.f()); - return array; + function contains_1(_this__u8e3s4, element) { + return function(_this__u8e3s4, element) { + var inductionVariable = 0, last = _this__u8e3s4.length - 1 | 0; + if (inductionVariable <= last) do { + var index = inductionVariable; + if (inductionVariable = inductionVariable + 1 | 0, element === _this__u8e3s4[index]) return index; + } while (inductionVariable <= last); + return -1; + }(_this__u8e3s4, element) >= 0; } - function checkIndexOverflow(index) { - return index < 0 && throwIndexOverflow(), index; + function single(_this__u8e3s4) { + var tmp; + switch (_this__u8e3s4.length) { + case 0: + throw NoSuchElementException_init_$Create$_0("Array is empty."); + + case 1: + tmp = _this__u8e3s4[0]; + break; + + default: + throw IllegalArgumentException_init_$Create$_0("Array has more than one element."); + } + return tmp; } - function AbstractMutableCollection() { - AbstractCollection.call(this); + function joinToString(_this__u8e3s4, separator, prefix, postfix, limit, truncated, transform) { + return separator = separator === VOID ? ", " : separator, prefix = prefix === VOID ? "" : prefix, + postfix = postfix === VOID ? "" : postfix, limit = limit === VOID ? -1 : limit, + truncated = truncated === VOID ? "..." : truncated, transform = transform === VOID ? null : transform, + function(_this__u8e3s4, buffer, separator, prefix, postfix, limit, truncated, transform) { + separator = separator === VOID ? ", " : separator, prefix = prefix === VOID ? "" : prefix, + postfix = postfix === VOID ? "" : postfix, limit = limit === VOID ? -1 : limit, + truncated = truncated === VOID ? "..." : truncated, transform = transform === VOID ? null : transform, + buffer.f(prefix); + var count = 0, inductionVariable = 0, last = _this__u8e3s4.length; + $l$loop: for (;inductionVariable < last; ) { + var element = _this__u8e3s4[inductionVariable]; + if (inductionVariable = inductionVariable + 1 | 0, (count = count + 1 | 0) > 1 && buffer.f(separator), + !(limit < 0 || count <= limit)) break $l$loop; + appendElement(buffer, element, transform); + } + limit >= 0 && count > limit && buffer.f(truncated); + return buffer.f(postfix), buffer; + }(_this__u8e3s4, StringBuilder_init_$Create$_0(), separator, prefix, postfix, limit, truncated, transform).toString(); } - function IteratorImpl_0($outer) { - this.m6_1 = $outer, this.k6_1 = 0, this.l6_1 = -1; + function _no_name_provided__qut3iv($this_asSequence) { + this.g_1 = $this_asSequence; } - function ListIteratorImpl($outer, index) { - this.r6_1 = $outer, IteratorImpl_0.call(this, $outer), Companion_getInstance().y(index, this.r6_1.c()), - this.k6_1 = index; + function joinToString_0(_this__u8e3s4, separator, prefix, postfix, limit, truncated, transform) { + return separator = separator === VOID ? ", " : separator, prefix = prefix === VOID ? "" : prefix, + postfix = postfix === VOID ? "" : postfix, limit = limit === VOID ? -1 : limit, + truncated = truncated === VOID ? "..." : truncated, transform = transform === VOID ? null : transform, + joinTo_0(_this__u8e3s4, StringBuilder_init_$Create$_0(), separator, prefix, postfix, limit, truncated, transform).toString(); } - function AbstractMutableList() { - AbstractMutableCollection.call(this), this.n6_1 = 0; + function joinTo_0(_this__u8e3s4, buffer, separator, prefix, postfix, limit, truncated, transform) { + separator = separator === VOID ? ", " : separator, prefix = prefix === VOID ? "" : prefix, + postfix = postfix === VOID ? "" : postfix, limit = limit === VOID ? -1 : limit, + truncated = truncated === VOID ? "..." : truncated, transform = transform === VOID ? null : transform, + buffer.f(prefix); + var count = 0, tmp0_iterator = _this__u8e3s4.h(); + $l$loop: for (;tmp0_iterator.i(); ) { + var element = tmp0_iterator.j(); + if ((count = count + 1 | 0) > 1 && buffer.f(separator), !(limit < 0 || count <= limit)) break $l$loop; + appendElement(buffer, element, transform); + } + return limit >= 0 && count > limit && buffer.f(truncated), buffer.f(postfix), buffer; } - function AbstractMutableMap$keys$1$iterator$1($entryIterator) { - this.w6_1 = $entryIterator; + function toCollection_0(_this__u8e3s4, destination) { + for (var tmp0_iterator = _this__u8e3s4.h(); tmp0_iterator.i(); ) { + var item = tmp0_iterator.j(); + destination.e(item); + } + return destination; } - function AbstractMutableMap$values$1$iterator$1($entryIterator) { - this.x6_1 = $entryIterator; + function toSet(_this__u8e3s4) { + if (isInterface(_this__u8e3s4, Collection)) { + var tmp; + switch (_this__u8e3s4.k()) { + case 0: + tmp = emptySet(); + break; + + case 1: + tmp = setOf(isInterface(_this__u8e3s4, KtList) ? _this__u8e3s4.p(0) : _this__u8e3s4.h().j()); + break; + + default: + tmp = toCollection_0(_this__u8e3s4, LinkedHashSet_init_$Create$_0(_this__u8e3s4.k())); + } + return tmp; + } + return function(_this__u8e3s4) { + switch (_this__u8e3s4.k()) { + case 0: + return emptySet(); + + case 1: + return setOf(_this__u8e3s4.h().j()); + + default: + return _this__u8e3s4; + } + }(toCollection_0(_this__u8e3s4, LinkedHashSet_init_$Create$())); } - function SimpleEntry(key, value) { - this.y6_1 = key, this.z6_1 = value; + function single_0(_this__u8e3s4) { + if (isInterface(_this__u8e3s4, KtList)) return function(_this__u8e3s4) { + var tmp; + switch (_this__u8e3s4.k()) { + case 0: + throw NoSuchElementException_init_$Create$_0("List is empty."); + + case 1: + tmp = _this__u8e3s4.p(0); + break; + + default: + throw IllegalArgumentException_init_$Create$_0("List has more than one element."); + } + return tmp; + }(_this__u8e3s4); + var iterator = _this__u8e3s4.h(); + if (!iterator.i()) throw NoSuchElementException_init_$Create$_0("Collection is empty."); + var single = iterator.j(); + if (iterator.i()) throw IllegalArgumentException_init_$Create$_0("Collection has more than one element."); + return single; } - function AbstractEntrySet() { - AbstractMutableSet.call(this); + function toMutableList_0(_this__u8e3s4) { + return ArrayList_init_$Create$_1(_this__u8e3s4); } - function AbstractMutableMap$keys$1(this$0) { - this.c7_1 = this$0, AbstractMutableSet.call(this); + function _no_name_provided__qut3iv_0($this_asSequence) { + this.r_1 = $this_asSequence; } - function AbstractMutableMap$values$1(this$0) { - this.i7_1 = this$0, AbstractMutableCollection.call(this); + function until(_this__u8e3s4, to) { + return to <= -2147483648 ? Companion_getInstance_8().s_1 : numberRangeToNumber(_this__u8e3s4, to - 1 | 0); } - function AbstractMutableMap() { - AbstractMap.call(this), this.g7_1 = null, this.h7_1 = null; + function downTo(_this__u8e3s4, to) { + return Companion_instance_9.t(_this__u8e3s4, to, -1); } - function AbstractMutableSet() { - AbstractMutableCollection.call(this); + function coerceAtLeast(_this__u8e3s4, minimumValue) { + return _this__u8e3s4 < minimumValue ? minimumValue : _this__u8e3s4; } - function ArrayList_init_$Init$($this) { - var tmp$ret$0; - return tmp$ret$0 = [], ArrayList.call($this, tmp$ret$0), $this; + function coerceAtMost(_this__u8e3s4, maximumValue) { + return _this__u8e3s4 > maximumValue ? maximumValue : _this__u8e3s4; } - function ArrayList_init_$Create$() { - return ArrayList_init_$Init$(Object.create(ArrayList.prototype)); + function map(_this__u8e3s4, transform) { + return new TransformingSequence(_this__u8e3s4, transform); } - function ArrayList_init_$Init$_0(initialCapacity, $this) { - var tmp$ret$0; - return tmp$ret$0 = [], ArrayList.call($this, tmp$ret$0), $this; + function drop(_this__u8e3s4, n) { + if (!(n >= 0)) throw IllegalArgumentException_init_$Create$_0(toString_1("Requested character count " + n + " is less than zero.")); + var startIndex = coerceAtMost(n, _this__u8e3s4.length); + return _this__u8e3s4.substring(startIndex); } - function ArrayList_init_$Create$_0(initialCapacity) { - return ArrayList_init_$Init$_0(initialCapacity, Object.create(ArrayList.prototype)); + function dropLast(_this__u8e3s4, n) { + if (!(n >= 0)) throw IllegalArgumentException_init_$Create$_0(toString_1("Requested character count " + n + " is less than zero.")); + return function(_this__u8e3s4, n) { + if (!(n >= 0)) { + throw IllegalArgumentException_init_$Create$_0(toString_1("Requested character count " + n + " is less than zero.")); + } + var endIndex = coerceAtMost(n, _this__u8e3s4.length); + return _this__u8e3s4.substring(0, endIndex); + }(_this__u8e3s4, coerceAtLeast(_this__u8e3s4.length - n | 0, 0)); } - function ArrayList_init_$Init$_1(elements, $this) { - var tmp$ret$0; - return tmp$ret$0 = copyToArray(elements), ArrayList.call($this, tmp$ret$0), $this; + function _Char___init__impl__6a9atx(value) { + return value; } - function ArrayList_init_$Create$_1(elements) { - return ArrayList_init_$Init$_1(elements, Object.create(ArrayList.prototype)); + function Char__compareTo_impl_ypi4mb($this, other) { + return $this - other | 0; } - function rangeCheck($this, index) { - return Companion_getInstance().x(index, $this.c()), index; + function Char__minus_impl_a2frrh($this, other) { + return $this - other | 0; } - function insertionRangeCheck($this, index) { - return Companion_getInstance().y(index, $this.c()), index; + function Char__toInt_impl_vasixd($this) { + return $this; } - function ArrayList(array) { - AbstractMutableList.call(this), this.i_1 = array, this.j_1 = !1; - } - function sortArray(array) { - if (getStableSortingIsSupported()) { - var comparison = sortArray$lambda; - array.sort(comparison); - } else mergeSort(array, 0, get_lastIndex(array), naturalOrder()); - } - function getStableSortingIsSupported() { - if (null != _stableSortingIsSupported) return _stableSortingIsSupported; - _stableSortingIsSupported = !1; - var array = [], inductionVariable = 0; - if (inductionVariable < 600) do { - var index = inductionVariable; - inductionVariable = inductionVariable + 1 | 0, array.push(index); - } while (inductionVariable < 600); - var comparison = getStableSortingIsSupported$lambda; - array.sort(comparison); - var inductionVariable_0 = 1, last = array.length; - if (inductionVariable_0 < last) do { - var index_0 = inductionVariable_0; - inductionVariable_0 = inductionVariable_0 + 1 | 0; - var a = array[index_0 - 1 | 0], b = array[index_0]; - if ((3 & a) == (3 & b) && a >= b) return !1; - } while (inductionVariable_0 < last); - return _stableSortingIsSupported = !0, !0; - } - function mergeSort(array, start, endInclusive, comparator) { - var tmp0_arrayOfNulls = array.length, result = mergeSort_0(array, fillArrayVal(Array(tmp0_arrayOfNulls), null), start, endInclusive, comparator); - if (result !== array) { - var inductionVariable = start; - if (inductionVariable <= endInclusive) do { - var i = inductionVariable; - inductionVariable = inductionVariable + 1 | 0, array[i] = result[i]; - } while (i !== endInclusive); - } + function toString($this) { + return String.fromCharCode($this); } - function mergeSort_0(array, buffer, start, end, comparator) { - if (start === end) return array; - var median = (start + end | 0) / 2 | 0, left = mergeSort_0(array, buffer, start, median, comparator), right = mergeSort_0(array, buffer, median + 1 | 0, end, comparator), target = left === buffer ? array : buffer, leftIndex = start, rightIndex = median + 1 | 0, inductionVariable = start; - if (inductionVariable <= end) do { - var i = inductionVariable; - if (inductionVariable = inductionVariable + 1 | 0, leftIndex <= median && rightIndex <= end) { - var leftValue = left[leftIndex], rightValue = right[rightIndex]; - comparator.compare(leftValue, rightValue) <= 0 ? (target[i] = leftValue, leftIndex = leftIndex + 1 | 0) : (target[i] = rightValue, - rightIndex = rightIndex + 1 | 0); - } else leftIndex <= median ? (target[i] = left[leftIndex], leftIndex = leftIndex + 1 | 0) : (target[i] = right[rightIndex], - rightIndex = rightIndex + 1 | 0); - } while (i !== end); - return target; + function Char() {} + function KtList() {} + function Collection() {} + function KtSet() {} + function Entry() {} + function KtMap() {} + function KtMutableMap() {} + function Companion() {} + function Enum(name, ordinal) { + this.q1_1 = name, this.r1_1 = ordinal; } - function sortArray$lambda(a, b) { - return compareTo(a, b); + function toString_0(_this__u8e3s4) { + var tmp1_elvis_lhs = null == _this__u8e3s4 ? null : toString_1(_this__u8e3s4); + return null == tmp1_elvis_lhs ? "null" : tmp1_elvis_lhs; } - function getStableSortingIsSupported$lambda(a, b) { - return (3 & a) - (3 & b) | 0; + function Companion_0() { + Companion_instance_0 = this, this.v1_1 = new Long(0, -2147483648), this.w1_1 = new Long(-1, 2147483647), + this.x1_1 = 8, this.y1_1 = 64; } - function HashCode() { - HashCode_instance = this; + function Long(low, high) { + null == Companion_instance_0 && new Companion_0, Number_0.call(this), this.y_1 = low, + this.z_1 = high; } - function HashCode_getInstance() { - return null == HashCode_instance && new HashCode, HashCode_instance; + function implement(interfaces) { + for (var maxSize = 1, masks = [], inductionVariable = 0, last = interfaces.length; inductionVariable < last; ) { + var i = interfaces[inductionVariable]; + inductionVariable = inductionVariable + 1 | 0; + var currentSize = maxSize, tmp1_elvis_lhs = i.prototype.$imask$, imask = null == tmp1_elvis_lhs ? i.$imask$ : tmp1_elvis_lhs; + null != imask && (masks.push(imask), currentSize = imask.length); + var iid = i.$metadata$.iid, iidImask = null == iid ? null : bitMaskWith(iid); + null != iidImask && (masks.push(iidImask), currentSize = Math.max(currentSize, iidImask.length)), + currentSize > maxSize && (maxSize = currentSize); + } + return function(capacity, masks) { + var tmp = 0, tmp_0 = new Int32Array(capacity); + for (;tmp < capacity; ) { + for (var tmp_1 = tmp, result = 0, inductionVariable = 0, last = masks.length; inductionVariable < last; ) { + var mask = masks[inductionVariable]; + inductionVariable = inductionVariable + 1 | 0, tmp_1 < mask.length && (result |= mask[tmp_1]); + } + tmp_0[tmp_1] = result, tmp = tmp + 1 | 0; + } + return tmp_0; + }(maxSize, masks); } - function EntrySet($outer) { - this.p7_1 = $outer, AbstractEntrySet.call(this); + function bitMaskWith(activeBit) { + var numberIndex = activeBit >> 5, intArray = new Int32Array(numberIndex + 1 | 0), numberWithSettledBit = 1 << (31 & activeBit); + return intArray[numberIndex] = intArray[numberIndex] | numberWithSettledBit, intArray; } - function HashMap_init_$Init$(internalMap, $this) { - return AbstractMutableMap.call($this), HashMap.call($this), $this.v7_1 = internalMap, - $this.w7_1 = internalMap.y7(), $this; + function fillArrayVal(array, initValue) { + var inductionVariable = 0, last = array.length - 1 | 0; + if (inductionVariable <= last) do { + var i = inductionVariable; + inductionVariable = inductionVariable + 1 | 0, array[i] = initValue; + } while (i !== last); + return array; } - function HashMap_init_$Init$_0($this) { - return HashMap_init_$Init$(new InternalHashCodeMap(HashCode_getInstance()), $this), - $this; + function arrayIterator(array) { + return new arrayIterator$1(array); } - function HashMap_init_$Create$() { - return HashMap_init_$Init$_0(Object.create(HashMap.prototype)); + function booleanArray(size) { + var array = fillArrayVal(Array(size), !1); + return array.$type$ = "BooleanArray", array; } - function HashMap_init_$Init$_1(initialCapacity, loadFactor, $this) { - if (HashMap_init_$Init$_0($this), !(initialCapacity >= 0)) throw IllegalArgumentException_init_$Create$(toString_2("Negative initial capacity: " + initialCapacity)); - if (!(loadFactor >= 0)) throw IllegalArgumentException_init_$Create$(toString_2("Non-positive load factor: " + loadFactor)); - return $this; + function charArrayOf(arr) { + var array = new Uint16Array(arr); + return array.$type$ = "CharArray", array; } - function HashMap_init_$Create$_0(initialCapacity, loadFactor) { - return HashMap_init_$Init$_1(initialCapacity, loadFactor, Object.create(HashMap.prototype)); + function arrayIterator$1($array) { + this.j2_1 = $array, this.i2_1 = 0; } - function HashMap_init_$Init$_2(initialCapacity, $this) { - return HashMap_init_$Init$_1(initialCapacity, 0, $this), $this; + function get_buf() { + return _init_properties_bitUtils_kt__nfcg4k(), buf; } - function HashMap_init_$Create$_1(initialCapacity) { - return HashMap_init_$Init$_2(initialCapacity, Object.create(HashMap.prototype)); + function get_bufFloat64() { + return _init_properties_bitUtils_kt__nfcg4k(), bufFloat64; } - function HashMap() { - this.x7_1 = null; + function get_bufInt32() { + return _init_properties_bitUtils_kt__nfcg4k(), bufInt32; } - function HashSet_init_$Init$($this) { - return AbstractMutableSet.call($this), HashSet.call($this), $this.b8_1 = HashMap_init_$Create$(), - $this; + function get_lowIndex() { + return _init_properties_bitUtils_kt__nfcg4k(), lowIndex; } - function HashSet_init_$Create$() { - return HashSet_init_$Init$(Object.create(HashSet.prototype)); + function getNumberHashCode(obj) { + return _init_properties_bitUtils_kt__nfcg4k(), (0 | obj) === obj ? numberToInt(obj) : (get_bufFloat64()[0] = obj, + imul(get_bufInt32()[(_init_properties_bitUtils_kt__nfcg4k(), highIndex)], 31) + get_bufInt32()[get_lowIndex()] | 0); } - function HashSet_init_$Init$_0(initialCapacity, loadFactor, $this) { - return AbstractMutableSet.call($this), HashSet.call($this), $this.b8_1 = HashMap_init_$Create$_0(initialCapacity, loadFactor), - $this; + function _init_properties_bitUtils_kt__nfcg4k() { + properties_initialized_bitUtils_kt_i2bo3e || (properties_initialized_bitUtils_kt_i2bo3e = !0, + buf = new ArrayBuffer(8), bufFloat64 = new Float64Array(get_buf()), new Float32Array(get_buf()), + bufInt32 = new Int32Array(get_buf()), get_bufFloat64()[0] = -1, lowIndex = 0 !== get_bufInt32()[0] ? 1 : 0, + highIndex = 1 - get_lowIndex() | 0); } - function HashSet_init_$Init$_1(initialCapacity, $this) { - return HashSet_init_$Init$_0(initialCapacity, 0, $this), $this; + function charSequenceGet(a, index) { + var tmp; + if (isString(a)) { + var tmp_0, code = a.charCodeAt(index); + if (code < 0) tmp_0 = !0; else { + tmp_0 = code > 65535; + } + if (tmp_0) throw IllegalArgumentException_init_$Create$_0("Invalid Char code: " + code); + tmp = numberToChar(code); + } else tmp = a.b(index); + return tmp; } - function HashSet_init_$Create$_0(initialCapacity) { - return HashSet_init_$Init$_1(initialCapacity, Object.create(HashSet.prototype)); + function isString(a) { + return "string" == typeof a; } - function HashSet_init_$Init$_2(map, $this) { - return AbstractMutableSet.call($this), HashSet.call($this), $this.b8_1 = map, $this; + function charSequenceLength(a) { + return isString(a) ? a.length : a.a(); } - function HashSet() {} - function computeNext($this) { - if (null != $this.f8_1 && $this.g8_1) { - var chainSize = $this.f8_1.length, tmp0_this = $this; - if (tmp0_this.h8_1 = tmp0_this.h8_1 + 1 | 0, tmp0_this.h8_1 < chainSize) return 0; - } - var tmp1_this = $this; - if (tmp1_this.e8_1 = tmp1_this.e8_1 + 1 | 0, tmp1_this.e8_1 < $this.d8_1.length) { - $this.f8_1 = $this.j8_1.l8_1[$this.d8_1[$this.e8_1]]; - var tmp = $this, tmp_0 = $this.f8_1; - return tmp.g8_1 = null != tmp_0 && isArray(tmp_0), $this.h8_1 = 0, 0; - } - return $this.f8_1 = null, 1; + function charSequenceSubSequence(a, startIndex, endIndex) { + return isString(a) ? a.substring(startIndex, endIndex) : a.c(startIndex, endIndex); } - function getEntry($this, key) { - var tmp0_elvis_lhs = getChainOrEntryOrNull($this, $this.k8_1.o7(key)); - if (null == tmp0_elvis_lhs) return null; - var chainOrEntry = tmp0_elvis_lhs; - if (null != chainOrEntry && isArray(chainOrEntry)) return findEntryInChain(chainOrEntry, $this, key); - var entry = chainOrEntry; - return $this.k8_1.n7(entry.e1(), key) ? entry : null; + function arrayToString$lambda(it) { + return toString_1(it); } - function findEntryInChain(_this__u8e3s4, $this, key) { - var tmp$ret$1; - $l$block: { - for (var indexedObject = _this__u8e3s4, inductionVariable = 0, last = indexedObject.length; inductionVariable < last; ) { - var element = indexedObject[inductionVariable]; - if (inductionVariable = inductionVariable + 1 | 0, $this.k8_1.n7(element.e1(), key)) { - tmp$ret$1 = element; - break $l$block; - } - } - tmp$ret$1 = null; + function compareTo(a, b) { + var tmp; + switch (typeof a) { + case "number": + tmp = "number" == typeof b ? doubleCompareTo(a, b) : b instanceof Long ? doubleCompareTo(a, b.h2()) : primitiveCompareTo(a, b); + break; + + case "string": + case "boolean": + tmp = primitiveCompareTo(a, b); + break; + + default: + tmp = function(a, b) { + return a.d(b); + }(a, b); } - return tmp$ret$1; - } - function getChainOrEntryOrNull($this, hashCode) { - var chainOrEntry = $this.l8_1[hashCode]; - return void 0 === chainOrEntry ? null : chainOrEntry; + return tmp; } - function InternalHashCodeMap$iterator$1(this$0) { - this.j8_1 = this$0, this.c8_1 = -1, this.d8_1 = Object.keys(this$0.l8_1), this.e8_1 = -1, - this.f8_1 = null, this.g8_1 = !1, this.h8_1 = -1, this.i8_1 = null; + function doubleCompareTo(a, b) { + var tmp; + if (a < b) tmp = -1; else if (a > b) tmp = 1; else if (a === b) { + var tmp_0; + if (0 !== a) tmp_0 = 0; else { + var ia = 1 / a; + tmp_0 = ia === 1 / b ? 0 : ia < 0 ? -1 : 1; + } + tmp = tmp_0; + } else tmp = a != a ? b != b ? 0 : 1 : -1; + return tmp; } - function InternalHashCodeMap(equality) { - this.k8_1 = equality, this.l8_1 = this.n8(), this.m8_1 = 0; + function primitiveCompareTo(a, b) { + return a < b ? -1 : a > b ? 1 : 0; } - function InternalMap() {} - function EntryIterator($outer) { - this.q8_1 = $outer, this.o8_1 = null, this.p8_1 = null, this.p8_1 = this.q8_1.b9_1.y8_1; - } - function ChainEntry($outer, key, value) { - this.g9_1 = $outer, SimpleEntry.call(this, key, value), this.e9_1 = null, this.f9_1 = null; - } - function EntrySet_0($outer) { - this.b9_1 = $outer, AbstractEntrySet.call(this); - } - function addToEnd(_this__u8e3s4, $this) { - if (null != _this__u8e3s4.e9_1 || null != _this__u8e3s4.f9_1) throw IllegalStateException_init_$Create$(toString_2("Check failed.")); - var _head = $this.y8_1; - if (null == _head) $this.y8_1 = _this__u8e3s4, _this__u8e3s4.e9_1 = _this__u8e3s4, - _this__u8e3s4.f9_1 = _this__u8e3s4; else { - var tmp1_checkNotNull = _head.f9_1; - if (null == tmp1_checkNotNull) throw IllegalStateException_init_$Create$(toString_2("Required value was null.")); - var _tail = tmp1_checkNotNull; - _this__u8e3s4.f9_1 = _tail, _this__u8e3s4.e9_1 = _head, _head.f9_1 = _this__u8e3s4, - _tail.e9_1 = _this__u8e3s4; - } - } - function remove(_this__u8e3s4, $this) { - _this__u8e3s4.e9_1 === _this__u8e3s4 ? $this.y8_1 = null : ($this.y8_1 === _this__u8e3s4 && ($this.y8_1 = _this__u8e3s4.e9_1), - ensureNotNull(_this__u8e3s4.e9_1).f9_1 = _this__u8e3s4.f9_1, ensureNotNull(_this__u8e3s4.f9_1).e9_1 = _this__u8e3s4.e9_1), - _this__u8e3s4.e9_1 = null, _this__u8e3s4.f9_1 = null; - } - function LinkedHashMap_init_$Init$($this) { - return HashMap_init_$Init$_0($this), LinkedHashMap.call($this), $this.z8_1 = HashMap_init_$Create$(), - $this; + function getObjectHashCode(obj) { + if (!("kotlinHashCodeValue$" in obj)) { + var hash = calculateRandomHash(), descriptor = new Object; + descriptor.value = hash, descriptor.enumerable = !1, Object.defineProperty(obj, "kotlinHashCodeValue$", descriptor); + } + return obj.kotlinHashCodeValue$; } - function LinkedHashMap_init_$Create$() { - return LinkedHashMap_init_$Init$(Object.create(LinkedHashMap.prototype)); + function calculateRandomHash() { + return 4294967296 * Math.random() | 0; } - function LinkedHashMap_init_$Init$_0(initialCapacity, loadFactor, $this) { - return HashMap_init_$Init$_1(initialCapacity, loadFactor, $this), LinkedHashMap.call($this), - $this.z8_1 = HashMap_init_$Create$(), $this; + function objectCreate(proto) { + return proto = proto === VOID ? null : proto, Object.create(proto); } - function LinkedHashMap_init_$Create$_0(initialCapacity, loadFactor) { - return LinkedHashMap_init_$Init$_0(initialCapacity, loadFactor, Object.create(LinkedHashMap.prototype)); + function toString_1(o) { + return null == o ? "null" : isArrayish(o) ? "[...]" : "function" != typeof o.toString ? anyToString(o) : o.toString(); } - function LinkedHashMap_init_$Init$_1(initialCapacity, $this) { - return LinkedHashMap_init_$Init$_0(initialCapacity, 0, $this), $this; + function equals(obj1, obj2) { + if (null == obj1) return null == obj2; + if (null == obj2) return !1; + if ("object" == typeof obj1 && "function" == typeof obj1.equals) return obj1.equals(obj2); + if (obj1 != obj1) return obj2 != obj2; + if ("number" == typeof obj1 && "number" == typeof obj2) { + var tmp; + if (obj1 === obj2) { + var tmp_0; + if (0 !== obj1) tmp_0 = !0; else tmp_0 = 1 / obj1 === 1 / obj2; + tmp = tmp_0; + } else tmp = !1; + return tmp; + } + return obj1 === obj2; } - function LinkedHashMap_init_$Create$_1(initialCapacity) { - return LinkedHashMap_init_$Init$_1(initialCapacity, Object.create(LinkedHashMap.prototype)); + function hashCode(obj) { + if (null == obj) return 0; + var tmp, typeOf = typeof obj; + switch (typeOf) { + case "object": + tmp = "function" == typeof obj.hashCode ? obj.hashCode() : getObjectHashCode(obj); + break; + + case "function": + tmp = getObjectHashCode(obj); + break; + + case "number": + tmp = getNumberHashCode(obj); + break; + + case "boolean": + tmp = getBooleanHashCode(obj); + break; + + case "string": + tmp = getStringHashCode(String(obj)); + break; + + case "bigint": + tmp = function(value) { + var shiftNumber = BigInt(32), MASK = BigInt(4294967295), bigNumber = value < 0 ? -value : value, hashCode = 0, signum = value < 0 ? -1 : 1; + for (;0 != bigNumber; ) { + var chunk = Number(bigNumber & MASK); + hashCode = imul(31, hashCode) + chunk | 0, bigNumber >>= shiftNumber; + } + return imul(hashCode, signum); + }(obj); + break; + + case "symbol": + tmp = function(value) { + var hashCodeMap = (symbol = value, Symbol.keyFor(symbol) != VOID ? function() { + symbolMap === VOID && (symbolMap = new Map); + return symbolMap; + }() : function() { + symbolWeakMap === VOID && (symbolWeakMap = new WeakMap); + return symbolWeakMap; + }()), cachedHashCode = hashCodeMap.get(value); + var symbol; + if (cachedHashCode !== VOID) return cachedHashCode; + var hash = calculateRandomHash(); + return hashCodeMap.set(value, hash), hash; + }(obj); + break; + + default: + tmp = function() { + throw new Error("Unexpected typeof `" + typeOf + "`"); + }(); + } + return tmp; } - function LinkedHashMap_init_$Init$_2(original, $this) { - return HashMap_init_$Init$_0($this), LinkedHashMap.call($this), $this.z8_1 = HashMap_init_$Create$(), - $this.k7(original), $this; + function anyToString(o) { + return Object.prototype.toString.call(o); } - function LinkedHashMap_init_$Create$_2(original) { - return LinkedHashMap_init_$Init$_2(original, Object.create(LinkedHashMap.prototype)); + function getBooleanHashCode(value) { + return value ? 1231 : 1237; } - function LinkedHashMap() { - this.y8_1 = null, this.a9_1 = !1; + function getStringHashCode(str) { + var hash = 0, inductionVariable = 0, last = str.length - 1 | 0; + if (inductionVariable <= last) do { + var i = inductionVariable; + inductionVariable = inductionVariable + 1 | 0; + var code = str.charCodeAt(i); + hash = imul(hash, 31) + code | 0; + } while (i !== last); + return hash; } - function LinkedHashSet_init_$Init$($this) { - return HashSet_init_$Init$_2(LinkedHashMap_init_$Create$(), $this), LinkedHashSet.call($this), - $this; + function captureStack(instance, constructorFunction) { + null != Error.captureStackTrace ? Error.captureStackTrace(instance, constructorFunction) : instance.stack = (new Error).stack; } - function LinkedHashSet_init_$Create$() { - return LinkedHashSet_init_$Init$(Object.create(LinkedHashSet.prototype)); + function protoOf(constructor) { + return constructor.prototype; } - function LinkedHashSet_init_$Init$_0(initialCapacity, loadFactor, $this) { - return HashSet_init_$Init$_2(LinkedHashMap_init_$Create$_0(initialCapacity, loadFactor), $this), - LinkedHashSet.call($this), $this; + function isUndefined(value) { + return value === VOID; } - function LinkedHashSet_init_$Init$_1(initialCapacity, $this) { - return LinkedHashSet_init_$Init$_0(initialCapacity, 0, $this), $this; + function extendThrowable(this_, message, cause) { + Error.call(this_), function(this_, message, cause) { + var errorInfo = calculateErrorInfo(Object.getPrototypeOf(this_)); + if (!(1 & errorInfo)) { + var tmp; + if (null == message) { + var tmp_0; + if (null !== message) { + var tmp1_elvis_lhs = null == cause ? null : cause.toString(); + tmp_0 = null == tmp1_elvis_lhs ? VOID : tmp1_elvis_lhs; + } else tmp_0 = VOID; + tmp = tmp_0; + } else tmp = message; + this_.message = tmp; + } + 2 & errorInfo || (this_.cause = cause); + this_.name = Object.getPrototypeOf(this_).constructor.name; + }(this_, message, cause); } - function LinkedHashSet_init_$Create$_0(initialCapacity) { - return LinkedHashSet_init_$Init$_1(initialCapacity, Object.create(LinkedHashSet.prototype)); + function ensureNotNull(v) { + var tmp; + return null == v ? function() { + throw NullPointerException_init_$Create$(); + }() : tmp = v, tmp; } - function LinkedHashSet() {} - function SafeContinuation_init_$Init$(delegate, $this) { - return SafeContinuation.call($this, delegate, CoroutineSingletons_UNDECIDED_getInstance()), - $this; + function THROW_CCE() { + throw ClassCastException_init_$Create$(); } - function SafeContinuation_init_$Create$(delegate) { - return SafeContinuation_init_$Init$(delegate, Object.create(SafeContinuation.prototype)); + function get_ZERO() { + return _init_properties_longJs_kt__elc2w5(), ZERO; } - function SafeContinuation(delegate, initialResult) { - this.i9_1 = delegate, this.j9_1 = initialResult; + function get_ONE() { + return _init_properties_longJs_kt__elc2w5(), ONE; } - function CancellationException_init_$Init$(message, $this) { - return IllegalStateException_init_$Init$(message, $this), CancellationException.call($this), - $this; + function get_NEG_ONE() { + return _init_properties_longJs_kt__elc2w5(), NEG_ONE; } - function CancellationException_init_$Create$(message) { - var tmp = CancellationException_init_$Init$(message, Object.create(CancellationException.prototype)); - return captureStack(tmp, CancellationException_init_$Create$), tmp; + function get_MIN_VALUE() { + return _init_properties_longJs_kt__elc2w5(), MIN_VALUE; } - function CancellationException_init_$Init$_0(message, cause, $this) { - return IllegalStateException_init_$Init$_0(message, cause, $this), CancellationException.call($this), - $this; + function get_TWO_PWR_24_() { + return _init_properties_longJs_kt__elc2w5(), TWO_PWR_24_; } - function CancellationException() { - captureStack(this, CancellationException); + function compare(_this__u8e3s4, other) { + if (_init_properties_longJs_kt__elc2w5(), equalsLong(_this__u8e3s4, other)) return 0; + var thisNeg = isNegative(_this__u8e3s4), otherNeg = isNegative(other); + return thisNeg && !otherNeg ? -1 : !thisNeg && otherNeg ? 1 : isNegative(subtract(_this__u8e3s4, other)) ? -1 : 1; } - function get_EmptyContinuation() { - return init_properties_EmptyContinuation_kt_8tpm4w(), EmptyContinuation; + function add(_this__u8e3s4, other) { + _init_properties_longJs_kt__elc2w5(); + var a48 = _this__u8e3s4.z_1 >>> 16 | 0, a32 = 65535 & _this__u8e3s4.z_1, a16 = _this__u8e3s4.y_1 >>> 16 | 0, a00 = 65535 & _this__u8e3s4.y_1, b48 = other.z_1 >>> 16 | 0, b32 = 65535 & other.z_1, b16 = other.y_1 >>> 16 | 0, c48 = 0, c32 = 0, c16 = 0, c00 = 0; + return c48 = (c48 = c48 + ((c32 = (c32 = c32 + ((c16 = (c16 = c16 + ((c00 = c00 + (a00 + (65535 & other.y_1) | 0) | 0) >>> 16 | 0) | 0) + (a16 + b16 | 0) | 0) >>> 16 | 0) | 0) + (a32 + b32 | 0) | 0) >>> 16 | 0) | 0) + (a48 + b48 | 0) | 0, + new Long((c16 &= 65535) << 16 | (c00 &= 65535), (c48 &= 65535) << 16 | (c32 &= 65535)); } - function _no_name_provided__qut3iv_0($tmp0_Continuation) { - this.l9_1 = $tmp0_Continuation; + function subtract(_this__u8e3s4, other) { + return _init_properties_longJs_kt__elc2w5(), add(_this__u8e3s4, other.d2()); } - function init_properties_EmptyContinuation_kt_8tpm4w() { - var tmp$ret$0; - properties_initialized_EmptyContinuation_kt_4jdb9w || (properties_initialized_EmptyContinuation_kt_4jdb9w = !0, - tmp$ret$0 = new _no_name_provided__qut3iv_0(EmptyCoroutineContext_getInstance()), - EmptyContinuation = tmp$ret$0); + function multiply(_this__u8e3s4, other) { + if (_init_properties_longJs_kt__elc2w5(), isZero(_this__u8e3s4)) return get_ZERO(); + if (isZero(other)) return get_ZERO(); + if (equalsLong(_this__u8e3s4, get_MIN_VALUE())) return isOdd(other) ? get_MIN_VALUE() : get_ZERO(); + if (equalsLong(other, get_MIN_VALUE())) return isOdd(_this__u8e3s4) ? get_MIN_VALUE() : get_ZERO(); + if (isNegative(_this__u8e3s4)) return isNegative(other) ? multiply(negate(_this__u8e3s4), negate(other)) : negate(multiply(negate(_this__u8e3s4), other)); + if (isNegative(other)) return negate(multiply(_this__u8e3s4, negate(other))); + if (lessThan(_this__u8e3s4, get_TWO_PWR_24_()) && lessThan(other, get_TWO_PWR_24_())) return fromNumber(toNumber(_this__u8e3s4) * toNumber(other)); + var a48 = _this__u8e3s4.z_1 >>> 16 | 0, a32 = 65535 & _this__u8e3s4.z_1, a16 = _this__u8e3s4.y_1 >>> 16 | 0, a00 = 65535 & _this__u8e3s4.y_1, b48 = other.z_1 >>> 16 | 0, b32 = 65535 & other.z_1, b16 = other.y_1 >>> 16 | 0, b00 = 65535 & other.y_1, c48 = 0, c32 = 0, c16 = 0, c00 = 0; + return c16 = c16 + ((c00 = c00 + imul(a00, b00) | 0) >>> 16 | 0) | 0, c00 &= 65535, + c32 = (c32 = c32 + ((c16 = c16 + imul(a16, b00) | 0) >>> 16 | 0) | 0) + ((c16 = (c16 &= 65535) + imul(a00, b16) | 0) >>> 16 | 0) | 0, + c16 &= 65535, c48 = (c48 = (c48 = c48 + ((c32 = c32 + imul(a32, b00) | 0) >>> 16 | 0) | 0) + ((c32 = (c32 &= 65535) + imul(a16, b16) | 0) >>> 16 | 0) | 0) + ((c32 = (c32 &= 65535) + imul(a00, b32) | 0) >>> 16 | 0) | 0, + c32 &= 65535, c48 = c48 + (((imul(a48, b00) + imul(a32, b16) | 0) + imul(a16, b32) | 0) + imul(a00, b48) | 0) | 0, + new Long(c16 << 16 | c00, (c48 &= 65535) << 16 | c32); } - function roundToInt(_this__u8e3s4) { - if (isNaN_0(_this__u8e3s4)) throw IllegalArgumentException_init_$Create$("Cannot round NaN value."); - return _this__u8e3s4 > IntCompanionObject_getInstance().MAX_VALUE ? IntCompanionObject_getInstance().MAX_VALUE : _this__u8e3s4 < IntCompanionObject_getInstance().MIN_VALUE ? IntCompanionObject_getInstance().MIN_VALUE : numberToInt(Math.round(_this__u8e3s4)); + function shiftLeft(_this__u8e3s4, numBits) { + _init_properties_longJs_kt__elc2w5(); + var numBits_0 = 63 & numBits; + return 0 === numBits_0 ? _this__u8e3s4 : numBits_0 < 32 ? new Long(_this__u8e3s4.y_1 << numBits_0, _this__u8e3s4.z_1 << numBits_0 | _this__u8e3s4.y_1 >>> (32 - numBits_0 | 0)) : new Long(0, _this__u8e3s4.y_1 << numBits_0 - 32); } - function abs(n) { - return n.u4(new Long(0, 0)) < 0 ? n.s4() : n; + function toNumber(_this__u8e3s4) { + return _init_properties_longJs_kt__elc2w5(), 4294967296 * _this__u8e3s4.z_1 + function(_this__u8e3s4) { + return _init_properties_longJs_kt__elc2w5(), _this__u8e3s4.y_1 >= 0 ? _this__u8e3s4.y_1 : 4294967296 + _this__u8e3s4.y_1; + }(_this__u8e3s4); } - function isNaN_0(_this__u8e3s4) { - return !(_this__u8e3s4 == _this__u8e3s4); + function toStringImpl(_this__u8e3s4, radix) { + if (_init_properties_longJs_kt__elc2w5(), radix < 2 || 36 < radix) throw Exception_init_$Create$_0("radix out of range: " + radix); + if (isZero(_this__u8e3s4)) return "0"; + if (isNegative(_this__u8e3s4)) { + if (equalsLong(_this__u8e3s4, get_MIN_VALUE())) { + var radixLong = fromInt(radix), div = _this__u8e3s4.c2(radixLong), rem = subtract(multiply(div, radixLong), _this__u8e3s4).a1(); + return toStringImpl(div, radix) + rem.toString(radix); + } + return "-" + toStringImpl(negate(_this__u8e3s4), radix); + } + for (var digitsPerTime = 2 === radix ? 31 : radix <= 10 ? 9 : radix <= 21 ? 7 : radix <= 35 ? 6 : 5, radixToPower = fromNumber(Math.pow(radix, digitsPerTime)), rem_0 = _this__u8e3s4, result = ""; ;) { + var remDiv = rem_0.c2(radixToPower), digits = subtract(rem_0, multiply(remDiv, radixToPower)).a1().toString(radix); + if (isZero(rem_0 = remDiv)) return digits + result; + for (;digits.length < digitsPerTime; ) digits = "0" + digits; + result = digits + result; + } } - function countTrailingZeroBits(_this__u8e3s4) { - var tmp, low = _this__u8e3s4.q4_1; - return 0 === low ? (IntCompanionObject_getInstance(), tmp = 32 + countTrailingZeroBits_0(_this__u8e3s4.r4_1) | 0) : tmp = countTrailingZeroBits_0(low), - tmp; + function equalsLong(_this__u8e3s4, other) { + return _init_properties_longJs_kt__elc2w5(), _this__u8e3s4.z_1 === other.z_1 && _this__u8e3s4.y_1 === other.y_1; } - function countTrailingZeroBits_0(_this__u8e3s4) { - return IntCompanionObject_getInstance(), 32 - clz32(~(0 | _this__u8e3s4 | -_this__u8e3s4)) | 0; + function fromInt(value) { + return _init_properties_longJs_kt__elc2w5(), new Long(value, value < 0 ? -1 : 0); } - function KClass() {} - function KClassImpl(jClass) { - this.p9_1 = jClass; + function isNegative(_this__u8e3s4) { + return _init_properties_longJs_kt__elc2w5(), _this__u8e3s4.z_1 < 0; } - function PrimitiveKClassImpl(jClass, givenSimpleName, isInstanceFunction) { - KClassImpl.call(this, jClass), this.s9_1 = givenSimpleName, this.t9_1 = isInstanceFunction; + function isZero(_this__u8e3s4) { + return _init_properties_longJs_kt__elc2w5(), 0 === _this__u8e3s4.z_1 && 0 === _this__u8e3s4.y_1; } - function NothingKClassImpl() { - NothingKClassImpl_instance = this, KClassImpl.call(this, Object), this.v9_1 = "Nothing"; + function isOdd(_this__u8e3s4) { + return _init_properties_longJs_kt__elc2w5(), !(1 & ~_this__u8e3s4.y_1); } - function NothingKClassImpl_getInstance() { - return null == NothingKClassImpl_instance && new NothingKClassImpl, NothingKClassImpl_instance; + function negate(_this__u8e3s4) { + return _init_properties_longJs_kt__elc2w5(), _this__u8e3s4.d2(); } - function ErrorKClass() {} - function SimpleKClassImpl(jClass) { - KClassImpl.call(this, jClass); - var tmp$ret$1, tmp = this, tmp0_safe_receiver = jClass.$metadata$; - tmp$ret$1 = null == tmp0_safe_receiver ? null : tmp0_safe_receiver.simpleName, tmp.x9_1 = tmp$ret$1; + function lessThan(_this__u8e3s4, other) { + return _init_properties_longJs_kt__elc2w5(), compare(_this__u8e3s4, other) < 0; } - function KProperty1() {} - function get_functionClasses() { - return init_properties_primitives_kt_rm1w5q(), functionClasses; + function fromNumber(value) { + if (_init_properties_longJs_kt__elc2w5(), isNaN_0(value)) return get_ZERO(); + if (value <= -0x8000000000000000) return get_MIN_VALUE(); + if (value + 1 >= 0x8000000000000000) return _init_properties_longJs_kt__elc2w5(), + MAX_VALUE; + if (value < 0) return negate(fromNumber(-value)); + return new Long(value % 4294967296 | 0, value / 4294967296 | 0); } - function PrimitiveClasses$anyClass$lambda(it) { - return isObject(it); + function greaterThan(_this__u8e3s4, other) { + return _init_properties_longJs_kt__elc2w5(), compare(_this__u8e3s4, other) > 0; } - function PrimitiveClasses$numberClass$lambda(it) { - return isNumber(it); + function greaterThanOrEqual(_this__u8e3s4, other) { + return _init_properties_longJs_kt__elc2w5(), compare(_this__u8e3s4, other) >= 0; } - function PrimitiveClasses$booleanClass$lambda(it) { - return null != it && "boolean" == typeof it; + function _init_properties_longJs_kt__elc2w5() { + properties_initialized_longJs_kt_4syf89 || (properties_initialized_longJs_kt_4syf89 = !0, + ZERO = fromInt(0), ONE = fromInt(1), NEG_ONE = fromInt(-1), MAX_VALUE = new Long(-1, 2147483647), + MIN_VALUE = new Long(0, -2147483648), TWO_PWR_24_ = fromInt(16777216)); } - function PrimitiveClasses$byteClass$lambda(it) { - return null != it && "number" == typeof it; + function createMetadata(kind, name, defaultConstructor, associatedObjectKey, associatedObjects, suspendArity) { + return { + kind, + simpleName: name, + associatedObjectKey, + associatedObjects, + suspendArity, + $kClass$: VOID, + defaultConstructor, + iid: "interface" === kind ? function() { + globalInterfaceId === VOID && (globalInterfaceId = 0); + return globalInterfaceId = globalInterfaceId + 1 | 0; + }() : VOID + }; } - function PrimitiveClasses$shortClass$lambda(it) { - return null != it && "number" == typeof it; + function initMetadataFor(kind, ctor, name, defaultConstructor, parent, interfaces, suspendArity, associatedObjectKey, associatedObjects) { + null != parent && (ctor.prototype = Object.create(parent.prototype), ctor.prototype.constructor = ctor); + var metadata = createMetadata(kind, name, defaultConstructor, associatedObjectKey, associatedObjects, suspendArity); + (ctor.$metadata$ = metadata, null != interfaces) && ((equals(metadata.iid, VOID) ? ctor.prototype : ctor).$imask$ = implement(interfaces)); } - function PrimitiveClasses$intClass$lambda(it) { - return null != it && "number" == typeof it; + function initMetadataForClass(ctor, name, defaultConstructor, parent, interfaces, suspendArity, associatedObjectKey, associatedObjects) { + initMetadataFor("class", ctor, name, defaultConstructor, parent, interfaces, suspendArity, associatedObjectKey, associatedObjects); } - function PrimitiveClasses$floatClass$lambda(it) { - return null != it && "number" == typeof it; + function initMetadataForObject(ctor, name, defaultConstructor, parent, interfaces, suspendArity, associatedObjectKey, associatedObjects) { + initMetadataFor("object", ctor, name, defaultConstructor, parent, interfaces, suspendArity, associatedObjectKey, associatedObjects); } - function PrimitiveClasses$doubleClass$lambda(it) { - return null != it && "number" == typeof it; + function initMetadataForInterface(ctor, name, defaultConstructor, parent, interfaces, suspendArity, associatedObjectKey, associatedObjects) { + initMetadataFor("interface", ctor, name, defaultConstructor, parent, interfaces, suspendArity, associatedObjectKey, associatedObjects); } - function PrimitiveClasses$arrayClass$lambda(it) { - return null != it && isArray(it); + function initMetadataForCompanion(ctor, parent, interfaces, suspendArity) { + initMetadataForObject(ctor, "Companion", VOID, parent, interfaces, suspendArity, VOID, VOID); } - function PrimitiveClasses$stringClass$lambda(it) { - return null != it && "string" == typeof it; + function numberToInt(a) { + return a instanceof Long ? a.a1() : function(a) { + var tmp; + tmp = a > 2147483647 ? 2147483647 : a < -2147483648 ? -2147483648 : 0 | a; + return tmp; + }(a); } - function PrimitiveClasses$throwableClass$lambda(it) { - return it instanceof Error; + function numberToChar(a) { + var tmp$ret$0 = function(a) { + return a << 16 >> 16; + }(numberToInt(a)); + return 65535 & tmp$ret$0; } - function PrimitiveClasses$booleanArrayClass$lambda(it) { - return null != it && isBooleanArray(it); + function StringCompanionObject() {} + function numberRangeToNumber(start, endInclusive) { + return new IntRange(start, endInclusive); } - function PrimitiveClasses$charArrayClass$lambda(it) { - return null != it && isCharArray(it); + function metadataObject() { + return _init_properties_reflectRuntime_kt__5r4uu3(), createMetadata("class", VOID, VOID, VOID, VOID, VOID); } - function PrimitiveClasses$byteArrayClass$lambda(it) { - return null != it && isByteArray(it); + function _init_properties_reflectRuntime_kt__5r4uu3() { + if (!properties_initialized_reflectRuntime_kt_inkhwd) { + properties_initialized_reflectRuntime_kt_inkhwd = !0; + var tmp = [ metadataObject(), metadataObject() ], tmp_0 = [ metadataObject(), metadataObject() ]; + propertyRefClassMetadataCache = [ tmp, tmp_0, [ metadataObject(), metadataObject() ] ]; + } } - function PrimitiveClasses$shortArrayClass$lambda(it) { - return null != it && isShortArray(it); + function isArrayish(o) { + return isJsArray(o) || isView(o); } - function PrimitiveClasses$intArrayClass$lambda(it) { - return null != it && isIntArray(it); + function isJsArray(obj) { + return Array.isArray(obj); } - function PrimitiveClasses$longArrayClass$lambda(it) { - return null != it && isLongArray(it); + function isInterface(obj, iface) { + return isInterfaceImpl(obj, iface.$metadata$.iid); } - function PrimitiveClasses$floatArrayClass$lambda(it) { - return null != it && isFloatArray(it); + function isInterfaceImpl(obj, iface) { + var tmp0_elvis_lhs = obj.$imask$; + return null != tmp0_elvis_lhs && function(_this__u8e3s4, possibleActiveBit) { + var numberIndex = possibleActiveBit >> 5; + if (numberIndex > _this__u8e3s4.length) return !1; + var numberWithSettledBit = 1 << (31 & possibleActiveBit); + return !!(_this__u8e3s4[numberIndex] & numberWithSettledBit); + }(tmp0_elvis_lhs, iface); } - function PrimitiveClasses$doubleArrayClass$lambda(it) { - return null != it && isDoubleArray(it); + function isArray(obj) { + return !!isJsArray(obj) && !obj.$type$; } - function PrimitiveClasses$functionClass$lambda($arity) { - return function(it) { - return "function" == typeof it && it.length === $arity; - }; + function isNumber(a) { + return "number" == typeof a || a instanceof Long; } - function PrimitiveClasses() { - PrimitiveClasses_instance = this; - var tmp_0 = Object; - this.anyClass = new PrimitiveKClassImpl(tmp_0, "Any", PrimitiveClasses$anyClass$lambda); - var tmp_2 = Number; - this.numberClass = new PrimitiveKClassImpl(tmp_2, "Number", PrimitiveClasses$numberClass$lambda), - this.nothingClass = NothingKClassImpl_getInstance(); - var tmp_4 = Boolean; - this.booleanClass = new PrimitiveKClassImpl(tmp_4, "Boolean", PrimitiveClasses$booleanClass$lambda); - var tmp_6 = Number; - this.byteClass = new PrimitiveKClassImpl(tmp_6, "Byte", PrimitiveClasses$byteClass$lambda); - var tmp_8 = Number; - this.shortClass = new PrimitiveKClassImpl(tmp_8, "Short", PrimitiveClasses$shortClass$lambda); - var tmp_10 = Number; - this.intClass = new PrimitiveKClassImpl(tmp_10, "Int", PrimitiveClasses$intClass$lambda); - var tmp_12 = Number; - this.floatClass = new PrimitiveKClassImpl(tmp_12, "Float", PrimitiveClasses$floatClass$lambda); - var tmp_14 = Number; - this.doubleClass = new PrimitiveKClassImpl(tmp_14, "Double", PrimitiveClasses$doubleClass$lambda); - var tmp_16 = Array; - this.arrayClass = new PrimitiveKClassImpl(tmp_16, "Array", PrimitiveClasses$arrayClass$lambda); - var tmp_18 = String; - this.stringClass = new PrimitiveKClassImpl(tmp_18, "String", PrimitiveClasses$stringClass$lambda); - var tmp_20 = Error; - this.throwableClass = new PrimitiveKClassImpl(tmp_20, "Throwable", PrimitiveClasses$throwableClass$lambda); - var tmp_22 = Array; - this.booleanArrayClass = new PrimitiveKClassImpl(tmp_22, "BooleanArray", PrimitiveClasses$booleanArrayClass$lambda); - var tmp_24 = Uint16Array; - this.charArrayClass = new PrimitiveKClassImpl(tmp_24, "CharArray", PrimitiveClasses$charArrayClass$lambda); - var tmp_26 = Int8Array; - this.byteArrayClass = new PrimitiveKClassImpl(tmp_26, "ByteArray", PrimitiveClasses$byteArrayClass$lambda); - var tmp_28 = Int16Array; - this.shortArrayClass = new PrimitiveKClassImpl(tmp_28, "ShortArray", PrimitiveClasses$shortArrayClass$lambda); - var tmp_30 = Int32Array; - this.intArrayClass = new PrimitiveKClassImpl(tmp_30, "IntArray", PrimitiveClasses$intArrayClass$lambda); - var tmp_32 = Array; - this.longArrayClass = new PrimitiveKClassImpl(tmp_32, "LongArray", PrimitiveClasses$longArrayClass$lambda); - var tmp_34 = Float32Array; - this.floatArrayClass = new PrimitiveKClassImpl(tmp_34, "FloatArray", PrimitiveClasses$floatArrayClass$lambda); - var tmp_36 = Float64Array; - this.doubleArrayClass = new PrimitiveKClassImpl(tmp_36, "DoubleArray", PrimitiveClasses$doubleArrayClass$lambda); + function isComparable(value) { + var type = typeof value; + return "string" === type || "boolean" === type || isNumber(value) || isInterface(value, Comparable); } - function PrimitiveClasses_getInstance() { - return null == PrimitiveClasses_instance && new PrimitiveClasses, PrimitiveClasses_instance; + function isCharSequence(value) { + return "string" == typeof value || isInterface(value, CharSequence); } - function init_properties_primitives_kt_rm1w5q() { - var tmp$ret$0; - properties_initialized_primitives_kt_jle18u || (properties_initialized_primitives_kt_jle18u = !0, - tmp$ret$0 = fillArrayVal(Array(0), null), functionClasses = tmp$ret$0); + function isBooleanArray(a) { + return isJsArray(a) && "BooleanArray" === a.$type$; } - function getKClass(jClass) { - return Array.isArray(jClass) ? getKClassM(jClass) : getKClass1(jClass); + function isByteArray(a) { + return a instanceof Int8Array; } - function getKClassM(jClasses) { - var tmp; - switch (jClasses.length) { - case 1: - tmp = getKClass1(jClasses[0]); - break; - - case 0: - tmp = NothingKClassImpl_getInstance(); - break; - - default: - tmp = new ErrorKClass; - } - return tmp; + function isShortArray(a) { + return a instanceof Int16Array; } - function getKClass1(jClass) { - if (jClass === String) return PrimitiveClasses_getInstance().stringClass; - var tmp, metadata = jClass.$metadata$; - if (null != metadata) { - var tmp_0; - if (null == metadata.$kClass$) { - var kClass = new SimpleKClassImpl(jClass); - metadata.$kClass$ = kClass, tmp_0 = kClass; - } else tmp_0 = metadata.$kClass$; - tmp = tmp_0; - } else tmp = new SimpleKClassImpl(jClass); - return tmp; + function isCharArray(a) { + return a instanceof Uint16Array && "CharArray" === a.$type$; } - function getKClassFromExpression(e) { - var tmp; - switch (typeof e) { - case "string": - tmp = PrimitiveClasses_getInstance().stringClass; - break; - - case "number": - tmp = jsBitwiseOr(e, 0) === e ? PrimitiveClasses_getInstance().intClass : PrimitiveClasses_getInstance().doubleClass; - break; - - case "boolean": - tmp = PrimitiveClasses_getInstance().booleanClass; - break; - - case "function": - var tmp$ret$1; - tmp$ret$1 = e, tmp = PrimitiveClasses_getInstance().functionClass(tmp$ret$1.length); - break; - - default: - var tmp_2; - if (isBooleanArray(e)) tmp_2 = PrimitiveClasses_getInstance().booleanArrayClass; else if (isCharArray(e)) tmp_2 = PrimitiveClasses_getInstance().charArrayClass; else if (isByteArray(e)) tmp_2 = PrimitiveClasses_getInstance().byteArrayClass; else if (isShortArray(e)) tmp_2 = PrimitiveClasses_getInstance().shortArrayClass; else if (isIntArray(e)) tmp_2 = PrimitiveClasses_getInstance().intArrayClass; else if (isLongArray(e)) tmp_2 = PrimitiveClasses_getInstance().longArrayClass; else if (isFloatArray(e)) tmp_2 = PrimitiveClasses_getInstance().floatArrayClass; else if (isDoubleArray(e)) tmp_2 = PrimitiveClasses_getInstance().doubleArrayClass; else if (isInterface(e, KClass)) tmp_2 = getKClass(KClass); else if (isArray(e)) tmp_2 = PrimitiveClasses_getInstance().arrayClass; else { - var constructor = Object.getPrototypeOf(e).constructor; - tmp_2 = constructor === Object ? PrimitiveClasses_getInstance().anyClass : constructor === Error ? PrimitiveClasses_getInstance().throwableClass : getKClass1(constructor); - } - tmp = tmp_2; - } - return tmp; + function isIntArray(a) { + return a instanceof Int32Array; } - function StringBuilder_init_$Init$(capacity, $this) { - return StringBuilder_init_$Init$_0($this), $this; + function isFloatArray(a) { + return a instanceof Float32Array; } - function StringBuilder_init_$Create$(capacity) { - return StringBuilder_init_$Init$(capacity, Object.create(StringBuilder.prototype)); + function isLongArray(a) { + return isJsArray(a) && "LongArray" === a.$type$; } - function StringBuilder_init_$Init$_0($this) { - return StringBuilder.call($this, ""), $this; + function isDoubleArray(a) { + return a instanceof Float64Array; } - function StringBuilder_init_$Create$_0() { - return StringBuilder_init_$Init$_0(Object.create(StringBuilder.prototype)); + function jsIsType(obj, jsClass) { + if (jsClass === Object) return null != obj; + var objType = typeof obj; + if (null == obj || null == jsClass || "object" !== objType && "function" !== objType) return !1; + var constructor = "object" === typeof jsClass ? function(jsClass) { + return Object.getPrototypeOf(jsClass); + }(jsClass) : jsClass, klassMetadata = constructor.$metadata$; + if ("interface" === (null == klassMetadata ? null : klassMetadata.kind)) { + var tmp1_elvis_lhs = klassMetadata.iid; + return null != tmp1_elvis_lhs && isInterfaceImpl(obj, tmp1_elvis_lhs); + } + return obj instanceof constructor; + } + function calculateErrorInfo(proto) { + var tmp0_safe_receiver = proto.constructor, metadata = null == tmp0_safe_receiver ? null : tmp0_safe_receiver.$metadata$, tmp2_safe_receiver = null == metadata ? null : metadata.errorInfo; + if (null != tmp2_safe_receiver) return tmp2_safe_receiver; + var obj, result = 0; + if (hasProp(proto, "message") && (result |= 1), hasProp(proto, "cause") && (result |= 2), + 3 !== result) { + var parentProto = (obj = proto, Object.getPrototypeOf(obj)); + parentProto != Error.prototype && (result |= calculateErrorInfo(parentProto)); + } + return null != metadata && (metadata.errorInfo = result), result; + } + function hasProp(proto, propName) { + return proto.hasOwnProperty(propName); } - function StringBuilder(content) { - this.y4_1 = void 0 !== content ? content : ""; + function asList(_this__u8e3s4) { + return new ArrayList(_this__u8e3s4); } - function uppercaseChar(_this__u8e3s4) { - var uppercase = toString_0(_this__u8e3s4).toUpperCase(); - return uppercase.length > 1 ? _this__u8e3s4 : charSequenceGet(uppercase, 0); + function copyOf(_this__u8e3s4, newSize) { + if (!(newSize >= 0)) throw IllegalArgumentException_init_$Create$_0(toString_1("Invalid new array size: " + newSize + ".")); + return function(src, dst) { + var srcLen = src.length, dstLen = dst.length, index = 0, arr = dst; + for (;index < srcLen && index < dstLen; ) { + var tmp = index, tmp0 = index; + index = tmp0 + 1 | 0, arr[tmp] = src[tmp0]; + } + return dst; + }(_this__u8e3s4, new Int32Array(newSize)); } - function isWhitespace(_this__u8e3s4) { - return isWhitespaceImpl(_this__u8e3s4); + function fill_0(_this__u8e3s4, element, fromIndex, toIndex) { + fromIndex = fromIndex === VOID ? 0 : fromIndex, toIndex = toIndex === VOID ? _this__u8e3s4.length : toIndex, + Companion_instance_4.l2(fromIndex, toIndex, _this__u8e3s4.length), _this__u8e3s4.fill(element, fromIndex, toIndex); } - function checkRadix(radix) { - if (!(2 <= radix && radix <= 36)) throw IllegalArgumentException_init_$Create$("radix " + radix + " was not in valid range 2..36"); - return radix; + function copyOf_0(_this__u8e3s4, newSize) { + if (!(newSize >= 0)) throw IllegalArgumentException_init_$Create$_0(toString_1("Invalid new array size: " + newSize + ".")); + return function(source, newSize, defaultValue) { + var result = source.slice(0, newSize); + void 0 !== source.$type$ && (result.$type$ = source.$type$); + var index = source.length; + if (newSize > index) for (result.length = newSize; index < newSize; ) { + var tmp0 = index; + index = tmp0 + 1 | 0, result[tmp0] = defaultValue; + } + return result; + }(_this__u8e3s4, newSize, null); } - function toBoolean(_this__u8e3s4) { - return null != _this__u8e3s4 && "true" === _this__u8e3s4.toLowerCase(); + function Digit() { + Digit_instance = this; + this.m2_1 = new Int32Array([ 48, 1632, 1776, 1984, 2406, 2534, 2662, 2790, 2918, 3046, 3174, 3302, 3430, 3558, 3664, 3792, 3872, 4160, 4240, 6112, 6160, 6470, 6608, 6784, 6800, 6992, 7088, 7232, 7248, 42528, 43216, 43264, 43472, 43504, 43600, 44016, 65296 ]); } - function digitOf(char, radix) { - var tmp0_let = Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(48)) >= 0 && Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(57)) <= 0 ? Char__minus_impl_a2frrh(char, _Char___init__impl__6a9atx(48)) : Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(65)) >= 0 && Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(90)) <= 0 ? Char__minus_impl_a2frrh(char, _Char___init__impl__6a9atx(65)) + 10 | 0 : Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(97)) >= 0 && Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(122)) <= 0 ? Char__minus_impl_a2frrh(char, _Char___init__impl__6a9atx(97)) + 10 | 0 : Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(128)) < 0 ? -1 : Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(65313)) >= 0 && Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(65338)) <= 0 ? Char__minus_impl_a2frrh(char, _Char___init__impl__6a9atx(65313)) + 10 | 0 : Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(65345)) >= 0 && Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(65370)) <= 0 ? Char__minus_impl_a2frrh(char, _Char___init__impl__6a9atx(65345)) + 10 | 0 : digitToIntImpl(char); - return tmp0_let >= radix ? -1 : tmp0_let; + function Digit_getInstance() { + return null == Digit_instance && new Digit, Digit_instance; } - function toInt(_this__u8e3s4) { - var tmp, tmp0_elvis_lhs = toIntOrNull(_this__u8e3s4); - return null == tmp0_elvis_lhs ? numberFormatError(_this__u8e3s4) : tmp = tmp0_elvis_lhs, - tmp; + function Comparator() {} + function isNaN_0(_this__u8e3s4) { + return !(_this__u8e3s4 == _this__u8e3s4); } - function toLong(_this__u8e3s4) { - var tmp, tmp0_elvis_lhs = toLongOrNull(_this__u8e3s4); - return null == tmp0_elvis_lhs ? numberFormatError(_this__u8e3s4) : tmp = tmp0_elvis_lhs, - tmp; + function countTrailingZeroBits_0(_this__u8e3s4) { + return 32 - clz32(~(_this__u8e3s4 | -_this__u8e3s4)) | 0; } - function toInt_0(_this__u8e3s4, radix) { - var tmp, tmp0_elvis_lhs = toIntOrNull_0(_this__u8e3s4, radix); - return null == tmp0_elvis_lhs ? numberFormatError(_this__u8e3s4) : tmp = tmp0_elvis_lhs, - tmp; + function collectionToArray(collection) { + return function(collection) { + if (collection.q()) return []; + var size = collection.k(), destination = fillArrayVal(Array(size), null), iterator = collection.h(), index = 0; + for (;iterator.i(); ) { + var tmp0 = index; + index = tmp0 + 1 | 0, destination[tmp0] = iterator.j(); + } + return destination; + }(collection); } - function Regex_init_$Init$(pattern, $this) { - return Regex.call($this, pattern, emptySet()), $this; + function listOf(element) { + return 0 === (elements = [ element ]).length ? ArrayList_init_$Create$() : ArrayList_init_$Create$_1(new ArrayAsCollection(elements, !0)); + var elements; } - function Regex_init_$Create$(pattern) { - return Regex_init_$Init$(pattern, Object.create(Regex.prototype)); + function mapCapacity(expectedSize) { + return expectedSize; } - function initMatchesEntirePattern($this) { - var tmp, tmp0_elvis_lhs = $this.cb_1; - if (null == tmp0_elvis_lhs) { - var tmp_1, tmp_2 = _Char___init__impl__6a9atx(94); - if (startsWith$default($this.ya_1, tmp_2, !1, 2, null)) { - var tmp_3 = _Char___init__impl__6a9atx(36); - tmp_1 = endsWith$default($this.ya_1, tmp_3, !1, 2, null); - } else tmp_1 = !1; - if (!tmp_1) return new RegExp("^" + trimEnd(trimStart($this.ya_1, charArrayOf([ _Char___init__impl__6a9atx(94) ])), charArrayOf([ _Char___init__impl__6a9atx(36) ])) + "$", toFlags($this.za_1, "gu")); - var tmp0_also = $this.ab_1; - $this.cb_1 = tmp0_also, tmp = tmp0_also; - } else tmp = tmp0_elvis_lhs; - return tmp; + function copyToArray(collection) { + return void 0 !== collection.toArray ? collection.toArray() : collectionToArray(collection); } - function Companion_5() { - Companion_instance_5 = this, this.db_1 = new RegExp("[\\\\^$*+?.()|[\\]{}]", "g"), - this.eb_1 = new RegExp("[\\\\$]", "g"), this.fb_1 = new RegExp("\\$", "g"); + function setOf(element) { + return function(_this__u8e3s4, destination) { + for (var inductionVariable = 0, last = _this__u8e3s4.length; inductionVariable < last; ) { + var item = _this__u8e3s4[inductionVariable]; + inductionVariable = inductionVariable + 1 | 0, destination.e(item); + } + return destination; + }(elements = [ element ], HashSet_init_$Create$_0(elements.length)); + var elements; } - function Companion_getInstance_5() { - return null == Companion_instance_5 && new Companion_5, Companion_instance_5; + function mapOf(pair) { + return function(_this__u8e3s4, pairs) { + for (var inductionVariable = 0, last = pairs.length; inductionVariable < last; ) { + var tmp1_loop_parameter = pairs[inductionVariable]; + inductionVariable = inductionVariable + 1 | 0; + var key = tmp1_loop_parameter.gc(), value = tmp1_loop_parameter.hc(); + _this__u8e3s4.n1(key, value); + } + }(this_0 = HashMap_init_$Create$_0((pairs = [ pair ]).length), pairs), this_0; + var pairs, this_0; } - function Regex$findAll$lambda(this$0, $input, $startIndex) { - return function() { - return this$0.ib($input, $startIndex); - }; + function arrayCopy(source, destination, destinationOffset, startIndex, endIndex) { + Companion_instance_4.l2(startIndex, endIndex, source.length); + var rangeSize = endIndex - startIndex | 0; + if (Companion_instance_4.l2(destinationOffset, destinationOffset + rangeSize | 0, destination.length), + isView(destination) && isView(source)) { + var subrange = source.subarray(startIndex, endIndex); + destination.set(subrange, destinationOffset); + } else if (source !== destination || destinationOffset <= startIndex) { + var inductionVariable = 0; + if (inductionVariable < rangeSize) do { + var index = inductionVariable; + inductionVariable = inductionVariable + 1 | 0, destination[destinationOffset + index | 0] = source[startIndex + index | 0]; + } while (inductionVariable < rangeSize); + } else { + var inductionVariable_0 = rangeSize - 1 | 0; + if (0 <= inductionVariable_0) do { + var index_0 = inductionVariable_0; + inductionVariable_0 = inductionVariable_0 + -1 | 0, destination[destinationOffset + index_0 | 0] = source[startIndex + index_0 | 0]; + } while (0 <= inductionVariable_0); + } } - function Regex$findAll$lambda_0(match) { - return match.f(); + function checkIndexOverflow(index) { + return index < 0 && function() { + throw ArithmeticException_init_$Create$_0("Index overflow has happened."); + }(), index; } - function Regex(pattern, options) { - Companion_getInstance_5(), this.ya_1 = pattern, this.za_1 = toSet(options), this.ab_1 = new RegExp(pattern, toFlags(options, "gu")), - this.bb_1 = null, this.cb_1 = null; + function AbstractMutableCollection() { + AbstractCollection.call(this); } - function toFlags(_this__u8e3s4, prepend) { - return joinToString$default_0(_this__u8e3s4, "", prepend, null, 0, null, toFlags$lambda, 28, null); + function IteratorImpl($outer) { + this.r2_1 = $outer, this.p2_1 = 0, this.q2_1 = -1; } - function findNext(_this__u8e3s4, input, from, nextPattern) { - _this__u8e3s4.lastIndex = from; - var match = _this__u8e3s4.exec(input); - return null == match ? null : new findNext$1(numberRangeToNumber(match.index, _this__u8e3s4.lastIndex - 1 | 0), match, nextPattern, input); + function ListIteratorImpl($outer, index) { + this.x2_1 = $outer, IteratorImpl.call(this, $outer), Companion_instance_4.y2(index, this.x2_1.k()), + this.p2_1 = index; } - function MatchGroup(value) { - this.ob_1 = value; + function AbstractMutableList() { + AbstractMutableCollection.call(this), this.s2_1 = 0; } - function toFlags$lambda(it) { - return it.rb_1; + function AbstractMutableMap() { + AbstractMap.call(this), this.h3_1 = null, this.i3_1 = null; } - function findNext$o$groups$o$iterator$lambda(this$0) { - return function(it) { - return this$0.g(it); - }; + function AbstractMutableSet() { + AbstractMutableCollection.call(this); } - function advanceToNextCharacter($this, index) { - var tmp$ret$1, tmp$ret$3; - if (index < get_lastIndex_3($this.ac_1) && (55296 <= (tmp$ret$1 = $this.ac_1.charCodeAt(index)) && tmp$ret$1 <= 56319 && 56320 <= (tmp$ret$3 = $this.ac_1.charCodeAt(index + 1 | 0)) && tmp$ret$3 <= 57343)) return index + 2 | 0; - return index + 1 | 0; + function arrayOfUninitializedElements(capacity) { + if (!(capacity >= 0)) { + throw IllegalArgumentException_init_$Create$_0(toString_1("capacity must be non-negative.")); + } + return fillArrayVal(Array(capacity), null); } - function findNext$1$groups$1($match, this$0) { - this.sb_1 = $match, this.tb_1 = this$0, AbstractCollection.call(this); + function resetRange(_this__u8e3s4, fromIndex, toIndex) { + _this__u8e3s4.fill(null, fromIndex, toIndex); } - function findNext$1$groupValues$1($match) { - this.bc_1 = $match, AbstractList.call(this); + function copyOfUninitializedElements(_this__u8e3s4, newSize) { + return copyOf_0(_this__u8e3s4, newSize); } - function findNext$1($range, $match, $nextPattern, $input) { - this.xb_1 = $range, this.yb_1 = $match, this.zb_1 = $nextPattern, this.ac_1 = $input, - this.ub_1 = $range, this.vb_1 = new findNext$1$groups$1($match, this), this.wb_1 = null; + function resetAt(_this__u8e3s4, index) { + _this__u8e3s4[index] = null; } - function startsWith_1(_this__u8e3s4, prefix, ignoreCase) { - return ignoreCase ? regionMatches(_this__u8e3s4, 0, prefix, 0, prefix.length, ignoreCase) : _this__u8e3s4.startsWith(prefix, 0); + function Companion_1() { + Companion_instance_1 = this; + var this_0 = ArrayList_init_$Create$_0(0); + this_0.n_1 = !0, this.q3_1 = this_0; } - function startsWith$default_1(_this__u8e3s4, prefix, ignoreCase, $mask0, $handler) { - return 0 != (2 & $mask0) && (ignoreCase = !1), startsWith_1(_this__u8e3s4, prefix, ignoreCase); + function ArrayList_init_$Create$() { + return $this = objectCreate(protoOf(ArrayList)), ArrayList.call($this, []), $this; + var $this; } - function regionMatches(_this__u8e3s4, thisOffset, other, otherOffset, length, ignoreCase) { - return regionMatchesImpl(_this__u8e3s4, thisOffset, other, otherOffset, length, ignoreCase); + function ArrayList_init_$Create$_0(initialCapacity) { + return function(initialCapacity, $this) { + if (ArrayList.call($this, []), !(initialCapacity >= 0)) throw IllegalArgumentException_init_$Create$_0(toString_1("Negative initial capacity: " + initialCapacity)); + return $this; + }(initialCapacity, objectCreate(protoOf(ArrayList))); } - function isBlank(_this__u8e3s4) { - var tmp; - if (0 === charSequenceLength(_this__u8e3s4)) tmp = !0; else { - var tmp$ret$0; - $l$block_0: { - var tmp0_all = get_indices_2(_this__u8e3s4); - if (isInterface(tmp0_all, Collection) && tmp0_all.l()) tmp$ret$0 = !0; else { - var inductionVariable = tmp0_all.o_1, last = tmp0_all.p_1; - if (inductionVariable <= last) do { - var element = inductionVariable; - if (inductionVariable = inductionVariable + 1 | 0, !isWhitespace(charSequenceGet(_this__u8e3s4, element))) { - tmp$ret$0 = !1; - break $l$block_0; - } - } while (element !== last); - tmp$ret$0 = !0; - } - } - tmp = tmp$ret$0; - } - return tmp; + function ArrayList_init_$Create$_1(elements) { + return function(elements, $this) { + var tmp$ret$0 = copyToArray(elements); + return ArrayList.call($this, tmp$ret$0), $this; + }(elements, objectCreate(protoOf(ArrayList))); } - function endsWith_1(_this__u8e3s4, suffix, ignoreCase) { - return ignoreCase ? regionMatches(_this__u8e3s4, _this__u8e3s4.length - suffix.length | 0, suffix, 0, suffix.length, ignoreCase) : _this__u8e3s4.endsWith(suffix); + function rangeCheck($this, index) { + return Companion_instance_4.r3(index, $this.k()), index; } - function endsWith$default_1(_this__u8e3s4, suffix, ignoreCase, $mask0, $handler) { - return 0 != (2 & $mask0) && (ignoreCase = !1), endsWith_1(_this__u8e3s4, suffix, ignoreCase); + function ArrayList(array) { + null == Companion_instance_1 && new Companion_1, AbstractMutableList.call(this), + this.m_1 = array, this.n_1 = !1; } - function replace(_this__u8e3s4, oldChar, newChar, ignoreCase) { - var tmp0_nativeReplace = new RegExp(Companion_getInstance_5().gb(toString_0(oldChar)), ignoreCase ? "gui" : "gu"), tmp1_nativeReplace = toString_0(newChar); - return _this__u8e3s4.replace(tmp0_nativeReplace, tmp1_nativeReplace); + function mergeSort_0(array, buffer, start, end, comparator) { + if (start === end) return array; + var median = (start + end | 0) / 2 | 0, left = mergeSort_0(array, buffer, start, median, comparator), right = mergeSort_0(array, buffer, median + 1 | 0, end, comparator), target = left === buffer ? array : buffer, leftIndex = start, rightIndex = median + 1 | 0, inductionVariable = start; + if (inductionVariable <= end) do { + var i = inductionVariable; + if (inductionVariable = inductionVariable + 1 | 0, leftIndex <= median && rightIndex <= end) { + var leftValue = left[leftIndex], rightValue = right[rightIndex]; + comparator.compare(leftValue, rightValue) <= 0 ? (target[i] = leftValue, leftIndex = leftIndex + 1 | 0) : (target[i] = rightValue, + rightIndex = rightIndex + 1 | 0); + } else leftIndex <= median ? (target[i] = left[leftIndex], leftIndex = leftIndex + 1 | 0) : (target[i] = right[rightIndex], + rightIndex = rightIndex + 1 | 0); + } while (i !== end); + return target; } - function replace$default(_this__u8e3s4, oldChar, newChar, ignoreCase, $mask0, $handler) { - return 0 != (4 & $mask0) && (ignoreCase = !1), replace(_this__u8e3s4, oldChar, newChar, ignoreCase); + function sortArray$lambda(a, b) { + return compareTo(a, b); } - function replace_0(_this__u8e3s4, oldValue, newValue, ignoreCase) { - var tmp0_nativeReplace = new RegExp(Companion_getInstance_5().gb(oldValue), ignoreCase ? "gui" : "gu"), tmp1_nativeReplace = Companion_getInstance_5().hb(newValue); - return _this__u8e3s4.replace(tmp0_nativeReplace, tmp1_nativeReplace); + function getStableSortingIsSupported$lambda(a, b) { + return (3 & a) - (3 & b) | 0; } - function replace$default_0(_this__u8e3s4, oldValue, newValue, ignoreCase, $mask0, $handler) { - return 0 != (4 & $mask0) && (ignoreCase = !1), replace_0(_this__u8e3s4, oldValue, newValue, ignoreCase); + function HashMap_init_$Init$(internalMap, $this) { + return AbstractMutableMap.call($this), HashMap.call($this), $this.y3_1 = internalMap, + $this; } - function stackTraceToString(_this__u8e3s4) { - return (new ExceptionTraceBuilder).hc(_this__u8e3s4); + function HashMap_init_$Init$_0($this) { + return HashMap_init_$Init$(InternalHashMap_init_$Create$(), $this), $this; } - function printStackTrace(_this__u8e3s4) { - console.error(stackTraceToString(_this__u8e3s4)); + function HashMap_init_$Create$() { + return HashMap_init_$Init$_0(objectCreate(protoOf(HashMap))); } - function hasSeen($this, exception) { - var tmp$ret$1; - $l$block: { - for (var indexedObject = $this.ec_1, inductionVariable = 0, last = indexedObject.length; inductionVariable < last; ) { - var element = indexedObject[inductionVariable]; - if (inductionVariable = inductionVariable + 1 | 0, element === exception) { - tmp$ret$1 = !0; - break $l$block; - } - } - tmp$ret$1 = !1; - } - return tmp$ret$1; + function HashMap_init_$Init$_2(initialCapacity, $this) { + return function(initialCapacity, loadFactor, $this) { + HashMap_init_$Init$(InternalHashMap_init_$Create$_1(initialCapacity, loadFactor), $this); + }(initialCapacity, 1, $this), $this; } - function dumpFullTrace(_this__u8e3s4, $this, indent, qualifier) { - if (!dumpSelfTrace(_this__u8e3s4, $this, indent, qualifier)) return Unit_getInstance(); - for (var cause = _this__u8e3s4.cause; null != cause; ) { - if (!dumpSelfTrace(cause, $this, indent, "Caused by: ")) return Unit_getInstance(); - cause = cause.cause; - } + function HashMap_init_$Create$_0(initialCapacity) { + return HashMap_init_$Init$_2(initialCapacity, objectCreate(protoOf(HashMap))); } - function dumpSelfTrace(_this__u8e3s4, $this, indent, qualifier) { - $this.dc_1.va(indent).va(qualifier); - var shortInfo = _this__u8e3s4.toString(); - if (hasSeen($this, _this__u8e3s4)) return $this.dc_1.va("[CIRCULAR REFERENCE, SEE ABOVE: ").va(shortInfo).va("]\n"), - !1; - $this.ec_1.push(_this__u8e3s4); - var tmp = _this__u8e3s4.stack, stack = null == tmp || "string" == typeof tmp ? tmp : THROW_CCE(); - if (null != stack) { - var tmp1_let = indexOf$default_0(stack, shortInfo, 0, !1, 6, null), stackStart = tmp1_let < 0 ? 0 : tmp1_let + shortInfo.length | 0; - if (0 === stackStart && $this.dc_1.va(shortInfo).va("\n"), 0 === charSequenceLength($this.fc_1) ? ($this.fc_1 = stack, - $this.gc_1 = stackStart) : stack = dropCommonFrames($this, stack, stackStart), charSequenceLength(indent) > 0) { - var tmp_1; - if (0 === stackStart) tmp_1 = 0; else { - for (var count = 0, indexedObject = shortInfo, inductionVariable = 0, last = indexedObject.length; inductionVariable < last; ) { - var element = charSequenceGet(indexedObject, inductionVariable); - inductionVariable = inductionVariable + 1 | 0, equals_0(new Char(element), new Char(_Char___init__impl__6a9atx(10))) && (count = count + 1 | 0); - } - tmp_1 = 1 + count | 0; - } - for (var messageLines = tmp_1, index = 0, tmp0_iterator = lineSequence(stack).d(); tmp0_iterator.e(); ) { - var item = tmp0_iterator.f(), tmp1 = index; - index = tmp1 + 1 | 0, checkIndexOverflow(tmp1) >= messageLines && $this.dc_1.va(indent), - $this.dc_1.va(item).va("\n"); - } - } else $this.dc_1.va(stack).va("\n"); - } else $this.dc_1.va(shortInfo).va("\n"); - var suppressed = get_suppressedExceptions(_this__u8e3s4); - if (!suppressed.l()) for (var suppressedIndent = indent + " ", tmp0_iterator_0 = suppressed.d(); tmp0_iterator_0.e(); ) dumpFullTrace(tmp0_iterator_0.f(), $this, suppressedIndent, "Suppressed: "); - return !0; + function HashMap_init_$Init$_3(original, $this) { + return HashMap_init_$Init$(function(original) { + return function(original, $this) { + return InternalHashMap_init_$Init$_0(original.k(), $this), $this.o1(original), $this; + }(original, objectCreate(protoOf(InternalHashMap))); + }(original), $this), $this; } - function dropCommonFrames($this, stack, stackStart) { - var commonFrames = 0, lastBreak = 0, preLastBreak = 0, inductionVariable = 0, tmp0_minOf = $this.fc_1.length - $this.gc_1 | 0, tmp1_minOf = stack.length - stackStart | 0, last = Math.min(tmp0_minOf, tmp1_minOf); - if (inductionVariable < last) $l$loop: do { - var pos = inductionVariable; - inductionVariable = inductionVariable + 1 | 0; - var c = charSequenceGet(stack, get_lastIndex_3(stack) - pos | 0); - if (!equals_0(new Char(c), new Char(charSequenceGet($this.fc_1, get_lastIndex_3($this.fc_1) - pos | 0)))) break $l$loop; - equals_0(new Char(c), new Char(_Char___init__impl__6a9atx(10))) && (commonFrames = commonFrames + 1 | 0, - preLastBreak = lastBreak, lastBreak = pos); - } while (inductionVariable < last); - if (commonFrames <= 1) return stack; - for (;preLastBreak > 0 && equals_0(new Char(charSequenceGet(stack, get_lastIndex_3(stack) - (preLastBreak - 1 | 0) | 0)), new Char(_Char___init__impl__6a9atx(32))); ) preLastBreak = preLastBreak - 1 | 0; - return dropLast(stack, preLastBreak) + "... and " + (commonFrames - 1 | 0) + " more common stack frames skipped"; + function HashMap() { + this.z3_1 = null; } - function ExceptionTraceBuilder() { - var tmp$ret$2; - this.dc_1 = StringBuilder_init_$Create$_0(), tmp$ret$2 = [], this.ec_1 = tmp$ret$2, - this.fc_1 = "", this.gc_1 = 0; + function HashMapKeys(backing) { + AbstractMutableSet.call(this), this.b4_1 = backing; } - function get_suppressedExceptions(_this__u8e3s4) { - var tmp0_safe_receiver = _this__u8e3s4._suppressed, tmp1_elvis_lhs = null == tmp0_safe_receiver ? null : tmp0_safe_receiver; - return null == tmp1_elvis_lhs ? emptyList() : tmp1_elvis_lhs; + function HashMapValues(backing) { + AbstractMutableCollection.call(this), this.e4_1 = backing; } - function _Char___init__impl__6a9atx(value) { - return value; + function HashMapEntrySet(backing) { + HashMapEntrySetBase.call(this, backing); } - function _get_value__a43j40($this) { - return $this; + function HashMapEntrySetBase(backing) { + AbstractMutableSet.call(this), this.k4_1 = backing; } - function _Char___init__impl__6a9atx_0(code) { - return _Char___init__impl__6a9atx(65535 & _UShort___get_data__impl__g0245(code)); + function HashMapKeysDefault$iterator$1($entryIterator) { + this.q4_1 = $entryIterator; } - function Char__compareTo_impl_ypi4mb($this, other) { - return _get_value__a43j40($this) - _get_value__a43j40(other) | 0; + function HashMapKeysDefault(backingMap) { + AbstractMutableSet.call(this), this.r4_1 = backingMap; } - function Char__compareTo_impl_ypi4mb_0($this, other) { - return Char__compareTo_impl_ypi4mb($this.o4_1, other instanceof Char ? other.o4_1 : THROW_CCE()); + function HashMapValuesDefault$iterator$1($entryIterator) { + this.t4_1 = $entryIterator; } - function Char__minus_impl_a2frrh($this, other) { - return _get_value__a43j40($this) - _get_value__a43j40(other) | 0; + function HashMapValuesDefault(backingMap) { + AbstractMutableCollection.call(this), this.u4_1 = backingMap; } - function Char__toInt_impl_vasixd($this) { - return _get_value__a43j40($this); + function HashSet_init_$Init$(map, $this) { + return AbstractMutableSet.call($this), HashSet.call($this), $this.v4_1 = map, $this; } - function Char__equals_impl_x6719k($this, other) { - return other instanceof Char && _get_value__a43j40($this) === _get_value__a43j40(other.o4_1); + function HashSet_init_$Init$_0($this) { + return HashSet_init_$Init$(InternalHashMap_init_$Create$(), $this), $this; } - function Char__hashCode_impl_otmys($this) { - return _get_value__a43j40($this); + function HashSet_init_$Create$() { + return HashSet_init_$Init$_0(objectCreate(protoOf(HashSet))); } - function toString_0($this) { - return String.fromCharCode(_get_value__a43j40($this)); + function HashSet_init_$Init$_1(initialCapacity, loadFactor, $this) { + return HashSet_init_$Init$(InternalHashMap_init_$Create$_1(initialCapacity, loadFactor), $this), + $this; } - function Companion_6() { - Companion_instance_6 = this, this.ic_1 = _Char___init__impl__6a9atx(0), this.jc_1 = _Char___init__impl__6a9atx(65535), - this.kc_1 = _Char___init__impl__6a9atx(55296), this.lc_1 = _Char___init__impl__6a9atx(56319), - this.mc_1 = _Char___init__impl__6a9atx(56320), this.nc_1 = _Char___init__impl__6a9atx(57343), - this.oc_1 = _Char___init__impl__6a9atx(55296), this.pc_1 = _Char___init__impl__6a9atx(57343), - this.qc_1 = 2, this.rc_1 = 16; + function HashSet_init_$Create$_0(initialCapacity) { + return function(initialCapacity, $this) { + return HashSet_init_$Init$_1(initialCapacity, 1, $this), $this; + }(initialCapacity, objectCreate(protoOf(HashSet))); } - function Companion_getInstance_6() { - return null == Companion_instance_6 && new Companion_6, Companion_instance_6; + function HashSet() {} + function computeHashSize($this, capacity) { + return 0 === (_this__u8e3s4 = imul(coerceAtLeast(capacity, 1), 3)) ? 0 : 1 << 31 - clz32(_this__u8e3s4); + var _this__u8e3s4; } - function Char(value) { - Companion_getInstance_6(), this.o4_1 = value; + function computeShift($this, hashSize) { + return clz32(hashSize) + 1 | 0; } - function List() {} - function Set() {} - function Entry() {} - function Map() {} - function Collection() {} - function MutableEntry() {} - function Companion_7() { - Companion_instance_7 = this; + function InternalHashMap_init_$Create$() { + return InternalHashMap_init_$Init$_0(8, $this = objectCreate(protoOf(InternalHashMap))), + $this; + var $this; } - function Companion_getInstance_7() { - return null == Companion_instance_7 && new Companion_7, Companion_instance_7; + function InternalHashMap_init_$Init$_0(initialCapacity, $this) { + return InternalHashMap.call($this, arrayOfUninitializedElements(initialCapacity), null, new Int32Array(initialCapacity), new Int32Array(computeHashSize(0, initialCapacity)), 2, 0), + $this; } - function Enum(name, ordinal) { - Companion_getInstance_7(), this.c4_1 = name, this.d4_1 = ordinal; + function InternalHashMap_init_$Create$_1(initialCapacity, loadFactor) { + return function(initialCapacity, loadFactor, $this) { + if (InternalHashMap_init_$Init$_0(initialCapacity, $this), !(loadFactor > 0)) throw IllegalArgumentException_init_$Create$_0(toString_1("Non-positive load factor: " + loadFactor)); + return $this; + }(initialCapacity, loadFactor, objectCreate(protoOf(InternalHashMap))); + } + function _get_capacity__a9k9f3($this) { + return $this.w4_1.length; + } + function _get_hashSize__tftcho($this) { + return $this.z4_1.length; + } + function registerModification($this) { + $this.d5_1 = $this.d5_1 + 1 | 0; + } + function ensureExtraCapacity($this, n) { + !function($this, extraCapacity) { + var spareCapacity = _get_capacity__a9k9f3($this) - $this.b5_1 | 0, gaps = $this.b5_1 - $this.k() | 0; + return spareCapacity < extraCapacity && (gaps + spareCapacity | 0) >= extraCapacity && gaps >= (_get_capacity__a9k9f3($this) / 4 | 0); + }($this, n) ? function($this, minCapacity) { + if (minCapacity < 0) throw RuntimeException_init_$Create$_0("too many elements"); + if (minCapacity > _get_capacity__a9k9f3($this)) { + var newSize = Companion_instance_4.g5(_get_capacity__a9k9f3($this), minCapacity); + $this.w4_1 = copyOfUninitializedElements($this.w4_1, newSize); + var tmp = $this, tmp0_safe_receiver = $this.x4_1; + tmp.x4_1 = null == tmp0_safe_receiver ? null : copyOfUninitializedElements(tmp0_safe_receiver, newSize), + $this.y4_1 = copyOf($this.y4_1, newSize); + var newHashSize = computeHashSize(0, newSize); + newHashSize > _get_hashSize__tftcho($this) && rehash($this, newHashSize); + } + }($this, $this.b5_1 + n | 0) : rehash($this, _get_hashSize__tftcho($this)); + } + function allocateValuesArray($this) { + var curValuesArray = $this.x4_1; + if (null != curValuesArray) return curValuesArray; + var newValuesArray = arrayOfUninitializedElements(_get_capacity__a9k9f3($this)); + return $this.x4_1 = newValuesArray, newValuesArray; + } + function hash($this, key) { + return null == key ? 0 : imul(hashCode(key), -1640531527) >>> $this.c5_1 | 0; + } + function rehash($this, newHashSize) { + var _this__u8e3s4, element, fromIndex, toIndex; + registerModification($this), $this.b5_1 > $this.e5_1 && function($this) { + for (var i = 0, j = 0, valuesArray = $this.x4_1; i < $this.b5_1; ) $this.y4_1[i] >= 0 && ($this.w4_1[j] = $this.w4_1[i], + null != valuesArray && (valuesArray[j] = valuesArray[i]), j = j + 1 | 0), i = i + 1 | 0; + resetRange($this.w4_1, j, $this.b5_1), null == valuesArray || resetRange(valuesArray, j, $this.b5_1), + $this.b5_1 = j; + }($this), newHashSize !== _get_hashSize__tftcho($this) ? ($this.z4_1 = new Int32Array(newHashSize), + $this.c5_1 = computeShift(0, newHashSize)) : (_this__u8e3s4 = $this.z4_1, element = 0, + fromIndex = 0, toIndex = _get_hashSize__tftcho($this), fromIndex = fromIndex === VOID ? 0 : fromIndex, + toIndex = toIndex === VOID ? _this__u8e3s4.length : toIndex, Companion_instance_4.l2(fromIndex, toIndex, _this__u8e3s4.length), + _this__u8e3s4.fill(element, fromIndex, toIndex)); + for (var i = 0; i < $this.b5_1; ) { + var tmp0 = i; + if (i = tmp0 + 1 | 0, !putRehash($this, tmp0)) throw IllegalStateException_init_$Create$_0("This cannot happen with fixed magic multiplier and grow-only hash array. Have object hashCodes changed?"); + } + } + function putRehash($this, i) { + for (var hash_0 = hash($this, $this.w4_1[i]), probesLeft = $this.a5_1; ;) { + if (0 === $this.z4_1[hash_0]) return $this.z4_1[hash_0] = i + 1 | 0, $this.y4_1[i] = hash_0, + !0; + if ((probesLeft = probesLeft - 1 | 0) < 0) return !1; + var tmp0 = hash_0; + hash_0 = tmp0 - 1 | 0, 0 === tmp0 && (hash_0 = _get_hashSize__tftcho($this) - 1 | 0); + } + } + function findKey($this, key) { + for (var hash_0 = hash($this, key), probesLeft = $this.a5_1; ;) { + var index = $this.z4_1[hash_0]; + if (0 === index) return -1; + if (index > 0 && equals($this.w4_1[index - 1 | 0], key)) return index - 1 | 0; + if ((probesLeft = probesLeft - 1 | 0) < 0) return -1; + var tmp0 = hash_0; + hash_0 = tmp0 - 1 | 0, 0 === tmp0 && (hash_0 = _get_hashSize__tftcho($this) - 1 | 0); + } + } + function addKey($this, key) { + $this.d4(); + retry: for (;;) for (var hash_0 = hash($this, key), tentativeMaxProbeDistance = coerceAtMost(imul($this.a5_1, 2), _get_hashSize__tftcho($this) / 2 | 0), probeDistance = 0; ;) { + var index = $this.z4_1[hash_0]; + if (index <= 0) { + if ($this.b5_1 >= _get_capacity__a9k9f3($this)) { + ensureExtraCapacity($this, 1); + continue retry; + } + var tmp1 = $this.b5_1; + $this.b5_1 = tmp1 + 1 | 0; + var putIndex = tmp1; + return $this.w4_1[putIndex] = key, $this.y4_1[putIndex] = hash_0, $this.z4_1[hash_0] = putIndex + 1 | 0, + $this.e5_1 = $this.e5_1 + 1 | 0, registerModification($this), probeDistance > $this.a5_1 && ($this.a5_1 = probeDistance), + putIndex; + } + if (equals($this.w4_1[index - 1 | 0], key)) return 0 | -index; + if ((probeDistance = probeDistance + 1 | 0) > tentativeMaxProbeDistance) { + rehash($this, imul(_get_hashSize__tftcho($this), 2)); + continue retry; + } + var tmp4 = hash_0; + hash_0 = tmp4 - 1 | 0, 0 === tmp4 && (hash_0 = _get_hashSize__tftcho($this) - 1 | 0); + } + } + function removeEntryAt($this, index) { + resetAt($this.w4_1, index); + var tmp0_safe_receiver = $this.x4_1; + null == tmp0_safe_receiver || resetAt(tmp0_safe_receiver, index), function($this, removedHash) { + var hash_0 = removedHash, hole = removedHash, probeDistance = 0, patchAttemptsLeft = coerceAtMost(imul($this.a5_1, 2), _get_hashSize__tftcho($this) / 2 | 0); + for (;;) { + var tmp0 = hash_0; + if (hash_0 = tmp0 - 1 | 0, 0 === tmp0 && (hash_0 = _get_hashSize__tftcho($this) - 1 | 0), + (probeDistance = probeDistance + 1 | 0) > $this.a5_1) return $this.z4_1[hole] = 0, + Unit_instance; + var index = $this.z4_1[hash_0]; + if (0 === index) return $this.z4_1[hole] = 0, Unit_instance; + if (index < 0) $this.z4_1[hole] = -1, hole = hash_0, probeDistance = 0; else (hash($this, $this.w4_1[index - 1 | 0]) - hash_0 & _get_hashSize__tftcho($this) - 1) >= probeDistance && ($this.z4_1[hole] = index, + $this.y4_1[index - 1 | 0] = hole, hole = hash_0, probeDistance = 0); + if ((patchAttemptsLeft = patchAttemptsLeft - 1 | 0) < 0) return $this.z4_1[hole] = -1, + Unit_instance; + } + }($this, $this.y4_1[index]), $this.y4_1[index] = -1, $this.e5_1 = $this.e5_1 - 1 | 0, + registerModification($this); + } + function putEntry($this, entry) { + var index = addKey($this, entry.f1()), valuesArray = allocateValuesArray($this); + if (index >= 0) return valuesArray[index] = entry.g1(), !0; + var oldValue = valuesArray[(0 | -index) - 1 | 0]; + return !equals(entry.g1(), oldValue) && (valuesArray[(0 | -index) - 1 | 0] = entry.g1(), + !0); } - function toString_1(_this__u8e3s4) { - var tmp1_elvis_lhs = null == _this__u8e3s4 ? null : toString_2(_this__u8e3s4); - return null == tmp1_elvis_lhs ? "null" : tmp1_elvis_lhs; + function Companion_2() { + this.h5_1 = -1640531527, this.i5_1 = 8, this.j5_1 = 2, this.k5_1 = -1; } - function plus_3(_this__u8e3s4, other) { - var tmp3_elvis_lhs = null == _this__u8e3s4 ? null : toString_2(_this__u8e3s4), tmp = null == tmp3_elvis_lhs ? "null" : tmp3_elvis_lhs, tmp1_elvis_lhs = null == other ? null : toString_2(other); - return tmp + (null == tmp1_elvis_lhs ? "null" : tmp1_elvis_lhs); + function Itr(map) { + this.l5_1 = map, this.m5_1 = 0, this.n5_1 = -1, this.o5_1 = this.l5_1.d5_1, this.p5(); } - function implement(interfaces) { - for (var maxSize = 1, masks = [], indexedObject = interfaces, inductionVariable = 0, last = indexedObject.length; inductionVariable < last; ) { - var i = indexedObject[inductionVariable]; - inductionVariable = inductionVariable + 1 | 0; - var currentSize = maxSize, tmp1_elvis_lhs = i.prototype.$imask$, imask = null == tmp1_elvis_lhs ? i.$imask$ : tmp1_elvis_lhs; - null != imask && (masks.push(imask), currentSize = imask.vc_1.length); - var iid = i.$metadata$.iid, iidImask = null == iid ? null : new BitMask([ iid ]); - null != iidImask && (masks.push(iidImask), currentSize = Math.max(currentSize, iidImask.vc_1.length)), - currentSize > maxSize && (maxSize = currentSize); - } - for (var tmp_0 = 0, tmp_1 = maxSize, tmp_2 = new Int32Array(tmp_1); tmp_0 < tmp_1; ) { - var tmp$ret$5, tmp_3 = tmp_0; - tmp$ret$5 = masks.reduce(implement$lambda(tmp_3), 0), tmp_2[tmp_3] = tmp$ret$5, - tmp_0 = tmp_0 + 1 | 0; - } - var resultIntArray = tmp_2, result = new BitMask([]); - return result.vc_1 = resultIntArray, result; + function KeysItr(map) { + Itr.call(this, map); } - function BitMask(activeBits) { - var tmp$ret$2, tmp_0, tmp = this; - if (0 === activeBits.length) tmp_0 = new Int32Array(0); else { - for (var max = Math.max.apply(null, activeBits), intArray = new Int32Array(1 + (max >> 5) | 0), indexedObject = activeBits, inductionVariable = 0, last = indexedObject.length; inductionVariable < last; ) { - var activeBit = indexedObject[inductionVariable]; - inductionVariable = inductionVariable + 1 | 0; - var numberIndex = activeBit >> 5, numberWithSettledBit = 1 << (31 & activeBit); - intArray[numberIndex] = intArray[numberIndex] | numberWithSettledBit; - } - tmp_0 = intArray; - } - tmp$ret$2 = tmp_0, tmp.vc_1 = tmp$ret$2; + function ValuesItr(map) { + Itr.call(this, map); } - function implement$lambda($tmp) { - return function(acc, it) { - return $tmp >= it.vc_1.length ? acc : acc | it.vc_1[$tmp]; - }; + function EntriesItr(map) { + Itr.call(this, map); } - function fillArrayVal(array, initValue) { - var inductionVariable = 0, last = array.length - 1 | 0; - if (inductionVariable <= last) do { - var i = inductionVariable; - inductionVariable = inductionVariable + 1 | 0, array[i] = initValue; - } while (i !== last); - return array; + function EntryRef(map, index) { + this.j6_1 = map, this.k6_1 = index; } - function arrayIterator(array) { - return new arrayIterator$1(array); + function InternalHashMap(keysArray, valuesArray, presenceArray, hashArray, maxProbeDistance, length) { + this.w4_1 = keysArray, this.x4_1 = valuesArray, this.y4_1 = presenceArray, this.z4_1 = hashArray, + this.a5_1 = maxProbeDistance, this.b5_1 = length, this.c5_1 = computeShift(0, _get_hashSize__tftcho(this)), + this.d5_1 = 0, this.e5_1 = 0, this.f5_1 = !1; } - function booleanArray(size) { - var tmp0_withType = fillArrayVal(Array(size), !1); - return tmp0_withType.$type$ = "BooleanArray", tmp0_withType; + function InternalMap() {} + function LinkedHashMap_init_$Create$() { + return HashMap_init_$Init$_0($this = objectCreate(protoOf(LinkedHashMap))), LinkedHashMap.call($this), + $this; + var $this; } - function charArray(size) { - var tmp0_withType = new Uint16Array(size); - return tmp0_withType.$type$ = "CharArray", tmp0_withType; + function LinkedHashMap_init_$Create$_0(initialCapacity) { + return function(initialCapacity, $this) { + return HashMap_init_$Init$_2(initialCapacity, $this), LinkedHashMap.call($this), + $this; + }(initialCapacity, objectCreate(protoOf(LinkedHashMap))); } - function longArray(size) { - var tmp0_withType = fillArrayVal(Array(size), new Long(0, 0)); - return tmp0_withType.$type$ = "LongArray", tmp0_withType; + function LinkedHashMap() {} + function LinkedHashSet_init_$Create$() { + return HashSet_init_$Init$_0($this = objectCreate(protoOf(LinkedHashSet))), LinkedHashSet.call($this), + $this; + var $this; } - function charArrayOf(arr) { - var tmp0_withType = new Uint16Array(arr); - return tmp0_withType.$type$ = "CharArray", tmp0_withType; + function LinkedHashSet_init_$Init$_1(initialCapacity, $this) { + return function(initialCapacity, loadFactor, $this) { + HashSet_init_$Init$_1(initialCapacity, loadFactor, $this), LinkedHashSet.call($this); + }(initialCapacity, 1, $this), $this; } - function arrayIterator$1($array) { - this.yc_1 = $array, this.xc_1 = 0; + function LinkedHashSet_init_$Create$_0(initialCapacity) { + return LinkedHashSet_init_$Init$_1(initialCapacity, objectCreate(protoOf(LinkedHashSet))); } - function get_buf() { - return init_properties_bitUtils_kt_cxtw9i(), buf; + function LinkedHashSet() {} + function CoroutineImpl(resultContinuation) { + InterceptedCoroutine.call(this), this.u6_1 = resultContinuation, this.v6_1 = 0, + this.w6_1 = 0, this.x6_1 = null, this.y6_1 = null, this.z6_1 = null; + var tmp0_safe_receiver = this.u6_1; + this.a7_1 = null == tmp0_safe_receiver ? null : tmp0_safe_receiver.b7(); } - function get_bufFloat64() { - return init_properties_bitUtils_kt_cxtw9i(), bufFloat64; + function CompletedContinuation() {} + function InterceptedCoroutine() { + this.e7_1 = null; } - function get_bufInt32() { - return init_properties_bitUtils_kt_cxtw9i(), bufInt32; + function SafeContinuation(delegate, initialResult) { + this.l7_1 = delegate, this.m7_1 = initialResult; } - function get_lowIndex() { - return init_properties_bitUtils_kt_cxtw9i(), lowIndex; + function CancellationException() { + captureStack(this, CancellationException); } - function get_highIndex() { - return init_properties_bitUtils_kt_cxtw9i(), highIndex; + function intercepted(_this__u8e3s4) { + var tmp0_safe_receiver = _this__u8e3s4 instanceof InterceptedCoroutine ? _this__u8e3s4 : null, tmp1_elvis_lhs = null == tmp0_safe_receiver ? null : tmp0_safe_receiver.h7(); + return null == tmp1_elvis_lhs ? _this__u8e3s4 : tmp1_elvis_lhs; } - function getNumberHashCode(obj) { - return init_properties_bitUtils_kt_cxtw9i(), jsBitwiseOr(obj, 0) === obj ? numberToInt(obj) : (get_bufFloat64()[0] = obj, - imul(get_bufInt32()[get_highIndex()], 31) + get_bufInt32()[get_lowIndex()] | 0); + function createCoroutineUnintercepted(_this__u8e3s4, receiver, completion) { + return new _no_name_provided__qut3iv_1(completion, _this__u8e3s4, receiver, completion); } - function init_properties_bitUtils_kt_cxtw9i() { - if (properties_initialized_bitUtils_kt_i2bo3e) ; else { - properties_initialized_bitUtils_kt_i2bo3e = !0, buf = new ArrayBuffer(8); - var tmp0_unsafeCast = new Float64Array(get_buf()); - bufFloat64 = tmp0_unsafeCast; - new Float32Array(get_buf()); - var tmp$ret$0_2, tmp0_unsafeCast_1 = new Int32Array(get_buf()); - bufInt32 = tmp0_unsafeCast_1, get_bufFloat64()[0] = -1, tmp$ret$0_2 = 0 !== get_bufInt32()[0] ? 1 : 0, - lowIndex = tmp$ret$0_2, highIndex = 1 - get_lowIndex() | 0; - } + function _no_name_provided__qut3iv_1($completion, $this_createCoroutineUnintercepted, $receiver, $completion$1) { + this.z7_1 = $this_createCoroutineUnintercepted, this.a8_1 = $receiver, this.b8_1 = $completion$1, + CoroutineImpl.call(this, isInterface($completion, Continuation) ? $completion : THROW_CCE()); } - function charSequenceGet(a, index) { - var tmp; - if (isString(a)) { - var tmp_0, tmp1_Char = a.charCodeAt(index); - if (Companion_getInstance_6(), tmp1_Char < Char__toInt_impl_vasixd(_Char___init__impl__6a9atx(0)) ? tmp_0 = !0 : (Companion_getInstance_6(), - tmp_0 = tmp1_Char > Char__toInt_impl_vasixd(_Char___init__impl__6a9atx(65535))), - tmp_0) throw IllegalArgumentException_init_$Create$("Invalid Char code: " + tmp1_Char); - tmp = numberToChar(tmp1_Char); - } else tmp = a.a6(index); - return tmp; + function _no_name_provided__qut3iv_2($context) { + this.d8_1 = $context; } - function isString(a) { - return "string" == typeof a; + function Exception_init_$Init$($this) { + return extendThrowable($this), Exception.call($this), $this; } - function charSequenceLength(a) { - return isString(a) ? a.length : a.z5(); + function Exception_init_$Init$_0(message, $this) { + return extendThrowable($this, message), Exception.call($this), $this; } - function charSequenceSubSequence(a, startIndex, endIndex) { - return isString(a) ? a.substring(startIndex, endIndex) : a.b6(startIndex, endIndex); + function Exception_init_$Create$_0(message) { + var tmp = Exception_init_$Init$_0(message, objectCreate(protoOf(Exception))); + return captureStack(tmp, Exception_init_$Create$_0), tmp; } - function arrayToString(array) { - return joinToString$default(array, ", ", "[", "]", 0, null, arrayToString$lambda, 24, null); + function Exception() { + captureStack(this, Exception); } - function contentEqualsInternal(_this__u8e3s4, other) { - var a = _this__u8e3s4, b = other; - if (a === b) return !0; - if (null == a || null == b || !isArrayish(b) || a.length != b.length) return !1; - var inductionVariable = 0, last = a.length; - if (inductionVariable < last) do { - var i = inductionVariable; - if (inductionVariable = inductionVariable + 1 | 0, !equals_0(a[i], b[i])) return !1; - } while (inductionVariable < last); - return !0; + function IllegalArgumentException_init_$Init$($this) { + return RuntimeException_init_$Init$($this), IllegalArgumentException.call($this), + $this; } - function contentHashCodeInternal(_this__u8e3s4) { - var a = _this__u8e3s4; - if (null == a) return 0; - var result = 1, inductionVariable = 0, last = a.length; - if (inductionVariable < last) do { - var i = inductionVariable; - inductionVariable = inductionVariable + 1 | 0, result = imul(result, 31) + hashCode(a[i]) | 0; - } while (inductionVariable < last); - return result; + function IllegalArgumentException_init_$Init$_0(message, $this) { + return RuntimeException_init_$Init$_0(message, $this), IllegalArgumentException.call($this), + $this; } - function arrayToString$lambda(it) { - return toString_2(it); + function IllegalArgumentException_init_$Create$_0(message) { + var tmp = IllegalArgumentException_init_$Init$_0(message, objectCreate(protoOf(IllegalArgumentException))); + return captureStack(tmp, IllegalArgumentException_init_$Create$_0), tmp; } - function compareTo(a, b) { - var tmp; - switch (typeof a) { - case "number": - tmp = "number" == typeof b ? doubleCompareTo(a, b) : b instanceof Long ? doubleCompareTo(a, b.zc()) : primitiveCompareTo(a, b); - break; - - case "string": - case "boolean": - tmp = primitiveCompareTo(a, b); - break; - - default: - tmp = compareToDoNotIntrinsicify(a, b); - } - return tmp; + function IllegalArgumentException() { + captureStack(this, IllegalArgumentException); } - function doubleCompareTo(a, b) { - var tmp; - if (a < b) tmp = -1; else if (a > b) tmp = 1; else if (a === b) { - var tmp_0; - if (0 !== a) tmp_0 = 0; else { - var ia = 1 / a; - tmp_0 = ia === 1 / b ? 0 : ia < 0 ? -1 : 1; - } - tmp = tmp_0; - } else tmp = a != a ? b != b ? 0 : 1 : -1; - return tmp; + function IndexOutOfBoundsException_init_$Create$_0(message) { + var tmp = function(message, $this) { + return RuntimeException_init_$Init$_0(message, $this), IndexOutOfBoundsException.call($this), + $this; + }(message, objectCreate(protoOf(IndexOutOfBoundsException))); + return captureStack(tmp, IndexOutOfBoundsException_init_$Create$_0), tmp; } - function primitiveCompareTo(a, b) { - return a < b ? -1 : a > b ? 1 : 0; + function IndexOutOfBoundsException() { + captureStack(this, IndexOutOfBoundsException); } - function compareToDoNotIntrinsicify(a, b) { - return a.c6(b); + function IllegalStateException_init_$Init$($this) { + return RuntimeException_init_$Init$($this), IllegalStateException.call($this), $this; } - function identityHashCode(obj) { - return getObjectHashCode(obj); + function IllegalStateException_init_$Init$_0(message, $this) { + return RuntimeException_init_$Init$_0(message, $this), IllegalStateException.call($this), + $this; } - function getObjectHashCode(obj) { - if (!jsIn("kotlinHashCodeValue$", obj)) { - var hash = jsBitwiseOr(4294967296 * Math.random(), 0), descriptor = new Object; - descriptor.value = hash, descriptor.enumerable = !1, Object.defineProperty(obj, "kotlinHashCodeValue$", descriptor); - } - return obj.kotlinHashCodeValue$; + function IllegalStateException_init_$Create$_0(message) { + var tmp = IllegalStateException_init_$Init$_0(message, objectCreate(protoOf(IllegalStateException))); + return captureStack(tmp, IllegalStateException_init_$Create$_0), tmp; } - function toString_2(o) { - return null == o ? "null" : isArrayish(o) ? "[...]" : o.toString(); + function IllegalStateException_init_$Init$_1(message, cause, $this) { + return RuntimeException_init_$Init$_1(message, cause, $this), IllegalStateException.call($this), + $this; } - function equals_0(obj1, obj2) { - if (null == obj1) return null == obj2; - if (null == obj2) return !1; - if ("object" == typeof obj1 && "function" == typeof obj1.equals) return obj1.equals(obj2); - if (obj1 != obj1) return obj2 != obj2; - if ("number" == typeof obj1 && "number" == typeof obj2) { - var tmp; - if (obj1 === obj2) tmp = 0 !== obj1 || 1 / obj1 == 1 / obj2; else tmp = !1; - return tmp; - } - return obj1 === obj2; + function IllegalStateException() { + captureStack(this, IllegalStateException); } - function hashCode(obj) { - if (null == obj) return 0; - var tmp; - switch (typeof obj) { - case "object": - tmp = "function" == typeof obj.hashCode ? obj.hashCode() : getObjectHashCode(obj); - break; - - case "function": - tmp = getObjectHashCode(obj); - break; - - case "number": - tmp = getNumberHashCode(obj); - break; - - case "boolean": - tmp = obj ? 1 : 0; - break; - - default: - tmp = getStringHashCode(String(obj)); - } - return tmp; + function UnsupportedOperationException_init_$Create$() { + var $this, tmp = (RuntimeException_init_$Init$($this = objectCreate(protoOf(UnsupportedOperationException))), + UnsupportedOperationException.call($this), $this); + return captureStack(tmp, UnsupportedOperationException_init_$Create$), tmp; } - function getStringHashCode(str) { - var hash = 0, inductionVariable = 0, last = str.length - 1 | 0; - if (inductionVariable <= last) do { - var i = inductionVariable; - inductionVariable = inductionVariable + 1 | 0; - var code = str.charCodeAt(i); - hash = imul(hash, 31) + code | 0; - } while (i !== last); - return hash; + function UnsupportedOperationException_init_$Create$_0(message) { + var tmp = function(message, $this) { + return RuntimeException_init_$Init$_0(message, $this), UnsupportedOperationException.call($this), + $this; + }(message, objectCreate(protoOf(UnsupportedOperationException))); + return captureStack(tmp, UnsupportedOperationException_init_$Create$_0), tmp; } - function anyToString(o) { - return Object.prototype.toString.call(o); + function UnsupportedOperationException() { + captureStack(this, UnsupportedOperationException); } - function captureStack(instance, constructorFunction) { - null != Error.captureStackTrace ? Error.captureStackTrace(instance, constructorFunction) : instance.stack = (new Error).stack; + function RuntimeException_init_$Init$($this) { + return Exception_init_$Init$($this), RuntimeException.call($this), $this; } - function newThrowable(message, cause) { - var tmp, throwable = new Error; - if (isUndefined(message)) { - var tmp_0; - if (isUndefined(cause)) tmp_0 = message; else { - var tmp1_elvis_lhs = null == cause ? null : cause.toString(); - tmp_0 = null == tmp1_elvis_lhs ? void 0 : tmp1_elvis_lhs; - } - tmp = tmp_0; - } else tmp = null == message ? void 0 : message; - return throwable.message = tmp, throwable.cause = cause, throwable.name = "Throwable", - throwable; + function RuntimeException_init_$Init$_0(message, $this) { + return Exception_init_$Init$_0(message, $this), RuntimeException.call($this), $this; } - function isUndefined(value) { - return void 0 === value; + function RuntimeException_init_$Create$_0(message) { + var tmp = RuntimeException_init_$Init$_0(message, objectCreate(protoOf(RuntimeException))); + return captureStack(tmp, RuntimeException_init_$Create$_0), tmp; } - function extendThrowable(this_, message, cause) { - Error.call(this_), setPropertiesToThrowableInstance(this_, message, cause); + function RuntimeException_init_$Init$_1(message, cause, $this) { + return function(message, cause, $this) { + extendThrowable($this, message, cause), Exception.call($this); + }(message, cause, $this), RuntimeException.call($this), $this; } - function setPropertiesToThrowableInstance(this_, message, cause) { - if (!hasOwnPrototypeProperty(this_, "message")) { - var tmp; - if (null == message) { - var tmp_0; - if (null !== message) { - var tmp1_elvis_lhs = null == cause ? null : cause.toString(); - tmp_0 = null == tmp1_elvis_lhs ? void 0 : tmp1_elvis_lhs; - } else tmp_0 = void 0; - tmp = tmp_0; - } else tmp = message; - this_.message = tmp; - } - hasOwnPrototypeProperty(this_, "cause") || (this_.cause = cause), this_.name = Object.getPrototypeOf(this_).constructor.name; + function RuntimeException() { + captureStack(this, RuntimeException); } - function hasOwnPrototypeProperty(o, name) { - return Object.getPrototypeOf(o).hasOwnProperty(name); + function NoSuchElementException_init_$Create$() { + var $this, tmp = (RuntimeException_init_$Init$($this = objectCreate(protoOf(NoSuchElementException))), + NoSuchElementException.call($this), $this); + return captureStack(tmp, NoSuchElementException_init_$Create$), tmp; } - function returnIfSuspended(argument, $cont) { - return null == argument || isObject(argument) ? argument : THROW_CCE(); + function NoSuchElementException_init_$Create$_0(message) { + var tmp = function(message, $this) { + return RuntimeException_init_$Init$_0(message, $this), NoSuchElementException.call($this), + $this; + }(message, objectCreate(protoOf(NoSuchElementException))); + return captureStack(tmp, NoSuchElementException_init_$Create$_0), tmp; } - function ensureNotNull(v) { - var tmp; - return null == v ? THROW_NPE() : tmp = v, tmp; + function NoSuchElementException() { + captureStack(this, NoSuchElementException); } - function THROW_NPE() { - throw NullPointerException_init_$Create$(); + function Error_0() { + captureStack(this, Error_0); } - function noWhenBranchMatchedException() { - throw NoWhenBranchMatchedException_init_$Create$(); + function ConcurrentModificationException_init_$Create$() { + var $this, tmp = (RuntimeException_init_$Init$($this = objectCreate(protoOf(ConcurrentModificationException))), + ConcurrentModificationException.call($this), $this); + return captureStack(tmp, ConcurrentModificationException_init_$Create$), tmp; } - function THROW_CCE() { - throw ClassCastException_init_$Create$(); + function ConcurrentModificationException() { + captureStack(this, ConcurrentModificationException); } - function throwUninitializedPropertyAccessException(name) { - throw UninitializedPropertyAccessException_init_$Create$("lateinit property " + name + " has not been initialized"); + function NumberFormatException_init_$Create$_0(message) { + var tmp = function(message, $this) { + return IllegalArgumentException_init_$Init$_0(message, $this), NumberFormatException.call($this), + $this; + }(message, objectCreate(protoOf(NumberFormatException))); + return captureStack(tmp, NumberFormatException_init_$Create$_0), tmp; } - function lazy(mode, initializer) { - return new UnsafeLazyImpl(initializer); + function NumberFormatException() { + captureStack(this, NumberFormatException); } - function lazy_0(initializer) { - return new UnsafeLazyImpl(initializer); + function ArithmeticException_init_$Create$_0(message) { + var tmp = function(message, $this) { + return RuntimeException_init_$Init$_0(message, $this), ArithmeticException.call($this), + $this; + }(message, objectCreate(protoOf(ArithmeticException))); + return captureStack(tmp, ArithmeticException_init_$Create$_0), tmp; } - function fillFrom(src, dst) { - for (var srcLen = src.length, dstLen = dst.length, index = 0, arr = dst; index < srcLen && index < dstLen; ) { - var tmp = index, tmp0 = index; - index = tmp0 + 1 | 0, arr[tmp] = src[tmp0]; - } - return dst; + function ArithmeticException() { + captureStack(this, ArithmeticException); } - function arrayCopyResize(source, newSize, defaultValue) { - var result = source.slice(0, newSize); - void 0 !== source.$type$ && (result.$type$ = source.$type$); - var index = source.length; - if (newSize > index) for (result.length = newSize; index < newSize; ) { - var tmp0 = index; - index = tmp0 + 1 | 0, result[tmp0] = defaultValue; - } - return result; + function NullPointerException_init_$Create$() { + var $this, tmp = (RuntimeException_init_$Init$($this = objectCreate(protoOf(NullPointerException))), + NullPointerException.call($this), $this); + return captureStack(tmp, NullPointerException_init_$Create$), tmp; } - function Companion_8() { - Companion_instance_8 = this, this.ad_1 = new Long(0, -2147483648), this.bd_1 = new Long(-1, 2147483647), - this.cd_1 = 8, this.dd_1 = 64; + function NullPointerException() { + captureStack(this, NullPointerException); } - function Companion_getInstance_8() { - return null == Companion_instance_8 && new Companion_8, Companion_instance_8; + function NoWhenBranchMatchedException_init_$Create$() { + var $this, tmp = (RuntimeException_init_$Init$($this = objectCreate(protoOf(NoWhenBranchMatchedException))), + NoWhenBranchMatchedException.call($this), $this); + return captureStack(tmp, NoWhenBranchMatchedException_init_$Create$), tmp; } - function Long(low, high) { - Companion_getInstance_8(), Number_0.call(this), this.q4_1 = low, this.r4_1 = high; + function NoWhenBranchMatchedException() { + captureStack(this, NoWhenBranchMatchedException); } - function get_ZERO() { - return init_properties_longjs_kt_ttk8rv(), ZERO; + function ClassCastException_init_$Create$() { + var $this, tmp = (RuntimeException_init_$Init$($this = objectCreate(protoOf(ClassCastException))), + ClassCastException.call($this), $this); + return captureStack(tmp, ClassCastException_init_$Create$), tmp; } - function get_ONE() { - return init_properties_longjs_kt_ttk8rv(), ONE; + function ClassCastException() { + captureStack(this, ClassCastException); } - function get_NEG_ONE() { - return init_properties_longjs_kt_ttk8rv(), NEG_ONE; + function UninitializedPropertyAccessException_init_$Create$_0(message) { + var tmp = function(message, $this) { + return RuntimeException_init_$Init$_0(message, $this), UninitializedPropertyAccessException.call($this), + $this; + }(message, objectCreate(protoOf(UninitializedPropertyAccessException))); + return captureStack(tmp, UninitializedPropertyAccessException_init_$Create$_0), + tmp; } - function get_MAX_VALUE() { - return init_properties_longjs_kt_ttk8rv(), MAX_VALUE; + function UninitializedPropertyAccessException() { + captureStack(this, UninitializedPropertyAccessException); } - function get_MIN_VALUE() { - return init_properties_longjs_kt_ttk8rv(), MIN_VALUE; + function KClass() {} + function KClassImpl(jClass) { + this.g8_1 = jClass; } - function get_TWO_PWR_24_() { - return init_properties_longjs_kt_ttk8rv(), TWO_PWR_24_; + function NothingKClassImpl() { + NothingKClassImpl_instance = this, KClassImpl.call(this, Object), this.j8_1 = "Nothing"; } - function compare(_this__u8e3s4, other) { - if (init_properties_longjs_kt_ttk8rv(), equalsLong(_this__u8e3s4, other)) return 0; - var thisNeg = isNegative(_this__u8e3s4), otherNeg = isNegative(other); - return thisNeg && !otherNeg ? -1 : !thisNeg && otherNeg ? 1 : isNegative(subtract(_this__u8e3s4, other)) ? -1 : 1; + function NothingKClassImpl_getInstance() { + return null == NothingKClassImpl_instance && new NothingKClassImpl, NothingKClassImpl_instance; } - function add(_this__u8e3s4, other) { - init_properties_longjs_kt_ttk8rv(); - var a48 = _this__u8e3s4.r4_1 >>> 16 | 0, a32 = 65535 & _this__u8e3s4.r4_1, a16 = _this__u8e3s4.q4_1 >>> 16 | 0, a00 = 65535 & _this__u8e3s4.q4_1, b48 = other.r4_1 >>> 16 | 0, b32 = 65535 & other.r4_1, b16 = other.q4_1 >>> 16 | 0, c48 = 0, c32 = 0, c16 = 0, c00 = 0; - return c48 = (c48 = c48 + ((c32 = (c32 = c32 + ((c16 = (c16 = c16 + ((c00 = c00 + (a00 + (65535 & other.q4_1) | 0) | 0) >>> 16 | 0) | 0) + (a16 + b16 | 0) | 0) >>> 16 | 0) | 0) + (a32 + b32 | 0) | 0) >>> 16 | 0) | 0) + (a48 + b48 | 0) | 0, - new Long((c16 &= 65535) << 16 | (c00 &= 65535), (c48 &= 65535) << 16 | (c32 &= 65535)); + function ErrorKClass() {} + function PrimitiveKClassImpl(jClass, givenSimpleName, isInstanceFunction) { + KClassImpl.call(this, jClass), this.l8_1 = givenSimpleName, this.m8_1 = isInstanceFunction; } - function subtract(_this__u8e3s4, other) { - return init_properties_longjs_kt_ttk8rv(), add(_this__u8e3s4, other.s4()); + function SimpleKClassImpl(jClass) { + KClassImpl.call(this, jClass); + var tmp0_safe_receiver = jClass.$metadata$; + this.o8_1 = null == tmp0_safe_receiver ? null : tmp0_safe_receiver.simpleName; } - function multiply(_this__u8e3s4, other) { - if (init_properties_longjs_kt_ttk8rv(), isZero(_this__u8e3s4)) return get_ZERO(); - if (isZero(other)) return get_ZERO(); - if (equalsLong(_this__u8e3s4, get_MIN_VALUE())) return isOdd(other) ? get_MIN_VALUE() : get_ZERO(); - if (equalsLong(other, get_MIN_VALUE())) return isOdd(_this__u8e3s4) ? get_MIN_VALUE() : get_ZERO(); - if (isNegative(_this__u8e3s4)) return isNegative(other) ? multiply(negate(_this__u8e3s4), negate(other)) : negate(multiply(negate(_this__u8e3s4), other)); - if (isNegative(other)) return negate(multiply(_this__u8e3s4, negate(other))); - if (lessThan(_this__u8e3s4, get_TWO_PWR_24_()) && lessThan(other, get_TWO_PWR_24_())) return fromNumber(toNumber(_this__u8e3s4) * toNumber(other)); - var a48 = _this__u8e3s4.r4_1 >>> 16 | 0, a32 = 65535 & _this__u8e3s4.r4_1, a16 = _this__u8e3s4.q4_1 >>> 16 | 0, a00 = 65535 & _this__u8e3s4.q4_1, b48 = other.r4_1 >>> 16 | 0, b32 = 65535 & other.r4_1, b16 = other.q4_1 >>> 16 | 0, b00 = 65535 & other.q4_1, c48 = 0, c32 = 0, c16 = 0, c00 = 0; - return c16 = c16 + ((c00 = c00 + imul(a00, b00) | 0) >>> 16 | 0) | 0, c00 &= 65535, - c32 = (c32 = c32 + ((c16 = c16 + imul(a16, b00) | 0) >>> 16 | 0) | 0) + ((c16 = (c16 &= 65535) + imul(a00, b16) | 0) >>> 16 | 0) | 0, - c16 &= 65535, c48 = (c48 = (c48 = c48 + ((c32 = c32 + imul(a32, b00) | 0) >>> 16 | 0) | 0) + ((c32 = (c32 &= 65535) + imul(a16, b16) | 0) >>> 16 | 0) | 0) + ((c32 = (c32 &= 65535) + imul(a00, b32) | 0) >>> 16 | 0) | 0, - c32 &= 65535, c48 = c48 + (((imul(a48, b00) + imul(a32, b16) | 0) + imul(a16, b32) | 0) + imul(a00, b48) | 0) | 0, - new Long(c16 << 16 | c00, (c48 &= 65535) << 16 | c32); + function KProperty1() {} + function get_functionClasses() { + return properties_initialized_primitives_kt_jle18u || (properties_initialized_primitives_kt_jle18u = !0, + functionClasses = fillArrayVal(Array(0), null)), functionClasses; } - function divide(_this__u8e3s4, other) { - if (init_properties_longjs_kt_ttk8rv(), isZero(other)) throw Exception_init_$Create$("division by zero"); - if (isZero(_this__u8e3s4)) return get_ZERO(); - if (equalsLong(_this__u8e3s4, get_MIN_VALUE())) { - if (equalsLong(other, get_ONE()) || equalsLong(other, get_NEG_ONE())) return get_MIN_VALUE(); - if (equalsLong(other, get_MIN_VALUE())) return get_ONE(); - var approx = shiftLeft(shiftRight(_this__u8e3s4, 1).t4(other), 1); - return equalsLong(approx, get_ZERO()) ? isNegative(other) ? get_ONE() : get_NEG_ONE() : add(approx, subtract(_this__u8e3s4, multiply(other, approx)).t4(other)); - } - if (equalsLong(other, get_MIN_VALUE())) return get_ZERO(); - if (isNegative(_this__u8e3s4)) return isNegative(other) ? negate(_this__u8e3s4).t4(negate(other)) : negate(negate(_this__u8e3s4).t4(other)); - if (isNegative(other)) return negate(_this__u8e3s4.t4(negate(other))); - for (var res = get_ZERO(), rem_0 = _this__u8e3s4; greaterThanOrEqual(rem_0, other); ) { - for (var approxDouble = toNumber(rem_0) / toNumber(other), approx2 = Math.max(1, Math.floor(approxDouble)), log2 = Math.ceil(Math.log(approx2) / Math.LN2), delta = log2 <= 48 ? 1 : Math.pow(2, log2 - 48), approxRes = fromNumber(approx2), approxRem = multiply(approxRes, other); isNegative(approxRem) || greaterThan(approxRem, rem_0); ) approxRem = multiply(approxRes = fromNumber(approx2 -= delta), other); - isZero(approxRes) && (approxRes = get_ONE()), res = add(res, approxRes), rem_0 = subtract(rem_0, approxRem); - } - return res; + function PrimitiveClasses$anyClass$lambda(it) { + return !(null == it); } - function shiftLeft(_this__u8e3s4, numBits) { - init_properties_longjs_kt_ttk8rv(); - var numBits_0 = 63 & numBits; - return 0 === numBits_0 ? _this__u8e3s4 : numBits_0 < 32 ? new Long(_this__u8e3s4.q4_1 << numBits_0, _this__u8e3s4.r4_1 << numBits_0 | _this__u8e3s4.q4_1 >>> (32 - numBits_0 | 0) | 0) : new Long(0, _this__u8e3s4.q4_1 << (numBits_0 - 32 | 0)); + function PrimitiveClasses$numberClass$lambda(it) { + return isNumber(it); } - function shiftRight(_this__u8e3s4, numBits) { - init_properties_longjs_kt_ttk8rv(); - var numBits_0 = 63 & numBits; - return 0 === numBits_0 ? _this__u8e3s4 : numBits_0 < 32 ? new Long(_this__u8e3s4.q4_1 >>> numBits_0 | 0 | _this__u8e3s4.r4_1 << (32 - numBits_0 | 0), _this__u8e3s4.r4_1 >> numBits_0) : new Long(_this__u8e3s4.r4_1 >> (numBits_0 - 32 | 0), _this__u8e3s4.r4_1 >= 0 ? 0 : -1); + function PrimitiveClasses$booleanClass$lambda(it) { + return null != it && "boolean" == typeof it; } - function toNumber(_this__u8e3s4) { - return init_properties_longjs_kt_ttk8rv(), 4294967296 * _this__u8e3s4.r4_1 + getLowBitsUnsigned(_this__u8e3s4); + function PrimitiveClasses$byteClass$lambda(it) { + return null != it && "number" == typeof it; } - function equalsLong(_this__u8e3s4, other) { - return init_properties_longjs_kt_ttk8rv(), _this__u8e3s4.r4_1 === other.r4_1 && _this__u8e3s4.q4_1 === other.q4_1; + function PrimitiveClasses$shortClass$lambda(it) { + return null != it && "number" == typeof it; } - function hashCode_0(l) { - return init_properties_longjs_kt_ttk8rv(), l.q4_1 ^ l.r4_1; + function PrimitiveClasses$intClass$lambda(it) { + return null != it && "number" == typeof it; } - function toStringImpl(_this__u8e3s4, radix) { - if (init_properties_longjs_kt_ttk8rv(), radix < 2 || 36 < radix) throw Exception_init_$Create$("radix out of range: " + radix); - if (isZero(_this__u8e3s4)) return "0"; - if (isNegative(_this__u8e3s4)) { - if (equalsLong(_this__u8e3s4, get_MIN_VALUE())) { - var radixLong = fromInt(radix), div = _this__u8e3s4.t4(radixLong), rem = subtract(multiply(div, radixLong), _this__u8e3s4).hd(); - return toStringImpl(div, radix) + rem.toString(radix); - } - return "-" + toStringImpl(negate(_this__u8e3s4), radix); - } - for (var digitsPerTime = 2 === radix ? 31 : radix <= 10 ? 9 : radix <= 21 ? 7 : radix <= 35 ? 6 : 5, radixToPower = fromNumber(Math.pow(radix, digitsPerTime)), rem_0 = _this__u8e3s4, result = ""; ;) { - var remDiv = rem_0.t4(radixToPower), digits = subtract(rem_0, multiply(remDiv, radixToPower)).hd().toString(radix); - if (isZero(rem_0 = remDiv)) return digits + result; - for (;digits.length < digitsPerTime; ) digits = "0" + digits; - result = digits + result; - } + function PrimitiveClasses$floatClass$lambda(it) { + return null != it && "number" == typeof it; } - function fromInt(value) { - return init_properties_longjs_kt_ttk8rv(), new Long(value, value < 0 ? -1 : 0); + function PrimitiveClasses$doubleClass$lambda(it) { + return null != it && "number" == typeof it; } - function isNegative(_this__u8e3s4) { - return init_properties_longjs_kt_ttk8rv(), _this__u8e3s4.r4_1 < 0; + function PrimitiveClasses$arrayClass$lambda(it) { + return null != it && isArray(it); } - function isZero(_this__u8e3s4) { - return init_properties_longjs_kt_ttk8rv(), 0 === _this__u8e3s4.r4_1 && 0 === _this__u8e3s4.q4_1; + function PrimitiveClasses$stringClass$lambda(it) { + return null != it && "string" == typeof it; } - function isOdd(_this__u8e3s4) { - return init_properties_longjs_kt_ttk8rv(), 1 == (1 & _this__u8e3s4.q4_1); + function PrimitiveClasses$throwableClass$lambda(it) { + return it instanceof Error; } - function negate(_this__u8e3s4) { - return init_properties_longjs_kt_ttk8rv(), _this__u8e3s4.s4(); + function PrimitiveClasses$booleanArrayClass$lambda(it) { + return null != it && isBooleanArray(it); } - function lessThan(_this__u8e3s4, other) { - return init_properties_longjs_kt_ttk8rv(), compare(_this__u8e3s4, other) < 0; + function PrimitiveClasses$charArrayClass$lambda(it) { + return null != it && isCharArray(it); } - function fromNumber(value) { - if (init_properties_longjs_kt_ttk8rv(), isNaN_0(value)) return get_ZERO(); - if (value <= -0x8000000000000000) return get_MIN_VALUE(); - if (value + 1 >= 0x8000000000000000) return get_MAX_VALUE(); - if (value < 0) return negate(fromNumber(-value)); - var twoPwr32 = 4294967296; - return new Long(jsBitwiseOr(value % twoPwr32, 0), jsBitwiseOr(value / twoPwr32, 0)); + function PrimitiveClasses$byteArrayClass$lambda(it) { + return null != it && isByteArray(it); } - function greaterThan(_this__u8e3s4, other) { - return init_properties_longjs_kt_ttk8rv(), compare(_this__u8e3s4, other) > 0; + function PrimitiveClasses$shortArrayClass$lambda(it) { + return null != it && isShortArray(it); } - function greaterThanOrEqual(_this__u8e3s4, other) { - return init_properties_longjs_kt_ttk8rv(), compare(_this__u8e3s4, other) >= 0; + function PrimitiveClasses$intArrayClass$lambda(it) { + return null != it && isIntArray(it); } - function getLowBitsUnsigned(_this__u8e3s4) { - return init_properties_longjs_kt_ttk8rv(), _this__u8e3s4.q4_1 >= 0 ? _this__u8e3s4.q4_1 : 4294967296 + _this__u8e3s4.q4_1; + function PrimitiveClasses$longArrayClass$lambda(it) { + return null != it && isLongArray(it); } - function init_properties_longjs_kt_ttk8rv() { - properties_initialized_longjs_kt_5aju7t || (properties_initialized_longjs_kt_5aju7t = !0, - ZERO = fromInt(0), ONE = fromInt(1), NEG_ONE = fromInt(-1), MAX_VALUE = new Long(-1, 2147483647), - MIN_VALUE = new Long(0, -2147483648), TWO_PWR_24_ = fromInt(16777216)); + function PrimitiveClasses$floatArrayClass$lambda(it) { + return null != it && isFloatArray(it); } - function toByte(a) { - return a << 24 >> 24; + function PrimitiveClasses$doubleArrayClass$lambda(it) { + return null != it && isDoubleArray(it); } - function numberToInt(a) { - return a instanceof Long ? a.hd() : doubleToInt(a); + function PrimitiveClasses() { + PrimitiveClasses_instance = this; + var tmp_0 = Object; + this.anyClass = new PrimitiveKClassImpl(tmp_0, "Any", PrimitiveClasses$anyClass$lambda); + var tmp_2 = Number; + this.numberClass = new PrimitiveKClassImpl(tmp_2, "Number", PrimitiveClasses$numberClass$lambda), + this.nothingClass = NothingKClassImpl_getInstance(); + var tmp_4 = Boolean; + this.booleanClass = new PrimitiveKClassImpl(tmp_4, "Boolean", PrimitiveClasses$booleanClass$lambda); + var tmp_6 = Number; + this.byteClass = new PrimitiveKClassImpl(tmp_6, "Byte", PrimitiveClasses$byteClass$lambda); + var tmp_8 = Number; + this.shortClass = new PrimitiveKClassImpl(tmp_8, "Short", PrimitiveClasses$shortClass$lambda); + var tmp_10 = Number; + this.intClass = new PrimitiveKClassImpl(tmp_10, "Int", PrimitiveClasses$intClass$lambda); + var tmp_12 = Number; + this.floatClass = new PrimitiveKClassImpl(tmp_12, "Float", PrimitiveClasses$floatClass$lambda); + var tmp_14 = Number; + this.doubleClass = new PrimitiveKClassImpl(tmp_14, "Double", PrimitiveClasses$doubleClass$lambda); + var tmp_16 = Array; + this.arrayClass = new PrimitiveKClassImpl(tmp_16, "Array", PrimitiveClasses$arrayClass$lambda); + var tmp_18 = String; + this.stringClass = new PrimitiveKClassImpl(tmp_18, "String", PrimitiveClasses$stringClass$lambda); + var tmp_20 = Error; + this.throwableClass = new PrimitiveKClassImpl(tmp_20, "Throwable", PrimitiveClasses$throwableClass$lambda); + var tmp_22 = Array; + this.booleanArrayClass = new PrimitiveKClassImpl(tmp_22, "BooleanArray", PrimitiveClasses$booleanArrayClass$lambda); + var tmp_24 = Uint16Array; + this.charArrayClass = new PrimitiveKClassImpl(tmp_24, "CharArray", PrimitiveClasses$charArrayClass$lambda); + var tmp_26 = Int8Array; + this.byteArrayClass = new PrimitiveKClassImpl(tmp_26, "ByteArray", PrimitiveClasses$byteArrayClass$lambda); + var tmp_28 = Int16Array; + this.shortArrayClass = new PrimitiveKClassImpl(tmp_28, "ShortArray", PrimitiveClasses$shortArrayClass$lambda); + var tmp_30 = Int32Array; + this.intArrayClass = new PrimitiveKClassImpl(tmp_30, "IntArray", PrimitiveClasses$intArrayClass$lambda); + var tmp_32 = Array; + this.longArrayClass = new PrimitiveKClassImpl(tmp_32, "LongArray", PrimitiveClasses$longArrayClass$lambda); + var tmp_34 = Float32Array; + this.floatArrayClass = new PrimitiveKClassImpl(tmp_34, "FloatArray", PrimitiveClasses$floatArrayClass$lambda); + var tmp_36 = Float64Array; + this.doubleArrayClass = new PrimitiveKClassImpl(tmp_36, "DoubleArray", PrimitiveClasses$doubleArrayClass$lambda); + } + function PrimitiveClasses_getInstance() { + return null == PrimitiveClasses_instance && new PrimitiveClasses, PrimitiveClasses_instance; + } + function getKClass(jClass) { + return Array.isArray(jClass) ? function(jClasses) { + var tmp; + switch (jClasses.length) { + case 1: + tmp = getKClass1(jClasses[0]); + break; + + case 0: + tmp = NothingKClassImpl_getInstance(); + break; + + default: + tmp = new ErrorKClass; + } + return tmp; + }(jClass) : getKClass1(jClass); } - function doubleToInt(a) { - return a > 2147483647 ? 2147483647 : a < -2147483648 ? -2147483648 : jsBitwiseOr(a, 0); + function getKClass1(jClass) { + if (jClass === String) return PrimitiveClasses_getInstance().stringClass; + var tmp, metadata = jClass.$metadata$; + if (null != metadata) { + var tmp_0; + if (null == metadata.$kClass$) { + var kClass = new SimpleKClassImpl(jClass); + metadata.$kClass$ = kClass, tmp_0 = kClass; + } else tmp_0 = metadata.$kClass$; + tmp = tmp_0; + } else tmp = new SimpleKClassImpl(jClass); + return tmp; } - function toShort(a) { - return a << 16 >> 16; + function StringBuilder_init_$Create$(capacity) { + return StringBuilder_init_$Init$_0($this = objectCreate(protoOf(StringBuilder))), + $this; + var $this; } - function numberToLong(a) { - return a instanceof Long ? a : fromNumber(a); + function StringBuilder_init_$Init$_0($this) { + return StringBuilder.call($this, ""), $this; } - function numberToChar(a) { - return _Char___init__impl__6a9atx_0(_UShort___init__impl__jigrne(toShort(numberToInt(a)))); + function StringBuilder_init_$Create$_0() { + return StringBuilder_init_$Init$_0(objectCreate(protoOf(StringBuilder))); } - function toLong_0(a) { - return fromInt(a); + function StringBuilder(content) { + this.f6_1 = void 0 !== content ? content : ""; } - function numberRangeToNumber(start, endInclusive) { - return new IntRange(start, endInclusive); + function uppercaseChar(_this__u8e3s4) { + var uppercase = toString(_this__u8e3s4).toUpperCase(); + return uppercase.length > 1 ? _this__u8e3s4 : charSequenceGet(uppercase, 0); } - function get_propertyRefClassMetadataCache() { - return init_properties_reflectRuntime_kt_yf9l8h(), propertyRefClassMetadataCache; + function isWhitespace(_this__u8e3s4) { + return function(_this__u8e3s4) { + return 9 <= _this__u8e3s4 && _this__u8e3s4 <= 13 || 28 <= _this__u8e3s4 && _this__u8e3s4 <= 32 || 160 === _this__u8e3s4 || _this__u8e3s4 > 4096 && (5760 === _this__u8e3s4 || 8192 <= _this__u8e3s4 && _this__u8e3s4 <= 8202 || 8232 === _this__u8e3s4 || 8233 === _this__u8e3s4 || 8239 === _this__u8e3s4 || 8287 === _this__u8e3s4 || 12288 === _this__u8e3s4); + }(_this__u8e3s4); } - function metadataObject() { - init_properties_reflectRuntime_kt_yf9l8h(); - var undef = void 0; - return classMeta(undef, undef, undef, undef); + function digitOf(char, radix) { + var ch, index, diff, it = Char__compareTo_impl_ypi4mb(char, 48) >= 0 && Char__compareTo_impl_ypi4mb(char, 57) <= 0 ? Char__minus_impl_a2frrh(char, 48) : Char__compareTo_impl_ypi4mb(char, 65) >= 0 && Char__compareTo_impl_ypi4mb(char, 90) <= 0 ? Char__minus_impl_a2frrh(char, 65) + 10 | 0 : Char__compareTo_impl_ypi4mb(char, 97) >= 0 && Char__compareTo_impl_ypi4mb(char, 122) <= 0 ? Char__minus_impl_a2frrh(char, 97) + 10 | 0 : Char__compareTo_impl_ypi4mb(char, 128) < 0 ? -1 : Char__compareTo_impl_ypi4mb(char, 65313) >= 0 && Char__compareTo_impl_ypi4mb(char, 65338) <= 0 ? Char__minus_impl_a2frrh(char, 65313) + 10 | 0 : Char__compareTo_impl_ypi4mb(char, 65345) >= 0 && Char__compareTo_impl_ypi4mb(char, 65370) <= 0 ? Char__minus_impl_a2frrh(char, 65345) + 10 | 0 : (ch = char, + index = function(array, needle) { + for (var bottom = 0, top = array.length - 1 | 0, middle = -1, value = 0; bottom <= top; ) if (needle > (value = array[middle = (bottom + top | 0) / 2 | 0])) bottom = middle + 1 | 0; else { + if (needle === value) return middle; + top = middle - 1 | 0; + } + return middle - (needle < value ? 1 : 0) | 0; + }(Digit_getInstance().m2_1, ch), (diff = ch - Digit_getInstance().m2_1[index] | 0) < 10 ? diff : -1); + return it >= radix ? -1 : it; } - function getPropertyCallableRef(name, paramCount, superType, getter, setter) { - return init_properties_reflectRuntime_kt_yf9l8h(), getter.get = getter, getter.set = setter, - getter.callableName = name, getPropertyRefClass(getter, getKPropMetadata(paramCount, setter), getInterfaceMaskFor(getter, superType)); + function initMatchesEntirePattern($this) { + var tmp, _this__u8e3s4, char, ignoreCase, tmp0_elvis_lhs = $this.u9_1; + if (null == tmp0_elvis_lhs) { + if (_this__u8e3s4 = $this.q9_1, char = 94, ignoreCase = ignoreCase !== VOID && ignoreCase, + !(charSequenceLength(_this__u8e3s4) > 0 && equals_0(charSequenceGet(_this__u8e3s4, 0), char, ignoreCase) && function(_this__u8e3s4, char, ignoreCase) { + return ignoreCase = ignoreCase !== VOID && ignoreCase, charSequenceLength(_this__u8e3s4) > 0 && equals_0(charSequenceGet(_this__u8e3s4, get_lastIndex_3(_this__u8e3s4)), char, ignoreCase); + }($this.q9_1, 36))) return new RegExp("^" + trimEnd(trimStart($this.q9_1, charArrayOf([ 94 ])), charArrayOf([ 36 ])) + "$", toFlags($this.r9_1, "gu")); + var this_0 = $this.s9_1; + $this.u9_1 = this_0, tmp = this_0; + } else tmp = tmp0_elvis_lhs; + return tmp; } - function getPropertyRefClass(obj, metadata, imask) { - return init_properties_reflectRuntime_kt_yf9l8h(), obj.$metadata$ = metadata, obj.constructor = obj, - obj.$imask$ = imask, obj; + function Companion_3() { + Companion_instance_3 = this, this.v9_1 = new RegExp("[\\\\^$*+?.()|[\\]{}]", "g"), + this.w9_1 = new RegExp("[\\\\$]", "g"), this.x9_1 = new RegExp("\\$", "g"); } - function getKPropMetadata(paramCount, setter) { - return init_properties_reflectRuntime_kt_yf9l8h(), get_propertyRefClassMetadataCache()[paramCount][null == setter ? 0 : 1]; + function Companion_getInstance_3() { + return null == Companion_instance_3 && new Companion_3, Companion_instance_3; } - function getInterfaceMaskFor(obj, superType) { - init_properties_reflectRuntime_kt_yf9l8h(); - var tmp0_elvis_lhs = obj.$imask$; - return null == tmp0_elvis_lhs ? implement([ superType ]) : tmp0_elvis_lhs; + function Regex$findAll$lambda_0(match) { + return match.j(); } - function init_properties_reflectRuntime_kt_yf9l8h() { - if (properties_initialized_reflectRuntime_kt_inkhwd) ; else { - properties_initialized_reflectRuntime_kt_inkhwd = !0; - var tmp$ret$6, tmp = [ metadataObject(), metadataObject() ], tmp_0 = [ metadataObject(), metadataObject() ]; - tmp$ret$6 = [ metadataObject(), metadataObject() ], propertyRefClassMetadataCache = [ tmp, tmp_0, tmp$ret$6 ]; - } + function Regex(pattern, options) { + Companion_getInstance_3(), this.q9_1 = pattern, this.r9_1 = toSet(options), this.s9_1 = new RegExp(pattern, toFlags(options, "gu")), + this.t9_1 = null, this.u9_1 = null; } - function classMeta(name, associatedObjectKey, associatedObjects, suspendArity) { - return createMetadata("class", name, associatedObjectKey, associatedObjects, suspendArity, null); + function toFlags(_this__u8e3s4, prepend) { + return joinToString_0(_this__u8e3s4, "", prepend, VOID, VOID, VOID, toFlags$lambda); } - function createMetadata(kind, name, associatedObjectKey, associatedObjects, suspendArity, iid) { - return { - kind, - simpleName: name, - associatedObjectKey, - associatedObjects, - suspendArity, - $kClass$: void 0, - iid - }; + function findNext(_this__u8e3s4, input, from, nextPattern) { + _this__u8e3s4.lastIndex = from; + var match = _this__u8e3s4.exec(input); + return null == match ? null : new findNext$1(numberRangeToNumber(match.index, _this__u8e3s4.lastIndex - 1 | 0), match, nextPattern, input); } - function isArrayish(o) { - return !!isJsArray(o) || isView(o); + function MatchGroup(value) { + this.la_1 = value; } - function isJsArray(obj) { - return Array.isArray(obj); + function toFlags$lambda(it) { + return it.oa_1; } - function setMetadataFor(ctor, name, metadataConstructor, parent, interfaces, associatedObjectKey, associatedObjects, suspendArity) { - null != parent && (ctor.prototype = Object.create(parent.prototype), ctor.prototype.constructor = ctor); - var metadata = metadataConstructor(name, associatedObjectKey, associatedObjects, suspendArity); - ctor.$metadata$ = metadata, null != interfaces && ((null != metadata.iid ? ctor : ctor.prototype).$imask$ = implement(interfaces.slice())); + function findNext$1$groups$1($match, this$0) { + this.pa_1 = $match, this.qa_1 = this$0, AbstractCollection.call(this); } - function isInterface(obj, iface) { - return null != obj.$imask$ ? isInterfaceImpl(obj, iface.$metadata$.iid) : verySlowIsInterfaceImpl(obj, iface); + function findNext$1$groupValues$1($match) { + this.ya_1 = $match, AbstractList.call(this); } - function isInterfaceImpl(obj, iface) { - var tmp$ret$0; - return null != (tmp$ret$0 = obj.$imask$) && tmp$ret$0.wc(iface); + function findNext$1($range, $match, $nextPattern, $input) { + this.ua_1 = $range, this.va_1 = $match, this.wa_1 = $nextPattern, this.xa_1 = $input, + this.ra_1 = $range; + this.sa_1 = new findNext$1$groups$1($match, this), this.ta_1 = null; } - function verySlowIsInterfaceImpl(obj, iface) { - var tmp0_elvis_lhs = searchForMetadata(obj); - if (null == tmp0_elvis_lhs) return !1; - var interfaces = tmp0_elvis_lhs.associatedObjectKey; - return !!(null != interfaces && (-1 != interfaces.indexOf(iface) || interfaces.some(verySlowIsInterfaceImpl$lambda(iface)))) || verySlowIsInterfaceImpl(getPrototypeOf(obj), iface); + function startsWith(_this__u8e3s4, prefix, ignoreCase) { + return (ignoreCase = ignoreCase !== VOID && ignoreCase) ? regionMatches(_this__u8e3s4, 0, prefix, 0, prefix.length, ignoreCase) : _this__u8e3s4.startsWith(prefix, 0); } - function searchForMetadata(obj) { - if (null == obj) return null; - for (var metadata = obj.$metadata$, currentObject = getPrototypeOf(obj); null == metadata && null != currentObject; ) metadata = currentObject.constructor.$metadata$, - currentObject = getPrototypeOf(currentObject); - return metadata; + function regionMatches(_this__u8e3s4, thisOffset, other, otherOffset, length, ignoreCase) { + return regionMatchesImpl(_this__u8e3s4, thisOffset, other, otherOffset, length, ignoreCase = ignoreCase !== VOID && ignoreCase); } - function getPrototypeOf(obj) { - return Object.getPrototypeOf(obj); + function endsWith(_this__u8e3s4, suffix, ignoreCase) { + return (ignoreCase = ignoreCase !== VOID && ignoreCase) ? regionMatches(_this__u8e3s4, _this__u8e3s4.length - suffix.length | 0, suffix, 0, suffix.length, ignoreCase) : _this__u8e3s4.endsWith(suffix); } - function isArray(obj) { - return !!isJsArray(obj) && !obj.$type$; + function stackTraceToString(_this__u8e3s4) { + return (new ExceptionTraceBuilder).eb(_this__u8e3s4); } - function isObject(obj) { - switch (typeof obj) { - case "string": - case "number": - case "boolean": - case "function": - return !0; - - default: - return jsInstanceOf(obj, Object); + function dumpFullTrace(_this__u8e3s4, $this, indent, qualifier) { + if (!dumpSelfTrace(_this__u8e3s4, $this, indent, qualifier)) return Unit_instance; + for (var cause = _this__u8e3s4.cause; null != cause; ) { + if (!dumpSelfTrace(cause, $this, indent, "Caused by: ")) return Unit_instance; + cause = cause.cause; } } - function isSuspendFunction(obj, arity) { - if ("function" == typeof obj) return obj.$arity === arity; - if ("object" == typeof obj && jsIn("$metadata$", obj.constructor)) { - var tmp, tmp0_safe_receiver = obj.constructor.$metadata$.suspendArity; - if (null != tmp0_safe_receiver) { - var result = !1, tmp0_iterator = arrayIterator(tmp0_safe_receiver); - $l$loop: for (;tmp0_iterator.e(); ) if (arity === tmp0_iterator.f()) { - result = !0; - break $l$loop; + function dumpSelfTrace(_this__u8e3s4, $this, indent, qualifier) { + $this.ab_1.h6(indent).h6(qualifier); + var shortInfo = _this__u8e3s4.toString(); + if (function($this, exception) { + var tmp$ret$1; + $l$block: { + for (var indexedObject = $this.bb_1, inductionVariable = 0, last = indexedObject.length; inductionVariable < last; ) { + var element = indexedObject[inductionVariable]; + if (inductionVariable = inductionVariable + 1 | 0, element === exception) { + tmp$ret$1 = !0; + break $l$block; + } } - return result; + tmp$ret$1 = !1; } - return null != (tmp = null) && tmp; + return tmp$ret$1; + }($this, _this__u8e3s4)) return $this.ab_1.h6("[CIRCULAR REFERENCE, SEE ABOVE: ").h6(shortInfo).h6("]\n"), + !1; + $this.bb_1.push(_this__u8e3s4); + var tmp = _this__u8e3s4.stack, stack = null == tmp || "string" == typeof tmp ? tmp : THROW_CCE(); + if (null != stack) { + var it = indexOf_2(stack, shortInfo), stackStart = it < 0 ? 0 : it + shortInfo.length | 0; + if (0 === stackStart && $this.ab_1.h6(shortInfo).h6("\n"), 0 === charSequenceLength($this.cb_1) ? ($this.cb_1 = stack, + $this.db_1 = stackStart) : stack = function($this, stack, stackStart) { + var commonFrames = 0, lastBreak = 0, preLastBreak = 0, inductionVariable = 0, a = $this.cb_1.length - $this.db_1 | 0, b = stack.length - stackStart | 0, last = Math.min(a, b); + if (inductionVariable < last) $l$loop: do { + var pos = inductionVariable; + inductionVariable = inductionVariable + 1 | 0; + var c = charSequenceGet(stack, get_lastIndex_3(stack) - pos | 0); + if (c !== charSequenceGet($this.cb_1, get_lastIndex_3($this.cb_1) - pos | 0)) break $l$loop; + 10 === c && (commonFrames = commonFrames + 1 | 0, preLastBreak = lastBreak, lastBreak = pos); + } while (inductionVariable < last); + if (commonFrames <= 1) return stack; + for (;preLastBreak > 0 && 32 === charSequenceGet(stack, get_lastIndex_3(stack) - (preLastBreak - 1 | 0) | 0); ) preLastBreak = preLastBreak - 1 | 0; + return dropLast(stack, preLastBreak) + "... and " + (commonFrames - 1 | 0) + " more common stack frames skipped"; + }($this, stack, stackStart), charSequenceLength(indent) > 0) { + var tmp_0; + if (0 === stackStart) tmp_0 = 0; else { + for (var count = 0, inductionVariable = 0; inductionVariable < charSequenceLength(shortInfo); ) { + var element = charSequenceGet(shortInfo, inductionVariable); + inductionVariable = inductionVariable + 1 | 0, 10 === element && (count = count + 1 | 0); + } + tmp_0 = 1 + count | 0; + } + for (var messageLines = tmp_0, index = 0, tmp0_iterator = lineSequence(stack).h(); tmp0_iterator.i(); ) { + var item = tmp0_iterator.j(), tmp1 = index; + index = tmp1 + 1 | 0, checkIndexOverflow(tmp1) >= messageLines && $this.ab_1.h6(indent), + $this.ab_1.h6(item).h6("\n"); + } + } else $this.ab_1.h6(stack).h6("\n"); + } else $this.ab_1.h6(shortInfo).h6("\n"); + var suppressed = function(_this__u8e3s4) { + var tmp, tmp0_safe_receiver = _this__u8e3s4._suppressed; + tmp = null == tmp0_safe_receiver ? null : tmp0_safe_receiver; + var tmp1_elvis_lhs = tmp; + return null == tmp1_elvis_lhs ? emptyList() : tmp1_elvis_lhs; + }(_this__u8e3s4); + if (!suppressed.q()) for (var suppressedIndent = indent + " ", tmp0_iterator_0 = suppressed.h(); tmp0_iterator_0.i(); ) { + dumpFullTrace(tmp0_iterator_0.j(), $this, suppressedIndent, "Suppressed: "); } - return !1; - } - function isNumber(a) { - return "number" == typeof a || a instanceof Long; - } - function isComparable(value) { - var type = typeof value; - return !("string" !== type && "boolean" !== type && !isNumber(value)) || isInterface(value, Comparable); - } - function isCharSequence(value) { - return "string" == typeof value || isInterface(value, CharSequence); - } - function isBooleanArray(a) { - return !!isJsArray(a) && "BooleanArray" === a.$type$; - } - function isByteArray(a) { - return jsInstanceOf(a, Int8Array); - } - function isShortArray(a) { - return jsInstanceOf(a, Int16Array); - } - function isCharArray(a) { - return !!jsInstanceOf(a, Uint16Array) && "CharArray" === a.$type$; - } - function isIntArray(a) { - return jsInstanceOf(a, Int32Array); - } - function isFloatArray(a) { - return jsInstanceOf(a, Float32Array); + return !0; } - function isLongArray(a) { - return !!isJsArray(a) && "LongArray" === a.$type$; + function ExceptionTraceBuilder() { + this.ab_1 = StringBuilder_init_$Create$_0(); + this.bb_1 = [], this.cb_1 = "", this.db_1 = 0; } - function isDoubleArray(a) { - return jsInstanceOf(a, Float64Array); + function AbstractCollection() {} + function IteratorImpl_0($outer) { + this.gb_1 = $outer, this.fb_1 = 0; } - function interfaceMeta(name, associatedObjectKey, associatedObjects, suspendArity) { - return createMetadata("interface", name, associatedObjectKey, associatedObjects, suspendArity, generateInterfaceId(InterfaceIdService_getInstance())); + function Companion_4() { + this.k2_1 = 2147483639; } - function generateInterfaceId(_this__u8e3s4) { - var tmp0_this = _this__u8e3s4; - return tmp0_this.id_1 = tmp0_this.id_1 + 1 | 0, _this__u8e3s4.id_1; + function AbstractList() { + AbstractCollection.call(this); } - function InterfaceIdService() { - InterfaceIdService_instance = this, this.id_1 = 0; + function AbstractMap$keys$1$iterator$1($entryIterator) { + this.hb_1 = $entryIterator; } - function InterfaceIdService_getInstance() { - return null == InterfaceIdService_instance && new InterfaceIdService, InterfaceIdService_instance; + function AbstractMap$values$1$iterator$1($entryIterator) { + this.ib_1 = $entryIterator; } - function objectMeta(name, associatedObjectKey, associatedObjects, suspendArity) { - return createMetadata("object", name, associatedObjectKey, associatedObjects, suspendArity, null); + function toString_2($this, o) { + return o === $this ? "(this Map)" : toString_0(o); } - function jsIsType(obj, jsClass) { - if (jsClass === Object) return isObject(obj); - if (null == obj || null == jsClass || "object" != typeof obj && "function" != typeof obj) return !1; - if ("function" == typeof jsClass && jsInstanceOf(obj, jsClass)) return !0; - var proto = jsGetPrototypeOf(jsClass), constructor = null == proto ? null : proto.constructor; - if (null != constructor && jsIn("$metadata$", constructor) && "object" === constructor.$metadata$.kind) return obj === jsClass; - var klassMetadata = jsClass.$metadata$; - if (null == klassMetadata) return jsInstanceOf(obj, jsClass); - if ("interface" === klassMetadata.kind) { - var tmp$ret$0, tmp2_elvis_lhs = null == (tmp$ret$0 = klassMetadata.iid) ? null : isInterfaceImpl(obj, tmp$ret$0); - return null == tmp2_elvis_lhs ? verySlowIsInterfaceImpl(obj, constructor) : tmp2_elvis_lhs; + function implFindEntry($this, key) { + var tmp$ret$1; + $l$block: { + for (var tmp0_iterator = $this.m1().h(); tmp0_iterator.i(); ) { + var element = tmp0_iterator.j(); + if (equals(element.f1(), key)) { + tmp$ret$1 = element; + break $l$block; + } + } + tmp$ret$1 = null; } - return !1; - } - function jsGetPrototypeOf(jsClass) { - return Object.getPrototypeOf(jsClass); - } - function verySlowIsInterfaceImpl$lambda($iface) { - return function(x) { - return verySlowIsInterfaceImpl(x, $iface); - }; - } - function asList(_this__u8e3s4) { - return new ArrayList(_this__u8e3s4); - } - function copyOf(_this__u8e3s4, newSize) { - if (!(newSize >= 0)) throw IllegalArgumentException_init_$Create$(toString_2("Invalid new array size: " + newSize + ".")); - return fillFrom(_this__u8e3s4, new Int32Array(newSize)); + return tmp$ret$1; } - function contentEquals(_this__u8e3s4, other) { - return contentEqualsInternal(_this__u8e3s4, other); + function Companion_5() {} + function AbstractMap$keys$1(this$0) { + this.jb_1 = this$0, AbstractSet.call(this); } - function contentHashCode(_this__u8e3s4) { - return contentHashCodeInternal(_this__u8e3s4); + function AbstractMap$values$1(this$0) { + this.lb_1 = this$0, AbstractCollection.call(this); } - function sort(_this__u8e3s4) { - _this__u8e3s4.length > 1 && sortArray(_this__u8e3s4); + function AbstractMap() { + this.l3_1 = null, this.m3_1 = null; } - function copyOf_0(_this__u8e3s4, newSize) { - if (!(newSize >= 0)) throw IllegalArgumentException_init_$Create$(toString_2("Invalid new array size: " + newSize + ".")); - return arrayCopyResize(_this__u8e3s4, newSize, null); + function Companion_6() {} + function AbstractSet() { + AbstractCollection.call(this); } - function digitToIntImpl(_this__u8e3s4) { - var ch = Char__toInt_impl_vasixd(_this__u8e3s4), index = binarySearchRange(Digit_getInstance().jd_1, ch), diff = ch - Digit_getInstance().jd_1[index] | 0; - return diff < 10 ? diff : -1; + function ArrayDeque_init_$Create$() { + return $this = objectCreate(protoOf(ArrayDeque)), AbstractMutableList.call($this), + ArrayDeque.call($this), $this.ob_1 = Companion_getInstance_7().qb_1, $this; + var $this; } - function binarySearchRange(array, needle) { - for (var bottom = 0, top = array.length - 1 | 0, middle = -1, value = 0; bottom <= top; ) if (needle > (value = array[middle = (bottom + top | 0) / 2 | 0])) bottom = middle + 1 | 0; else { - if (needle === value) return middle; - top = middle - 1 | 0; + function ensureCapacity_0($this, minCapacity) { + if (minCapacity < 0) throw IllegalStateException_init_$Create$_0("Deque is too big."); + if (minCapacity <= $this.ob_1.length) return Unit_instance; + if ($this.ob_1 === Companion_getInstance_7().qb_1) { + var tmp = $this, size = coerceAtLeast(minCapacity, 10); + return tmp.ob_1 = fillArrayVal(Array(size), null), Unit_instance; } - return middle - (needle < value ? 1 : 0) | 0; - } - function Digit() { - Digit_instance = this; - var tmp$ret$0, tmp = this; - tmp$ret$0 = new Int32Array([ 48, 1632, 1776, 1984, 2406, 2534, 2662, 2790, 2918, 3046, 3174, 3302, 3430, 3558, 3664, 3792, 3872, 4160, 4240, 6112, 6160, 6470, 6608, 6784, 6800, 6992, 7088, 7232, 7248, 42528, 43216, 43264, 43472, 43504, 43600, 44016, 65296 ]), - tmp.jd_1 = tmp$ret$0; + !function($this, newCapacity) { + var newElements = fillArrayVal(Array(newCapacity), null), this_0 = $this.ob_1, startIndex = $this.nb_1, endIndex = $this.ob_1.length; + arrayCopy(this_0, newElements, 0, startIndex, endIndex); + var this_1 = $this.ob_1, destinationOffset = $this.ob_1.length - $this.nb_1 | 0, endIndex_0 = $this.nb_1; + arrayCopy(this_1, newElements, destinationOffset, 0, endIndex_0), $this.nb_1 = 0, + $this.ob_1 = newElements; + }($this, Companion_instance_4.g5($this.ob_1.length, minCapacity)); } - function Digit_getInstance() { - return null == Digit_instance && new Digit, Digit_instance; + function positiveMod($this, index) { + return index >= $this.ob_1.length ? index - $this.ob_1.length | 0 : index; } - function isWhitespaceImpl(_this__u8e3s4) { - var tmp$ret$0; - return 9 <= (tmp$ret$0 = Char__toInt_impl_vasixd(_this__u8e3s4)) && tmp$ret$0 <= 13 || 28 <= tmp$ret$0 && tmp$ret$0 <= 32 || 160 === tmp$ret$0 || tmp$ret$0 > 4096 && (5760 === tmp$ret$0 || 8192 <= tmp$ret$0 && tmp$ret$0 <= 8202 || 8232 === tmp$ret$0 || 8233 === tmp$ret$0 || 8239 === tmp$ret$0 || 8287 === tmp$ret$0 || 12288 === tmp$ret$0); + function negativeMod($this, index) { + return index < 0 ? index + $this.ob_1.length | 0 : index; } - function releaseIntercepted($this) { - var intercepted = $this.rd_1; - null != intercepted && intercepted !== $this && ensureNotNull($this.m3().q3(Key_getInstance())).p3(intercepted), - $this.rd_1 = CompletedContinuation_getInstance(); + function incremented($this, index) { + return index === get_lastIndex($this.ob_1) ? 0 : index + 1 | 0; } - function CoroutineImpl(resultContinuation) { - this.kd_1 = resultContinuation, this.ld_1 = 0, this.md_1 = 0, this.nd_1 = null, - this.od_1 = null, this.pd_1 = null; - var tmp = this, tmp0_safe_receiver = this.kd_1; - tmp.qd_1 = null == tmp0_safe_receiver ? null : tmp0_safe_receiver.m3(), this.rd_1 = null; + function decremented($this, index) { + return 0 === index ? get_lastIndex($this.ob_1) : index - 1 | 0; } - function CompletedContinuation() { - CompletedContinuation_instance = this; + function nullifyNonEmpty($this, internalFromIndex, internalToIndex) { + internalFromIndex < internalToIndex ? fill_0($this.ob_1, null, internalFromIndex, internalToIndex) : (fill_0($this.ob_1, null, internalFromIndex, $this.ob_1.length), + fill_0($this.ob_1, null, 0, internalToIndex)); } - function CompletedContinuation_getInstance() { - return null == CompletedContinuation_instance && new CompletedContinuation, CompletedContinuation_instance; + function registerModification_0($this) { + $this.s2_1 = $this.s2_1 + 1 | 0; } - function intercepted(_this__u8e3s4) { - var tmp0_safe_receiver = _this__u8e3s4 instanceof CoroutineImpl ? _this__u8e3s4 : null, tmp1_elvis_lhs = null == tmp0_safe_receiver ? null : tmp0_safe_receiver.sd(); - return null == tmp1_elvis_lhs ? _this__u8e3s4 : tmp1_elvis_lhs; + function Companion_7() { + Companion_instance_7 = this; + this.qb_1 = [], this.rb_1 = 10; } - function createCoroutineUnintercepted(_this__u8e3s4, receiver, completion) { - return new _no_name_provided__qut3iv_1(completion, _this__u8e3s4, receiver); + function Companion_getInstance_7() { + return null == Companion_instance_7 && new Companion_7, Companion_instance_7; } - function _no_name_provided__qut3iv_1($completion, $this_createCoroutineUnintercepted, $receiver) { - this.ce_1 = $completion, this.de_1 = $this_createCoroutineUnintercepted, this.ee_1 = $receiver, - CoroutineImpl.call(this, isInterface($completion, Continuation) ? $completion : THROW_CCE()); + function ArrayDeque() { + Companion_getInstance_7(), this.nb_1 = 0, this.pb_1 = 0; } - function Exception_init_$Init$($this) { - return extendThrowable($this, void 0, void 0), Exception.call($this), $this; + function emptyList() { + return EmptyList_getInstance(); } - function Exception_init_$Init$_0(message, $this) { - return extendThrowable($this, message, void 0), Exception.call($this), $this; + function get_lastIndex_2(_this__u8e3s4) { + return _this__u8e3s4.k() - 1 | 0; } - function Exception_init_$Create$(message) { - var tmp = Exception_init_$Init$_0(message, Object.create(Exception.prototype)); - return captureStack(tmp, Exception_init_$Create$), tmp; + function EmptyList() { + EmptyList_instance = this, this.yb_1 = new Long(-1478467534, -1720727600); } - function Exception_init_$Init$_1(message, cause, $this) { - return extendThrowable($this, message, cause), Exception.call($this), $this; + function EmptyList_getInstance() { + return null == EmptyList_instance && new EmptyList, EmptyList_instance; } - function Exception() { - captureStack(this, Exception); + function ArrayAsCollection(values, isVarargs) { + this.ac_1 = values, this.bc_1 = isVarargs; } - function Error_init_$Init$(message, $this) { - return extendThrowable($this, message, void 0), Error_0.call($this), $this; + function EmptyIterator() {} + function IndexedValue(index, value) { + this.ec_1 = index, this.fc_1 = value; } - function Error_init_$Init$_0(message, cause, $this) { - return extendThrowable($this, message, cause), Error_0.call($this), $this; + function collectionSizeOrDefault(_this__u8e3s4, default_0) { + return isInterface(_this__u8e3s4, Collection) ? _this__u8e3s4.k() : default_0; } - function Error_0() { - captureStack(this, Error_0); + function IndexingIterable(iteratorFactory) { + this.ic_1 = iteratorFactory; } - function IllegalArgumentException_init_$Init$(message, $this) { - return RuntimeException_init_$Init$_0(message, $this), IllegalArgumentException.call($this), - $this; + function IndexingIterator(iterator) { + this.jc_1 = iterator, this.kc_1 = 0; } - function IllegalArgumentException_init_$Create$(message) { - var tmp = IllegalArgumentException_init_$Init$(message, Object.create(IllegalArgumentException.prototype)); - return captureStack(tmp, IllegalArgumentException_init_$Create$), tmp; + function MapWithDefault() {} + function emptyMap() { + var tmp = function() { + null == EmptyMap_instance && new EmptyMap; + return EmptyMap_instance; + }(); + return isInterface(tmp, KtMap) ? tmp : THROW_CCE(); } - function IllegalArgumentException_init_$Init$_0(message, cause, $this) { - return RuntimeException_init_$Init$_1(message, cause, $this), IllegalArgumentException.call($this), - $this; + function EmptyMap() { + EmptyMap_instance = this, this.mc_1 = new Long(-888910638, 1920087921); } - function IllegalArgumentException() { - captureStack(this, IllegalArgumentException); + function toMap_0(_this__u8e3s4, destination) { + return function(_this__u8e3s4, pairs) { + var tmp0_iterator = pairs.h(); + for (;tmp0_iterator.i(); ) { + var tmp1_loop_parameter = tmp0_iterator.j(), key = tmp1_loop_parameter.gc(), value = tmp1_loop_parameter.hc(); + _this__u8e3s4.n1(key, value); + } + }(destination, _this__u8e3s4), destination; } - function IllegalStateException_init_$Init$(message, $this) { - return RuntimeException_init_$Init$_0(message, $this), IllegalStateException.call($this), - $this; + function addAll(_this__u8e3s4, elements) { + if (isInterface(elements, Collection)) return _this__u8e3s4.o(elements); + for (var result = !1, tmp1_iterator = elements.h(); tmp1_iterator.i(); ) { + var item = tmp1_iterator.j(); + _this__u8e3s4.e(item) && (result = !0); + } + return result; } - function IllegalStateException_init_$Create$(message) { - var tmp = IllegalStateException_init_$Init$(message, Object.create(IllegalStateException.prototype)); - return captureStack(tmp, IllegalStateException_init_$Create$), tmp; + function IntIterator() {} + function SequenceScope() {} + function exceptionalState($this) { + switch ($this.tc_1) { + case 4: + return NoSuchElementException_init_$Create$(); + + case 5: + return IllegalStateException_init_$Create$_0("Iterator has failed."); + + default: + return IllegalStateException_init_$Create$_0("Unexpected state of the iterator: " + $this.tc_1); + } } - function IllegalStateException_init_$Init$_0(message, cause, $this) { - return RuntimeException_init_$Init$_1(message, cause, $this), IllegalStateException.call($this), - $this; + function SequenceBuilderIterator() { + SequenceScope.call(this), this.tc_1 = 0, this.uc_1 = null, this.vc_1 = null, this.wc_1 = null; } - function IllegalStateException_init_$Create$_0(message, cause) { - var tmp = IllegalStateException_init_$Init$_0(message, cause, Object.create(IllegalStateException.prototype)); - return captureStack(tmp, IllegalStateException_init_$Create$_0), tmp; + function calcNext($this) { + $this.yc_1 = -2 === $this.zc_1 ? $this.ad_1.bd_1() : $this.ad_1.cd_1(ensureNotNull($this.yc_1)), + $this.zc_1 = null == $this.yc_1 ? 0 : 1; } - function IllegalStateException() { - captureStack(this, IllegalStateException); + function GeneratorSequence$iterator$1(this$0) { + this.ad_1 = this$0, this.yc_1 = null, this.zc_1 = -2; } - function NoSuchElementException_init_$Init$($this) { - return RuntimeException_init_$Init$($this), NoSuchElementException.call($this), - $this; + function GeneratorSequence(getInitialValue, getNextValue) { + this.bd_1 = getInitialValue, this.cd_1 = getNextValue; } - function NoSuchElementException_init_$Create$() { - var tmp = NoSuchElementException_init_$Init$(Object.create(NoSuchElementException.prototype)); - return captureStack(tmp, NoSuchElementException_init_$Create$), tmp; + function emptySequence() { + return EmptySequence_instance; } - function NoSuchElementException_init_$Init$_0(message, $this) { - return RuntimeException_init_$Init$_0(message, $this), NoSuchElementException.call($this), - $this; + function DropTakeSequence() {} + function TakeSequence$iterator$1(this$0) { + this.dd_1 = this$0.gd_1, this.ed_1 = this$0.fd_1.h(); } - function NoSuchElementException_init_$Create$_0(message) { - var tmp = NoSuchElementException_init_$Init$_0(message, Object.create(NoSuchElementException.prototype)); - return captureStack(tmp, NoSuchElementException_init_$Create$_0), tmp; + function TakeSequence(sequence, count) { + if (this.fd_1 = sequence, this.gd_1 = count, !(this.gd_1 >= 0)) throw IllegalArgumentException_init_$Create$_0(toString_1("count must be non-negative, but was " + this.gd_1 + ".")); } - function NoSuchElementException() { - captureStack(this, NoSuchElementException); + function TransformingSequence$iterator$1(this$0) { + this.id_1 = this$0, this.hd_1 = this$0.jd_1.h(); } - function RuntimeException_init_$Init$($this) { - return Exception_init_$Init$($this), RuntimeException.call($this), $this; + function TransformingSequence(sequence, transformer) { + this.jd_1 = sequence, this.kd_1 = transformer; } - function RuntimeException_init_$Init$_0(message, $this) { - return Exception_init_$Init$_0(message, $this), RuntimeException.call($this), $this; + function EmptySequence() {} + function emptySet() { + return EmptySet_getInstance(); } - function RuntimeException_init_$Init$_1(message, cause, $this) { - return Exception_init_$Init$_1(message, cause, $this), RuntimeException.call($this), - $this; + function EmptySet() { + EmptySet_instance = this, this.ld_1 = new Long(1993859828, 793161749); } - function RuntimeException_init_$Create$(message, cause) { - var tmp = RuntimeException_init_$Init$_1(message, cause, Object.create(RuntimeException.prototype)); - return captureStack(tmp, RuntimeException_init_$Create$), tmp; + function EmptySet_getInstance() { + return null == EmptySet_instance && new EmptySet, EmptySet_instance; } - function RuntimeException() { - captureStack(this, RuntimeException); + function NaturalOrderComparator() {} + function Continuation() {} + function Key() {} + function ContinuationInterceptor() {} + function Element() {} + function CoroutineContext$plus$lambda(acc, element) { + var tmp, removed = acc.sd(element.f1()); + if (removed === EmptyCoroutineContext_getInstance()) tmp = element; else { + var tmp_0, interceptor = removed.i7(Key_instance); + if (null == interceptor) tmp_0 = new CombinedContext(removed, element); else { + var left = removed.sd(Key_instance); + tmp_0 = left === EmptyCoroutineContext_getInstance() ? new CombinedContext(element, interceptor) : new CombinedContext(new CombinedContext(left, element), interceptor); + } + tmp = tmp_0; + } + return tmp; } - function UnsupportedOperationException_init_$Init$($this) { - return RuntimeException_init_$Init$($this), UnsupportedOperationException.call($this), - $this; + function CoroutineContext() {} + function EmptyCoroutineContext() { + EmptyCoroutineContext_instance = this, this.vd_1 = new Long(0, 0); } - function UnsupportedOperationException_init_$Create$() { - var tmp = UnsupportedOperationException_init_$Init$(Object.create(UnsupportedOperationException.prototype)); - return captureStack(tmp, UnsupportedOperationException_init_$Create$), tmp; + function EmptyCoroutineContext_getInstance() { + return null == EmptyCoroutineContext_instance && new EmptyCoroutineContext, EmptyCoroutineContext_instance; } - function UnsupportedOperationException_init_$Init$_0(message, $this) { - return RuntimeException_init_$Init$_0(message, $this), UnsupportedOperationException.call($this), - $this; + function size($this) { + for (var cur = $this, size = 2; ;) { + var tmp = cur.wd_1, tmp0_elvis_lhs = tmp instanceof CombinedContext ? tmp : null; + if (null == tmp0_elvis_lhs) return size; + cur = tmp0_elvis_lhs, size = size + 1 | 0; + } } - function UnsupportedOperationException_init_$Create$_0(message) { - var tmp = UnsupportedOperationException_init_$Init$_0(message, Object.create(UnsupportedOperationException.prototype)); - return captureStack(tmp, UnsupportedOperationException_init_$Create$_0), tmp; + function contains_3($this, element) { + return equals($this.i7(element.f1()), element); } - function UnsupportedOperationException() { - captureStack(this, UnsupportedOperationException); + function CombinedContext$toString$lambda(acc, element) { + return 0 === charSequenceLength(acc) ? toString_1(element) : acc + ", " + toString_1(element); } - function IndexOutOfBoundsException_init_$Init$(message, $this) { - return RuntimeException_init_$Init$_0(message, $this), IndexOutOfBoundsException.call($this), - $this; + function CombinedContext(left, element) { + this.wd_1 = left, this.xd_1 = element; } - function IndexOutOfBoundsException_init_$Create$(message) { - var tmp = IndexOutOfBoundsException_init_$Init$(message, Object.create(IndexOutOfBoundsException.prototype)); - return captureStack(tmp, IndexOutOfBoundsException_init_$Create$), tmp; + function AbstractCoroutineContextKey(baseKey, safeCast) { + this.od_1 = safeCast; + var tmp_0; + tmp_0 = baseKey instanceof AbstractCoroutineContextKey ? baseKey.pd_1 : baseKey, + this.pd_1 = tmp_0; } - function IndexOutOfBoundsException() { - captureStack(this, IndexOutOfBoundsException); + function AbstractCoroutineContextElement(key) { + this.yd_1 = key; } - function NumberFormatException_init_$Init$(message, $this) { - return IllegalArgumentException_init_$Init$(message, $this), NumberFormatException.call($this), - $this; + function get_COROUTINE_SUSPENDED() { + return CoroutineSingletons_initEntries(), CoroutineSingletons_COROUTINE_SUSPENDED_instance; } - function NumberFormatException_init_$Create$(message) { - var tmp = NumberFormatException_init_$Init$(message, Object.create(NumberFormatException.prototype)); - return captureStack(tmp, NumberFormatException_init_$Create$), tmp; + function CoroutineSingletons_initEntries() { + if (CoroutineSingletons_entriesInitialized) return Unit_instance; + CoroutineSingletons_entriesInitialized = !0, CoroutineSingletons_COROUTINE_SUSPENDED_instance = new CoroutineSingletons("COROUTINE_SUSPENDED", 0), + CoroutineSingletons_UNDECIDED_instance = new CoroutineSingletons("UNDECIDED", 1), + CoroutineSingletons_RESUMED_instance = new CoroutineSingletons("RESUMED", 2); } - function NumberFormatException() { - captureStack(this, NumberFormatException); + function CoroutineSingletons(name, ordinal) { + Enum.call(this, name, ordinal); } - function ArithmeticException_init_$Init$(message, $this) { - return RuntimeException_init_$Init$_0(message, $this), ArithmeticException.call($this), - $this; + function CoroutineSingletons_UNDECIDED_getInstance() { + return CoroutineSingletons_initEntries(), CoroutineSingletons_UNDECIDED_instance; } - function ArithmeticException_init_$Create$(message) { - var tmp = ArithmeticException_init_$Init$(message, Object.create(ArithmeticException.prototype)); - return captureStack(tmp, ArithmeticException_init_$Create$), tmp; + function CoroutineSingletons_RESUMED_getInstance() { + return CoroutineSingletons_initEntries(), CoroutineSingletons_RESUMED_instance; } - function ArithmeticException() { - captureStack(this, ArithmeticException); + function EnumEntriesList(entries) { + AbstractList.call(this), this.zd_1 = entries; } - function NullPointerException_init_$Init$($this) { - return RuntimeException_init_$Init$($this), NullPointerException.call($this), $this; + function differenceModulo(a, b, c) { + return mod(mod(a, c) - mod(b, c) | 0, c); } - function NullPointerException_init_$Create$() { - var tmp = NullPointerException_init_$Init$(Object.create(NullPointerException.prototype)); - return captureStack(tmp, NullPointerException_init_$Create$), tmp; + function mod(a, b) { + var mod = a % b | 0; + return mod >= 0 ? mod : mod + b | 0; } - function NullPointerException() { - captureStack(this, NullPointerException); + function Companion_8() { + Companion_instance_8 = this, this.s_1 = new IntRange(1, 0); } - function NoWhenBranchMatchedException_init_$Init$($this) { - return RuntimeException_init_$Init$($this), NoWhenBranchMatchedException.call($this), - $this; + function Companion_getInstance_8() { + return null == Companion_instance_8 && new Companion_8, Companion_instance_8; } - function NoWhenBranchMatchedException_init_$Create$() { - var tmp = NoWhenBranchMatchedException_init_$Init$(Object.create(NoWhenBranchMatchedException.prototype)); - return captureStack(tmp, NoWhenBranchMatchedException_init_$Create$), tmp; + function IntRange(start, endInclusive) { + Companion_getInstance_8(), IntProgression.call(this, start, endInclusive, 1); } - function NoWhenBranchMatchedException() { - captureStack(this, NoWhenBranchMatchedException); + function IntProgressionIterator(first, last, step) { + IntIterator.call(this), this.ce_1 = step, this.de_1 = last, this.ee_1 = this.ce_1 > 0 ? first <= last : first >= last, + this.fe_1 = this.ee_1 ? first : this.de_1; } - function ClassCastException_init_$Init$($this) { - return RuntimeException_init_$Init$($this), ClassCastException.call($this), $this; + function Companion_9() {} + function IntProgression(start, endInclusive, step) { + if (0 === step) throw IllegalArgumentException_init_$Create$_0("Step must be non-zero."); + if (-2147483648 === step) throw IllegalArgumentException_init_$Create$_0("Step must be greater than Int.MIN_VALUE to avoid overflow on negation."); + this.u_1 = start, this.v_1 = function(start, end, step) { + var tmp; + if (step > 0) tmp = start >= end ? end : end - differenceModulo(end, start, step) | 0; else { + if (!(step < 0)) throw IllegalArgumentException_init_$Create$_0("Step is zero."); + tmp = start <= end ? end : end + differenceModulo(start, end, 0 | -step) | 0; + } + return tmp; + }(start, endInclusive, step), this.w_1 = step; } - function ClassCastException_init_$Create$() { - var tmp = ClassCastException_init_$Init$(Object.create(ClassCastException.prototype)); - return captureStack(tmp, ClassCastException_init_$Create$), tmp; + function ClosedRange() {} + function appendElement(_this__u8e3s4, element, transform) { + null != transform ? _this__u8e3s4.f(transform(element)) : null == element || isCharSequence(element) ? _this__u8e3s4.f(element) : element instanceof Char ? _this__u8e3s4.i6(element.ge_1) : _this__u8e3s4.f(toString_0(element)); } - function ClassCastException() { - captureStack(this, ClassCastException); + function equals_0(_this__u8e3s4, other, ignoreCase) { + if (_this__u8e3s4 === other) return !0; + if (!(ignoreCase = ignoreCase !== VOID && ignoreCase)) return !1; + var tmp, thisUpper = uppercaseChar(_this__u8e3s4), otherUpper = uppercaseChar(other); + thisUpper === otherUpper ? tmp = !0 : tmp = charSequenceGet(toString(thisUpper).toLowerCase(), 0) === charSequenceGet(toString(otherUpper).toLowerCase(), 0); + return tmp; } - function UninitializedPropertyAccessException_init_$Init$(message, $this) { - return RuntimeException_init_$Init$_0(message, $this), UninitializedPropertyAccessException.call($this), - $this; + function indentWidth(_this__u8e3s4) { + var tmp$ret$1; + $l$block: { + var inductionVariable = 0, last = charSequenceLength(_this__u8e3s4) - 1 | 0; + if (inductionVariable <= last) do { + var index = inductionVariable; + if (inductionVariable = inductionVariable + 1 | 0, !isWhitespace(charSequenceGet(_this__u8e3s4, index))) { + tmp$ret$1 = index; + break $l$block; + } + } while (inductionVariable <= last); + tmp$ret$1 = -1; + } + var it_0 = tmp$ret$1; + return -1 === it_0 ? _this__u8e3s4.length : it_0; } - function UninitializedPropertyAccessException_init_$Create$(message) { - var tmp = UninitializedPropertyAccessException_init_$Init$(message, Object.create(UninitializedPropertyAccessException.prototype)); - return captureStack(tmp, UninitializedPropertyAccessException_init_$Create$), tmp; + function getIndentFunction$lambda(line) { + return line; } - function UninitializedPropertyAccessException() { - captureStack(this, UninitializedPropertyAccessException); + function toIntOrNull(_this__u8e3s4) { + return toIntOrNull_0(_this__u8e3s4, 10); } - function jsIn(lhs_hack, rhs_hack) { - return lhs_hack in rhs_hack; - } - function jsBitwiseOr(lhs_hack, rhs_hack) { - return lhs_hack | rhs_hack; - } - function jsDeleteProperty(obj_hack, property_hack) { - delete obj_hack[property_hack]; - } - function jsInstanceOf(obj_hack, jsClass_hack) { - return obj_hack instanceof jsClass_hack; - } - return setMetadataFor(_no_name_provided__qut3iv, void 0, classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(Collection, "Collection", interfaceMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(AbstractCollection, "AbstractCollection", classMeta, void 0, [ Collection ], void 0, void 0, []), - setMetadataFor(IteratorImpl, "IteratorImpl", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(Companion, "Companion", objectMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(List, "List", interfaceMeta, void 0, [ Collection ], void 0, void 0, []), - setMetadataFor(AbstractList, "AbstractList", classMeta, AbstractCollection, [ AbstractCollection, List ], void 0, void 0, []), - setMetadataFor(AbstractMap$keys$1$iterator$1, void 0, classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(AbstractMap$values$1$iterator$1, void 0, classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(Companion_0, "Companion", objectMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(Set, "Set", interfaceMeta, void 0, [ Collection ], void 0, void 0, []), - setMetadataFor(AbstractSet, "AbstractSet", classMeta, AbstractCollection, [ AbstractCollection, Set ], void 0, void 0, []), - setMetadataFor(AbstractMap$keys$1, void 0, classMeta, AbstractSet, void 0, void 0, void 0, []), - setMetadataFor(AbstractMap$values$1, void 0, classMeta, AbstractCollection, void 0, void 0, void 0, []), - setMetadataFor(Map, "Map", interfaceMeta, void 0, void 0, void 0, void 0, []), setMetadataFor(AbstractMap, "AbstractMap", classMeta, void 0, [ Map ], void 0, void 0, []), - setMetadataFor(Companion_1, "Companion", objectMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(EmptyList, "EmptyList", objectMeta, void 0, [ List ], void 0, void 0, []), - setMetadataFor(EmptyIterator, "EmptyIterator", objectMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(ArrayAsCollection, "ArrayAsCollection", classMeta, void 0, [ Collection ], void 0, void 0, []), - setMetadataFor(IndexedValue, "IndexedValue", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(IndexingIterable, "IndexingIterable", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(IndexingIterator, "IndexingIterator", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(MapWithDefault, "MapWithDefault", interfaceMeta, void 0, [ Map ], void 0, void 0, []), - setMetadataFor(EmptyMap, "EmptyMap", objectMeta, void 0, [ Map ], void 0, void 0, []), - setMetadataFor(IntIterator, "IntIterator", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(GeneratorSequence$iterator$1, void 0, classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(GeneratorSequence, "GeneratorSequence", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(DropTakeSequence, "DropTakeSequence", interfaceMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(TakeSequence$iterator$1, void 0, classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(TakeSequence, "TakeSequence", classMeta, void 0, [ DropTakeSequence ], void 0, void 0, []), - setMetadataFor(TransformingSequence$iterator$1, void 0, classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(TransformingSequence, "TransformingSequence", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(EmptySequence, "EmptySequence", objectMeta, void 0, [ DropTakeSequence ], void 0, void 0, []), - setMetadataFor(EmptySet, "EmptySet", objectMeta, void 0, [ Set ], void 0, void 0, []), - setMetadataFor(Comparator, "Comparator", interfaceMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(NaturalOrderComparator, "NaturalOrderComparator", objectMeta, void 0, [ Comparator ], void 0, void 0, []), - setMetadataFor(Continuation, "Continuation", interfaceMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(Key, "Key", objectMeta, void 0, void 0, void 0, void 0, []), setMetadataFor(CoroutineContext, "CoroutineContext", interfaceMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(Element, "Element", interfaceMeta, void 0, [ CoroutineContext ], void 0, void 0, []), - setMetadataFor(ContinuationInterceptor, "ContinuationInterceptor", interfaceMeta, void 0, [ Element ], void 0, void 0, []), - setMetadataFor(EmptyCoroutineContext, "EmptyCoroutineContext", objectMeta, void 0, [ CoroutineContext ], void 0, void 0, []), - setMetadataFor(CombinedContext, "CombinedContext", classMeta, void 0, [ CoroutineContext ], void 0, void 0, []), - setMetadataFor(AbstractCoroutineContextKey, "AbstractCoroutineContextKey", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(AbstractCoroutineContextElement, "AbstractCoroutineContextElement", classMeta, void 0, [ Element ], void 0, void 0, []), - setMetadataFor(Comparable, "Comparable", interfaceMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(Enum, "Enum", classMeta, void 0, [ Comparable ], void 0, void 0, []), - setMetadataFor(CoroutineSingletons, "CoroutineSingletons", classMeta, Enum, void 0, void 0, void 0, []), - setMetadataFor(Companion_2, "Companion", objectMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(IntProgression, "IntProgression", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(IntRange, "IntRange", classMeta, IntProgression, void 0, void 0, void 0, []), - setMetadataFor(IntProgressionIterator, "IntProgressionIterator", classMeta, IntIterator, void 0, void 0, void 0, []), - setMetadataFor(Companion_3, "Companion", objectMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(DelimitedRangesSequence$iterator$1, void 0, classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(DelimitedRangesSequence, "DelimitedRangesSequence", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(DeepRecursiveScope, "DeepRecursiveScope", classMeta, void 0, void 0, void 0, void 0, [ 1 ]), - setMetadataFor(DeepRecursiveFunction, "DeepRecursiveFunction", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(DeepRecursiveScopeImpl, "DeepRecursiveScopeImpl", classMeta, DeepRecursiveScope, [ DeepRecursiveScope, Continuation ], void 0, void 0, [ 1 ]), - setMetadataFor(LazyThreadSafetyMode, "LazyThreadSafetyMode", classMeta, Enum, void 0, void 0, void 0, []), - setMetadataFor(UnsafeLazyImpl, "UnsafeLazyImpl", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(UNINITIALIZED_VALUE, "UNINITIALIZED_VALUE", objectMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(Companion_4, "Companion", objectMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(Failure, "Failure", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(Result, "Result", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(Error_0, "Error", classMeta, Error, void 0, void 0, void 0, []), - setMetadataFor(NotImplementedError, "NotImplementedError", classMeta, Error_0, void 0, void 0, void 0, []), - setMetadataFor(Pair, "Pair", classMeta, void 0, void 0, void 0, void 0, []), setMetadataFor(CharSequence, "CharSequence", interfaceMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(Number_0, "Number", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(Unit, "Unit", objectMeta, void 0, void 0, void 0, void 0, []), setMetadataFor(IntCompanionObject, "IntCompanionObject", objectMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(AbstractMutableCollection, "AbstractMutableCollection", classMeta, AbstractCollection, [ AbstractCollection, Collection ], void 0, void 0, []), - setMetadataFor(IteratorImpl_0, "IteratorImpl", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(ListIteratorImpl, "ListIteratorImpl", classMeta, IteratorImpl_0, void 0, void 0, void 0, []), - setMetadataFor(AbstractMutableList, "AbstractMutableList", classMeta, AbstractMutableCollection, [ AbstractMutableCollection, List, Collection ], void 0, void 0, []), - setMetadataFor(AbstractMutableMap$keys$1$iterator$1, void 0, classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(AbstractMutableMap$values$1$iterator$1, void 0, classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(Entry, "Entry", interfaceMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(MutableEntry, "MutableEntry", interfaceMeta, void 0, [ Entry ], void 0, void 0, []), - setMetadataFor(SimpleEntry, "SimpleEntry", classMeta, void 0, [ MutableEntry ], void 0, void 0, []), - setMetadataFor(AbstractMutableSet, "AbstractMutableSet", classMeta, AbstractMutableCollection, [ AbstractMutableCollection, Set, Collection ], void 0, void 0, []), - setMetadataFor(AbstractEntrySet, "AbstractEntrySet", classMeta, AbstractMutableSet, void 0, void 0, void 0, []), - setMetadataFor(AbstractMutableMap$keys$1, void 0, classMeta, AbstractMutableSet, void 0, void 0, void 0, []), - setMetadataFor(AbstractMutableMap$values$1, void 0, classMeta, AbstractMutableCollection, void 0, void 0, void 0, []), - setMetadataFor(AbstractMutableMap, "AbstractMutableMap", classMeta, AbstractMap, [ AbstractMap, Map ], void 0, void 0, []), - setMetadataFor(ArrayList, "ArrayList", classMeta, AbstractMutableList, [ AbstractMutableList, List, Collection ], void 0, void 0, []), - setMetadataFor(HashCode, "HashCode", objectMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(EntrySet, "EntrySet", classMeta, AbstractEntrySet, void 0, void 0, void 0, []), - setMetadataFor(HashMap, "HashMap", classMeta, AbstractMutableMap, [ AbstractMutableMap, Map ], void 0, void 0, []), - setMetadataFor(HashSet, "HashSet", classMeta, AbstractMutableSet, [ AbstractMutableSet, Set, Collection ], void 0, void 0, []), - setMetadataFor(InternalHashCodeMap$iterator$1, void 0, classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(InternalMap, "InternalMap", interfaceMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(InternalHashCodeMap, "InternalHashCodeMap", classMeta, void 0, [ InternalMap ], void 0, void 0, []), - setMetadataFor(EntryIterator, "EntryIterator", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(ChainEntry, "ChainEntry", classMeta, SimpleEntry, void 0, void 0, void 0, []), - setMetadataFor(EntrySet_0, "EntrySet", classMeta, AbstractEntrySet, void 0, void 0, void 0, []), - setMetadataFor(LinkedHashMap, "LinkedHashMap", classMeta, HashMap, [ HashMap, Map ], void 0, void 0, []), - setMetadataFor(LinkedHashSet, "LinkedHashSet", classMeta, HashSet, [ HashSet, Set, Collection ], void 0, void 0, []), - setMetadataFor(SafeContinuation, "SafeContinuation", classMeta, void 0, [ Continuation ], void 0, void 0, []), - setMetadataFor(Exception, "Exception", classMeta, Error, void 0, void 0, void 0, []), - setMetadataFor(RuntimeException, "RuntimeException", classMeta, Exception, void 0, void 0, void 0, []), - setMetadataFor(IllegalStateException, "IllegalStateException", classMeta, RuntimeException, void 0, void 0, void 0, []), - setMetadataFor(CancellationException, "CancellationException", classMeta, IllegalStateException, void 0, void 0, void 0, []), - setMetadataFor(_no_name_provided__qut3iv_0, void 0, classMeta, void 0, [ Continuation ], void 0, void 0, []), - setMetadataFor(KClass, "KClass", interfaceMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(KClassImpl, "KClassImpl", classMeta, void 0, [ KClass ], void 0, void 0, []), - setMetadataFor(PrimitiveKClassImpl, "PrimitiveKClassImpl", classMeta, KClassImpl, void 0, void 0, void 0, []), - setMetadataFor(NothingKClassImpl, "NothingKClassImpl", objectMeta, KClassImpl, void 0, void 0, void 0, []), - setMetadataFor(ErrorKClass, "ErrorKClass", classMeta, void 0, [ KClass ], void 0, void 0, []), - setMetadataFor(SimpleKClassImpl, "SimpleKClassImpl", classMeta, KClassImpl, void 0, void 0, void 0, []), - setMetadataFor(KProperty1, "KProperty1", interfaceMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(PrimitiveClasses, "PrimitiveClasses", objectMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(StringBuilder, "StringBuilder", classMeta, void 0, [ CharSequence ], void 0, void 0, []), - setMetadataFor(Companion_5, "Companion", objectMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(Regex, "Regex", classMeta, void 0, void 0, void 0, void 0, []), setMetadataFor(MatchGroup, "MatchGroup", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(findNext$1$groups$1, void 0, classMeta, AbstractCollection, [ Collection, AbstractCollection ], void 0, void 0, []), - setMetadataFor(findNext$1$groupValues$1, void 0, classMeta, AbstractList, void 0, void 0, void 0, []), - setMetadataFor(findNext$1, void 0, classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(ExceptionTraceBuilder, "ExceptionTraceBuilder", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(Companion_6, "Companion", objectMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(Char, "Char", classMeta, void 0, [ Comparable ], void 0, void 0, []), - setMetadataFor(Companion_7, "Companion", objectMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(BitMask, "BitMask", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(arrayIterator$1, void 0, classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(Companion_8, "Companion", objectMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(Long, "Long", classMeta, Number_0, [ Number_0, Comparable ], void 0, void 0, []), - setMetadataFor(InterfaceIdService, "InterfaceIdService", objectMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(Digit, "Digit", objectMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(CoroutineImpl, "CoroutineImpl", classMeta, void 0, [ Continuation ], void 0, void 0, []), - setMetadataFor(CompletedContinuation, "CompletedContinuation", objectMeta, void 0, [ Continuation ], void 0, void 0, []), - setMetadataFor(_no_name_provided__qut3iv_1, void 0, classMeta, CoroutineImpl, void 0, void 0, void 0, []), - setMetadataFor(IllegalArgumentException, "IllegalArgumentException", classMeta, RuntimeException, void 0, void 0, void 0, []), - setMetadataFor(NoSuchElementException, "NoSuchElementException", classMeta, RuntimeException, void 0, void 0, void 0, []), - setMetadataFor(UnsupportedOperationException, "UnsupportedOperationException", classMeta, RuntimeException, void 0, void 0, void 0, []), - setMetadataFor(IndexOutOfBoundsException, "IndexOutOfBoundsException", classMeta, RuntimeException, void 0, void 0, void 0, []), - setMetadataFor(NumberFormatException, "NumberFormatException", classMeta, IllegalArgumentException, void 0, void 0, void 0, []), - setMetadataFor(ArithmeticException, "ArithmeticException", classMeta, RuntimeException, void 0, void 0, void 0, []), - setMetadataFor(NullPointerException, "NullPointerException", classMeta, RuntimeException, void 0, void 0, void 0, []), - setMetadataFor(NoWhenBranchMatchedException, "NoWhenBranchMatchedException", classMeta, RuntimeException, void 0, void 0, void 0, []), - setMetadataFor(ClassCastException, "ClassCastException", classMeta, RuntimeException, void 0, void 0, void 0, []), - setMetadataFor(UninitializedPropertyAccessException, "UninitializedPropertyAccessException", classMeta, RuntimeException, void 0, void 0, void 0, []), - _no_name_provided__qut3iv.prototype.d = function() { - return this.m_1.d(); - }, AbstractCollection.prototype.t = function(element) { - var tmp$ret$0; - $l$block_0: if (isInterface(this, Collection) && this.l()) tmp$ret$0 = !1; else { - for (var tmp0_iterator = this.d(); tmp0_iterator.e(); ) if (equals_0(tmp0_iterator.f(), element)) { - tmp$ret$0 = !0; - break $l$block_0; + function toIntOrNull_0(_this__u8e3s4, radix) { + !function(radix) { + if (!(2 <= radix && radix <= 36)) throw IllegalArgumentException_init_$Create$_0("radix " + radix + " was not in valid range 2..36"); + }(radix); + var start, isNegative, limit, length = _this__u8e3s4.length; + if (0 === length) return null; + var firstChar = charSequenceGet(_this__u8e3s4, 0); + if (Char__compareTo_impl_ypi4mb(firstChar, 48) < 0) { + if (1 === length) return null; + if (start = 1, 45 === firstChar) isNegative = !0, limit = -2147483648; else { + if (43 !== firstChar) return null; + isNegative = !1, limit = -2147483647; } - tmp$ret$0 = !1; + } else start = 0, isNegative = !1, limit = -2147483647; + var limitBeforeMul = -59652323, result = 0, inductionVariable = start; + if (inductionVariable < length) do { + var i = inductionVariable; + inductionVariable = inductionVariable + 1 | 0; + var digit = digitOf(charSequenceGet(_this__u8e3s4, i), radix); + if (digit < 0) return null; + if (result < limitBeforeMul) { + if (-59652323 !== limitBeforeMul) return null; + if (result < (limitBeforeMul = limit / radix | 0)) return null; + } + if ((result = imul(result, radix)) < (limit + digit | 0)) return null; + result = result - digit | 0; + } while (inductionVariable < length); + return isNegative ? result : 0 | -result; + } + function numberFormatError(input) { + throw NumberFormatException_init_$Create$_0("Invalid number format: '" + input + "'"); + } + function trimEnd(_this__u8e3s4, chars) { + var tmp$ret$1; + $l$block: { + var this_0 = isCharSequence(_this__u8e3s4) ? _this__u8e3s4 : THROW_CCE(), inductionVariable = charSequenceLength(this_0) - 1 | 0; + if (0 <= inductionVariable) do { + var index = inductionVariable; + if (inductionVariable = inductionVariable + -1 | 0, !contains_1(chars, charSequenceGet(this_0, index))) { + tmp$ret$1 = charSequenceSubSequence(this_0, 0, index + 1 | 0); + break $l$block; + } + } while (0 <= inductionVariable); + tmp$ret$1 = ""; } - return tmp$ret$0; - }, AbstractCollection.prototype.u = function(elements) { - var tmp$ret$0; - $l$block_0: if (isInterface(elements, Collection) && elements.l()) tmp$ret$0 = !0; else { - for (var tmp0_iterator = elements.d(); tmp0_iterator.e(); ) { - var element = tmp0_iterator.f(); - if (!this.t(element)) { - tmp$ret$0 = !1; - break $l$block_0; + return toString_1(tmp$ret$1); + } + function get_lastIndex_3(_this__u8e3s4) { + return charSequenceLength(_this__u8e3s4) - 1 | 0; + } + function isBlank(_this__u8e3s4) { + var tmp$ret$1; + $l$block: { + for (var inductionVariable = 0; inductionVariable < charSequenceLength(_this__u8e3s4); ) { + var element = charSequenceGet(_this__u8e3s4, inductionVariable); + if (inductionVariable = inductionVariable + 1 | 0, !isWhitespace(element)) { + tmp$ret$1 = !1; + break $l$block; } } - tmp$ret$0 = !0; + tmp$ret$1 = !0; } - return tmp$ret$0; - }, AbstractCollection.prototype.l = function() { - return 0 === this.c(); - }, AbstractCollection.prototype.toString = function() { - return joinToString$default_0(this, ", ", "[", "]", 0, null, AbstractCollection$toString$lambda(this), 24, null); - }, AbstractCollection.prototype.toArray = function() { - return copyToArrayImpl(this); - }, IteratorImpl.prototype.e = function() { - return this.v_1 < this.w_1.c(); - }, IteratorImpl.prototype.f = function() { - if (!this.e()) throw NoSuchElementException_init_$Create$(); - var tmp0_this = this, tmp1 = tmp0_this.v_1; - return tmp0_this.v_1 = tmp1 + 1 | 0, this.w_1.g(tmp1); - }, Companion.prototype.x = function(index, size) { - if (index < 0 || index >= size) throw IndexOutOfBoundsException_init_$Create$("index: " + index + ", size: " + size); - }, Companion.prototype.y = function(index, size) { - if (index < 0 || index > size) throw IndexOutOfBoundsException_init_$Create$("index: " + index + ", size: " + size); - }, Companion.prototype.z = function(fromIndex, toIndex, size) { - if (fromIndex < 0 || toIndex > size) throw IndexOutOfBoundsException_init_$Create$("fromIndex: " + fromIndex + ", toIndex: " + toIndex + ", size: " + size); - if (fromIndex > toIndex) throw IllegalArgumentException_init_$Create$("fromIndex: " + fromIndex + " > toIndex: " + toIndex); - }, Companion.prototype.a1 = function(startIndex, endIndex, size) { - if (startIndex < 0 || endIndex > size) throw IndexOutOfBoundsException_init_$Create$("startIndex: " + startIndex + ", endIndex: " + endIndex + ", size: " + size); - if (startIndex > endIndex) throw IllegalArgumentException_init_$Create$("startIndex: " + startIndex + " > endIndex: " + endIndex); - }, Companion.prototype.b1 = function(c) { - for (var hashCode_0 = 1, tmp0_iterator = c.d(); tmp0_iterator.e(); ) { - var e = tmp0_iterator.f(), tmp = imul(31, hashCode_0), tmp2_elvis_lhs = null == e ? null : hashCode(e); - hashCode_0 = tmp + (null == tmp2_elvis_lhs ? 0 : tmp2_elvis_lhs) | 0; - } - return hashCode_0; - }, Companion.prototype.c1 = function(c, other) { - if (c.c() !== other.c()) return !1; - for (var otherIterator = other.d(), tmp0_iterator = c.d(); tmp0_iterator.e(); ) if (!equals_0(tmp0_iterator.f(), otherIterator.f())) return !1; - return !0; - }, AbstractList.prototype.d = function() { - return new IteratorImpl(this); - }, AbstractList.prototype.equals = function(other) { - return other === this || !(null == other || !isInterface(other, List)) && Companion_getInstance().c1(this, other); - }, AbstractList.prototype.hashCode = function() { - return Companion_getInstance().b1(this); - }, AbstractMap$keys$1$iterator$1.prototype.e = function() { - return this.d1_1.e(); - }, AbstractMap$keys$1$iterator$1.prototype.f = function() { - return this.d1_1.f().e1(); - }, AbstractMap$values$1$iterator$1.prototype.e = function() { - return this.f1_1.e(); - }, AbstractMap$values$1$iterator$1.prototype.f = function() { - return this.f1_1.f().g1(); - }, Companion_0.prototype.i1 = function(e) { - var tmp2_safe_receiver = e.e1(), tmp3_elvis_lhs = null == tmp2_safe_receiver ? null : hashCode(tmp2_safe_receiver), tmp = null == tmp3_elvis_lhs ? 0 : tmp3_elvis_lhs, tmp0_safe_receiver = e.g1(), tmp1_elvis_lhs = null == tmp0_safe_receiver ? null : hashCode(tmp0_safe_receiver); - return tmp ^ (null == tmp1_elvis_lhs ? 0 : tmp1_elvis_lhs); - }, Companion_0.prototype.j1 = function(e) { - return toString_1(e.e1()) + "=" + toString_1(e.g1()); - }, Companion_0.prototype.k1 = function(e, other) { - return !(null == other || !isInterface(other, Entry)) && !!equals_0(e.e1(), other.e1()) && equals_0(e.g1(), other.g1()); - }, AbstractMap$keys$1.prototype.m1 = function(element) { - return this.l1_1.p1(element); - }, AbstractMap$keys$1.prototype.t = function(element) { - return !(null != element && !isObject(element)) && this.m1(null == element || isObject(element) ? element : THROW_CCE()); - }, AbstractMap$keys$1.prototype.d = function() { - return new AbstractMap$keys$1$iterator$1(this.l1_1.h1().d()); - }, AbstractMap$keys$1.prototype.c = function() { - return this.l1_1.c(); - }, AbstractMap$values$1.prototype.s1 = function(element) { - return this.r1_1.t1(element); - }, AbstractMap$values$1.prototype.t = function(element) { - return !(null != element && !isObject(element)) && this.s1(null == element || isObject(element) ? element : THROW_CCE()); - }, AbstractMap$values$1.prototype.d = function() { - return new AbstractMap$values$1$iterator$1(this.r1_1.h1().d()); - }, AbstractMap$values$1.prototype.c = function() { - return this.r1_1.c(); - }, AbstractMap.prototype.p1 = function(key) { - return !(null == implFindEntry(this, key)); - }, AbstractMap.prototype.t1 = function(value) { - var tmp$ret$0; - $l$block_0: { - var tmp0_any = this.h1(); - if (isInterface(tmp0_any, Collection) && tmp0_any.l()) tmp$ret$0 = !1; else { - for (var tmp0_iterator = tmp0_any.d(); tmp0_iterator.e(); ) if (equals_0(tmp0_iterator.f().g1(), value)) { - tmp$ret$0 = !0; - break $l$block_0; + return tmp$ret$1; + } + function trimStart(_this__u8e3s4, chars) { + var tmp$ret$1; + $l$block: { + var this_0 = isCharSequence(_this__u8e3s4) ? _this__u8e3s4 : THROW_CCE(), inductionVariable = 0, last = charSequenceLength(this_0) - 1 | 0; + if (inductionVariable <= last) do { + var index = inductionVariable; + if (inductionVariable = inductionVariable + 1 | 0, !contains_1(chars, charSequenceGet(this_0, index))) { + tmp$ret$1 = charSequenceSubSequence(this_0, index, charSequenceLength(this_0)); + break $l$block; } - tmp$ret$0 = !1; - } + } while (inductionVariable <= last); + tmp$ret$1 = ""; } - return tmp$ret$0; - }, AbstractMap.prototype.u1 = function(entry) { - if (null == entry || !isInterface(entry, Entry)) return !1; - var key = entry.e1(), value = entry.g1(), ourValue = (isInterface(this, Map) ? this : THROW_CCE()).v1(key); - return !!equals_0(value, ourValue) && !(null == ourValue && !(isInterface(this, Map) ? this : THROW_CCE()).p1(key)); - }, AbstractMap.prototype.equals = function(other) { - if (other === this) return !0; - if (null == other || !isInterface(other, Map)) return !1; - if (this.c() !== other.c()) return !1; - var tmp$ret$0; - $l$block_0: { - var tmp0_all = other.h1(); - if (isInterface(tmp0_all, Collection) && tmp0_all.l()) tmp$ret$0 = !0; else { - for (var tmp0_iterator = tmp0_all.d(); tmp0_iterator.e(); ) { - var element = tmp0_iterator.f(); - if (!this.u1(element)) { - tmp$ret$0 = !1; - break $l$block_0; + return toString_1(tmp$ret$1); + } + function requireNonNegativeLimit(limit) { + if (!(limit >= 0)) throw IllegalArgumentException_init_$Create$_0(toString_1("Limit must be non-negative, but was " + limit)); + } + function indexOf_1(_this__u8e3s4, char, startIndex, ignoreCase) { + var tmp; + if (startIndex = startIndex === VOID ? 0 : startIndex, !!(ignoreCase = ignoreCase !== VOID && ignoreCase) || !("string" == typeof _this__u8e3s4)) { + tmp = function(_this__u8e3s4, chars, startIndex, ignoreCase) { + var tmp; + startIndex = startIndex === VOID ? 0 : startIndex, ignoreCase = ignoreCase !== VOID && ignoreCase, + tmp = !ignoreCase && 1 === chars.length && "string" == typeof _this__u8e3s4; + if (tmp) { + var str = toString(single(chars)); + return _this__u8e3s4.indexOf(str, startIndex); + } + var inductionVariable = coerceAtLeast(startIndex, 0), last = get_lastIndex_3(_this__u8e3s4); + if (inductionVariable <= last) do { + var index = inductionVariable; + inductionVariable = inductionVariable + 1 | 0; + var tmp$ret$4, charAtIndex = charSequenceGet(_this__u8e3s4, index); + $l$block: { + for (var inductionVariable_0 = 0, last_0 = chars.length; inductionVariable_0 < last_0; ) { + var element = chars[inductionVariable_0]; + if (inductionVariable_0 = inductionVariable_0 + 1 | 0, equals_0(element, charAtIndex, ignoreCase)) { + tmp$ret$4 = !0; + break $l$block; + } + } + tmp$ret$4 = !1; } - } - tmp$ret$0 = !0; - } + if (tmp$ret$4) return index; + } while (index !== last); + return -1; + }(_this__u8e3s4, charArrayOf([ char ]), startIndex, ignoreCase); + } else { + var str = toString(char); + tmp = _this__u8e3s4.indexOf(str, startIndex); } - return tmp$ret$0; - }, AbstractMap.prototype.v1 = function(key) { - var tmp0_safe_receiver = implFindEntry(this, key); - return null == tmp0_safe_receiver ? null : tmp0_safe_receiver.g1(); - }, AbstractMap.prototype.hashCode = function() { - return hashCode(this.h1()); - }, AbstractMap.prototype.l = function() { - return 0 === this.c(); - }, AbstractMap.prototype.c = function() { - return this.h1().c(); - }, AbstractMap.prototype.w1 = function() { - return null == this.n1_1 && (this.n1_1 = new AbstractMap$keys$1(this)), ensureNotNull(this.n1_1); - }, AbstractMap.prototype.toString = function() { - return joinToString$default_0(this.h1(), ", ", "{", "}", 0, null, AbstractMap$toString$lambda(this), 24, null); - }, AbstractMap.prototype.q1 = function(entry) { - return toString(this, entry.e1()) + "=" + toString(this, entry.g1()); - }, AbstractMap.prototype.x1 = function() { - return null == this.o1_1 && (this.o1_1 = new AbstractMap$values$1(this)), ensureNotNull(this.o1_1); - }, Companion_1.prototype.y1 = function(c) { - for (var hashCode_0 = 0, tmp0_iterator = c.d(); tmp0_iterator.e(); ) { - var element = tmp0_iterator.f(), tmp = hashCode_0, tmp2_elvis_lhs = null == element ? null : hashCode(element); - hashCode_0 = tmp + (null == tmp2_elvis_lhs ? 0 : tmp2_elvis_lhs) | 0; + return tmp; + } + function indexOf_2(_this__u8e3s4, string, startIndex, ignoreCase) { + return startIndex = startIndex === VOID ? 0 : startIndex, !!(ignoreCase = ignoreCase !== VOID && ignoreCase) || !("string" == typeof _this__u8e3s4) ? indexOf_3(_this__u8e3s4, string, startIndex, charSequenceLength(_this__u8e3s4), ignoreCase) : _this__u8e3s4.indexOf(string, startIndex); + } + function indexOf_3(_this__u8e3s4, other, startIndex, endIndex, ignoreCase, last) { + var indices = (last = last !== VOID && last) ? downTo(coerceAtMost(startIndex, get_lastIndex_3(_this__u8e3s4)), coerceAtLeast(endIndex, 0)) : numberRangeToNumber(coerceAtLeast(startIndex, 0), coerceAtMost(endIndex, charSequenceLength(_this__u8e3s4))); + if ("string" == typeof _this__u8e3s4 && "string" == typeof other) { + var inductionVariable = indices.u_1, last_0 = indices.v_1, step = indices.w_1; + if (step > 0 && inductionVariable <= last_0 || step < 0 && last_0 <= inductionVariable) do { + var index = inductionVariable; + if (inductionVariable = inductionVariable + step | 0, regionMatches(other, 0, _this__u8e3s4, index, charSequenceLength(other), ignoreCase)) return index; + } while (index !== last_0); + } else { + var inductionVariable_0 = indices.u_1, last_1 = indices.v_1, step_0 = indices.w_1; + if (step_0 > 0 && inductionVariable_0 <= last_1 || step_0 < 0 && last_1 <= inductionVariable_0) do { + var index_0 = inductionVariable_0; + if (inductionVariable_0 = inductionVariable_0 + step_0 | 0, regionMatchesImpl(other, 0, _this__u8e3s4, index_0, charSequenceLength(other), ignoreCase)) return index_0; + } while (index_0 !== last_1); } - return hashCode_0; - }, Companion_1.prototype.z1 = function(c, other) { - return c.c() === other.c() && c.u(other); - }, AbstractSet.prototype.equals = function(other) { - return other === this || !(null == other || !isInterface(other, Set)) && Companion_getInstance_1().z1(this, other); - }, AbstractSet.prototype.hashCode = function() { - return Companion_getInstance_1().y1(this); - }, EmptyList.prototype.equals = function(other) { - return !(null == other || !isInterface(other, List)) && other.l(); - }, EmptyList.prototype.hashCode = function() { - return 1; - }, EmptyList.prototype.toString = function() { - return "[]"; - }, EmptyList.prototype.c = function() { - return 0; - }, EmptyList.prototype.l = function() { + return -1; + } + function lineSequence(_this__u8e3s4) { + return function(_this__u8e3s4, delimiters, ignoreCase, limit) { + var tmp = function(_this__u8e3s4, delimiters, startIndex, ignoreCase, limit) { + startIndex = startIndex === VOID ? 0 : startIndex, ignoreCase = ignoreCase !== VOID && ignoreCase, + limit = limit === VOID ? 0 : limit, requireNonNegativeLimit(limit); + var delimitersList = asList(delimiters); + return new DelimitedRangesSequence(_this__u8e3s4, startIndex, limit, ($delimitersList = delimitersList, + $ignoreCase = ignoreCase, function($this$$receiver, currentIndex) { + var tmp0_safe_receiver = function(_this__u8e3s4, strings, startIndex, ignoreCase, last) { + if (!ignoreCase && 1 === strings.k()) { + var string = single_0(strings), index = last ? lastIndexOf(_this__u8e3s4, string, startIndex) : indexOf_2(_this__u8e3s4, string, startIndex); + return index < 0 ? null : to(index, string); + } + var indices = last ? downTo(coerceAtMost(startIndex, get_lastIndex_3(_this__u8e3s4)), 0) : numberRangeToNumber(coerceAtLeast(startIndex, 0), charSequenceLength(_this__u8e3s4)); + if ("string" == typeof _this__u8e3s4) { + var inductionVariable = indices.u_1, last_0 = indices.v_1, step = indices.w_1; + if (step > 0 && inductionVariable <= last_0 || step < 0 && last_0 <= inductionVariable) do { + var tmp$ret$1, index_0 = inductionVariable; + inductionVariable = inductionVariable + step | 0; + $l$block: { + for (var tmp0_iterator = strings.h(); tmp0_iterator.i(); ) { + var element = tmp0_iterator.j(); + if (regionMatches(element, 0, _this__u8e3s4, index_0, element.length, ignoreCase)) { + tmp$ret$1 = element; + break $l$block; + } + } + tmp$ret$1 = null; + } + if (null != tmp$ret$1) return to(index_0, tmp$ret$1); + } while (index_0 !== last_0); + } else { + var inductionVariable_0 = indices.u_1, last_1 = indices.v_1, step_0 = indices.w_1; + if (step_0 > 0 && inductionVariable_0 <= last_1 || step_0 < 0 && last_1 <= inductionVariable_0) do { + var tmp$ret$3, index_1 = inductionVariable_0; + inductionVariable_0 = inductionVariable_0 + step_0 | 0; + $l$block_0: { + for (var tmp0_iterator_0 = strings.h(); tmp0_iterator_0.i(); ) { + var element_0 = tmp0_iterator_0.j(); + if (regionMatchesImpl(element_0, 0, _this__u8e3s4, index_1, element_0.length, ignoreCase)) { + tmp$ret$3 = element_0; + break $l$block_0; + } + } + tmp$ret$3 = null; + } + if (null != tmp$ret$3) return to(index_1, tmp$ret$3); + } while (index_1 !== last_1); + } + return null; + }($this$$receiver, $delimitersList, currentIndex, $ignoreCase, !1); + return null == tmp0_safe_receiver ? null : to(tmp0_safe_receiver.pc_1, tmp0_safe_receiver.qc_1.length); + })); + var $delimitersList, $ignoreCase; + }(_this__u8e3s4, delimiters, VOID, ignoreCase = ignoreCase !== VOID && ignoreCase, limit = limit === VOID ? 0 : limit); + return map(tmp, ($this_splitToSequence = _this__u8e3s4, function(it) { + return function(_this__u8e3s4, range) { + return toString_1(charSequenceSubSequence(_this__u8e3s4, range.ja(), range.ka() + 1 | 0)); + }($this_splitToSequence, it); + })); + var $this_splitToSequence; + }(_this__u8e3s4, [ "\r\n", "\n", "\r" ]); + } + function regionMatchesImpl(_this__u8e3s4, thisOffset, other, otherOffset, length, ignoreCase) { + if (otherOffset < 0 || thisOffset < 0 || thisOffset > (charSequenceLength(_this__u8e3s4) - length | 0) || otherOffset > (charSequenceLength(other) - length | 0)) return !1; + var inductionVariable = 0; + if (inductionVariable < length) do { + var index = inductionVariable; + if (inductionVariable = inductionVariable + 1 | 0, !equals_0(charSequenceGet(_this__u8e3s4, thisOffset + index | 0), charSequenceGet(other, otherOffset + index | 0), ignoreCase)) return !1; + } while (inductionVariable < length); return !0; - }, EmptyList.prototype.b2 = function(elements) { - return elements.l(); - }, EmptyList.prototype.u = function(elements) { - return this.b2(elements); - }, EmptyList.prototype.g = function(index) { - throw IndexOutOfBoundsException_init_$Create$("Empty list doesn't contain element at index " + index + "."); - }, EmptyList.prototype.d = function() { - return EmptyIterator_getInstance(); - }, EmptyIterator.prototype.e = function() { - return !1; - }, EmptyIterator.prototype.f = function() { - throw NoSuchElementException_init_$Create$(); - }, ArrayAsCollection.prototype.c = function() { - return this.c2_1.length; - }, ArrayAsCollection.prototype.l = function() { - return 0 === this.c2_1.length; - }, ArrayAsCollection.prototype.e2 = function(element) { - return contains_0(this.c2_1, element); - }, ArrayAsCollection.prototype.f2 = function(elements) { - var tmp$ret$0; - $l$block_0: if (isInterface(elements, Collection) && elements.l()) tmp$ret$0 = !0; else { - for (var tmp0_iterator = elements.d(); tmp0_iterator.e(); ) { - var element = tmp0_iterator.f(); - if (!this.e2(element)) { - tmp$ret$0 = !1; - break $l$block_0; + } + function calcNext_0($this) { + if ($this.je_1 < 0) $this.he_1 = 0, $this.ke_1 = null; else { + var tmp_0; + if ($this.me_1.pe_1 > 0 ? ($this.le_1 = $this.le_1 + 1 | 0, tmp_0 = $this.le_1 >= $this.me_1.pe_1) : tmp_0 = !1, + !!tmp_0 || $this.je_1 > charSequenceLength($this.me_1.ne_1)) $this.ke_1 = numberRangeToNumber($this.ie_1, get_lastIndex_3($this.me_1.ne_1)), + $this.je_1 = -1; else { + var match = $this.me_1.qe_1($this.me_1.ne_1, $this.je_1); + if (null == match) $this.ke_1 = numberRangeToNumber($this.ie_1, get_lastIndex_3($this.me_1.ne_1)), + $this.je_1 = -1; else { + var index = match.gc(), length = match.hc(); + $this.ke_1 = until($this.ie_1, index), $this.ie_1 = index + length | 0, $this.je_1 = $this.ie_1 + (0 === length ? 1 : 0) | 0; } } - tmp$ret$0 = !0; - } - return tmp$ret$0; - }, ArrayAsCollection.prototype.u = function(elements) { - return this.f2(elements); - }, ArrayAsCollection.prototype.d = function() { - return arrayIterator(this.c2_1); - }, IndexedValue.prototype.i2 = function() { - return this.g2_1; - }, IndexedValue.prototype.j2 = function() { - return this.h2_1; - }, IndexedValue.prototype.toString = function() { - return "IndexedValue(index=" + this.g2_1 + ", value=" + this.h2_1 + ")"; - }, IndexedValue.prototype.hashCode = function() { - var result = this.g2_1; - return result = imul(result, 31) + (null == this.h2_1 ? 0 : hashCode(this.h2_1)) | 0; - }, IndexedValue.prototype.equals = function(other) { - if (this === other) return !0; - if (!(other instanceof IndexedValue)) return !1; - var tmp0_other_with_cast = other instanceof IndexedValue ? other : THROW_CCE(); - return this.g2_1 === tmp0_other_with_cast.g2_1 && !!equals_0(this.h2_1, tmp0_other_with_cast.h2_1); - }, IndexingIterable.prototype.d = function() { - return new IndexingIterator(this.k2_1()); - }, IndexingIterator.prototype.e = function() { - return this.l2_1.e(); - }, IndexingIterator.prototype.f = function() { - var tmp0_this = this, tmp1 = tmp0_this.m2_1; - return tmp0_this.m2_1 = tmp1 + 1 | 0, new IndexedValue(checkIndexOverflow(tmp1), this.l2_1.f()); - }, EmptyMap.prototype.equals = function(other) { - return !(null == other || !isInterface(other, Map)) && other.l(); - }, EmptyMap.prototype.hashCode = function() { - return 0; - }, EmptyMap.prototype.toString = function() { - return "{}"; - }, EmptyMap.prototype.c = function() { - return 0; - }, EmptyMap.prototype.l = function() { - return !0; - }, EmptyMap.prototype.p2 = function(key) { - return !1; - }, EmptyMap.prototype.p1 = function(key) { - return !(null != key && !isObject(key)) && this.p2(null == key || isObject(key) ? key : THROW_CCE()); - }, EmptyMap.prototype.q2 = function(key) { - return null; - }, EmptyMap.prototype.v1 = function(key) { - return null == key || isObject(key) ? this.q2(null == key || isObject(key) ? key : THROW_CCE()) : null; - }, EmptyMap.prototype.h1 = function() { - return EmptySet_getInstance(); - }, EmptyMap.prototype.w1 = function() { - return EmptySet_getInstance(); - }, EmptyMap.prototype.x1 = function() { - return EmptyList_getInstance(); - }, IntIterator.prototype.f = function() { - return this.v2(); - }, GeneratorSequence$iterator$1.prototype.f = function() { - if (this.x2_1 < 0 && calcNext(this), 0 === this.x2_1) throw NoSuchElementException_init_$Create$(); - var tmp = this.w2_1, result = isObject(tmp) ? tmp : THROW_CCE(); - return this.x2_1 = -1, result; - }, GeneratorSequence$iterator$1.prototype.e = function() { - return this.x2_1 < 0 && calcNext(this), 1 === this.x2_1; - }, GeneratorSequence.prototype.d = function() { - return new GeneratorSequence$iterator$1(this); - }, TakeSequence$iterator$1.prototype.f = function() { - if (0 === this.b3_1) throw NoSuchElementException_init_$Create$(); - var tmp0_this = this, tmp1 = tmp0_this.b3_1; - return tmp0_this.b3_1 = tmp1 - 1 | 0, this.c3_1.f(); - }, TakeSequence$iterator$1.prototype.e = function() { - return this.b3_1 > 0 && this.c3_1.e(); - }, TakeSequence.prototype.s = function(n) { - return n >= this.e3_1 ? this : new TakeSequence(this.d3_1, n); - }, TakeSequence.prototype.d = function() { - return new TakeSequence$iterator$1(this); - }, TransformingSequence$iterator$1.prototype.f = function() { - return this.g3_1.i3_1(this.f3_1.f()); - }, TransformingSequence$iterator$1.prototype.e = function() { - return this.f3_1.e(); - }, TransformingSequence.prototype.d = function() { - return new TransformingSequence$iterator$1(this); - }, EmptySequence.prototype.d = function() { - return EmptyIterator_getInstance(); - }, EmptySequence.prototype.s = function(n) { - return EmptySequence_getInstance(); - }, EmptySet.prototype.equals = function(other) { - return !(null == other || !isInterface(other, Set)) && other.l(); - }, EmptySet.prototype.hashCode = function() { - return 0; - }, EmptySet.prototype.toString = function() { - return "[]"; - }, EmptySet.prototype.c = function() { - return 0; - }, EmptySet.prototype.l = function() { - return !0; - }, EmptySet.prototype.k3 = function(element) { - return !1; - }, EmptySet.prototype.t = function(element) { - return !1; - }, EmptySet.prototype.b2 = function(elements) { - return elements.l(); - }, EmptySet.prototype.u = function(elements) { - return this.b2(elements); - }, EmptySet.prototype.d = function() { - return EmptyIterator_getInstance(); - }, NaturalOrderComparator.prototype.l3 = function(a, b) { - return compareTo(a, b); - }, NaturalOrderComparator.prototype.compare = function(a, b) { - var tmp = null != a && isComparable(a) ? a : THROW_CCE(); - return this.l3(tmp, null != b && isComparable(b) ? b : THROW_CCE()); - }, EmptyCoroutineContext.prototype.q3 = function(key) { - return null; - }, EmptyCoroutineContext.prototype.w3 = function(initial, operation) { - return initial; - }, EmptyCoroutineContext.prototype.x3 = function(context) { - return context; - }, EmptyCoroutineContext.prototype.v3 = function(key) { - return this; - }, EmptyCoroutineContext.prototype.hashCode = function() { - return 0; - }, EmptyCoroutineContext.prototype.toString = function() { - return "EmptyCoroutineContext"; - }, CombinedContext.prototype.q3 = function(key) { - for (var cur = this; ;) { - var tmp0_safe_receiver = cur.a4_1.q3(key); - if (null != tmp0_safe_receiver) return tmp0_safe_receiver; - var next = cur.z3_1; - if (!(next instanceof CombinedContext)) return next.q3(key); - cur = next; + $this.he_1 = 1; } - }, CombinedContext.prototype.w3 = function(initial, operation) { - return operation(this.z3_1.w3(initial, operation), this.a4_1); - }, CombinedContext.prototype.v3 = function(key) { - if (null != this.a4_1.q3(key)) return this.z3_1; - var newLeft = this.z3_1.v3(key); - return newLeft === this.z3_1 ? this : newLeft === EmptyCoroutineContext_getInstance() ? this.a4_1 : new CombinedContext(newLeft, this.a4_1); - }, CombinedContext.prototype.equals = function(other) { - return this === other || !!(other instanceof CombinedContext && size(other) === size(this)) && containsAll(other, this); - }, CombinedContext.prototype.hashCode = function() { - return hashCode(this.z3_1) + hashCode(this.a4_1) | 0; - }, CombinedContext.prototype.toString = function() { - return "[" + this.w3("", CombinedContext$toString$lambda) + "]"; - }, AbstractCoroutineContextKey.prototype.t3 = function(element) { - return this.r3_1(element); - }, AbstractCoroutineContextKey.prototype.u3 = function(key) { - return key === this || this.s3_1 === key; - }, AbstractCoroutineContextElement.prototype.e1 = function() { - return this.b4_1; - }, IntRange.prototype.i4 = function() { - return this.o_1; - }, IntRange.prototype.j4 = function() { - return this.p_1; - }, IntRange.prototype.l = function() { - return this.o_1 > this.p_1; - }, IntRange.prototype.equals = function(other) { - return other instanceof IntRange && (!(!this.l() || !other.l()) || this.o_1 === other.o_1 && this.p_1 === other.p_1); - }, IntRange.prototype.hashCode = function() { - return this.l() ? -1 : imul(31, this.o_1) + this.p_1 | 0; - }, IntRange.prototype.toString = function() { - return this.o_1 + ".." + this.p_1; - }, IntProgressionIterator.prototype.e = function() { - return this.m4_1; - }, IntProgressionIterator.prototype.v2 = function() { - var value = this.n4_1; - if (value === this.l4_1) { - if (!this.m4_1) throw NoSuchElementException_init_$Create$(); - this.m4_1 = !1; - } else { - var tmp0_this = this; - tmp0_this.n4_1 = tmp0_this.n4_1 + this.k4_1 | 0; - } - return value; - }, Companion_3.prototype.r = function(rangeStart, rangeEnd, step) { - return new IntProgression(rangeStart, rangeEnd, step); - }, IntProgression.prototype.d = function() { - return new IntProgressionIterator(this.o_1, this.p_1, this.q_1); - }, IntProgression.prototype.l = function() { - return this.q_1 > 0 ? this.o_1 > this.p_1 : this.o_1 < this.p_1; - }, IntProgression.prototype.equals = function(other) { - return other instanceof IntProgression && (!(!this.l() || !other.l()) || this.o_1 === other.o_1 && this.p_1 === other.p_1 && this.q_1 === other.q_1); - }, IntProgression.prototype.hashCode = function() { - return this.l() ? -1 : imul(31, imul(31, this.o_1) + this.p_1 | 0) + this.q_1 | 0; - }, IntProgression.prototype.toString = function() { - return this.q_1 > 0 ? this.o_1 + ".." + this.p_1 + " step " + this.q_1 : this.o_1 + " downTo " + this.p_1 + " step " + (0 | -this.q_1); - }, DelimitedRangesSequence$iterator$1.prototype.f = function() { - if (-1 === this.z4_1 && calcNext_0(this), 0 === this.z4_1) throw NoSuchElementException_init_$Create$(); - var tmp = this.c5_1, result = tmp instanceof IntRange ? tmp : THROW_CCE(); - return this.c5_1 = null, this.z4_1 = -1, result; - }, DelimitedRangesSequence$iterator$1.prototype.e = function() { - return -1 === this.z4_1 && calcNext_0(this), 1 === this.z4_1; - }, DelimitedRangesSequence.prototype.d = function() { - return new DelimitedRangesSequence$iterator$1(this); - }, DeepRecursiveScopeImpl.prototype.m3 = function() { - return EmptyCoroutineContext_getInstance(); - }, DeepRecursiveScopeImpl.prototype.q5 = function(result) { - this.n5_1 = null, this.o5_1 = result; - }, DeepRecursiveScopeImpl.prototype.n3 = function(result) { - return this.q5(result); - }, DeepRecursiveScopeImpl.prototype.j5 = function(value, $cont) { - var tmp0__anonymous__q1qw7t = $cont; - return this.n5_1 = isInterface(tmp0__anonymous__q1qw7t, Continuation) ? tmp0__anonymous__q1qw7t : THROW_CCE(), - this.m5_1 = value, get_COROUTINE_SUSPENDED(); - }, DeepRecursiveScopeImpl.prototype.p5 = function() { - $l$loop: for (;;) { - var result = this.o5_1, tmp0_elvis_lhs = this.n5_1; - if (null == tmp0_elvis_lhs) { - var tmp0_getOrThrow = new Result(result) instanceof Result ? result : THROW_CCE(); - throwOnFailure(tmp0_getOrThrow); - var tmp_0 = _Result___get_value__impl__bjfvqg(tmp0_getOrThrow); - return null == tmp_0 || isObject(tmp_0) ? tmp_0 : THROW_CCE(); - } - var cont = tmp0_elvis_lhs; - if (equals_0(get_UNDEFINED_RESULT(), result)) { - var tmp_1; - try { - var tmp$ret$1, tmp1_startCoroutineUninterceptedOrReturn = this.l5_1, tmp2_startCoroutineUninterceptedOrReturn = this.m5_1; - tmp_1 = "function" == typeof (tmp$ret$1 = tmp1_startCoroutineUninterceptedOrReturn) ? tmp$ret$1(this, tmp2_startCoroutineUninterceptedOrReturn, cont) : tmp1_startCoroutineUninterceptedOrReturn.r5(this, tmp2_startCoroutineUninterceptedOrReturn, cont); - } catch ($p) { - if ($p instanceof Error) { - var tmp$ret$3; - Companion_getInstance_4(), tmp$ret$3 = _Result___init__impl__xyqfz8(createFailure($p)), - cont.n3(tmp$ret$3), Unit_getInstance(); - continue $l$loop; + } + function DelimitedRangesSequence$iterator$1(this$0) { + this.me_1 = this$0, this.he_1 = -1, this.ie_1 = function(_this__u8e3s4, minimumValue, maximumValue) { + if (minimumValue > maximumValue) throw IllegalArgumentException_init_$Create$_0("Cannot coerce value to an empty range: maximum " + maximumValue + " is less than minimum " + minimumValue + "."); + return _this__u8e3s4 < minimumValue ? minimumValue : _this__u8e3s4 > maximumValue ? maximumValue : _this__u8e3s4; + }(this$0.oe_1, 0, charSequenceLength(this$0.ne_1)), this.je_1 = this.ie_1, this.ke_1 = null, + this.le_1 = 0; + } + function DelimitedRangesSequence(input, startIndex, limit, getNextMatch) { + this.ne_1 = input, this.oe_1 = startIndex, this.pe_1 = limit, this.qe_1 = getNextMatch; + } + function lastIndexOf(_this__u8e3s4, string, startIndex, ignoreCase) { + return startIndex = startIndex === VOID ? get_lastIndex_3(_this__u8e3s4) : startIndex, + !!(ignoreCase = ignoreCase !== VOID && ignoreCase) || !("string" == typeof _this__u8e3s4) ? indexOf_3(_this__u8e3s4, string, startIndex, 0, ignoreCase, !0) : _this__u8e3s4.lastIndexOf(string, startIndex); + } + function lastIndexOf_0(_this__u8e3s4, char, startIndex, ignoreCase) { + var tmp; + if (startIndex = startIndex === VOID ? get_lastIndex_3(_this__u8e3s4) : startIndex, + !!(ignoreCase = ignoreCase !== VOID && ignoreCase) || !("string" == typeof _this__u8e3s4)) { + tmp = function(_this__u8e3s4, chars, startIndex, ignoreCase) { + var tmp; + startIndex = startIndex === VOID ? get_lastIndex_3(_this__u8e3s4) : startIndex, + ignoreCase = ignoreCase !== VOID && ignoreCase, tmp = !ignoreCase && 1 === chars.length && "string" == typeof _this__u8e3s4; + if (tmp) { + var str = toString(single(chars)); + return _this__u8e3s4.lastIndexOf(str, startIndex); + } + var inductionVariable = coerceAtMost(startIndex, get_lastIndex_3(_this__u8e3s4)); + if (0 <= inductionVariable) do { + var index = inductionVariable; + inductionVariable = inductionVariable + -1 | 0; + var tmp$ret$4, charAtIndex = charSequenceGet(_this__u8e3s4, index); + $l$block: { + for (var inductionVariable_0 = 0, last = chars.length; inductionVariable_0 < last; ) { + var element = chars[inductionVariable_0]; + if (inductionVariable_0 = inductionVariable_0 + 1 | 0, equals_0(element, charAtIndex, ignoreCase)) { + tmp$ret$4 = !0; + break $l$block; + } + } + tmp$ret$4 = !1; } - throw $p; + if (tmp$ret$4) return index; + } while (0 <= inductionVariable); + return -1; + }(_this__u8e3s4, charArrayOf([ char ]), startIndex, ignoreCase); + } else { + var str = toString(char); + tmp = _this__u8e3s4.lastIndexOf(str, startIndex); + } + return tmp; + } + function get_UNDEFINED_RESULT() { + return _init_properties_DeepRecursive_kt__zbwcac(), UNDEFINED_RESULT; + } + function DeepRecursiveScope() {} + function DeepRecursiveFunction(block) { + this.se_1 = block; + } + function DeepRecursiveScopeImpl(block, value) { + DeepRecursiveScope.call(this); + this.te_1 = function(obj, arity) { + if ("function" == typeof obj) return obj.$arity === arity; + var tmp1_safe_receiver = null == obj ? null : obj.constructor, tmp2_safe_receiver = null == tmp1_safe_receiver ? null : tmp1_safe_receiver.$metadata$, tmp3_elvis_lhs = null == tmp2_safe_receiver ? null : tmp2_safe_receiver.suspendArity; + if (null == tmp3_elvis_lhs) return !1; + var suspendArity = tmp3_elvis_lhs, result = !1, inductionVariable = 0, last = suspendArity.length; + $l$loop: for (;inductionVariable < last; ) { + var item = suspendArity[inductionVariable]; + if (inductionVariable = inductionVariable + 1 | 0, arity === item) { + result = !0; + break $l$loop; } - var r = tmp_1; - if (r !== get_COROUTINE_SUSPENDED()) { - var tmp$ret$5, tmp3_resume = null == r || isObject(r) ? r : THROW_CCE(); - Companion_getInstance_4(), tmp$ret$5 = _Result___init__impl__xyqfz8(tmp3_resume), - cont.n3(tmp$ret$5), Unit_getInstance(); - } - } else this.o5_1 = get_UNDEFINED_RESULT(), cont.n3(result); - } - }, UnsafeLazyImpl.prototype.g1 = function() { - this.t5_1 === UNINITIALIZED_VALUE_getInstance() && (this.t5_1 = ensureNotNull(this.s5_1)(), - this.s5_1 = null); - var tmp = this.t5_1; - return null == tmp || isObject(tmp) ? tmp : THROW_CCE(); - }, UnsafeLazyImpl.prototype.u5 = function() { - return !(this.t5_1 === UNINITIALIZED_VALUE_getInstance()); - }, UnsafeLazyImpl.prototype.toString = function() { - return this.u5() ? toString_1(this.g1()) : "Lazy value not initialized yet."; - }, Failure.prototype.equals = function(other) { - return other instanceof Failure && equals_0(this.v5_1, other.v5_1); - }, Failure.prototype.hashCode = function() { - return hashCode(this.v5_1); - }, Failure.prototype.toString = function() { - return "Failure(" + this.v5_1 + ")"; - }, Result.prototype.toString = function() { - return Result__toString_impl_yu5r8k(this.w5_1); - }, Result.prototype.hashCode = function() { - return Result__hashCode_impl_d2zufp(this.w5_1); - }, Result.prototype.equals = function(other) { - return Result__equals_impl_bxgmep(this.w5_1, other); - }, Pair.prototype.toString = function() { - return "(" + this.r2_1 + ", " + this.s2_1 + ")"; - }, Pair.prototype.i2 = function() { - return this.r2_1; - }, Pair.prototype.j2 = function() { - return this.s2_1; - }, Pair.prototype.hashCode = function() { - var result = null == this.r2_1 ? 0 : hashCode(this.r2_1); - return result = imul(result, 31) + (null == this.s2_1 ? 0 : hashCode(this.s2_1)) | 0; - }, Pair.prototype.equals = function(other) { - if (this === other) return !0; - if (!(other instanceof Pair)) return !1; - var tmp0_other_with_cast = other instanceof Pair ? other : THROW_CCE(); - return !!equals_0(this.r2_1, tmp0_other_with_cast.r2_1) && !!equals_0(this.s2_1, tmp0_other_with_cast.s2_1); - }, Unit.prototype.toString = function() { + } + return result; + }(block, 2) ? block : THROW_CCE(), this.ue_1 = value; + this.ve_1 = isInterface(this, Continuation) ? this : THROW_CCE(), this.we_1 = get_UNDEFINED_RESULT(); + } + function _init_properties_DeepRecursive_kt__zbwcac() { + if (!properties_initialized_DeepRecursive_kt_5z0al2) { + properties_initialized_DeepRecursive_kt_5z0al2 = !0; + var value = get_COROUTINE_SUSPENDED(); + UNDEFINED_RESULT = value; + } + } + function LazyThreadSafetyMode(name, ordinal) { + Enum.call(this, name, ordinal); + } + function UnsafeLazyImpl(initializer) { + this.af_1 = initializer, this.bf_1 = UNINITIALIZED_VALUE_instance; + } + function UNINITIALIZED_VALUE() {} + function _Result___init__impl__xyqfz8(value) { + return value; + } + function _Result___get_value__impl__bjfvqg($this) { + return $this; + } + function Result__exceptionOrNull_impl_p6xea9($this) { + return $this instanceof Failure ? $this.o7_1 : null; + } + function Companion_10() {} + function Failure(exception) { + this.o7_1 = exception; + } + function Result(value) { + this.df_1 = value; + } + function createFailure(exception) { + return new Failure(exception); + } + function throwOnFailure(_this__u8e3s4) { + if (_this__u8e3s4 instanceof Failure) throw _this__u8e3s4.o7_1; + } + function NotImplementedError(message) { + (function(message, $this) { + extendThrowable($this, message), Error_0.call($this); + })(message = message === VOID ? "An operation is not implemented." : message, this), + captureStack(this, NotImplementedError); + } + function Pair(first, second) { + this.pc_1 = first, this.qc_1 = second; + } + function to(_this__u8e3s4, that) { + return new Pair(_this__u8e3s4, that); + } + initMetadataForInterface(CharSequence, "CharSequence"), initMetadataForInterface(Comparable, "Comparable"), + initMetadataForClass(Number_0, "Number"), initMetadataForObject(Unit, "Unit"), initMetadataForClass(_no_name_provided__qut3iv), + initMetadataForClass(_no_name_provided__qut3iv_0), initMetadataForClass(Char, "Char", VOID, VOID, [ Comparable ]), + initMetadataForInterface(Collection, "Collection"), initMetadataForInterface(KtList, "List", VOID, VOID, [ Collection ]), + initMetadataForInterface(KtSet, "Set", VOID, VOID, [ Collection ]), initMetadataForInterface(Entry, "Entry"), + initMetadataForInterface(KtMap, "Map"), initMetadataForInterface(KtMutableMap, "MutableMap", VOID, VOID, [ KtMap ]), + initMetadataForCompanion(Companion), initMetadataForClass(Enum, "Enum", VOID, VOID, [ Comparable ]), + initMetadataForCompanion(Companion_0), initMetadataForClass(Long, "Long", VOID, Number_0, [ Number_0, Comparable ]), + initMetadataForClass(arrayIterator$1), initMetadataForObject(StringCompanionObject, "StringCompanionObject"), + initMetadataForObject(Digit, "Digit"), initMetadataForInterface(Comparator, "Comparator"), + initMetadataForClass(AbstractCollection, "AbstractCollection", VOID, VOID, [ Collection ]), + initMetadataForClass(AbstractMutableCollection, "AbstractMutableCollection", VOID, AbstractCollection, [ AbstractCollection, Collection ]), + initMetadataForClass(IteratorImpl, "IteratorImpl"), initMetadataForClass(ListIteratorImpl, "ListIteratorImpl", VOID, IteratorImpl), + initMetadataForClass(AbstractMutableList, "AbstractMutableList", VOID, AbstractMutableCollection, [ AbstractMutableCollection, Collection, KtList ]), + initMetadataForClass(AbstractMap, "AbstractMap", VOID, VOID, [ KtMap ]), initMetadataForClass(AbstractMutableMap, "AbstractMutableMap", VOID, AbstractMap, [ AbstractMap, KtMutableMap ]), + initMetadataForClass(AbstractMutableSet, "AbstractMutableSet", VOID, AbstractMutableCollection, [ AbstractMutableCollection, KtSet, Collection ]), + initMetadataForCompanion(Companion_1), initMetadataForClass(ArrayList, "ArrayList", ArrayList_init_$Create$, AbstractMutableList, [ AbstractMutableList, Collection, KtList ]), + initMetadataForClass(HashMap, "HashMap", HashMap_init_$Create$, AbstractMutableMap, [ AbstractMutableMap, KtMutableMap ]), + initMetadataForClass(HashMapKeys, "HashMapKeys", VOID, AbstractMutableSet, [ KtSet, Collection, AbstractMutableSet ]), + initMetadataForClass(HashMapValues, "HashMapValues", VOID, AbstractMutableCollection, [ Collection, AbstractMutableCollection ]), + initMetadataForClass(HashMapEntrySetBase, "HashMapEntrySetBase", VOID, AbstractMutableSet, [ KtSet, Collection, AbstractMutableSet ]), + initMetadataForClass(HashMapEntrySet, "HashMapEntrySet", VOID, HashMapEntrySetBase), + initMetadataForClass(HashMapKeysDefault$iterator$1), initMetadataForClass(HashMapKeysDefault, "HashMapKeysDefault", VOID, AbstractMutableSet), + initMetadataForClass(HashMapValuesDefault$iterator$1), initMetadataForClass(HashMapValuesDefault, "HashMapValuesDefault", VOID, AbstractMutableCollection), + initMetadataForClass(HashSet, "HashSet", HashSet_init_$Create$, AbstractMutableSet, [ AbstractMutableSet, KtSet, Collection ]), + initMetadataForCompanion(Companion_2), initMetadataForClass(Itr, "Itr"), initMetadataForClass(KeysItr, "KeysItr", VOID, Itr), + initMetadataForClass(ValuesItr, "ValuesItr", VOID, Itr), initMetadataForClass(EntriesItr, "EntriesItr", VOID, Itr), + initMetadataForClass(EntryRef, "EntryRef", VOID, VOID, [ Entry ]), initMetadataForInterface(InternalMap, "InternalMap"), + initMetadataForClass(InternalHashMap, "InternalHashMap", InternalHashMap_init_$Create$, VOID, [ InternalMap ]), + initMetadataForClass(LinkedHashMap, "LinkedHashMap", LinkedHashMap_init_$Create$, HashMap, [ HashMap, KtMutableMap ]), + initMetadataForClass(LinkedHashSet, "LinkedHashSet", LinkedHashSet_init_$Create$, HashSet, [ HashSet, KtSet, Collection ]), + initMetadataForInterface(Continuation, "Continuation"), initMetadataForClass(InterceptedCoroutine, "InterceptedCoroutine", VOID, VOID, [ Continuation ]), + initMetadataForClass(CoroutineImpl, "CoroutineImpl", VOID, InterceptedCoroutine, [ InterceptedCoroutine, Continuation ]), + initMetadataForObject(CompletedContinuation, "CompletedContinuation", VOID, VOID, [ Continuation ]), + initMetadataForClass(SafeContinuation, "SafeContinuation", VOID, VOID, [ Continuation ]), + initMetadataForClass(Exception, "Exception", (function Exception_init_$Create$() { + var tmp = Exception_init_$Init$(objectCreate(protoOf(Exception))); + return captureStack(tmp, Exception_init_$Create$), tmp; + }), Error), initMetadataForClass(RuntimeException, "RuntimeException", (function RuntimeException_init_$Create$() { + var tmp = RuntimeException_init_$Init$(objectCreate(protoOf(RuntimeException))); + return captureStack(tmp, RuntimeException_init_$Create$), tmp; + }), Exception), initMetadataForClass(IllegalStateException, "IllegalStateException", (function IllegalStateException_init_$Create$() { + var tmp = IllegalStateException_init_$Init$(objectCreate(protoOf(IllegalStateException))); + return captureStack(tmp, IllegalStateException_init_$Create$), tmp; + }), RuntimeException), initMetadataForClass(CancellationException, "CancellationException", (function CancellationException_init_$Create$() { + var tmp = ($this = objectCreate(protoOf(CancellationException)), IllegalStateException_init_$Init$($this), + CancellationException.call($this), $this); + var $this; + return captureStack(tmp, CancellationException_init_$Create$), tmp; + }), IllegalStateException), initMetadataForClass(_no_name_provided__qut3iv_1, VOID, VOID, CoroutineImpl), + initMetadataForClass(_no_name_provided__qut3iv_2, VOID, VOID, VOID, [ Continuation ]), + initMetadataForClass(IllegalArgumentException, "IllegalArgumentException", (function IllegalArgumentException_init_$Create$() { + var tmp = IllegalArgumentException_init_$Init$(objectCreate(protoOf(IllegalArgumentException))); + return captureStack(tmp, IllegalArgumentException_init_$Create$), tmp; + }), RuntimeException), initMetadataForClass(IndexOutOfBoundsException, "IndexOutOfBoundsException", (function IndexOutOfBoundsException_init_$Create$() { + var tmp = ($this = objectCreate(protoOf(IndexOutOfBoundsException)), RuntimeException_init_$Init$($this), + IndexOutOfBoundsException.call($this), $this); + var $this; + return captureStack(tmp, IndexOutOfBoundsException_init_$Create$), tmp; + }), RuntimeException), initMetadataForClass(UnsupportedOperationException, "UnsupportedOperationException", UnsupportedOperationException_init_$Create$, RuntimeException), + initMetadataForClass(NoSuchElementException, "NoSuchElementException", NoSuchElementException_init_$Create$, RuntimeException), + initMetadataForClass(Error_0, "Error", (function Error_init_$Create$() { + var tmp = ($this = objectCreate(protoOf(Error_0)), extendThrowable($this), Error_0.call($this), + $this); + var $this; + return captureStack(tmp, Error_init_$Create$), tmp; + }), Error), initMetadataForClass(ConcurrentModificationException, "ConcurrentModificationException", ConcurrentModificationException_init_$Create$, RuntimeException), + initMetadataForClass(NumberFormatException, "NumberFormatException", (function NumberFormatException_init_$Create$() { + var tmp = ($this = objectCreate(protoOf(NumberFormatException)), IllegalArgumentException_init_$Init$($this), + NumberFormatException.call($this), $this); + var $this; + return captureStack(tmp, NumberFormatException_init_$Create$), tmp; + }), IllegalArgumentException), initMetadataForClass(ArithmeticException, "ArithmeticException", (function ArithmeticException_init_$Create$() { + var tmp = ($this = objectCreate(protoOf(ArithmeticException)), RuntimeException_init_$Init$($this), + ArithmeticException.call($this), $this); + var $this; + return captureStack(tmp, ArithmeticException_init_$Create$), tmp; + }), RuntimeException), initMetadataForClass(NullPointerException, "NullPointerException", NullPointerException_init_$Create$, RuntimeException), + initMetadataForClass(NoWhenBranchMatchedException, "NoWhenBranchMatchedException", NoWhenBranchMatchedException_init_$Create$, RuntimeException), + initMetadataForClass(ClassCastException, "ClassCastException", ClassCastException_init_$Create$, RuntimeException), + initMetadataForClass(UninitializedPropertyAccessException, "UninitializedPropertyAccessException", (function UninitializedPropertyAccessException_init_$Create$() { + var tmp = ($this = objectCreate(protoOf(UninitializedPropertyAccessException)), + RuntimeException_init_$Init$($this), UninitializedPropertyAccessException.call($this), + $this); + var $this; + return captureStack(tmp, UninitializedPropertyAccessException_init_$Create$), tmp; + }), RuntimeException), initMetadataForInterface(KClass, "KClass"), initMetadataForClass(KClassImpl, "KClassImpl", VOID, VOID, [ KClass ]), + initMetadataForObject(NothingKClassImpl, "NothingKClassImpl", VOID, KClassImpl), + initMetadataForClass(ErrorKClass, "ErrorKClass", ErrorKClass, VOID, [ KClass ]), + initMetadataForClass(PrimitiveKClassImpl, "PrimitiveKClassImpl", VOID, KClassImpl), + initMetadataForClass(SimpleKClassImpl, "SimpleKClassImpl", VOID, KClassImpl), initMetadataForInterface(KProperty1, "KProperty1"), + initMetadataForObject(PrimitiveClasses, "PrimitiveClasses"), initMetadataForClass(StringBuilder, "StringBuilder", StringBuilder_init_$Create$_0, VOID, [ CharSequence ]), + initMetadataForCompanion(Companion_3), initMetadataForClass(Regex, "Regex"), initMetadataForClass(MatchGroup, "MatchGroup"), + initMetadataForClass(findNext$1$groups$1, VOID, VOID, AbstractCollection, [ Collection, AbstractCollection ]), + initMetadataForClass(AbstractList, "AbstractList", VOID, AbstractCollection, [ AbstractCollection, KtList ]), + initMetadataForClass(findNext$1$groupValues$1, VOID, VOID, AbstractList), initMetadataForClass(findNext$1), + initMetadataForClass(ExceptionTraceBuilder, "ExceptionTraceBuilder", ExceptionTraceBuilder), + initMetadataForClass(IteratorImpl_0, "IteratorImpl"), initMetadataForCompanion(Companion_4), + initMetadataForClass(AbstractMap$keys$1$iterator$1), initMetadataForClass(AbstractMap$values$1$iterator$1), + initMetadataForCompanion(Companion_5), initMetadataForClass(AbstractSet, "AbstractSet", VOID, AbstractCollection, [ AbstractCollection, KtSet ]), + initMetadataForClass(AbstractMap$keys$1, VOID, VOID, AbstractSet), initMetadataForClass(AbstractMap$values$1, VOID, VOID, AbstractCollection), + initMetadataForCompanion(Companion_6), initMetadataForCompanion(Companion_7), initMetadataForClass(ArrayDeque, "ArrayDeque", ArrayDeque_init_$Create$, AbstractMutableList), + initMetadataForObject(EmptyList, "EmptyList", VOID, VOID, [ KtList ]), initMetadataForClass(ArrayAsCollection, "ArrayAsCollection", VOID, VOID, [ Collection ]), + initMetadataForObject(EmptyIterator, "EmptyIterator"), initMetadataForClass(IndexedValue, "IndexedValue"), + initMetadataForClass(IndexingIterable, "IndexingIterable"), initMetadataForClass(IndexingIterator, "IndexingIterator"), + initMetadataForInterface(MapWithDefault, "MapWithDefault", VOID, VOID, [ KtMap ]), + initMetadataForObject(EmptyMap, "EmptyMap", VOID, VOID, [ KtMap ]), initMetadataForClass(IntIterator, "IntIterator"), + initMetadataForClass(SequenceScope, "SequenceScope", VOID, VOID, VOID, [ 1 ]), initMetadataForClass(SequenceBuilderIterator, "SequenceBuilderIterator", SequenceBuilderIterator, SequenceScope, [ SequenceScope, Continuation ], [ 1 ]), + initMetadataForClass(GeneratorSequence$iterator$1), initMetadataForClass(GeneratorSequence, "GeneratorSequence"), + initMetadataForInterface(DropTakeSequence, "DropTakeSequence"), initMetadataForClass(TakeSequence$iterator$1), + initMetadataForClass(TakeSequence, "TakeSequence", VOID, VOID, [ DropTakeSequence ]), + initMetadataForClass(TransformingSequence$iterator$1), initMetadataForClass(TransformingSequence, "TransformingSequence"), + initMetadataForObject(EmptySequence, "EmptySequence", VOID, VOID, [ DropTakeSequence ]), + initMetadataForObject(EmptySet, "EmptySet", VOID, VOID, [ KtSet ]), initMetadataForObject(NaturalOrderComparator, "NaturalOrderComparator", VOID, VOID, [ Comparator ]), + initMetadataForObject(Key, "Key"), initMetadataForInterface(CoroutineContext, "CoroutineContext"), + initMetadataForInterface(Element, "Element", VOID, VOID, [ CoroutineContext ]), + initMetadataForInterface(ContinuationInterceptor, "ContinuationInterceptor", VOID, VOID, [ Element ]), + initMetadataForObject(EmptyCoroutineContext, "EmptyCoroutineContext", VOID, VOID, [ CoroutineContext ]), + initMetadataForClass(CombinedContext, "CombinedContext", VOID, VOID, [ CoroutineContext ]), + initMetadataForClass(AbstractCoroutineContextKey, "AbstractCoroutineContextKey"), + initMetadataForClass(AbstractCoroutineContextElement, "AbstractCoroutineContextElement", VOID, VOID, [ Element ]), + initMetadataForClass(CoroutineSingletons, "CoroutineSingletons", VOID, Enum), initMetadataForClass(EnumEntriesList, "EnumEntriesList", VOID, AbstractList, [ KtList, AbstractList ]), + initMetadataForCompanion(Companion_8), initMetadataForClass(IntProgression, "IntProgression"), + initMetadataForInterface(ClosedRange, "ClosedRange"), initMetadataForClass(IntRange, "IntRange", VOID, IntProgression, [ IntProgression, ClosedRange ]), + initMetadataForClass(IntProgressionIterator, "IntProgressionIterator", VOID, IntIterator), + initMetadataForCompanion(Companion_9), initMetadataForClass(DelimitedRangesSequence$iterator$1), + initMetadataForClass(DelimitedRangesSequence, "DelimitedRangesSequence"), initMetadataForClass(DeepRecursiveScope, "DeepRecursiveScope", VOID, VOID, VOID, [ 1 ]), + initMetadataForClass(DeepRecursiveFunction, "DeepRecursiveFunction"), initMetadataForClass(DeepRecursiveScopeImpl, "DeepRecursiveScopeImpl", VOID, DeepRecursiveScope, [ DeepRecursiveScope, Continuation ], [ 1 ]), + initMetadataForClass(LazyThreadSafetyMode, "LazyThreadSafetyMode", VOID, Enum), + initMetadataForClass(UnsafeLazyImpl, "UnsafeLazyImpl"), initMetadataForObject(UNINITIALIZED_VALUE, "UNINITIALIZED_VALUE"), + initMetadataForCompanion(Companion_10), initMetadataForClass(Failure, "Failure"), + initMetadataForClass(Result, "Result"), initMetadataForClass(NotImplementedError, "NotImplementedError", NotImplementedError, Error_0), + initMetadataForClass(Pair, "Pair"), protoOf(Unit).toString = function() { return "kotlin.Unit"; - }, IntCompanionObject.prototype.d6 = function() { - return this.MIN_VALUE; - }, IntCompanionObject.prototype.e6 = function() { - return this.MAX_VALUE; - }, IntCompanionObject.prototype.f6 = function() { - return this.SIZE_BYTES; - }, IntCompanionObject.prototype.g6 = function() { - return this.SIZE_BITS; - }, AbstractMutableCollection.prototype.k = function(elements) { - this.h6(); - for (var modified = !1, tmp0_iterator = elements.d(); tmp0_iterator.e(); ) { - var element = tmp0_iterator.f(); - this.a(element) && (modified = !0); + }, protoOf(_no_name_provided__qut3iv).h = function() { + return arrayIterator(this.g_1); + }, protoOf(_no_name_provided__qut3iv_0).h = function() { + return this.r_1.h(); + }, protoOf(Enum).s1 = function() { + return this.q1_1; + }, protoOf(Enum).t1 = function() { + return this.r1_1; + }, protoOf(Enum).u1 = function(other) { + return compareTo(this.r1_1, other.r1_1); + }, protoOf(Enum).d = function(other) { + return this.u1(other instanceof Enum ? other : THROW_CCE()); + }, protoOf(Enum).equals = function(other) { + return this === other; + }, protoOf(Enum).hashCode = function() { + return getObjectHashCode(this); + }, protoOf(Enum).toString = function() { + return this.q1_1; + }, protoOf(Long).b1 = function(other) { + return compare(this, other); + }, protoOf(Long).d = function(other) { + return this.b1(other instanceof Long ? other : THROW_CCE()); + }, protoOf(Long).z1 = function(other) { + return add(this, other); + }, protoOf(Long).a2 = function(other) { + return subtract(this, other); + }, protoOf(Long).b2 = function(other) { + return multiply(this, other); + }, protoOf(Long).c2 = function(other) { + return function(_this__u8e3s4, other) { + if (_init_properties_longJs_kt__elc2w5(), isZero(other)) throw Exception_init_$Create$_0("division by zero"); + if (isZero(_this__u8e3s4)) return get_ZERO(); + if (equalsLong(_this__u8e3s4, get_MIN_VALUE())) { + if (equalsLong(other, get_ONE()) || equalsLong(other, get_NEG_ONE())) return get_MIN_VALUE(); + if (equalsLong(other, get_MIN_VALUE())) return get_ONE(); + var halfThis = function(_this__u8e3s4, numBits) { + _init_properties_longJs_kt__elc2w5(); + var numBits_0 = 63 & numBits; + return 0 === numBits_0 ? _this__u8e3s4 : numBits_0 < 32 ? new Long(_this__u8e3s4.y_1 >>> numBits_0 | _this__u8e3s4.z_1 << 32 - numBits_0, _this__u8e3s4.z_1 >> numBits_0) : new Long(_this__u8e3s4.z_1 >> numBits_0 - 32, _this__u8e3s4.z_1 >= 0 ? 0 : -1); + }(_this__u8e3s4, 1), approx = shiftLeft(halfThis.c2(other), 1); + return equalsLong(approx, get_ZERO()) ? isNegative(other) ? get_ONE() : get_NEG_ONE() : add(approx, subtract(_this__u8e3s4, multiply(other, approx)).c2(other)); + } + if (equalsLong(other, get_MIN_VALUE())) return get_ZERO(); + if (isNegative(_this__u8e3s4)) return isNegative(other) ? negate(_this__u8e3s4).c2(negate(other)) : negate(negate(_this__u8e3s4).c2(other)); + if (isNegative(other)) return negate(_this__u8e3s4.c2(negate(other))); + var res = get_ZERO(), rem_0 = _this__u8e3s4; + for (;greaterThanOrEqual(rem_0, other); ) { + for (var approxDouble = toNumber(rem_0) / toNumber(other), approx2 = Math.max(1, Math.floor(approxDouble)), log2 = Math.ceil(Math.log(approx2) / Math.LN2), delta = log2 <= 48 ? 1 : Math.pow(2, log2 - 48), approxRes = fromNumber(approx2), approxRem = multiply(approxRes, other); isNegative(approxRem) || greaterThan(approxRem, rem_0); ) approxRem = multiply(approxRes = fromNumber(approx2 -= delta), other); + isZero(approxRes) && (approxRes = get_ONE()), res = add(res, approxRes), rem_0 = subtract(rem_0, approxRem); + } + return res; + }(this, other); + }, protoOf(Long).d2 = function() { + return this.e2().z1(new Long(1, 0)); + }, protoOf(Long).f2 = function(bitCount) { + return shiftLeft(this, bitCount); + }, protoOf(Long).g2 = function(other) { + return new Long(this.y_1 | other.y_1, this.z_1 | other.z_1); + }, protoOf(Long).e2 = function() { + return new Long(~this.y_1, ~this.z_1); + }, protoOf(Long).a1 = function() { + return this.y_1; + }, protoOf(Long).h2 = function() { + return toNumber(this); + }, protoOf(Long).toString = function() { + return toStringImpl(this, 10); + }, protoOf(Long).equals = function(other) { + return other instanceof Long && equalsLong(this, other); + }, protoOf(Long).hashCode = function() { + return l = this, _init_properties_longJs_kt__elc2w5(), l.y_1 ^ l.z_1; + var l; + }, protoOf(Long).valueOf = function() { + return this.h2(); + }, protoOf(arrayIterator$1).i = function() { + return !(this.i2_1 === this.j2_1.length); + }, protoOf(arrayIterator$1).j = function() { + if (this.i2_1 === this.j2_1.length) throw NoSuchElementException_init_$Create$_0("" + this.i2_1); + var tmp1 = this.i2_1; + return this.i2_1 = tmp1 + 1 | 0, this.j2_1[tmp1]; + }, protoOf(AbstractMutableCollection).o = function(elements) { + this.n2(); + for (var modified = !1, tmp0_iterator = elements.h(); tmp0_iterator.i(); ) { + var element = tmp0_iterator.j(); + this.e(element) && (modified = !0); } return modified; - }, AbstractMutableCollection.prototype.i6 = function() { - this.h6(); - for (var iterator = this.d(); iterator.e(); ) iterator.f(), iterator.j6(); - }, AbstractMutableCollection.prototype.toJSON = function() { + }, protoOf(AbstractMutableCollection).p1 = function() { + this.n2(); + for (var iterator = this.h(); iterator.i(); ) iterator.j(), iterator.o2(); + }, protoOf(AbstractMutableCollection).toJSON = function() { return this.toArray(); - }, AbstractMutableCollection.prototype.h6 = function() {}, IteratorImpl_0.prototype.e = function() { - return this.k6_1 < this.m6_1.c(); - }, IteratorImpl_0.prototype.f = function() { - if (!this.e()) throw NoSuchElementException_init_$Create$(); - var tmp = this, tmp0_this = this, tmp1 = tmp0_this.k6_1; - return tmp0_this.k6_1 = tmp1 + 1 | 0, tmp.l6_1 = tmp1, this.m6_1.g(this.l6_1); - }, IteratorImpl_0.prototype.j6 = function() { - if (-1 === this.l6_1) throw IllegalStateException_init_$Create$(toString_2("Call next() or previous() before removing element from the iterator.")); - this.m6_1.u2(this.l6_1), this.k6_1 = this.l6_1, this.l6_1 = -1; - }, AbstractMutableList.prototype.a = function(element) { - return this.h6(), this.s6(this.c(), element), !0; - }, AbstractMutableList.prototype.i6 = function() { - this.h6(), this.t6(0, this.c()); - }, AbstractMutableList.prototype.d = function() { - return new IteratorImpl_0(this); - }, AbstractMutableList.prototype.t = function(element) { - return this.u6(element) >= 0; - }, AbstractMutableList.prototype.u6 = function(element) { - var inductionVariable = 0, last = get_lastIndex_2(this); - if (inductionVariable <= last) do { - var index = inductionVariable; - if (inductionVariable = inductionVariable + 1 | 0, equals_0(this.g(index), element)) return index; - } while (index !== last); - return -1; - }, AbstractMutableList.prototype.v6 = function(index) { - return new ListIteratorImpl(this, index); - }, AbstractMutableList.prototype.t6 = function(fromIndex, toIndex) { - var iterator = this.v6(fromIndex), tmp0_repeat = toIndex - fromIndex | 0, inductionVariable = 0; - if (inductionVariable < tmp0_repeat) do { - inductionVariable = inductionVariable + 1 | 0, iterator.f(), iterator.j6(); - } while (inductionVariable < tmp0_repeat); - }, AbstractMutableList.prototype.equals = function(other) { - return other === this || !(null == other || !isInterface(other, List)) && Companion_getInstance().c1(this, other); - }, AbstractMutableList.prototype.hashCode = function() { - return Companion_getInstance().b1(this); - }, AbstractMutableMap$keys$1$iterator$1.prototype.e = function() { - return this.w6_1.e(); - }, AbstractMutableMap$keys$1$iterator$1.prototype.f = function() { - return this.w6_1.f().e1(); - }, AbstractMutableMap$keys$1$iterator$1.prototype.j6 = function() { - return this.w6_1.j6(); - }, AbstractMutableMap$values$1$iterator$1.prototype.e = function() { - return this.x6_1.e(); - }, AbstractMutableMap$values$1$iterator$1.prototype.f = function() { - return this.x6_1.f().g1(); - }, AbstractMutableMap$values$1$iterator$1.prototype.j6 = function() { - return this.x6_1.j6(); - }, SimpleEntry.prototype.e1 = function() { - return this.y6_1; - }, SimpleEntry.prototype.g1 = function() { - return this.z6_1; - }, SimpleEntry.prototype.a7 = function(newValue) { - var oldValue = this.z6_1; - return this.z6_1 = newValue, oldValue; - }, SimpleEntry.prototype.hashCode = function() { - return Companion_getInstance_0().i1(this); - }, SimpleEntry.prototype.toString = function() { - return Companion_getInstance_0().j1(this); - }, SimpleEntry.prototype.equals = function(other) { - return Companion_getInstance_0().k1(this, other); - }, AbstractEntrySet.prototype.t = function(element) { - return this.b7(element); - }, AbstractMutableMap$keys$1.prototype.d7 = function(element) { - throw UnsupportedOperationException_init_$Create$_0("Add is not supported on keys"); - }, AbstractMutableMap$keys$1.prototype.a = function(element) { - return this.d7(null == element || isObject(element) ? element : THROW_CCE()); - }, AbstractMutableMap$keys$1.prototype.i6 = function() { - this.c7_1.i6(); - }, AbstractMutableMap$keys$1.prototype.m1 = function(element) { - return this.c7_1.p1(element); - }, AbstractMutableMap$keys$1.prototype.t = function(element) { - return !(null != element && !isObject(element)) && this.m1(null == element || isObject(element) ? element : THROW_CCE()); - }, AbstractMutableMap$keys$1.prototype.d = function() { - return new AbstractMutableMap$keys$1$iterator$1(this.c7_1.h1().d()); - }, AbstractMutableMap$keys$1.prototype.c = function() { - return this.c7_1.c(); - }, AbstractMutableMap$keys$1.prototype.h6 = function() { - return this.c7_1.h6(); - }, AbstractMutableMap$values$1.prototype.j7 = function(element) { - throw UnsupportedOperationException_init_$Create$_0("Add is not supported on values"); - }, AbstractMutableMap$values$1.prototype.a = function(element) { - return this.j7(null == element || isObject(element) ? element : THROW_CCE()); - }, AbstractMutableMap$values$1.prototype.s1 = function(element) { - return this.i7_1.t1(element); - }, AbstractMutableMap$values$1.prototype.t = function(element) { - return !(null != element && !isObject(element)) && this.s1(null == element || isObject(element) ? element : THROW_CCE()); - }, AbstractMutableMap$values$1.prototype.d = function() { - return new AbstractMutableMap$values$1$iterator$1(this.i7_1.h1().d()); - }, AbstractMutableMap$values$1.prototype.c = function() { - return this.i7_1.c(); - }, AbstractMutableMap$values$1.prototype.h6 = function() { - return this.i7_1.h6(); - }, AbstractMutableMap.prototype.i6 = function() { - this.h1().i6(); - }, AbstractMutableMap.prototype.w1 = function() { - return null == this.g7_1 && (this.g7_1 = new AbstractMutableMap$keys$1(this)), ensureNotNull(this.g7_1); - }, AbstractMutableMap.prototype.k7 = function(from) { - this.h6(); - for (var tmp0_iterator = from.h1().d(); tmp0_iterator.e(); ) { - var tmp1_loop_parameter = tmp0_iterator.f(), key = tmp1_loop_parameter.e1(), value = tmp1_loop_parameter.g1(); - this.t2(key, value); - } - }, AbstractMutableMap.prototype.x1 = function() { - return null == this.h7_1 && (this.h7_1 = new AbstractMutableMap$values$1(this)), - ensureNotNull(this.h7_1); - }, AbstractMutableMap.prototype.h6 = function() {}, AbstractMutableSet.prototype.equals = function(other) { - return other === this || !(null == other || !isInterface(other, Set)) && Companion_getInstance_1().z1(this, other); - }, AbstractMutableSet.prototype.hashCode = function() { - return Companion_getInstance_1().y1(this); - }, ArrayList.prototype.l7 = function(minCapacity) {}, ArrayList.prototype.c = function() { - return this.i_1.length; - }, ArrayList.prototype.g = function(index) { - var tmp = this.i_1[rangeCheck(this, index)]; - return null == tmp || isObject(tmp) ? tmp : THROW_CCE(); - }, ArrayList.prototype.a = function(element) { - this.h6(), this.i_1.push(element); - var tmp0_this = this, tmp1 = tmp0_this.n6_1; - return tmp0_this.n6_1 = tmp1 + 1 | 0, !0; - }, ArrayList.prototype.s6 = function(index, element) { - this.h6(), this.i_1.splice(insertionRangeCheck(this, index), 0, element); - var tmp0_this = this, tmp1 = tmp0_this.n6_1; - tmp0_this.n6_1 = tmp1 + 1 | 0; - }, ArrayList.prototype.k = function(elements) { - if (this.h6(), elements.l()) return !1; - var tmp$ret$2, tmp0_this = this, tmp = tmp0_this, tmp0_plus = tmp0_this.i_1, tmp1_plus = copyToArray(elements); - tmp$ret$2 = tmp0_plus.concat(tmp1_plus), tmp.i_1 = tmp$ret$2; - var tmp1_this = this, tmp2 = tmp1_this.n6_1; - return tmp1_this.n6_1 = tmp2 + 1 | 0, !0; - }, ArrayList.prototype.u2 = function(index) { - this.h6(), rangeCheck(this, index); - var tmp0_this = this, tmp1 = tmp0_this.n6_1; - return tmp0_this.n6_1 = tmp1 + 1 | 0, index === get_lastIndex_2(this) ? this.i_1.pop() : this.i_1.splice(index, 1)[0]; - }, ArrayList.prototype.t6 = function(fromIndex, toIndex) { - this.h6(); - var tmp0_this = this, tmp1 = tmp0_this.n6_1; - tmp0_this.n6_1 = tmp1 + 1 | 0, this.i_1.splice(fromIndex, toIndex - fromIndex | 0); - }, ArrayList.prototype.i6 = function() { - var tmp$ret$0; - this.h6(), tmp$ret$0 = [], this.i_1 = tmp$ret$0; - var tmp0_this = this, tmp1 = tmp0_this.n6_1; - tmp0_this.n6_1 = tmp1 + 1 | 0; - }, ArrayList.prototype.u6 = function(element) { - return indexOf(this.i_1, element); - }, ArrayList.prototype.toString = function() { - return arrayToString(this.i_1); - }, ArrayList.prototype.m7 = function() { - return [].slice.call(this.i_1); - }, ArrayList.prototype.toArray = function() { - return this.m7(); - }, ArrayList.prototype.h6 = function() { - if (this.j_1) throw UnsupportedOperationException_init_$Create$(); - }, HashCode.prototype.n7 = function(value1, value2) { - return equals_0(value1, value2); - }, HashCode.prototype.o7 = function(value) { - var tmp1_elvis_lhs = null == value ? null : hashCode(value); - return null == tmp1_elvis_lhs ? 0 : tmp1_elvis_lhs; - }, EntrySet.prototype.q7 = function(element) { - throw UnsupportedOperationException_init_$Create$_0("Add is not supported on entries"); - }, EntrySet.prototype.a = function(element) { - return this.q7(null != element && isInterface(element, MutableEntry) ? element : THROW_CCE()); - }, EntrySet.prototype.i6 = function() { - this.p7_1.i6(); - }, EntrySet.prototype.b7 = function(element) { - return this.p7_1.u1(element); - }, EntrySet.prototype.d = function() { - return this.p7_1.v7_1.d(); - }, EntrySet.prototype.c = function() { - return this.p7_1.c(); - }, HashMap.prototype.i6 = function() { - this.v7_1.i6(); - }, HashMap.prototype.p1 = function(key) { - return this.v7_1.m1(key); - }, HashMap.prototype.t1 = function(value) { - var tmp$ret$0; - $l$block_0: { - var tmp0_any = this.v7_1; - if (isInterface(tmp0_any, Collection) && tmp0_any.l()) tmp$ret$0 = !1; else { - for (var tmp0_iterator = tmp0_any.d(); tmp0_iterator.e(); ) { - var element = tmp0_iterator.f(); - if (this.w7_1.n7(element.g1(), value)) { - tmp$ret$0 = !0; - break $l$block_0; - } + }, protoOf(AbstractMutableCollection).n2 = function() {}, protoOf(IteratorImpl).i = function() { + return this.p2_1 < this.r2_1.k(); + }, protoOf(IteratorImpl).j = function() { + if (!this.i()) throw NoSuchElementException_init_$Create$(); + var tmp1 = this.p2_1; + return this.p2_1 = tmp1 + 1 | 0, this.q2_1 = tmp1, this.r2_1.p(this.q2_1); + }, protoOf(IteratorImpl).o2 = function() { + if (-1 === this.q2_1) { + throw IllegalStateException_init_$Create$_0(toString_1("Call next() or previous() before removing element from the iterator.")); + } + this.r2_1.t2(this.q2_1), this.p2_1 = this.q2_1, this.q2_1 = -1; + }, protoOf(AbstractMutableList).e = function(element) { + return this.n2(), this.z2(this.k(), element), !0; + }, protoOf(AbstractMutableList).p1 = function() { + this.n2(), this.a3(0, this.k()); + }, protoOf(AbstractMutableList).h = function() { + return new IteratorImpl(this); + }, protoOf(AbstractMutableList).d1 = function(element) { + return this.b3(element) >= 0; + }, protoOf(AbstractMutableList).b3 = function(element) { + var tmp$ret$1; + $l$block: { + for (var index = 0, tmp0_iterator = this.h(); tmp0_iterator.i(); ) { + if (equals(tmp0_iterator.j(), element)) { + tmp$ret$1 = index; + break $l$block; } - tmp$ret$0 = !1; - } - } - return tmp$ret$0; - }, HashMap.prototype.h1 = function() { - return null == this.x7_1 && (this.x7_1 = this.z7()), ensureNotNull(this.x7_1); - }, HashMap.prototype.z7 = function() { - return new EntrySet(this); - }, HashMap.prototype.v1 = function(key) { - return this.v7_1.v1(key); - }, HashMap.prototype.t2 = function(key, value) { - return this.v7_1.t2(key, value); - }, HashMap.prototype.a8 = function(key) { - return this.v7_1.a8(key); - }, HashMap.prototype.c = function() { - return this.v7_1.c(); - }, HashSet.prototype.a = function(element) { - return null == this.b8_1.t2(element, this); - }, HashSet.prototype.i6 = function() { - this.b8_1.i6(); - }, HashSet.prototype.t = function(element) { - return this.b8_1.p1(element); - }, HashSet.prototype.l = function() { - return this.b8_1.l(); - }, HashSet.prototype.d = function() { - return this.b8_1.w1().d(); - }, HashSet.prototype.c = function() { - return this.b8_1.c(); - }, InternalHashCodeMap$iterator$1.prototype.e = function() { - return -1 === this.c8_1 && (this.c8_1 = computeNext(this)), 0 === this.c8_1; - }, InternalHashCodeMap$iterator$1.prototype.f = function() { - if (!this.e()) throw NoSuchElementException_init_$Create$(); - var lastEntry = this.g8_1 ? this.f8_1[this.h8_1] : this.f8_1; - return this.i8_1 = lastEntry, this.c8_1 = -1, lastEntry; - }, InternalHashCodeMap$iterator$1.prototype.j6 = function() { - var tmp0_checkNotNull = this.i8_1; - if (null == tmp0_checkNotNull) throw IllegalStateException_init_$Create$(toString_2("Required value was null.")); - this.j8_1.a8(ensureNotNull(this.i8_1).e1()), this.i8_1 = null; - var tmp0_this = this, tmp1 = tmp0_this.h8_1; - tmp0_this.h8_1 = tmp1 - 1 | 0; - }, InternalHashCodeMap.prototype.y7 = function() { - return this.k8_1; - }, InternalHashCodeMap.prototype.c = function() { - return this.m8_1; - }, InternalHashCodeMap.prototype.t2 = function(key, value) { - var hashCode = this.k8_1.o7(key), chainOrEntry = getChainOrEntryOrNull(this, hashCode); - if (null == chainOrEntry) this.l8_1[hashCode] = new SimpleEntry(key, value); else { - if (null == chainOrEntry || !isArray(chainOrEntry)) { - var tmp$ret$2, entry = chainOrEntry; - if (this.k8_1.n7(entry.e1(), key)) return entry.a7(value); - tmp$ret$2 = [ entry, new SimpleEntry(key, value) ], this.l8_1[hashCode] = tmp$ret$2; - var tmp0_this = this, tmp1 = tmp0_this.m8_1; - return tmp0_this.m8_1 = tmp1 + 1 | 0, null; - } - var chain = chainOrEntry, entry_0 = findEntryInChain(chain, this, key); - if (null != entry_0) return entry_0.a7(value); - chain.push(new SimpleEntry(key, value)); - } - var tmp2_this = this, tmp3 = tmp2_this.m8_1; - return tmp2_this.m8_1 = tmp3 + 1 | 0, null; - }, InternalHashCodeMap.prototype.a8 = function(key) { - var hashCode = this.k8_1.o7(key), tmp0_elvis_lhs = getChainOrEntryOrNull(this, hashCode); - if (null == tmp0_elvis_lhs) return null; - var chainOrEntry = tmp0_elvis_lhs; - if (null == chainOrEntry || !isArray(chainOrEntry)) { - var entry = chainOrEntry; - if (this.k8_1.n7(entry.e1(), key)) { - jsDeleteProperty(this.l8_1, hashCode); - var tmp1_this = this, tmp2 = tmp1_this.m8_1; - return tmp1_this.m8_1 = tmp2 - 1 | 0, entry.g1(); + index = index + 1 | 0; } - return null; + tmp$ret$1 = -1; } - var chain = chainOrEntry, inductionVariable = 0, last = chain.length - 1 | 0; + return tmp$ret$1; + }, protoOf(AbstractMutableList).c3 = function(index) { + return new ListIteratorImpl(this, index); + }, protoOf(AbstractMutableList).a3 = function(fromIndex, toIndex) { + var iterator = this.c3(fromIndex), times = toIndex - fromIndex | 0, inductionVariable = 0; + if (inductionVariable < times) do { + inductionVariable = inductionVariable + 1 | 0, iterator.j(), iterator.o2(); + } while (inductionVariable < times); + }, protoOf(AbstractMutableList).equals = function(other) { + return other === this || !(null == other || !isInterface(other, KtList)) && Companion_instance_4.d3(this, other); + }, protoOf(AbstractMutableList).hashCode = function() { + return Companion_instance_4.e3(this); + }, protoOf(AbstractMutableMap).j3 = function() { + return new HashMapKeysDefault(this); + }, protoOf(AbstractMutableMap).k3 = function() { + return new HashMapValuesDefault(this); + }, protoOf(AbstractMutableMap).k1 = function() { + var tmp, tmp0_elvis_lhs = this.h3_1; + if (null == tmp0_elvis_lhs) { + var this_0 = this.j3(); + this.h3_1 = this_0, tmp = this_0; + } else tmp = tmp0_elvis_lhs; + return tmp; + }, protoOf(AbstractMutableMap).l1 = function() { + var tmp, tmp0_elvis_lhs = this.i3_1; + if (null == tmp0_elvis_lhs) { + var this_0 = this.k3(); + this.i3_1 = this_0, tmp = this_0; + } else tmp = tmp0_elvis_lhs; + return tmp; + }, protoOf(AbstractMutableMap).p1 = function() { + this.m1().p1(); + }, protoOf(AbstractMutableMap).o1 = function(from) { + this.n2(); + for (var tmp0_iterator = from.m1().h(); tmp0_iterator.i(); ) { + var tmp1_loop_parameter = tmp0_iterator.j(), key = tmp1_loop_parameter.f1(), value = tmp1_loop_parameter.g1(); + this.n1(key, value); + } + }, protoOf(AbstractMutableMap).n2 = function() {}, protoOf(AbstractMutableSet).equals = function(other) { + return other === this || !(null == other || !isInterface(other, KtSet)) && Companion_instance_6.o3(this, other); + }, protoOf(AbstractMutableSet).hashCode = function() { + return Companion_instance_6.p3(this); + }, protoOf(ArrayList).s3 = function(minCapacity) {}, protoOf(ArrayList).k = function() { + return this.m_1.length; + }, protoOf(ArrayList).p = function(index) { + var tmp = this.m_1[rangeCheck(this, index)]; + return null == tmp || null != tmp ? tmp : THROW_CCE(); + }, protoOf(ArrayList).e = function(element) { + return this.n2(), this.m_1.push(element), this.s2_1 = this.s2_1 + 1 | 0, !0; + }, protoOf(ArrayList).z2 = function(index, element) { + this.n2(), this.m_1.splice(function($this, index) { + return Companion_instance_4.y2(index, $this.k()), index; + }(this, index), 0, element), this.s2_1 = this.s2_1 + 1 | 0; + }, protoOf(ArrayList).o = function(elements) { + if (this.n2(), elements.q()) return !1; + for (var $this, amount, previous, offset = ($this = this, amount = elements.k(), + previous = $this.k(), $this.m_1.length = $this.k() + amount | 0, previous), index = 0, tmp0_iterator = elements.h(); tmp0_iterator.i(); ) { + var item = tmp0_iterator.j(), tmp1 = index; + index = tmp1 + 1 | 0; + var index_0 = checkIndexOverflow(tmp1); + this.m_1[offset + index_0 | 0] = item; + } + return this.s2_1 = this.s2_1 + 1 | 0, !0; + }, protoOf(ArrayList).t2 = function(index) { + return this.n2(), rangeCheck(this, index), this.s2_1 = this.s2_1 + 1 | 0, index === get_lastIndex_2(this) ? this.m_1.pop() : this.m_1.splice(index, 1)[0]; + }, protoOf(ArrayList).a3 = function(fromIndex, toIndex) { + this.n2(), this.s2_1 = this.s2_1 + 1 | 0, this.m_1.splice(fromIndex, toIndex - fromIndex | 0); + }, protoOf(ArrayList).p1 = function() { + this.n2(); + this.m_1 = [], this.s2_1 = this.s2_1 + 1 | 0; + }, protoOf(ArrayList).b3 = function(element) { + return indexOf(this.m_1, element); + }, protoOf(ArrayList).toString = function() { + return joinToString(this.m_1, ", ", "[", "]", VOID, VOID, arrayToString$lambda); + }, protoOf(ArrayList).t3 = function() { + return [].slice.call(this.m_1); + }, protoOf(ArrayList).toArray = function() { + return this.t3(); + }, protoOf(ArrayList).n2 = function() { + if (this.n_1) throw UnsupportedOperationException_init_$Create$(); + }, protoOf(HashMap).p1 = function() { + this.y3_1.p1(); + }, protoOf(HashMap).h1 = function(key) { + return this.y3_1.a4(key); + }, protoOf(HashMap).i1 = function(value) { + return this.y3_1.i1(value); + }, protoOf(HashMap).j3 = function() { + return new HashMapKeys(this.y3_1); + }, protoOf(HashMap).k3 = function() { + return new HashMapValues(this.y3_1); + }, protoOf(HashMap).m1 = function() { + var tmp, tmp0_elvis_lhs = this.z3_1; + if (null == tmp0_elvis_lhs) { + var this_0 = new HashMapEntrySet(this.y3_1); + this.z3_1 = this_0, tmp = this_0; + } else tmp = tmp0_elvis_lhs; + return tmp; + }, protoOf(HashMap).j1 = function(key) { + return this.y3_1.j1(key); + }, protoOf(HashMap).n1 = function(key, value) { + return this.y3_1.n1(key, value); + }, protoOf(HashMap).k = function() { + return this.y3_1.k(); + }, protoOf(HashMap).o1 = function(from) { + return this.y3_1.o1(from); + }, protoOf(HashMapKeys).k = function() { + return this.b4_1.k(); + }, protoOf(HashMapKeys).q = function() { + return 0 === this.b4_1.k(); + }, protoOf(HashMapKeys).d1 = function(element) { + return this.b4_1.a4(element); + }, protoOf(HashMapKeys).p1 = function() { + return this.b4_1.p1(); + }, protoOf(HashMapKeys).e = function(element) { + throw UnsupportedOperationException_init_$Create$(); + }, protoOf(HashMapKeys).o = function(elements) { + throw UnsupportedOperationException_init_$Create$(); + }, protoOf(HashMapKeys).h = function() { + return this.b4_1.c4(); + }, protoOf(HashMapKeys).n2 = function() { + return this.b4_1.d4(); + }, protoOf(HashMapValues).k = function() { + return this.e4_1.k(); + }, protoOf(HashMapValues).q = function() { + return 0 === this.e4_1.k(); + }, protoOf(HashMapValues).f4 = function(element) { + return this.e4_1.i1(element); + }, protoOf(HashMapValues).d1 = function(element) { + return (null == element || null != element) && this.f4(null == element || null != element ? element : THROW_CCE()); + }, protoOf(HashMapValues).g4 = function(element) { + throw UnsupportedOperationException_init_$Create$(); + }, protoOf(HashMapValues).e = function(element) { + return this.g4(null == element || null != element ? element : THROW_CCE()); + }, protoOf(HashMapValues).h4 = function(elements) { + throw UnsupportedOperationException_init_$Create$(); + }, protoOf(HashMapValues).o = function(elements) { + return this.h4(elements); + }, protoOf(HashMapValues).h = function() { + return this.e4_1.i4(); + }, protoOf(HashMapValues).n2 = function() { + return this.e4_1.d4(); + }, protoOf(HashMapEntrySet).h = function() { + return this.k4_1.l4(); + }, protoOf(HashMapEntrySetBase).k = function() { + return this.k4_1.k(); + }, protoOf(HashMapEntrySetBase).q = function() { + return 0 === this.k4_1.k(); + }, protoOf(HashMapEntrySetBase).m4 = function(element) { + return this.k4_1.o4(element); + }, protoOf(HashMapEntrySetBase).d1 = function(element) { + return !(null == element || !isInterface(element, Entry)) && this.m4(null != element && isInterface(element, Entry) ? element : THROW_CCE()); + }, protoOf(HashMapEntrySetBase).p1 = function() { + return this.k4_1.p1(); + }, protoOf(HashMapEntrySetBase).n4 = function(element) { + throw UnsupportedOperationException_init_$Create$(); + }, protoOf(HashMapEntrySetBase).e = function(element) { + return this.n4(null != element && isInterface(element, Entry) ? element : THROW_CCE()); + }, protoOf(HashMapEntrySetBase).o = function(elements) { + throw UnsupportedOperationException_init_$Create$(); + }, protoOf(HashMapEntrySetBase).e1 = function(elements) { + return this.k4_1.p4(elements); + }, protoOf(HashMapEntrySetBase).n2 = function() { + return this.k4_1.d4(); + }, protoOf(HashMapKeysDefault$iterator$1).i = function() { + return this.q4_1.i(); + }, protoOf(HashMapKeysDefault$iterator$1).j = function() { + return this.q4_1.j().f1(); + }, protoOf(HashMapKeysDefault$iterator$1).o2 = function() { + return this.q4_1.o2(); + }, protoOf(HashMapKeysDefault).s4 = function(element) { + throw UnsupportedOperationException_init_$Create$_0("Add is not supported on keys"); + }, protoOf(HashMapKeysDefault).e = function(element) { + return this.s4(null == element || null != element ? element : THROW_CCE()); + }, protoOf(HashMapKeysDefault).p1 = function() { + return this.r4_1.p1(); + }, protoOf(HashMapKeysDefault).a4 = function(element) { + return this.r4_1.h1(element); + }, protoOf(HashMapKeysDefault).d1 = function(element) { + return (null == element || null != element) && this.a4(null == element || null != element ? element : THROW_CCE()); + }, protoOf(HashMapKeysDefault).h = function() { + return new HashMapKeysDefault$iterator$1(this.r4_1.m1().h()); + }, protoOf(HashMapKeysDefault).k = function() { + return this.r4_1.k(); + }, protoOf(HashMapKeysDefault).n2 = function() { + return this.r4_1.n2(); + }, protoOf(HashMapValuesDefault$iterator$1).i = function() { + return this.t4_1.i(); + }, protoOf(HashMapValuesDefault$iterator$1).j = function() { + return this.t4_1.j().g1(); + }, protoOf(HashMapValuesDefault$iterator$1).o2 = function() { + return this.t4_1.o2(); + }, protoOf(HashMapValuesDefault).g4 = function(element) { + throw UnsupportedOperationException_init_$Create$_0("Add is not supported on values"); + }, protoOf(HashMapValuesDefault).e = function(element) { + return this.g4(null == element || null != element ? element : THROW_CCE()); + }, protoOf(HashMapValuesDefault).f4 = function(element) { + return this.u4_1.i1(element); + }, protoOf(HashMapValuesDefault).d1 = function(element) { + return (null == element || null != element) && this.f4(null == element || null != element ? element : THROW_CCE()); + }, protoOf(HashMapValuesDefault).h = function() { + return new HashMapValuesDefault$iterator$1(this.u4_1.m1().h()); + }, protoOf(HashMapValuesDefault).k = function() { + return this.u4_1.k(); + }, protoOf(HashMapValuesDefault).n2 = function() { + return this.u4_1.n2(); + }, protoOf(HashSet).e = function(element) { + return null == this.v4_1.n1(element, !0); + }, protoOf(HashSet).p1 = function() { + this.v4_1.p1(); + }, protoOf(HashSet).d1 = function(element) { + return this.v4_1.a4(element); + }, protoOf(HashSet).q = function() { + return 0 === this.v4_1.k(); + }, protoOf(HashSet).h = function() { + return this.v4_1.c4(); + }, protoOf(HashSet).k = function() { + return this.v4_1.k(); + }, protoOf(Itr).p5 = function() { + for (;this.m5_1 < this.l5_1.b5_1 && this.l5_1.y4_1[this.m5_1] < 0; ) this.m5_1 = this.m5_1 + 1 | 0; + }, protoOf(Itr).i = function() { + return this.m5_1 < this.l5_1.b5_1; + }, protoOf(Itr).o2 = function() { + if (this.q5(), -1 === this.n5_1) { + throw IllegalStateException_init_$Create$_0(toString_1("Call next() before removing element from the iterator.")); + } + this.l5_1.d4(), removeEntryAt(this.l5_1, this.n5_1), this.n5_1 = -1, this.o5_1 = this.l5_1.d5_1; + }, protoOf(Itr).q5 = function() { + if (this.l5_1.d5_1 !== this.o5_1) throw ConcurrentModificationException_init_$Create$(); + }, protoOf(KeysItr).j = function() { + if (this.q5(), this.m5_1 >= this.l5_1.b5_1) throw NoSuchElementException_init_$Create$(); + var tmp1 = this.m5_1; + this.m5_1 = tmp1 + 1 | 0, this.n5_1 = tmp1; + var result = this.l5_1.w4_1[this.n5_1]; + return this.p5(), result; + }, protoOf(ValuesItr).j = function() { + if (this.q5(), this.m5_1 >= this.l5_1.b5_1) throw NoSuchElementException_init_$Create$(); + var tmp1 = this.m5_1; + this.m5_1 = tmp1 + 1 | 0, this.n5_1 = tmp1; + var result = ensureNotNull(this.l5_1.x4_1)[this.n5_1]; + return this.p5(), result; + }, protoOf(EntriesItr).j = function() { + if (this.q5(), this.m5_1 >= this.l5_1.b5_1) throw NoSuchElementException_init_$Create$(); + var tmp1 = this.m5_1; + this.m5_1 = tmp1 + 1 | 0, this.n5_1 = tmp1; + var result = new EntryRef(this.l5_1, this.n5_1); + return this.p5(), result; + }, protoOf(EntriesItr).d6 = function() { + if (this.m5_1 >= this.l5_1.b5_1) throw NoSuchElementException_init_$Create$(); + var tmp1 = this.m5_1; + this.m5_1 = tmp1 + 1 | 0, this.n5_1 = tmp1; + var tmp0_safe_receiver = this.l5_1.w4_1[this.n5_1], tmp1_elvis_lhs = null == tmp0_safe_receiver ? null : hashCode(tmp0_safe_receiver), tmp_0 = null == tmp1_elvis_lhs ? 0 : tmp1_elvis_lhs, tmp0_safe_receiver_0 = ensureNotNull(this.l5_1.x4_1)[this.n5_1], tmp1_elvis_lhs_0 = null == tmp0_safe_receiver_0 ? null : hashCode(tmp0_safe_receiver_0), result = tmp_0 ^ (null == tmp1_elvis_lhs_0 ? 0 : tmp1_elvis_lhs_0); + return this.p5(), result; + }, protoOf(EntriesItr).e6 = function(sb) { + if (this.m5_1 >= this.l5_1.b5_1) throw NoSuchElementException_init_$Create$(); + var tmp1 = this.m5_1; + this.m5_1 = tmp1 + 1 | 0, this.n5_1 = tmp1; + var key = this.l5_1.w4_1[this.n5_1]; + equals(key, this.l5_1) ? sb.h6("(this Map)") : sb.g6(key), sb.i6(61); + var value = ensureNotNull(this.l5_1.x4_1)[this.n5_1]; + equals(value, this.l5_1) ? sb.h6("(this Map)") : sb.g6(value), this.p5(); + }, protoOf(EntryRef).f1 = function() { + return this.j6_1.w4_1[this.k6_1]; + }, protoOf(EntryRef).g1 = function() { + return ensureNotNull(this.j6_1.x4_1)[this.k6_1]; + }, protoOf(EntryRef).equals = function(other) { + return !!(!(null == other || !isInterface(other, Entry)) && equals(other.f1(), this.f1())) && equals(other.g1(), this.g1()); + }, protoOf(EntryRef).hashCode = function() { + var tmp0_safe_receiver = this.f1(), tmp1_elvis_lhs = null == tmp0_safe_receiver ? null : hashCode(tmp0_safe_receiver), tmp = null == tmp1_elvis_lhs ? 0 : tmp1_elvis_lhs, tmp0_safe_receiver_0 = this.g1(), tmp1_elvis_lhs_0 = null == tmp0_safe_receiver_0 ? null : hashCode(tmp0_safe_receiver_0); + return tmp ^ (null == tmp1_elvis_lhs_0 ? 0 : tmp1_elvis_lhs_0); + }, protoOf(EntryRef).toString = function() { + return toString_0(this.f1()) + "=" + toString_0(this.g1()); + }, protoOf(InternalHashMap).k = function() { + return this.e5_1; + }, protoOf(InternalHashMap).i1 = function(value) { + return function($this, value) { + var i = $this.b5_1; + for (;(i = i - 1 | 0) >= 0; ) if ($this.y4_1[i] >= 0 && equals(ensureNotNull($this.x4_1)[i], value)) return i; + return -1; + }(this, value) >= 0; + }, protoOf(InternalHashMap).j1 = function(key) { + var index = findKey(this, key); + return index < 0 ? null : ensureNotNull(this.x4_1)[index]; + }, protoOf(InternalHashMap).a4 = function(key) { + return findKey(this, key) >= 0; + }, protoOf(InternalHashMap).n1 = function(key, value) { + var index = addKey(this, key), valuesArray = allocateValuesArray(this); + if (index < 0) { + var oldValue = valuesArray[(0 | -index) - 1 | 0]; + return valuesArray[(0 | -index) - 1 | 0] = value, oldValue; + } + return valuesArray[index] = value, null; + }, protoOf(InternalHashMap).o1 = function(from) { + this.d4(), function($this, from) { + if (from.q()) return !1; + ensureExtraCapacity($this, from.k()); + for (var it = from.h(), updated = !1; it.i(); ) putEntry($this, it.j()) && (updated = !0); + }(this, from.m1()); + }, protoOf(InternalHashMap).p1 = function() { + this.d4(); + var inductionVariable = 0, last = this.b5_1 - 1 | 0; if (inductionVariable <= last) do { - var index = inductionVariable; + var i = inductionVariable; inductionVariable = inductionVariable + 1 | 0; - var entry_0 = chain[index]; - if (this.k8_1.n7(key, entry_0.e1())) { - 1 === chain.length ? (chain.length = 0, jsDeleteProperty(this.l8_1, hashCode)) : chain.splice(index, 1); - var tmp4_this = this, tmp5 = tmp4_this.m8_1; - return tmp4_this.m8_1 = tmp5 - 1 | 0, entry_0.g1(); + var hash = this.y4_1[i]; + hash >= 0 && (this.z4_1[hash] = 0, this.y4_1[i] = -1); + } while (i !== last); + resetRange(this.w4_1, 0, this.b5_1); + var tmp1_safe_receiver = this.x4_1; + null == tmp1_safe_receiver || resetRange(tmp1_safe_receiver, 0, this.b5_1), this.e5_1 = 0, + this.b5_1 = 0, registerModification(this); + }, protoOf(InternalHashMap).equals = function(other) { + var tmp, tmp_0; + other === this ? tmp = !0 : (tmp_0 = !(null == other || !isInterface(other, KtMap)) && function($this, other) { + return $this.e5_1 === other.k() && $this.p4(other.m1()); + }(this, other), tmp = tmp_0); + return tmp; + }, protoOf(InternalHashMap).hashCode = function() { + for (var result = 0, it = this.l4(); it.i(); ) result = result + it.d6() | 0; + return result; + }, protoOf(InternalHashMap).toString = function() { + var sb = StringBuilder_init_$Create$(2 + imul(this.e5_1, 3) | 0); + sb.h6("{"); + for (var i = 0, it = this.l4(); it.i(); ) i > 0 && sb.h6(", "), it.e6(sb), i = i + 1 | 0; + return sb.h6("}"), sb.toString(); + }, protoOf(InternalHashMap).d4 = function() { + if (this.f5_1) throw UnsupportedOperationException_init_$Create$(); + }, protoOf(InternalHashMap).o4 = function(entry) { + var index = findKey(this, entry.f1()); + return !(index < 0) && equals(ensureNotNull(this.x4_1)[index], entry.g1()); + }, protoOf(InternalHashMap).l6 = function(entry) { + return this.o4(isInterface(entry, Entry) ? entry : THROW_CCE()); + }, protoOf(InternalHashMap).c4 = function() { + return new KeysItr(this); + }, protoOf(InternalHashMap).i4 = function() { + return new ValuesItr(this); + }, protoOf(InternalHashMap).l4 = function() { + return new EntriesItr(this); + }, protoOf(LinkedHashMap).n2 = function() { + return this.y3_1.d4(); + }, protoOf(LinkedHashSet).n2 = function() { + return this.v4_1.d4(); + }, protoOf(CoroutineImpl).b7 = function() { + return ensureNotNull(this.a7_1); + }, protoOf(CoroutineImpl).c7 = function(result) { + var tmp, current = this; + if (function($this) { + var tmp = $this; + return tmp instanceof Failure; + }(result)) tmp = null; else { + tmp = null == result || null != result ? result : THROW_CCE(); + } + for (var currentResult = tmp, currentException = Result__exceptionOrNull_impl_p6xea9(result); ;) { + var $this$with = current; + null == currentException ? $this$with.x6_1 = currentResult : ($this$with.v6_1 = $this$with.w6_1, + $this$with.y6_1 = currentException); + try { + var outcome = $this$with.d7(); + if (outcome === get_COROUTINE_SUSPENDED()) return Unit_instance; + currentResult = outcome, currentException = null; + } catch ($p) { + currentResult = null, currentException = $p; } - } while (inductionVariable <= last); - return null; - }, InternalHashCodeMap.prototype.i6 = function() { - this.l8_1 = this.n8(), this.m8_1 = 0; - }, InternalHashCodeMap.prototype.m1 = function(key) { - return !(null == getEntry(this, key)); - }, InternalHashCodeMap.prototype.v1 = function(key) { - var tmp0_safe_receiver = getEntry(this, key); - return null == tmp0_safe_receiver ? null : tmp0_safe_receiver.g1(); - }, InternalHashCodeMap.prototype.d = function() { - return new InternalHashCodeMap$iterator$1(this); - }, EntryIterator.prototype.e = function() { - return !(null === this.p8_1); - }, EntryIterator.prototype.f = function() { - if (!this.e()) throw NoSuchElementException_init_$Create$(); - var current = ensureNotNull(this.p8_1); - this.o8_1 = current; - var tmp$ret$1, tmp = this, tmp0_takeIf = current.e9_1; - return tmp$ret$1 = tmp0_takeIf !== this.q8_1.b9_1.y8_1 ? tmp0_takeIf : null, tmp.p8_1 = tmp$ret$1, - current; - }, EntryIterator.prototype.j6 = function() { - if (null == this.o8_1) throw IllegalStateException_init_$Create$(toString_2("Check failed.")); - this.q8_1.h6(), remove(ensureNotNull(this.o8_1), this.q8_1.b9_1), this.q8_1.b9_1.z8_1.a8(ensureNotNull(this.o8_1).e1()), - this.o8_1 = null; - }, ChainEntry.prototype.a7 = function(newValue) { - return this.g9_1.h6(), SimpleEntry.prototype.a7.call(this, newValue); - }, EntrySet_0.prototype.q7 = function(element) { - throw UnsupportedOperationException_init_$Create$_0("Add is not supported on entries"); - }, EntrySet_0.prototype.a = function(element) { - return this.q7(null != element && isInterface(element, MutableEntry) ? element : THROW_CCE()); - }, EntrySet_0.prototype.i6 = function() { - this.b9_1.i6(); - }, EntrySet_0.prototype.b7 = function(element) { - return this.b9_1.u1(element); - }, EntrySet_0.prototype.d = function() { - return new EntryIterator(this); - }, EntrySet_0.prototype.c = function() { - return this.b9_1.c(); - }, EntrySet_0.prototype.h6 = function() { - return this.b9_1.h6(); - }, LinkedHashMap.prototype.i6 = function() { - this.h6(), this.z8_1.i6(), this.y8_1 = null; - }, LinkedHashMap.prototype.p1 = function(key) { - return this.z8_1.p1(key); - }, LinkedHashMap.prototype.t1 = function(value) { - var tmp0_elvis_lhs = this.y8_1; - if (null == tmp0_elvis_lhs) return !1; - var node = tmp0_elvis_lhs; - do { - if (equals_0(node.g1(), value)) return !0; - node = ensureNotNull(node.e9_1); - } while (node !== this.y8_1); - return !1; - }, LinkedHashMap.prototype.z7 = function() { - return new EntrySet_0(this); - }, LinkedHashMap.prototype.v1 = function(key) { - var tmp0_safe_receiver = this.z8_1.v1(key); - return null == tmp0_safe_receiver ? null : tmp0_safe_receiver.g1(); - }, LinkedHashMap.prototype.t2 = function(key, value) { - this.h6(); - var old = this.z8_1.v1(key); - if (null == old) { - var newEntry = new ChainEntry(this, key, value); - return this.z8_1.t2(key, newEntry), addToEnd(newEntry, this), null; - } - return old.a7(value); - }, LinkedHashMap.prototype.a8 = function(key) { - this.h6(); - var entry = this.z8_1.a8(key); - return null != entry ? (remove(entry, this), entry.g1()) : null; - }, LinkedHashMap.prototype.c = function() { - return this.z8_1.c(); - }, LinkedHashMap.prototype.h6 = function() { - if (this.a9_1) throw UnsupportedOperationException_init_$Create$(); - }, LinkedHashSet.prototype.h6 = function() { - return this.b8_1.h6(); - }, SafeContinuation.prototype.m3 = function() { - return this.i9_1.m3(); - }, SafeContinuation.prototype.n3 = function(result) { - var cur = this.j9_1; - if (cur === CoroutineSingletons_UNDECIDED_getInstance()) this.j9_1 = _Result___get_value__impl__bjfvqg(result); else { - if (cur !== get_COROUTINE_SUSPENDED()) throw IllegalStateException_init_$Create$("Already resumed"); - this.j9_1 = CoroutineSingletons_RESUMED_getInstance(), this.i9_1.n3(result); - } - }, SafeContinuation.prototype.k9 = function() { - if (this.j9_1 === CoroutineSingletons_UNDECIDED_getInstance()) return this.j9_1 = get_COROUTINE_SUSPENDED(), + $this$with.f7(); + var completion = ensureNotNull($this$with.u6_1); + if (!(completion instanceof CoroutineImpl)) { + if (null != currentException) { + var tmp$ret$2 = createFailure(ensureNotNull(currentException)); + completion.g7(tmp$ret$2); + } else { + var tmp$ret$4 = currentResult; + completion.g7(tmp$ret$4); + } + return Unit_instance; + } + current = completion; + } + }, protoOf(CoroutineImpl).g7 = function(result) { + return this.c7(result); + }, protoOf(CompletedContinuation).b7 = function() { + throw IllegalStateException_init_$Create$_0(toString_1("This continuation is already complete")); + }, protoOf(CompletedContinuation).c7 = function(result) { + throw IllegalStateException_init_$Create$_0(toString_1("This continuation is already complete")); + }, protoOf(CompletedContinuation).g7 = function(result) { + return this.c7(result); + }, protoOf(CompletedContinuation).toString = function() { + return "This continuation is already complete"; + }, protoOf(InterceptedCoroutine).h7 = function() { + var tmp, tmp2_elvis_lhs = this.e7_1; + if (null == tmp2_elvis_lhs) { + var tmp0_safe_receiver = this.b7().i7(Key_instance), tmp1_elvis_lhs = null == tmp0_safe_receiver ? null : tmp0_safe_receiver.j7(this), this_0 = null == tmp1_elvis_lhs ? this : tmp1_elvis_lhs; + this.e7_1 = this_0, tmp = this_0; + } else tmp = tmp2_elvis_lhs; + return tmp; + }, protoOf(InterceptedCoroutine).f7 = function() { + var intercepted = this.e7_1; + null != intercepted && intercepted !== this && ensureNotNull(this.b7().i7(Key_instance)).k7(intercepted), + this.e7_1 = CompletedContinuation_instance; + }, protoOf(SafeContinuation).b7 = function() { + return this.l7_1.b7(); + }, protoOf(SafeContinuation).g7 = function(result) { + var cur = this.m7_1; + if (cur === CoroutineSingletons_UNDECIDED_getInstance()) this.m7_1 = result; else { + if (cur !== get_COROUTINE_SUSPENDED()) throw IllegalStateException_init_$Create$_0("Already resumed"); + this.m7_1 = CoroutineSingletons_RESUMED_getInstance(), this.l7_1.g7(result); + } + }, protoOf(SafeContinuation).n7 = function() { + if (this.m7_1 === CoroutineSingletons_UNDECIDED_getInstance()) return this.m7_1 = get_COROUTINE_SUSPENDED(), get_COROUTINE_SUSPENDED(); - var tmp, result = this.j9_1; + var tmp, result = this.m7_1; if (result === CoroutineSingletons_RESUMED_getInstance()) tmp = get_COROUTINE_SUSPENDED(); else { - if (result instanceof Failure) throw result.v5_1; + if (result instanceof Failure) throw result.o7_1; tmp = result; } return tmp; - }, _no_name_provided__qut3iv_0.prototype.m3 = function() { - return this.l9_1; - }, _no_name_provided__qut3iv_0.prototype.m9 = function(result) { + }, protoOf(_no_name_provided__qut3iv_1).d7 = function() { + if (null != this.y6_1) throw this.y6_1; + var a = this.z7_1; + return "function" == typeof a ? a(this.a8_1, this.b8_1) : this.z7_1.c8(this.a8_1, this.b8_1); + }, protoOf(_no_name_provided__qut3iv_2).b7 = function() { + return this.d8_1; + }, protoOf(_no_name_provided__qut3iv_2).c7 = function(result) { throwOnFailure(result); - var tmp = _Result___get_value__impl__bjfvqg(result); - return null == tmp || isObject(tmp) || THROW_CCE(), Unit_getInstance(); - }, _no_name_provided__qut3iv_0.prototype.n3 = function(result) { - return this.m9(result); - }, KClassImpl.prototype.q9 = function() { - return this.p9_1; - }, KClassImpl.prototype.equals = function(other) { - return other instanceof KClassImpl && equals_0(this.q9(), other.q9()); - }, KClassImpl.prototype.hashCode = function() { - var tmp0_safe_receiver = this.n9(), tmp1_elvis_lhs = null == tmp0_safe_receiver ? null : getStringHashCode(tmp0_safe_receiver); + return null == result || null != result || THROW_CCE(), Unit_instance; + }, protoOf(_no_name_provided__qut3iv_2).g7 = function(result) { + return this.c7(result); + }, protoOf(KClassImpl).h8 = function() { + return this.g8_1; + }, protoOf(KClassImpl).equals = function(other) { + return !(other instanceof NothingKClassImpl) && (!(other instanceof ErrorKClass) && (other instanceof KClassImpl && equals(this.h8(), other.h8()))); + }, protoOf(KClassImpl).hashCode = function() { + var tmp0_safe_receiver = this.e8(), tmp1_elvis_lhs = null == tmp0_safe_receiver ? null : getStringHashCode(tmp0_safe_receiver); return null == tmp1_elvis_lhs ? 0 : tmp1_elvis_lhs; - }, KClassImpl.prototype.toString = function() { - return "class " + this.n9(); - }, PrimitiveKClassImpl.prototype.equals = function(other) { - return other instanceof PrimitiveKClassImpl && !!KClassImpl.prototype.equals.call(this, other) && this.s9_1 === other.s9_1; - }, PrimitiveKClassImpl.prototype.n9 = function() { - return this.s9_1; - }, PrimitiveKClassImpl.prototype.o9 = function(value) { - return this.t9_1(value); - }, NothingKClassImpl.prototype.n9 = function() { - return this.v9_1; - }, NothingKClassImpl.prototype.o9 = function(value) { + }, protoOf(KClassImpl).toString = function() { + return "class " + this.e8(); + }, protoOf(NothingKClassImpl).e8 = function() { + return this.j8_1; + }, protoOf(NothingKClassImpl).f8 = function(value) { return !1; - }, NothingKClassImpl.prototype.q9 = function() { + }, protoOf(NothingKClassImpl).h8 = function() { throw UnsupportedOperationException_init_$Create$_0("There's no native JS class for Nothing type"); - }, NothingKClassImpl.prototype.equals = function(other) { + }, protoOf(NothingKClassImpl).equals = function(other) { return other === this; - }, NothingKClassImpl.prototype.hashCode = function() { + }, protoOf(NothingKClassImpl).hashCode = function() { return 0; - }, ErrorKClass.prototype.n9 = function() { - throw IllegalStateException_init_$Create$("Unknown simpleName for ErrorKClass"); - }, ErrorKClass.prototype.o9 = function(value) { - throw IllegalStateException_init_$Create$("Can's check isInstance on ErrorKClass"); - }, ErrorKClass.prototype.equals = function(other) { + }, protoOf(ErrorKClass).e8 = function() { + throw IllegalStateException_init_$Create$_0(toString_1("Unknown simpleName for ErrorKClass")); + }, protoOf(ErrorKClass).f8 = function(value) { + throw IllegalStateException_init_$Create$_0(toString_1("Can's check isInstance on ErrorKClass")); + }, protoOf(ErrorKClass).equals = function(other) { return other === this; - }, ErrorKClass.prototype.hashCode = function() { + }, protoOf(ErrorKClass).hashCode = function() { return 0; - }, SimpleKClassImpl.prototype.n9 = function() { - return this.x9_1; - }, SimpleKClassImpl.prototype.o9 = function(value) { - return jsIsType(value, this.q9()); - }, PrimitiveClasses.prototype.y9 = function() { + }, protoOf(PrimitiveKClassImpl).equals = function(other) { + return other instanceof PrimitiveKClassImpl && (protoOf(KClassImpl).equals.call(this, other) && this.l8_1 === other.l8_1); + }, protoOf(PrimitiveKClassImpl).e8 = function() { + return this.l8_1; + }, protoOf(PrimitiveKClassImpl).f8 = function(value) { + return this.m8_1(value); + }, protoOf(SimpleKClassImpl).e8 = function() { + return this.o8_1; + }, protoOf(SimpleKClassImpl).f8 = function(value) { + return jsIsType(value, this.h8()); + }, protoOf(PrimitiveClasses).p8 = function() { return this.anyClass; - }, PrimitiveClasses.prototype.z9 = function() { + }, protoOf(PrimitiveClasses).q8 = function() { return this.numberClass; - }, PrimitiveClasses.prototype.aa = function() { + }, protoOf(PrimitiveClasses).r8 = function() { return this.nothingClass; - }, PrimitiveClasses.prototype.ba = function() { + }, protoOf(PrimitiveClasses).s8 = function() { return this.booleanClass; - }, PrimitiveClasses.prototype.ca = function() { + }, protoOf(PrimitiveClasses).t8 = function() { return this.byteClass; - }, PrimitiveClasses.prototype.da = function() { + }, protoOf(PrimitiveClasses).u8 = function() { return this.shortClass; - }, PrimitiveClasses.prototype.ea = function() { + }, protoOf(PrimitiveClasses).v8 = function() { return this.intClass; - }, PrimitiveClasses.prototype.fa = function() { + }, protoOf(PrimitiveClasses).w8 = function() { return this.floatClass; - }, PrimitiveClasses.prototype.ga = function() { + }, protoOf(PrimitiveClasses).x8 = function() { return this.doubleClass; - }, PrimitiveClasses.prototype.ha = function() { + }, protoOf(PrimitiveClasses).y8 = function() { return this.arrayClass; - }, PrimitiveClasses.prototype.ia = function() { + }, protoOf(PrimitiveClasses).z8 = function() { return this.stringClass; - }, PrimitiveClasses.prototype.ja = function() { + }, protoOf(PrimitiveClasses).a9 = function() { return this.throwableClass; - }, PrimitiveClasses.prototype.ka = function() { + }, protoOf(PrimitiveClasses).b9 = function() { return this.booleanArrayClass; - }, PrimitiveClasses.prototype.la = function() { + }, protoOf(PrimitiveClasses).c9 = function() { return this.charArrayClass; - }, PrimitiveClasses.prototype.ma = function() { + }, protoOf(PrimitiveClasses).d9 = function() { return this.byteArrayClass; - }, PrimitiveClasses.prototype.na = function() { + }, protoOf(PrimitiveClasses).e9 = function() { return this.shortArrayClass; - }, PrimitiveClasses.prototype.oa = function() { + }, protoOf(PrimitiveClasses).f9 = function() { return this.intArrayClass; - }, PrimitiveClasses.prototype.pa = function() { + }, protoOf(PrimitiveClasses).g9 = function() { return this.longArrayClass; - }, PrimitiveClasses.prototype.qa = function() { + }, protoOf(PrimitiveClasses).h9 = function() { return this.floatArrayClass; - }, PrimitiveClasses.prototype.ra = function() { + }, protoOf(PrimitiveClasses).i9 = function() { return this.doubleArrayClass; - }, PrimitiveClasses.prototype.functionClass = function(arity) { - var tmp, tmp0_elvis_lhs = get_functionClasses()[arity]; + }, protoOf(PrimitiveClasses).functionClass = function(arity) { + var tmp, $arity, tmp0_elvis_lhs = get_functionClasses()[arity]; if (null == tmp0_elvis_lhs) { - var result = new PrimitiveKClassImpl(Function, "Function" + arity, PrimitiveClasses$functionClass$lambda(arity)); + var result = new PrimitiveKClassImpl(Function, "Function" + arity, ($arity = arity, + function(it) { + return "function" == typeof it && it.length === $arity; + })); get_functionClasses()[arity] = result, tmp = result; } else tmp = tmp0_elvis_lhs; return tmp; - }, StringBuilder.prototype.z5 = function() { - return this.y4_1.length; - }, StringBuilder.prototype.a6 = function(index) { - var tmp0_getOrElse = this.y4_1; - if (!(index >= 0 && index <= get_lastIndex_3(tmp0_getOrElse))) throw IndexOutOfBoundsException_init_$Create$("index: " + index + ", length: " + this.z5() + "}"); - return charSequenceGet(tmp0_getOrElse, index); - }, StringBuilder.prototype.b6 = function(startIndex, endIndex) { - return this.y4_1.substring(startIndex, endIndex); - }, StringBuilder.prototype.p4 = function(value) { - var tmp0_this = this; - return tmp0_this.y4_1 = tmp0_this.y4_1 + new Char(value), this; - }, StringBuilder.prototype.b = function(value) { - var tmp0_this = this; - return tmp0_this.y4_1 = tmp0_this.y4_1 + toString_1(value), this; - }, StringBuilder.prototype.sa = function(value, startIndex, endIndex) { - var tmp0_elvis_lhs = value; - return this.ta(null == tmp0_elvis_lhs ? "null" : tmp0_elvis_lhs, startIndex, endIndex); - }, StringBuilder.prototype.ua = function(value) { - var tmp0_this = this; - return tmp0_this.y4_1 = tmp0_this.y4_1 + toString_1(value), this; - }, StringBuilder.prototype.va = function(value) { - var tmp0_this = this, tmp = tmp0_this, tmp_0 = tmp0_this.y4_1, tmp1_elvis_lhs = value; - return tmp.y4_1 = tmp_0 + (null == tmp1_elvis_lhs ? "null" : tmp1_elvis_lhs), this; - }, StringBuilder.prototype.wa = function(newLength) { - if (newLength < 0) throw IllegalArgumentException_init_$Create$("Negative new length: " + newLength + "."); - if (newLength <= this.z5()) { - var tmp$ret$1, tmp = this; - tmp$ret$1 = this.y4_1.substring(0, newLength), tmp.y4_1 = tmp$ret$1; + }, protoOf(StringBuilder).a = function() { + return this.f6_1.length; + }, protoOf(StringBuilder).b = function(index) { + var this_0 = this.f6_1; + if (!(0 <= index && index <= (charSequenceLength(this_0) - 1 | 0))) throw IndexOutOfBoundsException_init_$Create$_0("index: " + index + ", length: " + this.a() + "}"); + return charSequenceGet(this_0, index); + }, protoOf(StringBuilder).c = function(startIndex, endIndex) { + return this.f6_1.substring(startIndex, endIndex); + }, protoOf(StringBuilder).i6 = function(value) { + return this.f6_1 = this.f6_1 + toString(value), this; + }, protoOf(StringBuilder).f = function(value) { + return this.f6_1 = this.f6_1 + toString_0(value), this; + }, protoOf(StringBuilder).j9 = function(value, startIndex, endIndex) { + return this.k9(null == value ? "null" : value, startIndex, endIndex); + }, protoOf(StringBuilder).g6 = function(value) { + return this.f6_1 = this.f6_1 + toString_0(value), this; + }, protoOf(StringBuilder).l9 = function(value) { + return this.h6(value.toString()); + }, protoOf(StringBuilder).m9 = function(value) { + return this.h6(value.toString()); + }, protoOf(StringBuilder).h6 = function(value) { + var tmp_0 = this.f6_1; + return this.f6_1 = tmp_0 + (null == value ? "null" : value), this; + }, protoOf(StringBuilder).n9 = function(newLength) { + if (newLength < 0) throw IllegalArgumentException_init_$Create$_0("Negative new length: " + newLength + "."); + if (newLength <= this.a()) { + this.f6_1 = this.f6_1.substring(0, newLength); } else { - var inductionVariable = this.z5(); + var inductionVariable = this.a(); if (inductionVariable < newLength) do { - inductionVariable = inductionVariable + 1 | 0; - var tmp1_this = this; - tmp1_this.y4_1 = tmp1_this.y4_1 + new Char(_Char___init__impl__6a9atx(0)); + inductionVariable = inductionVariable + 1 | 0, this.f6_1 = this.f6_1 + toString(0); } while (inductionVariable < newLength); } - }, StringBuilder.prototype.toString = function() { - return this.y4_1; - }, StringBuilder.prototype.xa = function() { - return this.y4_1 = "", this; - }, StringBuilder.prototype.ta = function(value, startIndex, endIndex) { - var stringCsq = toString_2(value); - Companion_getInstance().a1(startIndex, endIndex, stringCsq.length); - var tmp$ret$1, tmp0_this = this, tmp = tmp0_this, tmp_0 = tmp0_this.y4_1; - return tmp$ret$1 = stringCsq.substring(startIndex, endIndex), tmp.y4_1 = tmp_0 + tmp$ret$1, - this; - }, Companion_5.prototype.gb = function(literal) { - var tmp0_nativeReplace = this.db_1; - return literal.replace(tmp0_nativeReplace, "\\$&"); - }, Companion_5.prototype.hb = function(literal) { - var tmp0_nativeReplace = this.fb_1; - return literal.replace(tmp0_nativeReplace, "$$$$"); - }, Regex.prototype.ib = function(input, startIndex) { - if (startIndex < 0 || startIndex > charSequenceLength(input)) throw IndexOutOfBoundsException_init_$Create$("Start index out of bounds: " + startIndex + ", input length: " + charSequenceLength(input)); - return findNext(this.ab_1, toString_2(input), startIndex, this.ab_1); - }, Regex.prototype.jb = function(input, startIndex) { - if (startIndex < 0 || startIndex > charSequenceLength(input)) throw IndexOutOfBoundsException_init_$Create$("Start index out of bounds: " + startIndex + ", input length: " + charSequenceLength(input)); - return generateSequence(Regex$findAll$lambda(this, input, startIndex), Regex$findAll$lambda_0); - }, Regex.prototype.kb = function(input, startIndex, $mask0, $handler) { - return 0 != (2 & $mask0) && (startIndex = 0), this.jb(input, startIndex); - }, Regex.prototype.lb = function(input) { - return findNext(initMatchesEntirePattern(this), toString_2(input), 0, this.ab_1); - }, Regex.prototype.mb = function(input, limit) { + }, protoOf(StringBuilder).toString = function() { + return this.f6_1; + }, protoOf(StringBuilder).o9 = function() { + return this.f6_1 = "", this; + }, protoOf(StringBuilder).k9 = function(value, startIndex, endIndex) { + var stringCsq = toString_1(value); + Companion_instance_4.p9(startIndex, endIndex, stringCsq.length); + var tmp_0 = this.f6_1; + return this.f6_1 = tmp_0 + stringCsq.substring(startIndex, endIndex), this; + }, protoOf(Companion_3).y9 = function(literal) { + var pattern = this.v9_1; + return literal.replace(pattern, "\\$&"); + }, protoOf(Companion_3).z9 = function(literal) { + var pattern = this.x9_1; + return literal.replace(pattern, "$$$$"); + }, protoOf(Regex).aa = function(input, startIndex) { + if (startIndex < 0 || startIndex > charSequenceLength(input)) throw IndexOutOfBoundsException_init_$Create$_0("Start index out of bounds: " + startIndex + ", input length: " + charSequenceLength(input)); + return findNext(this.s9_1, toString_1(input), startIndex, this.s9_1); + }, protoOf(Regex).ba = function(input, startIndex) { + if (startIndex < 0 || startIndex > charSequenceLength(input)) throw IndexOutOfBoundsException_init_$Create$_0("Start index out of bounds: " + startIndex + ", input length: " + charSequenceLength(input)); + var this$0, $input, $startIndex, tmp = (this$0 = this, $input = input, $startIndex = startIndex, + function() { + return this$0.aa($input, $startIndex); + }); + return new GeneratorSequence(tmp, Regex$findAll$lambda_0); + }, protoOf(Regex).ca = function(input, startIndex, $super) { + return startIndex = startIndex === VOID ? 0 : startIndex, $super === VOID ? this.ba(input, startIndex) : $super.ba.call(this, input, startIndex); + }, protoOf(Regex).da = function(input) { + return findNext(initMatchesEntirePattern(this), toString_1(input), 0, this.s9_1); + }, protoOf(Regex).ea = function(input, limit) { requireNonNegativeLimit(limit); - for (var tmp0_let = this.kb(input, 0, 2, null), matches = 0 === limit ? tmp0_let : take(tmp0_let, limit - 1 | 0), result = ArrayList_init_$Create$(), lastStart = 0, tmp0_iterator = matches.d(); tmp0_iterator.e(); ) { - var match = tmp0_iterator.f(); - result.a(toString_2(charSequenceSubSequence(input, lastStart, match.nb().i4()))), - lastStart = match.nb().j4() + 1 | 0; - } - return result.a(toString_2(charSequenceSubSequence(input, lastStart, charSequenceLength(input)))), + for (var it = this.ca(input), matches = 0 === limit ? it : function(_this__u8e3s4, n) { + if (!(n >= 0)) throw IllegalArgumentException_init_$Create$_0(toString_1("Requested element count " + n + " is less than zero.")); + return 0 === n ? emptySequence() : isInterface(_this__u8e3s4, DropTakeSequence) ? _this__u8e3s4.c1(n) : new TakeSequence(_this__u8e3s4, n); + }(it, limit - 1 | 0), result = ArrayList_init_$Create$(), lastStart = 0, tmp0_iterator = matches.h(); tmp0_iterator.i(); ) { + var match = tmp0_iterator.j(); + result.e(toString_1(charSequenceSubSequence(input, lastStart, match.fa().ja()))), + lastStart = match.fa().ka() + 1 | 0; + } + return result.e(toString_1(charSequenceSubSequence(input, lastStart, charSequenceLength(input)))), result; - }, Regex.prototype.toString = function() { - return this.ab_1.toString(); - }, MatchGroup.prototype.toString = function() { - return "MatchGroup(value=" + this.ob_1 + ")"; - }, MatchGroup.prototype.hashCode = function() { - return getStringHashCode(this.ob_1); - }, MatchGroup.prototype.equals = function(other) { + }, protoOf(Regex).toString = function() { + return this.s9_1.toString(); + }, protoOf(MatchGroup).toString = function() { + return "MatchGroup(value=" + this.la_1 + ")"; + }, protoOf(MatchGroup).hashCode = function() { + return getStringHashCode(this.la_1); + }, protoOf(MatchGroup).equals = function(other) { if (this === other) return !0; if (!(other instanceof MatchGroup)) return !1; var tmp0_other_with_cast = other instanceof MatchGroup ? other : THROW_CCE(); - return this.ob_1 === tmp0_other_with_cast.ob_1; - }, findNext$1$groups$1.prototype.c = function() { - return this.sb_1.length; - }, findNext$1$groups$1.prototype.d = function() { - return map(asSequence(get_indices_1(this)), findNext$o$groups$o$iterator$lambda(this)).d(); - }, findNext$1$groups$1.prototype.g = function(index) { - var tmp$ret$1; - return tmp$ret$1 = this.sb_1[index], null == tmp$ret$1 ? null : new MatchGroup(tmp$ret$1); - }, findNext$1$groupValues$1.prototype.c = function() { - return this.bc_1.length; - }, findNext$1$groupValues$1.prototype.g = function(index) { - var tmp$ret$1; - return null == (tmp$ret$1 = this.bc_1[index]) ? "" : tmp$ret$1; - }, findNext$1.prototype.nb = function() { - return this.ub_1; - }, findNext$1.prototype.cc = function() { - return null == this.wb_1 && (this.wb_1 = new findNext$1$groupValues$1(this.yb_1)), - ensureNotNull(this.wb_1); - }, findNext$1.prototype.f = function() { - return findNext(this.zb_1, this.ac_1, this.xb_1.l() ? advanceToNextCharacter(this, this.xb_1.i4()) : this.xb_1.j4() + 1 | 0, this.zb_1); - }, ExceptionTraceBuilder.prototype.hc = function(exception) { - return dumpFullTrace(exception, this, "", ""), this.dc_1.toString(); - }, Char.prototype.sc = function(other) { - return Char__compareTo_impl_ypi4mb(this.o4_1, other); - }, Char.prototype.c6 = function(other) { - return Char__compareTo_impl_ypi4mb_0(this, other); - }, Char.prototype.equals = function(other) { - return Char__equals_impl_x6719k(this.o4_1, other); - }, Char.prototype.hashCode = function() { - return Char__hashCode_impl_otmys(this.o4_1); - }, Char.prototype.toString = function() { - return toString_0(this.o4_1); - }, Enum.prototype.tc = function() { - return this.c4_1; - }, Enum.prototype.uc = function() { - return this.d4_1; - }, Enum.prototype.e4 = function(other) { - return compareTo(this.d4_1, other.d4_1); - }, Enum.prototype.c6 = function(other) { - return this.e4(other instanceof Enum ? other : THROW_CCE()); - }, Enum.prototype.equals = function(other) { - return this === other; - }, Enum.prototype.hashCode = function() { - return identityHashCode(this); - }, Enum.prototype.toString = function() { - return this.c4_1; - }, BitMask.prototype.wc = function(possibleActiveBit) { - var numberIndex = possibleActiveBit >> 5; - if (numberIndex > this.vc_1.length) return !1; - var numberWithSettledBit = 1 << (31 & possibleActiveBit); - return !(0 == (this.vc_1[numberIndex] & numberWithSettledBit)); - }, arrayIterator$1.prototype.e = function() { - return !(this.xc_1 === this.yc_1.length); - }, arrayIterator$1.prototype.f = function() { - if (this.xc_1 === this.yc_1.length) throw NoSuchElementException_init_$Create$_0("" + this.xc_1); - var tmp0_this = this, tmp1 = tmp0_this.xc_1; - return tmp0_this.xc_1 = tmp1 + 1 | 0, this.yc_1[tmp1]; - }, Long.prototype.u4 = function(other) { - return compare(this, other); - }, Long.prototype.c6 = function(other) { - return this.u4(other instanceof Long ? other : THROW_CCE()); - }, Long.prototype.w4 = function(other) { - return add(this, other); - }, Long.prototype.x4 = function(other) { - return subtract(this, other); - }, Long.prototype.v4 = function(other) { - return multiply(this, other); - }, Long.prototype.t4 = function(other) { - return divide(this, other); - }, Long.prototype.s4 = function() { - return this.ed().w4(new Long(1, 0)); - }, Long.prototype.fd = function(bitCount) { - return shiftLeft(this, bitCount); - }, Long.prototype.gd = function(other) { - return new Long(this.q4_1 | other.q4_1, this.r4_1 | other.r4_1); - }, Long.prototype.ed = function() { - return new Long(~this.q4_1, ~this.r4_1); - }, Long.prototype.hd = function() { - return this.q4_1; - }, Long.prototype.zc = function() { - return toNumber(this); - }, Long.prototype.valueOf = function() { - return this.zc(); - }, Long.prototype.equals = function(other) { - return other instanceof Long && equalsLong(this, other); - }, Long.prototype.hashCode = function() { - return hashCode_0(this); - }, Long.prototype.toString = function() { - return toStringImpl(this, 10); - }, CoroutineImpl.prototype.m3 = function() { - return ensureNotNull(this.qd_1); - }, CoroutineImpl.prototype.sd = function() { - var tmp, tmp2_elvis_lhs = this.rd_1; - if (null == tmp2_elvis_lhs) { - var tmp0_safe_receiver = this.m3().q3(Key_getInstance()), tmp1_elvis_lhs = null == tmp0_safe_receiver ? null : tmp0_safe_receiver.o3(this), tmp0_also = null == tmp1_elvis_lhs ? this : tmp1_elvis_lhs; - this.rd_1 = tmp0_also, tmp = tmp0_also; - } else tmp = tmp2_elvis_lhs; - return tmp; - }, CoroutineImpl.prototype.m9 = function(result) { - var tmp, current = this; - if (_Result___get_isFailure__impl__jpiriv(result)) tmp = null; else { - var tmp_0 = _Result___get_value__impl__bjfvqg(result); - tmp = null == tmp_0 || isObject(tmp_0) ? tmp_0 : THROW_CCE(); + return this.la_1 === tmp0_other_with_cast.la_1; + }, protoOf(findNext$1$groups$1).k = function() { + return this.pa_1.length; + }, protoOf(findNext$1$groups$1).h = function() { + var this$0; + return map(function(_this__u8e3s4) { + return new _no_name_provided__qut3iv_0(_this__u8e3s4); + }(numberRangeToNumber(0, this.k() - 1 | 0)), (this$0 = this, function(it) { + return this$0.p(it); + })).h(); + }, protoOf(findNext$1$groups$1).p = function(index) { + var tmp0_safe_receiver = this.pa_1[index]; + return null == tmp0_safe_receiver ? null : new MatchGroup(tmp0_safe_receiver); + }, protoOf(findNext$1$groupValues$1).k = function() { + return this.ya_1.length; + }, protoOf(findNext$1$groupValues$1).p = function(index) { + var tmp0_elvis_lhs = this.ya_1[index]; + return null == tmp0_elvis_lhs ? "" : tmp0_elvis_lhs; + }, protoOf(findNext$1).fa = function() { + return this.ra_1; + }, protoOf(findNext$1).za = function() { + if (null == this.ta_1) { + this.ta_1 = new findNext$1$groupValues$1(this.va_1); + } + return ensureNotNull(this.ta_1); + }, protoOf(findNext$1).j = function() { + return findNext(this.wa_1, this.xa_1, this.ua_1.q() ? function($this, index) { + if (index < get_lastIndex_3($this.xa_1)) { + var code1 = $this.xa_1.charCodeAt(index); + if (55296 <= code1 && code1 <= 56319) { + var code2 = $this.xa_1.charCodeAt(index + 1 | 0); + if (56320 <= code2 && code2 <= 57343) return index + 2 | 0; + } + } + return index + 1 | 0; + }(this, this.ua_1.ja()) : this.ua_1.ka() + 1 | 0, this.wa_1); + }, protoOf(ExceptionTraceBuilder).eb = function(exception) { + return dumpFullTrace(exception, this, "", ""), this.ab_1.toString(); + }, protoOf(AbstractCollection).d1 = function(element) { + var tmp$ret$0; + $l$block_0: { + if (!!isInterface(this, Collection) && this.q()) tmp$ret$0 = !1; else { + for (var tmp0_iterator = this.h(); tmp0_iterator.i(); ) { + if (equals(tmp0_iterator.j(), element)) { + tmp$ret$0 = !0; + break $l$block_0; + } + } + tmp$ret$0 = !1; + } } - for (var currentResult = tmp, currentException = Result__exceptionOrNull_impl_p6xea9(result); ;) { - var tmp0_with = current; - null == currentException ? tmp0_with.nd_1 = currentResult : (tmp0_with.ld_1 = tmp0_with.md_1, - tmp0_with.od_1 = currentException); - try { - var outcome = tmp0_with.td(); - if (outcome === get_COROUTINE_SUSPENDED()) return Unit_getInstance(); - currentResult = outcome, currentException = null; - } catch ($p) { - currentResult = null, currentException = $p; + return tmp$ret$0; + }, protoOf(AbstractCollection).e1 = function(elements) { + var tmp$ret$0; + $l$block_0: { + if (!!isInterface(elements, Collection) && elements.q()) tmp$ret$0 = !0; else { + for (var tmp0_iterator = elements.h(); tmp0_iterator.i(); ) { + var element = tmp0_iterator.j(); + if (!this.d1(element)) { + tmp$ret$0 = !1; + break $l$block_0; + } + } + tmp$ret$0 = !0; } - releaseIntercepted(tmp0_with); - var completion = ensureNotNull(tmp0_with.kd_1); - if (!(completion instanceof CoroutineImpl)) { - if (null != currentException) { - var tmp$ret$2, tmp0_resumeWithException = ensureNotNull(currentException); - Companion_getInstance_4(), tmp$ret$2 = _Result___init__impl__xyqfz8(createFailure(tmp0_resumeWithException)), - completion.n3(tmp$ret$2), Unit_getInstance(); - } else { - var tmp$ret$4, tmp1_resume = currentResult; - Companion_getInstance_4(), tmp$ret$4 = _Result___init__impl__xyqfz8(tmp1_resume), - completion.n3(tmp$ret$4), Unit_getInstance(); - } - return Unit_getInstance(); - } - current = completion, Unit_getInstance(); - } - }, CoroutineImpl.prototype.n3 = function(result) { - return this.m9(result); - }, CompletedContinuation.prototype.m3 = function() { - throw IllegalStateException_init_$Create$("This continuation is already complete"); - }, CompletedContinuation.prototype.m9 = function(result) { - throw IllegalStateException_init_$Create$("This continuation is already complete"); - }, CompletedContinuation.prototype.n3 = function(result) { - return this.m9(result); - }, CompletedContinuation.prototype.toString = function() { - return "This continuation is already complete"; - }, _no_name_provided__qut3iv_1.prototype.td = function() { - if (null != this.od_1) throw this.od_1; + } + return tmp$ret$0; + }, protoOf(AbstractCollection).q = function() { + return 0 === this.k(); + }, protoOf(AbstractCollection).toString = function() { + return joinToString_0(this, ", ", "[", "]", VOID, VOID, (this$0 = this, function(it) { + return it === this$0 ? "(this Collection)" : toString_0(it); + })); + var this$0; + }, protoOf(AbstractCollection).toArray = function() { + return collectionToArray(this); + }, protoOf(IteratorImpl_0).i = function() { + return this.fb_1 < this.gb_1.k(); + }, protoOf(IteratorImpl_0).j = function() { + if (!this.i()) throw NoSuchElementException_init_$Create$(); + var tmp1 = this.fb_1; + return this.fb_1 = tmp1 + 1 | 0, this.gb_1.p(tmp1); + }, protoOf(Companion_4).r3 = function(index, size) { + if (index < 0 || index >= size) throw IndexOutOfBoundsException_init_$Create$_0("index: " + index + ", size: " + size); + }, protoOf(Companion_4).y2 = function(index, size) { + if (index < 0 || index > size) throw IndexOutOfBoundsException_init_$Create$_0("index: " + index + ", size: " + size); + }, protoOf(Companion_4).l2 = function(fromIndex, toIndex, size) { + if (fromIndex < 0 || toIndex > size) throw IndexOutOfBoundsException_init_$Create$_0("fromIndex: " + fromIndex + ", toIndex: " + toIndex + ", size: " + size); + if (fromIndex > toIndex) throw IllegalArgumentException_init_$Create$_0("fromIndex: " + fromIndex + " > toIndex: " + toIndex); + }, protoOf(Companion_4).p9 = function(startIndex, endIndex, size) { + if (startIndex < 0 || endIndex > size) throw IndexOutOfBoundsException_init_$Create$_0("startIndex: " + startIndex + ", endIndex: " + endIndex + ", size: " + size); + if (startIndex > endIndex) throw IllegalArgumentException_init_$Create$_0("startIndex: " + startIndex + " > endIndex: " + endIndex); + }, protoOf(Companion_4).g5 = function(oldCapacity, minCapacity) { + var newCapacity = oldCapacity + (oldCapacity >> 1) | 0; + return (newCapacity - minCapacity | 0) < 0 && (newCapacity = minCapacity), (newCapacity - 2147483639 | 0) > 0 && (newCapacity = minCapacity > 2147483639 ? 2147483647 : 2147483639), + newCapacity; + }, protoOf(Companion_4).e3 = function(c) { + for (var hashCode_0 = 1, tmp0_iterator = c.h(); tmp0_iterator.i(); ) { + var e = tmp0_iterator.j(), tmp = imul(31, hashCode_0), tmp2_elvis_lhs = null == e ? null : hashCode(e); + hashCode_0 = tmp + (null == tmp2_elvis_lhs ? 0 : tmp2_elvis_lhs) | 0; + } + return hashCode_0; + }, protoOf(Companion_4).d3 = function(c, other) { + if (c.k() !== other.k()) return !1; + for (var otherIterator = other.h(), tmp0_iterator = c.h(); tmp0_iterator.i(); ) { + if (!equals(tmp0_iterator.j(), otherIterator.j())) return !1; + } + return !0; + }, protoOf(AbstractList).h = function() { + return new IteratorImpl_0(this); + }, protoOf(AbstractList).equals = function(other) { + return other === this || !(null == other || !isInterface(other, KtList)) && Companion_instance_4.d3(this, other); + }, protoOf(AbstractList).hashCode = function() { + return Companion_instance_4.e3(this); + }, protoOf(AbstractMap$keys$1$iterator$1).i = function() { + return this.hb_1.i(); + }, protoOf(AbstractMap$keys$1$iterator$1).j = function() { + return this.hb_1.j().f1(); + }, protoOf(AbstractMap$values$1$iterator$1).i = function() { + return this.ib_1.i(); + }, protoOf(AbstractMap$values$1$iterator$1).j = function() { + return this.ib_1.j().g1(); + }, protoOf(AbstractMap$keys$1).a4 = function(element) { + return this.jb_1.h1(element); + }, protoOf(AbstractMap$keys$1).d1 = function(element) { + return (null == element || null != element) && this.a4(null == element || null != element ? element : THROW_CCE()); + }, protoOf(AbstractMap$keys$1).h = function() { + return new AbstractMap$keys$1$iterator$1(this.jb_1.m1().h()); + }, protoOf(AbstractMap$keys$1).k = function() { + return this.jb_1.k(); + }, protoOf(AbstractMap$values$1).f4 = function(element) { + return this.lb_1.i1(element); + }, protoOf(AbstractMap$values$1).d1 = function(element) { + return (null == element || null != element) && this.f4(null == element || null != element ? element : THROW_CCE()); + }, protoOf(AbstractMap$values$1).h = function() { + return new AbstractMap$values$1$iterator$1(this.lb_1.m1().h()); + }, protoOf(AbstractMap$values$1).k = function() { + return this.lb_1.k(); + }, protoOf(AbstractMap).h1 = function(key) { + return !(null == implFindEntry(this, key)); + }, protoOf(AbstractMap).i1 = function(value) { var tmp$ret$0; - return "function" == typeof (tmp$ret$0 = this.de_1) ? tmp$ret$0(this.ee_1, this.ce_1) : this.de_1.fe(this.ee_1, this.ce_1); - }, CombinedContext.prototype.x3 = plus, AbstractCoroutineContextElement.prototype.q3 = get, - AbstractCoroutineContextElement.prototype.w3 = fold, AbstractCoroutineContextElement.prototype.v3 = minusKey, - AbstractCoroutineContextElement.prototype.x3 = plus, InternalHashCodeMap.prototype.n8 = createJsMap, - _stableSortingIsSupported = null, _.$_$ = _.$_$ || {}, _.$_$.a = getKClassFromExpression, - _.$_$.b = getKClass, _.$_$.c = LazyThreadSafetyMode_PUBLICATION_getInstance, _.$_$.d = returnIfSuspended, - _.$_$.e = joinToString$default_0, _.$_$.f = joinToString$default, _.$_$.g = contains$default, - _.$_$.h = endsWith$default_1, _.$_$.i = indexOf$default, _.$_$.j = lastIndexOf$default_0, - _.$_$.k = lastIndexOf$default, _.$_$.l = replace$default_0, _.$_$.m = replace$default, - _.$_$.n = startsWith$default_1, _.$_$.o = substringAfterLast$default_0, _.$_$.p = substringAfterLast$default, - _.$_$.q = substringAfter$default, _.$_$.r = ArrayList_init_$Create$_0, _.$_$.s = ArrayList_init_$Create$, - _.$_$.t = ArrayList_init_$Create$_1, _.$_$.u = HashMap_init_$Create$_1, _.$_$.v = HashMap_init_$Create$, - _.$_$.w = HashSet_init_$Create$_0, _.$_$.x = HashSet_init_$Create$, _.$_$.y = LinkedHashMap_init_$Create$_1, - _.$_$.z = LinkedHashMap_init_$Create$, _.$_$.a1 = LinkedHashMap_init_$Create$_2, - _.$_$.b1 = LinkedHashSet_init_$Create$, _.$_$.c1 = CancellationException_init_$Create$, - _.$_$.d1 = CancellationException_init_$Init$_0, _.$_$.e1 = SafeContinuation_init_$Create$, - _.$_$.f1 = Regex_init_$Create$, _.$_$.g1 = StringBuilder_init_$Create$, _.$_$.h1 = StringBuilder_init_$Create$_0, - _.$_$.i1 = Error_init_$Init$_0, _.$_$.j1 = IllegalArgumentException_init_$Init$, - _.$_$.k1 = IllegalArgumentException_init_$Create$, _.$_$.l1 = IllegalArgumentException_init_$Init$_0, - _.$_$.m1 = IllegalStateException_init_$Create$, _.$_$.n1 = IllegalStateException_init_$Create$_0, - _.$_$.o1 = IndexOutOfBoundsException_init_$Create$, _.$_$.p1 = RuntimeException_init_$Init$_1, - _.$_$.q1 = RuntimeException_init_$Create$, _.$_$.r1 = UnsupportedOperationException_init_$Create$_0, - _.$_$.s1 = _Char___init__impl__6a9atx, _.$_$.t1 = Char__minus_impl_a2frrh, _.$_$.u1 = Char__toInt_impl_vasixd, - _.$_$.v1 = toString_0, _.$_$.w1 = _Result___init__impl__xyqfz8, _.$_$.x1 = Result__exceptionOrNull_impl_p6xea9, - _.$_$.y1 = _Result___get_value__impl__bjfvqg, _.$_$.z1 = Key_getInstance, _.$_$.a2 = EmptyCoroutineContext_getInstance, - _.$_$.b2 = Companion_getInstance_8, _.$_$.c2 = Companion_getInstance_4, _.$_$.d2 = Unit_getInstance, - _.$_$.e2 = ArrayList, _.$_$.f2 = Collection, _.$_$.g2 = LinkedHashMap, _.$_$.h2 = List, - _.$_$.i2 = Map, _.$_$.j2 = addAll, _.$_$.k2 = arrayCopy, _.$_$.l2 = checkIndexOverflow, - _.$_$.m2 = collectionSizeOrDefault, _.$_$.n2 = contentEquals, _.$_$.o2 = contentHashCode, - _.$_$.p2 = copyOf_0, _.$_$.q2 = copyOf, _.$_$.r2 = copyToArray, _.$_$.s2 = emptyList, - _.$_$.t2 = emptyMap, _.$_$.u2 = emptySet, _.$_$.v2 = firstOrNull, _.$_$.w2 = firstOrNull_0, - _.$_$.x2 = getOrNull, _.$_$.y2 = getValue, _.$_$.z2 = get_indices_0, _.$_$.a3 = get_indices, - _.$_$.b3 = get_lastIndex_1, _.$_$.c3 = get_lastIndex_2, _.$_$.d3 = lastOrNull, _.$_$.e3 = last, - _.$_$.f3 = listOf_0, _.$_$.g3 = listOf, _.$_$.h3 = mapCapacity, _.$_$.i3 = plus_2, - _.$_$.j3 = plus_0, _.$_$.k3 = plus_1, _.$_$.l3 = removeLast, _.$_$.m3 = singleOrNull, - _.$_$.n3 = sort, _.$_$.o3 = toBooleanArray, _.$_$.p3 = toHashSet, _.$_$.q3 = toList_0, - _.$_$.r3 = toList, _.$_$.s3 = toMap, _.$_$.t3 = withIndex, _.$_$.u3 = withIndex_0, - _.$_$.v3 = zip, _.$_$.w3 = CancellationException, _.$_$.x3 = get_COROUTINE_SUSPENDED, - _.$_$.y3 = createCoroutineUnintercepted, _.$_$.z3 = intercepted, _.$_$.a4 = get_EmptyContinuation, - _.$_$.b4 = AbstractCoroutineContextElement, _.$_$.c4 = AbstractCoroutineContextKey, - _.$_$.d4 = get_0, _.$_$.e4 = minusKey_0, _.$_$.f4 = ContinuationInterceptor, _.$_$.g4 = Continuation, - _.$_$.h4 = fold, _.$_$.i4 = get, _.$_$.j4 = minusKey, _.$_$.k4 = Element, _.$_$.l4 = plus, - _.$_$.m4 = CoroutineImpl, _.$_$.n4 = startCoroutine, _.$_$.o4 = anyToString, _.$_$.p4 = arrayIterator, - _.$_$.q4 = booleanArray, _.$_$.r4 = captureStack, _.$_$.s4 = charArrayOf, _.$_$.t4 = charArray, - _.$_$.u4 = charSequenceGet, _.$_$.v4 = charSequenceLength, _.$_$.w4 = charSequenceSubSequence, - _.$_$.x4 = classMeta, _.$_$.y4 = equals_0, _.$_$.z4 = extendThrowable, _.$_$.a5 = fillArrayVal, - _.$_$.b5 = getPropertyCallableRef, _.$_$.c5 = getStringHashCode, _.$_$.d5 = hashCode, - _.$_$.e5 = interfaceMeta, _.$_$.f5 = isCharSequence, _.$_$.g5 = isInterface, _.$_$.h5 = isObject, - _.$_$.i5 = longArray, _.$_$.j5 = newThrowable, _.$_$.k5 = numberToChar, _.$_$.l5 = numberToInt, - _.$_$.m5 = numberToLong, _.$_$.n5 = objectMeta, _.$_$.o5 = setMetadataFor, _.$_$.p5 = toByte, - _.$_$.q5 = toLong_0, _.$_$.r5 = toString_2, _.$_$.s5 = abs, _.$_$.t5 = roundToInt, - _.$_$.u5 = coerceAtLeast, _.$_$.v5 = coerceAtMost, _.$_$.w5 = step, _.$_$.x5 = until, - _.$_$.y5 = KProperty1, _.$_$.z5 = isBlank, _.$_$.a6 = padStart, _.$_$.b6 = removePrefix, - _.$_$.c6 = removeSuffix, _.$_$.d6 = toBoolean, _.$_$.e6 = toIntOrNull, _.$_$.f6 = toInt, - _.$_$.g6 = toInt_0, _.$_$.h6 = toLong, _.$_$.i6 = trimEnd_0, _.$_$.j6 = trimEnd, - _.$_$.k6 = trimIndent, _.$_$.l6 = trimStart, _.$_$.m6 = trim, _.$_$.n6 = Char, _.$_$.o6 = DeepRecursiveFunction, - _.$_$.p6 = DeepRecursiveScope, _.$_$.q6 = Enum, _.$_$.r6 = Error_0, _.$_$.s6 = IllegalArgumentException, - _.$_$.t6 = Long, _.$_$.u6 = RuntimeException, _.$_$.v6 = THROW_CCE, _.$_$.w6 = Unit, - _.$_$.x6 = UnsupportedOperationException, _.$_$.y6 = countTrailingZeroBits, _.$_$.z6 = createFailure, - _.$_$.a7 = ensureNotNull, _.$_$.b7 = invoke, _.$_$.c7 = lazy, _.$_$.d7 = lazy_0, - _.$_$.e7 = noWhenBranchMatchedException, _.$_$.f7 = plus_3, _.$_$.g7 = printStackTrace, - _.$_$.h7 = stackTraceToString, _.$_$.i7 = throwUninitializedPropertyAccessException, - _.$_$.j7 = toString_1, _.$_$.k7 = to, _; - }) ? __WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__) : __WEBPACK_AMD_DEFINE_FACTORY__) || (module.exports = __WEBPACK_AMD_DEFINE_RESULT__); - }, - 9925: function(module, exports, __webpack_require__) { - var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; - __WEBPACK_AMD_DEFINE_ARRAY__ = [ exports, __webpack_require__(9213), __webpack_require__(69), __webpack_require__(9648), __webpack_require__(9475), __webpack_require__(7127), __webpack_require__(7646), __webpack_require__(8744) ], - void 0 === (__WEBPACK_AMD_DEFINE_RESULT__ = "function" == typeof (__WEBPACK_AMD_DEFINE_FACTORY__ = function(_, $module$_actions_cache_3s3lfo, $module$_actions_exec_fwz1pt, $module$_actions_glob_fwy0ei, $module$_actions_io_79d2l8, $module$_actions_tool_cache_bge9h1, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_kotlin) { - "use strict"; - var restoreCache = $module$_actions_cache_3s3lfo.restoreCache, saveCache = $module$_actions_cache_3s3lfo.saveCache, exec = $module$_actions_exec_fwz1pt.exec, create = $module$_actions_glob_fwy0ei.create, mkdirP = $module$_actions_io_79d2l8.mkdirP, rmRF = $module$_actions_io_79d2l8.rmRF, cacheDir = $module$_actions_tool_cache_bge9h1.cacheDir, downloadTool = $module$_actions_tool_cache_bge9h1.downloadTool, extractZip = $module$_actions_tool_cache_bge9h1.extractZip, await_0 = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a, Unit_getInstance = kotlin_kotlin.$_$.d2, CoroutineImpl = kotlin_kotlin.$_$.m4, get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.x3, classMeta = kotlin_kotlin.$_$.x4, setMetadataFor = kotlin_kotlin.$_$.o5; - function restoreCache_0(paths, primaryKey, $cont) { - return await_0(restoreCache(paths, primaryKey), $cont); - } - function restoreCache_1(paths, primaryKey, restoreKeys, $cont) { - return await_0(restoreCache(paths, primaryKey, restoreKeys), $cont); - } - function saveCache_0(paths, key, $cont) { - return await_0(saveCache(paths, key), $cont); - } - function exec_0(commandLine, args, options, $cont) { - return await_0(exec(commandLine, args, options), $cont); - } - function create_0(patterns, $cont) { - return await_0(create(patterns), $cont); - } - function mkdirP_0(fsPath, $cont) { - var tmp = new $mkdirPCOROUTINE$0(fsPath, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); - } - function $mkdirPCOROUTINE$0(fsPath, resultContinuation) { - CoroutineImpl.call(this, resultContinuation), this.er_1 = fsPath; - } - function rmRF_0(inputPath, $cont) { - var tmp = new $rmRFCOROUTINE$1(inputPath, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); - } - function $rmRFCOROUTINE$1(inputPath, resultContinuation) { - CoroutineImpl.call(this, resultContinuation), this.nr_1 = inputPath; - } - function cacheDir_0(sourceDir, tool, version, $cont) { - return await_0(cacheDir(sourceDir, tool, version), $cont); - } - function downloadTool_0(url, $cont) { - return await_0(downloadTool(url), $cont); - } - function extractZip_0(file, $cont) { - return await_0(extractZip(file), $cont); - } - return setMetadataFor($mkdirPCOROUTINE$0, "$mkdirPCOROUTINE$0", classMeta, CoroutineImpl, void 0, void 0, void 0, []), - setMetadataFor($rmRFCOROUTINE$1, "$rmRFCOROUTINE$1", classMeta, CoroutineImpl, void 0, void 0, void 0, []), - $mkdirPCOROUTINE$0.prototype.td = function() { - var suspendResult = this.nd_1; - $sm: for (;;) try { - switch (this.ld_1) { - case 0: - if (this.md_1 = 2, this.ld_1 = 1, (suspendResult = await_0(mkdirP(this.er_1), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 1: - return Unit_getInstance(); - - case 2: - throw this.od_1; + $l$block_0: { + var this_0 = this.m1(); + if (!!isInterface(this_0, Collection) && this_0.q()) tmp$ret$0 = !1; else { + for (var tmp0_iterator = this_0.h(); tmp0_iterator.i(); ) { + if (equals(tmp0_iterator.j().g1(), value)) { + tmp$ret$0 = !0; + break $l$block_0; + } + } + tmp$ret$0 = !1; } - } catch ($p) { - if (2 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; } - }, $rmRFCOROUTINE$1.prototype.td = function() { - var suspendResult = this.nd_1; - $sm: for (;;) try { - switch (this.ld_1) { - case 0: - if (this.md_1 = 2, this.ld_1 = 1, (suspendResult = await_0(rmRF(this.nr_1), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 1: - return Unit_getInstance(); - - case 2: - throw this.od_1; + return tmp$ret$0; + }, protoOf(AbstractMap).n3 = function(entry) { + if (null == entry || !isInterface(entry, Entry)) return !1; + var key = entry.f1(), value = entry.g1(), ourValue = (isInterface(this, KtMap) ? this : THROW_CCE()).j1(key); + return !!equals(value, ourValue) && !(null == ourValue && !(isInterface(this, KtMap) ? this : THROW_CCE()).h1(key)); + }, protoOf(AbstractMap).equals = function(other) { + if (other === this) return !0; + if (null == other || !isInterface(other, KtMap)) return !1; + if (this.k() !== other.k()) return !1; + var tmp$ret$0; + $l$block_0: { + var this_0 = other.m1(); + if (!!isInterface(this_0, Collection) && this_0.q()) tmp$ret$0 = !0; else { + for (var tmp0_iterator = this_0.h(); tmp0_iterator.i(); ) { + var element = tmp0_iterator.j(); + if (!this.n3(element)) { + tmp$ret$0 = !1; + break $l$block_0; + } + } + tmp$ret$0 = !0; } - } catch ($p) { - if (2 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; } - }, _.$_$ = _.$_$ || {}, _.$_$.a = restoreCache_0, _.$_$.b = restoreCache_1, _.$_$.c = saveCache_0, - _.$_$.d = exec_0, _.$_$.e = create_0, _.$_$.f = mkdirP_0, _.$_$.g = rmRF_0, _.$_$.h = cacheDir_0, - _.$_$.i = downloadTool_0, _.$_$.j = extractZip_0, _; - }) ? __WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__) : __WEBPACK_AMD_DEFINE_FACTORY__) || (module.exports = __WEBPACK_AMD_DEFINE_RESULT__); - }, - 5162: function(module, exports, __webpack_require__) { - var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; - __WEBPACK_AMD_DEFINE_ARRAY__ = [ exports, __webpack_require__(8744) ], void 0 === (__WEBPACK_AMD_DEFINE_RESULT__ = "function" == typeof (__WEBPACK_AMD_DEFINE_FACTORY__ = function(_, kotlin_kotlin) { - "use strict"; - function Record() { - return {}; - } - function recordOf(pairs) { - for (var record = Record(), indexedObject = pairs, inductionVariable = 0, last = indexedObject.length; inductionVariable < last; ) { - var tmp1_loop_parameter = indexedObject[inductionVariable]; - inductionVariable = inductionVariable + 1 | 0; - var key = tmp1_loop_parameter.i2(), value = tmp1_loop_parameter.j2(); - record[key] = value; + return tmp$ret$0; + }, protoOf(AbstractMap).j1 = function(key) { + var tmp0_safe_receiver = implFindEntry(this, key); + return null == tmp0_safe_receiver ? null : tmp0_safe_receiver.g1(); + }, protoOf(AbstractMap).hashCode = function() { + return hashCode(this.m1()); + }, protoOf(AbstractMap).q = function() { + return 0 === this.k(); + }, protoOf(AbstractMap).k = function() { + return this.m1().k(); + }, protoOf(AbstractMap).k1 = function() { + if (null == this.l3_1) { + this.l3_1 = new AbstractMap$keys$1(this); + } + return ensureNotNull(this.l3_1); + }, protoOf(AbstractMap).toString = function() { + var this$0; + return joinToString_0(this.m1(), ", ", "{", "}", VOID, VOID, (this$0 = this, function(it) { + return this$0.kb(it); + })); + }, protoOf(AbstractMap).kb = function(entry) { + return toString_2(this, entry.f1()) + "=" + toString_2(this, entry.g1()); + }, protoOf(AbstractMap).l1 = function() { + if (null == this.m3_1) { + this.m3_1 = new AbstractMap$values$1(this); + } + return ensureNotNull(this.m3_1); + }, protoOf(Companion_6).p3 = function(c) { + for (var hashCode_0 = 0, tmp0_iterator = c.h(); tmp0_iterator.i(); ) { + var element = tmp0_iterator.j(), tmp = hashCode_0, tmp2_elvis_lhs = null == element ? null : hashCode(element); + hashCode_0 = tmp + (null == tmp2_elvis_lhs ? 0 : tmp2_elvis_lhs) | 0; + } + return hashCode_0; + }, protoOf(Companion_6).o3 = function(c, other) { + return c.k() === other.k() && c.e1(other); + }, protoOf(AbstractSet).equals = function(other) { + return other === this || !(null == other || !isInterface(other, KtSet)) && Companion_instance_6.o3(this, other); + }, protoOf(AbstractSet).hashCode = function() { + return Companion_instance_6.p3(this); + }, protoOf(ArrayDeque).k = function() { + return this.pb_1; + }, protoOf(ArrayDeque).q = function() { + return 0 === this.pb_1; + }, protoOf(ArrayDeque).sb = function(element) { + registerModification_0(this), ensureCapacity_0(this, this.pb_1 + 1 | 0), this.nb_1 = decremented(this, this.nb_1), + this.ob_1[this.nb_1] = element, this.pb_1 = this.pb_1 + 1 | 0; + }, protoOf(ArrayDeque).tb = function(element) { + registerModification_0(this), ensureCapacity_0(this, this.pb_1 + 1 | 0); + var tmp = this.ob_1, index = this.pb_1; + tmp[positiveMod(this, this.nb_1 + index | 0)] = element, this.pb_1 = this.pb_1 + 1 | 0; + }, protoOf(ArrayDeque).ub = function() { + if (this.q()) throw NoSuchElementException_init_$Create$_0("ArrayDeque is empty."); + registerModification_0(this); + var internalIndex = this.nb_1, tmp = this.ob_1[internalIndex], element = null == tmp || null != tmp ? tmp : THROW_CCE(); + return this.ob_1[this.nb_1] = null, this.nb_1 = incremented(this, this.nb_1), this.pb_1 = this.pb_1 - 1 | 0, + element; + }, protoOf(ArrayDeque).vb = function() { + return this.q() ? null : this.ub(); + }, protoOf(ArrayDeque).wb = function() { + if (this.q()) throw NoSuchElementException_init_$Create$_0("ArrayDeque is empty."); + registerModification_0(this); + var index = get_lastIndex_2(this), internalLastIndex = positiveMod(this, this.nb_1 + index | 0), tmp = this.ob_1[internalLastIndex], element = null == tmp || null != tmp ? tmp : THROW_CCE(); + return this.ob_1[internalLastIndex] = null, this.pb_1 = this.pb_1 - 1 | 0, element; + }, protoOf(ArrayDeque).e = function(element) { + return this.tb(element), !0; + }, protoOf(ArrayDeque).z2 = function(index, element) { + if (Companion_instance_4.y2(index, this.pb_1), index === this.pb_1) return this.tb(element), + Unit_instance; + if (0 === index) return this.sb(element), Unit_instance; + registerModification_0(this), ensureCapacity_0(this, this.pb_1 + 1 | 0); + var internalIndex = positiveMod(this, this.nb_1 + index | 0); + if (index < this.pb_1 + 1 >> 1) { + var decrementedInternalIndex = decremented(this, internalIndex), decrementedHead = decremented(this, this.nb_1); + if (decrementedInternalIndex >= this.nb_1) this.ob_1[decrementedHead] = this.ob_1[this.nb_1], + arrayCopy(this.ob_1, this.ob_1, this.nb_1, this.nb_1 + 1 | 0, decrementedInternalIndex + 1 | 0); else arrayCopy(this.ob_1, this.ob_1, this.nb_1 - 1 | 0, this.nb_1, this.ob_1.length), + this.ob_1[this.ob_1.length - 1 | 0] = this.ob_1[0], arrayCopy(this.ob_1, this.ob_1, 0, 1, decrementedInternalIndex + 1 | 0); + this.ob_1[decrementedInternalIndex] = element, this.nb_1 = decrementedHead; + } else { + var index_0 = this.pb_1, tail = positiveMod(this, this.nb_1 + index_0 | 0); + if (internalIndex < tail) arrayCopy(this.ob_1, this.ob_1, internalIndex + 1 | 0, internalIndex, tail); else arrayCopy(this.ob_1, this.ob_1, 1, 0, tail), + this.ob_1[0] = this.ob_1[this.ob_1.length - 1 | 0], arrayCopy(this.ob_1, this.ob_1, internalIndex + 1 | 0, internalIndex, this.ob_1.length - 1 | 0); + this.ob_1[internalIndex] = element; + } + this.pb_1 = this.pb_1 + 1 | 0; + }, protoOf(ArrayDeque).o = function(elements) { + if (elements.q()) return !1; + registerModification_0(this), ensureCapacity_0(this, this.pb_1 + elements.k() | 0); + var index = this.pb_1; + return function($this, internalIndex, elements) { + var iterator = elements.h(), inductionVariable = internalIndex, last = $this.ob_1.length; + if (inductionVariable < last) $l$loop: do { + var index = inductionVariable; + if (inductionVariable = inductionVariable + 1 | 0, !iterator.i()) break $l$loop; + $this.ob_1[index] = iterator.j(); + } while (inductionVariable < last); + var inductionVariable_0 = 0, last_0 = $this.nb_1; + if (inductionVariable_0 < last_0) $l$loop_0: do { + var index_0 = inductionVariable_0; + if (inductionVariable_0 = inductionVariable_0 + 1 | 0, !iterator.i()) break $l$loop_0; + $this.ob_1[index_0] = iterator.j(); + } while (inductionVariable_0 < last_0); + $this.pb_1 = $this.pb_1 + elements.k() | 0; + }(this, positiveMod(this, this.nb_1 + index | 0), elements), !0; + }, protoOf(ArrayDeque).p = function(index) { + Companion_instance_4.r3(index, this.pb_1); + var internalIndex = positiveMod(this, this.nb_1 + index | 0), tmp = this.ob_1[internalIndex]; + return null == tmp || null != tmp ? tmp : THROW_CCE(); + }, protoOf(ArrayDeque).d1 = function(element) { + return !(-1 === this.b3(element)); + }, protoOf(ArrayDeque).b3 = function(element) { + var index = this.pb_1, tail = positiveMod(this, this.nb_1 + index | 0); + if (this.nb_1 < tail) { + var inductionVariable = this.nb_1; + if (inductionVariable < tail) do { + var index_0 = inductionVariable; + if (inductionVariable = inductionVariable + 1 | 0, equals(element, this.ob_1[index_0])) return index_0 - this.nb_1 | 0; + } while (inductionVariable < tail); + } else if (this.nb_1 >= tail) { + var inductionVariable_0 = this.nb_1, last = this.ob_1.length; + if (inductionVariable_0 < last) do { + var index_1 = inductionVariable_0; + if (inductionVariable_0 = inductionVariable_0 + 1 | 0, equals(element, this.ob_1[index_1])) return index_1 - this.nb_1 | 0; + } while (inductionVariable_0 < last); + var inductionVariable_1 = 0; + if (inductionVariable_1 < tail) do { + var index_2 = inductionVariable_1; + if (inductionVariable_1 = inductionVariable_1 + 1 | 0, equals(element, this.ob_1[index_2])) return (index_2 + this.ob_1.length | 0) - this.nb_1 | 0; + } while (inductionVariable_1 < tail); } - return record; - } - return kotlin_kotlin.$_$.d2, _.$_$ = _.$_$ || {}, _.$_$.a = recordOf, _; - }) ? __WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__) : __WEBPACK_AMD_DEFINE_FACTORY__) || (module.exports = __WEBPACK_AMD_DEFINE_RESULT__); - }, - 3814: function(module, exports, __webpack_require__) { - var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; - __WEBPACK_AMD_DEFINE_ARRAY__ = [ exports, __webpack_require__(3977), __webpack_require__(6402), __webpack_require__(8744), __webpack_require__(7646) ], - void 0 === (__WEBPACK_AMD_DEFINE_RESULT__ = "function" == typeof (__WEBPACK_AMD_DEFINE_FACTORY__ = function(_, $module$node_fs_promises_daq1pm, $module$node_stream_promises_chc41p, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core) { - "use strict"; - var chmod = $module$node_fs_promises_daq1pm.chmod, mkdir = $module$node_fs_promises_daq1pm.mkdir, readFile = $module$node_fs_promises_daq1pm.readFile, rename = $module$node_fs_promises_daq1pm.rename, stat = $module$node_fs_promises_daq1pm.stat, unlink = $module$node_fs_promises_daq1pm.unlink, writeFile = $module$node_fs_promises_daq1pm.writeFile, writeFile_0 = $module$node_fs_promises_daq1pm.writeFile, finished = $module$node_stream_promises_chc41p.finished, Unit_getInstance = kotlin_kotlin.$_$.d2, CoroutineImpl = kotlin_kotlin.$_$.m4, await_0 = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a, get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.x3, classMeta = kotlin_kotlin.$_$.x4, setMetadataFor = kotlin_kotlin.$_$.o5; - function chmod_0(path, mode, $cont) { - var tmp = new $chmodCOROUTINE$0(path, mode, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); - } - function $chmodCOROUTINE$0(path, mode, resultContinuation) { - CoroutineImpl.call(this, resultContinuation), this.oo_1 = path, this.po_1 = mode; - } - function mkdir_0(path, options, $cont) { - return await_0(mkdir(path, options), $cont); - } - function readFile_0(path, options, $cont) { - return await_0(readFile(path, options), $cont); - } - function rename_0(oldPath, newPath, $cont) { - var tmp = new $renameCOROUTINE$1(oldPath, newPath, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); - } - function $renameCOROUTINE$1(oldPath, newPath, resultContinuation) { - CoroutineImpl.call(this, resultContinuation), this.yo_1 = oldPath, this.zo_1 = newPath; - } - function stat_0(path, $cont) { - return await_0(stat(path), $cont); - } - function unlink_0(path, $cont) { - var tmp = new $unlinkCOROUTINE$2(path, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); - } - function $unlinkCOROUTINE$2(path, resultContinuation) { - CoroutineImpl.call(this, resultContinuation), this.ip_1 = path; - } - function writeFile_1(file, data, $cont) { - var tmp = new $writeFileCOROUTINE$3(file, data, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); - } - function writeFile_2(file, data, options, $cont) { - var tmp = new $writeFileCOROUTINE$4(file, data, options, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); - } - function $writeFileCOROUTINE$3(file, data, resultContinuation) { - CoroutineImpl.call(this, resultContinuation), this.rp_1 = file, this.sp_1 = data; - } - function $writeFileCOROUTINE$4(file, data, options, resultContinuation) { - CoroutineImpl.call(this, resultContinuation), this.bq_1 = file, this.cq_1 = data, - this.dq_1 = options; - } - function finished_0(stream, $cont) { - var tmp = new $finishedCOROUTINE$5(stream, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); - } - function $finishedCOROUTINE$5(stream, resultContinuation) { - CoroutineImpl.call(this, resultContinuation), this.mq_1 = stream; - } - return setMetadataFor($chmodCOROUTINE$0, "$chmodCOROUTINE$0", classMeta, CoroutineImpl, void 0, void 0, void 0, []), - setMetadataFor($renameCOROUTINE$1, "$renameCOROUTINE$1", classMeta, CoroutineImpl, void 0, void 0, void 0, []), - setMetadataFor($unlinkCOROUTINE$2, "$unlinkCOROUTINE$2", classMeta, CoroutineImpl, void 0, void 0, void 0, []), - setMetadataFor($writeFileCOROUTINE$3, "$writeFileCOROUTINE$3", classMeta, CoroutineImpl, void 0, void 0, void 0, []), - setMetadataFor($writeFileCOROUTINE$4, "$writeFileCOROUTINE$4", classMeta, CoroutineImpl, void 0, void 0, void 0, []), - setMetadataFor($finishedCOROUTINE$5, "$finishedCOROUTINE$5", classMeta, CoroutineImpl, void 0, void 0, void 0, []), - $chmodCOROUTINE$0.prototype.td = function() { - var suspendResult = this.nd_1; - $sm: for (;;) try { - switch (this.ld_1) { - case 0: - if (this.md_1 = 2, this.ld_1 = 1, (suspendResult = await_0(chmod(this.oo_1, this.po_1), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 1: - return Unit_getInstance(); - - case 2: - throw this.od_1; + return -1; + }, protoOf(ArrayDeque).t2 = function(index) { + if (Companion_instance_4.r3(index, this.pb_1), index === get_lastIndex_2(this)) return this.wb(); + if (0 === index) return this.ub(); + registerModification_0(this); + var internalIndex = positiveMod(this, this.nb_1 + index | 0), tmp = this.ob_1[internalIndex], element = null == tmp || null != tmp ? tmp : THROW_CCE(); + if (index < this.pb_1 >> 1) { + if (internalIndex >= this.nb_1) arrayCopy(this.ob_1, this.ob_1, this.nb_1 + 1 | 0, this.nb_1, internalIndex); else arrayCopy(this.ob_1, this.ob_1, 1, 0, internalIndex), + this.ob_1[0] = this.ob_1[this.ob_1.length - 1 | 0], arrayCopy(this.ob_1, this.ob_1, this.nb_1 + 1 | 0, this.nb_1, this.ob_1.length - 1 | 0); + this.ob_1[this.nb_1] = null, this.nb_1 = incremented(this, this.nb_1); + } else { + var index_0 = get_lastIndex_2(this), internalLastIndex = positiveMod(this, this.nb_1 + index_0 | 0); + if (internalIndex <= internalLastIndex) arrayCopy(this.ob_1, this.ob_1, internalIndex, internalIndex + 1 | 0, internalLastIndex + 1 | 0); else arrayCopy(this.ob_1, this.ob_1, internalIndex, internalIndex + 1 | 0, this.ob_1.length), + this.ob_1[this.ob_1.length - 1 | 0] = this.ob_1[0], arrayCopy(this.ob_1, this.ob_1, 0, 1, internalLastIndex + 1 | 0); + this.ob_1[internalLastIndex] = null; + } + return this.pb_1 = this.pb_1 - 1 | 0, element; + }, protoOf(ArrayDeque).p1 = function() { + if (!this.q()) { + registerModification_0(this); + var index = this.pb_1, tail = positiveMod(this, this.nb_1 + index | 0); + nullifyNonEmpty(this, this.nb_1, tail); + } + this.nb_1 = 0, this.pb_1 = 0; + }, protoOf(ArrayDeque).xb = function(array) { + var tmp = array.length >= this.pb_1 ? array : function(reference, size) { + return fillArrayVal(Array(size), null); + }(0, this.pb_1), dest = isArray(tmp) ? tmp : THROW_CCE(), index = this.pb_1, tail = positiveMod(this, this.nb_1 + index | 0); + this.nb_1 < tail ? arrayCopy(this.ob_1, dest, 0, this.nb_1, tail) : this.q() || (arrayCopy(this.ob_1, dest, 0, this.nb_1, this.ob_1.length), + arrayCopy(this.ob_1, dest, this.ob_1.length - this.nb_1 | 0, 0, tail)); + var tmp_0 = function(collectionSize, array) { + return array; + }(this.pb_1, dest); + return isArray(tmp_0) ? tmp_0 : THROW_CCE(); + }, protoOf(ArrayDeque).t3 = function() { + var size = this.pb_1, tmp$ret$0 = fillArrayVal(Array(size), null); + return this.xb(tmp$ret$0); + }, protoOf(ArrayDeque).toArray = function() { + return this.t3(); + }, protoOf(ArrayDeque).a3 = function(fromIndex, toIndex) { + Companion_instance_4.l2(fromIndex, toIndex, this.pb_1); + var length = toIndex - fromIndex | 0; + if (0 === length) return Unit_instance; + if (length === this.pb_1) return this.p1(), Unit_instance; + if (1 === length) return this.t2(fromIndex), Unit_instance; + if (registerModification_0(this), fromIndex < (this.pb_1 - toIndex | 0)) { + !function($this, fromIndex, toIndex) { + for (var index = fromIndex - 1 | 0, copyFromIndex = positiveMod($this, $this.nb_1 + index | 0), index_0 = toIndex - 1 | 0, copyToIndex = positiveMod($this, $this.nb_1 + index_0 | 0), copyCount = fromIndex; copyCount > 0; ) { + var a = copyCount, b = copyFromIndex + 1 | 0, c = copyToIndex + 1 | 0, segmentLength = Math.min(a, b, c); + arrayCopy($this.ob_1, $this.ob_1, 1 + (copyToIndex - segmentLength | 0) | 0, 1 + (copyFromIndex - segmentLength | 0) | 0, copyFromIndex + 1 | 0), + copyFromIndex = negativeMod($this, copyFromIndex - segmentLength | 0), copyToIndex = negativeMod($this, copyToIndex - segmentLength | 0), + copyCount = copyCount - segmentLength | 0; + } + }(this, fromIndex, toIndex); + var newHead = positiveMod(this, this.nb_1 + length | 0); + nullifyNonEmpty(this, this.nb_1, newHead), this.nb_1 = newHead; + } else { + !function($this, fromIndex, toIndex) { + for (var copyFromIndex = positiveMod($this, $this.nb_1 + toIndex | 0), copyToIndex = positiveMod($this, $this.nb_1 + fromIndex | 0), copyCount = $this.pb_1 - toIndex | 0; copyCount > 0; ) { + var a = copyCount, b = $this.ob_1.length - copyFromIndex | 0, c = $this.ob_1.length - copyToIndex | 0, segmentLength = Math.min(a, b, c); + arrayCopy($this.ob_1, $this.ob_1, copyToIndex, copyFromIndex, copyFromIndex + segmentLength | 0), + copyFromIndex = positiveMod($this, copyFromIndex + segmentLength | 0), copyToIndex = positiveMod($this, copyToIndex + segmentLength | 0), + copyCount = copyCount - segmentLength | 0; + } + }(this, fromIndex, toIndex); + var index = this.pb_1, tail = positiveMod(this, this.nb_1 + index | 0); + nullifyNonEmpty(this, negativeMod(this, tail - length | 0), tail); + } + this.pb_1 = this.pb_1 - length | 0; + }, protoOf(EmptyList).equals = function(other) { + return !(null == other || !isInterface(other, KtList)) && other.q(); + }, protoOf(EmptyList).hashCode = function() { + return 1; + }, protoOf(EmptyList).toString = function() { + return "[]"; + }, protoOf(EmptyList).k = function() { + return 0; + }, protoOf(EmptyList).q = function() { + return !0; + }, protoOf(EmptyList).zb = function(elements) { + return elements.q(); + }, protoOf(EmptyList).e1 = function(elements) { + return this.zb(elements); + }, protoOf(EmptyList).p = function(index) { + throw IndexOutOfBoundsException_init_$Create$_0("Empty list doesn't contain element at index " + index + "."); + }, protoOf(EmptyList).h = function() { + return EmptyIterator_instance; + }, protoOf(ArrayAsCollection).k = function() { + return this.ac_1.length; + }, protoOf(ArrayAsCollection).q = function() { + return 0 === this.ac_1.length; + }, protoOf(ArrayAsCollection).cc = function(element) { + return function(_this__u8e3s4, element) { + return indexOf(_this__u8e3s4, element) >= 0; + }(this.ac_1, element); + }, protoOf(ArrayAsCollection).dc = function(elements) { + var tmp$ret$0; + $l$block_0: { + if (!!isInterface(elements, Collection) && elements.q()) tmp$ret$0 = !0; else { + for (var tmp0_iterator = elements.h(); tmp0_iterator.i(); ) { + var element = tmp0_iterator.j(); + if (!this.cc(element)) { + tmp$ret$0 = !1; + break $l$block_0; + } + } + tmp$ret$0 = !0; } - } catch ($p) { - if (2 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; } - }, $renameCOROUTINE$1.prototype.td = function() { - var suspendResult = this.nd_1; - $sm: for (;;) try { - switch (this.ld_1) { + return tmp$ret$0; + }, protoOf(ArrayAsCollection).e1 = function(elements) { + return this.dc(elements); + }, protoOf(ArrayAsCollection).h = function() { + return arrayIterator(this.ac_1); + }, protoOf(EmptyIterator).i = function() { + return !1; + }, protoOf(EmptyIterator).j = function() { + throw NoSuchElementException_init_$Create$(); + }, protoOf(IndexedValue).gc = function() { + return this.ec_1; + }, protoOf(IndexedValue).hc = function() { + return this.fc_1; + }, protoOf(IndexedValue).toString = function() { + return "IndexedValue(index=" + this.ec_1 + ", value=" + toString_0(this.fc_1) + ")"; + }, protoOf(IndexedValue).hashCode = function() { + var result = this.ec_1; + return result = imul(result, 31) + (null == this.fc_1 ? 0 : hashCode(this.fc_1)) | 0; + }, protoOf(IndexedValue).equals = function(other) { + if (this === other) return !0; + if (!(other instanceof IndexedValue)) return !1; + var tmp0_other_with_cast = other instanceof IndexedValue ? other : THROW_CCE(); + return this.ec_1 === tmp0_other_with_cast.ec_1 && !!equals(this.fc_1, tmp0_other_with_cast.fc_1); + }, protoOf(IndexingIterable).h = function() { + return new IndexingIterator(this.ic_1()); + }, protoOf(IndexingIterator).i = function() { + return this.jc_1.i(); + }, protoOf(IndexingIterator).j = function() { + var tmp1 = this.kc_1; + return this.kc_1 = tmp1 + 1 | 0, new IndexedValue(checkIndexOverflow(tmp1), this.jc_1.j()); + }, protoOf(EmptyMap).equals = function(other) { + return !(null == other || !isInterface(other, KtMap)) && other.q(); + }, protoOf(EmptyMap).hashCode = function() { + return 0; + }, protoOf(EmptyMap).toString = function() { + return "{}"; + }, protoOf(EmptyMap).k = function() { + return 0; + }, protoOf(EmptyMap).q = function() { + return !0; + }, protoOf(EmptyMap).nc = function(key) { + return !1; + }, protoOf(EmptyMap).h1 = function(key) { + return (null == key || null != key) && this.nc(null == key || null != key ? key : THROW_CCE()); + }, protoOf(EmptyMap).oc = function(key) { + return null; + }, protoOf(EmptyMap).j1 = function(key) { + return null != key && null == key ? null : this.oc(null == key || null != key ? key : THROW_CCE()); + }, protoOf(EmptyMap).m1 = function() { + return EmptySet_getInstance(); + }, protoOf(EmptyMap).k1 = function() { + return EmptySet_getInstance(); + }, protoOf(EmptyMap).l1 = function() { + return EmptyList_getInstance(); + }, protoOf(IntIterator).j = function() { + return this.rc(); + }, protoOf(SequenceBuilderIterator).i = function() { + for (;;) { + switch (this.tc_1) { case 0: - if (this.md_1 = 2, this.ld_1 = 1, (suspendResult = await_0(rename(this.yo_1, this.zo_1), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; + break; case 1: - return Unit_getInstance(); - - case 2: - throw this.od_1; - } - } catch ($p) { - if (2 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; - } - }, $unlinkCOROUTINE$2.prototype.td = function() { - var suspendResult = this.nd_1; - $sm: for (;;) try { - switch (this.ld_1) { - case 0: - if (this.md_1 = 2, this.ld_1 = 1, (suspendResult = await_0(unlink(this.ip_1), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; + if (ensureNotNull(this.vc_1).i()) return this.tc_1 = 2, !0; + this.vc_1 = null; + break; - case 1: - return Unit_getInstance(); + case 4: + return !1; + case 3: case 2: - throw this.od_1; + return !0; + + default: + throw exceptionalState(this); } - } catch ($p) { - if (2 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; + this.tc_1 = 5; + var step = ensureNotNull(this.wc_1); + this.wc_1 = null; + var tmp$ret$0 = Unit_instance; + step.g7(tmp$ret$0); } - }, $writeFileCOROUTINE$3.prototype.td = function() { - var suspendResult = this.nd_1; - $sm: for (;;) try { - switch (this.ld_1) { - case 0: - if (this.md_1 = 2, this.ld_1 = 1, (suspendResult = await_0(writeFile(this.rp_1, this.sp_1), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; + }, protoOf(SequenceBuilderIterator).j = function() { + switch (this.tc_1) { + case 0: + case 1: + return function($this) { + if ($this.i()) return $this.j(); + throw NoSuchElementException_init_$Create$(); + }(this); - case 1: - return Unit_getInstance(); + case 2: + return this.tc_1 = 1, ensureNotNull(this.vc_1).j(); - case 2: - throw this.od_1; + case 3: + this.tc_1 = 0; + var tmp = this.uc_1, result = null == tmp || null != tmp ? tmp : THROW_CCE(); + return this.uc_1 = null, result; + + default: + throw exceptionalState(this); + } + }, protoOf(SequenceBuilderIterator).sc = function(value, $completion) { + return this.uc_1 = value, this.tc_1 = 3, this.wc_1 = $completion, get_COROUTINE_SUSPENDED(); + }, protoOf(SequenceBuilderIterator).xc = function(result) { + throwOnFailure(result); + null == result || null != result || THROW_CCE(), this.tc_1 = 4; + }, protoOf(SequenceBuilderIterator).g7 = function(result) { + return this.xc(result); + }, protoOf(SequenceBuilderIterator).b7 = function() { + return EmptyCoroutineContext_getInstance(); + }, protoOf(GeneratorSequence$iterator$1).j = function() { + if (this.zc_1 < 0 && calcNext(this), 0 === this.zc_1) throw NoSuchElementException_init_$Create$(); + var tmp = this.yc_1, result = null != tmp ? tmp : THROW_CCE(); + return this.zc_1 = -1, result; + }, protoOf(GeneratorSequence$iterator$1).i = function() { + return this.zc_1 < 0 && calcNext(this), 1 === this.zc_1; + }, protoOf(GeneratorSequence).h = function() { + return new GeneratorSequence$iterator$1(this); + }, protoOf(TakeSequence$iterator$1).j = function() { + if (0 === this.dd_1) throw NoSuchElementException_init_$Create$(); + return this.dd_1 = this.dd_1 - 1 | 0, this.ed_1.j(); + }, protoOf(TakeSequence$iterator$1).i = function() { + return this.dd_1 > 0 && this.ed_1.i(); + }, protoOf(TakeSequence).c1 = function(n) { + return n >= this.gd_1 ? this : new TakeSequence(this.fd_1, n); + }, protoOf(TakeSequence).h = function() { + return new TakeSequence$iterator$1(this); + }, protoOf(TransformingSequence$iterator$1).j = function() { + return this.id_1.kd_1(this.hd_1.j()); + }, protoOf(TransformingSequence$iterator$1).i = function() { + return this.hd_1.i(); + }, protoOf(TransformingSequence).h = function() { + return new TransformingSequence$iterator$1(this); + }, protoOf(EmptySequence).h = function() { + return EmptyIterator_instance; + }, protoOf(EmptySequence).c1 = function(n) { + return EmptySequence_instance; + }, protoOf(EmptySet).equals = function(other) { + return !(null == other || !isInterface(other, KtSet)) && other.q(); + }, protoOf(EmptySet).hashCode = function() { + return 0; + }, protoOf(EmptySet).toString = function() { + return "[]"; + }, protoOf(EmptySet).k = function() { + return 0; + }, protoOf(EmptySet).q = function() { + return !0; + }, protoOf(EmptySet).md = function(element) { + return !1; + }, protoOf(EmptySet).d1 = function(element) { + return !1; + }, protoOf(EmptySet).zb = function(elements) { + return elements.q(); + }, protoOf(EmptySet).e1 = function(elements) { + return this.zb(elements); + }, protoOf(EmptySet).h = function() { + return EmptyIterator_instance; + }, protoOf(NaturalOrderComparator).nd = function(a, b) { + return compareTo(a, b); + }, protoOf(NaturalOrderComparator).compare = function(a, b) { + var tmp = null != a && isComparable(a) ? a : THROW_CCE(); + return this.nd(tmp, null != b && isComparable(b) ? b : THROW_CCE()); + }, protoOf(EmptyCoroutineContext).i7 = function(key) { + return null; + }, protoOf(EmptyCoroutineContext).td = function(initial, operation) { + return initial; + }, protoOf(EmptyCoroutineContext).ud = function(context) { + return context; + }, protoOf(EmptyCoroutineContext).sd = function(key) { + return this; + }, protoOf(EmptyCoroutineContext).hashCode = function() { + return 0; + }, protoOf(EmptyCoroutineContext).toString = function() { + return "EmptyCoroutineContext"; + }, protoOf(CombinedContext).i7 = function(key) { + for (var cur = this; ;) { + var tmp0_safe_receiver = cur.xd_1.i7(key); + if (null != tmp0_safe_receiver) return tmp0_safe_receiver; + var next = cur.wd_1; + if (!(next instanceof CombinedContext)) return next.i7(key); + cur = next; + } + }, protoOf(CombinedContext).td = function(initial, operation) { + return operation(this.wd_1.td(initial, operation), this.xd_1); + }, protoOf(CombinedContext).sd = function(key) { + if (null != this.xd_1.i7(key)) return this.wd_1; + var newLeft = this.wd_1.sd(key); + return newLeft === this.wd_1 ? this : newLeft === EmptyCoroutineContext_getInstance() ? this.xd_1 : new CombinedContext(newLeft, this.xd_1); + }, protoOf(CombinedContext).equals = function(other) { + var tmp; + this === other ? tmp = !0 : tmp = !!(other instanceof CombinedContext && size(other) === size(this)) && function($this, context) { + for (var cur = context; ;) { + if (!contains_3($this, cur.xd_1)) return !1; + var next = cur.wd_1; + if (!(next instanceof CombinedContext)) return contains_3($this, isInterface(next, Element) ? next : THROW_CCE()); + cur = next; + } + }(other, this); + return tmp; + }, protoOf(CombinedContext).hashCode = function() { + return hashCode(this.wd_1) + hashCode(this.xd_1) | 0; + }, protoOf(CombinedContext).toString = function() { + return "[" + this.td("", CombinedContext$toString$lambda) + "]"; + }, protoOf(AbstractCoroutineContextKey).qd = function(element) { + return this.od_1(element); + }, protoOf(AbstractCoroutineContextKey).rd = function(key) { + return key === this || this.pd_1 === key; + }, protoOf(AbstractCoroutineContextElement).f1 = function() { + return this.yd_1; + }, protoOf(EnumEntriesList).k = function() { + return this.zd_1.length; + }, protoOf(EnumEntriesList).p = function(index) { + return Companion_instance_4.r3(index, this.zd_1.length), this.zd_1[index]; + }, protoOf(EnumEntriesList).ae = function(element) { + return null !== element && (_this__u8e3s4 = this.zd_1, 0 <= (index = element.r1_1) && index <= (_this__u8e3s4.length - 1 | 0) ? _this__u8e3s4[index] : null) === element; + var _this__u8e3s4, index; + }, protoOf(EnumEntriesList).d1 = function(element) { + return element instanceof Enum && this.ae(element instanceof Enum ? element : THROW_CCE()); + }, protoOf(IntRange).ja = function() { + return this.u_1; + }, protoOf(IntRange).ka = function() { + return this.v_1; + }, protoOf(IntRange).be = function(value) { + return this.u_1 <= value && value <= this.v_1; + }, protoOf(IntRange).x = function(value) { + return this.be("number" == typeof value ? value : THROW_CCE()); + }, protoOf(IntRange).q = function() { + return this.u_1 > this.v_1; + }, protoOf(IntRange).equals = function(other) { + return other instanceof IntRange && (this.q() && other.q() || this.u_1 === other.u_1 && this.v_1 === other.v_1); + }, protoOf(IntRange).hashCode = function() { + return this.q() ? -1 : imul(31, this.u_1) + this.v_1 | 0; + }, protoOf(IntRange).toString = function() { + return this.u_1 + ".." + this.v_1; + }, protoOf(IntProgressionIterator).i = function() { + return this.ee_1; + }, protoOf(IntProgressionIterator).rc = function() { + var value = this.fe_1; + if (value === this.de_1) { + if (!this.ee_1) throw NoSuchElementException_init_$Create$(); + this.ee_1 = !1; + } else this.fe_1 = this.fe_1 + this.ce_1 | 0; + return value; + }, protoOf(Companion_9).t = function(rangeStart, rangeEnd, step) { + return new IntProgression(rangeStart, rangeEnd, step); + }, protoOf(IntProgression).h = function() { + return new IntProgressionIterator(this.u_1, this.v_1, this.w_1); + }, protoOf(IntProgression).q = function() { + return this.w_1 > 0 ? this.u_1 > this.v_1 : this.u_1 < this.v_1; + }, protoOf(IntProgression).equals = function(other) { + return other instanceof IntProgression && (this.q() && other.q() || this.u_1 === other.u_1 && this.v_1 === other.v_1 && this.w_1 === other.w_1); + }, protoOf(IntProgression).hashCode = function() { + return this.q() ? -1 : imul(31, imul(31, this.u_1) + this.v_1 | 0) + this.w_1 | 0; + }, protoOf(IntProgression).toString = function() { + return this.w_1 > 0 ? this.u_1 + ".." + this.v_1 + " step " + this.w_1 : this.u_1 + " downTo " + this.v_1 + " step " + (0 | -this.w_1); + }, protoOf(DelimitedRangesSequence$iterator$1).j = function() { + if (-1 === this.he_1 && calcNext_0(this), 0 === this.he_1) throw NoSuchElementException_init_$Create$(); + var tmp = this.ke_1, result = tmp instanceof IntRange ? tmp : THROW_CCE(); + return this.ke_1 = null, this.he_1 = -1, result; + }, protoOf(DelimitedRangesSequence$iterator$1).i = function() { + return -1 === this.he_1 && calcNext_0(this), 1 === this.he_1; + }, protoOf(DelimitedRangesSequence).h = function() { + return new DelimitedRangesSequence$iterator$1(this); + }, protoOf(DeepRecursiveScopeImpl).b7 = function() { + return EmptyCoroutineContext_getInstance(); + }, protoOf(DeepRecursiveScopeImpl).ye = function(result) { + this.ve_1 = null, this.we_1 = result; + }, protoOf(DeepRecursiveScopeImpl).g7 = function(result) { + return this.ye(result); + }, protoOf(DeepRecursiveScopeImpl).re = function(value, $completion) { + return this.ve_1 = isInterface($completion, Continuation) ? $completion : THROW_CCE(), + this.ue_1 = value, get_COROUTINE_SUSPENDED(); + }, protoOf(DeepRecursiveScopeImpl).xe = function() { + $l$loop: for (;;) { + var result = this.we_1, tmp0_elvis_lhs = this.ve_1; + if (null == tmp0_elvis_lhs) { + var this_0 = new Result(result) instanceof Result ? result : THROW_CCE(); + throwOnFailure(this_0); + return null == this_0 || null != this_0 ? this_0 : THROW_CCE(); + } + var cont = tmp0_elvis_lhs; + if (equals(get_UNDEFINED_RESULT(), result)) { + var tmp_1; + try { + var this_1 = this.te_1, param = this.ue_1; + tmp_1 = "function" == typeof this_1 ? this_1(this, param, cont) : this_1.ze(this, param, cont); + } catch ($p) { + if ($p instanceof Error) { + var tmp$ret$3 = createFailure($p); + cont.g7(tmp$ret$3); + continue $l$loop; + } + throw $p; + } + var r = tmp_1; + if (r !== get_COROUTINE_SUSPENDED()) { + var tmp$ret$5 = null == r || null != r ? r : THROW_CCE(); + cont.g7(tmp$ret$5); + } + } else this.we_1 = get_UNDEFINED_RESULT(), cont.g7(result); + } + }, protoOf(UnsafeLazyImpl).g1 = function() { + this.bf_1 === UNINITIALIZED_VALUE_instance && (this.bf_1 = ensureNotNull(this.af_1)(), + this.af_1 = null); + var tmp = this.bf_1; + return null == tmp || null != tmp ? tmp : THROW_CCE(); + }, protoOf(UnsafeLazyImpl).cf = function() { + return !(this.bf_1 === UNINITIALIZED_VALUE_instance); + }, protoOf(UnsafeLazyImpl).toString = function() { + return this.cf() ? toString_0(this.g1()) : "Lazy value not initialized yet."; + }, protoOf(Failure).equals = function(other) { + return other instanceof Failure && equals(this.o7_1, other.o7_1); + }, protoOf(Failure).hashCode = function() { + return hashCode(this.o7_1); + }, protoOf(Failure).toString = function() { + return "Failure(" + this.o7_1.toString() + ")"; + }, protoOf(Result).toString = function() { + return ($this = this.df_1) instanceof Failure ? toString_1($this) : "Success(" + toString_0($this) + ")"; + var $this; + }, protoOf(Result).hashCode = function() { + return null == ($this = this.df_1) ? 0 : hashCode($this); + var $this; + }, protoOf(Result).equals = function(other) { + return function($this, other) { + return other instanceof Result && !!equals($this, other instanceof Result ? other.df_1 : THROW_CCE()); + }(this.df_1, other); + }, protoOf(Pair).toString = function() { + return "(" + toString_0(this.pc_1) + ", " + toString_0(this.qc_1) + ")"; + }, protoOf(Pair).gc = function() { + return this.pc_1; + }, protoOf(Pair).hc = function() { + return this.qc_1; + }, protoOf(Pair).hashCode = function() { + var result = null == this.pc_1 ? 0 : hashCode(this.pc_1); + return result = imul(result, 31) + (null == this.qc_1 ? 0 : hashCode(this.qc_1)) | 0; + }, protoOf(Pair).equals = function(other) { + if (this === other) return !0; + if (!(other instanceof Pair)) return !1; + var tmp0_other_with_cast = other instanceof Pair ? other : THROW_CCE(); + return !!equals(this.pc_1, tmp0_other_with_cast.pc_1) && !!equals(this.qc_1, tmp0_other_with_cast.qc_1); + }, protoOf(InternalHashMap).p4 = function(m) { + var tmp$ret$0; + $l$block_0: { + if (!!isInterface(m, Collection) && m.q()) tmp$ret$0 = !0; else { + for (var tmp0_iterator = m.h(); tmp0_iterator.i(); ) { + var entry = tmp0_iterator.j(); + if (!(!(null == entry || !isInterface(entry, Entry)) && this.l6(entry))) { + tmp$ret$0 = !1; + break $l$block_0; + } + } + tmp$ret$0 = !0; } - } catch ($p) { - if (2 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; } - }, $writeFileCOROUTINE$4.prototype.td = function() { - var suspendResult = this.nd_1; - $sm: for (;;) try { - switch (this.ld_1) { - case 0: - if (this.md_1 = 2, this.ld_1 = 1, (suspendResult = await_0(writeFile_0(this.bq_1, this.cq_1, this.dq_1), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; + return tmp$ret$0; + }, protoOf(CombinedContext).ud = plus, protoOf(AbstractCoroutineContextElement).i7 = get, + protoOf(AbstractCoroutineContextElement).td = fold, protoOf(AbstractCoroutineContextElement).sd = minusKey, + protoOf(AbstractCoroutineContextElement).ud = plus, Unit_instance = new Unit, new Companion, + StringCompanionObject_instance = new StringCompanionObject, _stableSortingIsSupported = null, + new Companion_2, CompletedContinuation_instance = new CompletedContinuation, Companion_instance_4 = new Companion_4, + new Companion_5, Companion_instance_6 = new Companion_6, EmptyIterator_instance = new EmptyIterator, + EmptySequence_instance = new EmptySequence, NaturalOrderComparator_instance = new NaturalOrderComparator, + Key_instance = new Key, Companion_instance_9 = new Companion_9, UNINITIALIZED_VALUE_instance = new UNINITIALIZED_VALUE, + Companion_instance_10 = new Companion_10, _.$_$ = _.$_$ || {}, _.$_$.a = function(e) { + var tmp; + switch (typeof e) { + case "string": + tmp = PrimitiveClasses_getInstance().stringClass; + break; - case 1: - return Unit_getInstance(); + case "number": + tmp = (0 | e) === e ? PrimitiveClasses_getInstance().intClass : PrimitiveClasses_getInstance().doubleClass; + break; - case 2: - throw this.od_1; - } - } catch ($p) { - if (2 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; - } - }, $finishedCOROUTINE$5.prototype.td = function() { - var suspendResult = this.nd_1; - $sm: for (;;) try { - switch (this.ld_1) { - case 0: - if (this.md_1 = 2, this.ld_1 = 1, (suspendResult = await_0(finished(this.mq_1), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; + case "boolean": + tmp = PrimitiveClasses_getInstance().booleanClass; + break; - case 1: - return Unit_getInstance(); + case "function": + tmp = PrimitiveClasses_getInstance().functionClass(e.length); + break; - case 2: - throw this.od_1; + default: + var tmp_2; + if (isBooleanArray(e)) tmp_2 = PrimitiveClasses_getInstance().booleanArrayClass; else if (isCharArray(e)) tmp_2 = PrimitiveClasses_getInstance().charArrayClass; else if (isByteArray(e)) tmp_2 = PrimitiveClasses_getInstance().byteArrayClass; else if (isShortArray(e)) tmp_2 = PrimitiveClasses_getInstance().shortArrayClass; else if (isIntArray(e)) tmp_2 = PrimitiveClasses_getInstance().intArrayClass; else if (isLongArray(e)) tmp_2 = PrimitiveClasses_getInstance().longArrayClass; else if (isFloatArray(e)) tmp_2 = PrimitiveClasses_getInstance().floatArrayClass; else if (isDoubleArray(e)) tmp_2 = PrimitiveClasses_getInstance().doubleArrayClass; else if (isInterface(e, KClass)) tmp_2 = getKClass(KClass); else if (isArray(e)) tmp_2 = PrimitiveClasses_getInstance().arrayClass; else { + var tmp_3, constructor = Object.getPrototypeOf(e).constructor; + if (constructor === Object) tmp_3 = PrimitiveClasses_getInstance().anyClass; else if (constructor === Error) tmp_3 = PrimitiveClasses_getInstance().throwableClass; else { + tmp_3 = getKClass1(constructor); + } + tmp_2 = tmp_3; } - } catch ($p) { - if (2 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; + tmp = tmp_2; } - }, _.$_$ = _.$_$ || {}, _.$_$.a = chmod_0, _.$_$.b = mkdir_0, _.$_$.c = readFile_0, - _.$_$.d = rename_0, _.$_$.e = stat_0, _.$_$.f = unlink_0, _.$_$.g = writeFile_1, - _.$_$.h = writeFile_2, _.$_$.i = finished_0, _; - }) ? __WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__) : __WEBPACK_AMD_DEFINE_FACTORY__) || (module.exports = __WEBPACK_AMD_DEFINE_RESULT__); - }, - 3645: function(module, exports, __webpack_require__) { - var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; - __WEBPACK_AMD_DEFINE_ARRAY__ = [ exports, __webpack_require__(8744) ], void 0 === (__WEBPACK_AMD_DEFINE_RESULT__ = "function" == typeof (__WEBPACK_AMD_DEFINE_FACTORY__ = function(_, kotlin_kotlin) { - "use strict"; - var ENUM_instance, CONTEXTUAL_instance, INT_instance, LONG_instance, STRING_instance, CLASS_instance, LIST_instance, MAP_instance, Companion_instance, Companion_instance_0, EMPTY_DESCRIPTOR_ARRAY, properties_initialized_Platform_common_kt_i7q4ty, EMPTY_SERIALIZER_ARRAY, properties_initialized_PluginHelperInterfaces_kt_ap8in1, StringSerializer_instance, LongSerializer_instance, IntSerializer_instance, EmptySerializersModule, properties_initialized_SerializersModule_kt_fjigjn, imul = Math.imul, interfaceMeta = kotlin_kotlin.$_$.e5, setMetadataFor = kotlin_kotlin.$_$.o5, getKClassFromExpression = kotlin_kotlin.$_$.a, classMeta = kotlin_kotlin.$_$.x4, IllegalArgumentException_init_$Init$ = kotlin_kotlin.$_$.j1, captureStack = kotlin_kotlin.$_$.r4, IllegalArgumentException_init_$Init$_0 = kotlin_kotlin.$_$.l1, IllegalArgumentException = kotlin_kotlin.$_$.s6, Unit_getInstance = kotlin_kotlin.$_$.d2, emptyList = kotlin_kotlin.$_$.s2, isBlank = kotlin_kotlin.$_$.z5, toString = kotlin_kotlin.$_$.r5, IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.k1, equals = kotlin_kotlin.$_$.y4, toList = kotlin_kotlin.$_$.r3, ArrayList_init_$Create$ = kotlin_kotlin.$_$.s, HashSet_init_$Create$ = kotlin_kotlin.$_$.x, toHashSet = kotlin_kotlin.$_$.p3, copyToArray = kotlin_kotlin.$_$.r2, toBooleanArray = kotlin_kotlin.$_$.o3, withIndex = kotlin_kotlin.$_$.t3, collectionSizeOrDefault = kotlin_kotlin.$_$.m2, ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.r, to = kotlin_kotlin.$_$.k7, toMap = kotlin_kotlin.$_$.s3, lazy = kotlin_kotlin.$_$.d7, contentEquals = kotlin_kotlin.$_$.n2, until = kotlin_kotlin.$_$.x5, joinToString$default = kotlin_kotlin.$_$.e, KProperty1 = kotlin_kotlin.$_$.y5, getPropertyCallableRef = kotlin_kotlin.$_$.b5, objectMeta = kotlin_kotlin.$_$.n5, ensureNotNull = kotlin_kotlin.$_$.a7, getStringHashCode = kotlin_kotlin.$_$.c5, THROW_CCE = kotlin_kotlin.$_$.v6, Long = kotlin_kotlin.$_$.t6, toIntOrNull = kotlin_kotlin.$_$.e6, hashCode = kotlin_kotlin.$_$.d5, IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.m1, ArrayList = kotlin_kotlin.$_$.e2, ArrayList_init_$Create$_1 = kotlin_kotlin.$_$.t, List = kotlin_kotlin.$_$.h2, isInterface = kotlin_kotlin.$_$.g5, isObject = kotlin_kotlin.$_$.h5, Map = kotlin_kotlin.$_$.i2, LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.z, LinkedHashMap = kotlin_kotlin.$_$.g2, LinkedHashMap_init_$Create$_0 = kotlin_kotlin.$_$.a1, Collection = kotlin_kotlin.$_$.f2, step = kotlin_kotlin.$_$.w5, getValue = kotlin_kotlin.$_$.y2, longArray = kotlin_kotlin.$_$.i5, Companion_getInstance = kotlin_kotlin.$_$.b2, get_lastIndex = kotlin_kotlin.$_$.b3, countTrailingZeroBits = kotlin_kotlin.$_$.y6, HashSet_init_$Create$_0 = kotlin_kotlin.$_$.w, HashMap_init_$Create$ = kotlin_kotlin.$_$.v, arrayIterator = kotlin_kotlin.$_$.p4, fillArrayVal = kotlin_kotlin.$_$.a5, booleanArray = kotlin_kotlin.$_$.q4, emptyMap = kotlin_kotlin.$_$.t2, LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.c, lazy_0 = kotlin_kotlin.$_$.c7, contentHashCode = kotlin_kotlin.$_$.o2, charSequenceLength = kotlin_kotlin.$_$.v4, lastOrNull = kotlin_kotlin.$_$.d3, get_lastIndex_0 = kotlin_kotlin.$_$.c3, get_indices = kotlin_kotlin.$_$.a3, IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.o1, get_indices_0 = kotlin_kotlin.$_$.z2; - function get_isNullable() { - return !1; - } - function get_isInline() { - return !1; - } - function get_annotations() { - return emptyList(); - } - function decodeSerializableValue(deserializer) { - return deserializer.ov(this); - } - function decodeSequentially() { - return !1; - } - function decodeCollectionSize(descriptor) { - return -1; - } - function decodeSerializableElement$default(descriptor, index, deserializer, previousValue, $mask0, $handler) { - return 0 != (8 & $mask0) && (previousValue = null), null == $handler ? this.rx(descriptor, index, deserializer, previousValue) : $handler(descriptor, index, deserializer, previousValue); - } - function beginCollection(descriptor, collectionSize) { - return this.mx(descriptor); - } - function encodeSerializableValue(serializer, value) { - serializer.nv(this, value); - } - function typeParametersSerializers() { - return get_EMPTY_SERIALIZER_ARRAY(); - } - function KSerializer() {} - function SerializationStrategy() {} - function DeserializationStrategy() {} - function findPolymorphicSerializer(_this__u8e3s4, encoder, value) { - var tmp, tmp0_elvis_lhs = _this__u8e3s4.pv(encoder, value); - return null == tmp0_elvis_lhs ? throwSubtypeNotRegistered(getKClassFromExpression(value), _this__u8e3s4.qv()) : tmp = tmp0_elvis_lhs, - tmp; - } - function SealedClassSerializer() {} - function SerializationException_init_$Init$(message, $this) { - return IllegalArgumentException_init_$Init$(message, $this), SerializationException.call($this), - $this; - } - function SerializationException_init_$Create$(message) { - var tmp = SerializationException_init_$Init$(message, Object.create(SerializationException.prototype)); - return captureStack(tmp, SerializationException_init_$Create$), tmp; - } - function SerializationException_init_$Init$_0(message, cause, $this) { - return IllegalArgumentException_init_$Init$_0(message, cause, $this), SerializationException.call($this), - $this; - } - function SerializationException() { - captureStack(this, SerializationException); - } - function UnknownFieldException_init_$Init$(index, $this) { - return UnknownFieldException.call($this, "An unknown field for index " + index), + return tmp; + }, _.$_$.b = getKClass, _.$_$.c = VOID, _.$_$.d = function() { + return function() { + if (LazyThreadSafetyMode_entriesInitialized) return Unit_instance; + LazyThreadSafetyMode_entriesInitialized = !0, new LazyThreadSafetyMode("SYNCHRONIZED", 0), + LazyThreadSafetyMode_PUBLICATION_instance = new LazyThreadSafetyMode("PUBLICATION", 1), + new LazyThreadSafetyMode("NONE", 2); + }(), LazyThreadSafetyMode_PUBLICATION_instance; + }, _.$_$.e = function(argument, $completion) { + return null == argument || null != argument ? argument : THROW_CCE(); + }, _.$_$.f = ArrayDeque_init_$Create$, _.$_$.g = ArrayList_init_$Create$_0, _.$_$.h = ArrayList_init_$Create$, + _.$_$.i = ArrayList_init_$Create$_1, _.$_$.j = HashMap_init_$Create$_0, _.$_$.k = HashMap_init_$Create$, + _.$_$.l = HashSet_init_$Create$_0, _.$_$.m = HashSet_init_$Create$, _.$_$.n = LinkedHashMap_init_$Create$_0, + _.$_$.o = LinkedHashMap_init_$Create$, _.$_$.p = function(original) { + return function(original, $this) { + return HashMap_init_$Init$_3(original, $this), LinkedHashMap.call($this), $this; + }(original, objectCreate(protoOf(LinkedHashMap))); + }, _.$_$.q = LinkedHashSet_init_$Create$, _.$_$.r = function CancellationException_init_$Create$_0(message) { + var tmp = function(message, $this) { + return IllegalStateException_init_$Init$_0(message, $this), CancellationException.call($this), + $this; + }(message, objectCreate(protoOf(CancellationException))); + return captureStack(tmp, CancellationException_init_$Create$_0), tmp; + }, _.$_$.s = function(message, cause, $this) { + return IllegalStateException_init_$Init$_1(message, cause, $this), CancellationException.call($this), $this; - } - function UnknownFieldException_init_$Create$(index) { - var tmp = UnknownFieldException_init_$Init$(index, Object.create(UnknownFieldException.prototype)); - return captureStack(tmp, UnknownFieldException_init_$Create$), tmp; - } - function UnknownFieldException(message) { - SerializationException_init_$Init$(message, this), captureStack(this, UnknownFieldException); - } - function MissingFieldException_init_$Init$(missingFields, serialName, $this) { - return MissingFieldException.call($this, missingFields, 1 === missingFields.c() ? "Field '" + missingFields.g(0) + "' is required for type with serial name '" + serialName + "', but it was missing" : "Fields " + missingFields + " are required for type with serial name '" + serialName + "', but they were missing", null), + }, _.$_$.t = function(delegate) { + return function(delegate, $this) { + return SafeContinuation.call($this, delegate, CoroutineSingletons_UNDECIDED_getInstance()), + $this; + }(delegate, objectCreate(protoOf(SafeContinuation))); + }, _.$_$.u = function(pattern) { + return function(pattern, $this) { + return Regex.call($this, pattern, emptySet()), $this; + }(pattern, objectCreate(protoOf(Regex))); + }, _.$_$.v = StringBuilder_init_$Create$, _.$_$.w = StringBuilder_init_$Create$_0, + _.$_$.x = function(message, cause, $this) { + return extendThrowable($this, message, cause), Error_0.call($this), $this; + }, _.$_$.y = IllegalArgumentException_init_$Init$, _.$_$.z = IllegalArgumentException_init_$Init$_0, + _.$_$.a1 = IllegalArgumentException_init_$Create$_0, _.$_$.b1 = function(message, cause, $this) { + return RuntimeException_init_$Init$_1(message, cause, $this), IllegalArgumentException.call($this), $this; - } - function MissingFieldException_init_$Create$(missingFields, serialName) { - var tmp = MissingFieldException_init_$Init$(missingFields, serialName, Object.create(MissingFieldException.prototype)); - return captureStack(tmp, MissingFieldException_init_$Create$), tmp; - } - function MissingFieldException(missingFields, message, cause) { - SerializationException_init_$Init$_0(message, cause, this), this.rv_1 = missingFields, - captureStack(this, MissingFieldException); - } - function ContextDescriptor() {} - function getContextualDescriptor(_this__u8e3s4, descriptor) { - var tmp, tmp0_safe_receiver = get_capturedKClass(descriptor); - if (null == tmp0_safe_receiver) tmp = null; else { - var tmp0_safe_receiver_0 = _this__u8e3s4.sv(tmp0_safe_receiver, null, 2, null); - tmp = null == tmp0_safe_receiver_0 ? null : tmp0_safe_receiver_0.mv(); + }, _.$_$.c1 = IllegalStateException_init_$Create$_0, _.$_$.d1 = function IllegalStateException_init_$Create$_1(message, cause) { + var tmp = IllegalStateException_init_$Init$_1(message, cause, objectCreate(protoOf(IllegalStateException))); + return captureStack(tmp, IllegalStateException_init_$Create$_1), tmp; + }, _.$_$.e1 = IndexOutOfBoundsException_init_$Create$_0, _.$_$.f1 = NumberFormatException_init_$Create$_0, + _.$_$.g1 = RuntimeException_init_$Init$_0, _.$_$.h1 = RuntimeException_init_$Init$_1, + _.$_$.i1 = function RuntimeException_init_$Create$_1(message, cause) { + var tmp = RuntimeException_init_$Init$_1(message, cause, objectCreate(protoOf(RuntimeException))); + return captureStack(tmp, RuntimeException_init_$Create$_1), tmp; + }, _.$_$.j1 = UnsupportedOperationException_init_$Create$, _.$_$.k1 = UnsupportedOperationException_init_$Create$_0, + _.$_$.l1 = _Char___init__impl__6a9atx, _.$_$.m1 = Char__minus_impl_a2frrh, _.$_$.n1 = Char__toInt_impl_vasixd, + _.$_$.o1 = toString, _.$_$.p1 = _Result___init__impl__xyqfz8, _.$_$.q1 = Result__exceptionOrNull_impl_p6xea9, + _.$_$.r1 = _Result___get_value__impl__bjfvqg, _.$_$.s1 = Key_instance, _.$_$.t1 = EmptyCoroutineContext_getInstance, + _.$_$.u1 = StringCompanionObject_instance, _.$_$.v1 = Companion_instance_10, _.$_$.w1 = Unit_instance, + _.$_$.x1 = ArrayList, _.$_$.y1 = Collection, _.$_$.z1 = LinkedHashMap, _.$_$.a2 = KtList, + _.$_$.b2 = KtMap, _.$_$.c2 = KtMutableMap, _.$_$.d2 = addAll, _.$_$.e2 = checkIndexOverflow, + _.$_$.f2 = collectionSizeOrDefault, _.$_$.g2 = function(_this__u8e3s4, other) { + return function(_this__u8e3s4, other) { + var a = _this__u8e3s4, b = other; + if (a === b) return !0; + if (null == a || null == b || !isArrayish(b) || a.length != b.length) return !1; + var inductionVariable = 0, last = a.length; + if (inductionVariable < last) do { + var i = inductionVariable; + if (inductionVariable = inductionVariable + 1 | 0, !equals(a[i], b[i])) return !1; + } while (inductionVariable < last); + return !0; + }(_this__u8e3s4, other); + }, _.$_$.h2 = function(_this__u8e3s4) { + return function(_this__u8e3s4) { + var a = _this__u8e3s4; + if (null == a) return 0; + var result = 1, inductionVariable = 0, last = a.length; + if (inductionVariable < last) do { + var i = inductionVariable; + inductionVariable = inductionVariable + 1 | 0, result = imul(result, 31) + hashCode(a[i]) | 0; + } while (inductionVariable < last); + return result; + }(_this__u8e3s4); + }, _.$_$.i2 = copyOf_0, _.$_$.j2 = copyOf, _.$_$.k2 = copyToArray, _.$_$.l2 = emptyList, + _.$_$.m2 = emptyMap, _.$_$.n2 = emptySet, _.$_$.o2 = function(_this__u8e3s4) { + return _this__u8e3s4.q() ? null : _this__u8e3s4.p(0); + }, _.$_$.p2 = function(_this__u8e3s4) { + if (isInterface(_this__u8e3s4, KtList)) return _this__u8e3s4.q() ? null : _this__u8e3s4.p(0); + var iterator = _this__u8e3s4.h(); + return iterator.i() ? iterator.j() : null; + }, _.$_$.q2 = function(_this__u8e3s4, index) { + return 0 <= index && index < _this__u8e3s4.k() ? _this__u8e3s4.p(index) : null; + }, _.$_$.r2 = function(_this__u8e3s4, key) { + return function(_this__u8e3s4, key) { + if (isInterface(_this__u8e3s4, MapWithDefault)) return _this__u8e3s4.lc(key); + var value = _this__u8e3s4.j1(key); + if (null == value && !_this__u8e3s4.h1(key)) throw NoSuchElementException_init_$Create$_0("Key " + toString_0(key) + " is missing in the map."); + return null == value || null != value ? value : THROW_CCE(); + }(_this__u8e3s4, key); + }, _.$_$.s2 = function(_this__u8e3s4) { + return new IntRange(0, function(_this__u8e3s4) { + return _this__u8e3s4.length - 1 | 0; + }(_this__u8e3s4)); + }, _.$_$.t2 = function(_this__u8e3s4) { + return new IntRange(0, get_lastIndex(_this__u8e3s4)); + }, _.$_$.u2 = joinToString_0, _.$_$.v2 = joinToString, _.$_$.w2 = function(_this__u8e3s4) { + return _this__u8e3s4.length - 1 | 0; + }, _.$_$.x2 = get_lastIndex_2, _.$_$.y2 = function(_this__u8e3s4) { + return _this__u8e3s4.q() ? null : _this__u8e3s4.p(_this__u8e3s4.k() - 1 | 0); + }, _.$_$.z2 = function(_this__u8e3s4) { + if (_this__u8e3s4.q()) throw NoSuchElementException_init_$Create$_0("List is empty."); + return _this__u8e3s4.p(get_lastIndex_2(_this__u8e3s4)); + }, _.$_$.a3 = listOf, _.$_$.b3 = function(elements) { + return elements.length > 0 ? asList(elements) : emptyList(); + }, _.$_$.c3 = mapCapacity, _.$_$.d3 = function(_this__u8e3s4, elements) { + var tmp0_safe_receiver = function(_this__u8e3s4) { + var tmp; + tmp = isInterface(_this__u8e3s4, Collection) ? _this__u8e3s4.k() : null; + return tmp; + }(elements), tmp1_elvis_lhs = null == tmp0_safe_receiver ? null : _this__u8e3s4.k() + tmp0_safe_receiver | 0, result = LinkedHashSet_init_$Create$_0(null == tmp1_elvis_lhs ? imul(_this__u8e3s4.k(), 2) : tmp1_elvis_lhs); + return result.o(_this__u8e3s4), addAll(result, elements), result; + }, _.$_$.e3 = function(_this__u8e3s4, elements) { + if (isInterface(elements, Collection)) { + var result = ArrayList_init_$Create$_0(_this__u8e3s4.k() + elements.k() | 0); + return result.o(_this__u8e3s4), result.o(elements), result; + } + var result_0 = ArrayList_init_$Create$_1(_this__u8e3s4); + return addAll(result_0, elements), result_0; + }, _.$_$.f3 = function(_this__u8e3s4, element) { + var result = ArrayList_init_$Create$_0(_this__u8e3s4.k() + 1 | 0); + return result.o(_this__u8e3s4), result.e(element), result; + }, _.$_$.g3 = function(_this__u8e3s4) { + return _this__u8e3s4.q() ? null : _this__u8e3s4.t2(0); + }, _.$_$.h3 = function(_this__u8e3s4) { + if (_this__u8e3s4.q()) throw NoSuchElementException_init_$Create$_0("List is empty."); + return _this__u8e3s4.t2(get_lastIndex_2(_this__u8e3s4)); + }, _.$_$.i3 = function(_this__u8e3s4) { + return 1 === _this__u8e3s4.k() ? _this__u8e3s4.p(0) : null; + }, _.$_$.j3 = function(_this__u8e3s4) { + _this__u8e3s4.length > 1 && function(array) { + if (function() { + var tmp0_safe_receiver = _stableSortingIsSupported; + if (null != tmp0_safe_receiver) return tmp0_safe_receiver; + _stableSortingIsSupported = !1; + var array = [], inductionVariable = 0; + if (inductionVariable < 600) do { + var index = inductionVariable; + inductionVariable = inductionVariable + 1 | 0, array.push(index); + } while (inductionVariable < 600); + var comparison = getStableSortingIsSupported$lambda; + array.sort(comparison); + var inductionVariable_0 = 1, last = array.length; + if (inductionVariable_0 < last) do { + var index_0 = inductionVariable_0; + inductionVariable_0 = inductionVariable_0 + 1 | 0; + var a = array[index_0 - 1 | 0], b = array[index_0]; + if ((3 & a) == (3 & b) && a >= b) return !1; + } while (inductionVariable_0 < last); + return _stableSortingIsSupported = !0, !0; + }()) { + var comparison = sortArray$lambda; + array.sort(comparison); + } else !function(array, start, endInclusive, comparator) { + var size = array.length, buffer = fillArrayVal(Array(size), null), result = mergeSort_0(array, buffer, start, endInclusive, comparator); + if (result !== array) { + var inductionVariable = start; + if (inductionVariable <= endInclusive) do { + var i = inductionVariable; + inductionVariable = inductionVariable + 1 | 0, array[i] = result[i]; + } while (i !== endInclusive); + } + }(array, 0, get_lastIndex(array), (tmp = NaturalOrderComparator_instance, isInterface(tmp, Comparator) ? tmp : THROW_CCE())); + var tmp; + }(_this__u8e3s4); + }, _.$_$.k3 = function(_this__u8e3s4) { + for (var result = booleanArray(_this__u8e3s4.k()), index = 0, tmp0_iterator = _this__u8e3s4.h(); tmp0_iterator.i(); ) { + var element = tmp0_iterator.j(), tmp1 = index; + index = tmp1 + 1 | 0, result[tmp1] = element; } - return tmp; - } - function get_capturedKClass(_this__u8e3s4) { - var tmp0_subject = _this__u8e3s4; - return tmp0_subject instanceof ContextDescriptor ? _this__u8e3s4.uv_1 : tmp0_subject instanceof SerialDescriptorForNullable ? get_capturedKClass(_this__u8e3s4.tv_1) : null; - } - function SerialDescriptor() {} - function get_elementDescriptors(_this__u8e3s4) { - return new _no_name_provided__qut3iv(_this__u8e3s4); - } - function elementDescriptors$1$1($this_elementDescriptors) { - this.hw_1 = $this_elementDescriptors, this.gw_1 = $this_elementDescriptors.zv(); - } - function _no_name_provided__qut3iv($this_elementDescriptors) { - this.iw_1 = $this_elementDescriptors; - } - function buildSerialDescriptor(serialName, kind, typeParameters, builder) { - if (isBlank(serialName)) throw IllegalArgumentException_init_$Create$(toString("Blank serial names are prohibited")); - if (equals(kind, CLASS_getInstance())) throw IllegalArgumentException_init_$Create$(toString("For StructureKind.CLASS please use 'buildClassSerialDescriptor' instead")); - var sdBuilder = new ClassSerialDescriptorBuilder(serialName); - return builder(sdBuilder), new SerialDescriptorImpl(serialName, kind, sdBuilder.mw_1.c(), toList(typeParameters), sdBuilder); - } - function buildSerialDescriptor$default(serialName, kind, typeParameters, builder, $mask0, $handler) { - return 0 != (8 & $mask0) && (builder = buildSerialDescriptor$lambda), buildSerialDescriptor(serialName, kind, typeParameters, builder); - } - function ClassSerialDescriptorBuilder(serialName) { - this.jw_1 = serialName, this.kw_1 = !1, this.lw_1 = emptyList(), this.mw_1 = ArrayList_init_$Create$(), - this.nw_1 = HashSet_init_$Create$(), this.ow_1 = ArrayList_init_$Create$(), this.pw_1 = ArrayList_init_$Create$(), - this.qw_1 = ArrayList_init_$Create$(); - } - function _get__hashCode__tgwhef($this) { - return _hashCode$factory(), $this.cx_1.g1(); - } - function SerialDescriptorImpl$_hashCode$delegate$lambda(this$0) { - return function() { - return hashCodeImpl(this$0, this$0.bx_1); - }; - } - function SerialDescriptorImpl$toString$lambda(this$0) { - return function(it) { - return this$0.bw(it) + ": " + this$0.ew(it).vv(); - }; - } - function SerialDescriptorImpl(serialName, kind, elementsCount, typeParameters, builder) { - this.rw_1 = serialName, this.sw_1 = kind, this.tw_1 = elementsCount, this.uw_1 = builder.lw_1, - this.vw_1 = toHashSet(builder.mw_1); - var tmp$ret$0, tmp = this, tmp0_toTypedArray = builder.mw_1; - tmp$ret$0 = copyToArray(tmp0_toTypedArray), tmp.ww_1 = tmp$ret$0, this.xw_1 = compactArray(builder.ow_1); - var tmp$ret$1, tmp_0 = this, tmp0_toTypedArray_0 = builder.pw_1; - tmp$ret$1 = copyToArray(tmp0_toTypedArray_0), tmp_0.yw_1 = tmp$ret$1, this.zw_1 = toBooleanArray(builder.qw_1); - for (var tmp$ret$4, tmp_1 = this, tmp0_map = withIndex(this.ww_1), tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp0_map, 10)), tmp0_iterator = tmp0_map.d(); tmp0_iterator.e(); ) { - var tmp$ret$2, item = tmp0_iterator.f(); - tmp$ret$2 = to(item.h2_1, item.g2_1), tmp0_mapTo.a(tmp$ret$2); - } - tmp$ret$4 = tmp0_mapTo, tmp_1.ax_1 = toMap(tmp$ret$4), this.bx_1 = compactArray(typeParameters), - this.cx_1 = lazy(SerialDescriptorImpl$_hashCode$delegate$lambda(this)); - } - function buildSerialDescriptor$lambda($this$null) { - return Unit_getInstance(); - } - function _hashCode$factory() { - return getPropertyCallableRef("_hashCode", 1, KProperty1, (function(receiver) { - return _get__hashCode__tgwhef(receiver); - }), null); - } - function ENUM() { - ENUM_instance = this, SerialKind.call(this); - } - function ENUM_getInstance() { - return null == ENUM_instance && new ENUM, ENUM_instance; - } - function CONTEXTUAL() { - CONTEXTUAL_instance = this, SerialKind.call(this); - } - function CONTEXTUAL_getInstance() { - return null == CONTEXTUAL_instance && new CONTEXTUAL, CONTEXTUAL_instance; - } - function SerialKind() {} - function PolymorphicKind() {} - function INT() { - INT_instance = this, PrimitiveKind.call(this); - } - function INT_getInstance() { - return null == INT_instance && new INT, INT_instance; - } - function LONG() { - LONG_instance = this, PrimitiveKind.call(this); - } - function LONG_getInstance() { - return null == LONG_instance && new LONG, LONG_instance; - } - function STRING() { - STRING_instance = this, PrimitiveKind.call(this); - } - function STRING_getInstance() { - return null == STRING_instance && new STRING, STRING_instance; - } - function PrimitiveKind() { - SerialKind.call(this); - } - function CLASS() { - CLASS_instance = this, StructureKind.call(this); - } - function CLASS_getInstance() { - return null == CLASS_instance && new CLASS, CLASS_instance; - } - function LIST() { - LIST_instance = this, StructureKind.call(this); - } - function LIST_getInstance() { - return null == LIST_instance && new LIST, LIST_instance; - } - function MAP() { - MAP_instance = this, StructureKind.call(this); - } - function MAP_getInstance() { - return null == MAP_instance && new MAP, MAP_instance; - } - function StructureKind() { - SerialKind.call(this); - } - function AbstractDecoder() {} - function AbstractEncoder() {} - function Decoder() {} - function Companion() { - Companion_instance = this, this.jy_1 = -1, this.ky_1 = -3; - } - function Companion_getInstance_0() { - return null == Companion_instance && new Companion, Companion_instance; - } - function CompositeDecoder() {} - function Encoder() {} - function AbstractPolymorphicSerializer() {} - function throwSubtypeNotRegistered(subClass, baseClass) { - var tmp0_elvis_lhs = subClass.n9(); - throwSubtypeNotRegistered_0(null == tmp0_elvis_lhs ? "" + subClass : tmp0_elvis_lhs, baseClass); - } - function throwSubtypeNotRegistered_0(subClassName, baseClass) { - var scope = "in the scope of '" + baseClass.n9() + "'"; - throw SerializationException_init_$Create$(null == subClassName ? "Class discriminator was missing and no default polymorphic serializers were registered " + scope : "Class '" + subClassName + "' is not registered for polymorphic serialization " + scope + ".\nMark the base class as 'sealed' or register the serializer explicitly."); - } - function CachedNames() {} - function ArrayListClassDesc(elementDesc) { - ListLikeDescriptor.call(this, elementDesc); - } - function LinkedHashMapClassDesc(keyDesc, valueDesc) { - MapLikeDescriptor.call(this, "kotlin.collections.LinkedHashMap", keyDesc, valueDesc); - } - function ListLikeDescriptor(elementDescriptor) { - this.qy_1 = elementDescriptor, this.ry_1 = 1; - } - function MapLikeDescriptor(serialName, keyDescriptor, valueDescriptor) { - this.sy_1 = serialName, this.ty_1 = keyDescriptor, this.uy_1 = valueDescriptor, - this.vy_1 = 2; - } - function ArrayListSerializer(element) { - CollectionSerializer.call(this, element), this.xy_1 = new ArrayListClassDesc(element.mv()); - } - function LinkedHashMapSerializer(kSerializer, vSerializer) { - MapLikeSerializer.call(this, kSerializer, vSerializer), this.uz_1 = new LinkedHashMapClassDesc(kSerializer.mv(), vSerializer.mv()); - } - function CollectionSerializer(element) { - CollectionLikeSerializer.call(this, element); - } - function MapLikeSerializer(keySerializer, valueSerializer) { - AbstractCollectionSerializer.call(this), this.d10_1 = keySerializer, this.e10_1 = valueSerializer; - } - function CollectionLikeSerializer(elementSerializer) { - AbstractCollectionSerializer.call(this), this.mz_1 = elementSerializer; - } - function readSize($this, decoder, builder) { - var size = decoder.wx($this.mv()); - return $this.gz(builder, size), size; - } - function AbstractCollectionSerializer() {} - function Companion_0() { - Companion_instance_0 = this, this.f10_1 = longArray(0); - } - function Companion_getInstance_1() { - return null == Companion_instance_0 && new Companion_0, Companion_instance_0; - } - function prepareHighMarksArray($this, elementsCount) { - var slotsCount = (elementsCount - 1 | 0) >>> 6 | 0; - Companion_getInstance(); - var elementsInLastSlot = 63 & elementsCount, highMarks = longArray(slotsCount); - return 0 !== elementsInLastSlot && (highMarks[get_lastIndex(highMarks)] = new Long(-1, -1).fd(elementsCount)), - highMarks; - } - function markHigh($this, index) { - var slot = (index >>> 6 | 0) - 1 | 0; - Companion_getInstance(); - var offsetInSlot = 63 & index; - $this.j10_1[slot] = $this.j10_1[slot].gd(new Long(1, 0).fd(offsetInSlot)); - } - function nextUnmarkedHighIndex($this) { - var inductionVariable = 0, last = $this.j10_1.length - 1 | 0; - if (inductionVariable <= last) do { - var slot = inductionVariable; - inductionVariable = inductionVariable + 1 | 0; - var tmp = slot + 1 | 0; - Companion_getInstance(); - for (var slotOffset = imul(tmp, 64), slotMarks = $this.j10_1[slot]; !slotMarks.equals(new Long(-1, -1)); ) { - var indexInSlot = countTrailingZeroBits(slotMarks.ed()); - slotMarks = slotMarks.gd(new Long(1, 0).fd(indexInSlot)); - var index = slotOffset + indexInSlot | 0; - if ($this.h10_1($this.g10_1, index)) return $this.j10_1[slot] = slotMarks, index; - } - $this.j10_1[slot] = slotMarks; - } while (inductionVariable <= last); - return Companion_getInstance_0(), -1; - } - function ElementMarker(descriptor, readIfAbsent) { - Companion_getInstance_1(), this.g10_1 = descriptor, this.h10_1 = readIfAbsent; - var elementsCount = this.g10_1.zv(); - if (Companion_getInstance(), elementsCount <= 64) { - var tmp_0, tmp = this; - Companion_getInstance(), tmp_0 = 64 === elementsCount ? new Long(0, 0) : new Long(-1, -1).fd(elementsCount), - tmp.i10_1 = tmp_0, this.j10_1 = Companion_getInstance_1().f10_1; - } else this.i10_1 = new Long(0, 0), this.j10_1 = prepareHighMarksArray(this, elementsCount); - } - function jsonCachedSerialNames(_this__u8e3s4) { - return cachedSerialNames(_this__u8e3s4); - } - function SerialDescriptorForNullable() {} - function get_EMPTY_DESCRIPTOR_ARRAY() { - return init_properties_Platform_common_kt_9ujmfm(), EMPTY_DESCRIPTOR_ARRAY; - } - function cachedSerialNames(_this__u8e3s4) { - if (init_properties_Platform_common_kt_9ujmfm(), isInterface(_this__u8e3s4, CachedNames)) return _this__u8e3s4.dx(); - var result = HashSet_init_$Create$_0(_this__u8e3s4.zv()), inductionVariable = 0, last = _this__u8e3s4.zv(); - if (inductionVariable < last) do { - var i = inductionVariable; - inductionVariable = inductionVariable + 1 | 0; - var tmp0_plusAssign = _this__u8e3s4.bw(i); - result.a(tmp0_plusAssign); - } while (inductionVariable < last); return result; - } - function compactArray(_this__u8e3s4) { - var tmp$ret$2; - init_properties_Platform_common_kt_9ujmfm(), tmp$ret$2 = null == _this__u8e3s4 || _this__u8e3s4.l() ? null : _this__u8e3s4; - var tmp1_elvis_lhs = null == tmp$ret$2 ? null : copyToArray(tmp$ret$2); - return null == tmp1_elvis_lhs ? get_EMPTY_DESCRIPTOR_ARRAY() : tmp1_elvis_lhs; - } - function init_properties_Platform_common_kt_9ujmfm() { - properties_initialized_Platform_common_kt_i7q4ty || (properties_initialized_Platform_common_kt_i7q4ty = !0, - EMPTY_DESCRIPTOR_ARRAY = []); - } - function throwMissingFieldException(seen, goldenMask, descriptor) { - var missingFields = ArrayList_init_$Create$(), missingFieldsBits = goldenMask & ~seen, inductionVariable = 0; - if (inductionVariable < 32) do { - var i = inductionVariable; - if (inductionVariable = inductionVariable + 1 | 0, 0 != (1 & missingFieldsBits)) { - var tmp0_plusAssign = descriptor.bw(i); - missingFields.a(tmp0_plusAssign); + }, _.$_$.l3 = function(_this__u8e3s4) { + return toCollection_0(_this__u8e3s4, HashSet_init_$Create$_0(collectionSizeOrDefault(_this__u8e3s4, 12))); + }, _.$_$.m3 = function(_this__u8e3s4) { + if (isInterface(_this__u8e3s4, Collection)) { + var tmp; + switch (_this__u8e3s4.k()) { + case 0: + tmp = emptyList(); + break; + + case 1: + tmp = listOf(isInterface(_this__u8e3s4, KtList) ? _this__u8e3s4.p(0) : _this__u8e3s4.h().j()); + break; + + default: + tmp = toMutableList_0(_this__u8e3s4); } - missingFieldsBits = missingFieldsBits >>> 1 | 0; - } while (inductionVariable < 32); - throw MissingFieldException_init_$Create$(missingFields, descriptor.vv()); - } - function _get_childSerializers__7vnyfa($this) { - return childSerializers$factory(), $this.v10_1.g1(); - } - function _get__hashCode__tgwhef_0($this) { - return _hashCode$factory_0(), $this.x10_1.g1(); - } - function buildIndices($this) { - var indices = HashMap_init_$Create$(), inductionVariable = 0, last = $this.q10_1.length - 1 | 0; - if (inductionVariable <= last) do { - var i = inductionVariable; - inductionVariable = inductionVariable + 1 | 0; - var tmp0_set = $this.q10_1[i]; - indices.t2(tmp0_set, i); - } while (inductionVariable <= last); - return indices; - } - function PluginGeneratedSerialDescriptor$childSerializers$delegate$lambda(this$0) { - return function() { - var tmp0_safe_receiver = this$0.n10_1, tmp1_elvis_lhs = null == tmp0_safe_receiver ? null : tmp0_safe_receiver.y10(); - return null == tmp1_elvis_lhs ? get_EMPTY_SERIALIZER_ARRAY() : tmp1_elvis_lhs; - }; - } - function PluginGeneratedSerialDescriptor$typeParameterDescriptors$delegate$lambda(this$0) { - return function() { - var tmp, tmp0_safe_receiver = this$0.n10_1, tmp1_safe_receiver = null == tmp0_safe_receiver ? null : tmp0_safe_receiver.z10(); - if (null == tmp1_safe_receiver) tmp = null; else { - for (var tmp0_mapTo = ArrayList_init_$Create$_0(tmp1_safe_receiver.length), tmp0_iterator = arrayIterator(tmp1_safe_receiver); tmp0_iterator.e(); ) { - var tmp$ret$0; - tmp$ret$0 = tmp0_iterator.f().mv(), tmp0_mapTo.a(tmp$ret$0); - } - tmp = tmp0_mapTo; + return tmp; + } + return function(_this__u8e3s4) { + switch (_this__u8e3s4.k()) { + case 0: + return emptyList(); + + case 1: + return listOf(_this__u8e3s4.p(0)); + + default: + return _this__u8e3s4; } - return compactArray(tmp); - }; - } - function PluginGeneratedSerialDescriptor$_hashCode$delegate$lambda(this$0) { + }(function(_this__u8e3s4) { + return isInterface(_this__u8e3s4, Collection) ? toMutableList_0(_this__u8e3s4) : toCollection_0(_this__u8e3s4, ArrayList_init_$Create$()); + }(_this__u8e3s4)); + }, _.$_$.n3 = function(_this__u8e3s4) { + switch (_this__u8e3s4.length) { + case 0: + return emptyList(); + + case 1: + return listOf(_this__u8e3s4[0]); + + default: + return function(_this__u8e3s4) { + return ArrayList_init_$Create$_1(function(_this__u8e3s4) { + return new ArrayAsCollection(_this__u8e3s4, !1); + }(_this__u8e3s4)); + }(_this__u8e3s4); + } + }, _.$_$.o3 = function(_this__u8e3s4) { + if (isInterface(_this__u8e3s4, Collection)) { + var tmp; + switch (_this__u8e3s4.k()) { + case 0: + tmp = emptyMap(); + break; + + case 1: + tmp = mapOf(isInterface(_this__u8e3s4, KtList) ? _this__u8e3s4.p(0) : _this__u8e3s4.h().j()); + break; + + default: + tmp = toMap_0(_this__u8e3s4, LinkedHashMap_init_$Create$_0(_this__u8e3s4.k())); + } + return tmp; + } + return function(_this__u8e3s4) { + var tmp; + if (0 === _this__u8e3s4.k()) tmp = emptyMap(); else tmp = _this__u8e3s4; + return tmp; + }(toMap_0(_this__u8e3s4, LinkedHashMap_init_$Create$())); + }, _.$_$.p3 = function(_this__u8e3s4) { + return new IndexingIterable(($this_withIndex = _this__u8e3s4, function() { + return arrayIterator($this_withIndex); + })); + var $this_withIndex; + }, _.$_$.q3 = function(_this__u8e3s4) { + return new IndexingIterable(($this_withIndex = _this__u8e3s4, function() { + return $this_withIndex.h(); + })); + var $this_withIndex; + }, _.$_$.r3 = function(_this__u8e3s4, other) { + for (var first = _this__u8e3s4.h(), second = other.h(), a = collectionSizeOrDefault(_this__u8e3s4, 10), b = collectionSizeOrDefault(other, 10), list = ArrayList_init_$Create$_0(Math.min(a, b)); first.i() && second.i(); ) { + var tmp$ret$1 = to(first.j(), second.j()); + list.e(tmp$ret$1); + } + return list; + }, _.$_$.s3 = CancellationException, _.$_$.t3 = get_COROUTINE_SUSPENDED, _.$_$.u3 = createCoroutineUnintercepted, + _.$_$.v3 = intercepted, _.$_$.w3 = function() { return function() { - return hashCodeImpl(this$0, this$0.a11()); - }; - } - function PluginGeneratedSerialDescriptor$toString$lambda(this$0) { - return function(i) { - return this$0.bw(i) + ": " + this$0.ew(i).vv(); - }; - } - function PluginGeneratedSerialDescriptor(serialName, generatedSerializer, elementsCount) { - this.m10_1 = serialName, this.n10_1 = generatedSerializer, this.o10_1 = elementsCount, - this.p10_1 = -1; - for (var tmp = this, tmp_0 = 0, tmp_1 = this.o10_1, tmp_2 = fillArrayVal(Array(tmp_1), null); tmp_0 < tmp_1; ) { - var tmp$ret$1; - tmp$ret$1 = "[UNINITIALIZED]", tmp_2[tmp_0] = tmp$ret$1, tmp_0 = tmp_0 + 1 | 0; - } - tmp.q10_1 = tmp_2; - var tmp$ret$2, tmp_4 = this, tmp0_arrayOfNulls = this.o10_1; - tmp$ret$2 = fillArrayVal(Array(tmp0_arrayOfNulls), null), tmp_4.r10_1 = tmp$ret$2, - this.s10_1 = null, this.t10_1 = booleanArray(this.o10_1), this.u10_1 = emptyMap(); - var tmp_5 = this, tmp_6 = LazyThreadSafetyMode_PUBLICATION_getInstance(); - tmp_5.v10_1 = lazy_0(tmp_6, PluginGeneratedSerialDescriptor$childSerializers$delegate$lambda(this)); - var tmp_7 = this, tmp_8 = LazyThreadSafetyMode_PUBLICATION_getInstance(); - tmp_7.w10_1 = lazy_0(tmp_8, PluginGeneratedSerialDescriptor$typeParameterDescriptors$delegate$lambda(this)); - var tmp_9 = this, tmp_10 = LazyThreadSafetyMode_PUBLICATION_getInstance(); - tmp_9.x10_1 = lazy_0(tmp_10, PluginGeneratedSerialDescriptor$_hashCode$delegate$lambda(this)); - } - function hashCodeImpl(_this__u8e3s4, typeParams) { - var result = getStringHashCode(_this__u8e3s4.vv()); - result = imul(31, result) + contentHashCode(typeParams) | 0; - for (var elementDescriptors = get_elementDescriptors(_this__u8e3s4), accumulator = 1, tmp0_iterator = elementDescriptors.d(); tmp0_iterator.e(); ) { - var tmp$ret$0, element = tmp0_iterator.f(), tmp = imul(31, accumulator), tmp1_elvis_lhs = null == (tmp$ret$0 = element.vv()) ? null : hashCode(tmp$ret$0); - accumulator = tmp + (null == tmp1_elvis_lhs ? 0 : tmp1_elvis_lhs) | 0; + if (!properties_initialized_EmptyContinuation_kt_4jdb9w) { + properties_initialized_EmptyContinuation_kt_4jdb9w = !0; + var context = EmptyCoroutineContext_getInstance(); + EmptyContinuation = new _no_name_provided__qut3iv_2(context); + } + }(), EmptyContinuation; + }, _.$_$.x3 = AbstractCoroutineContextElement, _.$_$.y3 = AbstractCoroutineContextKey, + _.$_$.z3 = function(key) { + if (key instanceof AbstractCoroutineContextKey) { + var tmp; + if (key.rd(this.f1())) { + var tmp_0 = key.qd(this); + tmp = null != tmp_0 && isInterface(tmp_0, Element) ? tmp_0 : null; + } else tmp = null; + return tmp; + } + return Key_instance === key ? isInterface(this, Element) ? this : THROW_CCE() : null; + }, _.$_$.a4 = function(key) { + return key instanceof AbstractCoroutineContextKey ? key.rd(this.f1()) && null != key.qd(this) ? EmptyCoroutineContext_getInstance() : this : Key_instance === key ? EmptyCoroutineContext_getInstance() : this; + }, _.$_$.b4 = ContinuationInterceptor, _.$_$.c4 = Continuation, _.$_$.d4 = fold, + _.$_$.e4 = get, _.$_$.f4 = minusKey, _.$_$.g4 = Element, _.$_$.h4 = plus, _.$_$.i4 = CoroutineImpl, + _.$_$.j4 = function(_this__u8e3s4, exception) { + var tmp$ret$0 = createFailure(exception); + return _this__u8e3s4.g7(tmp$ret$0); + }, _.$_$.k4 = function(_this__u8e3s4, value) { + var tmp$ret$0 = value; + return _this__u8e3s4.g7(tmp$ret$0); + }, _.$_$.l4 = function(_this__u8e3s4, receiver, completion) { + var this_0 = intercepted(createCoroutineUnintercepted(_this__u8e3s4, receiver, completion)), tmp$ret$0 = Unit_instance; + this_0.g7(tmp$ret$0); + }, _.$_$.m4 = function(entries) { + return new EnumEntriesList(entries); + }, _.$_$.n4 = anyToString, _.$_$.o4 = arrayIterator, _.$_$.p4 = booleanArray, _.$_$.q4 = captureStack, + _.$_$.r4 = charArrayOf, _.$_$.s4 = function(size) { + var array = new Uint16Array(size); + return array.$type$ = "CharArray", array; + }, _.$_$.t4 = charSequenceGet, _.$_$.u4 = charSequenceLength, _.$_$.v4 = charSequenceSubSequence, + _.$_$.w4 = function(obj, name, getter, setter) { + return Object.defineProperty(obj, name, { + configurable: !0, + get: getter, + set: setter + }); + }, _.$_$.x4 = equals, _.$_$.y4 = extendThrowable, _.$_$.z4 = fillArrayVal, _.$_$.a5 = getBooleanHashCode, + _.$_$.b5 = function(name, paramCount, superType, getter, setter) { + return _init_properties_reflectRuntime_kt__5r4uu3(), getter.get = getter, getter.set = setter, + getter.callableName = name, obj = getter, metadata = function(paramCount, setter) { + return _init_properties_reflectRuntime_kt__5r4uu3(), (_init_properties_reflectRuntime_kt__5r4uu3(), + propertyRefClassMetadataCache)[paramCount][null == setter ? 0 : 1]; + }(paramCount, setter), imask = function(obj, superType) { + _init_properties_reflectRuntime_kt__5r4uu3(); + var tmp0_elvis_lhs = obj.$imask$; + return null == tmp0_elvis_lhs ? implement([ superType ]) : tmp0_elvis_lhs; + }(getter, superType), _init_properties_reflectRuntime_kt__5r4uu3(), obj.$metadata$ = metadata, + obj.constructor = obj, obj.$imask$ = imask, obj; + var obj, metadata, imask; + }, _.$_$.c5 = getStringHashCode, _.$_$.d5 = hashCode, _.$_$.e5 = initMetadataForClass, + _.$_$.f5 = initMetadataForCompanion, _.$_$.g5 = function(ctor, parent, interfaces, suspendArity) { + initMetadataForClass(ctor, "Coroutine", VOID, parent, interfaces, suspendArity, VOID, VOID); + }, _.$_$.h5 = initMetadataForInterface, _.$_$.i5 = function(ctor, parent, interfaces, suspendArity) { + initMetadataForClass(ctor, "Lambda", VOID, parent, interfaces, suspendArity, VOID, VOID); + }, _.$_$.j5 = initMetadataForObject, _.$_$.k5 = isCharSequence, _.$_$.l5 = isInterface, + _.$_$.m5 = function(size) { + var array = fillArrayVal(Array(size), new Long(0, 0)); + return array.$type$ = "LongArray", array; + }, _.$_$.n5 = function(message, cause) { + var tmp, throwable = new Error; + if (isUndefined(message)) { + var tmp_0; + if (isUndefined(cause)) tmp_0 = message; else { + var tmp1_elvis_lhs = null == cause ? null : cause.toString(); + tmp_0 = null == tmp1_elvis_lhs ? VOID : tmp1_elvis_lhs; + } + tmp = tmp_0; + } else tmp = null == message ? VOID : message; + return throwable.message = tmp, throwable.cause = cause, throwable.name = "Throwable", + throwable; + }, _.$_$.o5 = numberRangeToNumber, _.$_$.p5 = numberToChar, _.$_$.q5 = numberToInt, + _.$_$.r5 = function(a) { + return a instanceof Long ? a : fromNumber(a); + }, _.$_$.s5 = objectCreate, _.$_$.t5 = protoOf, _.$_$.u5 = function(a) { + return fromInt(a); + }, _.$_$.v5 = toString_1, _.$_$.w5 = function(n) { + return n.b1(new Long(0, 0)) < 0 ? n.d2() : n; + }, _.$_$.x5 = function(_this__u8e3s4) { + if (isNaN_0(_this__u8e3s4)) throw IllegalArgumentException_init_$Create$_0("Cannot round NaN value."); + return _this__u8e3s4 > 2147483647 ? 2147483647 : _this__u8e3s4 < -2147483648 ? -2147483648 : numberToInt(Math.round(_this__u8e3s4)); + }, _.$_$.y5 = ClosedRange, _.$_$.z5 = coerceAtLeast, _.$_$.a6 = coerceAtMost, _.$_$.b6 = function(_this__u8e3s4, value) { + var it = function(_this__u8e3s4) { + return new Long(-2147483648, -1).b1(_this__u8e3s4) <= 0 && _this__u8e3s4.b1(new Long(2147483647, 0)) <= 0 ? _this__u8e3s4.a1() : null; + }(value); + return null != it && _this__u8e3s4.x(it); + }, _.$_$.c6 = function(_this__u8e3s4, step) { + return function(isPositive, step) { + if (!isPositive) throw IllegalArgumentException_init_$Create$_0("Step must be positive, was: " + toString_1(step) + "."); + }(step > 0, step), Companion_instance_9.t(_this__u8e3s4.u_1, _this__u8e3s4.v_1, _this__u8e3s4.w_1 > 0 ? step : 0 | -step); + }, _.$_$.d6 = until, _.$_$.e6 = KProperty1, _.$_$.f6 = SequenceScope, _.$_$.g6 = function(block) { + var iterator = new SequenceBuilderIterator; + return iterator.wc_1 = createCoroutineUnintercepted(block, iterator, iterator), + iterator; + }, _.$_$.h6 = function(elements) { + return 0 === (_this__u8e3s4 = elements).length ? emptySequence() : new _no_name_provided__qut3iv(_this__u8e3s4); + var _this__u8e3s4; + }, _.$_$.i6 = function(_this__u8e3s4, other, ignoreCase) { + return ignoreCase = ignoreCase !== VOID && ignoreCase, "string" == typeof other ? indexOf_2(_this__u8e3s4, other, VOID, ignoreCase) >= 0 : indexOf_3(_this__u8e3s4, other, 0, charSequenceLength(_this__u8e3s4), ignoreCase) >= 0; + }, _.$_$.j6 = endsWith, _.$_$.k6 = indexOf_2, _.$_$.l6 = indexOf_1, _.$_$.m6 = isBlank, + _.$_$.n6 = lastIndexOf_0, _.$_$.o6 = lastIndexOf, _.$_$.p6 = function(_this__u8e3s4, length, padChar) { + return padChar = padChar === VOID ? 32 : padChar, toString_1(function(_this__u8e3s4, length, padChar) { + if (padChar = padChar === VOID ? 32 : padChar, length < 0) throw IllegalArgumentException_init_$Create$_0("Desired length " + length + " is less than zero."); + if (length <= charSequenceLength(_this__u8e3s4)) return charSequenceSubSequence(_this__u8e3s4, 0, charSequenceLength(_this__u8e3s4)); + var sb = StringBuilder_init_$Create$(), inductionVariable = 1, last = length - charSequenceLength(_this__u8e3s4) | 0; + if (inductionVariable <= last) do { + var i = inductionVariable; + inductionVariable = inductionVariable + 1 | 0, sb.i6(padChar); + } while (i !== last); + return sb.f(_this__u8e3s4), sb; + }(isCharSequence(_this__u8e3s4) ? _this__u8e3s4 : THROW_CCE(), length, padChar)); + }, _.$_$.q6 = function(_this__u8e3s4, prefix) { + if (function(_this__u8e3s4, prefix, ignoreCase) { + var tmp, tmp_0; + tmp_0 = !(ignoreCase = ignoreCase !== VOID && ignoreCase) && "string" == typeof _this__u8e3s4; + tmp = !!tmp_0 && "string" == typeof prefix; + return tmp ? startsWith(_this__u8e3s4, prefix) : regionMatchesImpl(_this__u8e3s4, 0, prefix, 0, charSequenceLength(prefix), ignoreCase); + }(_this__u8e3s4, prefix)) { + var startIndex = charSequenceLength(prefix); + return _this__u8e3s4.substring(startIndex); + } + return _this__u8e3s4; + }, _.$_$.r6 = function(_this__u8e3s4, suffix) { + if (function(_this__u8e3s4, suffix, ignoreCase) { + var tmp, tmp_0; + tmp_0 = !(ignoreCase = ignoreCase !== VOID && ignoreCase) && "string" == typeof _this__u8e3s4; + tmp = !!tmp_0 && "string" == typeof suffix; + return tmp ? endsWith(_this__u8e3s4, suffix) : regionMatchesImpl(_this__u8e3s4, charSequenceLength(_this__u8e3s4) - charSequenceLength(suffix) | 0, suffix, 0, charSequenceLength(suffix), ignoreCase); + }(_this__u8e3s4, suffix)) { + var endIndex = _this__u8e3s4.length - charSequenceLength(suffix) | 0; + return _this__u8e3s4.substring(0, endIndex); + } + return _this__u8e3s4; + }, _.$_$.s6 = function(_this__u8e3s4, oldValue, newValue, ignoreCase) { + ignoreCase = ignoreCase !== VOID && ignoreCase; + var pattern = new RegExp(Companion_getInstance_3().y9(oldValue), ignoreCase ? "gui" : "gu"), replacement = Companion_getInstance_3().z9(newValue); + return _this__u8e3s4.replace(pattern, replacement); + }, _.$_$.t6 = function(_this__u8e3s4, oldChar, newChar, ignoreCase) { + ignoreCase = ignoreCase !== VOID && ignoreCase; + var pattern = new RegExp(Companion_getInstance_3().y9(toString(oldChar)), ignoreCase ? "gui" : "gu"), replacement = toString(newChar); + return _this__u8e3s4.replace(pattern, replacement); + }, _.$_$.u6 = startsWith, _.$_$.v6 = function(_this__u8e3s4, delimiter, missingDelimiterValue) { + missingDelimiterValue = missingDelimiterValue === VOID ? _this__u8e3s4 : missingDelimiterValue; + var tmp, index = lastIndexOf_0(_this__u8e3s4, delimiter); + if (-1 === index) tmp = missingDelimiterValue; else { + var startIndex = index + 1 | 0, endIndex = _this__u8e3s4.length; + tmp = _this__u8e3s4.substring(startIndex, endIndex); + } + return tmp; + }, _.$_$.w6 = function(_this__u8e3s4, delimiter, missingDelimiterValue) { + missingDelimiterValue = missingDelimiterValue === VOID ? _this__u8e3s4 : missingDelimiterValue; + var tmp, index = lastIndexOf(_this__u8e3s4, delimiter); + if (-1 === index) tmp = missingDelimiterValue; else { + var startIndex = index + delimiter.length | 0, endIndex = _this__u8e3s4.length; + tmp = _this__u8e3s4.substring(startIndex, endIndex); + } + return tmp; + }, _.$_$.x6 = function(_this__u8e3s4, delimiter, missingDelimiterValue) { + missingDelimiterValue = missingDelimiterValue === VOID ? _this__u8e3s4 : missingDelimiterValue; + var tmp, index = indexOf_1(_this__u8e3s4, delimiter); + if (-1 === index) tmp = missingDelimiterValue; else { + var startIndex = index + 1 | 0, endIndex = _this__u8e3s4.length; + tmp = _this__u8e3s4.substring(startIndex, endIndex); + } + return tmp; + }, _.$_$.y6 = function(_this__u8e3s4, delimiter, missingDelimiterValue) { + missingDelimiterValue = missingDelimiterValue === VOID ? _this__u8e3s4 : missingDelimiterValue; + var tmp, index = indexOf_2(_this__u8e3s4, delimiter); + if (-1 === index) tmp = missingDelimiterValue; else { + var startIndex = index + delimiter.length | 0, endIndex = _this__u8e3s4.length; + tmp = _this__u8e3s4.substring(startIndex, endIndex); + } + return tmp; + }, _.$_$.z6 = function(_this__u8e3s4, delimiter, missingDelimiterValue) { + missingDelimiterValue = missingDelimiterValue === VOID ? _this__u8e3s4 : missingDelimiterValue; + var index = indexOf_1(_this__u8e3s4, delimiter); + return -1 === index ? missingDelimiterValue : _this__u8e3s4.substring(0, index); + }, _.$_$.a7 = function(_this__u8e3s4) { + return null != _this__u8e3s4 && "true" === _this__u8e3s4.toLowerCase(); + }, _.$_$.b7 = toIntOrNull, _.$_$.c7 = function(_this__u8e3s4) { + var tmp, tmp0_elvis_lhs = toIntOrNull(_this__u8e3s4); + return null == tmp0_elvis_lhs ? numberFormatError(_this__u8e3s4) : tmp = tmp0_elvis_lhs, + tmp; + }, _.$_$.d7 = function(_this__u8e3s4, radix) { + var tmp, tmp0_elvis_lhs = toIntOrNull_0(_this__u8e3s4, radix); + return null == tmp0_elvis_lhs ? numberFormatError(_this__u8e3s4) : tmp = tmp0_elvis_lhs, + tmp; + }, _.$_$.e7 = function(_this__u8e3s4) { + var tmp$ret$1; + $l$block: { + var inductionVariable = charSequenceLength(_this__u8e3s4) - 1 | 0; + if (0 <= inductionVariable) do { + var index = inductionVariable; + if (inductionVariable = inductionVariable + -1 | 0, !isWhitespace(charSequenceGet(_this__u8e3s4, index))) { + tmp$ret$1 = charSequenceSubSequence(_this__u8e3s4, 0, index + 1 | 0); + break $l$block; + } + } while (0 <= inductionVariable); + tmp$ret$1 = ""; } - for (var namesHash = accumulator, accumulator_0 = 1, tmp0_iterator_0 = elementDescriptors.d(); tmp0_iterator_0.e(); ) { - var tmp$ret$5, element_0 = tmp0_iterator_0.f(), tmp_0 = imul(31, accumulator_0), tmp1_elvis_lhs_0 = null == (tmp$ret$5 = element_0.wv()) ? null : hashCode(tmp$ret$5); - accumulator_0 = tmp_0 + (null == tmp1_elvis_lhs_0 ? 0 : tmp1_elvis_lhs_0) | 0; + return tmp$ret$1; + }, _.$_$.f7 = trimEnd, _.$_$.g7 = function(_this__u8e3s4) { + return function(_this__u8e3s4, newIndent) { + newIndent = newIndent === VOID ? "" : newIndent; + var lines_0 = function(_this__u8e3s4) { + return function(_this__u8e3s4) { + var it = _this__u8e3s4.h(); + if (!it.i()) return emptyList(); + var element = it.j(); + if (!it.i()) return listOf(element); + var dst = ArrayList_init_$Create$(); + for (dst.e(element); it.i(); ) dst.e(it.j()); + return dst; + }(lineSequence(_this__u8e3s4)); + }(_this__u8e3s4), destination = ArrayList_init_$Create$(), tmp0_iterator = lines_0.h(); + for (;tmp0_iterator.i(); ) { + var element = tmp0_iterator.j(); + isBlank(element) || destination.e(element); + } + var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(destination, 10)), tmp0_iterator_0 = destination.h(); + for (;tmp0_iterator_0.i(); ) { + var tmp$ret$3 = indentWidth(tmp0_iterator_0.j()); + destination_0.e(tmp$ret$3); + } + var tmp0_elvis_lhs = function(_this__u8e3s4) { + var iterator = _this__u8e3s4.h(); + if (!iterator.i()) return null; + for (var min = iterator.j(); iterator.i(); ) { + var e = iterator.j(); + compareTo(min, e) > 0 && (min = e); + } + return min; + }(destination_0), minCommonIndent = null == tmp0_elvis_lhs ? 0 : tmp0_elvis_lhs, indentAddFunction = (_this__u8e3s4.length, + imul(newIndent.length, lines_0.k()), function(indent) { + var tmp; + 0 === charSequenceLength(indent) ? tmp = getIndentFunction$lambda : ($indent = indent, + tmp = function(line) { + return $indent + line; + }); + var $indent; + return tmp; + }(newIndent)), lastIndex = get_lastIndex_2(lines_0), destination_1 = ArrayList_init_$Create$(), index = 0, tmp0_iterator_1 = lines_0.h(); + for (;tmp0_iterator_1.i(); ) { + var item_0 = tmp0_iterator_1.j(), tmp1 = index; + index = tmp1 + 1 | 0; + var tmp, index_0 = checkIndexOverflow(tmp1); + if (0 !== index_0 && index_0 !== lastIndex || !isBlank(item_0)) { + var tmp_0, tmp0_safe_receiver = drop(item_0, minCommonIndent); + tmp_0 = null == tmp0_safe_receiver ? null : indentAddFunction(tmp0_safe_receiver); + tmp = null == tmp_0 ? item_0 : tmp_0; + } else tmp = null; + var tmp0_safe_receiver_0 = tmp; + null == tmp0_safe_receiver_0 || destination_1.e(tmp0_safe_receiver_0); + } + return joinTo_0(destination_1, StringBuilder_init_$Create$(), "\n").toString(); + }(_this__u8e3s4, ""); + }, _.$_$.h7 = trimStart, _.$_$.i7 = function(_this__u8e3s4) { + var startIndex = 0, endIndex = charSequenceLength(_this__u8e3s4) - 1 | 0, startFound = !1; + $l$loop: for (;startIndex <= endIndex; ) { + var match = isWhitespace(charSequenceGet(_this__u8e3s4, startFound ? endIndex : startIndex)); + if (startFound) { + if (!match) break $l$loop; + endIndex = endIndex - 1 | 0; + } else match ? startIndex = startIndex + 1 | 0 : startFound = !0; } - var kindHash = accumulator_0; - return result = imul(31, result) + namesHash | 0, result = imul(31, result) + kindHash | 0; - } - function childSerializers$factory() { - return getPropertyCallableRef("childSerializers", 1, KProperty1, (function(receiver) { - return _get_childSerializers__7vnyfa(receiver); - }), null); - } - function typeParameterDescriptors$factory() { - return getPropertyCallableRef("typeParameterDescriptors", 1, KProperty1, (function(receiver) { - return receiver.a11(); - }), null); - } - function _hashCode$factory_0() { - return getPropertyCallableRef("_hashCode", 1, KProperty1, (function(receiver) { - return _get__hashCode__tgwhef_0(receiver); - }), null); - } - function get_EMPTY_SERIALIZER_ARRAY() { - return init_properties_PluginHelperInterfaces_kt_tblf27(), EMPTY_SERIALIZER_ARRAY; - } - function GeneratedSerializer() {} - function init_properties_PluginHelperInterfaces_kt_tblf27() { - properties_initialized_PluginHelperInterfaces_kt_ap8in1 || (properties_initialized_PluginHelperInterfaces_kt_ap8in1 = !0, - EMPTY_SERIALIZER_ARRAY = []); - } - function StringSerializer() { - StringSerializer_instance = this, this.c11_1 = new PrimitiveSerialDescriptor("kotlin.String", STRING_getInstance()); - } - function StringSerializer_getInstance() { - return null == StringSerializer_instance && new StringSerializer, StringSerializer_instance; - } - function LongSerializer() { - LongSerializer_instance = this, this.e11_1 = new PrimitiveSerialDescriptor("kotlin.Long", LONG_getInstance()); - } - function LongSerializer_getInstance() { - return null == LongSerializer_instance && new LongSerializer, LongSerializer_instance; - } - function IntSerializer() { - IntSerializer_instance = this, this.g11_1 = new PrimitiveSerialDescriptor("kotlin.Int", INT_getInstance()); - } - function IntSerializer_getInstance() { - return null == IntSerializer_instance && new IntSerializer, IntSerializer_instance; - } - function error($this) { - throw IllegalStateException_init_$Create$("Primitive descriptor does not have elements"); - } - function PrimitiveSerialDescriptor(serialName, kind) { - this.i11_1 = serialName, this.j11_1 = kind; - } - function NamedValueDecoder() { - TaggedDecoder.call(this); - } - function tagBlock($this, tag, block) { - $this.y11(tag); - var r = block(); - return $this.q11_1 || $this.z11(), $this.q11_1 = !1, r; - } - function TaggedDecoder$decodeSerializableElement$lambda(this$0, $deserializer, $previousValue) { - return function() { - return this$0.kx($deserializer, $previousValue); - }; - } - function TaggedDecoder() { - var tmp$ret$0, tmp = this; - tmp$ret$0 = ArrayList_init_$Create$(), tmp.p11_1 = tmp$ret$0, this.q11_1 = !1; + return charSequenceSubSequence(_this__u8e3s4, startIndex, endIndex + 1 | 0); + }, _.$_$.j7 = DeepRecursiveFunction, _.$_$.k7 = DeepRecursiveScope, _.$_$.l7 = Enum, + _.$_$.m7 = Error_0, _.$_$.n7 = Exception, _.$_$.o7 = IllegalArgumentException, _.$_$.p7 = Long, + _.$_$.q7 = RuntimeException, _.$_$.r7 = THROW_CCE, _.$_$.s7 = Unit, _.$_$.t7 = UnsupportedOperationException, + _.$_$.u7 = function(_this__u8e3s4, exception) { + if (_this__u8e3s4 !== exception) { + var suppressed = _this__u8e3s4._suppressed; + null == suppressed ? _this__u8e3s4._suppressed = 0 === (elements = [ exception ]).length ? ArrayList_init_$Create$() : ArrayList_init_$Create$_1(new ArrayAsCollection(elements, !0)) : suppressed.e(exception); + } + var elements; + }, _.$_$.v7 = function(_this__u8e3s4) { + var low = _this__u8e3s4.y_1; + return 0 === low ? 32 + countTrailingZeroBits_0(_this__u8e3s4.z_1) | 0 : countTrailingZeroBits_0(low); + }, _.$_$.w7 = createFailure, _.$_$.x7 = ensureNotNull, _.$_$.y7 = function(_this__u8e3s4, value) { + return _init_properties_DeepRecursive_kt__zbwcac(), new DeepRecursiveScopeImpl(_this__u8e3s4.se_1, value).xe(); + }, _.$_$.z7 = function(mode, initializer) { + return new UnsafeLazyImpl(initializer); + }, _.$_$.a8 = function(initializer) { + return new UnsafeLazyImpl(initializer); + }, _.$_$.b8 = function() { + throw NoWhenBranchMatchedException_init_$Create$(); + }, _.$_$.c8 = function(_this__u8e3s4, other) { + var tmp3_elvis_lhs = null == _this__u8e3s4 ? null : toString_1(_this__u8e3s4), tmp = null == tmp3_elvis_lhs ? "null" : tmp3_elvis_lhs, tmp1_elvis_lhs = null == other ? null : toString_1(other); + return tmp + (null == tmp1_elvis_lhs ? "null" : tmp1_elvis_lhs); + }, _.$_$.d8 = function(_this__u8e3s4) { + console.error(stackTraceToString(_this__u8e3s4)); + }, _.$_$.e8 = stackTraceToString, _.$_$.f8 = function(name) { + throw UninitializedPropertyAccessException_init_$Create$_0("lateinit property " + name + " has not been initialized"); + }, _.$_$.g8 = toString_0, _.$_$.h8 = to; + }(module.exports); + }, + 4350: (module, __unused_webpack_exports, __webpack_require__) => { + !function(_, $module$node_fs_promises_daq1pm, $module$node_stream_promises_chc41p, kotlin_kotlin, kotlin_org_jetbrains_kotlin_wrappers_kotlin_js) { + "use strict"; + var chmod = $module$node_fs_promises_daq1pm.chmod, mkdir = $module$node_fs_promises_daq1pm.mkdir, readFile = $module$node_fs_promises_daq1pm.readFile, rename = $module$node_fs_promises_daq1pm.rename, stat = $module$node_fs_promises_daq1pm.stat, unlink = $module$node_fs_promises_daq1pm.unlink, writeFile = $module$node_fs_promises_daq1pm.writeFile, finished = $module$node_stream_promises_chc41p.finished, VOID = kotlin_kotlin.$_$.c, Unit_instance = kotlin_kotlin.$_$.w1, CoroutineImpl = kotlin_kotlin.$_$.i4, awaitPromiseLike = kotlin_org_jetbrains_kotlin_wrappers_kotlin_js.$_$.a, get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.t3, protoOf = kotlin_kotlin.$_$.t5, initMetadataForCoroutine = kotlin_kotlin.$_$.g5; + function $chmodCOROUTINE$0(path, mode, resultContinuation) { + CoroutineImpl.call(this, resultContinuation), this.fq_1 = path, this.gq_1 = mode; } - function get_EmptySerializersModuleLegacyJs() { - return init_properties_SerializersModule_kt_swldyf(), EmptySerializersModule; + function $mkdirCOROUTINE$1(path, options, resultContinuation) { + CoroutineImpl.call(this, resultContinuation), this.qq_1 = path, this.rq_1 = options; } - function SerializersModule() {} - function SerialModuleImpl(class2ContextualFactory, polyBase2Serializers, polyBase2DefaultSerializerProvider, polyBase2NamedSerializers, polyBase2DefaultDeserializerProvider) { - SerializersModule.call(this), this.b12_1 = class2ContextualFactory, this.c12_1 = polyBase2Serializers, - this.d12_1 = polyBase2DefaultSerializerProvider, this.e12_1 = polyBase2NamedSerializers, - this.f12_1 = polyBase2DefaultDeserializerProvider; + function $readFileCOROUTINE$2(path, options, resultContinuation) { + CoroutineImpl.call(this, resultContinuation), this.br_1 = path, this.cr_1 = options; } - function init_properties_SerializersModule_kt_swldyf() { - properties_initialized_SerializersModule_kt_fjigjn || (properties_initialized_SerializersModule_kt_fjigjn = !0, - EmptySerializersModule = new SerialModuleImpl(emptyMap(), emptyMap(), emptyMap(), emptyMap(), emptyMap())); + function $renameCOROUTINE$3(oldPath, newPath, resultContinuation) { + CoroutineImpl.call(this, resultContinuation), this.mr_1 = oldPath, this.nr_1 = newPath; } - function EmptySerializersModule_0() { - return get_EmptySerializersModuleLegacyJs(); + function $statCOROUTINE$4(path, resultContinuation) { + CoroutineImpl.call(this, resultContinuation), this.xr_1 = path; } - function SerializableWith() {} - function isInstanceOf(_this__u8e3s4, kclass) { - return kclass.o9(_this__u8e3s4); + function $unlinkCOROUTINE$5(path, resultContinuation) { + CoroutineImpl.call(this, resultContinuation), this.hs_1 = path; } - function getChecked(_this__u8e3s4, index) { - if (!(0 <= index && index <= (_this__u8e3s4.length - 1 | 0))) throw IndexOutOfBoundsException_init_$Create$("Index " + index + " out of bounds " + get_indices(_this__u8e3s4)); - return _this__u8e3s4[index]; + function $writeFileCOROUTINE$6(file, data, options, resultContinuation) { + CoroutineImpl.call(this, resultContinuation), this.rs_1 = file, this.ss_1 = data, + this.ts_1 = options; } - function getChecked_0(_this__u8e3s4, index) { - if (!(0 <= index && index <= (_this__u8e3s4.length - 1 | 0))) throw IndexOutOfBoundsException_init_$Create$("Index " + index + " out of bounds " + get_indices_0(_this__u8e3s4)); - return _this__u8e3s4[index]; + function $finishedCOROUTINE$7(stream, options, resultContinuation) { + CoroutineImpl.call(this, resultContinuation), this.dt_1 = stream, this.et_1 = options; } - return setMetadataFor(SerializationStrategy, "SerializationStrategy", interfaceMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(DeserializationStrategy, "DeserializationStrategy", interfaceMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(KSerializer, "KSerializer", interfaceMeta, void 0, [ SerializationStrategy, DeserializationStrategy ], void 0, void 0, []), - setMetadataFor(AbstractPolymorphicSerializer, "AbstractPolymorphicSerializer", classMeta, void 0, [ KSerializer ], void 0, void 0, []), - setMetadataFor(SealedClassSerializer, "SealedClassSerializer", classMeta, AbstractPolymorphicSerializer, void 0, void 0, void 0, []), - setMetadataFor(SerializationException, "SerializationException", classMeta, IllegalArgumentException, void 0, void 0, void 0, []), - setMetadataFor(UnknownFieldException, "UnknownFieldException", classMeta, SerializationException, void 0, void 0, void 0, []), - setMetadataFor(MissingFieldException, "MissingFieldException", classMeta, SerializationException, void 0, void 0, void 0, []), - setMetadataFor(SerialDescriptor, "SerialDescriptor", interfaceMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(ContextDescriptor, "ContextDescriptor", classMeta, void 0, [ SerialDescriptor ], void 0, void 0, []), - setMetadataFor(elementDescriptors$1$1, void 0, classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(_no_name_provided__qut3iv, void 0, classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(ClassSerialDescriptorBuilder, "ClassSerialDescriptorBuilder", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(CachedNames, "CachedNames", interfaceMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(SerialDescriptorImpl, "SerialDescriptorImpl", classMeta, void 0, [ SerialDescriptor, CachedNames ], void 0, void 0, []), - setMetadataFor(SerialKind, "SerialKind", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(ENUM, "ENUM", objectMeta, SerialKind, void 0, void 0, void 0, []), - setMetadataFor(CONTEXTUAL, "CONTEXTUAL", objectMeta, SerialKind, void 0, void 0, void 0, []), - setMetadataFor(PolymorphicKind, "PolymorphicKind", classMeta, SerialKind, void 0, void 0, void 0, []), - setMetadataFor(PrimitiveKind, "PrimitiveKind", classMeta, SerialKind, void 0, void 0, void 0, []), - setMetadataFor(INT, "INT", objectMeta, PrimitiveKind, void 0, void 0, void 0, []), - setMetadataFor(LONG, "LONG", objectMeta, PrimitiveKind, void 0, void 0, void 0, []), - setMetadataFor(STRING, "STRING", objectMeta, PrimitiveKind, void 0, void 0, void 0, []), - setMetadataFor(StructureKind, "StructureKind", classMeta, SerialKind, void 0, void 0, void 0, []), - setMetadataFor(CLASS, "CLASS", objectMeta, StructureKind, void 0, void 0, void 0, []), - setMetadataFor(LIST, "LIST", objectMeta, StructureKind, void 0, void 0, void 0, []), - setMetadataFor(MAP, "MAP", objectMeta, StructureKind, void 0, void 0, void 0, []), - setMetadataFor(Decoder, "Decoder", interfaceMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(CompositeDecoder, "CompositeDecoder", interfaceMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(AbstractDecoder, "AbstractDecoder", classMeta, void 0, [ Decoder, CompositeDecoder ], void 0, void 0, []), - setMetadataFor(Encoder, "Encoder", interfaceMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(AbstractEncoder, "AbstractEncoder", classMeta, void 0, [ Encoder ], void 0, void 0, []), - setMetadataFor(Companion, "Companion", objectMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(ListLikeDescriptor, "ListLikeDescriptor", classMeta, void 0, [ SerialDescriptor ], void 0, void 0, []), - setMetadataFor(ArrayListClassDesc, "ArrayListClassDesc", classMeta, ListLikeDescriptor, void 0, void 0, void 0, []), - setMetadataFor(MapLikeDescriptor, "MapLikeDescriptor", classMeta, void 0, [ SerialDescriptor ], void 0, void 0, []), - setMetadataFor(LinkedHashMapClassDesc, "LinkedHashMapClassDesc", classMeta, MapLikeDescriptor, void 0, void 0, void 0, []), - setMetadataFor(AbstractCollectionSerializer, "AbstractCollectionSerializer", classMeta, void 0, [ KSerializer ], void 0, void 0, []), - setMetadataFor(CollectionLikeSerializer, "CollectionLikeSerializer", classMeta, AbstractCollectionSerializer, void 0, void 0, void 0, []), - setMetadataFor(CollectionSerializer, "CollectionSerializer", classMeta, CollectionLikeSerializer, void 0, void 0, void 0, []), - setMetadataFor(ArrayListSerializer, "ArrayListSerializer", classMeta, CollectionSerializer, void 0, void 0, void 0, []), - setMetadataFor(MapLikeSerializer, "MapLikeSerializer", classMeta, AbstractCollectionSerializer, void 0, void 0, void 0, []), - setMetadataFor(LinkedHashMapSerializer, "LinkedHashMapSerializer", classMeta, MapLikeSerializer, void 0, void 0, void 0, []), - setMetadataFor(Companion_0, "Companion", objectMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(ElementMarker, "ElementMarker", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(SerialDescriptorForNullable, "SerialDescriptorForNullable", classMeta, void 0, [ SerialDescriptor, CachedNames ], void 0, void 0, []), - setMetadataFor(PluginGeneratedSerialDescriptor, "PluginGeneratedSerialDescriptor", classMeta, void 0, [ SerialDescriptor, CachedNames ], void 0, void 0, []), - setMetadataFor(GeneratedSerializer, "GeneratedSerializer", interfaceMeta, void 0, [ KSerializer ], void 0, void 0, []), - setMetadataFor(StringSerializer, "StringSerializer", objectMeta, void 0, [ KSerializer ], void 0, void 0, []), - setMetadataFor(LongSerializer, "LongSerializer", objectMeta, void 0, [ KSerializer ], void 0, void 0, []), - setMetadataFor(IntSerializer, "IntSerializer", objectMeta, void 0, [ KSerializer ], void 0, void 0, []), - setMetadataFor(PrimitiveSerialDescriptor, "PrimitiveSerialDescriptor", classMeta, void 0, [ SerialDescriptor ], void 0, void 0, []), - setMetadataFor(TaggedDecoder, "TaggedDecoder", classMeta, void 0, [ Decoder, CompositeDecoder ], void 0, void 0, []), - setMetadataFor(NamedValueDecoder, "NamedValueDecoder", classMeta, TaggedDecoder, void 0, void 0, void 0, []), - setMetadataFor(SerializersModule, "SerializersModule", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(SerialModuleImpl, "SerialModuleImpl", classMeta, SerializersModule, void 0, void 0, void 0, []), - setMetadataFor(SerializableWith, "SerializableWith", classMeta, void 0, void 0, 0, void 0, []), - elementDescriptors$1$1.prototype.e = function() { - return this.gw_1 > 0; - }, elementDescriptors$1$1.prototype.f = function() { - var tmp = this.hw_1.zv(), tmp0_this = this, tmp1 = tmp0_this.gw_1; - return tmp0_this.gw_1 = tmp1 - 1 | 0, this.hw_1.ew(tmp - tmp1 | 0); - }, _no_name_provided__qut3iv.prototype.d = function() { - return new elementDescriptors$1$1(this.iw_1); - }, SerialDescriptorImpl.prototype.vv = function() { - return this.rw_1; - }, SerialDescriptorImpl.prototype.wv = function() { - return this.sw_1; - }, SerialDescriptorImpl.prototype.zv = function() { - return this.tw_1; - }, SerialDescriptorImpl.prototype.aw = function() { - return this.uw_1; - }, SerialDescriptorImpl.prototype.dx = function() { - return this.vw_1; - }, SerialDescriptorImpl.prototype.bw = function(index) { - return getChecked(this.ww_1, index); - }, SerialDescriptorImpl.prototype.cw = function(name) { - var tmp, tmp0_elvis_lhs = this.ax_1.v1(name); - return null == tmp0_elvis_lhs ? (Companion_getInstance_0(), tmp = -3) : tmp = tmp0_elvis_lhs, - tmp; - }, SerialDescriptorImpl.prototype.dw = function(index) { - return getChecked(this.yw_1, index); - }, SerialDescriptorImpl.prototype.ew = function(index) { - return getChecked(this.xw_1, index); - }, SerialDescriptorImpl.prototype.fw = function(index) { - return getChecked_0(this.zw_1, index); - }, SerialDescriptorImpl.prototype.equals = function(other) { - var tmp$ret$0; - $l$block_5: if (this !== other) if (other instanceof SerialDescriptorImpl) if (this.vv() === other.vv()) { - var tmp0__anonymous__q1qw7t = other; - if (contentEquals(this.bx_1, tmp0__anonymous__q1qw7t.bx_1)) if (this.zv() === other.zv()) { - var inductionVariable = 0, last = this.zv(); - if (inductionVariable < last) do { - var index = inductionVariable; - if (inductionVariable = inductionVariable + 1 | 0, this.ew(index).vv() !== other.ew(index).vv()) { - tmp$ret$0 = !1; - break $l$block_5; - } - if (!equals(this.ew(index).wv(), other.ew(index).wv())) { - tmp$ret$0 = !1; - break $l$block_5; - } - } while (inductionVariable < last); - tmp$ret$0 = !0; - } else tmp$ret$0 = !1; else tmp$ret$0 = !1; - } else tmp$ret$0 = !1; else tmp$ret$0 = !1; else tmp$ret$0 = !0; - return tmp$ret$0; - }, SerialDescriptorImpl.prototype.hashCode = function() { - return _get__hashCode__tgwhef(this); - }, SerialDescriptorImpl.prototype.toString = function() { - var tmp = until(0, this.tw_1), tmp_0 = this.rw_1 + "("; - return joinToString$default(tmp, ", ", tmp_0, ")", 0, null, SerialDescriptorImpl$toString$lambda(this), 24, null); - }, SerialKind.prototype.toString = function() { - return ensureNotNull(getKClassFromExpression(this).n9()); - }, SerialKind.prototype.hashCode = function() { - return getStringHashCode(this.toString()); - }, AbstractDecoder.prototype.ex = function() { - throw SerializationException_init_$Create$(getKClassFromExpression(this) + " can't retrieve untyped values"); - }, AbstractDecoder.prototype.fx = function() { - return !0; - }, AbstractDecoder.prototype.gx = function() { - return null; - }, AbstractDecoder.prototype.hx = function() { - var tmp = this.ex(); - return "number" == typeof tmp ? tmp : THROW_CCE(); - }, AbstractDecoder.prototype.ix = function() { - var tmp = this.ex(); - return tmp instanceof Long ? tmp : THROW_CCE(); - }, AbstractDecoder.prototype.jx = function() { - var tmp = this.ex(); - return "string" == typeof tmp ? tmp : THROW_CCE(); - }, AbstractDecoder.prototype.kx = function(deserializer, previousValue) { - return this.lx(deserializer); - }, AbstractDecoder.prototype.mx = function(descriptor) { - return this; - }, AbstractDecoder.prototype.nx = function(descriptor) {}, AbstractDecoder.prototype.ox = function(descriptor, index) { - return this.hx(); - }, AbstractDecoder.prototype.px = function(descriptor, index) { - return this.ix(); - }, AbstractDecoder.prototype.qx = function(descriptor, index) { - return this.jx(); - }, AbstractDecoder.prototype.rx = function(descriptor, index, deserializer, previousValue) { - return this.kx(deserializer, previousValue); - }, AbstractEncoder.prototype.mx = function(descriptor) { - return this; - }, AbstractEncoder.prototype.nx = function(descriptor) {}, AbstractEncoder.prototype.xx = function(descriptor, index) { - return !0; - }, AbstractEncoder.prototype.yx = function(value) { - throw SerializationException_init_$Create$("Non-serializable " + getKClassFromExpression(value) + " is not supported by " + getKClassFromExpression(this) + " encoder"); - }, AbstractEncoder.prototype.zx = function() { - throw SerializationException_init_$Create$("'null' is not supported by default"); - }, AbstractEncoder.prototype.ay = function(value) { - return this.yx(value); - }, AbstractEncoder.prototype.by = function(value) { - return this.yx(value); - }, AbstractEncoder.prototype.cy = function(value) { - return this.yx(value); - }, AbstractEncoder.prototype.dy = function(descriptor, index, value) { - this.xx(descriptor, index) && this.ay(value); - }, AbstractEncoder.prototype.ey = function(descriptor, index, value) { - this.xx(descriptor, index) && this.by(value); - }, AbstractEncoder.prototype.fy = function(descriptor, index, value) { - this.xx(descriptor, index) && this.cy(value); - }, AbstractEncoder.prototype.gy = function(descriptor, index, serializer, value) { - this.xx(descriptor, index) && this.hy(serializer, value); - }, AbstractPolymorphicSerializer.prototype.ly = function(decoder, klassName) { - return decoder.tx().my(this.qv(), klassName); - }, AbstractPolymorphicSerializer.prototype.pv = function(encoder, value) { - return encoder.tx().ny(this.qv(), value); - }, ArrayListClassDesc.prototype.vv = function() { - return "kotlin.collections.ArrayList"; - }, ListLikeDescriptor.prototype.wv = function() { - return LIST_getInstance(); - }, ListLikeDescriptor.prototype.zv = function() { - return this.ry_1; - }, ListLikeDescriptor.prototype.bw = function(index) { - return index.toString(); - }, ListLikeDescriptor.prototype.cw = function(name) { - var tmp0_elvis_lhs = toIntOrNull(name); - if (null == tmp0_elvis_lhs) throw IllegalArgumentException_init_$Create$(name + " is not a valid list index"); - return tmp0_elvis_lhs; - }, ListLikeDescriptor.prototype.fw = function(index) { - var tmp$ret$0; - if (!(index >= 0)) throw tmp$ret$0 = "Illegal index " + index + ", " + this.vv() + " expects only non-negative indices", - IllegalArgumentException_init_$Create$(toString(tmp$ret$0)); - return !1; - }, ListLikeDescriptor.prototype.dw = function(index) { - var tmp$ret$0; - if (!(index >= 0)) throw tmp$ret$0 = "Illegal index " + index + ", " + this.vv() + " expects only non-negative indices", - IllegalArgumentException_init_$Create$(toString(tmp$ret$0)); - return emptyList(); - }, ListLikeDescriptor.prototype.ew = function(index) { - var tmp$ret$0; - if (!(index >= 0)) throw tmp$ret$0 = "Illegal index " + index + ", " + this.vv() + " expects only non-negative indices", - IllegalArgumentException_init_$Create$(toString(tmp$ret$0)); - return this.qy_1; - }, ListLikeDescriptor.prototype.equals = function(other) { - return this === other || other instanceof ListLikeDescriptor && !(!equals(this.qy_1, other.qy_1) || this.vv() !== other.vv()); - }, ListLikeDescriptor.prototype.hashCode = function() { - return imul(hashCode(this.qy_1), 31) + getStringHashCode(this.vv()) | 0; - }, ListLikeDescriptor.prototype.toString = function() { - return this.vv() + "(" + this.qy_1 + ")"; - }, MapLikeDescriptor.prototype.vv = function() { - return this.sy_1; - }, MapLikeDescriptor.prototype.wv = function() { - return MAP_getInstance(); - }, MapLikeDescriptor.prototype.zv = function() { - return this.vy_1; - }, MapLikeDescriptor.prototype.bw = function(index) { - return index.toString(); - }, MapLikeDescriptor.prototype.cw = function(name) { - var tmp0_elvis_lhs = toIntOrNull(name); - if (null == tmp0_elvis_lhs) throw IllegalArgumentException_init_$Create$(name + " is not a valid map index"); - return tmp0_elvis_lhs; - }, MapLikeDescriptor.prototype.fw = function(index) { - var tmp$ret$0; - if (!(index >= 0)) throw tmp$ret$0 = "Illegal index " + index + ", " + this.vv() + " expects only non-negative indices", - IllegalArgumentException_init_$Create$(toString(tmp$ret$0)); - return !1; - }, MapLikeDescriptor.prototype.dw = function(index) { - var tmp$ret$0; - if (!(index >= 0)) throw tmp$ret$0 = "Illegal index " + index + ", " + this.vv() + " expects only non-negative indices", - IllegalArgumentException_init_$Create$(toString(tmp$ret$0)); - return emptyList(); - }, MapLikeDescriptor.prototype.ew = function(index) { - var tmp$ret$0, tmp; - if (!(index >= 0)) throw tmp$ret$0 = "Illegal index " + index + ", " + this.vv() + " expects only non-negative indices", - IllegalArgumentException_init_$Create$(toString(tmp$ret$0)); - switch (index % 2 | 0) { - case 0: - tmp = this.ty_1; - break; + initMetadataForCoroutine($chmodCOROUTINE$0, CoroutineImpl), initMetadataForCoroutine($mkdirCOROUTINE$1, CoroutineImpl), + initMetadataForCoroutine($readFileCOROUTINE$2, CoroutineImpl), initMetadataForCoroutine($renameCOROUTINE$3, CoroutineImpl), + initMetadataForCoroutine($statCOROUTINE$4, CoroutineImpl), initMetadataForCoroutine($unlinkCOROUTINE$5, CoroutineImpl), + initMetadataForCoroutine($writeFileCOROUTINE$6, CoroutineImpl), initMetadataForCoroutine($finishedCOROUTINE$7, CoroutineImpl), + protoOf($chmodCOROUTINE$0).d7 = function() { + var suspendResult = this.x6_1; + $sm: for (;;) try { + switch (this.v6_1) { + case 0: + this.w6_1 = 2; + if (this.hq_1 = chmod(this.fq_1, this.gq_1), this.v6_1 = 1, (suspendResult = awaitPromiseLike(this.hq_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; - case 1: - tmp = this.uy_1; - break; + case 1: + return suspendResult; - default: - throw IllegalStateException_init_$Create$("Unreached"); + case 2: + throw this.y6_1; + } + } catch ($p) { + var e = $p; + if (2 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; } - return tmp; - }, MapLikeDescriptor.prototype.equals = function(other) { - return this === other || other instanceof MapLikeDescriptor && this.vv() === other.vv() && !!equals(this.ty_1, other.ty_1) && !!equals(this.uy_1, other.uy_1); - }, MapLikeDescriptor.prototype.hashCode = function() { - var result = getStringHashCode(this.vv()); - return result = imul(31, result) + hashCode(this.ty_1) | 0, result = imul(31, result) + hashCode(this.uy_1) | 0; - }, MapLikeDescriptor.prototype.toString = function() { - return this.vv() + "(" + this.ty_1 + ", " + this.uy_1 + ")"; - }, ArrayListSerializer.prototype.mv = function() { - return this.xy_1; - }, ArrayListSerializer.prototype.yy = function() { - return ArrayList_init_$Create$(); - }, ArrayListSerializer.prototype.zy = function(_this__u8e3s4) { - return _this__u8e3s4.c(); - }, ArrayListSerializer.prototype.az = function(_this__u8e3s4) { - return this.zy(_this__u8e3s4 instanceof ArrayList ? _this__u8e3s4 : THROW_CCE()); - }, ArrayListSerializer.prototype.bz = function(_this__u8e3s4) { - return _this__u8e3s4; - }, ArrayListSerializer.prototype.cz = function(_this__u8e3s4) { - return this.bz(_this__u8e3s4 instanceof ArrayList ? _this__u8e3s4 : THROW_CCE()); - }, ArrayListSerializer.prototype.dz = function(_this__u8e3s4) { - var tmp0_elvis_lhs = _this__u8e3s4 instanceof ArrayList ? _this__u8e3s4 : null; - return null == tmp0_elvis_lhs ? ArrayList_init_$Create$_1(_this__u8e3s4) : tmp0_elvis_lhs; - }, ArrayListSerializer.prototype.ez = function(_this__u8e3s4) { - return this.dz(null != _this__u8e3s4 && isInterface(_this__u8e3s4, List) ? _this__u8e3s4 : THROW_CCE()); - }, ArrayListSerializer.prototype.fz = function(_this__u8e3s4, size) { - return _this__u8e3s4.l7(size); - }, ArrayListSerializer.prototype.gz = function(_this__u8e3s4, size) { - return this.fz(_this__u8e3s4 instanceof ArrayList ? _this__u8e3s4 : THROW_CCE(), size); - }, ArrayListSerializer.prototype.hz = function(_this__u8e3s4, index, element) { - _this__u8e3s4.s6(index, element); - }, ArrayListSerializer.prototype.iz = function(_this__u8e3s4, index, element) { - var tmp = _this__u8e3s4 instanceof ArrayList ? _this__u8e3s4 : THROW_CCE(); - return this.hz(tmp, index, null == element || isObject(element) ? element : THROW_CCE()); - }, LinkedHashMapSerializer.prototype.mv = function() { - return this.uz_1; - }, LinkedHashMapSerializer.prototype.vz = function(_this__u8e3s4) { - return _this__u8e3s4.c(); - }, LinkedHashMapSerializer.prototype.wz = function(_this__u8e3s4) { - return this.vz(null != _this__u8e3s4 && isInterface(_this__u8e3s4, Map) ? _this__u8e3s4 : THROW_CCE()); - }, LinkedHashMapSerializer.prototype.xz = function(_this__u8e3s4) { - return _this__u8e3s4.h1().d(); - }, LinkedHashMapSerializer.prototype.yz = function(_this__u8e3s4) { - return this.xz(null != _this__u8e3s4 && isInterface(_this__u8e3s4, Map) ? _this__u8e3s4 : THROW_CCE()); - }, LinkedHashMapSerializer.prototype.yy = function() { - return LinkedHashMap_init_$Create$(); - }, LinkedHashMapSerializer.prototype.zz = function(_this__u8e3s4) { - return imul(_this__u8e3s4.c(), 2); - }, LinkedHashMapSerializer.prototype.az = function(_this__u8e3s4) { - return this.zz(_this__u8e3s4 instanceof LinkedHashMap ? _this__u8e3s4 : THROW_CCE()); - }, LinkedHashMapSerializer.prototype.a10 = function(_this__u8e3s4) { - return _this__u8e3s4; - }, LinkedHashMapSerializer.prototype.cz = function(_this__u8e3s4) { - return this.a10(_this__u8e3s4 instanceof LinkedHashMap ? _this__u8e3s4 : THROW_CCE()); - }, LinkedHashMapSerializer.prototype.b10 = function(_this__u8e3s4) { - var tmp0_elvis_lhs = _this__u8e3s4 instanceof LinkedHashMap ? _this__u8e3s4 : null; - return null == tmp0_elvis_lhs ? LinkedHashMap_init_$Create$_0(_this__u8e3s4) : tmp0_elvis_lhs; - }, LinkedHashMapSerializer.prototype.ez = function(_this__u8e3s4) { - return this.b10(null != _this__u8e3s4 && isInterface(_this__u8e3s4, Map) ? _this__u8e3s4 : THROW_CCE()); - }, LinkedHashMapSerializer.prototype.c10 = function(_this__u8e3s4, size) {}, LinkedHashMapSerializer.prototype.gz = function(_this__u8e3s4, size) { - return this.c10(_this__u8e3s4 instanceof LinkedHashMap ? _this__u8e3s4 : THROW_CCE(), size); - }, CollectionSerializer.prototype.kz = function(_this__u8e3s4) { - return _this__u8e3s4.c(); - }, CollectionSerializer.prototype.wz = function(_this__u8e3s4) { - return this.kz(null != _this__u8e3s4 && isInterface(_this__u8e3s4, Collection) ? _this__u8e3s4 : THROW_CCE()); - }, CollectionSerializer.prototype.lz = function(_this__u8e3s4) { - return _this__u8e3s4.d(); - }, CollectionSerializer.prototype.yz = function(_this__u8e3s4) { - return this.lz(null != _this__u8e3s4 && isInterface(_this__u8e3s4, Collection) ? _this__u8e3s4 : THROW_CCE()); - }, MapLikeSerializer.prototype.oz = function(decoder, builder, startIndex, size) { - if (!(size >= 0)) throw IllegalArgumentException_init_$Create$(toString("Size must be known in advance when using READ_ALL")); - var progression = step(until(0, imul(size, 2)), 2), inductionVariable = progression.o_1, last = progression.p_1, step_0 = progression.q_1; - if (step_0 > 0 && inductionVariable <= last || step_0 < 0 && last <= inductionVariable) do { - var index = inductionVariable; - inductionVariable = inductionVariable + step_0 | 0, this.pz(decoder, startIndex + index | 0, builder, !1); - } while (index !== last); - }, MapLikeSerializer.prototype.pz = function(decoder, index, builder, checkIndex) { - var tmp_0, tmp = this.mv(), key = decoder.sx(tmp, index, this.d10_1, null, 8, null); - if (checkIndex) { - var tmp0_also = decoder.vx(this.mv()); - if (tmp0_also !== (index + 1 | 0)) throw IllegalArgumentException_init_$Create$(toString("Value must follow key in a map, index for key: " + index + ", returned index for value: " + tmp0_also)); - tmp_0 = tmp0_also; - } else tmp_0 = index + 1 | 0; - var tmp_1, vIndex = tmp_0; - if (!!builder.p1(key) && !(this.e10_1.mv().wv() instanceof PrimitiveKind)) tmp_1 = decoder.rx(this.mv(), vIndex, this.e10_1, getValue(builder, key)); else { - var tmp_4 = this.mv(); - tmp_1 = decoder.sx(tmp_4, vIndex, this.e10_1, null, 8, null); - } - var value = tmp_1; - builder.t2(key, value); - }, MapLikeSerializer.prototype.nz = function(encoder, value) { - for (var size = this.wz(value), tmp0_encodeCollection = this.mv(), composite = encoder.iy(tmp0_encodeCollection, size), index = 0, tmp0_iterator = this.yz(value); tmp0_iterator.e(); ) { - var element = tmp0_iterator.f(), k = element.e1(), v = element.g1(), tmp = this.mv(), tmp0 = index; - index = tmp0 + 1 | 0, composite.gy(tmp, tmp0, this.d10_1, k); - var tmp_0 = this.mv(), tmp1 = index; - index = tmp1 + 1 | 0, composite.gy(tmp_0, tmp1, this.e10_1, v); - } - composite.nx(tmp0_encodeCollection); - }, MapLikeSerializer.prototype.nv = function(encoder, value) { - return this.nz(encoder, null == value || isObject(value) ? value : THROW_CCE()); - }, CollectionLikeSerializer.prototype.nz = function(encoder, value) { - var size = this.wz(value), tmp0_encodeCollection = this.mv(), composite = encoder.iy(tmp0_encodeCollection, size), iterator = this.yz(value), inductionVariable = 0; - if (inductionVariable < size) do { - var index = inductionVariable; - inductionVariable = inductionVariable + 1 | 0, composite.gy(this.mv(), index, this.mz_1, iterator.f()); - } while (inductionVariable < size); - composite.nx(tmp0_encodeCollection); - }, CollectionLikeSerializer.prototype.nv = function(encoder, value) { - return this.nz(encoder, null == value || isObject(value) ? value : THROW_CCE()); - }, CollectionLikeSerializer.prototype.oz = function(decoder, builder, startIndex, size) { - if (!(size >= 0)) throw IllegalArgumentException_init_$Create$(toString("Size must be known in advance when using READ_ALL")); - var inductionVariable = 0; - if (inductionVariable < size) do { - var index = inductionVariable; - inductionVariable = inductionVariable + 1 | 0, this.pz(decoder, startIndex + index | 0, builder, !1); - } while (inductionVariable < size); - }, CollectionLikeSerializer.prototype.pz = function(decoder, index, builder, checkIndex) { - var tmp = this.mv(); - this.iz(builder, index, decoder.sx(tmp, index, this.mz_1, null, 8, null)); - }, AbstractCollectionSerializer.prototype.rz = function(decoder, previous) { - var tmp0_safe_receiver = previous, tmp1_elvis_lhs = null == tmp0_safe_receiver ? null : this.ez(tmp0_safe_receiver), builder = null == tmp1_elvis_lhs ? this.yy() : tmp1_elvis_lhs, startIndex = this.az(builder), compositeDecoder = decoder.mx(this.mv()); - if (compositeDecoder.ux()) this.oz(compositeDecoder, builder, startIndex, readSize(this, compositeDecoder, builder)); else $l$loop: for (;;) { - var index = compositeDecoder.vx(this.mv()); - if (Companion_getInstance_0(), -1 === index) break $l$loop; - var tmp = startIndex + index | 0; - this.qz(compositeDecoder, tmp, builder, !1, 8, null); - } - return compositeDecoder.nx(this.mv()), this.cz(builder); - }, AbstractCollectionSerializer.prototype.ov = function(decoder) { - return this.rz(decoder, null); - }, AbstractCollectionSerializer.prototype.qz = function(decoder, index, builder, checkIndex, $mask0, $handler) { - var tmp; - return 0 != (8 & $mask0) && (checkIndex = !0), null == $handler ? (this.pz(decoder, index, builder, checkIndex), - tmp = Unit_getInstance()) : tmp = $handler(decoder, index, builder, checkIndex), - tmp; - }, ElementMarker.prototype.k10 = function(index) { - Companion_getInstance(), index < 64 ? this.i10_1 = this.i10_1.gd(new Long(1, 0).fd(index)) : markHigh(this, index); - }, ElementMarker.prototype.l10 = function() { - for (var elementsCount = this.g10_1.zv(); !this.i10_1.equals(new Long(-1, -1)); ) { - var index = countTrailingZeroBits(this.i10_1.ed()); - if (this.i10_1 = this.i10_1.gd(new Long(1, 0).fd(index)), this.h10_1(this.g10_1, index)) return index; - } - return Companion_getInstance(), elementsCount > 64 ? nextUnmarkedHighIndex(this) : (Companion_getInstance_0(), - -1); - }, PluginGeneratedSerialDescriptor.prototype.vv = function() { - return this.m10_1; - }, PluginGeneratedSerialDescriptor.prototype.zv = function() { - return this.o10_1; - }, PluginGeneratedSerialDescriptor.prototype.wv = function() { - return CLASS_getInstance(); - }, PluginGeneratedSerialDescriptor.prototype.aw = function() { - var tmp0_elvis_lhs = this.s10_1; - return null == tmp0_elvis_lhs ? emptyList() : tmp0_elvis_lhs; - }, PluginGeneratedSerialDescriptor.prototype.dx = function() { - return this.u10_1.w1(); - }, PluginGeneratedSerialDescriptor.prototype.a11 = function() { - return typeParameterDescriptors$factory(), this.w10_1.g1(); - }, PluginGeneratedSerialDescriptor.prototype.b11 = function(name, isOptional) { - var tmp0_this = this; - tmp0_this.p10_1 = tmp0_this.p10_1 + 1 | 0, this.q10_1[tmp0_this.p10_1] = name, this.t10_1[this.p10_1] = isOptional, - this.r10_1[this.p10_1] = null, this.p10_1 === (this.o10_1 - 1 | 0) && (this.u10_1 = buildIndices(this)); - }, PluginGeneratedSerialDescriptor.prototype.ew = function(index) { - return getChecked(_get_childSerializers__7vnyfa(this), index).mv(); - }, PluginGeneratedSerialDescriptor.prototype.fw = function(index) { - return getChecked_0(this.t10_1, index); - }, PluginGeneratedSerialDescriptor.prototype.dw = function(index) { - var tmp0_elvis_lhs = getChecked(this.r10_1, index); - return null == tmp0_elvis_lhs ? emptyList() : tmp0_elvis_lhs; - }, PluginGeneratedSerialDescriptor.prototype.bw = function(index) { - return getChecked(this.q10_1, index); - }, PluginGeneratedSerialDescriptor.prototype.cw = function(name) { - var tmp, tmp0_elvis_lhs = this.u10_1.v1(name); - return null == tmp0_elvis_lhs ? (Companion_getInstance_0(), tmp = -3) : tmp = tmp0_elvis_lhs, - tmp; - }, PluginGeneratedSerialDescriptor.prototype.equals = function(other) { - var tmp$ret$0; - $l$block_5: if (this !== other) if (other instanceof PluginGeneratedSerialDescriptor) if (this.vv() === other.vv()) { - var tmp0__anonymous__q1qw7t = other; - if (contentEquals(this.a11(), tmp0__anonymous__q1qw7t.a11())) if (this.zv() === other.zv()) { - var inductionVariable = 0, last = this.zv(); - if (inductionVariable < last) do { - var index = inductionVariable; - if (inductionVariable = inductionVariable + 1 | 0, this.ew(index).vv() !== other.ew(index).vv()) { - tmp$ret$0 = !1; - break $l$block_5; - } - if (!equals(this.ew(index).wv(), other.ew(index).wv())) { - tmp$ret$0 = !1; - break $l$block_5; - } - } while (inductionVariable < last); - tmp$ret$0 = !0; - } else tmp$ret$0 = !1; else tmp$ret$0 = !1; - } else tmp$ret$0 = !1; else tmp$ret$0 = !1; else tmp$ret$0 = !0; - return tmp$ret$0; - }, PluginGeneratedSerialDescriptor.prototype.hashCode = function() { - return _get__hashCode__tgwhef_0(this); - }, PluginGeneratedSerialDescriptor.prototype.toString = function() { - var tmp = until(0, this.o10_1), tmp_0 = this.vv() + "("; - return joinToString$default(tmp, ", ", tmp_0, ")", 0, null, PluginGeneratedSerialDescriptor$toString$lambda(this), 24, null); - }, StringSerializer.prototype.mv = function() { - return this.c11_1; - }, StringSerializer.prototype.d11 = function(encoder, value) { - return encoder.cy(value); - }, StringSerializer.prototype.nv = function(encoder, value) { - return this.d11(encoder, null != value && "string" == typeof value ? value : THROW_CCE()); - }, StringSerializer.prototype.ov = function(decoder) { - return decoder.jx(); - }, LongSerializer.prototype.mv = function() { - return this.e11_1; - }, LongSerializer.prototype.f11 = function(encoder, value) { - return encoder.by(value); - }, LongSerializer.prototype.nv = function(encoder, value) { - return this.f11(encoder, value instanceof Long ? value : THROW_CCE()); - }, LongSerializer.prototype.ov = function(decoder) { - return decoder.ix(); - }, IntSerializer.prototype.mv = function() { - return this.g11_1; - }, IntSerializer.prototype.h11 = function(encoder, value) { - return encoder.ay(value); - }, IntSerializer.prototype.nv = function(encoder, value) { - return this.h11(encoder, null != value && "number" == typeof value ? value : THROW_CCE()); - }, IntSerializer.prototype.ov = function(decoder) { - return decoder.hx(); - }, PrimitiveSerialDescriptor.prototype.vv = function() { - return this.i11_1; - }, PrimitiveSerialDescriptor.prototype.wv = function() { - return this.j11_1; - }, PrimitiveSerialDescriptor.prototype.zv = function() { - return 0; - }, PrimitiveSerialDescriptor.prototype.bw = function(index) { - error(this); - }, PrimitiveSerialDescriptor.prototype.cw = function(name) { - error(this); - }, PrimitiveSerialDescriptor.prototype.fw = function(index) { - error(this); - }, PrimitiveSerialDescriptor.prototype.ew = function(index) { - error(this); - }, PrimitiveSerialDescriptor.prototype.dw = function(index) { - error(this); - }, PrimitiveSerialDescriptor.prototype.toString = function() { - return "PrimitiveDescriptor(" + this.i11_1 + ")"; - }, NamedValueDecoder.prototype.m11 = function(_this__u8e3s4, index) { - return this.o11(this.n11(_this__u8e3s4, index)); - }, NamedValueDecoder.prototype.o11 = function(nestedName) { - var tmp0_elvis_lhs = this.r11(); - return this.s11(null == tmp0_elvis_lhs ? "" : tmp0_elvis_lhs, nestedName); - }, NamedValueDecoder.prototype.n11 = function(desc, index) { - return desc.bw(index); - }, NamedValueDecoder.prototype.s11 = function(parentName, childName) { - return 0 === charSequenceLength(parentName) ? childName : parentName + "." + childName; - }, TaggedDecoder.prototype.tx = function() { - return EmptySerializersModule_0(); - }, TaggedDecoder.prototype.t11 = function(tag) { - throw SerializationException_init_$Create$(getKClassFromExpression(this) + " can't retrieve untyped values"); - }, TaggedDecoder.prototype.u11 = function(tag) { - return !0; - }, TaggedDecoder.prototype.v11 = function(tag) { - var tmp = this.t11(tag); - return "number" == typeof tmp ? tmp : THROW_CCE(); - }, TaggedDecoder.prototype.w11 = function(tag) { - var tmp = this.t11(tag); - return tmp instanceof Long ? tmp : THROW_CCE(); - }, TaggedDecoder.prototype.x11 = function(tag) { - var tmp = this.t11(tag); - return "string" == typeof tmp ? tmp : THROW_CCE(); - }, TaggedDecoder.prototype.kx = function(deserializer, previousValue) { - return this.lx(deserializer); - }, TaggedDecoder.prototype.fx = function() { - var tmp0_elvis_lhs = this.r11(); - if (null == tmp0_elvis_lhs) return !1; - var currentTag = tmp0_elvis_lhs; - return this.u11(currentTag); - }, TaggedDecoder.prototype.gx = function() { - return null; - }, TaggedDecoder.prototype.hx = function() { - return this.v11(this.z11()); - }, TaggedDecoder.prototype.ix = function() { - return this.w11(this.z11()); - }, TaggedDecoder.prototype.jx = function() { - return this.x11(this.z11()); - }, TaggedDecoder.prototype.mx = function(descriptor) { - return this; - }, TaggedDecoder.prototype.nx = function(descriptor) {}, TaggedDecoder.prototype.ox = function(descriptor, index) { - return this.v11(this.m11(descriptor, index)); - }, TaggedDecoder.prototype.px = function(descriptor, index) { - return this.w11(this.m11(descriptor, index)); - }, TaggedDecoder.prototype.qx = function(descriptor, index) { - return this.x11(this.m11(descriptor, index)); - }, TaggedDecoder.prototype.rx = function(descriptor, index, deserializer, previousValue) { - return tagBlock(this, this.m11(descriptor, index), TaggedDecoder$decodeSerializableElement$lambda(this, deserializer, previousValue)); - }, TaggedDecoder.prototype.r11 = function() { - return lastOrNull(this.p11_1); - }, TaggedDecoder.prototype.y11 = function(name) { - this.p11_1.a(name); - }, TaggedDecoder.prototype.z11 = function() { - var r = this.p11_1.u2(get_lastIndex_0(this.p11_1)); - return this.q11_1 = !0, r; - }, SerializersModule.prototype.sv = function(kClass, typeArgumentsSerializers, $mask0, $handler) { - return 0 != (2 & $mask0) && (typeArgumentsSerializers = emptyList()), null == $handler ? this.a12(kClass, typeArgumentsSerializers) : $handler(kClass, typeArgumentsSerializers); - }, SerialModuleImpl.prototype.ny = function(baseClass, value) { - if (!isInstanceOf(value, baseClass)) return null; - var tmp0_safe_receiver = this.c12_1.v1(baseClass), tmp = null == tmp0_safe_receiver ? null : tmp0_safe_receiver.v1(getKClassFromExpression(value)), registered = null != tmp && isInterface(tmp, SerializationStrategy) ? tmp : null; - if (null != registered) return registered; - var tmp_0 = this.d12_1.v1(baseClass), tmp1_safe_receiver = null != tmp_0 && "function" == typeof tmp_0 ? tmp_0 : null; - return null == tmp1_safe_receiver ? null : tmp1_safe_receiver(value); - }, SerialModuleImpl.prototype.my = function(baseClass, serializedClassName) { - var tmp0_safe_receiver = this.e12_1.v1(baseClass), tmp_0 = null == tmp0_safe_receiver ? null : (null != tmp0_safe_receiver && isInterface(tmp0_safe_receiver, Map) ? tmp0_safe_receiver : THROW_CCE()).v1(serializedClassName), registered = null != tmp_0 && isInterface(tmp_0, KSerializer) ? tmp_0 : null; - if (null != registered) return registered; - var tmp_1 = this.f12_1.v1(baseClass), tmp1_safe_receiver = null != tmp_1 && "function" == typeof tmp_1 ? tmp_1 : null; - return null == tmp1_safe_receiver ? null : tmp1_safe_receiver(serializedClassName); - }, SerialModuleImpl.prototype.a12 = function(kClass, typeArgumentsSerializers) { - var tmp0_safe_receiver = this.b12_1.v1(kClass), tmp = null == tmp0_safe_receiver ? null : tmp0_safe_receiver.g12(typeArgumentsSerializers); - return null == tmp || isInterface(tmp, KSerializer) ? tmp : null; - }, SerialDescriptorImpl.prototype.xv = get_isNullable, SerialDescriptorImpl.prototype.yv = get_isInline, - AbstractDecoder.prototype.sx = decodeSerializableElement$default, AbstractDecoder.prototype.lx = decodeSerializableValue, - AbstractDecoder.prototype.ux = decodeSequentially, AbstractDecoder.prototype.wx = decodeCollectionSize, - AbstractEncoder.prototype.iy = beginCollection, AbstractEncoder.prototype.hy = encodeSerializableValue, - ListLikeDescriptor.prototype.xv = get_isNullable, ListLikeDescriptor.prototype.yv = get_isInline, - ListLikeDescriptor.prototype.aw = get_annotations, ArrayListClassDesc.prototype.xv = get_isNullable, - ArrayListClassDesc.prototype.yv = get_isInline, ArrayListClassDesc.prototype.aw = get_annotations, - MapLikeDescriptor.prototype.xv = get_isNullable, MapLikeDescriptor.prototype.yv = get_isInline, - MapLikeDescriptor.prototype.aw = get_annotations, LinkedHashMapClassDesc.prototype.xv = get_isNullable, - LinkedHashMapClassDesc.prototype.yv = get_isInline, LinkedHashMapClassDesc.prototype.aw = get_annotations, - PluginGeneratedSerialDescriptor.prototype.xv = get_isNullable, PluginGeneratedSerialDescriptor.prototype.yv = get_isInline, - PrimitiveSerialDescriptor.prototype.xv = get_isNullable, PrimitiveSerialDescriptor.prototype.yv = get_isInline, - PrimitiveSerialDescriptor.prototype.aw = get_annotations, TaggedDecoder.prototype.sx = decodeSerializableElement$default, - TaggedDecoder.prototype.lx = decodeSerializableValue, TaggedDecoder.prototype.ux = decodeSequentially, - TaggedDecoder.prototype.wx = decodeCollectionSize, NamedValueDecoder.prototype.lx = decodeSerializableValue, - NamedValueDecoder.prototype.sx = decodeSerializableElement$default, NamedValueDecoder.prototype.ux = decodeSequentially, - NamedValueDecoder.prototype.wx = decodeCollectionSize, _.$_$ = _.$_$ || {}, _.$_$.a = buildSerialDescriptor$default, - _.$_$.b = decodeSerializableElement$default, _.$_$.c = SerializationException_init_$Init$, - _.$_$.d = UnknownFieldException_init_$Create$, _.$_$.e = CONTEXTUAL_getInstance, - _.$_$.f = ENUM_getInstance, _.$_$.g = LIST_getInstance, _.$_$.h = MAP_getInstance, - _.$_$.i = Companion_getInstance_0, _.$_$.j = IntSerializer_getInstance, _.$_$.k = LongSerializer_getInstance, - _.$_$.l = StringSerializer_getInstance, _.$_$.m = PolymorphicKind, _.$_$.n = PrimitiveKind, - _.$_$.o = SerialDescriptor, _.$_$.p = ENUM, _.$_$.q = getContextualDescriptor, _.$_$.r = AbstractDecoder, - _.$_$.s = AbstractEncoder, _.$_$.t = decodeCollectionSize, _.$_$.u = decodeSequentially, - _.$_$.v = CompositeDecoder, _.$_$.w = Decoder, _.$_$.x = beginCollection, _.$_$.y = Encoder, - _.$_$.z = AbstractPolymorphicSerializer, _.$_$.a1 = ArrayListSerializer, _.$_$.b1 = ElementMarker, - _.$_$.c1 = typeParametersSerializers, _.$_$.d1 = GeneratedSerializer, _.$_$.e1 = LinkedHashMapSerializer, - _.$_$.f1 = NamedValueDecoder, _.$_$.g1 = PluginGeneratedSerialDescriptor, _.$_$.h1 = jsonCachedSerialNames, - _.$_$.i1 = throwMissingFieldException, _.$_$.j1 = EmptySerializersModule_0, _.$_$.k1 = DeserializationStrategy, - _.$_$.l1 = KSerializer, _.$_$.m1 = MissingFieldException, _.$_$.n1 = SealedClassSerializer, - _.$_$.o1 = SerializationException, _.$_$.p1 = findPolymorphicSerializer, _; - }) ? __WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__) : __WEBPACK_AMD_DEFINE_FACTORY__) || (module.exports = __WEBPACK_AMD_DEFINE_RESULT__); + }, protoOf($mkdirCOROUTINE$1).d7 = function() { + var suspendResult = this.x6_1; + $sm: for (;;) try { + switch (this.v6_1) { + case 0: + this.w6_1 = 2; + if (this.sq_1 = mkdir(this.qq_1, this.rq_1), this.v6_1 = 1, (suspendResult = awaitPromiseLike(this.sq_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 1: + return suspendResult; + + case 2: + throw this.y6_1; + } + } catch ($p) { + var e = $p; + if (2 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; + } + }, protoOf($readFileCOROUTINE$2).d7 = function() { + var suspendResult = this.x6_1; + $sm: for (;;) try { + switch (this.v6_1) { + case 0: + this.w6_1 = 2; + if (this.dr_1 = readFile(this.br_1, this.cr_1), this.v6_1 = 1, (suspendResult = awaitPromiseLike(this.dr_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 1: + return suspendResult; + + case 2: + throw this.y6_1; + } + } catch ($p) { + var e = $p; + if (2 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; + } + }, protoOf($renameCOROUTINE$3).d7 = function() { + var suspendResult = this.x6_1; + $sm: for (;;) try { + switch (this.v6_1) { + case 0: + this.w6_1 = 2; + if (this.or_1 = rename(this.mr_1, this.nr_1), this.v6_1 = 1, (suspendResult = awaitPromiseLike(this.or_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 1: + return suspendResult; + + case 2: + throw this.y6_1; + } + } catch ($p) { + var e = $p; + if (2 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; + } + }, protoOf($statCOROUTINE$4).d7 = function() { + var suspendResult = this.x6_1; + $sm: for (;;) try { + switch (this.v6_1) { + case 0: + this.w6_1 = 2; + if (this.yr_1 = stat(this.xr_1), this.v6_1 = 1, (suspendResult = awaitPromiseLike(this.yr_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 1: + return suspendResult; + + case 2: + throw this.y6_1; + } + } catch ($p) { + var e = $p; + if (2 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; + } + }, protoOf($unlinkCOROUTINE$5).d7 = function() { + var suspendResult = this.x6_1; + $sm: for (;;) try { + switch (this.v6_1) { + case 0: + this.w6_1 = 2; + if (this.is_1 = unlink(this.hs_1), this.v6_1 = 1, (suspendResult = awaitPromiseLike(this.is_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 1: + return suspendResult; + + case 2: + throw this.y6_1; + } + } catch ($p) { + var e = $p; + if (2 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; + } + }, protoOf($writeFileCOROUTINE$6).d7 = function() { + var suspendResult = this.x6_1; + $sm: for (;;) try { + switch (this.v6_1) { + case 0: + this.w6_1 = 2; + if (this.us_1 = writeFile(this.rs_1, this.ss_1, this.ts_1), this.v6_1 = 1, (suspendResult = awaitPromiseLike(this.us_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 1: + return suspendResult; + + case 2: + throw this.y6_1; + } + } catch ($p) { + var e = $p; + if (2 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; + } + }, protoOf($finishedCOROUTINE$7).d7 = function() { + var suspendResult = this.x6_1; + $sm: for (;;) try { + switch (this.v6_1) { + case 0: + this.w6_1 = 2; + if (this.ft_1 = finished(this.dt_1, this.et_1), this.v6_1 = 1, (suspendResult = awaitPromiseLike(this.ft_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 1: + return suspendResult; + + case 2: + throw this.y6_1; + } + } catch ($p) { + var e = $p; + if (2 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; + } + }, _.$_$ = _.$_$ || {}, _.$_$.a = function(path, mode, $completion) { + var tmp = new $chmodCOROUTINE$0(path, mode, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); + }, _.$_$.b = function(path, options, $completion) { + var tmp_0 = new $mkdirCOROUTINE$1(path, options = options === VOID ? void 0 : options, $completion); + return tmp_0.x6_1 = Unit_instance, tmp_0.y6_1 = null, tmp_0.d7(); + }, _.$_$.c = function(path, options, $completion) { + var tmp = new $readFileCOROUTINE$2(path, options, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); + }, _.$_$.d = function(oldPath, newPath, $completion) { + var tmp = new $renameCOROUTINE$3(oldPath, newPath, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); + }, _.$_$.e = function(path, $completion) { + var tmp = new $statCOROUTINE$4(path, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); + }, _.$_$.f = function(path, $completion) { + var tmp = new $unlinkCOROUTINE$5(path, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); + }, _.$_$.g = function(file, data, options, $completion) { + var tmp_0 = new $writeFileCOROUTINE$6(file, data, options = options === VOID ? void 0 : options, $completion); + return tmp_0.x6_1 = Unit_instance, tmp_0.y6_1 = null, tmp_0.d7(); + }, _.$_$.h = function(stream, options, $completion) { + var tmp_0 = new $finishedCOROUTINE$7(stream, options = options === VOID ? void 0 : options, $completion); + return tmp_0.x6_1 = Unit_instance, tmp_0.y6_1 = null, tmp_0.d7(); + }; + }(module.exports, __webpack_require__(1455), __webpack_require__(6466), __webpack_require__(7036), __webpack_require__(6077)); }, - 3730: function(module, exports, __webpack_require__) { - var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; - __WEBPACK_AMD_DEFINE_ARRAY__ = [ exports, __webpack_require__(3645), __webpack_require__(8744) ], - void 0 === (__WEBPACK_AMD_DEFINE_RESULT__ = "function" == typeof (__WEBPACK_AMD_DEFINE_FACTORY__ = function(_, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core, kotlin_kotlin) { + 1426: (module, __unused_webpack_exports, __webpack_require__) => { + !function(_, kotlin_kotlin) { "use strict"; - var Default_instance, Companion_instance, Companion_instance_0, Companion_instance_1, Companion_instance_2, JsonNull_instance, JsonNullSerializer_instance, JsonAlternativeNamesKey, properties_initialized_JsonNamesMap_kt_ljpf42, Tombstone_instance, ESCAPE_STRINGS, properties_initialized_StringOps_kt_wzaea7, WriteMode_OBJ_instance, WriteMode_LIST_instance, WriteMode_MAP_instance, WriteMode_POLY_OBJ_instance, WriteMode_entriesInitialized, TC_WHITESPACE, TC_EOF, STRING, TC_STRING, STRING_ESC, TC_BEGIN_OBJ, TC_COLON, TC_COMMA, COLON, BEGIN_OBJ, END_OBJ, BEGIN_LIST, END_LIST, lenientHint, INVALID, COMMA, NULL, TC_END_OBJ, TC_BEGIN_LIST, TC_END_LIST, TC_OTHER, ignoreUnknownKeysHint, CharMappings_instance, allowStructuredMapKeysHint, imul = Math.imul, EmptySerializersModule = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j1, objectMeta = kotlin_kotlin.$_$.n5, setMetadataFor = kotlin_kotlin.$_$.o5, classMeta = kotlin_kotlin.$_$.x4, Decoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w, CompositeDecoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v, interfaceMeta = kotlin_kotlin.$_$.e5, equals = kotlin_kotlin.$_$.y4, hashCode = kotlin_kotlin.$_$.d5, joinToString$default = kotlin_kotlin.$_$.e, List = kotlin_kotlin.$_$.h2, Unit_getInstance = kotlin_kotlin.$_$.d2, StringBuilder_init_$Create$ = kotlin_kotlin.$_$.h1, _Char___init__impl__6a9atx = kotlin_kotlin.$_$.s1, THROW_CCE = kotlin_kotlin.$_$.v6, Map = kotlin_kotlin.$_$.i2, toString = kotlin_kotlin.$_$.r5, getKClassFromExpression = kotlin_kotlin.$_$.a, getStringHashCode = kotlin_kotlin.$_$.c5, LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.c, lazy = kotlin_kotlin.$_$.c7, toInt = kotlin_kotlin.$_$.f6, toLong = kotlin_kotlin.$_$.h6, IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.k1, ENUM_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f, buildSerialDescriptor$default = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a, KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l1, isInterface = kotlin_kotlin.$_$.g5, IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.m1, Encoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y, toLong_0 = kotlin_kotlin.$_$.q5, ElementMarker = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b1, captureStack = kotlin_kotlin.$_$.r4, SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o1, SerializationException_init_$Init$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c, charSequenceLength = kotlin_kotlin.$_$.v4, charSequenceSubSequence = kotlin_kotlin.$_$.w4, coerceAtLeast = kotlin_kotlin.$_$.u5, coerceAtMost = kotlin_kotlin.$_$.v5, Companion_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i, ArrayList_init_$Create$ = kotlin_kotlin.$_$.s, singleOrNull = kotlin_kotlin.$_$.m3, arrayIterator = kotlin_kotlin.$_$.p4, ensureNotNull = kotlin_kotlin.$_$.a7, emptyMap = kotlin_kotlin.$_$.t2, getValue = kotlin_kotlin.$_$.y2, copyOf = kotlin_kotlin.$_$.p2, copyOf_0 = kotlin_kotlin.$_$.q2, fillArrayVal = kotlin_kotlin.$_$.a5, LIST_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g, SerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o, LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.z, DeepRecursiveFunction = kotlin_kotlin.$_$.o6, invoke = kotlin_kotlin.$_$.b7, CoroutineImpl = kotlin_kotlin.$_$.m4, DeepRecursiveScope = kotlin_kotlin.$_$.p6, Unit = kotlin_kotlin.$_$.w6, get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.x3, AbstractPolymorphicSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z, getKClass = kotlin_kotlin.$_$.b, DeserializationStrategy = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k1, SealedClassSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n1, jsonCachedSerialNames = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h1, ENUM = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p, PrimitiveKind = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n, PolymorphicKind = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m, isObject = kotlin_kotlin.$_$.h5, AbstractDecoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r, plus = kotlin_kotlin.$_$.f7, MissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m1, decodeSerializableElement$default = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b, decodeSequentially = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u, decodeCollectionSize = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t, AbstractEncoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s, findPolymorphicSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p1, Char = kotlin_kotlin.$_$.n6, beginCollection = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x, numberToChar = kotlin_kotlin.$_$.k5, charSequenceGet = kotlin_kotlin.$_$.u4, Char__toInt_impl_vasixd = kotlin_kotlin.$_$.u1, toByte = kotlin_kotlin.$_$.p5, NamedValueDecoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f1, MAP_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h, IllegalArgumentException = kotlin_kotlin.$_$.s6, emptySet = kotlin_kotlin.$_$.u2, plus_0 = kotlin_kotlin.$_$.i3, toList = kotlin_kotlin.$_$.q3, Enum = kotlin_kotlin.$_$.q6, getContextualDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q, CONTEXTUAL_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e, toString_0 = kotlin_kotlin.$_$.v1, last = kotlin_kotlin.$_$.e3, removeLast = kotlin_kotlin.$_$.l3, lastIndexOf$default = kotlin_kotlin.$_$.k, Long = kotlin_kotlin.$_$.t6, Char__minus_impl_a2frrh = kotlin_kotlin.$_$.t1, Companion_getInstance_0 = kotlin_kotlin.$_$.b2, charArray = kotlin_kotlin.$_$.t4, indexOf$default = kotlin_kotlin.$_$.i, StringBuilder_init_$Create$_0 = kotlin_kotlin.$_$.g1, HashMap_init_$Create$ = kotlin_kotlin.$_$.u; - function Default() { - Default_instance = this, Json.call(this, JsonConfiguration_init_$Create$(!1, !1, !1, !1, !1, !1, null, !1, !1, null, !1, !1, 4095, null), EmptySerializersModule()); - } - function Default_getInstance() { - return null == Default_instance && new Default, Default_instance; - } - function Json(configuration, serializersModule) { - Default_getInstance(), this.g13_1 = configuration, this.h13_1 = serializersModule, - this.i13_1 = new DescriptorSchemaCache; - } - function JsonClassDiscriminator() {} - function JsonNames() {} - function JsonConfiguration_init_$Init$(encodeDefaults, ignoreUnknownKeys, isLenient, allowStructuredMapKeys, prettyPrint, explicitNulls, prettyPrintIndent, coerceInputValues, useArrayPolymorphism, classDiscriminator, allowSpecialFloatingPointValues, useAlternativeNames, $mask0, $marker, $this) { - return 0 != (1 & $mask0) && (encodeDefaults = !1), 0 != (2 & $mask0) && (ignoreUnknownKeys = !1), - 0 != (4 & $mask0) && (isLenient = !1), 0 != (8 & $mask0) && (allowStructuredMapKeys = !1), - 0 != (16 & $mask0) && (prettyPrint = !1), 0 != (32 & $mask0) && (explicitNulls = !0), - 0 != (64 & $mask0) && (prettyPrintIndent = " "), 0 != (128 & $mask0) && (coerceInputValues = !1), - 0 != (256 & $mask0) && (useArrayPolymorphism = !1), 0 != (512 & $mask0) && (classDiscriminator = "type"), - 0 != (1024 & $mask0) && (allowSpecialFloatingPointValues = !1), 0 != (2048 & $mask0) && (useAlternativeNames = !0), - JsonConfiguration.call($this, encodeDefaults, ignoreUnknownKeys, isLenient, allowStructuredMapKeys, prettyPrint, explicitNulls, prettyPrintIndent, coerceInputValues, useArrayPolymorphism, classDiscriminator, allowSpecialFloatingPointValues, useAlternativeNames), - $this; - } - function JsonConfiguration_init_$Create$(encodeDefaults, ignoreUnknownKeys, isLenient, allowStructuredMapKeys, prettyPrint, explicitNulls, prettyPrintIndent, coerceInputValues, useArrayPolymorphism, classDiscriminator, allowSpecialFloatingPointValues, useAlternativeNames, $mask0, $marker) { - return JsonConfiguration_init_$Init$(encodeDefaults, ignoreUnknownKeys, isLenient, allowStructuredMapKeys, prettyPrint, explicitNulls, prettyPrintIndent, coerceInputValues, useArrayPolymorphism, classDiscriminator, allowSpecialFloatingPointValues, useAlternativeNames, $mask0, $marker, Object.create(JsonConfiguration.prototype)); - } - function JsonConfiguration(encodeDefaults, ignoreUnknownKeys, isLenient, allowStructuredMapKeys, prettyPrint, explicitNulls, prettyPrintIndent, coerceInputValues, useArrayPolymorphism, classDiscriminator, allowSpecialFloatingPointValues, useAlternativeNames) { - this.z13_1 = encodeDefaults, this.a14_1 = ignoreUnknownKeys, this.b14_1 = isLenient, - this.c14_1 = allowStructuredMapKeys, this.d14_1 = prettyPrint, this.e14_1 = explicitNulls, - this.f14_1 = prettyPrintIndent, this.g14_1 = coerceInputValues, this.h14_1 = useArrayPolymorphism, - this.i14_1 = classDiscriminator, this.j14_1 = allowSpecialFloatingPointValues, this.k14_1 = useAlternativeNames; - } - function JsonDecoder() {} - function Companion() { - Companion_instance = this; - } - function Companion_getInstance_1() { - return null == Companion_instance && new Companion, Companion_instance; - } - function JsonElement() { - Companion_getInstance_1(); - } - function Companion_0() { - Companion_instance_0 = this; - } - function Companion_getInstance_2() { - return null == Companion_instance_0 && new Companion_0, Companion_instance_0; - } - function JsonArray(content) { - Companion_getInstance_2(), JsonElement.call(this), this.n14_1 = content; - } - function Companion_1() { - Companion_instance_1 = this; - } - function Companion_getInstance_3() { - return null == Companion_instance_1 && new Companion_1, Companion_instance_1; - } - function JsonObject$toString$lambda(_name_for_destructuring_parameter_0__wldtmu) { - var k = _name_for_destructuring_parameter_0__wldtmu.e1(), v = _name_for_destructuring_parameter_0__wldtmu.g1(), tmp0_apply = StringBuilder_init_$Create$(); - return printQuoted(tmp0_apply, k), tmp0_apply.p4(_Char___init__impl__6a9atx(58)), - tmp0_apply.ua(v), tmp0_apply.toString(); - } - function JsonObject(content) { - Companion_getInstance_3(), JsonElement.call(this), this.p14_1 = content; - } - function Companion_2() { - Companion_instance_2 = this; - } - function Companion_getInstance_4() { - return null == Companion_instance_2 && new Companion_2, Companion_instance_2; - } - function JsonPrimitive() { - Companion_getInstance_4(), JsonElement.call(this); - } - function JsonLiteral(body, isString) { - JsonPrimitive.call(this), this.t14_1 = isString, this.u14_1 = toString(body); - } - function JsonNull$$cachedSerializer$delegate$_anonymous__7w2ks1() { - return JsonNullSerializer_getInstance(); - } - function JsonNull() { - JsonNull_instance = this, JsonPrimitive.call(this), this.v14_1 = "null"; - var tmp = this, tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance(); - tmp.w14_1 = lazy(tmp_0, JsonNull$$cachedSerializer$delegate$_anonymous__7w2ks1); - } - function JsonNull_getInstance() { - return null == JsonNull_instance && new JsonNull, JsonNull_instance; - } - function JsonPrimitive_0(value) { - return null == value ? JsonNull_getInstance() : new JsonLiteral(value, !0); - } - function get_int(_this__u8e3s4) { - return toInt(_this__u8e3s4.s14()); - } - function get_long(_this__u8e3s4) { - return toLong(_this__u8e3s4.s14()); - } - function get_contentOrNull(_this__u8e3s4) { - return _this__u8e3s4 instanceof JsonNull ? null : _this__u8e3s4.s14(); - } - function get_jsonPrimitive(_this__u8e3s4) { - var tmp, tmp0_elvis_lhs = _this__u8e3s4 instanceof JsonPrimitive ? _this__u8e3s4 : null; - return null == tmp0_elvis_lhs ? error(_this__u8e3s4, "JsonPrimitive") : tmp = tmp0_elvis_lhs, - tmp; - } - function error(_this__u8e3s4, element) { - throw IllegalArgumentException_init_$Create$("Element " + getKClassFromExpression(_this__u8e3s4) + " is not a " + element); - } - function JsonNullSerializer() { - JsonNullSerializer_instance = this; - var tmp = this, tmp_0 = ENUM_getInstance(); - tmp.x14_1 = buildSerialDescriptor$default("kotlinx.serialization.json.JsonNull", tmp_0, [], null, 12, null); - } - function JsonNullSerializer_getInstance() { - return null == JsonNullSerializer_instance && new JsonNullSerializer, JsonNullSerializer_instance; - } - function verify(encoder) { - asJsonEncoder(encoder); - } - function asJsonDecoder(_this__u8e3s4) { - var tmp0_elvis_lhs = isInterface(_this__u8e3s4, JsonDecoder) ? _this__u8e3s4 : null; - if (null == tmp0_elvis_lhs) throw IllegalStateException_init_$Create$("This serializer can be used only with Json format.Expected Decoder to be JsonDecoder, got " + getKClassFromExpression(_this__u8e3s4)); - return tmp0_elvis_lhs; - } - function verify_0(decoder) { - asJsonDecoder(decoder); + var None_instance, protoOf = kotlin_kotlin.$_$.t5, initMetadataForObject = kotlin_kotlin.$_$.j5, VOID = kotlin_kotlin.$_$.c, initMetadataForClass = kotlin_kotlin.$_$.e5, toString = kotlin_kotlin.$_$.g8; + function None() { + None_instance = this, atomicfu$TraceBase.call(this); } - function asJsonEncoder(_this__u8e3s4) { - var tmp0_elvis_lhs = isInterface(_this__u8e3s4, JsonEncoder) ? _this__u8e3s4 : null; - if (null == tmp0_elvis_lhs) throw IllegalStateException_init_$Create$("This serializer can be used only with Json format.Expected Encoder to be JsonEncoder, got " + getKClassFromExpression(_this__u8e3s4)); - return tmp0_elvis_lhs; + function None_getInstance() { + return null == None_instance && new None, None_instance; } - function JsonEncoder() {} - function Composer(writer) { - this.z14_1 = writer, this.a15_1 = !0; + function atomicfu$TraceBase() {} + function AtomicRef(value) { + this.kotlinx$atomicfu$value = value; } - function Composer_0(sb, json) { - return json.g13_1.d14_1 ? new ComposerWithPrettyPrint(sb, json) : new Composer(sb); + function AtomicBoolean(value) { + this.kotlinx$atomicfu$value = value; } - function ComposerWithPrettyPrint(writer, json) { - Composer.call(this, writer), this.q15_1 = json, this.r15_1 = 0; + function AtomicInt(value) { + this.kotlinx$atomicfu$value = value; } - function readIfAbsent($this, descriptor, index) { - return $this.t15_1 = !descriptor.fw(index) && descriptor.ew(index).xv(), $this.t15_1; + initMetadataForClass(atomicfu$TraceBase, "TraceBase"), initMetadataForObject(None, "None", VOID, atomicfu$TraceBase), + initMetadataForClass(AtomicRef, "AtomicRef"), initMetadataForClass(AtomicBoolean, "AtomicBoolean"), + initMetadataForClass(AtomicInt, "AtomicInt"), protoOf(atomicfu$TraceBase).atomicfu$Trace$append$1 = function(event) {}, + protoOf(atomicfu$TraceBase).atomicfu$Trace$append$2 = function(event1, event2) {}, + protoOf(atomicfu$TraceBase).atomicfu$Trace$append$3 = function(event1, event2, event3) {}, + protoOf(atomicfu$TraceBase).atomicfu$Trace$append$4 = function(event1, event2, event3, event4) {}, + protoOf(AtomicRef).ef = function(_set____db54di) { + this.kotlinx$atomicfu$value = _set____db54di; + }, protoOf(AtomicRef).ff = function() { + return this.kotlinx$atomicfu$value; + }, protoOf(AtomicRef).atomicfu$compareAndSet = function(expect, update) { + return this.kotlinx$atomicfu$value === expect && (this.kotlinx$atomicfu$value = update, + !0); + }, protoOf(AtomicRef).atomicfu$getAndSet = function(value) { + var oldValue = this.kotlinx$atomicfu$value; + return this.kotlinx$atomicfu$value = value, oldValue; + }, protoOf(AtomicRef).toString = function() { + return toString(this.kotlinx$atomicfu$value); + }, protoOf(AtomicBoolean).gf = function(_set____db54di) { + this.kotlinx$atomicfu$value = _set____db54di; + }, protoOf(AtomicBoolean).ff = function() { + return this.kotlinx$atomicfu$value; + }, protoOf(AtomicBoolean).atomicfu$compareAndSet = function(expect, update) { + return this.kotlinx$atomicfu$value === expect && (this.kotlinx$atomicfu$value = update, + !0); + }, protoOf(AtomicBoolean).atomicfu$getAndSet = function(value) { + var oldValue = this.kotlinx$atomicfu$value; + return this.kotlinx$atomicfu$value = value, oldValue; + }, protoOf(AtomicBoolean).toString = function() { + return this.kotlinx$atomicfu$value.toString(); + }, protoOf(AtomicInt).hf = function(_set____db54di) { + this.kotlinx$atomicfu$value = _set____db54di; + }, protoOf(AtomicInt).ff = function() { + return this.kotlinx$atomicfu$value; + }, protoOf(AtomicInt).atomicfu$compareAndSet = function(expect, update) { + return this.kotlinx$atomicfu$value === expect && (this.kotlinx$atomicfu$value = update, + !0); + }, protoOf(AtomicInt).atomicfu$getAndSet = function(value) { + var oldValue = this.kotlinx$atomicfu$value; + return this.kotlinx$atomicfu$value = value, oldValue; + }, protoOf(AtomicInt).atomicfu$getAndIncrement = function() { + var tmp1 = this.kotlinx$atomicfu$value; + return this.kotlinx$atomicfu$value = tmp1 + 1 | 0, tmp1; + }, protoOf(AtomicInt).atomicfu$getAndDecrement = function() { + var tmp1 = this.kotlinx$atomicfu$value; + return this.kotlinx$atomicfu$value = tmp1 - 1 | 0, tmp1; + }, protoOf(AtomicInt).atomicfu$getAndAdd = function(delta) { + var oldValue = this.kotlinx$atomicfu$value; + return this.kotlinx$atomicfu$value = this.kotlinx$atomicfu$value + delta | 0, oldValue; + }, protoOf(AtomicInt).atomicfu$addAndGet = function(delta) { + return this.kotlinx$atomicfu$value = this.kotlinx$atomicfu$value + delta | 0, this.kotlinx$atomicfu$value; + }, protoOf(AtomicInt).atomicfu$incrementAndGet = function() { + return this.kotlinx$atomicfu$value = this.kotlinx$atomicfu$value + 1 | 0, this.kotlinx$atomicfu$value; + }, protoOf(AtomicInt).atomicfu$decrementAndGet = function() { + return this.kotlinx$atomicfu$value = this.kotlinx$atomicfu$value - 1 | 0, this.kotlinx$atomicfu$value; + }, protoOf(AtomicInt).toString = function() { + return this.kotlinx$atomicfu$value.toString(); + }, _.$_$ = _.$_$ || {}, _.$_$.a = function(initial) { + return function(initial, trace) { + return trace = trace === VOID ? None_getInstance() : trace, new AtomicBoolean(initial); + }(initial, None_getInstance()); + }, _.$_$.b = function(initial) { + return function(initial, trace) { + return trace = trace === VOID ? None_getInstance() : trace, new AtomicRef(initial); + }(initial, None_getInstance()); + }, _.$_$.c = function(initial) { + return function(initial, trace) { + return trace = trace === VOID ? None_getInstance() : trace, new AtomicInt(initial); + }(initial, None_getInstance()); + }; + }(module.exports, __webpack_require__(7036)); + }, + 9613: (module, __unused_webpack_exports, __webpack_require__) => { + !function(_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_atomicfu) { + "use strict"; + var Active_instance, properties_initialized_CancellableContinuationImpl_kt_xtzb03, Key_instance_0, Key_instance_1, GlobalScope_instance, CoroutineStart_DEFAULT_instance, CoroutineStart_LAZY_instance, CoroutineStart_entriesInitialized, ThreadLocalEventLoop_instance, Key_instance_2, NonDisposableHandle_instance, COMPLETING_ALREADY, COMPLETING_WAITING_CHILDREN, COMPLETING_RETRY, TOO_LATE_TO_CANCEL, SEALED, EMPTY_NEW, EMPTY_ACTIVE, properties_initialized_JobSupport_kt_5iq8a4, Unconfined_instance, Key_instance_3, UNDEFINED, REUSABLE_CLAIMED, properties_initialized_DispatchedContinuation_kt_2siadq, counter, DEBUG, NodeDispatcher_instance, Dispatchers_instance, platformExceptionHandlers_, properties_initialized_CoroutineExceptionHandlerImpl_kt_qhrgvx, SetTimeoutDispatcher_instance, imul = Math.imul, Unit_instance = kotlin_kotlin.$_$.w1, protoOf = kotlin_kotlin.$_$.t5, THROW_CCE = kotlin_kotlin.$_$.r7, Element = kotlin_kotlin.$_$.g4, Continuation = kotlin_kotlin.$_$.c4, initMetadataForClass = kotlin_kotlin.$_$.e5, VOID = kotlin_kotlin.$_$.c, EmptyCoroutineContext_getInstance = kotlin_kotlin.$_$.t1, createCoroutineUnintercepted = kotlin_kotlin.$_$.u3, UnsupportedOperationException_init_$Create$ = kotlin_kotlin.$_$.k1, isInterface = kotlin_kotlin.$_$.l5, toString = kotlin_kotlin.$_$.v5, IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.c1, toString_0 = kotlin_kotlin.$_$.g8, atomic$int$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.c, atomic$ref$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.b, get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.t3, initMetadataForInterface = kotlin_kotlin.$_$.h5, initMetadataForObject = kotlin_kotlin.$_$.j5, hashCode = kotlin_kotlin.$_$.d5, equals = kotlin_kotlin.$_$.x4, atomic$boolean$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.a, CancellationException_init_$Create$ = kotlin_kotlin.$_$.r, Result__exceptionOrNull_impl_p6xea9 = kotlin_kotlin.$_$.q1, _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.r1, _Result___init__impl__xyqfz8 = (kotlin_kotlin.$_$.v1, + kotlin_kotlin.$_$.p1), createFailure = kotlin_kotlin.$_$.w7, AbstractCoroutineContextKey = kotlin_kotlin.$_$.y3, Key_instance = kotlin_kotlin.$_$.s1, AbstractCoroutineContextElement = kotlin_kotlin.$_$.x3, get = kotlin_kotlin.$_$.z3, minusKey = kotlin_kotlin.$_$.a4, ContinuationInterceptor = kotlin_kotlin.$_$.b4, RuntimeException_init_$Create$ = kotlin_kotlin.$_$.i1, addSuppressed = kotlin_kotlin.$_$.u7, Enum = kotlin_kotlin.$_$.l7, startCoroutine = kotlin_kotlin.$_$.l4, noWhenBranchMatchedException = kotlin_kotlin.$_$.b8, Long = kotlin_kotlin.$_$.p7, ArrayDeque_init_$Create$ = kotlin_kotlin.$_$.f, RuntimeException = kotlin_kotlin.$_$.q7, RuntimeException_init_$Init$ = kotlin_kotlin.$_$.h1, captureStack = kotlin_kotlin.$_$.q4, Error_0 = kotlin_kotlin.$_$.m7, Error_init_$Init$ = kotlin_kotlin.$_$.x, StringBuilder_init_$Create$ = kotlin_kotlin.$_$.w, throwUninitializedPropertyAccessException = kotlin_kotlin.$_$.f8, ArrayList_init_$Create$ = kotlin_kotlin.$_$.g, CancellationException = kotlin_kotlin.$_$.s3, ArrayList = kotlin_kotlin.$_$.x1, IllegalStateException_init_$Create$_0 = kotlin_kotlin.$_$.d1, plus = kotlin_kotlin.$_$.h4, get_0 = kotlin_kotlin.$_$.e4, fold = kotlin_kotlin.$_$.d4, minusKey_0 = kotlin_kotlin.$_$.f4, anyToString = kotlin_kotlin.$_$.n4, UnsupportedOperationException = kotlin_kotlin.$_$.t7, Exception = kotlin_kotlin.$_$.n7, IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.a1, ensureNotNull = kotlin_kotlin.$_$.x7, intercepted = kotlin_kotlin.$_$.v3, getKClassFromExpression = kotlin_kotlin.$_$.a, CancellationException_init_$Init$ = kotlin_kotlin.$_$.s, getStringHashCode = kotlin_kotlin.$_$.c5, HashSet_init_$Create$ = kotlin_kotlin.$_$.l, RuntimeException_init_$Init$_0 = kotlin_kotlin.$_$.g1, LinkedHashSet_init_$Create$ = kotlin_kotlin.$_$.q, removeFirstOrNull = kotlin_kotlin.$_$.g3, Collection = kotlin_kotlin.$_$.y1, KtList = kotlin_kotlin.$_$.a2, UnsupportedOperationException_init_$Create$_0 = kotlin_kotlin.$_$.j1; + function AbstractCoroutine(parentContext, initParentJob, active) { + JobSupport.call(this, active), initParentJob && this.kf(parentContext.i7(Key_instance_2)), + this.nf_1 = parentContext.ud(this); } - function JsonElementMarker$readIfAbsent$ref($boundThis) { - var l = function(p0, p1) { - return readIfAbsent($boundThis, p0, p1); - }; - return l.callableName = "readIfAbsent", l; + function StandaloneCoroutine(parentContext, active) { + AbstractCoroutine.call(this, parentContext, !0, active); } - function JsonElementMarker(descriptor) { - this.s15_1 = new ElementMarker(descriptor, JsonElementMarker$readIfAbsent$ref(this)), - this.t15_1 = !1; + function LazyStandaloneCoroutine(parentContext, block) { + StandaloneCoroutine.call(this, parentContext, !1), this.kh_1 = createCoroutineUnintercepted(block, this, this); } - function JsonEncodingException(message) { - JsonException.call(this, message), captureStack(this, JsonEncodingException); + function _get_parentHandle__f8dcex($this) { + return $this.qh_1.kotlinx$atomicfu$value; } - function InvalidKeyKindException(keyDescriptor) { - return new JsonEncodingException("Value of type '" + keyDescriptor.vv() + "' can't be used in JSON as a key in the map. It should have either primitive or enum kind, but its kind is '" + keyDescriptor.wv() + "'.\n" + get_allowStructuredMapKeysHint()); + function isReusable($this) { + var tmp; + if (2 === $this.zh_1) { + var tmp_0 = $this.mh_1; + tmp = (tmp_0 instanceof DispatchedContinuation ? tmp_0 : THROW_CCE()).yh(); + } else tmp = !1; + return tmp; } - function JsonDecodingException(message) { - JsonException.call(this, message), captureStack(this, JsonDecodingException); + function callSegmentOnCancellation($this, segment, cause) { + var index = 536870911 & $this.oh_1.kotlinx$atomicfu$value; + if (536870911 === index) { + throw IllegalStateException_init_$Create$(toString("The index for Segment.onCancellation(..) is broken")); + } + try { + segment.bi(index, cause, $this.b7()); + } catch ($p) { + if (!($p instanceof Error)) throw $p; + var ex = $p; + handleCoroutineException($this.b7(), new CompletionHandlerException("Exception in invokeOnCancellation handler for " + $this.toString(), ex)); + } } - function JsonDecodingException_0(offset, message, input) { - return JsonDecodingException_1(offset, message + "\nJSON input: " + minify(input, offset)); + function installParentHandle($this) { + var tmp0_elvis_lhs = $this.b7().i7(Key_instance_2); + if (null == tmp0_elvis_lhs) return null; + var handle = invokeOnCompletion(tmp0_elvis_lhs, !0, VOID, new ChildContinuation($this)); + return $this.qh_1.atomicfu$compareAndSet(null, handle), handle; } - function JsonDecodingException_1(offset, message) { - return new JsonDecodingException(offset >= 0 ? "Unexpected JSON token at offset " + offset + ": " + message : message); + function multipleHandlersError($this, handler, state) { + var message = "It's prohibited to register multiple handlers, tried to register " + toString(handler) + ", already has " + toString_0(state); + throw IllegalStateException_init_$Create$(toString(message)); } - function UnknownKeyException(key, input) { - return JsonDecodingException_1(-1, "Encountered unknown key '" + key + "'.\n" + get_ignoreUnknownKeysHint() + "\nCurrent input: " + minify$default(input, 0, 1, null)); + function dispatchResume($this, mode) { + if (function($this) { + for (var this_0 = $this.oh_1; ;) { + var cur = this_0.kotlinx$atomicfu$value; + switch (cur >> _get_DECISION_SHIFT_$accessor$2jt7ek_1tkg2i()) { + case 0: + var index = 536870911 & cur, tmp$ret$2 = (2 << _get_DECISION_SHIFT_$accessor$2jt7ek_1tkg2i()) + index | 0; + if ($this.oh_1.atomicfu$compareAndSet(cur, tmp$ret$2)) return !0; + break; + + case 1: + return !1; + + default: + throw IllegalStateException_init_$Create$(toString("Already resumed")); + } + } + }($this)) return Unit_instance; + !function(_this__u8e3s4, mode) { + var tmp, tmp_0, delegate = _this__u8e3s4.ri(), undispatched = 4 === mode; + tmp_0 = !undispatched && delegate instanceof DispatchedContinuation; + tmp = !!tmp_0 && get_isCancellableMode(mode) === get_isCancellableMode(_this__u8e3s4.zh_1); + if (tmp) { + var dispatcher = delegate.th_1, context = delegate.b7(); + dispatcher.qj(context) ? dispatcher.rj(context, _this__u8e3s4) : function(_this__u8e3s4) { + var eventLoop = ThreadLocalEventLoop_getInstance().gk(); + if (eventLoop.ak()) eventLoop.zj(_this__u8e3s4); else { + eventLoop.ck(!0); + try { + for (resume(_this__u8e3s4, _this__u8e3s4.ri(), !0); eventLoop.yj(); ) ; + } catch ($p) { + if (!($p instanceof Error)) throw $p; + var e = $p; + _this__u8e3s4.jj(e, null); + } finally { + eventLoop.dk(!0); + } + } + }(_this__u8e3s4); + } else resume(_this__u8e3s4, delegate, undispatched); + }($this, mode); } - function JsonException(message) { - SerializationException_init_$Init$(message, this), captureStack(this, JsonException); + function resumedState($this, state, proposedUpdate, resumeMode, onCancellation, idempotent) { + var tmp; + proposedUpdate instanceof CompletedExceptionally ? tmp = proposedUpdate : tmp = (get_isCancellableMode(resumeMode) || null != idempotent) && (!!(null != onCancellation || isInterface(state, CancelHandler)) || !(null == idempotent)) ? new CompletedContinuation(proposedUpdate, isInterface(state, CancelHandler) ? state : null, onCancellation, idempotent) : proposedUpdate; + return tmp; } - function minify(_this__u8e3s4, offset) { - if (charSequenceLength(_this__u8e3s4) < 200) return _this__u8e3s4; - if (-1 === offset) { - var start = charSequenceLength(_this__u8e3s4) - 60 | 0; - if (start <= 0) return _this__u8e3s4; - var tmp0_substring = charSequenceLength(_this__u8e3s4); - return "....." + toString(charSequenceSubSequence(_this__u8e3s4, start, tmp0_substring)); - } - var start_0 = offset - 30 | 0, end = offset + 30 | 0, prefix = start_0 <= 0 ? "" : ".....", suffix = end >= charSequenceLength(_this__u8e3s4) ? "" : ".....", tmp1_substring = coerceAtLeast(start_0, 0), tmp2_substring = coerceAtMost(end, charSequenceLength(_this__u8e3s4)); - return prefix + toString(charSequenceSubSequence(_this__u8e3s4, tmp1_substring, tmp2_substring)) + suffix; + function resumeImpl$default($this, proposedUpdate, resumeMode, onCancellation, $super) { + return function($this, proposedUpdate, resumeMode, onCancellation) { + for (var this_0 = $this.ph_1; ;) $l$block: { + var state = this_0.kotlinx$atomicfu$value; + if (null != state && isInterface(state, NotCompleted)) { + var update = resumedState(0, state, proposedUpdate, resumeMode, onCancellation, null); + if (!$this.ph_1.atomicfu$compareAndSet(state, update)) break $l$block; + return detachChildIfNonResuable($this), dispatchResume($this, resumeMode), Unit_instance; + } + if (state instanceof CancelledContinuation && state.pi()) return null == onCancellation || $this.li(onCancellation, state.uf_1), + Unit_instance; + alreadyResumedError($this, proposedUpdate); + } + }($this, proposedUpdate, resumeMode, onCancellation = onCancellation === VOID ? null : onCancellation); } - function minify$default(_this__u8e3s4, offset, $mask0, $handler) { - return 0 != (1 & $mask0) && (offset = -1), minify(_this__u8e3s4, offset); + function alreadyResumedError($this, proposedUpdate) { + var message = "Already resumed, but proposed with update " + toString_0(proposedUpdate); + throw IllegalStateException_init_$Create$(toString(message)); } - function get_JsonAlternativeNamesKey() { - return init_properties_JsonNamesMap_kt_1j2xk2(), JsonAlternativeNamesKey; + function detachChildIfNonResuable($this) { + isReusable($this) || $this.qi(); } - function getJsonNameIndex(_this__u8e3s4, json, name) { - init_properties_JsonNamesMap_kt_1j2xk2(); - var index = _this__u8e3s4.cw(name); - if (Companion_getInstance(), -3 !== index) return index; - if (!json.g13_1.k14_1) return index; - var tmp_1, tmp = get_schemaCache(json), tmp_0 = get_JsonAlternativeNamesKey(), tmp0_elvis_lhs = tmp.v15(_this__u8e3s4, tmp_0, buildAlternativeNamesMap$ref(_this__u8e3s4)).v1(name); - return null == tmp0_elvis_lhs ? (Companion_getInstance(), tmp_1 = -3) : tmp_1 = tmp0_elvis_lhs, - tmp_1; - } - function buildAlternativeNamesMap(_this__u8e3s4) { - init_properties_JsonNamesMap_kt_1j2xk2(); - var builder = null, inductionVariable = 0, last = _this__u8e3s4.zv(); - if (inductionVariable < last) do { - var i = inductionVariable; - inductionVariable = inductionVariable + 1 | 0; - for (var tmp0_filterIsInstance = _this__u8e3s4.dw(i), tmp0_filterIsInstanceTo = ArrayList_init_$Create$(), tmp0_iterator = tmp0_filterIsInstance.d(); tmp0_iterator.e(); ) { - var element = tmp0_iterator.f(); - element instanceof JsonNames && tmp0_filterIsInstanceTo.a(element); - } - var tmp1_safe_receiver = singleOrNull(tmp0_filterIsInstanceTo), tmp2_safe_receiver = null == tmp1_safe_receiver ? null : tmp1_safe_receiver.w15_1; - if (null == tmp2_safe_receiver) ; else for (var tmp0_iterator_0 = arrayIterator(tmp2_safe_receiver); tmp0_iterator_0.e(); ) { - var element_0 = tmp0_iterator_0.f(); - null == builder && (builder = createMapForCache(_this__u8e3s4.zv())), buildAlternativeNamesMap$putOrThrow(ensureNotNull(builder), _this__u8e3s4, element_0, i); - } - } while (inductionVariable < last); - var tmp3_elvis_lhs = builder; - return null == tmp3_elvis_lhs ? emptyMap() : tmp3_elvis_lhs; - } - function buildAlternativeNamesMap$putOrThrow(_this__u8e3s4, $this_buildAlternativeNamesMap, name, index) { - if ((isInterface(_this__u8e3s4, Map) ? _this__u8e3s4 : THROW_CCE()).p1(name)) throw new JsonException("The suggested name '" + name + "' for property " + $this_buildAlternativeNamesMap.bw(index) + " is already one of the names for property " + $this_buildAlternativeNamesMap.bw(getValue(_this__u8e3s4, name)) + " in " + $this_buildAlternativeNamesMap); - _this__u8e3s4.t2(name, index); - } - function buildAlternativeNamesMap$ref($boundThis) { - var l = function() { - return buildAlternativeNamesMap($boundThis); - }; - return l.callableName = "buildAlternativeNamesMap", l; + function CancellableContinuationImpl(delegate, resumeMode) { + DispatchedTask.call(this, resumeMode), this.mh_1 = delegate, this.nh_1 = this.mh_1.b7(); + var tmp$ret$0 = 536870911 + (0 << _get_DECISION_SHIFT_$accessor$2jt7ek_1tkg2i()) | 0; + this.oh_1 = atomic$int$1(tmp$ret$0), this.ph_1 = atomic$ref$1(Active_instance), + this.qh_1 = atomic$ref$1(null); } - function init_properties_JsonNamesMap_kt_1j2xk2() { - properties_initialized_JsonNamesMap_kt_ljpf42 || (properties_initialized_JsonNamesMap_kt_ljpf42 = !0, - JsonAlternativeNamesKey = new Key); + function NotCompleted() {} + function UserSupplied(handler) { + this.kj_1 = handler; } - function Tombstone() { - Tombstone_instance = this; + function CancelHandler() {} + function Active() {} + function CompletedContinuation(result, cancelHandler, onCancellation, idempotentResume, cancelCause) { + cancelHandler = cancelHandler === VOID ? null : cancelHandler, onCancellation = onCancellation === VOID ? null : onCancellation, + idempotentResume = idempotentResume === VOID ? null : idempotentResume, cancelCause = cancelCause === VOID ? null : cancelCause, + this.ci_1 = result, this.di_1 = cancelHandler, this.ei_1 = onCancellation, this.fi_1 = idempotentResume, + this.gi_1 = cancelCause; } - function Tombstone_getInstance() { - return null == Tombstone_instance && new Tombstone, Tombstone_instance; + function _get_DECISION_SHIFT_$accessor$2jt7ek_1tkg2i() { + return properties_initialized_CancellableContinuationImpl_kt_xtzb03 || (properties_initialized_CancellableContinuationImpl_kt_xtzb03 = !0, + new Symbol("RESUME_TOKEN")), 29; } - function resize($this) { - var newSize = imul($this.z15_1, 2); - $this.x15_1 = copyOf($this.x15_1, newSize), $this.y15_1 = copyOf_0($this.y15_1, newSize); + function UserSupplied_0(handler) { + this.mj_1 = handler; } - function JsonPath() { - var tmp$ret$0, tmp = this; - tmp$ret$0 = fillArrayVal(Array(8), null), tmp.x15_1 = tmp$ret$0; - for (var tmp_0 = this, tmp_1 = 0, tmp_2 = 8, tmp_3 = new Int32Array(tmp_2); tmp_1 < tmp_2; ) { - var tmp$ret$1; - tmp$ret$1 = -1, tmp_3[tmp_1] = tmp$ret$1, tmp_1 = tmp_1 + 1 | 0; - } - tmp_0.y15_1 = tmp_3, this.z15_1 = -1; + function CompletedExceptionally(cause, handled) { + handled = handled !== VOID && handled, this.uf_1 = cause, this.vf_1 = atomic$boolean$1(handled); } - function encodeByWriter(_this__u8e3s4, writer, serializer, value) { - var tmp = WriteMode_OBJ_getInstance(), tmp0_arrayOfNulls = values().length; - StreamingJsonEncoder_init_$Create$(writer, _this__u8e3s4, tmp, fillArrayVal(Array(tmp0_arrayOfNulls), null)).hy(serializer, value); + function CancelledContinuation(continuation, cause, handled) { + CompletedExceptionally.call(this, null == cause ? CancellationException_init_$Create$("Continuation " + toString(continuation) + " was cancelled normally") : cause, handled), + this.oi_1 = atomic$boolean$1(!1); } - function readObject($this) { - var lastToken = $this.o16_1.r16(get_TC_BEGIN_OBJ()); - $this.o16_1.t16() === get_TC_COMMA() && $this.o16_1.s16("Unexpected leading comma", 0, null, 6, null); - var result = LinkedHashMap_init_$Create$(); - $l$loop: for (;$this.o16_1.u16(); ) { - var key = $this.p16_1 ? $this.o16_1.w16() : $this.o16_1.v16(); - $this.o16_1.r16(get_TC_COLON()); - var element = $this.x16(); - result.t2(key, element); - var tmp0_subject = lastToken = $this.o16_1.y16(); - if (tmp0_subject === get_TC_COMMA()) ; else { - if (tmp0_subject === get_TC_END_OBJ()) break $l$loop; - $this.o16_1.s16("Expected end of the object or comma", 0, null, 6, null); - } - } - return lastToken === get_TC_BEGIN_OBJ() ? $this.o16_1.r16(get_TC_END_OBJ()) : lastToken === get_TC_COMMA() && $this.o16_1.s16("Unexpected trailing comma", 0, null, 6, null), - new JsonObject(result); + function toState_0(_this__u8e3s4, onCancellation) { + onCancellation = onCancellation === VOID ? null : onCancellation; + var tmp, exception = Result__exceptionOrNull_impl_p6xea9(_this__u8e3s4); + if (null == exception) { + var tmp_0 = _Result___get_value__impl__bjfvqg(_this__u8e3s4), it = null == tmp_0 || null != tmp_0 ? tmp_0 : THROW_CCE(); + tmp = null != onCancellation ? new CompletedWithCancellation(it, onCancellation) : it; + } else tmp = new CompletedExceptionally(exception); + return tmp; } - function readObject_0(_this__u8e3s4, $this, $cont) { - var tmp = new $readObjectCOROUTINE$0($this, _this__u8e3s4, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); + function CompletedWithCancellation(result, onCancellation) { + this.nj_1 = result, this.oj_1 = onCancellation; } - function readArray($this) { - var lastToken = $this.o16_1.y16(); - $this.o16_1.t16() === get_TC_COMMA() && $this.o16_1.s16("Unexpected leading comma", 0, null, 6, null); - for (var result = ArrayList_init_$Create$(); $this.o16_1.u16(); ) { - var element = $this.x16(); - if (result.a(element), (lastToken = $this.o16_1.y16()) !== get_TC_COMMA()) { - var tmp0_require = $this.o16_1, tmp1_require = lastToken === get_TC_END_LIST(), tmp2_require = tmp0_require.u13_1; - if (!tmp1_require) { - var tmp = "Expected end of the array or comma"; - tmp0_require.s16(tmp, tmp2_require, null, 4, null); - } - } + function recoverResult(state, uCont) { + var tmp; + if (state instanceof CompletedExceptionally) { + var exception = recoverStackTrace(state.uf_1, uCont); + tmp = _Result___init__impl__xyqfz8(createFailure(exception)); + } else { + var value = null == state || null != state ? state : THROW_CCE(); + tmp = _Result___init__impl__xyqfz8(value); } - return lastToken === get_TC_BEGIN_LIST() ? $this.o16_1.r16(get_TC_END_LIST()) : lastToken === get_TC_COMMA() && $this.o16_1.s16("Unexpected trailing comma", 0, null, 6, null), - new JsonArray(result); - } - function readValue($this, isString) { - var string = $this.p16_1 || !isString ? $this.o16_1.w16() : $this.o16_1.v16(); - return isString || string !== get_NULL() ? new JsonLiteral(string, isString) : JsonNull_getInstance(); - } - function readDeepRecursive($this) { - return invoke(new DeepRecursiveFunction(JsonTreeReader$readDeepRecursive$slambda_0($this, null)), Unit_getInstance()); - } - function JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation) { - this.u17_1 = this$0, CoroutineImpl.call(this, resultContinuation); + return tmp; } - function JsonTreeReader$readDeepRecursive$slambda_0(this$0, resultContinuation) { - var i = new JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation), l = function($this$$receiver, it, $cont) { - return i.z17($this$$receiver, it, $cont); - }; - return l.$arity = 2, l; + function CoroutineDispatcher$Key$_init_$lambda_akl8b5(it) { + return it instanceof CoroutineDispatcher ? it : null; } - function $readObjectCOROUTINE$0(_this__u8e3s4, _this__u8e3s4_0, resultContinuation) { - CoroutineImpl.call(this, resultContinuation), this.h17_1 = _this__u8e3s4, this.i17_1 = _this__u8e3s4_0; + function Key() { + Key_instance_0 = this; + var tmp = Key_instance; + AbstractCoroutineContextKey.call(this, tmp, CoroutineDispatcher$Key$_init_$lambda_akl8b5); } - function JsonTreeReader(configuration, lexer) { - this.o16_1 = lexer, this.p16_1 = configuration.b14_1, this.q16_1 = 0; + function CoroutineDispatcher() { + null == Key_instance_0 && new Key, AbstractCoroutineContextElement.call(this, Key_instance); } - function classDiscriminator(_this__u8e3s4, json) { - for (var tmp0_iterator = _this__u8e3s4.aw().d(); tmp0_iterator.e(); ) { - var annotation = tmp0_iterator.f(); - if (annotation instanceof JsonClassDiscriminator) return annotation.b18_1; + function handleCoroutineException(context, exception) { + try { + var tmp0_safe_receiver = context.i7(Key_instance_1); + if (null != tmp0_safe_receiver) return tmp0_safe_receiver.tj(context, exception), + Unit_instance; + } catch ($p) { + if ($p instanceof Error) return handleUncaughtCoroutineException(context, handlerException(exception, $p)), + Unit_instance; + throw $p; } - return json.g13_1.i14_1; + handleUncaughtCoroutineException(context, exception); } - function decodeSerializableValuePolymorphic(_this__u8e3s4, deserializer) { - if (!(deserializer instanceof AbstractPolymorphicSerializer) || _this__u8e3s4.l14().g13_1.h14_1) return deserializer.ov(_this__u8e3s4); - var discriminator = classDiscriminator(deserializer.mv(), _this__u8e3s4.l14()), tmp0_cast = _this__u8e3s4.m14(), tmp1_cast = deserializer.mv(); - if (!(tmp0_cast instanceof JsonObject)) throw JsonDecodingException_1(-1, "Expected " + getKClass(JsonObject) + " as the serialized body of " + tmp1_cast.vv() + ", but had " + getKClassFromExpression(tmp0_cast)); - var tmp_0, jsonTree = tmp0_cast, tmp0_safe_receiver = jsonTree.r14(discriminator), tmp1_safe_receiver = null == tmp0_safe_receiver ? null : get_jsonPrimitive(tmp0_safe_receiver), type = null == tmp1_safe_receiver ? null : tmp1_safe_receiver.s14(), tmp2_elvis_lhs = deserializer.ly(_this__u8e3s4, type); - null == tmp2_elvis_lhs ? throwSerializerNotFound(type, jsonTree) : tmp_0 = tmp2_elvis_lhs; - var actualSerializer = tmp_0; - return readPolymorphicJson(_this__u8e3s4.l14(), discriminator, jsonTree, isInterface(actualSerializer, DeserializationStrategy) ? actualSerializer : THROW_CCE()); - } - function throwSerializerNotFound(type, jsonTree) { - throw JsonDecodingException_0(-1, "Polymorphic serializer was not found for " + (null == type ? "missing class discriminator ('null')" : "class discriminator '" + type + "'"), jsonTree.toString()); + function Key_0() {} + function handlerException(originalException, thrownException) { + if (originalException === thrownException) return originalException; + var this_0 = RuntimeException_init_$Create$("Exception while trying to handle coroutine exception", thrownException); + return addSuppressed(this_0, originalException), this_0; } - function validateIfSealed(serializer, actualSerializer, classDiscriminator) { - if (!(serializer instanceof SealedClassSerializer)) return Unit_getInstance(); - if (jsonCachedSerialNames(actualSerializer.mv()).t(classDiscriminator)) { - var baseName = serializer.mv().vv(), actualName = actualSerializer.mv().vv(); - throw IllegalStateException_init_$Create$(toString("Sealed class '" + actualName + "' cannot be serialized as base class '" + baseName + "' because it has property name that conflicts with JSON class discriminator '" + classDiscriminator + "'. You can either change class discriminator in JsonConfiguration, rename property with @SerialName annotation or fall back to array polymorphism")); - } + function CoroutineScope() {} + function GlobalScope() {} + function CoroutineStart_initEntries() { + if (CoroutineStart_entriesInitialized) return Unit_instance; + CoroutineStart_entriesInitialized = !0, CoroutineStart_DEFAULT_instance = new CoroutineStart("DEFAULT", 0), + CoroutineStart_LAZY_instance = new CoroutineStart("LAZY", 1), new CoroutineStart("ATOMIC", 2), + new CoroutineStart("UNDISPATCHED", 3); } - function checkKind(kind) { - if (kind instanceof ENUM) throw IllegalStateException_init_$Create$("Enums cannot be serialized polymorphically with 'type' parameter. You can use 'JsonBuilder.useArrayPolymorphism' instead"); - if (kind instanceof PrimitiveKind) throw IllegalStateException_init_$Create$("Primitives cannot be serialized polymorphically with 'type' parameter. You can use 'JsonBuilder.useArrayPolymorphism' instead"); - if (kind instanceof PolymorphicKind) throw IllegalStateException_init_$Create$("Actual serializer for polymorphic cannot be polymorphic itself"); + function CoroutineStart(name, ordinal) { + Enum.call(this, name, ordinal); } - function validateIfSealed$accessor$1ad0flx(serializer, actualSerializer, classDiscriminator) { - return validateIfSealed(serializer, actualSerializer, classDiscriminator); + function delta($this, unconfined) { + return unconfined ? new Long(0, 1) : new Long(1, 0); } - function Key() {} - function DescriptorSchemaCache() { - this.u15_1 = createMapForCache(1); + function EventLoop() { + CoroutineDispatcher.call(this), this.vj_1 = new Long(0, 0), this.wj_1 = !1, this.xj_1 = null; } - function DiscriminatorHolder(discriminatorToSkip) { - this.e18_1 = discriminatorToSkip; + function ThreadLocalEventLoop() { + ThreadLocalEventLoop_instance = this, this.fk_1 = (new Symbol("ThreadLocalEventLoop"), + new CommonThreadLocal); } - function trySkip(_this__u8e3s4, $this, unknownKey) { - return null != _this__u8e3s4 && _this__u8e3s4.e18_1 === unknownKey && (_this__u8e3s4.e18_1 = null, - !0); + function ThreadLocalEventLoop_getInstance() { + return null == ThreadLocalEventLoop_instance && new ThreadLocalEventLoop, ThreadLocalEventLoop_instance; } - function skipLeftoverElements($this, descriptor) { - $l$loop: for (;;) { - var tmp = $this.vx(descriptor); - if (Companion_getInstance(), -1 === tmp) break $l$loop; - } + function CompletionHandlerException(message, cause) { + RuntimeException_init_$Init$(message, cause, this), captureStack(this, CompletionHandlerException); } - function checkLeadingComma($this) { - $this.o13_1.t16() === get_TC_COMMA() && $this.o13_1.s16("Unexpected leading comma", 0, null, 6, null); + function CoroutinesInternalError(message, cause) { + Error_init_$Init$(message, cause, this), captureStack(this, CoroutinesInternalError); } - function decodeMapIndex($this) { - var tmp, hasComma = !1, decodingKey = !(0 == ($this.q13_1 % 2 | 0)); - if (decodingKey ? -1 !== $this.q13_1 && (hasComma = $this.o13_1.g18()) : $this.o13_1.f18(get_COLON()), - $this.o13_1.u16()) { - if (decodingKey) if (-1 === $this.q13_1) { - var tmp0_require = $this.o13_1, tmp1_require = !hasComma, tmp2_require = tmp0_require.u13_1; - if (!tmp1_require) { - var tmp_0 = "Unexpected trailing comma"; - tmp0_require.s16(tmp_0, tmp2_require, null, 4, null); - } - } else { - var tmp3_require = $this.o13_1, tmp4_require = hasComma, tmp5_require = tmp3_require.u13_1; - if (!tmp4_require) { - var tmp_1 = "Expected comma after the key-value pair"; - tmp3_require.s16(tmp_1, tmp5_require, null, 4, null); - } - } - var tmp0_this = $this; - tmp0_this.q13_1 = tmp0_this.q13_1 + 1 | 0, tmp = tmp0_this.q13_1; - } else hasComma && $this.o13_1.s16("Expected '}', but had ',' instead", 0, null, 6, null), - Companion_getInstance(), tmp = -1; - return tmp; + function Key_1() {} + function ParentJob() {} + function ChildHandle() {} + function NonDisposableHandle() {} + function invokeOnCompletion(_this__u8e3s4, onCancelling, invokeImmediately, handler) { + var $boundThis, l; + return onCancelling = onCancelling !== VOID && onCancelling, invokeImmediately = invokeImmediately === VOID || invokeImmediately, + _this__u8e3s4 instanceof JobSupport ? _this__u8e3s4.qg(onCancelling, invokeImmediately, handler) : _this__u8e3s4.pg(onCancelling, invokeImmediately, ($boundThis = handler, + (l = function(p0) { + return $boundThis.zi(p0), Unit_instance; + }).callableName = "invoke", l)); } - function coerceInputValue($this, descriptor, index) { - var tmp$ret$1; - $l$block_1: { - var tmp0_tryCoerceValue = $this.m13_1, tmp1_tryCoerceValue = descriptor.ew(index); - if (!tmp1_tryCoerceValue.xv() && !$this.o13_1.h18()) tmp$ret$1 = !0; else { - if (equals(tmp1_tryCoerceValue.wv(), ENUM_getInstance())) { - var tmp0_elvis_lhs = $this.o13_1.i18($this.s13_1.b14_1); - if (null == tmp0_elvis_lhs) { - tmp$ret$1 = !1; - break $l$block_1; - } - var enumIndex = getJsonNameIndex(tmp1_tryCoerceValue, tmp0_tryCoerceValue, tmp0_elvis_lhs); - if (Companion_getInstance(), -3 === enumIndex) { - $this.o13_1.v16(), tmp$ret$1 = !0; - break $l$block_1; - } - } - tmp$ret$1 = !1; - } - } - return tmp$ret$1; + function get_COMPLETING_ALREADY() { + return _init_properties_JobSupport_kt__68f172(), COMPLETING_ALREADY; } - function decodeObjectIndex($this, descriptor) { - for (var hasComma = $this.o13_1.g18(); $this.o13_1.u16(); ) { - hasComma = !1; - var key = decodeStringKey($this); - $this.o13_1.f18(get_COLON()); - var tmp, index = getJsonNameIndex(descriptor, $this.m13_1, key); - if (Companion_getInstance(), -3 !== index) { - if (!$this.s13_1.g14_1 || !coerceInputValue($this, descriptor, index)) { - var tmp0_safe_receiver = $this.t13_1; - return null == tmp0_safe_receiver || tmp0_safe_receiver.k10(index), index; - } - hasComma = $this.o13_1.g18(), tmp = !1; - } else tmp = !0; - tmp && (hasComma = handleUnknown($this, key)); - } - hasComma && $this.o13_1.s16("Unexpected trailing comma", 0, null, 6, null); - var tmp_1, tmp1_safe_receiver = $this.t13_1, tmp2_elvis_lhs = null == tmp1_safe_receiver ? null : tmp1_safe_receiver.l10(); - return null == tmp2_elvis_lhs ? (Companion_getInstance(), tmp_1 = -1) : tmp_1 = tmp2_elvis_lhs, - tmp_1; + function get_COMPLETING_WAITING_CHILDREN() { + return _init_properties_JobSupport_kt__68f172(), COMPLETING_WAITING_CHILDREN; } - function handleUnknown($this, key) { - return $this.s13_1.a14_1 || trySkip($this.r13_1, $this, key) ? $this.o13_1.k18($this.s13_1.b14_1) : $this.o13_1.j18(key), - $this.o13_1.g18(); - } - function decodeListIndex($this) { - var tmp, hasComma = $this.o13_1.g18(); - if ($this.o13_1.u16()) { - -1 === $this.q13_1 || hasComma || $this.o13_1.s16("Expected end of the array or comma", 0, null, 6, null); - var tmp0_this = $this; - tmp0_this.q13_1 = tmp0_this.q13_1 + 1 | 0, tmp = tmp0_this.q13_1; - } else hasComma && $this.o13_1.s16("Unexpected trailing comma", 0, null, 6, null), - Companion_getInstance(), tmp = -1; - return tmp; + function get_COMPLETING_RETRY() { + return _init_properties_JobSupport_kt__68f172(), COMPLETING_RETRY; } - function decodeStringKey($this) { - return $this.s13_1.b14_1 ? $this.o13_1.m18() : $this.o13_1.l18(); + function get_TOO_LATE_TO_CANCEL() { + return _init_properties_JobSupport_kt__68f172(), TOO_LATE_TO_CANCEL; } - function StreamingJsonDecoder(json, mode, lexer, descriptor, discriminatorHolder) { - AbstractDecoder.call(this), this.m13_1 = json, this.n13_1 = mode, this.o13_1 = lexer, - this.p13_1 = this.m13_1.tx(), this.q13_1 = -1, this.r13_1 = discriminatorHolder, - this.s13_1 = this.m13_1.g13_1, this.t13_1 = this.s13_1.e14_1 ? null : new JsonElementMarker(descriptor); + function get_SEALED() { + return _init_properties_JobSupport_kt__68f172(), SEALED; } - function StreamingJsonEncoder_init_$Init$(output, json, mode, modeReuseCache, $this) { - return StreamingJsonEncoder.call($this, Composer_0(output, json), json, mode, modeReuseCache), - $this; + function get_EMPTY_ACTIVE() { + return _init_properties_JobSupport_kt__68f172(), EMPTY_ACTIVE; } - function StreamingJsonEncoder_init_$Create$(output, json, mode, modeReuseCache) { - return StreamingJsonEncoder_init_$Init$(output, json, mode, modeReuseCache, Object.create(StreamingJsonEncoder.prototype)); + function Empty(isActive) { + this.kk_1 = isActive; } - function encodeTypeInfo($this, descriptor) { - $this.g16_1.d15(), $this.cy(ensureNotNull($this.n16_1)), $this.g16_1.f15(get_COLON()), - $this.g16_1.e15(), $this.cy(descriptor.vv()); + function Incomplete() {} + function NodeList() { + LinkedListHead.call(this); } - function StreamingJsonEncoder(composer, json, mode, modeReuseCache) { - AbstractEncoder.call(this), this.g16_1 = composer, this.h16_1 = json, this.i16_1 = mode, - this.j16_1 = modeReuseCache, this.k16_1 = this.h16_1.tx(), this.l16_1 = this.h16_1.g13_1, - this.m16_1 = !1, this.n16_1 = null; - var i = this.i16_1.d4_1; - null != this.j16_1 && (null === this.j16_1[i] && this.j16_1[i] === this || (this.j16_1[i] = this)); + function JobNode() { + LinkedListNode.call(this); } - function get_ESCAPE_STRINGS() { - return init_properties_StringOps_kt_g67jhv(), ESCAPE_STRINGS; + function _set_exceptionsHolder__tqm22h($this, value) { + $this.il_1.kotlinx$atomicfu$value = value; } - function toHexChar(i) { - init_properties_StringOps_kt_g67jhv(); - var d = 15 & i; - return numberToChar(d < 10 ? d + 48 | 0 : 97 + (d - 10 | 0) | 0); + function _get_exceptionsHolder__nhszp($this) { + return $this.il_1.kotlinx$atomicfu$value; } - function printQuoted(_this__u8e3s4, value) { - init_properties_StringOps_kt_g67jhv(), _this__u8e3s4.p4(get_STRING()); - var lastPos = 0, inductionVariable = 0, last = charSequenceLength(value) - 1 | 0; - if (inductionVariable <= last) do { - var i = inductionVariable; - inductionVariable = inductionVariable + 1 | 0; - var tmp0__get_code__88qj9g = charSequenceGet(value, i), c = Char__toInt_impl_vasixd(tmp0__get_code__88qj9g); - c < get_ESCAPE_STRINGS().length && null != get_ESCAPE_STRINGS()[c] && (_this__u8e3s4.sa(value, lastPos, i), - _this__u8e3s4.va(get_ESCAPE_STRINGS()[c]), lastPos = i + 1 | 0); - } while (inductionVariable <= last); - 0 !== lastPos ? _this__u8e3s4.sa(value, lastPos, value.length) : _this__u8e3s4.va(value), - _this__u8e3s4.p4(get_STRING()); + function allocateList($this) { + return ArrayList_init_$Create$(4); } - function init_properties_StringOps_kt_g67jhv() { - if (properties_initialized_StringOps_kt_wzaea7) ; else { - properties_initialized_StringOps_kt_wzaea7 = !0; - var tmp0_apply = fillArrayVal(Array(93), null), inductionVariable = 0; - if (inductionVariable <= 31) do { - var c = inductionVariable; - inductionVariable = inductionVariable + 1 | 0; - var c1 = toHexChar(c >> 12), c2 = toHexChar(c >> 8), c3 = toHexChar(c >> 4), c4 = toHexChar(c); - tmp0_apply[c] = "\\u" + new Char(c1) + new Char(c2) + new Char(c3) + new Char(c4); - } while (inductionVariable <= 31); - tmp0_apply[34] = '\\"', tmp0_apply[92] = "\\\\", tmp0_apply[9] = "\\t", tmp0_apply[8] = "\\b", - tmp0_apply[10] = "\\n", tmp0_apply[13] = "\\r", tmp0_apply[12] = "\\f", ESCAPE_STRINGS = tmp0_apply; - var tmp$ret$1_0, tmp$ret$3_0, tmp$ret$5_0, tmp$ret$7_0, tmp$ret$9, tmp$ret$11, tmp$ret$12, tmp0_apply_0 = new Int8Array(93), inductionVariable_0 = 0; - if (inductionVariable_0 <= 31) do { - var c_0 = inductionVariable_0; - inductionVariable_0 = inductionVariable_0 + 1 | 0, tmp0_apply_0[c_0] = 1; - } while (inductionVariable_0 <= 31); - tmp$ret$1_0 = 34, tmp0_apply_0[34] = toByte(tmp$ret$1_0), tmp$ret$3_0 = 92, tmp0_apply_0[92] = toByte(tmp$ret$3_0), - tmp$ret$5_0 = 116, tmp0_apply_0[9] = toByte(tmp$ret$5_0), tmp$ret$7_0 = 98, tmp0_apply_0[8] = toByte(tmp$ret$7_0), - tmp$ret$9 = 110, tmp0_apply_0[10] = toByte(tmp$ret$9), tmp$ret$11 = 114, tmp0_apply_0[13] = toByte(tmp$ret$11), - tmp$ret$12 = 102, tmp0_apply_0[12] = toByte(tmp$ret$12); + function finalizeFinishingState($this, state, proposedUpdate) { + var wasCancelling, tmp0_safe_receiver = proposedUpdate instanceof CompletedExceptionally ? proposedUpdate : null, proposedException = null == tmp0_safe_receiver ? null : tmp0_safe_receiver.uf_1; + wasCancelling = state.jl(); + var exceptions = state.kl(proposedException), finalCause = function($this, state, exceptions) { + if (exceptions.q()) return state.jl() ? new JobCancellationException($this.sf(), null, $this) : null; + var tmp$ret$2; + $l$block: { + for (var tmp0_iterator = exceptions.h(); tmp0_iterator.i(); ) { + var element = tmp0_iterator.j(); + if (!(element instanceof CancellationException)) { + tmp$ret$2 = element; + break $l$block; + } + } + tmp$ret$2 = null; + } + var firstNonCancellation = tmp$ret$2; + if (null != firstNonCancellation) return firstNonCancellation; + var first = exceptions.p(0); + if (first instanceof TimeoutCancellationException) { + var tmp$ret$4; + $l$block_0: { + for (var tmp0_iterator_0 = exceptions.h(); tmp0_iterator_0.i(); ) { + var element_0 = tmp0_iterator_0.j(); + if (element_0 !== first && element_0 instanceof TimeoutCancellationException) { + tmp$ret$4 = element_0; + break $l$block_0; + } + } + tmp$ret$4 = null; + } + if (null != tmp$ret$4) return tmp$ret$4; + } + return first; + }($this, state, exceptions); + null != finalCause && function($this, rootCause, exceptions) { + if (exceptions.k() <= 1) return Unit_instance; + var seenExceptions = (expectedSize = exceptions.k(), HashSet_init_$Create$(expectedSize)), unwrappedCause = rootCause, tmp0_iterator = exceptions.h(); + var expectedSize; + for (;tmp0_iterator.i(); ) { + var unwrapped = tmp0_iterator.j(); + !!(unwrapped !== rootCause && unwrapped !== unwrappedCause && !(unwrapped instanceof CancellationException)) && seenExceptions.e(unwrapped) && addSuppressed(rootCause, unwrapped); + } + }(0, finalCause, exceptions); + var finalException = finalCause, finalState = null == finalException || finalException === proposedException ? proposedUpdate : new CompletedExceptionally(finalException); + null != finalException && ((cancelParent($this, finalException) || $this.bh(finalException)) && (finalState instanceof CompletedExceptionally ? finalState : THROW_CCE()).ki()); + wasCancelling || $this.yg(finalException), $this.tf(finalState); + $this.if_1.atomicfu$compareAndSet(state, boxIncomplete(finalState)); + return completeStateFinalization($this, state, finalState), finalState; + } + function completeStateFinalization($this, state, update) { + var tmp0_safe_receiver = $this.hg(); + null == tmp0_safe_receiver || (tmp0_safe_receiver.ti(), $this.gg(NonDisposableHandle_instance)); + var tmp1_safe_receiver = update instanceof CompletedExceptionally ? update : null, cause = null == tmp1_safe_receiver ? null : tmp1_safe_receiver.uf_1; + if (state instanceof JobNode) try { + state.zi(cause); + } catch ($p) { + if (!($p instanceof Error)) throw $p; + var ex = $p; + $this.ag(new CompletionHandlerException("Exception in completion handler " + toString(state) + " for " + $this.toString(), ex)); + } else { + var tmp2_safe_receiver = state.lk(); + null == tmp2_safe_receiver || function(_this__u8e3s4, $this, cause) { + var exception = null, cur = _this__u8e3s4.qk_1; + for (;!equals(cur, _this__u8e3s4); ) { + if (cur instanceof JobNode) { + var node = cur; + try { + node.zi(cause); + } catch ($p) { + if (!($p instanceof Error)) throw $p; + var tmp, ex = $p, tmp0_safe_receiver = exception; + null == tmp0_safe_receiver ? tmp = null : (addSuppressed(tmp0_safe_receiver, ex), + tmp = tmp0_safe_receiver), null == tmp && (exception = new CompletionHandlerException("Exception in completion handler " + node.toString() + " for " + $this.toString(), ex)); + } + } + cur = cur.qk_1; + } + var tmp0_safe_receiver_0 = exception; + null == tmp0_safe_receiver_0 || $this.ag(tmp0_safe_receiver_0); + }(tmp2_safe_receiver, $this, cause); + } + } + function notifyCancelling($this, list, cause) { + $this.yg(cause); + for (var exception = null, cur = list.qk_1; !equals(cur, list); ) { + if (cur instanceof JobCancellingNode) { + var node = cur; + try { + node.zi(cause); + } catch ($p) { + if (!($p instanceof Error)) throw $p; + var tmp, ex = $p, tmp0_safe_receiver = exception; + null == tmp0_safe_receiver ? tmp = null : (addSuppressed(tmp0_safe_receiver, ex), + tmp = tmp0_safe_receiver), null == tmp && (exception = new CompletionHandlerException("Exception in completion handler " + node.toString() + " for " + $this.toString(), ex)); + } + } + cur = cur.qk_1; } + var tmp0_safe_receiver_0 = exception; + null == tmp0_safe_receiver_0 || $this.ag(tmp0_safe_receiver_0), cancelParent($this, cause); } - function currentObject($this) { - var tmp0_safe_receiver = $this.r11(), tmp1_elvis_lhs = null == tmp0_safe_receiver ? null : $this.y18(tmp0_safe_receiver); - return null == tmp1_elvis_lhs ? $this.g1() : tmp1_elvis_lhs; + function cancelParent($this, cause) { + if ($this.zg()) return !0; + var isCancellation = cause instanceof CancellationException, parent = $this.hg(); + return null === parent || parent === NonDisposableHandle_instance ? isCancellation : parent.ug(cause) || isCancellation; } - function unparsedPrimitive($this, primitive) { - throw JsonDecodingException_0(-1, "Failed to parse '" + primitive + "'", toString(currentObject($this))); + function startInternal($this, state) { + return state instanceof Empty ? state.kk_1 ? 0 : $this.if_1.atomicfu$compareAndSet(state, get_EMPTY_ACTIVE()) ? ($this.lg(), + 1) : -1 : state instanceof InactiveNodeList ? $this.if_1.atomicfu$compareAndSet(state, state.ll_1) ? ($this.lg(), + 1) : -1 : 0; } - function asLiteral(_this__u8e3s4, $this, type) { - var tmp0_elvis_lhs = _this__u8e3s4 instanceof JsonLiteral ? _this__u8e3s4 : null; - if (null == tmp0_elvis_lhs) throw JsonDecodingException_1(-1, "Unexpected 'null' when " + type + " was expected"); - return tmp0_elvis_lhs; + function addLastAtomic($this, expect, list, node) { + var tmp$ret$1; + return $this.ig() === expect ? (list.xk(node), tmp$ret$1 = !0) : tmp$ret$1 = !1, + tmp$ret$1; } - function AbstractJsonTreeDecoder(json, value) { - NamedValueDecoder.call(this), this.v18_1 = json, this.w18_1 = value, this.x18_1 = this.l14().g13_1; + function promoteEmptyToNodeList($this, state) { + var list = new NodeList, update = state.kk_1 ? list : new InactiveNodeList(list); + $this.if_1.atomicfu$compareAndSet(state, update); } - function JsonTreeDecoder_init_$Init$(json, value, polyDiscriminator, polyDescriptor, $mask0, $marker, $this) { - return 0 != (4 & $mask0) && (polyDiscriminator = null), 0 != (8 & $mask0) && (polyDescriptor = null), - JsonTreeDecoder.call($this, json, value, polyDiscriminator, polyDescriptor), $this; + function promoteSingleToNodeList($this, state) { + state.el(new NodeList); + var list = state.qk_1; + $this.if_1.atomicfu$compareAndSet(state, list); } - function JsonTreeDecoder_init_$Create$(json, value, polyDiscriminator, polyDescriptor, $mask0, $marker) { - return JsonTreeDecoder_init_$Init$(json, value, polyDiscriminator, polyDescriptor, $mask0, $marker, Object.create(JsonTreeDecoder.prototype)); + function createCauseException($this, cause) { + var tmp; + null == cause || cause instanceof Error ? tmp = null == cause ? new JobCancellationException($this.sf(), null, $this) : cause : tmp = (null != cause && isInterface(cause, ParentJob) ? cause : THROW_CCE()).wg(); + return tmp; } - function coerceInputValue_0($this, descriptor, index, tag) { - var tmp$ret$1; - $l$block_1: { - var tmp0_tryCoerceValue = $this.l14(), tmp1_tryCoerceValue = descriptor.ew(index); - if (!tmp1_tryCoerceValue.xv() && $this.y18(tag) instanceof JsonNull) tmp$ret$1 = !0; else { - if (equals(tmp1_tryCoerceValue.wv(), ENUM_getInstance())) { - var tmp_1 = $this.y18(tag), tmp0_safe_receiver = tmp_1 instanceof JsonPrimitive ? tmp_1 : null, tmp0_elvis_lhs = null == tmp0_safe_receiver ? null : get_contentOrNull(tmp0_safe_receiver); - if (null == tmp0_elvis_lhs) { - tmp$ret$1 = !1; - break $l$block_1; - } - var enumIndex = getJsonNameIndex(tmp1_tryCoerceValue, tmp0_tryCoerceValue, tmp0_elvis_lhs); - if (Companion_getInstance(), -3 === enumIndex) { - Unit_getInstance(), tmp$ret$1 = !0; - break $l$block_1; - } + function getOrPromoteCancellingList($this, state) { + var tmp, tmp1_elvis_lhs = state.lk(); + if (null == tmp1_elvis_lhs) { + var tmp_0; + if (state instanceof Empty) tmp_0 = new NodeList; else { + if (!(state instanceof JobNode)) { + var message = "State should have list: " + toString(state); + throw IllegalStateException_init_$Create$(toString(message)); } - tmp$ret$1 = !1; + promoteSingleToNodeList($this, state), tmp_0 = null; } - } - return tmp$ret$1; - } - function absenceIsNull($this, descriptor, index) { - return $this.n19_1 = !$this.l14().g13_1.e14_1 && !descriptor.fw(index) && descriptor.ew(index).xv(), - $this.n19_1; + tmp = tmp_0; + } else tmp = tmp1_elvis_lhs; + return tmp; } - function buildAlternativeNamesMap$ref_0($boundThis) { - var l = function() { - return buildAlternativeNamesMap($boundThis); - }; - return l.callableName = "buildAlternativeNamesMap", l; + function tryMakeCancelling($this, state, rootCause) { + var tmp0_elvis_lhs = getOrPromoteCancellingList($this, state); + if (null == tmp0_elvis_lhs) return !1; + var list = tmp0_elvis_lhs, cancelling = new Finishing(list, !1, rootCause); + return !!$this.if_1.atomicfu$compareAndSet(state, cancelling) && (notifyCancelling($this, list, rootCause), + !0); } - function JsonTreeDecoder(json, value, polyDiscriminator, polyDescriptor) { - AbstractJsonTreeDecoder.call(this, json, value), this.j19_1 = value, this.k19_1 = polyDiscriminator, - this.l19_1 = polyDescriptor, this.m19_1 = 0, this.n19_1 = !1; + function tryMakeCompleting($this, state, proposedUpdate) { + return null != state && isInterface(state, Incomplete) ? !!(!!(state instanceof Empty || state instanceof JobNode) && !(state instanceof ChildHandleNode)) && !(proposedUpdate instanceof CompletedExceptionally) ? function($this, state, update) { + return !!$this.if_1.atomicfu$compareAndSet(state, boxIncomplete(update)) && ($this.yg(null), + $this.tf(update), completeStateFinalization($this, state, update), !0); + }($this, state, proposedUpdate) ? proposedUpdate : get_COMPLETING_RETRY() : function($this, state, proposedUpdate) { + var tmp, tmp0_elvis_lhs = getOrPromoteCancellingList($this, state); + if (null == tmp0_elvis_lhs) return get_COMPLETING_RETRY(); + tmp = tmp0_elvis_lhs; + var list = tmp, tmp1_elvis_lhs = state instanceof Finishing ? state : null, finishing = null == tmp1_elvis_lhs ? new Finishing(list, !1, null) : tmp1_elvis_lhs, notifyRootCause = null; + if (finishing.ml()) return get_COMPLETING_ALREADY(); + if (!(finishing.ql(!0), finishing === state || $this.if_1.atomicfu$compareAndSet(state, finishing))) return get_COMPLETING_RETRY(); + var wasCancelling = finishing.jl(), tmp0_safe_receiver = proposedUpdate instanceof CompletedExceptionally ? proposedUpdate : null; + null == tmp0_safe_receiver || finishing.ol(tmp0_safe_receiver.uf_1); + var tmp_0, this_0 = finishing.pl(); + tmp_0 = wasCancelling ? null : this_0; + notifyRootCause = tmp_0; + var tmp2_safe_receiver = notifyRootCause; + null == tmp2_safe_receiver || notifyCancelling($this, list, tmp2_safe_receiver); + var child = function($this, state) { + var tmp, tmp1_elvis_lhs = state instanceof ChildHandleNode ? state : null; + if (null == tmp1_elvis_lhs) { + var tmp0_safe_receiver = state.lk(); + tmp = null == tmp0_safe_receiver ? null : nextChild(tmp0_safe_receiver, $this); + } else tmp = tmp1_elvis_lhs; + return tmp; + }($this, state); + return null != child && tryWaitForChild($this, finishing, child, proposedUpdate) ? get_COMPLETING_WAITING_CHILDREN() : finalizeFinishingState($this, finishing, proposedUpdate); + }($this, state, proposedUpdate) : get_COMPLETING_ALREADY(); } - function JsonTreeListDecoder(json, value) { - AbstractJsonTreeDecoder.call(this, json, value), this.t19_1 = value, this.u19_1 = this.t19_1.c(), - this.v19_1 = -1; + function tryWaitForChild($this, state, child, proposedUpdate) { + for (var $this_0 = $this, state_0 = state, child_0 = child, proposedUpdate_0 = proposedUpdate; ;) { + if (invokeOnCompletion(child_0.vl_1, VOID, !1, new ChildCompletion($this_0, state_0, child_0, proposedUpdate_0)) !== NonDisposableHandle_instance) return !0; + var tmp0_elvis_lhs = nextChild(child_0, $this_0); + if (null == tmp0_elvis_lhs) return !1; + child_0 = tmp0_elvis_lhs; + } } - function JsonTreeMapDecoder(json, value) { - JsonTreeDecoder_init_$Init$(json, value, null, null, 12, null, this), this.g1a_1 = value, - this.h1a_1 = toList(this.g1a_1.w1()), this.i1a_1 = imul(this.h1a_1.c(), 2), this.j1a_1 = -1; + function nextChild(_this__u8e3s4, $this) { + var cur = _this__u8e3s4; + $l$loop: for (;cur.sk_1; ) cur = cur.rk_1; + for (;;) if (!(cur = cur.qk_1).sk_1) { + if (cur instanceof ChildHandleNode) return cur; + if (cur instanceof NodeList) return null; + } } - function readPolymorphicJson(_this__u8e3s4, discriminator, element, deserializer) { - return new JsonTreeDecoder(_this__u8e3s4, element, discriminator, deserializer.mv()).lx(deserializer); + function stateString($this, state) { + return state instanceof Finishing ? state.jl() ? "Cancelling" : state.ml() ? "Completing" : "Active" : null != state && isInterface(state, Incomplete) ? state.pf() ? "Active" : "New" : state instanceof CompletedExceptionally ? "Cancelled" : "Completed"; } - function values() { - return [ WriteMode_OBJ_getInstance(), WriteMode_LIST_getInstance(), WriteMode_MAP_getInstance(), WriteMode_POLY_OBJ_getInstance() ]; + function Finishing(list, isCompleting, rootCause) { + SynchronizedObject.call(this), this.fl_1 = list, this.gl_1 = atomic$boolean$1(isCompleting), + this.hl_1 = atomic$ref$1(rootCause), this.il_1 = atomic$ref$1(null); } - function WriteMode_initEntries() { - if (WriteMode_entriesInitialized) return Unit_getInstance(); - WriteMode_entriesInitialized = !0, WriteMode_OBJ_instance = new WriteMode("OBJ", 0, get_BEGIN_OBJ(), get_END_OBJ()), - WriteMode_LIST_instance = new WriteMode("LIST", 1, get_BEGIN_LIST(), get_END_LIST()), - WriteMode_MAP_instance = new WriteMode("MAP", 2, get_BEGIN_OBJ(), get_END_OBJ()), - WriteMode_POLY_OBJ_instance = new WriteMode("POLY_OBJ", 3, get_BEGIN_LIST(), get_END_LIST()); + function ChildCompletion(parent, state, child, proposedUpdate) { + JobNode.call(this), this.bm_1 = parent, this.cm_1 = state, this.dm_1 = child, this.em_1 = proposedUpdate; } - function WriteMode(name, ordinal, begin, end) { - Enum.call(this, name, ordinal), this.q18_1 = begin, this.r18_1 = end; + function JobSupport(active) { + this.if_1 = atomic$ref$1(active ? get_EMPTY_ACTIVE() : (_init_properties_JobSupport_kt__68f172(), + EMPTY_NEW)), this.jf_1 = atomic$ref$1(null); } - function switchMode(_this__u8e3s4, desc) { - var tmp, tmp0_subject = desc.wv(); - if (tmp0_subject instanceof PolymorphicKind) tmp = WriteMode_POLY_OBJ_getInstance(); else if (equals(tmp0_subject, LIST_getInstance())) tmp = WriteMode_LIST_getInstance(); else if (equals(tmp0_subject, MAP_getInstance())) { - var tmp_0, keyDescriptor = carrierDescriptor(desc.ew(0), _this__u8e3s4.tx()), keyKind = keyDescriptor.wv(); - if (keyKind instanceof PrimitiveKind || equals(keyKind, ENUM_getInstance())) tmp_0 = WriteMode_MAP_getInstance(); else { - if (!_this__u8e3s4.g13_1.c14_1) throw InvalidKeyKindException(keyDescriptor); - tmp_0 = WriteMode_LIST_getInstance(); - } - tmp = tmp_0; - } else tmp = WriteMode_OBJ_getInstance(); - return tmp; + function boxIncomplete(_this__u8e3s4) { + return _init_properties_JobSupport_kt__68f172(), null != _this__u8e3s4 && isInterface(_this__u8e3s4, Incomplete) ? new IncompleteStateBox(_this__u8e3s4) : _this__u8e3s4; } - function carrierDescriptor(_this__u8e3s4, module_0) { - var tmp; - if (equals(_this__u8e3s4.wv(), CONTEXTUAL_getInstance())) { - var tmp0_safe_receiver = getContextualDescriptor(module_0, _this__u8e3s4), tmp1_elvis_lhs = null == tmp0_safe_receiver ? null : carrierDescriptor(tmp0_safe_receiver, module_0); - tmp = null == tmp1_elvis_lhs ? _this__u8e3s4 : tmp1_elvis_lhs; - } else tmp = _this__u8e3s4.yv() ? carrierDescriptor(_this__u8e3s4.ew(0), module_0) : _this__u8e3s4; - return tmp; + function JobCancellingNode() { + JobNode.call(this); } - function WriteMode_OBJ_getInstance() { - return WriteMode_initEntries(), WriteMode_OBJ_instance; + function InactiveNodeList(list) { + this.ll_1 = list; } - function WriteMode_LIST_getInstance() { - return WriteMode_initEntries(), WriteMode_LIST_instance; + function ChildHandleNode(childJob) { + JobCancellingNode.call(this), this.vl_1 = childJob; } - function WriteMode_MAP_getInstance() { - return WriteMode_initEntries(), WriteMode_MAP_instance; + function InvokeOnCancelling(handler) { + JobCancellingNode.call(this), this.km_1 = handler, this.lm_1 = atomic$int$1(0); } - function WriteMode_POLY_OBJ_getInstance() { - return WriteMode_initEntries(), WriteMode_POLY_OBJ_instance; + function InvokeOnCompletion(handler) { + JobNode.call(this), this.qm_1 = handler; } - function appendEscape($this, lastPosition, current) { - return $this.k1a(lastPosition, current), appendEsc($this, current + 1 | 0); + function IncompleteStateBox(state) { + this.rm_1 = state; } - function decodedString($this, lastPosition, currentPosition) { - $this.k1a(lastPosition, currentPosition); - var result = $this.x13_1.toString(); - return $this.x13_1.wa(0), result; + function ChildContinuation(child) { + JobCancellingNode.call(this), this.wm_1 = child; } - function takePeeked($this) { - var tmp0_also = ensureNotNull($this.w13_1); - return $this.w13_1 = null, tmp0_also; - } - function wasUnquotedString($this) { - return !equals(new Char(charSequenceGet($this.l1a(), $this.u13_1 - 1 | 0)), new Char(_Char___init__impl__6a9atx(34))); - } - function appendEsc($this, startPosition) { - var currentPosition = startPosition; - -1 === (currentPosition = $this.m1a(currentPosition)) && $this.s16("Expected escape sequence to continue, got EOF", 0, null, 6, null); - var tmp = $this.l1a(), tmp0 = currentPosition; - currentPosition = tmp0 + 1 | 0; - var currentChar = charSequenceGet(tmp, tmp0); - if (equals(new Char(currentChar), new Char(_Char___init__impl__6a9atx(117)))) return appendHex($this, $this.l1a(), currentPosition); - var c = escapeToChar(Char__toInt_impl_vasixd(currentChar)); - if (equals(new Char(c), new Char(_Char___init__impl__6a9atx(0)))) { - var tmp_0 = "Invalid escaped char '" + new Char(currentChar) + "'"; - $this.s16(tmp_0, 0, null, 6, null); - } - return $this.x13_1.p4(c), currentPosition; + function _init_properties_JobSupport_kt__68f172() { + properties_initialized_JobSupport_kt_5iq8a4 || (properties_initialized_JobSupport_kt_5iq8a4 = !0, + COMPLETING_ALREADY = new Symbol("COMPLETING_ALREADY"), COMPLETING_WAITING_CHILDREN = new Symbol("COMPLETING_WAITING_CHILDREN"), + COMPLETING_RETRY = new Symbol("COMPLETING_RETRY"), TOO_LATE_TO_CANCEL = new Symbol("TOO_LATE_TO_CANCEL"), + SEALED = new Symbol("SEALED"), EMPTY_NEW = new Empty(!1), EMPTY_ACTIVE = new Empty(!0)); } - function appendHex($this, source, startPos) { - return (startPos + 4 | 0) >= charSequenceLength(source) ? ($this.u13_1 = startPos, - $this.n1a(), ($this.u13_1 + 4 | 0) >= charSequenceLength(source) && $this.s16("Unexpected EOF during unicode escape", 0, null, 6, null), - appendHex($this, source, $this.u13_1)) : ($this.x13_1.p4(numberToChar((((fromHexChar($this, source, startPos) << 12) + (fromHexChar($this, source, startPos + 1 | 0) << 8) | 0) + (fromHexChar($this, source, startPos + 2 | 0) << 4) | 0) + fromHexChar($this, source, startPos + 3 | 0) | 0)), - startPos + 4 | 0); + function MainCoroutineDispatcher() { + CoroutineDispatcher.call(this); } - function fromHexChar($this, source, currentPosition) { - var tmp, character = charSequenceGet(source, currentPosition); - if (_Char___init__impl__6a9atx(48) <= character && character <= _Char___init__impl__6a9atx(57)) tmp = Char__toInt_impl_vasixd(character) - 48 | 0; else if (_Char___init__impl__6a9atx(97) <= character && character <= _Char___init__impl__6a9atx(102)) tmp = 10 + (Char__toInt_impl_vasixd(character) - 97 | 0) | 0; else if (_Char___init__impl__6a9atx(65) <= character && character <= _Char___init__impl__6a9atx(70)) tmp = 10 + (Char__toInt_impl_vasixd(character) - 65 | 0) | 0; else { - var tmp_3 = "Invalid toHexChar char '" + new Char(character) + "' in unicode escape"; - $this.s16(tmp_3, 0, null, 6, null); - } - return tmp; + function SupervisorCoroutine(context, uCont) { + ScopeCoroutine.call(this, context, uCont); } - function AbstractJsonLexer() { - this.u13_1 = 0, this.v13_1 = new JsonPath, this.w13_1 = null, this.x13_1 = StringBuilder_init_$Create$(); + function TimeoutCancellationException() {} + function Unconfined() { + Unconfined_instance = this, CoroutineDispatcher.call(this); } - function charToTokenClass(c) { - return Char__toInt_impl_vasixd(c) < 126 ? CharMappings_getInstance().v1a_1[Char__toInt_impl_vasixd(c)] : 0; + function Key_2() {} + function OpDescriptor() {} + function Segment() {} + function ConcurrentLinkedListNode() {} + function handleUncaughtCoroutineException(context, exception) { + for (var tmp0_iterator = (_init_properties_CoroutineExceptionHandlerImpl_kt__37d7wf(), + _init_properties_CoroutineExceptionHandlerImpl_kt__37d7wf(), platformExceptionHandlers_).h(); tmp0_iterator.i(); ) { + var handler = tmp0_iterator.j(); + try { + handler.tj(context, exception); + } catch ($p) { + if ($p instanceof ExceptionSuccessfullyProcessed) { + return Unit_instance; + } + if (!($p instanceof Error)) throw $p; + propagateExceptionFinalResort(handlerException(exception, $p)); + } + } + try { + addSuppressed(exception, new DiagnosticCoroutineContextException(context)); + } catch ($p) { + if (!($p instanceof Error)) throw $p; + } + propagateExceptionFinalResort(exception); } - function get_TC_WHITESPACE() { - return TC_WHITESPACE; + function ExceptionSuccessfullyProcessed() {} + function get_UNDEFINED() { + return _init_properties_DispatchedContinuation_kt__tnmqc0(), UNDEFINED; } - function get_TC_EOF() { - return TC_EOF; + function get_REUSABLE_CLAIMED() { + return _init_properties_DispatchedContinuation_kt__tnmqc0(), REUSABLE_CLAIMED; } - function get_STRING() { - return STRING; + function DispatchedContinuation(dispatcher, continuation) { + DispatchedTask.call(this, -1), this.th_1 = dispatcher, this.uh_1 = continuation, + this.vh_1 = get_UNDEFINED(), this.wh_1 = (this.b7(), 0), this.xh_1 = atomic$ref$1(null); } - function get_TC_STRING() { - return TC_STRING; + function resumeCancellableWith(_this__u8e3s4, result, onCancellation) { + var tmp; + if (onCancellation = onCancellation === VOID ? null : onCancellation, _init_properties_DispatchedContinuation_kt__tnmqc0(), + _this__u8e3s4 instanceof DispatchedContinuation) { + var tmp_0, state = toState_0(result, onCancellation); + if (_this__u8e3s4.th_1.qj(_this__u8e3s4.b7())) _this__u8e3s4.vh_1 = state, _this__u8e3s4.zh_1 = 1, + _this__u8e3s4.th_1.rj(_this__u8e3s4.b7(), _this__u8e3s4), tmp_0 = Unit_instance; else { + var eventLoop = ThreadLocalEventLoop_getInstance().gk(); + if (eventLoop.ak()) _this__u8e3s4.vh_1 = state, _this__u8e3s4.zh_1 = 1, eventLoop.zj(_this__u8e3s4), + !0; else { + eventLoop.ck(!0); + try { + var tmp$ret$3, job = _this__u8e3s4.b7().i7(Key_instance_2); + if (null == job || job.pf()) tmp$ret$3 = !1; else { + var cause = job.mg(); + _this__u8e3s4.vi(state, cause); + var tmp$ret$1 = _Result___init__impl__xyqfz8(createFailure(cause)); + _this__u8e3s4.g7(tmp$ret$1), tmp$ret$3 = !0; + } + for (tmp$ret$3 || (_this__u8e3s4.uh_1, _this__u8e3s4.wh_1, _this__u8e3s4.uh_1.g7(result)); eventLoop.yj(); ) ; + } catch ($p) { + if (!($p instanceof Error)) throw $p; + var e = $p; + _this__u8e3s4.jj(e, null); + } finally { + eventLoop.dk(!0); + } + !1; + } + tmp_0 = Unit_instance; + } + tmp = tmp_0; + } else _this__u8e3s4.g7(result), tmp = Unit_instance; + return tmp; } - function get_STRING_ESC() { - return STRING_ESC; + function _init_properties_DispatchedContinuation_kt__tnmqc0() { + properties_initialized_DispatchedContinuation_kt_2siadq || (properties_initialized_DispatchedContinuation_kt_2siadq = !0, + UNDEFINED = new Symbol("UNDEFINED"), REUSABLE_CLAIMED = new Symbol("REUSABLE_CLAIMED")); } - function get_TC_BEGIN_OBJ() { - return TC_BEGIN_OBJ; + function DispatchedTask(resumeMode) { + SchedulerTask.call(this), this.zh_1 = resumeMode; } - function get_TC_COLON() { - return TC_COLON; + function get_isCancellableMode(_this__u8e3s4) { + return 1 === _this__u8e3s4 || 2 === _this__u8e3s4; } - function get_TC_COMMA() { - return TC_COMMA; + function resume(_this__u8e3s4, delegate, undispatched) { + var tmp, state = _this__u8e3s4.ui(), exception = _this__u8e3s4.gj(state); + if (null != exception) tmp = _Result___init__impl__xyqfz8(createFailure(exception)); else { + var value = _this__u8e3s4.dj(state); + tmp = _Result___init__impl__xyqfz8(value); + } + var result = tmp; + if (undispatched) { + var this_0 = delegate instanceof DispatchedContinuation ? delegate : THROW_CCE(); + this_0.uh_1, this_0.wh_1, this_0.uh_1.g7(result); + } else delegate.g7(result); } - function get_COLON() { - return COLON; + function ScopeCoroutine(context, uCont) { + AbstractCoroutine.call(this, context, !0, !0), this.mn_1 = uCont; } - function get_BEGIN_OBJ() { - return BEGIN_OBJ; + function Symbol(symbol) { + this.rn_1 = symbol; } - function get_END_OBJ() { - return END_OBJ; + function dispatcherFailure$accessor$glj1hg(completion, e) { + return function(completion, e) { + var tmp$ret$0 = _Result___init__impl__xyqfz8(createFailure(e)); + throw completion.g7(tmp$ret$0), e; + }(completion, e); } - function get_BEGIN_LIST() { - return BEGIN_LIST; + function toDebugString(_this__u8e3s4) { + return toString(_this__u8e3s4); } - function get_END_LIST() { - return END_LIST; + function createDefaultDispatcher() { + var tmp; + "undefined" != typeof navigator && null != navigator && null != navigator.userAgent && void 0 !== navigator.userAgent && void 0 !== navigator.userAgent.match && navigator.userAgent.match("\\bjsdom\\b") ? tmp = NodeDispatcher_getInstance() : tmp = !!("undefined" != typeof window && null != window) && !(void 0 === window.addEventListener) ? function(_this__u8e3s4) { + var tmp, tmp0_elvis_lhs = _this__u8e3s4.coroutineDispatcher; + if (null == tmp0_elvis_lhs) { + var this_0 = new WindowDispatcher(_this__u8e3s4); + _this__u8e3s4.coroutineDispatcher = this_0, tmp = this_0; + } else tmp = tmp0_elvis_lhs; + return tmp; + }(window) : "undefined" == typeof process || void 0 === process.nextTick ? function() { + null == SetTimeoutDispatcher_instance && new SetTimeoutDispatcher; + return SetTimeoutDispatcher_instance; + }() : NodeDispatcher_getInstance(); + return tmp; } - function get_lenientHint() { - return lenientHint; + function get_DEBUG() { + return DEBUG; } - function get_INVALID() { - return INVALID; + function get_classSimpleName(_this__u8e3s4) { + var tmp0_elvis_lhs = getKClassFromExpression(_this__u8e3s4).e8(); + return null == tmp0_elvis_lhs ? "Unknown" : tmp0_elvis_lhs; } - function get_COMMA() { - return COMMA; + function get_hexAddress(_this__u8e3s4) { + var result = _this__u8e3s4.__debug_counter; + return "number" != typeof result && (result = counter = counter + 1 | 0, _this__u8e3s4.__debug_counter = result), + (null != result && "number" == typeof result ? result : THROW_CCE()).toString(); } - function get_NULL() { - return NULL; + function NodeDispatcher() { + NodeDispatcher_instance = this, SetTimeoutBasedDispatcher.call(this); } - function get_TC_END_OBJ() { - return TC_END_OBJ; + function NodeDispatcher_getInstance() { + return null == NodeDispatcher_instance && new NodeDispatcher, NodeDispatcher_instance; } - function get_TC_BEGIN_LIST() { - return TC_BEGIN_LIST; + function ScheduledMessageQueue(dispatcher) { + MessageQueue.call(this), this.yn_1 = dispatcher; + var this$0; + this.zn_1 = (this$0 = this, function() { + return this$0.fo(), Unit_instance; + }); } - function get_TC_END_LIST() { - return TC_END_LIST; + function WindowMessageQueue(window_0) { + var this$0; + MessageQueue.call(this), this.qo_1 = window_0, this.ro_1 = "dispatchCoroutine", + this.qo_1.addEventListener("message", (this$0 = this, function(event) { + return event.source == this$0.qo_1 && event.data == this$0.ro_1 && (event.stopPropagation(), + this$0.fo()), Unit_instance; + }), !0); } - function get_TC_OTHER() { - return TC_OTHER; + function propagateExceptionFinalResort(exception) { + console.error(exception.toString()); } - function escapeToChar(c) { - return c < 117 ? CharMappings_getInstance().u1a_1[c] : _Char___init__impl__6a9atx(0); + function Dispatchers() { + Dispatchers_instance = this, this.an_1 = createDefaultDispatcher(), this.bn_1 = (null == Unconfined_instance && new Unconfined, + Unconfined_instance), this.cn_1 = new JsMainDispatcher(this.an_1, !1), this.dn_1 = null; } - function get_ignoreUnknownKeysHint() { - return ignoreUnknownKeysHint; + function Dispatchers_getInstance() { + return null == Dispatchers_instance && new Dispatchers, Dispatchers_instance; } - function initEscape($this) { - var inductionVariable = 0; - if (inductionVariable <= 31) do { - var i = inductionVariable; - inductionVariable = inductionVariable + 1 | 0, initC2ESC($this, i, _Char___init__impl__6a9atx(117)); - } while (inductionVariable <= 31); - initC2ESC($this, 8, _Char___init__impl__6a9atx(98)), initC2ESC($this, 9, _Char___init__impl__6a9atx(116)), - initC2ESC($this, 10, _Char___init__impl__6a9atx(110)), initC2ESC($this, 12, _Char___init__impl__6a9atx(102)), - initC2ESC($this, 13, _Char___init__impl__6a9atx(114)), initC2ESC_0($this, _Char___init__impl__6a9atx(47), _Char___init__impl__6a9atx(47)), - initC2ESC_0($this, _Char___init__impl__6a9atx(34), _Char___init__impl__6a9atx(34)), - initC2ESC_0($this, _Char___init__impl__6a9atx(92), _Char___init__impl__6a9atx(92)); - } - function initCharToToken($this) { - var inductionVariable = 0; - if (inductionVariable <= 32) do { - var i = inductionVariable; - inductionVariable = inductionVariable + 1 | 0, initC2TC($this, i, 127); - } while (inductionVariable <= 32); - initC2TC($this, 9, 3), initC2TC($this, 10, 3), initC2TC($this, 13, 3), initC2TC($this, 32, 3), - initC2TC_0($this, _Char___init__impl__6a9atx(44), 4), initC2TC_0($this, _Char___init__impl__6a9atx(58), 5), - initC2TC_0($this, _Char___init__impl__6a9atx(123), 6), initC2TC_0($this, _Char___init__impl__6a9atx(125), 7), - initC2TC_0($this, _Char___init__impl__6a9atx(91), 8), initC2TC_0($this, _Char___init__impl__6a9atx(93), 9), - initC2TC_0($this, _Char___init__impl__6a9atx(34), 1), initC2TC_0($this, _Char___init__impl__6a9atx(92), 2); + function JsMainDispatcher(delegate, invokeImmediately) { + MainCoroutineDispatcher.call(this), this.to_1 = delegate, this.uo_1 = invokeImmediately, + this.vo_1 = this.uo_1 ? this : new JsMainDispatcher(this.to_1, !0); } - function initC2ESC($this, c, esc) { - var tmp$ret$0; - equals(new Char(esc), new Char(_Char___init__impl__6a9atx(117))) || (tmp$ret$0 = Char__toInt_impl_vasixd(esc), - $this.u1a_1[tmp$ret$0] = numberToChar(c)); + function UnconfinedEventLoop() { + EventLoop.call(this); } - function initC2ESC_0($this, c, esc) { - return initC2ESC($this, Char__toInt_impl_vasixd(c), esc); + function JobCancellationException(message, cause, job) { + CancellationException_init_$Init$(message, cause, this), captureStack(this, JobCancellationException), + this.ap_1 = job; } - function initC2TC($this, c, cl) { - $this.v1a_1[c] = cl; + function Runnable() {} + function SchedulerTask() {} + function TaskContext() {} + function DiagnosticCoroutineContextException(context) { + RuntimeException_init_$Init$_0(toString(context), this), captureStack(this, DiagnosticCoroutineContextException); } - function initC2TC_0($this, c, cl) { - return initC2TC($this, Char__toInt_impl_vasixd(c), cl); + function _init_properties_CoroutineExceptionHandlerImpl_kt__37d7wf() { + properties_initialized_CoroutineExceptionHandlerImpl_kt_qhrgvx || (properties_initialized_CoroutineExceptionHandlerImpl_kt_qhrgvx = !0, + platformExceptionHandlers_ = LinkedHashSet_init_$Create$()); } - function CharMappings() { - CharMappings_instance = this, this.u1a_1 = charArray(117), this.v1a_1 = new Int8Array(126), - initEscape(this), initCharToToken(this); + function SetTimeoutDispatcher() { + SetTimeoutDispatcher_instance = this, SetTimeoutBasedDispatcher.call(this); } - function CharMappings_getInstance() { - return null == CharMappings_instance && new CharMappings, CharMappings_instance; + function SetTimeoutBasedDispatcher() { + CoroutineDispatcher.call(this), this.bo_1 = new ScheduledMessageQueue(this); } - function get_allowStructuredMapKeysHint() { - return allowStructuredMapKeysHint; + function MessageQueue() { + this.co_1 = ArrayDeque_init_$Create$(), this.do_1 = 16, this.eo_1 = !1; } - function StringJsonLexer(source) { - AbstractJsonLexer.call(this), this.a1b_1 = source; + function WindowDispatcher(window_0) { + CoroutineDispatcher.call(this), this.ep_1 = window_0, this.fp_1 = new WindowMessageQueue(this.ep_1); } - function get_schemaCache(_this__u8e3s4) { - return _this__u8e3s4.i13_1; + function LinkedListHead() { + LinkedListNode.call(this); } - function JsonToStringWriter() { - this.l13_1 = StringBuilder_init_$Create$_0(128); + function LinkedListNode() { + this.qk_1 = this, this.rk_1 = this, this.sk_1 = !1; } - function createMapForCache(initialCapacity) { - return HashMap_init_$Create$(initialCapacity); + function recoverStackTrace(exception, continuation) { + return exception; } - return setMetadataFor(Json, "Json", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(Default, "Default", objectMeta, Json, void 0, void 0, void 0, []), - setMetadataFor(JsonClassDiscriminator, "JsonClassDiscriminator", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(JsonNames, "JsonNames", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(JsonConfiguration, "JsonConfiguration", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(JsonDecoder, "JsonDecoder", interfaceMeta, void 0, [ Decoder, CompositeDecoder ], void 0, void 0, []), - setMetadataFor(Companion, "Companion", objectMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(JsonElement, "JsonElement", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(Companion_0, "Companion", objectMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(JsonArray, "JsonArray", classMeta, JsonElement, [ JsonElement, List ], void 0, void 0, []), - setMetadataFor(Companion_1, "Companion", objectMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(JsonObject, "JsonObject", classMeta, JsonElement, [ JsonElement, Map ], void 0, void 0, []), - setMetadataFor(Companion_2, "Companion", objectMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(JsonPrimitive, "JsonPrimitive", classMeta, JsonElement, void 0, void 0, void 0, []), - setMetadataFor(JsonLiteral, "JsonLiteral", classMeta, JsonPrimitive, void 0, void 0, void 0, []), - setMetadataFor(JsonNull, "JsonNull", objectMeta, JsonPrimitive, void 0, void 0, { - 0: JsonNullSerializer_getInstance - }, []), setMetadataFor(JsonNullSerializer, "JsonNullSerializer", objectMeta, void 0, [ KSerializer ], void 0, void 0, []), - setMetadataFor(JsonEncoder, "JsonEncoder", interfaceMeta, void 0, [ Encoder ], void 0, void 0, []), - setMetadataFor(Composer, "Composer", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(ComposerWithPrettyPrint, "ComposerWithPrettyPrint", classMeta, Composer, void 0, void 0, void 0, []), - setMetadataFor(JsonElementMarker, "JsonElementMarker", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(JsonException, "JsonException", classMeta, SerializationException, void 0, void 0, void 0, []), - setMetadataFor(JsonEncodingException, "JsonEncodingException", classMeta, JsonException, void 0, void 0, void 0, []), - setMetadataFor(JsonDecodingException, "JsonDecodingException", classMeta, JsonException, void 0, void 0, void 0, []), - setMetadataFor(Tombstone, "Tombstone", objectMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(JsonPath, "JsonPath", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(JsonTreeReader$readDeepRecursive$slambda, "JsonTreeReader$readDeepRecursive$slambda", classMeta, CoroutineImpl, void 0, void 0, void 0, [ 2 ]), - setMetadataFor($readObjectCOROUTINE$0, "$readObjectCOROUTINE$0", classMeta, CoroutineImpl, void 0, void 0, void 0, []), - setMetadataFor(JsonTreeReader, "JsonTreeReader", classMeta, void 0, void 0, void 0, void 0, [ 0 ]), - setMetadataFor(Key, "Key", classMeta, void 0, void 0, void 0, void 0, []), setMetadataFor(DescriptorSchemaCache, "DescriptorSchemaCache", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(DiscriminatorHolder, "DiscriminatorHolder", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(StreamingJsonDecoder, "StreamingJsonDecoder", classMeta, AbstractDecoder, [ JsonDecoder, AbstractDecoder ], void 0, void 0, []), - setMetadataFor(StreamingJsonEncoder, "StreamingJsonEncoder", classMeta, AbstractEncoder, [ JsonEncoder, AbstractEncoder ], void 0, void 0, []), - setMetadataFor(AbstractJsonTreeDecoder, "AbstractJsonTreeDecoder", classMeta, NamedValueDecoder, [ NamedValueDecoder, JsonDecoder ], void 0, void 0, []), - setMetadataFor(JsonTreeDecoder, "JsonTreeDecoder", classMeta, AbstractJsonTreeDecoder, void 0, void 0, void 0, []), - setMetadataFor(JsonTreeListDecoder, "JsonTreeListDecoder", classMeta, AbstractJsonTreeDecoder, void 0, void 0, void 0, []), - setMetadataFor(JsonTreeMapDecoder, "JsonTreeMapDecoder", classMeta, JsonTreeDecoder, void 0, void 0, void 0, []), - setMetadataFor(WriteMode, "WriteMode", classMeta, Enum, void 0, void 0, void 0, []), - setMetadataFor(AbstractJsonLexer, "AbstractJsonLexer", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(CharMappings, "CharMappings", objectMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(StringJsonLexer, "StringJsonLexer", classMeta, AbstractJsonLexer, void 0, void 0, void 0, []), - setMetadataFor(JsonToStringWriter, "JsonToStringWriter", classMeta, void 0, void 0, void 0, void 0, []), - Json.prototype.tx = function() { - return this.h13_1; - }, Json.prototype.j13 = function(serializer, value) { - var result = new JsonToStringWriter; - try { - return encodeByWriter(this, result, serializer, value), result.toString(); - } finally { - result.mi(); - } - }, Json.prototype.k13 = function(deserializer, string) { - var lexer = new StringJsonLexer(string), result = new StreamingJsonDecoder(this, WriteMode_OBJ_getInstance(), lexer, deserializer.mv(), null).lx(deserializer); - return lexer.y13(), result; - }, JsonConfiguration.prototype.toString = function() { - return "JsonConfiguration(encodeDefaults=" + this.z13_1 + ", ignoreUnknownKeys=" + this.a14_1 + ", isLenient=" + this.b14_1 + ", allowStructuredMapKeys=" + this.c14_1 + ", prettyPrint=" + this.d14_1 + ", explicitNulls=" + this.e14_1 + ", prettyPrintIndent='" + this.f14_1 + "', coerceInputValues=" + this.g14_1 + ", useArrayPolymorphism=" + this.h14_1 + ", classDiscriminator='" + this.i14_1 + "', allowSpecialFloatingPointValues=" + this.j14_1 + ")"; - }, JsonArray.prototype.c = function() { - return this.n14_1.c(); - }, JsonArray.prototype.o14 = function(elements) { - return this.n14_1.u(elements); - }, JsonArray.prototype.u = function(elements) { - return this.o14(elements); - }, JsonArray.prototype.g = function(index) { - return this.n14_1.g(index); - }, JsonArray.prototype.l = function() { - return this.n14_1.l(); - }, JsonArray.prototype.d = function() { - return this.n14_1.d(); - }, JsonArray.prototype.equals = function(other) { - return equals(this.n14_1, other); - }, JsonArray.prototype.hashCode = function() { - return hashCode(this.n14_1); - }, JsonArray.prototype.toString = function() { - return joinToString$default(this.n14_1, ",", "[", "]", 0, null, null, 56, null); - }, JsonObject.prototype.h1 = function() { - return this.p14_1.h1(); - }, JsonObject.prototype.w1 = function() { - return this.p14_1.w1(); - }, JsonObject.prototype.c = function() { - return this.p14_1.c(); - }, JsonObject.prototype.x1 = function() { - return this.p14_1.x1(); - }, JsonObject.prototype.q14 = function(key) { - return this.p14_1.p1(key); - }, JsonObject.prototype.p1 = function(key) { - return null != key && "string" == typeof key && this.q14(null != key && "string" == typeof key ? key : THROW_CCE()); - }, JsonObject.prototype.r14 = function(key) { - return this.p14_1.v1(key); - }, JsonObject.prototype.v1 = function(key) { - return null == key || "string" != typeof key ? null : this.r14(null != key && "string" == typeof key ? key : THROW_CCE()); - }, JsonObject.prototype.l = function() { - return this.p14_1.l(); - }, JsonObject.prototype.equals = function(other) { - return equals(this.p14_1, other); - }, JsonObject.prototype.hashCode = function() { - return hashCode(this.p14_1); - }, JsonObject.prototype.toString = function() { - var tmp = this.p14_1.h1(); - return joinToString$default(tmp, ",", "{", "}", 0, null, JsonObject$toString$lambda, 24, null); - }, JsonPrimitive.prototype.toString = function() { - return this.s14(); - }, JsonLiteral.prototype.s14 = function() { - return this.u14_1; - }, JsonLiteral.prototype.toString = function() { - var tmp; - if (this.t14_1) { - var tmp0_apply = StringBuilder_init_$Create$(); - printQuoted(tmp0_apply, this.u14_1), tmp = tmp0_apply.toString(); - } else tmp = this.u14_1; - return tmp; - }, JsonLiteral.prototype.equals = function(other) { - return this === other || !(null == other || !getKClassFromExpression(this).equals(getKClassFromExpression(other))) && (other instanceof JsonLiteral || THROW_CCE(), - this.t14_1 === other.t14_1 && this.u14_1 === other.u14_1); - }, JsonLiteral.prototype.hashCode = function() { - var result = 0 | this.t14_1; - return result = imul(31, result) + getStringHashCode(this.u14_1) | 0; - }, JsonNull.prototype.s14 = function() { - return this.v14_1; - }, JsonNullSerializer.prototype.mv = function() { - return this.x14_1; - }, JsonNullSerializer.prototype.y14 = function(encoder, value) { - verify(encoder), encoder.zx(); - }, JsonNullSerializer.prototype.nv = function(encoder, value) { - return this.y14(encoder, value instanceof JsonNull ? value : THROW_CCE()); - }, JsonNullSerializer.prototype.ov = function(decoder) { - if (verify_0(decoder), decoder.fx()) throw new JsonDecodingException("Expected 'null' literal"); - return decoder.gx(), JsonNull_getInstance(); - }, Composer.prototype.b15 = function() { - this.a15_1 = !0; - }, Composer.prototype.c15 = function() { - return Unit_getInstance(); - }, Composer.prototype.d15 = function() { - this.a15_1 = !1; - }, Composer.prototype.e15 = function() { - return Unit_getInstance(); - }, Composer.prototype.f15 = function(v) { - return this.z14_1.g15(v); - }, Composer.prototype.h15 = function(v) { - return this.z14_1.i15(v); - }, Composer.prototype.j15 = function(v) { - return this.z14_1.k15(toLong_0(v)); - }, Composer.prototype.l15 = function(v) { - return this.z14_1.k15(v); - }, Composer.prototype.m15 = function(value) { - return this.z14_1.n15(value); - }, ComposerWithPrettyPrint.prototype.b15 = function() { - this.a15_1 = !0; - var tmp0_this = this, tmp1 = tmp0_this.r15_1; - tmp0_this.r15_1 = tmp1 + 1 | 0; - }, ComposerWithPrettyPrint.prototype.c15 = function() { - var tmp0_this = this, tmp1 = tmp0_this.r15_1; - tmp0_this.r15_1 = tmp1 - 1 | 0; - }, ComposerWithPrettyPrint.prototype.d15 = function() { - this.a15_1 = !1, this.h15("\n"); - var tmp0_repeat = this.r15_1, inductionVariable = 0; - if (inductionVariable < tmp0_repeat) do { - inductionVariable = inductionVariable + 1 | 0, this.h15(this.q15_1.g13_1.f14_1); - } while (inductionVariable < tmp0_repeat); - }, ComposerWithPrettyPrint.prototype.e15 = function() { - this.f15(_Char___init__impl__6a9atx(32)); - }, JsonElementMarker.prototype.k10 = function(index) { - this.s15_1.k10(index); - }, JsonElementMarker.prototype.l10 = function() { - return this.s15_1.l10(); - }, JsonPath.prototype.a16 = function(sd) { - var tmp0_this = this; - tmp0_this.z15_1 = tmp0_this.z15_1 + 1 | 0; - var depth = tmp0_this.z15_1; - depth === this.x15_1.length && resize(this), this.x15_1[depth] = sd; - }, JsonPath.prototype.b16 = function(index) { - this.y15_1[this.z15_1] = index; - }, JsonPath.prototype.c16 = function(key) { + function SynchronizedObject() {} + function CommonThreadLocal() { + this.hk_1 = null; + } + initMetadataForInterface(ParentJob, "ParentJob", VOID, VOID, [ Element ], [ 0 ]), + initMetadataForClass(JobSupport, "JobSupport", VOID, VOID, [ Element, ParentJob ], [ 0 ]), + initMetadataForInterface(CoroutineScope, "CoroutineScope"), initMetadataForClass(AbstractCoroutine, "AbstractCoroutine", VOID, JobSupport, [ JobSupport, Element, Continuation, CoroutineScope ], [ 0 ]), + initMetadataForClass(StandaloneCoroutine, "StandaloneCoroutine", VOID, AbstractCoroutine, VOID, [ 0 ]), + initMetadataForClass(LazyStandaloneCoroutine, "LazyStandaloneCoroutine", VOID, StandaloneCoroutine, VOID, [ 0 ]), + initMetadataForInterface(Runnable, "Runnable"), initMetadataForClass(SchedulerTask, "SchedulerTask", VOID, VOID, [ Runnable ]), + initMetadataForClass(DispatchedTask, "DispatchedTask", VOID, SchedulerTask), initMetadataForClass(CancellableContinuationImpl, "CancellableContinuationImpl", VOID, DispatchedTask, [ DispatchedTask, Continuation ]), + initMetadataForInterface(NotCompleted, "NotCompleted"), initMetadataForInterface(CancelHandler, "CancelHandler", VOID, VOID, [ NotCompleted ]), + initMetadataForClass(UserSupplied, "UserSupplied", VOID, VOID, [ CancelHandler ]), + initMetadataForObject(Active, "Active", VOID, VOID, [ NotCompleted ]), initMetadataForClass(CompletedContinuation, "CompletedContinuation"), + initMetadataForClass(UserSupplied_0, "UserSupplied"), initMetadataForClass(CompletedExceptionally, "CompletedExceptionally"), + initMetadataForClass(CancelledContinuation, "CancelledContinuation", VOID, CompletedExceptionally), + initMetadataForClass(CompletedWithCancellation, "CompletedWithCancellation"), initMetadataForObject(Key, "Key", VOID, AbstractCoroutineContextKey), + initMetadataForClass(CoroutineDispatcher, "CoroutineDispatcher", VOID, AbstractCoroutineContextElement, [ AbstractCoroutineContextElement, ContinuationInterceptor ]), + initMetadataForObject(Key_0, "Key"), initMetadataForObject(GlobalScope, "GlobalScope", VOID, VOID, [ CoroutineScope ]), + initMetadataForClass(CoroutineStart, "CoroutineStart", VOID, Enum), initMetadataForClass(EventLoop, "EventLoop", VOID, CoroutineDispatcher), + initMetadataForObject(ThreadLocalEventLoop, "ThreadLocalEventLoop"), initMetadataForClass(CompletionHandlerException, "CompletionHandlerException", VOID, RuntimeException), + initMetadataForClass(CoroutinesInternalError, "CoroutinesInternalError", VOID, Error_0), + initMetadataForObject(Key_1, "Key"), initMetadataForInterface(ChildHandle, "ChildHandle"), + initMetadataForObject(NonDisposableHandle, "NonDisposableHandle", VOID, VOID, [ ChildHandle ]), + initMetadataForInterface(Incomplete, "Incomplete"), initMetadataForClass(Empty, "Empty", VOID, VOID, [ Incomplete ]), + initMetadataForClass(LinkedListNode, "LinkedListNode", LinkedListNode), initMetadataForClass(LinkedListHead, "LinkedListHead", LinkedListHead, LinkedListNode), + initMetadataForClass(NodeList, "NodeList", NodeList, LinkedListHead, [ LinkedListHead, Incomplete ]), + initMetadataForClass(JobNode, "JobNode", VOID, LinkedListNode, [ LinkedListNode, Incomplete ]), + initMetadataForClass(SynchronizedObject, "SynchronizedObject", SynchronizedObject), + initMetadataForClass(Finishing, "Finishing", VOID, SynchronizedObject, [ SynchronizedObject, Incomplete ]), + initMetadataForClass(ChildCompletion, "ChildCompletion", VOID, JobNode), initMetadataForClass(JobCancellingNode, "JobCancellingNode", VOID, JobNode), + initMetadataForClass(InactiveNodeList, "InactiveNodeList", VOID, VOID, [ Incomplete ]), + initMetadataForClass(ChildHandleNode, "ChildHandleNode", VOID, JobCancellingNode, [ JobCancellingNode, ChildHandle ]), + initMetadataForClass(InvokeOnCancelling, "InvokeOnCancelling", VOID, JobCancellingNode), + initMetadataForClass(InvokeOnCompletion, "InvokeOnCompletion", VOID, JobNode), initMetadataForClass(IncompleteStateBox, "IncompleteStateBox"), + initMetadataForClass(ChildContinuation, "ChildContinuation", VOID, JobCancellingNode), + initMetadataForClass(MainCoroutineDispatcher, "MainCoroutineDispatcher", VOID, CoroutineDispatcher), + initMetadataForClass(ScopeCoroutine, "ScopeCoroutine", VOID, AbstractCoroutine, VOID, [ 0 ]), + initMetadataForClass(SupervisorCoroutine, "SupervisorCoroutine", VOID, ScopeCoroutine, VOID, [ 0 ]), + initMetadataForClass(TimeoutCancellationException, "TimeoutCancellationException", VOID, CancellationException), + initMetadataForObject(Unconfined, "Unconfined", VOID, CoroutineDispatcher), initMetadataForObject(Key_2, "Key"), + initMetadataForClass(OpDescriptor, "OpDescriptor"), initMetadataForClass(ConcurrentLinkedListNode, "ConcurrentLinkedListNode"), + initMetadataForClass(Segment, "Segment", VOID, ConcurrentLinkedListNode, [ ConcurrentLinkedListNode, NotCompleted ]), + initMetadataForObject(ExceptionSuccessfullyProcessed, "ExceptionSuccessfullyProcessed", VOID, Exception), + initMetadataForClass(DispatchedContinuation, "DispatchedContinuation", VOID, DispatchedTask, [ DispatchedTask, Continuation ]), + initMetadataForClass(Symbol, "Symbol"), initMetadataForClass(SetTimeoutBasedDispatcher, "SetTimeoutBasedDispatcher", VOID, CoroutineDispatcher, VOID, [ 1 ]), + initMetadataForObject(NodeDispatcher, "NodeDispatcher", VOID, SetTimeoutBasedDispatcher, VOID, [ 1 ]), + initMetadataForClass(MessageQueue, "MessageQueue", VOID, VOID, [ Collection, KtList ]), + initMetadataForClass(ScheduledMessageQueue, "ScheduledMessageQueue", VOID, MessageQueue), + initMetadataForClass(WindowMessageQueue, "WindowMessageQueue", VOID, MessageQueue), + initMetadataForObject(Dispatchers, "Dispatchers"), initMetadataForClass(JsMainDispatcher, "JsMainDispatcher", VOID, MainCoroutineDispatcher), + initMetadataForClass(UnconfinedEventLoop, "UnconfinedEventLoop", UnconfinedEventLoop, EventLoop), + initMetadataForClass(JobCancellationException, "JobCancellationException", VOID, CancellationException), + initMetadataForObject(TaskContext, "TaskContext"), initMetadataForClass(DiagnosticCoroutineContextException, "DiagnosticCoroutineContextException", VOID, RuntimeException), + initMetadataForObject(SetTimeoutDispatcher, "SetTimeoutDispatcher", VOID, SetTimeoutBasedDispatcher, VOID, [ 1 ]), + initMetadataForClass(WindowDispatcher, "WindowDispatcher", VOID, CoroutineDispatcher, VOID, [ 1 ]), + initMetadataForClass(CommonThreadLocal, "CommonThreadLocal", CommonThreadLocal), + protoOf(AbstractCoroutine).b7 = function() { + return this.nf_1; + }, protoOf(AbstractCoroutine).of = function() { + return this.nf_1; + }, protoOf(AbstractCoroutine).pf = function() { + return protoOf(JobSupport).pf.call(this); + }, protoOf(AbstractCoroutine).qf = function(value) {}, protoOf(AbstractCoroutine).rf = function(cause, handled) {}, + protoOf(AbstractCoroutine).sf = function() { + return get_classSimpleName(this) + " was cancelled"; + }, protoOf(AbstractCoroutine).tf = function(state) { + state instanceof CompletedExceptionally ? this.rf(state.uf_1, state.wf()) : this.qf(null == state || null != state ? state : THROW_CCE()); + }, protoOf(AbstractCoroutine).g7 = function(result) { + var state = this.xf(toState_0(result)); + if (state === get_COMPLETING_WAITING_CHILDREN()) return Unit_instance; + this.yf(state); + }, protoOf(AbstractCoroutine).yf = function(state) { + return this.zf(state); + }, protoOf(AbstractCoroutine).ag = function(exception) { + handleCoroutineException(this.nf_1, exception); + }, protoOf(AbstractCoroutine).bg = function() { + var tmp0_elvis_lhs = (this.nf_1, null); + return null == tmp0_elvis_lhs ? protoOf(JobSupport).bg.call(this) : '"' + tmp0_elvis_lhs + '":' + protoOf(JobSupport).bg.call(this); + }, protoOf(AbstractCoroutine).cg = function(start, receiver, block) { + start.fg(block, receiver, this); + }, protoOf(StandaloneCoroutine).bh = function(exception) { + return handleCoroutineException(this.nf_1, exception), !0; + }, protoOf(LazyStandaloneCoroutine).lg = function() { + !function(_this__u8e3s4, fatalCompletion) { + var tmp; + try { + resumeCancellableWith(intercepted(_this__u8e3s4), _Result___init__impl__xyqfz8(Unit_instance)), + tmp = Unit_instance; + } catch ($p) { + if (!($p instanceof Error)) throw $p; + dispatcherFailure$accessor$glj1hg(fatalCompletion, $p), tmp = Unit_instance; + } + }(this.kh_1, this); + }, protoOf(CancellableContinuationImpl).ri = function() { + return this.mh_1; + }, protoOf(CancellableContinuationImpl).b7 = function() { + return this.nh_1; + }, protoOf(CancellableContinuationImpl).ig = function() { + return this.ph_1.kotlinx$atomicfu$value; + }, protoOf(CancellableContinuationImpl).jg = function() { + var tmp = this.ig(); + return !(null != tmp && isInterface(tmp, NotCompleted)); + }, protoOf(CancellableContinuationImpl).si = function() { + var tmp0_elvis_lhs = installParentHandle(this); + if (null == tmp0_elvis_lhs) return Unit_instance; + var handle = tmp0_elvis_lhs; + this.jg() && (handle.ti(), this.qh_1.kotlinx$atomicfu$value = NonDisposableHandle_instance); + }, protoOf(CancellableContinuationImpl).ui = function() { + return this.ig(); + }, protoOf(CancellableContinuationImpl).vi = function(takenState, cause) { + for (var this_0 = this.ph_1; ;) { + var state = this_0.kotlinx$atomicfu$value; + if (null != state && isInterface(state, NotCompleted)) { + throw IllegalStateException_init_$Create$(toString("Not completed")); + } + if (state instanceof CompletedExceptionally) return Unit_instance; + if (state instanceof CompletedContinuation) { + if (state.ii()) { + throw IllegalStateException_init_$Create$(toString("Must be called at most once")); + } + var update = state.ji(VOID, VOID, VOID, VOID, cause); + if (this.ph_1.atomicfu$compareAndSet(state, update)) return state.wi(this, cause), + Unit_instance; + } else if (this.ph_1.atomicfu$compareAndSet(state, new CompletedContinuation(state, VOID, VOID, VOID, cause))) return Unit_instance; + } + return Unit_instance; + }, protoOf(CancellableContinuationImpl).xi = function(cause) { + for (var this_0 = this.ph_1; ;) { + var state = this_0.kotlinx$atomicfu$value; + if (null == state || !isInterface(state, NotCompleted)) return !1; + var update = new CancelledContinuation(this, cause, !(null == state || !isInterface(state, CancelHandler)) || state instanceof Segment); + if (this.ph_1.atomicfu$compareAndSet(state, update)) return isInterface(state, CancelHandler) ? this.hi(state, cause) : state instanceof Segment && callSegmentOnCancellation(this, state, cause), + detachChildIfNonResuable(this), dispatchResume(this, this.zh_1), !0; + } + }, protoOf(CancellableContinuationImpl).yi = function(cause) { + if (function($this, cause) { + if (!isReusable($this)) return !1; + var tmp = $this.mh_1; + return (tmp instanceof DispatchedContinuation ? tmp : THROW_CCE()).ai(cause); + }(this, cause)) return Unit_instance; + this.xi(cause), detachChildIfNonResuable(this); + }, protoOf(CancellableContinuationImpl).hi = function(handler, cause) { var tmp; - if (-2 !== this.y15_1[this.z15_1]) { - var tmp0_this = this; - tmp0_this.z15_1 = tmp0_this.z15_1 + 1 | 0, tmp = tmp0_this.z15_1 === this.x15_1.length; - } else tmp = !1; - tmp && resize(this), this.x15_1[this.z15_1] = key, this.y15_1[this.z15_1] = -2; - }, JsonPath.prototype.d16 = function() { - -2 === this.y15_1[this.z15_1] && (this.x15_1[this.z15_1] = Tombstone_getInstance()); - }, JsonPath.prototype.e16 = function() { - var depth = this.z15_1; - if (-2 === this.y15_1[depth]) { - this.y15_1[depth] = -1; - var tmp0_this = this, tmp1 = tmp0_this.z15_1; - tmp0_this.z15_1 = tmp1 - 1 | 0; - } - if (-1 !== this.z15_1) { - var tmp2_this = this, tmp3 = tmp2_this.z15_1; - tmp2_this.z15_1 = tmp3 - 1 | 0; - } - }, JsonPath.prototype.f16 = function() { - var tmp0_apply = StringBuilder_init_$Create$(); - tmp0_apply.va("$"); - var tmp0_repeat = this.z15_1 + 1 | 0, inductionVariable = 0; - if (inductionVariable < tmp0_repeat) do { - var index = inductionVariable; - inductionVariable = inductionVariable + 1 | 0; - var element = this.x15_1[index]; - if (null != element && isInterface(element, SerialDescriptor)) if (equals(element.wv(), LIST_getInstance())) -1 !== this.y15_1[index] && (tmp0_apply.va("["), - tmp0_apply.ua(this.y15_1[index]), tmp0_apply.va("]")); else { - var idx = this.y15_1[index]; - idx >= 0 && (tmp0_apply.va("."), tmp0_apply.va(element.bw(idx))); - } else element !== Tombstone_getInstance() && (tmp0_apply.va("["), tmp0_apply.va("'"), - tmp0_apply.ua(element), tmp0_apply.va("'"), tmp0_apply.va("]")); - } while (inductionVariable < tmp0_repeat); - return tmp0_apply.toString(); - }, JsonPath.prototype.toString = function() { - return this.f16(); - }, JsonTreeReader$readDeepRecursive$slambda.prototype.z17 = function($this$$receiver, it, $cont) { - var tmp = this.a18($this$$receiver, it, $cont); - return tmp.nd_1 = Unit_getInstance(), tmp.od_1 = null, tmp.td(); - }, JsonTreeReader$readDeepRecursive$slambda.prototype.r5 = function(p1, p2, $cont) { - var tmp = p1 instanceof DeepRecursiveScope ? p1 : THROW_CCE(); - return this.z17(tmp, p2 instanceof Unit ? p2 : THROW_CCE(), $cont); - }, JsonTreeReader$readDeepRecursive$slambda.prototype.td = function() { - var suspendResult = this.nd_1; - $sm: for (;;) try { - switch (this.ld_1) { - case 0: - if (this.md_1 = 3, this.x17_1 = this.u17_1.o16_1.t16(), this.x17_1 === get_TC_STRING()) { - this.y17_1 = readValue(this.u17_1, !0), this.ld_1 = 2; - continue $sm; - } - if (this.x17_1 === get_TC_OTHER()) { - this.y17_1 = readValue(this.u17_1, !1), this.ld_1 = 2; - continue $sm; - } - if (this.x17_1 === get_TC_BEGIN_OBJ()) { - if (this.ld_1 = 1, (suspendResult = readObject_0(this.v17_1, this.u17_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - } - if (this.x17_1 === get_TC_BEGIN_LIST()) { - this.y17_1 = readArray(this.u17_1), this.ld_1 = 2; - continue $sm; - } - this.u17_1.o16_1.s16("Can't begin reading element, unexpected token", 0, null, 6, null); - break; - - case 1: - this.y17_1 = suspendResult, this.ld_1 = 2; - continue $sm; - - case 2: - return this.y17_1; - - case 3: - throw this.od_1; - } - } catch ($p) { - if (3 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; - } - }, JsonTreeReader$readDeepRecursive$slambda.prototype.a18 = function($this$$receiver, it, completion) { - var i = new JsonTreeReader$readDeepRecursive$slambda(this.u17_1, completion); - return i.v17_1 = $this$$receiver, i.w17_1 = it, i; - }, $readObjectCOROUTINE$0.prototype.td = function() { - var suspendResult = this.nd_1; - $sm: for (;;) try { - switch (this.ld_1) { - case 0: - this.md_1 = 5, this.j17_1 = this.h17_1.o16_1.r16(get_TC_BEGIN_OBJ()), this.h17_1.o16_1.t16() === get_TC_COMMA() && this.h17_1.o16_1.s16("Unexpected leading comma", 0, null, 6, null), - this.k17_1 = LinkedHashMap_init_$Create$(), this.ld_1 = 1; - continue $sm; - - case 1: - if (!this.h17_1.o16_1.u16()) { - this.ld_1 = 4; - continue $sm; - } - if (this.l17_1 = this.h17_1.p16_1 ? this.h17_1.o16_1.w16() : this.h17_1.o16_1.v16(), - this.h17_1.o16_1.r16(get_TC_COLON()), this.ld_1 = 2, (suspendResult = this.i17_1.j5(Unit_getInstance(), this)) === get_COROUTINE_SUSPENDED()) return suspendResult; - continue $sm; - - case 2: - var element = suspendResult; - this.k17_1.t2(this.l17_1, element), this.j17_1 = this.h17_1.o16_1.y16(); - var tmp0_subject = this.j17_1; - if (tmp0_subject === get_TC_COMMA()) { - this.ld_1 = 3; - continue $sm; - } - if (tmp0_subject === get_TC_END_OBJ()) { - this.ld_1 = 4; - continue $sm; - } - this.h17_1.o16_1.s16("Expected end of the object or comma", 0, null, 6, null); - break; - - case 3: - this.ld_1 = 1; - continue $sm; - - case 4: - return this.j17_1 === get_TC_BEGIN_OBJ() ? this.h17_1.o16_1.r16(get_TC_END_OBJ()) : this.j17_1 === get_TC_COMMA() && this.h17_1.o16_1.s16("Unexpected trailing comma", 0, null, 6, null), - new JsonObject(this.k17_1); - - case 5: - throw this.od_1; - } + try { + handler.zi(cause), tmp = Unit_instance; } catch ($p) { - if (5 === this.md_1) throw $p; - this.ld_1 = this.md_1, this.od_1 = $p; - } - }, JsonTreeReader.prototype.x16 = function() { - var tmp, token = this.o16_1.t16(); - if (token === get_TC_STRING()) tmp = readValue(this, !0); else if (token === get_TC_OTHER()) tmp = readValue(this, !1); else if (token === get_TC_BEGIN_OBJ()) { - var tmp0_this = this; - tmp0_this.q16_1 = tmp0_this.q16_1 + 1 | 0; - var result = 200 === tmp0_this.q16_1 ? readDeepRecursive(this) : readObject(this), tmp1_this = this; - tmp1_this.q16_1 = tmp1_this.q16_1 - 1 | 0, tmp = result; - } else if (token === get_TC_BEGIN_LIST()) tmp = readArray(this); else { - var tmp_1 = "Cannot begin reading element, unexpected token: " + token; - this.o16_1.s16(tmp_1, 0, null, 6, null); + if (!($p instanceof Error)) throw $p; + var ex = $p; + handleCoroutineException(this.b7(), new CompletionHandlerException("Exception in invokeOnCancellation handler for " + this.toString(), ex)), + tmp = Unit_instance; } return tmp; - }, DescriptorSchemaCache.prototype.c18 = function(descriptor, key, value) { - var tmp, tmp0_getOrPut = this.u15_1, value_0 = tmp0_getOrPut.v1(descriptor); - if (null == value_0) { - var answer = createMapForCache(1); - tmp0_getOrPut.t2(descriptor, answer), tmp = answer; - } else tmp = value_0; - var tmp1_set = tmp, tmp2_set = key instanceof Key ? key : THROW_CCE(), tmp3_set = isObject(value) ? value : THROW_CCE(); - tmp1_set.t2(tmp2_set, tmp3_set); - }, DescriptorSchemaCache.prototype.v15 = function(descriptor, key, defaultValue) { - var tmp0_safe_receiver = this.d18(descriptor, key); - if (null != tmp0_safe_receiver) return tmp0_safe_receiver; - var value = defaultValue(); - return this.c18(descriptor, key, value), value; - }, DescriptorSchemaCache.prototype.d18 = function(descriptor, key) { - var tmp0_safe_receiver = this.u15_1.v1(descriptor), tmp_0 = null == tmp0_safe_receiver ? null : tmp0_safe_receiver.v1(key instanceof Key ? key : THROW_CCE()); - return isObject(tmp_0) ? tmp_0 : null; - }, StreamingJsonDecoder.prototype.l14 = function() { - return this.m13_1; - }, StreamingJsonDecoder.prototype.tx = function() { - return this.p13_1; - }, StreamingJsonDecoder.prototype.m14 = function() { - return new JsonTreeReader(this.m13_1.g13_1, this.o13_1).x16(); - }, StreamingJsonDecoder.prototype.lx = function(deserializer) { + }, protoOf(CancellableContinuationImpl).li = function(onCancellation, cause) { try { - if (!(deserializer instanceof AbstractPolymorphicSerializer) || this.m13_1.g13_1.h14_1) return deserializer.ov(this); - var discriminator = classDiscriminator(deserializer.mv(), this.m13_1), type = this.o13_1.n18(discriminator, this.s13_1.b14_1), actualSerializer = null; - if (null != type && (actualSerializer = deserializer.ly(this, type)), null == actualSerializer) return decodeSerializableValuePolymorphic(this, isInterface(deserializer, DeserializationStrategy) ? deserializer : THROW_CCE()); - this.r13_1 = new DiscriminatorHolder(discriminator); - var tmp_0 = actualSerializer.ov(this); - return isObject(tmp_0) ? tmp_0 : THROW_CCE(); + onCancellation(cause); } catch ($p) { - throw $p instanceof MissingFieldException ? new MissingFieldException($p.rv_1, plus($p.message, " at path: ") + this.o13_1.v13_1.f16(), $p) : $p; + if (!($p instanceof Error)) throw $p; + var ex = $p; + handleCoroutineException(this.b7(), new CompletionHandlerException("Exception in resume onCancellation handler for " + this.toString(), ex)); } - }, StreamingJsonDecoder.prototype.mx = function(descriptor) { - var tmp, newMode = switchMode(this.m13_1, descriptor); - switch (this.o13_1.v13_1.a16(descriptor), this.o13_1.f18(newMode.q18_1), checkLeadingComma(this), - newMode.d4_1) { - case 1: - case 2: - case 3: - tmp = new StreamingJsonDecoder(this.m13_1, newMode, this.o13_1, descriptor, this.r13_1); - break; + }, protoOf(CancellableContinuationImpl).aj = function(parent) { + return parent.mg(); + }, protoOf(CancellableContinuationImpl).bj = function() { + var isReusable_0 = isReusable(this); + if (function($this) { + for (var this_0 = $this.oh_1; ;) { + var cur = this_0.kotlinx$atomicfu$value; + switch (cur >> _get_DECISION_SHIFT_$accessor$2jt7ek_1tkg2i()) { + case 0: + var index = 536870911 & cur, tmp$ret$2 = (1 << _get_DECISION_SHIFT_$accessor$2jt7ek_1tkg2i()) + index | 0; + if ($this.oh_1.atomicfu$compareAndSet(cur, tmp$ret$2)) return !0; + break; - default: - tmp = this.n13_1.equals(newMode) && this.m13_1.g13_1.e14_1 ? this : new StreamingJsonDecoder(this.m13_1, newMode, this.o13_1, descriptor, this.r13_1); + case 2: + return !1; + + default: + throw IllegalStateException_init_$Create$(toString("Already suspended")); + } + } + }(this)) return null == _get_parentHandle__f8dcex(this) && installParentHandle(this), + isReusable_0 && this.cj(), get_COROUTINE_SUSPENDED(); + isReusable_0 && this.cj(); + var state = this.ig(); + if (state instanceof CompletedExceptionally) throw recoverStackTrace(state.uf_1, this); + if (get_isCancellableMode(this.zh_1)) { + var job = this.b7().i7(Key_instance_2); + if (null != job && !job.pf()) { + var cause = job.mg(); + throw this.vi(state, cause), recoverStackTrace(cause, this); + } } + return this.dj(state); + }, protoOf(CancellableContinuationImpl).cj = function() { + var tmp = this.mh_1, tmp0_safe_receiver = tmp instanceof DispatchedContinuation ? tmp : null, tmp1_elvis_lhs = null == tmp0_safe_receiver ? null : tmp0_safe_receiver.ej(this); + if (null == tmp1_elvis_lhs) return Unit_instance; + var cancellationCause = tmp1_elvis_lhs; + this.qi(), this.xi(cancellationCause); + }, protoOf(CancellableContinuationImpl).g7 = function(result) { + return resumeImpl$default(this, function(_this__u8e3s4, caller) { + var tmp, exception = Result__exceptionOrNull_impl_p6xea9(_this__u8e3s4); + if (null == exception) { + var tmp_0 = _Result___get_value__impl__bjfvqg(_this__u8e3s4); + tmp = null == tmp_0 || null != tmp_0 ? tmp_0 : THROW_CCE(); + } else tmp = new CompletedExceptionally(recoverStackTrace(exception, caller)); + return tmp; + }(result, this), this.zh_1); + }, protoOf(CancellableContinuationImpl).fj = function(handler) { + return function(_this__u8e3s4, handler) { + if (!(_this__u8e3s4 instanceof CancellableContinuationImpl)) throw UnsupportedOperationException_init_$Create$("third-party implementation of CancellableContinuation is not supported"); + return _this__u8e3s4.rh(handler), Unit_instance; + }(this, new UserSupplied(handler)); + }, protoOf(CancellableContinuationImpl).rh = function(handler) { + return function($this, handler) { + for (var this_0 = $this.ph_1; ;) { + var state = this_0.kotlinx$atomicfu$value; + if (state instanceof Active) { + if ($this.ph_1.atomicfu$compareAndSet(state, handler)) return Unit_instance; + } else if (null != state && isInterface(state, CancelHandler) || state instanceof Segment) multipleHandlersError(0, handler, state); else { + if (state instanceof CompletedExceptionally) { + if (state.ki() || multipleHandlersError(0, handler, state), state instanceof CancelledContinuation) { + var tmp1_safe_receiver = state instanceof CompletedExceptionally ? state : null, cause = null == tmp1_safe_receiver ? null : tmp1_safe_receiver.uf_1; + isInterface(handler, CancelHandler) ? $this.hi(handler, cause) : callSegmentOnCancellation($this, handler instanceof Segment ? handler : THROW_CCE(), cause); + } + return Unit_instance; + } + if (state instanceof CompletedContinuation) { + if (null != state.di_1 && multipleHandlersError(0, handler, state), handler instanceof Segment) return Unit_instance; + if (isInterface(handler, CancelHandler) || THROW_CCE(), state.ii()) return $this.hi(handler, state.gi_1), + Unit_instance; + var update = state.ji(VOID, handler); + if ($this.ph_1.atomicfu$compareAndSet(state, update)) return Unit_instance; + } else { + if (handler instanceof Segment) return Unit_instance; + isInterface(handler, CancelHandler) || THROW_CCE(); + var update_0 = new CompletedContinuation(state, handler); + if ($this.ph_1.atomicfu$compareAndSet(state, update_0)) return Unit_instance; + } + } + } + }(this, handler); + }, protoOf(CancellableContinuationImpl).qi = function() { + var tmp0_elvis_lhs = _get_parentHandle__f8dcex(this); + if (null == tmp0_elvis_lhs) return Unit_instance; + tmp0_elvis_lhs.ti(), this.qh_1.kotlinx$atomicfu$value = NonDisposableHandle_instance; + }, protoOf(CancellableContinuationImpl).dj = function(state) { + var tmp; + if (state instanceof CompletedContinuation) { + var tmp_0 = state.ci_1; + tmp = null == tmp_0 || null != tmp_0 ? tmp_0 : THROW_CCE(); + } else tmp = null == state || null != state ? state : THROW_CCE(); return tmp; - }, StreamingJsonDecoder.prototype.nx = function(descriptor) { - this.m13_1.g13_1.a14_1 && 0 === descriptor.zv() && skipLeftoverElements(this, descriptor), - this.o13_1.f18(this.n13_1.r18_1), this.o13_1.v13_1.e16(); - }, StreamingJsonDecoder.prototype.fx = function() { - var tmp0_safe_receiver = this.t13_1, tmp1_elvis_lhs = null == tmp0_safe_receiver ? null : tmp0_safe_receiver.t15_1; - return (null == tmp1_elvis_lhs || !tmp1_elvis_lhs) && this.o13_1.h18(); - }, StreamingJsonDecoder.prototype.gx = function() { - return null; - }, StreamingJsonDecoder.prototype.rx = function(descriptor, index, deserializer, previousValue) { - var isMapKey = !!this.n13_1.equals(WriteMode_MAP_getInstance()) && 0 == (1 & index); - isMapKey && this.o13_1.v13_1.d16(); - var value = AbstractDecoder.prototype.rx.call(this, descriptor, index, deserializer, previousValue); - return isMapKey && this.o13_1.v13_1.c16(value), value; - }, StreamingJsonDecoder.prototype.vx = function(descriptor) { - var index; - switch (this.n13_1.d4_1) { + }, protoOf(CancellableContinuationImpl).gj = function(state) { + var tmp0_safe_receiver = protoOf(DispatchedTask).gj.call(this, state); + return null == tmp0_safe_receiver ? null : recoverStackTrace(tmp0_safe_receiver, this.mh_1); + }, protoOf(CancellableContinuationImpl).toString = function() { + return this.hj() + "(" + toDebugString(this.mh_1) + "){" + ((null != (tmp0_subject = this.ig()) && isInterface(tmp0_subject, NotCompleted) ? "Active" : tmp0_subject instanceof CancelledContinuation ? "Cancelled" : "Completed") + "}@") + get_hexAddress(this); + var tmp0_subject; + }, protoOf(CancellableContinuationImpl).hj = function() { + return "CancellableContinuation"; + }, protoOf(UserSupplied).zi = function(cause) { + this.kj_1(cause); + }, protoOf(UserSupplied).toString = function() { + return "CancelHandler.UserSupplied[" + get_classSimpleName(this.kj_1) + "@" + get_hexAddress(this) + "]"; + }, protoOf(Active).toString = function() { + return "Active"; + }, protoOf(CompletedContinuation).ii = function() { + return !(null == this.gi_1); + }, protoOf(CompletedContinuation).wi = function(cont, cause) { + var tmp0_safe_receiver = this.di_1; + null == tmp0_safe_receiver || cont.hi(tmp0_safe_receiver, cause); + var tmp1_safe_receiver = this.ei_1; + null == tmp1_safe_receiver || cont.li(tmp1_safe_receiver, cause); + }, protoOf(CompletedContinuation).lj = function(result, cancelHandler, onCancellation, idempotentResume, cancelCause) { + return new CompletedContinuation(result, cancelHandler, onCancellation, idempotentResume, cancelCause); + }, protoOf(CompletedContinuation).ji = function(result, cancelHandler, onCancellation, idempotentResume, cancelCause, $super) { + return result = result === VOID ? this.ci_1 : result, cancelHandler = cancelHandler === VOID ? this.di_1 : cancelHandler, + onCancellation = onCancellation === VOID ? this.ei_1 : onCancellation, idempotentResume = idempotentResume === VOID ? this.fi_1 : idempotentResume, + cancelCause = cancelCause === VOID ? this.gi_1 : cancelCause, $super === VOID ? this.lj(result, cancelHandler, onCancellation, idempotentResume, cancelCause) : $super.lj.call(this, result, cancelHandler, onCancellation, idempotentResume, cancelCause); + }, protoOf(CompletedContinuation).toString = function() { + return "CompletedContinuation(result=" + toString_0(this.ci_1) + ", cancelHandler=" + toString_0(this.di_1) + ", onCancellation=" + toString_0(this.ei_1) + ", idempotentResume=" + toString_0(this.fi_1) + ", cancelCause=" + toString_0(this.gi_1) + ")"; + }, protoOf(CompletedContinuation).hashCode = function() { + var result = null == this.ci_1 ? 0 : hashCode(this.ci_1); + return result = imul(result, 31) + (null == this.di_1 ? 0 : hashCode(this.di_1)) | 0, + result = imul(result, 31) + (null == this.ei_1 ? 0 : hashCode(this.ei_1)) | 0, result = imul(result, 31) + (null == this.fi_1 ? 0 : hashCode(this.fi_1)) | 0, + result = imul(result, 31) + (null == this.gi_1 ? 0 : hashCode(this.gi_1)) | 0; + }, protoOf(CompletedContinuation).equals = function(other) { + if (this === other) return !0; + if (!(other instanceof CompletedContinuation)) return !1; + var tmp0_other_with_cast = other instanceof CompletedContinuation ? other : THROW_CCE(); + return !!equals(this.ci_1, tmp0_other_with_cast.ci_1) && (!!equals(this.di_1, tmp0_other_with_cast.di_1) && (!!equals(this.ei_1, tmp0_other_with_cast.ei_1) && (!!equals(this.fi_1, tmp0_other_with_cast.fi_1) && !!equals(this.gi_1, tmp0_other_with_cast.gi_1)))); + }, protoOf(UserSupplied_0).zi = function(cause) { + this.mj_1(cause); + }, protoOf(UserSupplied_0).toString = function() { + return "InternalCompletionHandler.UserSupplied[" + get_classSimpleName(this.mj_1) + "@" + get_hexAddress(this) + "]"; + }, protoOf(CompletedExceptionally).wf = function() { + return this.vf_1.kotlinx$atomicfu$value; + }, protoOf(CompletedExceptionally).ki = function() { + return this.vf_1.atomicfu$compareAndSet(!1, !0); + }, protoOf(CompletedExceptionally).toString = function() { + return get_classSimpleName(this) + "[" + this.uf_1.toString() + "]"; + }, protoOf(CancelledContinuation).pi = function() { + return this.oi_1.atomicfu$compareAndSet(!1, !0); + }, protoOf(CompletedWithCancellation).toString = function() { + return "CompletedWithCancellation(result=" + toString_0(this.nj_1) + ", onCancellation=" + toString(this.oj_1) + ")"; + }, protoOf(CompletedWithCancellation).hashCode = function() { + var result = null == this.nj_1 ? 0 : hashCode(this.nj_1); + return result = imul(result, 31) + hashCode(this.oj_1) | 0; + }, protoOf(CompletedWithCancellation).equals = function(other) { + if (this === other) return !0; + if (!(other instanceof CompletedWithCancellation)) return !1; + var tmp0_other_with_cast = other instanceof CompletedWithCancellation ? other : THROW_CCE(); + return !!equals(this.nj_1, tmp0_other_with_cast.nj_1) && !!equals(this.oj_1, tmp0_other_with_cast.oj_1); + }, protoOf(CoroutineDispatcher).qj = function(context) { + return !0; + }, protoOf(CoroutineDispatcher).j7 = function(continuation) { + return new DispatchedContinuation(this, continuation); + }, protoOf(CoroutineDispatcher).k7 = function(continuation) { + (continuation instanceof DispatchedContinuation ? continuation : THROW_CCE()).sj(); + }, protoOf(CoroutineDispatcher).toString = function() { + return get_classSimpleName(this) + "@" + get_hexAddress(this); + }, protoOf(GlobalScope).of = function() { + return EmptyCoroutineContext_getInstance(); + }, protoOf(CoroutineStart).fg = function(block, receiver, completion) { + var tmp; + switch (this.r1_1) { case 0: - index = decodeObjectIndex(this, descriptor); + !function(_this__u8e3s4, receiver, completion, onCancellation) { + var tmp; + onCancellation = onCancellation === VOID ? null : onCancellation; + try { + resumeCancellableWith(intercepted(createCoroutineUnintercepted(_this__u8e3s4, receiver, completion)), _Result___init__impl__xyqfz8(Unit_instance), onCancellation), + tmp = Unit_instance; + } catch ($p) { + if (!($p instanceof Error)) throw $p; + dispatcherFailure$accessor$glj1hg(completion, $p), tmp = Unit_instance; + } + }(block, receiver, completion), tmp = Unit_instance; break; case 2: - index = decodeMapIndex(this); - break; - - default: - index = decodeListIndex(this); - } - return this.n13_1.equals(WriteMode_MAP_getInstance()) || this.o13_1.v13_1.b16(index), - index; - }, StreamingJsonDecoder.prototype.hx = function() { - var value = this.o13_1.s18(); - if (!value.equals(toLong_0(value.hd()))) { - var tmp = "Failed to parse int for input '" + toString(value) + "'"; - this.o13_1.s16(tmp, 0, null, 6, null); - } - return value.hd(); - }, StreamingJsonDecoder.prototype.ix = function() { - return this.o13_1.s18(); - }, StreamingJsonDecoder.prototype.jx = function() { - return this.s13_1.b14_1 ? this.o13_1.m18() : this.o13_1.v16(); - }, StreamingJsonEncoder.prototype.l14 = function() { - return this.h16_1; - }, StreamingJsonEncoder.prototype.tx = function() { - return this.k16_1; - }, StreamingJsonEncoder.prototype.hy = function(serializer, value) { - if (serializer instanceof AbstractPolymorphicSerializer && !this.l14().g13_1.h14_1) { - var casted = serializer instanceof AbstractPolymorphicSerializer ? serializer : THROW_CCE(), baseClassDiscriminator = classDiscriminator(serializer.mv(), this.l14()), actualSerializer = findPolymorphicSerializer(casted, this, isObject(value) ? value : THROW_CCE()); - validateIfSealed$accessor$1ad0flx(casted, actualSerializer, baseClassDiscriminator), - checkKind(actualSerializer.mv().wv()), this.n16_1 = baseClassDiscriminator, actualSerializer.nv(this, value); - } else serializer.nv(this, value), Unit_getInstance(); - }, StreamingJsonEncoder.prototype.mx = function(descriptor) { - var newMode = switchMode(this.h16_1, descriptor); - if (equals(new Char(newMode.q18_1), new Char(get_INVALID())) || (this.g16_1.f15(newMode.q18_1), - this.g16_1.b15()), null != this.n16_1 && (encodeTypeInfo(this, descriptor), this.n16_1 = null), - this.i16_1.equals(newMode)) return this; - var tmp0_safe_receiver = this.j16_1, tmp1_elvis_lhs = null == tmp0_safe_receiver ? null : tmp0_safe_receiver[newMode.d4_1]; - return null == tmp1_elvis_lhs ? new StreamingJsonEncoder(this.g16_1, this.h16_1, newMode, this.j16_1) : tmp1_elvis_lhs; - }, StreamingJsonEncoder.prototype.nx = function(descriptor) { - equals(new Char(this.i16_1.r18_1), new Char(get_INVALID())) || (this.g16_1.c15(), - this.g16_1.d15(), this.g16_1.f15(this.i16_1.r18_1)); - }, StreamingJsonEncoder.prototype.xx = function(descriptor, index) { - switch (this.i16_1.d4_1) { - case 1: - this.g16_1.a15_1 || this.g16_1.f15(get_COMMA()), this.g16_1.d15(); + startCoroutine(block, receiver, completion), tmp = Unit_instance; break; - case 2: - if (this.g16_1.a15_1) this.m16_1 = !0, this.g16_1.d15(); else { - var tmp_0, tmp = this; - 0 == (index % 2 | 0) ? (this.g16_1.f15(get_COMMA()), this.g16_1.d15(), tmp_0 = !0) : (this.g16_1.f15(get_COLON()), - this.g16_1.e15(), tmp_0 = !1), tmp.m16_1 = tmp_0; - } + case 3: + !function(_this__u8e3s4, receiver, completion) { + $l$block: { + var tmp, actualCompletion = completion; + try { + completion.b7(); + tmp = "function" == typeof _this__u8e3s4 ? _this__u8e3s4(receiver, actualCompletion) : _this__u8e3s4.c8(receiver, actualCompletion); + } catch ($p) { + if ($p instanceof Error) { + var tmp$ret$6 = _Result___init__impl__xyqfz8(createFailure($p)); + actualCompletion.g7(tmp$ret$6); + break $l$block; + } + throw $p; + } + var value = tmp; + if (value !== get_COROUTINE_SUSPENDED()) { + var value_0 = null == value || null != value ? value : THROW_CCE(), tmp$ret$9 = _Result___init__impl__xyqfz8(value_0); + actualCompletion.g7(tmp$ret$9); + } + } + }(block, receiver, completion), tmp = Unit_instance; break; - case 3: - 0 === index && (this.m16_1 = !0), 1 === index && (this.g16_1.f15(get_COMMA()), this.g16_1.e15(), - this.m16_1 = !1); + case 1: + tmp = Unit_instance; break; default: - this.g16_1.a15_1 || this.g16_1.f15(get_COMMA()), this.g16_1.d15(), this.cy(descriptor.bw(index)), - this.g16_1.f15(get_COLON()), this.g16_1.e15(); + noWhenBranchMatchedException(); } + return tmp; + }, protoOf(CoroutineStart).dh = function() { + return this === (CoroutineStart_initEntries(), CoroutineStart_LAZY_instance); + }, protoOf(EventLoop).yj = function() { + var tmp0_elvis_lhs = this.xj_1; + if (null == tmp0_elvis_lhs) return !1; + var tmp1_elvis_lhs = tmp0_elvis_lhs.vb(); + return null != tmp1_elvis_lhs && (tmp1_elvis_lhs.ij(), !0); + }, protoOf(EventLoop).zj = function(task) { + var tmp, tmp0_elvis_lhs = this.xj_1; + if (null == tmp0_elvis_lhs) { + var this_0 = ArrayDeque_init_$Create$(); + this.xj_1 = this_0, tmp = this_0; + } else tmp = tmp0_elvis_lhs; + tmp.tb(task); + }, protoOf(EventLoop).ak = function() { + return this.vj_1.b1(delta(0, !0)) >= 0; + }, protoOf(EventLoop).bk = function() { + var tmp0_safe_receiver = this.xj_1, tmp1_elvis_lhs = null == tmp0_safe_receiver ? null : tmp0_safe_receiver.q(); + return null == tmp1_elvis_lhs || tmp1_elvis_lhs; + }, protoOf(EventLoop).ck = function(unconfined) { + this.vj_1 = this.vj_1.z1(delta(0, unconfined)), unconfined || (this.wj_1 = !0); + }, protoOf(EventLoop).dk = function(unconfined) { + if (this.vj_1 = this.vj_1.a2(delta(0, unconfined)), this.vj_1.b1(new Long(0, 0)) > 0) return Unit_instance; + this.wj_1 && this.ek(); + }, protoOf(EventLoop).ek = function() {}, protoOf(ThreadLocalEventLoop).gk = function() { + var tmp, tmp0_elvis_lhs = this.fk_1.ik(); + if (null == tmp0_elvis_lhs) { + var this_0 = new UnconfinedEventLoop; + ThreadLocalEventLoop_getInstance().fk_1.jk(this_0), tmp = this_0; + } else tmp = tmp0_elvis_lhs; + return tmp; + }, protoOf(NonDisposableHandle).ti = function() {}, protoOf(NonDisposableHandle).ug = function(cause) { + return !1; + }, protoOf(NonDisposableHandle).toString = function() { + return "NonDisposableHandle"; + }, protoOf(Empty).pf = function() { + return this.kk_1; + }, protoOf(Empty).lk = function() { + return null; + }, protoOf(Empty).toString = function() { + return "Empty{" + (this.kk_1 ? "Active" : "New") + "}"; + }, protoOf(NodeList).pf = function() { return !0; - }, StreamingJsonEncoder.prototype.zx = function() { - this.g16_1.h15(get_NULL()); - }, StreamingJsonEncoder.prototype.ay = function(value) { - this.m16_1 ? this.cy(value.toString()) : this.g16_1.j15(value); - }, StreamingJsonEncoder.prototype.by = function(value) { - this.m16_1 ? this.cy(value.toString()) : this.g16_1.l15(value); - }, StreamingJsonEncoder.prototype.cy = function(value) { - return this.g16_1.m15(value); - }, AbstractJsonTreeDecoder.prototype.l14 = function() { - return this.v18_1; - }, AbstractJsonTreeDecoder.prototype.g1 = function() { - return this.w18_1; - }, AbstractJsonTreeDecoder.prototype.tx = function() { - return this.l14().tx(); - }, AbstractJsonTreeDecoder.prototype.m14 = function() { - return currentObject(this); - }, AbstractJsonTreeDecoder.prototype.lx = function(deserializer) { - return decodeSerializableValuePolymorphic(this, deserializer); - }, AbstractJsonTreeDecoder.prototype.s11 = function(parentName, childName) { - return childName; - }, AbstractJsonTreeDecoder.prototype.mx = function(descriptor) { - var tmp, currentObject_0 = currentObject(this), tmp0_subject = descriptor.wv(); - if (equals(tmp0_subject, LIST_getInstance()) || tmp0_subject instanceof PolymorphicKind) { - var tmp_1 = this.l14(); - if (!(currentObject_0 instanceof JsonArray)) throw JsonDecodingException_1(-1, "Expected " + getKClass(JsonArray) + " as the serialized body of " + descriptor.vv() + ", but had " + getKClassFromExpression(currentObject_0)); - tmp = new JsonTreeListDecoder(tmp_1, currentObject_0); - } else if (equals(tmp0_subject, MAP_getInstance())) { - var tmp_2, tmp0_selectMapMode = this.l14(), keyDescriptor = carrierDescriptor(descriptor.ew(0), tmp0_selectMapMode.tx()), keyKind = keyDescriptor.wv(); - if (keyKind instanceof PrimitiveKind || equals(keyKind, ENUM_getInstance())) { - var tmp_4 = this.l14(); - if (!(currentObject_0 instanceof JsonObject)) throw JsonDecodingException_1(-1, "Expected " + getKClass(JsonObject) + " as the serialized body of " + descriptor.vv() + ", but had " + getKClassFromExpression(currentObject_0)); - tmp_2 = new JsonTreeMapDecoder(tmp_4, currentObject_0); - } else { - if (!tmp0_selectMapMode.g13_1.c14_1) throw InvalidKeyKindException(keyDescriptor); - var tmp_5 = this.l14(); - if (!(currentObject_0 instanceof JsonArray)) throw JsonDecodingException_1(-1, "Expected " + getKClass(JsonArray) + " as the serialized body of " + descriptor.vv() + ", but had " + getKClassFromExpression(currentObject_0)); - tmp_2 = new JsonTreeListDecoder(tmp_5, currentObject_0); + }, protoOf(NodeList).lk = function() { + return this; + }, protoOf(NodeList).pk = function(state) { + var this_0 = StringBuilder_init_$Create$(); + this_0.h6("List{"), this_0.h6(state), this_0.h6("}["); + for (var first = !0, cur = this.qk_1; !equals(cur, this); ) { + if (cur instanceof JobNode) { + var node = cur; + first ? first = !1 : this_0.h6(", "), this_0.g6(node); } - tmp = tmp_2; - } else { - var tmp_6 = this.l14(); - if (!(currentObject_0 instanceof JsonObject)) throw JsonDecodingException_1(-1, "Expected " + getKClass(JsonObject) + " as the serialized body of " + descriptor.vv() + ", but had " + getKClassFromExpression(currentObject_0)); - tmp = JsonTreeDecoder_init_$Create$(tmp_6, currentObject_0, null, null, 12, null); + cur = cur.qk_1; } - return tmp; - }, AbstractJsonTreeDecoder.prototype.nx = function(descriptor) {}, AbstractJsonTreeDecoder.prototype.fx = function() { - return !(currentObject(this) instanceof JsonNull); - }, AbstractJsonTreeDecoder.prototype.z18 = function(tag) { - var currentElement = this.y18(tag), tmp0_elvis_lhs = currentElement instanceof JsonPrimitive ? currentElement : null; - if (null == tmp0_elvis_lhs) throw JsonDecodingException_0(-1, "Expected JsonPrimitive at " + tag + ", found " + currentElement, toString(currentObject(this))); - return tmp0_elvis_lhs; - }, AbstractJsonTreeDecoder.prototype.a19 = function(tag) { - return !(this.y18(tag) === JsonNull_getInstance()); - }, AbstractJsonTreeDecoder.prototype.u11 = function(tag) { - return this.a19(null != tag && "string" == typeof tag ? tag : THROW_CCE()); - }, AbstractJsonTreeDecoder.prototype.b19 = function(tag) { - var tmp$ret$1; - $l$block: { - var tmp0_primitive = this.z18(tag); - try { - var tmp, tmp0_elvis_lhs = get_int(tmp0_primitive); - null == tmp0_elvis_lhs ? unparsedPrimitive(this, "int") : tmp = tmp0_elvis_lhs, - tmp$ret$1 = tmp; - break $l$block; - } catch ($p) { - if (!($p instanceof IllegalArgumentException)) throw $p; - unparsedPrimitive(this, "int"); + return this_0.h6("]"), this_0.toString(); + }, protoOf(NodeList).toString = function() { + return get_DEBUG() ? this.pk("Active") : protoOf(LinkedListHead).toString.call(this); + }, protoOf(JobNode).dl = function() { + var tmp = this.cl_1; + if (null != tmp) return tmp; + throwUninitializedPropertyAccessException("job"); + }, protoOf(JobNode).pf = function() { + return !0; + }, protoOf(JobNode).lk = function() { + return null; + }, protoOf(JobNode).ti = function() { + return this.dl().rg(this); + }, protoOf(JobNode).toString = function() { + return get_classSimpleName(this) + "@" + get_hexAddress(this) + "[job@" + get_hexAddress(this.dl()) + "]"; + }, protoOf(Finishing).lk = function() { + return this.fl_1; + }, protoOf(Finishing).ql = function(value) { + this.gl_1.kotlinx$atomicfu$value = value; + }, protoOf(Finishing).ml = function() { + return this.gl_1.kotlinx$atomicfu$value; + }, protoOf(Finishing).wl = function(value) { + this.hl_1.kotlinx$atomicfu$value = value; + }, protoOf(Finishing).pl = function() { + return this.hl_1.kotlinx$atomicfu$value; + }, protoOf(Finishing).nl = function() { + return _get_exceptionsHolder__nhszp(this) === get_SEALED(); + }, protoOf(Finishing).jl = function() { + return !(null == this.pl()); + }, protoOf(Finishing).pf = function() { + return null == this.pl(); + }, protoOf(Finishing).kl = function(proposedException) { + var tmp, eh = _get_exceptionsHolder__nhszp(this); + if (null == eh) tmp = allocateList(); else if (eh instanceof Error) { + var this_0 = allocateList(); + this_0.e(eh), tmp = this_0; + } else { + if (!(eh instanceof ArrayList)) { + var message = "State is " + toString_0(eh); + throw IllegalStateException_init_$Create$(toString(message)); } + tmp = eh instanceof ArrayList ? eh : THROW_CCE(); } - return tmp$ret$1; - }, AbstractJsonTreeDecoder.prototype.v11 = function(tag) { - return this.b19(null != tag && "string" == typeof tag ? tag : THROW_CCE()); - }, AbstractJsonTreeDecoder.prototype.c19 = function(tag) { - var tmp$ret$1; - $l$block: { - var tmp0_primitive = this.z18(tag); - try { - var tmp, tmp0_elvis_lhs = get_long(tmp0_primitive); - null == tmp0_elvis_lhs ? unparsedPrimitive(this, "long") : tmp = tmp0_elvis_lhs, - tmp$ret$1 = tmp; - break $l$block; - } catch ($p) { - if (!($p instanceof IllegalArgumentException)) throw $p; - unparsedPrimitive(this, "long"); + var list = tmp, rootCause = this.pl(); + return null == rootCause || list.z2(0, rootCause), null == proposedException || equals(proposedException, rootCause) || list.e(proposedException), + _set_exceptionsHolder__tqm22h(this, get_SEALED()), list; + }, protoOf(Finishing).ol = function(exception) { + var rootCause = this.pl(); + if (null == rootCause) return this.wl(exception), Unit_instance; + if (exception === rootCause) return Unit_instance; + var eh = _get_exceptionsHolder__nhszp(this); + if (null == eh) _set_exceptionsHolder__tqm22h(this, exception); else if (eh instanceof Error) { + if (exception === eh) return Unit_instance; + var this_0 = allocateList(); + this_0.e(eh), this_0.e(exception), _set_exceptionsHolder__tqm22h(this, this_0); + } else { + if (!(eh instanceof ArrayList)) { + var message = "State is " + toString_0(eh); + throw IllegalStateException_init_$Create$(toString(message)); + } + (eh instanceof ArrayList ? eh : THROW_CCE()).e(exception); + } + }, protoOf(Finishing).toString = function() { + return "Finishing[cancelling=" + this.jl() + ", completing=" + this.ml() + ", rootCause=" + toString_0(this.pl()) + ", exceptions=" + toString_0(_get_exceptionsHolder__nhszp(this)) + ", list=" + this.fl_1.toString() + "]"; + }, protoOf(ChildCompletion).zi = function(cause) { + !function($this, state, lastChild, proposedUpdate) { + var waitChild = nextChild(lastChild); + if (null != waitChild && tryWaitForChild($this, state, waitChild, proposedUpdate)) return Unit_instance; + var finalState = finalizeFinishingState($this, state, proposedUpdate); + $this.zf(finalState); + }(this.bm_1, this.cm_1, this.dm_1, this.em_1); + }, protoOf(JobSupport).f1 = function() { + return Key_instance_2; + }, protoOf(JobSupport).gg = function(value) { + this.jf_1.kotlinx$atomicfu$value = value; + }, protoOf(JobSupport).hg = function() { + return this.jf_1.kotlinx$atomicfu$value; + }, protoOf(JobSupport).kf = function(parent) { + if (null == parent) return this.gg(NonDisposableHandle_instance), Unit_instance; + parent.kg(); + var handle = parent.xg(this); + this.gg(handle), this.jg() && (handle.ti(), this.gg(NonDisposableHandle_instance)); + }, protoOf(JobSupport).ig = function() { + for (var this_0 = this.if_1; ;) { + var state = this_0.kotlinx$atomicfu$value; + if (!(state instanceof OpDescriptor)) return state; + state.fm(this); + } + }, protoOf(JobSupport).pf = function() { + var state = this.ig(); + return !(null == state || !isInterface(state, Incomplete)) && state.pf(); + }, protoOf(JobSupport).jg = function() { + var tmp = this.ig(); + return !(null != tmp && isInterface(tmp, Incomplete)); + }, protoOf(JobSupport).kg = function() { + for (;;) { + var tmp0_subject = startInternal(this, this.ig()); + if (0 === tmp0_subject) return !1; + if (1 === tmp0_subject) return !0; + } + }, protoOf(JobSupport).lg = function() {}, protoOf(JobSupport).mg = function() { + var tmp, state = this.ig(); + if (state instanceof Finishing) { + var tmp0_safe_receiver = state.pl(), tmp1_elvis_lhs = null == tmp0_safe_receiver ? null : this.ng(tmp0_safe_receiver, get_classSimpleName(this) + " is cancelling"); + if (null == tmp1_elvis_lhs) { + var message = "Job is still new or active: " + this.toString(); + throw IllegalStateException_init_$Create$(toString(message)); } + tmp = tmp1_elvis_lhs; + } else { + if (null != state && isInterface(state, Incomplete)) { + var message_0 = "Job is still new or active: " + this.toString(); + throw IllegalStateException_init_$Create$(toString(message_0)); + } + tmp = state instanceof CompletedExceptionally ? this.og(state.uf_1) : new JobCancellationException(get_classSimpleName(this) + " has completed normally", null, this); } - return tmp$ret$1; - }, AbstractJsonTreeDecoder.prototype.w11 = function(tag) { - return this.c19(null != tag && "string" == typeof tag ? tag : THROW_CCE()); - }, AbstractJsonTreeDecoder.prototype.d19 = function(tag) { - var value = this.z18(tag); - if (!this.l14().g13_1.b14_1 && !asLiteral(value, this, "string").t14_1) throw JsonDecodingException_0(-1, "String literal for key '" + tag + "' should be quoted.\n" + get_lenientHint(), toString(currentObject(this))); - if (value instanceof JsonNull) throw JsonDecodingException_0(-1, "Unexpected 'null' value instead of string literal", toString(currentObject(this))); - return value.s14(); - }, AbstractJsonTreeDecoder.prototype.x11 = function(tag) { - return this.d19(null != tag && "string" == typeof tag ? tag : THROW_CCE()); - }, JsonTreeDecoder.prototype.g1 = function() { - return this.j19_1; - }, JsonTreeDecoder.prototype.vx = function(descriptor) { - for (;this.m19_1 < descriptor.zv(); ) { - var tmp0_this = this, tmp1 = tmp0_this.m19_1; - tmp0_this.m19_1 = tmp1 + 1 | 0; - var name = this.m11(descriptor, tmp1), index = this.m19_1 - 1 | 0; - this.n19_1 = !1; - var tmp0_contains = this.g1(); - if (((isInterface(tmp0_contains, Map) ? tmp0_contains : THROW_CCE()).p1(name) || absenceIsNull(this, descriptor, index)) && (!this.x18_1.g14_1 || !coerceInputValue_0(this, descriptor, index, name))) return index; - } - return Companion_getInstance(), -1; - }, JsonTreeDecoder.prototype.fx = function() { - return !this.n19_1 && AbstractJsonTreeDecoder.prototype.fx.call(this); - }, JsonTreeDecoder.prototype.n11 = function(desc, index) { - var mainName = desc.bw(index); - if (!this.x18_1.k14_1) return mainName; - if (this.g1().w1().t(mainName)) return mainName; - var tmp$ret$2, tmp$ret$1, tmp = get_schemaCache(this.l14()), tmp_0 = get_JsonAlternativeNamesKey(), alternativeNamesMap = tmp.v15(desc, tmp_0, buildAlternativeNamesMap$ref_0(desc)); - $l$block: { - for (var tmp0_iterator = this.g1().w1().d(); tmp0_iterator.e(); ) { - var element = tmp0_iterator.f(); - if (alternativeNamesMap.v1(element) === index) { - tmp$ret$1 = element; - break $l$block; + return tmp; + }, protoOf(JobSupport).ng = function(_this__u8e3s4, message) { + var tmp0_elvis_lhs = _this__u8e3s4 instanceof CancellationException ? _this__u8e3s4 : null; + return null == tmp0_elvis_lhs ? new JobCancellationException(null == message ? this.sf() : message, _this__u8e3s4, this) : tmp0_elvis_lhs; + }, protoOf(JobSupport).og = function(_this__u8e3s4, message, $super) { + return message = message === VOID ? null : message, $super === VOID ? this.ng(_this__u8e3s4, message) : $super.ng.call(this, _this__u8e3s4, message); + }, protoOf(JobSupport).pg = function(onCancelling, invokeImmediately, handler) { + return this.qg(onCancelling, invokeImmediately, new UserSupplied_0(handler)); + }, protoOf(JobSupport).qg = function(onCancelling, invokeImmediately, handler) { + for (var node = function($this, handler, onCancelling) { + var tmp; + if (onCancelling) { + var tmp0_elvis_lhs = handler instanceof JobCancellingNode ? handler : null; + tmp = null == tmp0_elvis_lhs ? new InvokeOnCancelling(handler) : tmp0_elvis_lhs; + } else { + var tmp1_safe_receiver = handler instanceof JobNode ? handler : null, tmp2_elvis_lhs = null == tmp1_safe_receiver ? null : tmp1_safe_receiver; + tmp = null == tmp2_elvis_lhs ? new InvokeOnCompletion(handler) : tmp2_elvis_lhs; + } + var node = tmp; + return node.cl_1 = $this, node; + }(this, handler, onCancelling); ;) $l$block: { + var state = this.ig(); + if (state instanceof Empty) if (state.kk_1) { + if (this.if_1.atomicfu$compareAndSet(state, node)) return node; + } else promoteEmptyToNodeList(this, state); else { + if (null == state || !isInterface(state, Incomplete)) { + if (invokeImmediately) { + var tmp1_safe_receiver = state instanceof CompletedExceptionally ? state : null; + handler.zi(null == tmp1_safe_receiver ? null : tmp1_safe_receiver.uf_1); + } + return NonDisposableHandle_instance; + } + var list = state.lk(); + if (null == list) promoteSingleToNodeList(this, state instanceof JobNode ? state : THROW_CCE()); else { + var rootCause = null, handle = NonDisposableHandle_instance; + if (!!onCancelling && state instanceof Finishing) { + var tmp_0; + if (null == (rootCause = state.pl())) tmp_0 = !0; else tmp_0 = handler instanceof ChildHandleNode && !state.ml(); + if (tmp_0) { + if (!addLastAtomic(this, state, list, node)) break $l$block; + if (null == rootCause) return node; + handle = node; + } + } + if (null != rootCause) return invokeImmediately && handler.zi(rootCause), handle; + if (addLastAtomic(this, state, list, node)) return node; } } - tmp$ret$1 = null; } - return null == (tmp$ret$2 = tmp$ret$1) ? mainName : tmp$ret$2; - }, JsonTreeDecoder.prototype.y18 = function(tag) { - return getValue(this.g1(), tag); - }, JsonTreeDecoder.prototype.mx = function(descriptor) { - return descriptor === this.l19_1 ? this : AbstractJsonTreeDecoder.prototype.mx.call(this, descriptor); - }, JsonTreeDecoder.prototype.nx = function(descriptor) { - var tmp_1; - if (!!this.x18_1.a14_1 || descriptor.wv() instanceof PolymorphicKind) return Unit_getInstance(); - if (this.x18_1.k14_1) { - var tmp$ret$0, tmp_2 = jsonCachedSerialNames(descriptor), tmp0_safe_receiver = get_schemaCache(this.l14()).d18(descriptor, get_JsonAlternativeNamesKey()), tmp0_elvis_lhs = null == tmp0_safe_receiver ? null : tmp0_safe_receiver.w1(); - tmp$ret$0 = null == tmp0_elvis_lhs ? emptySet() : tmp0_elvis_lhs, tmp_1 = plus_0(tmp_2, tmp$ret$0); - } else tmp_1 = jsonCachedSerialNames(descriptor); - for (var names = tmp_1, tmp1_iterator = this.g1().w1().d(); tmp1_iterator.e(); ) { - var key = tmp1_iterator.f(); - if (!names.t(key) && key !== this.k19_1) throw UnknownKeyException(key, this.g1().toString()); + }, protoOf(JobSupport).rg = function(node) { + for (;;) { + var state = this.ig(); + if (!(state instanceof JobNode)) return null != state && isInterface(state, Incomplete) ? (null != state.lk() && node.wk(), + Unit_instance) : Unit_instance; + if (state !== node) return Unit_instance; + if (this.if_1.atomicfu$compareAndSet(state, get_EMPTY_ACTIVE())) return Unit_instance; } - }, JsonTreeListDecoder.prototype.g1 = function() { - return this.t19_1; - }, JsonTreeListDecoder.prototype.n11 = function(desc, index) { - return index.toString(); - }, JsonTreeListDecoder.prototype.y18 = function(tag) { - return this.t19_1.g(toInt(tag)); - }, JsonTreeListDecoder.prototype.vx = function(descriptor) { - for (;this.v19_1 < (this.u19_1 - 1 | 0); ) { - var tmp0_this = this, tmp1 = tmp0_this.v19_1; - return tmp0_this.v19_1 = tmp1 + 1 | 0, this.v19_1; - } - return Companion_getInstance(), -1; - }, JsonTreeMapDecoder.prototype.g1 = function() { - return this.g1a_1; - }, JsonTreeMapDecoder.prototype.n11 = function(desc, index) { - var i = index / 2 | 0; - return this.h1a_1.g(i); - }, JsonTreeMapDecoder.prototype.vx = function(descriptor) { - for (;this.j1a_1 < (this.i1a_1 - 1 | 0); ) { - var tmp0_this = this, tmp1 = tmp0_this.j1a_1; - return tmp0_this.j1a_1 = tmp1 + 1 | 0, this.j1a_1; - } - return Companion_getInstance(), -1; - }, JsonTreeMapDecoder.prototype.y18 = function(tag) { - return 0 == (this.j1a_1 % 2 | 0) ? JsonPrimitive_0(tag) : getValue(this.g1a_1, tag); - }, JsonTreeMapDecoder.prototype.nx = function(descriptor) {}, AbstractJsonLexer.prototype.n1a = function() {}, - AbstractJsonLexer.prototype.o1a = function(c) { - var tmp0_subject = c; - return !(equals(new Char(tmp0_subject), new Char(_Char___init__impl__6a9atx(125))) || equals(new Char(tmp0_subject), new Char(_Char___init__impl__6a9atx(93))) || equals(new Char(tmp0_subject), new Char(_Char___init__impl__6a9atx(58))) || equals(new Char(tmp0_subject), new Char(_Char___init__impl__6a9atx(44)))); - }, AbstractJsonLexer.prototype.y13 = function() { - if (10 !== this.y16()) { - var tmp = "Expected EOF after parsing, but had " + new Char(charSequenceGet(this.l1a(), this.u13_1 - 1 | 0)) + " instead"; - this.s16(tmp, 0, null, 6, null); - } - }, AbstractJsonLexer.prototype.r16 = function(expected) { - var token = this.y16(); - return token !== expected && this.p1a(expected), token; - }, AbstractJsonLexer.prototype.f18 = function(expected) { - this.n1a(); - for (var source = this.l1a(), cpos = this.u13_1; -1 !== (cpos = this.m1a(cpos)); ) { - var tmp0 = cpos; - cpos = tmp0 + 1 | 0; - var c = charSequenceGet(source, tmp0); - if (!(equals(new Char(c), new Char(_Char___init__impl__6a9atx(32))) || equals(new Char(c), new Char(_Char___init__impl__6a9atx(10))) || equals(new Char(c), new Char(_Char___init__impl__6a9atx(13))) || equals(new Char(c), new Char(_Char___init__impl__6a9atx(9))))) { - if (this.u13_1 = cpos, equals(new Char(c), new Char(expected))) return Unit_getInstance(); - this.q1a(expected); - } - } - this.u13_1 = cpos, this.q1a(expected); - }, AbstractJsonLexer.prototype.q1a = function(expected) { - var tmp0_this = this; - tmp0_this.u13_1 = tmp0_this.u13_1 - 1 | 0, this.u13_1 >= 0 && equals(new Char(expected), new Char(_Char___init__impl__6a9atx(34))) && "null" === this.w16() && this.r1a("Expected string literal but 'null' literal was found", this.u13_1 - 4 | 0, "Use 'coerceInputValues = true' in 'Json {}` builder to coerce nulls to default values."), - this.p1a(charToTokenClass(expected)); - }, AbstractJsonLexer.prototype.p1a = function(expectedToken) { - var tmp = "Expected " + (1 === expectedToken ? "quotation mark '\"'" : 4 === expectedToken ? "comma ','" : 5 === expectedToken ? "colon ':'" : 6 === expectedToken ? "start of the object '{'" : 7 === expectedToken ? "end of the object '}'" : 8 === expectedToken ? "start of the array '['" : 9 === expectedToken ? "end of the array ']'" : "valid token") + ", but had '" + (this.u13_1 === charSequenceLength(this.l1a()) || this.u13_1 <= 0 ? "EOF" : toString_0(charSequenceGet(this.l1a(), this.u13_1 - 1 | 0))) + "' instead", tmp_0 = this.u13_1 - 1 | 0; - this.s16(tmp, tmp_0, null, 4, null); - }, AbstractJsonLexer.prototype.t16 = function() { - for (var source = this.l1a(), cpos = this.u13_1; -1 !== (cpos = this.m1a(cpos)); ) { - var ch = charSequenceGet(source, cpos); - if (!(equals(new Char(ch), new Char(_Char___init__impl__6a9atx(32))) || equals(new Char(ch), new Char(_Char___init__impl__6a9atx(10))) || equals(new Char(ch), new Char(_Char___init__impl__6a9atx(13))) || equals(new Char(ch), new Char(_Char___init__impl__6a9atx(9))))) return this.u13_1 = cpos, - charToTokenClass(ch); - cpos = cpos + 1 | 0; + }, protoOf(JobSupport).sg = function() { + return !1; + }, protoOf(JobSupport).sf = function() { + return "Job was cancelled"; + }, protoOf(JobSupport).tg = function(parentJob) { + this.vg(parentJob); + }, protoOf(JobSupport).ug = function(cause) { + return cause instanceof CancellationException || this.vg(cause) && this.ah(); + }, protoOf(JobSupport).vg = function(cause) { + var tmp, finalState = get_COMPLETING_ALREADY(); + return !(!this.sg() || (finalState = function($this, cause) { + for (;;) { + var state = $this.ig(); + if (null == state || !isInterface(state, Incomplete) || state instanceof Finishing && state.ml()) return get_COMPLETING_ALREADY(); + var finalState = tryMakeCompleting($this, state, new CompletedExceptionally(createCauseException($this, cause))); + if (finalState !== get_COMPLETING_RETRY()) return finalState; + } + }(this, cause), finalState !== get_COMPLETING_WAITING_CHILDREN())) || (finalState === get_COMPLETING_ALREADY() && (finalState = function($this, cause) { + for (var causeExceptionCache = null; ;) $l$block: { + var state = $this.ig(); + if (state instanceof Finishing) { + if (state.nl()) return get_TOO_LATE_TO_CANCEL(); + var wasCancelling = state.jl(); + if (null != cause || !wasCancelling) { + var tmp, tmp0_elvis_lhs = causeExceptionCache; + if (null == tmp0_elvis_lhs) { + var this_0 = createCauseException($this, cause); + causeExceptionCache = this_0, tmp = this_0; + } else tmp = tmp0_elvis_lhs; + var causeException = tmp; + state.ol(causeException); + } + var this_1 = state.pl(), notifyRootCause = wasCancelling ? null : this_1; + return null == notifyRootCause || notifyCancelling($this, state.fl_1, notifyRootCause), + get_COMPLETING_ALREADY(); + } + if (null == state || !isInterface(state, Incomplete)) return get_TOO_LATE_TO_CANCEL(); + var tmp_1, tmp2_elvis_lhs = causeExceptionCache; + if (null == tmp2_elvis_lhs) { + var this_2 = createCauseException($this, cause); + causeExceptionCache = this_2, tmp_1 = this_2; + } else tmp_1 = tmp2_elvis_lhs; + var causeException_0 = tmp_1; + if (!state.pf()) { + var finalState = tryMakeCompleting($this, state, new CompletedExceptionally(causeException_0)); + if (finalState === get_COMPLETING_ALREADY()) { + var message = "Cannot happen in " + toString_0(state); + throw IllegalStateException_init_$Create$(toString(message)); + } + if (finalState === get_COMPLETING_RETRY()) break $l$block; + return finalState; + } + if (tryMakeCancelling($this, state, causeException_0)) return get_COMPLETING_ALREADY(); + } + }(this, cause)), finalState === get_COMPLETING_ALREADY() || finalState === get_COMPLETING_WAITING_CHILDREN() ? tmp = !0 : finalState === get_TOO_LATE_TO_CANCEL() ? tmp = !1 : (this.zf(finalState), + tmp = !0), tmp); + }, protoOf(JobSupport).wg = function() { + var tmp, state = this.ig(); + if (state instanceof Finishing) tmp = state.pl(); else if (state instanceof CompletedExceptionally) tmp = state.uf_1; else { + if (null != state && isInterface(state, Incomplete)) { + var message = "Cannot be cancelling child in this state: " + toString_0(state); + throw IllegalStateException_init_$Create$(toString(message)); + } + tmp = null; } - return this.u13_1 = cpos, 10; - }, AbstractJsonLexer.prototype.h18 = function() { - var current = this.s1a(); - current = this.m1a(current); - var len = charSequenceLength(this.l1a()) - current | 0; - if (len < 4 || -1 === current) return !0; - var inductionVariable = 0; - if (inductionVariable <= 3) do { - var i = inductionVariable; - if (inductionVariable = inductionVariable + 1 | 0, !equals(new Char(charSequenceGet("null", i)), new Char(charSequenceGet(this.l1a(), current + i | 0)))) return !0; - } while (inductionVariable <= 3); - return len > 4 && 0 === charToTokenClass(charSequenceGet(this.l1a(), current + 4 | 0)) || (this.u13_1 = current + 4 | 0, - !1); - }, AbstractJsonLexer.prototype.s1a = function() { - var current = this.u13_1; - $l$loop_0: for (;-1 !== (current = this.m1a(current)); ) { - var c = charSequenceGet(this.l1a(), current); - if (!(equals(new Char(c), new Char(_Char___init__impl__6a9atx(32))) || equals(new Char(c), new Char(_Char___init__impl__6a9atx(10))) || equals(new Char(c), new Char(_Char___init__impl__6a9atx(13))) || equals(new Char(c), new Char(_Char___init__impl__6a9atx(9))))) break $l$loop_0; - current = current + 1 | 0; + var rootCause = tmp, tmp1_elvis_lhs = rootCause instanceof CancellationException ? rootCause : null; + return null == tmp1_elvis_lhs ? new JobCancellationException("Parent job is " + stateString(0, state), rootCause, this) : tmp1_elvis_lhs; + }, protoOf(JobSupport).xf = function(proposedUpdate) { + for (;;) { + var finalState = tryMakeCompleting(this, this.ig(), proposedUpdate); + if (finalState === get_COMPLETING_ALREADY()) throw IllegalStateException_init_$Create$_0("Job " + this.toString() + " is already complete or completing, but is being completed with " + toString_0(proposedUpdate), (tmp0_safe_receiver = void 0, + null == (tmp0_safe_receiver = (_this__u8e3s4 = proposedUpdate) instanceof CompletedExceptionally ? _this__u8e3s4 : null) ? null : tmp0_safe_receiver.uf_1)); + if (finalState !== get_COMPLETING_RETRY()) return finalState; } - return this.u13_1 = current, current; - }, AbstractJsonLexer.prototype.i18 = function(isLenient) { - var tmp, token = this.t16(); - if (isLenient) { - if (1 !== token && 0 !== token) return null; - tmp = this.w16(); - } else { - if (1 !== token) return null; - tmp = this.v16(); + var _this__u8e3s4, tmp0_safe_receiver; + }, protoOf(JobSupport).xg = function(child) { + var tmp = invokeOnCompletion(this, !0, VOID, new ChildHandleNode(child)); + return isInterface(tmp, ChildHandle) ? tmp : THROW_CCE(); + }, protoOf(JobSupport).ag = function(exception) { + throw exception; + }, protoOf(JobSupport).yg = function(cause) {}, protoOf(JobSupport).zg = function() { + return !1; + }, protoOf(JobSupport).ah = function() { + return !0; + }, protoOf(JobSupport).bh = function(exception) { + return !1; + }, protoOf(JobSupport).tf = function(state) {}, protoOf(JobSupport).zf = function(state) {}, + protoOf(JobSupport).toString = function() { + return this.ch() + "@" + get_hexAddress(this); + }, protoOf(JobSupport).ch = function() { + return this.bg() + "{" + stateString(0, this.ig()) + "}"; + }, protoOf(JobSupport).bg = function() { + return get_classSimpleName(this); + }, protoOf(InactiveNodeList).lk = function() { + return this.ll_1; + }, protoOf(InactiveNodeList).pf = function() { + return !1; + }, protoOf(InactiveNodeList).toString = function() { + return get_DEBUG() ? this.ll_1.pk("New") : anyToString(this); + }, protoOf(ChildHandleNode).zi = function(cause) { + return this.vl_1.tg(this.dl()); + }, protoOf(ChildHandleNode).ug = function(cause) { + return this.dl().ug(cause); + }, protoOf(InvokeOnCancelling).zi = function(cause) { + this.lm_1.atomicfu$compareAndSet(0, 1) && this.km_1.zi(cause); + }, protoOf(InvokeOnCompletion).zi = function(cause) { + return this.qm_1.zi(cause); + }, protoOf(ChildContinuation).zi = function(cause) { + this.wm_1.yi(this.wm_1.aj(this.dl())); + }, protoOf(MainCoroutineDispatcher).toString = function() { + var tmp0_elvis_lhs = this.zm(); + return null == tmp0_elvis_lhs ? get_classSimpleName(this) + "@" + get_hexAddress(this) : tmp0_elvis_lhs; + }, protoOf(MainCoroutineDispatcher).zm = function() { + var tmp, main = Dispatchers_getInstance().en(); + if (this === main) return "Dispatchers.Main"; + try { + tmp = main.ym(); + } catch ($p) { + if (!($p instanceof UnsupportedOperationException)) throw $p; + tmp = null; } - var string = tmp; - return this.w13_1 = string, string; - }, AbstractJsonLexer.prototype.t1a = function(startPos, endPos) { - var tmp0_substring = this.l1a(); - return toString(charSequenceSubSequence(tmp0_substring, startPos, endPos)); - }, AbstractJsonLexer.prototype.v16 = function() { - return null != this.w13_1 ? takePeeked(this) : this.l18(); - }, AbstractJsonLexer.prototype.consumeString2 = function(source, startPosition, current) { - for (var currentPosition = current, lastPosition = startPosition, char = charSequenceGet(source, currentPosition), usedAppend = !1; !equals(new Char(char), new Char(_Char___init__impl__6a9atx(34))); ) { - if (equals(new Char(char), new Char(_Char___init__impl__6a9atx(92)))) { - if (usedAppend = !0, -1 === (currentPosition = this.m1a(appendEscape(this, lastPosition, currentPosition)))) { - var tmp = currentPosition; - this.s16("EOF", tmp, null, 4, null); - } - lastPosition = currentPosition; - } else if ((currentPosition = currentPosition + 1 | 0) >= charSequenceLength(source)) { - if (usedAppend = !0, this.k1a(lastPosition, currentPosition), -1 === (currentPosition = this.m1a(currentPosition))) { - var tmp_0 = currentPosition; - this.s16("EOF", tmp_0, null, 4, null); - } - lastPosition = currentPosition; - } - char = charSequenceGet(source, currentPosition); - } - var string = usedAppend ? decodedString(this, lastPosition, currentPosition) : this.t1a(lastPosition, currentPosition); - return this.u13_1 = currentPosition + 1 | 0, string; - }, AbstractJsonLexer.prototype.m18 = function() { - var result = this.w16(); - return "null" === result && wasUnquotedString(this) && this.s16("Unexpected 'null' value instead of string literal", 0, null, 6, null), - result; - }, AbstractJsonLexer.prototype.w16 = function() { - if (null != this.w13_1) return takePeeked(this); - var current = this.s1a(); - if (current >= charSequenceLength(this.l1a()) || -1 === current) { - var tmp = current; - this.s16("EOF", tmp, null, 4, null); - } - var token = charToTokenClass(charSequenceGet(this.l1a(), current)); - if (1 === token) return this.v16(); - if (0 !== token) { - var tmp_0 = "Expected beginning of the string, but got " + new Char(charSequenceGet(this.l1a(), current)); - this.s16(tmp_0, 0, null, 6, null); - } - for (var usedAppend = !1; 0 === charToTokenClass(charSequenceGet(this.l1a(), current)); ) if ((current = current + 1 | 0) >= charSequenceLength(this.l1a())) { - usedAppend = !0, this.k1a(this.u13_1, current); - var eof = this.m1a(current); - if (-1 === eof) return this.u13_1 = current, decodedString(this, 0, 0); - current = eof; + return this === tmp ? "Dispatchers.Main.immediate" : null; + }, protoOf(SupervisorCoroutine).ug = function(cause) { + return !1; + }, protoOf(Unconfined).qj = function(context) { + return !1; + }, protoOf(Unconfined).rj = function(context, block) { + var yieldContext = context.i7(Key_instance_3); + if (null != yieldContext) return yieldContext.pn_1 = !0, Unit_instance; + throw UnsupportedOperationException_init_$Create$("Dispatchers.Unconfined.dispatch function can only be used by the yield function. If you wrap Unconfined dispatcher in your code, make sure you properly delegate isDispatchNeeded and dispatch calls."); + }, protoOf(Unconfined).toString = function() { + return "Dispatchers.Unconfined"; + }, protoOf(DispatchedContinuation).b7 = function() { + return this.uh_1.b7(); + }, protoOf(DispatchedContinuation).yh = function() { + return !(null == this.xh_1.kotlinx$atomicfu$value); + }, protoOf(DispatchedContinuation).qn = function() { + for (var this_0 = this.xh_1; ;) if (this_0.kotlinx$atomicfu$value !== get_REUSABLE_CLAIMED()) return Unit_instance; + }, protoOf(DispatchedContinuation).sj = function() { + this.qn(); + var tmp, tmp0_safe_receiver = (tmp = this.xh_1.kotlinx$atomicfu$value) instanceof CancellableContinuationImpl ? tmp : null; + null == tmp0_safe_receiver || tmp0_safe_receiver.qi(); + }, protoOf(DispatchedContinuation).ej = function(continuation) { + for (var this_0 = this.xh_1; ;) { + var state = this_0.kotlinx$atomicfu$value; + if (state !== get_REUSABLE_CLAIMED()) { + if (state instanceof Error) { + if (!this.xh_1.atomicfu$compareAndSet(state, null)) { + throw IllegalArgumentException_init_$Create$(toString("Failed requirement.")); + } + return state; + } + var message_0 = "Inconsistent state " + toString_0(state); + throw IllegalStateException_init_$Create$(toString(message_0)); + } + if (this.xh_1.atomicfu$compareAndSet(get_REUSABLE_CLAIMED(), continuation)) return null; } - var result = usedAppend ? decodedString(this, this.u13_1, current) : this.t1a(this.u13_1, current); - return this.u13_1 = current, result; - }, AbstractJsonLexer.prototype.k1a = function(fromIndex, toIndex) { - this.x13_1.sa(this.l1a(), fromIndex, toIndex); - }, AbstractJsonLexer.prototype.k18 = function(allowLenientStrings) { - var tokenStack = ArrayList_init_$Create$(), lastToken = this.t16(); - if (8 !== lastToken && 6 !== lastToken) return this.w16(), Unit_getInstance(); - for (;;) if (1 !== (lastToken = this.t16())) { - var tmp0_subject = lastToken; - if (8 === tmp0_subject || 6 === tmp0_subject) tokenStack.a(lastToken); else if (9 === tmp0_subject) { - if (8 !== last(tokenStack)) throw JsonDecodingException_0(this.u13_1, "found ] instead of } at path: " + this.v13_1, this.l1a()); - removeLast(tokenStack); - } else if (7 === tmp0_subject) { - if (6 !== last(tokenStack)) throw JsonDecodingException_0(this.u13_1, "found } instead of ] at path: " + this.v13_1, this.l1a()); - removeLast(tokenStack); - } else 10 === tmp0_subject && this.s16("Unexpected end of input due to malformed JSON during ignoring unknown keys", 0, null, 6, null); - if (this.y16(), 0 === tokenStack.c()) return Unit_getInstance(); - } else allowLenientStrings ? this.w16() : this.l18(); - }, AbstractJsonLexer.prototype.toString = function() { - return "JsonReader(source='" + this.l1a() + "', currentPosition=" + this.u13_1 + ")"; - }, AbstractJsonLexer.prototype.j18 = function(key) { - var processed = this.t1a(0, this.u13_1), lastIndexOf = lastIndexOf$default(processed, key, 0, !1, 6, null); - this.r1a("Encountered an unknown key '" + key + "'", lastIndexOf, "Use 'ignoreUnknownKeys = true' in 'Json {}' builder to ignore unknown keys."); - }, AbstractJsonLexer.prototype.r1a = function(message, position, hint) { - var hintMessage = 0 === charSequenceLength(hint) ? "" : "\n" + hint; - throw JsonDecodingException_0(position, message + " at path: " + this.v13_1.f16() + hintMessage, this.l1a()); - }, AbstractJsonLexer.prototype.s16 = function(message, position, hint, $mask0, $handler) { - return 0 != (2 & $mask0) && (position = this.u13_1), 0 != (4 & $mask0) && (hint = ""), - this.r1a(message, position, hint); - }, AbstractJsonLexer.prototype.s18 = function() { - var tmp, current = this.s1a(); - ((current = this.m1a(current)) >= charSequenceLength(this.l1a()) || -1 === current) && this.s16("EOF", 0, null, 6, null), - equals(new Char(charSequenceGet(this.l1a(), current)), new Char(_Char___init__impl__6a9atx(34))) ? ((current = current + 1 | 0) === charSequenceLength(this.l1a()) && this.s16("EOF", 0, null, 6, null), - tmp = !0) : tmp = !1; - var tmp_1, hasQuotation = tmp, accumulator = new Long(0, 0), isNegative = !1, start = current, hasChars = !0; - $l$loop_0: for (;hasChars; ) { - var ch = charSequenceGet(this.l1a(), current); - if (equals(new Char(ch), new Char(_Char___init__impl__6a9atx(45)))) current !== start && this.s16("Unexpected symbol '-' in numeric literal", 0, null, 6, null), - isNegative = !0, current = current + 1 | 0; else { - if (0 !== charToTokenClass(ch)) break $l$loop_0; - hasChars = !((current = current + 1 | 0) === charSequenceLength(this.l1a())); - var digit = Char__minus_impl_a2frrh(ch, _Char___init__impl__6a9atx(48)); - if (!(0 <= digit && digit <= 9)) { - var tmp_0 = "Unexpected symbol '" + new Char(ch) + "' in numeric literal"; - this.s16(tmp_0, 0, null, 6, null); - } - (accumulator = accumulator.v4(new Long(10, 0)).x4(toLong_0(digit))).u4(new Long(0, 0)) > 0 && this.s16("Numeric value overflow", 0, null, 6, null); - } - } - if ((start === current || isNegative && start === (current - 1 | 0)) && this.s16("Expected numeric literal", 0, null, 6, null), - hasQuotation && (hasChars || this.s16("EOF", 0, null, 6, null), equals(new Char(charSequenceGet(this.l1a(), current)), new Char(_Char___init__impl__6a9atx(34))) || this.s16("Expected closing quotation mark", 0, null, 6, null), - current = current + 1 | 0), this.u13_1 = current, isNegative) tmp_1 = accumulator; else { - var tmp_2 = accumulator; - Companion_getInstance_0(), tmp_2.equals(new Long(0, -2147483648)) ? this.s16("Numeric value overflow", 0, null, 6, null) : tmp_1 = accumulator.s4(); - } - return tmp_1; - }, StringJsonLexer.prototype.l1a = function() { - return this.a1b_1; - }, StringJsonLexer.prototype.m1a = function(position) { - return position < this.a1b_1.length ? position : -1; - }, StringJsonLexer.prototype.y16 = function() { - for (var source = this.a1b_1; -1 !== this.u13_1 && this.u13_1 < source.length; ) { - var tmp0_this = this, tmp1 = tmp0_this.u13_1; - tmp0_this.u13_1 = tmp1 + 1 | 0; - var tc = charToTokenClass(charSequenceGet(source, tmp1)); - if (tc !== get_TC_WHITESPACE()) return tc; - } - return get_TC_EOF(); - }, StringJsonLexer.prototype.g18 = function() { - var current = this.s1a(); - if (current === this.a1b_1.length || -1 === current) return !1; - if (equals(new Char(charSequenceGet(this.a1b_1, current)), new Char(_Char___init__impl__6a9atx(44)))) { - var tmp0_this = this; - return tmp0_this.u13_1 = tmp0_this.u13_1 + 1 | 0, !0; + }, protoOf(DispatchedContinuation).ai = function(cause) { + for (var this_0 = this.xh_1; ;) { + var state = this_0.kotlinx$atomicfu$value; + if (equals(state, get_REUSABLE_CLAIMED())) { + if (this.xh_1.atomicfu$compareAndSet(get_REUSABLE_CLAIMED(), cause)) return !0; + } else { + if (state instanceof Error) return !0; + if (this.xh_1.atomicfu$compareAndSet(state, null)) return !1; + } } - return !1; - }, StringJsonLexer.prototype.u16 = function() { - var current = this.u13_1; - if (-1 === current) return !1; - for (;current < this.a1b_1.length; ) { - var c = charSequenceGet(this.a1b_1, current); - if (!(equals(new Char(c), new Char(_Char___init__impl__6a9atx(32))) || equals(new Char(c), new Char(_Char___init__impl__6a9atx(10))) || equals(new Char(c), new Char(_Char___init__impl__6a9atx(13))) || equals(new Char(c), new Char(_Char___init__impl__6a9atx(9))))) return this.u13_1 = current, - this.o1a(c); - current = current + 1 | 0; + }, protoOf(DispatchedContinuation).ui = function() { + var state = this.vh_1; + return this.vh_1 = get_UNDEFINED(), state; + }, protoOf(DispatchedContinuation).ri = function() { + return this; + }, protoOf(DispatchedContinuation).g7 = function(result) { + var context = this.uh_1.b7(), state = toState_0(result); + if (this.th_1.qj(context)) this.vh_1 = state, this.zh_1 = 0, this.th_1.rj(context, this); else { + var eventLoop = ThreadLocalEventLoop_getInstance().gk(); + if (eventLoop.ak()) this.vh_1 = state, this.zh_1 = 0, eventLoop.zj(this), !0; else { + eventLoop.ck(!0); + try { + for (this.b7(), this.wh_1, this.uh_1.g7(result); eventLoop.yj(); ) ; + } catch ($p) { + if (!($p instanceof Error)) throw $p; + var e = $p; + this.jj(e, null); + } finally { + eventLoop.dk(!0); + } + !1; + } } - return this.u13_1 = current, !1; - }, StringJsonLexer.prototype.s1a = function() { - var current = this.u13_1; - if (-1 === current) return current; - $l$loop: for (;current < this.a1b_1.length; ) { - var c = charSequenceGet(this.a1b_1, current); - if (!(equals(new Char(c), new Char(_Char___init__impl__6a9atx(32))) || equals(new Char(c), new Char(_Char___init__impl__6a9atx(10))) || equals(new Char(c), new Char(_Char___init__impl__6a9atx(13))) || equals(new Char(c), new Char(_Char___init__impl__6a9atx(9))))) break $l$loop; - current = current + 1 | 0; + }, protoOf(DispatchedContinuation).vi = function(takenState, cause) { + takenState instanceof CompletedWithCancellation && takenState.oj_1(cause); + }, protoOf(DispatchedContinuation).toString = function() { + return "DispatchedContinuation[" + this.th_1.toString() + ", " + toDebugString(this.uh_1) + "]"; + }, protoOf(DispatchedTask).vi = function(takenState, cause) {}, protoOf(DispatchedTask).dj = function(state) { + return null == state || null != state ? state : THROW_CCE(); + }, protoOf(DispatchedTask).gj = function(state) { + var tmp0_safe_receiver = state instanceof CompletedExceptionally ? state : null; + return null == tmp0_safe_receiver ? null : tmp0_safe_receiver.uf_1; + }, protoOf(DispatchedTask).ij = function() { + var fatalException = null; + try { + var tmp = this.ri(), delegate = tmp instanceof DispatchedContinuation ? tmp : THROW_CCE(), continuation = delegate.uh_1; + delegate.wh_1; + var context = continuation.b7(), state = this.ui(), exception = this.gj(state), job = null == exception && get_isCancellableMode(this.zh_1) ? context.i7(Key_instance_2) : null; + if (null == job || job.pf()) if (null != exception) { + var tmp$ret$1 = _Result___init__impl__xyqfz8(createFailure(exception)); + continuation.g7(tmp$ret$1); + } else { + var value = this.dj(state), tmp$ret$3 = _Result___init__impl__xyqfz8(value); + continuation.g7(tmp$ret$3); + } else { + var cause = job.mg(); + this.vi(state, cause); + var exception_0 = recoverStackTrace(cause, continuation), tmp$ret$0 = _Result___init__impl__xyqfz8(createFailure(exception_0)); + continuation.g7(tmp$ret$0); + } + } catch ($p) { + if (!($p instanceof Error)) throw $p; + fatalException = $p; + } finally { + var tmp_0; + try { + tmp_0 = _Result___init__impl__xyqfz8(Unit_instance); + } catch ($p) { + if (!($p instanceof Error)) throw $p; + tmp_0 = _Result___init__impl__xyqfz8(createFailure($p)); + } + var result = tmp_0; + this.jj(fatalException, Result__exceptionOrNull_impl_p6xea9(result)); } - return this.u13_1 = current, current; - }, StringJsonLexer.prototype.f18 = function(expected) { - -1 === this.u13_1 && this.q1a(expected); - for (var source = this.a1b_1; this.u13_1 < source.length; ) { - var tmp0_this = this, tmp1 = tmp0_this.u13_1; - tmp0_this.u13_1 = tmp1 + 1 | 0; - var c = charSequenceGet(source, tmp1); - if (!(equals(new Char(c), new Char(_Char___init__impl__6a9atx(32))) || equals(new Char(c), new Char(_Char___init__impl__6a9atx(10))) || equals(new Char(c), new Char(_Char___init__impl__6a9atx(13))) || equals(new Char(c), new Char(_Char___init__impl__6a9atx(9))))) { - if (equals(new Char(c), new Char(expected))) return Unit_getInstance(); - this.q1a(expected); - } - } - this.q1a(expected); - }, StringJsonLexer.prototype.l18 = function() { - this.f18(get_STRING()); - var current = this.u13_1, tmp = _Char___init__impl__6a9atx(34), closingQuote = indexOf$default(this.a1b_1, tmp, current, !1, 4, null); - -1 === closingQuote && this.p1a(get_TC_STRING()); - var inductionVariable = current; - if (inductionVariable < closingQuote) do { - var i = inductionVariable; - if (inductionVariable = inductionVariable + 1 | 0, equals(new Char(charSequenceGet(this.a1b_1, i)), new Char(get_STRING_ESC()))) return this.consumeString2(this.a1b_1, this.u13_1, i); - } while (inductionVariable < closingQuote); - return this.u13_1 = closingQuote + 1 | 0, this.a1b_1.substring(current, closingQuote); - }, StringJsonLexer.prototype.n18 = function(keyToMatch, isLenient) { - var positionSnapshot = this.u13_1; + }, protoOf(DispatchedTask).jj = function(exception, finallyException) { + if (null === exception && null === finallyException) return Unit_instance; + null !== exception && null !== finallyException && addSuppressed(exception, finallyException); + var cause = null == exception ? finallyException : exception, reason = new CoroutinesInternalError("Fatal exception in coroutines machinery for " + toString(this) + ". Please read KDoc to 'handleFatalException' method and report this incident to maintainers", ensureNotNull(cause)); + handleCoroutineException(this.ri().b7(), reason); + }, protoOf(ScopeCoroutine).zg = function() { + return !0; + }, protoOf(ScopeCoroutine).zf = function(state) { + resumeCancellableWith(intercepted(this.mn_1), recoverResult(state, this.mn_1)); + }, protoOf(ScopeCoroutine).yf = function(state) { + this.mn_1.g7(recoverResult(state, this.mn_1)); + }, protoOf(Symbol).toString = function() { + return "<" + this.rn_1 + ">"; + }, protoOf(NodeDispatcher).un = function() { + process.nextTick(this.bo_1.zn_1); + }, protoOf(ScheduledMessageQueue).go = function() { + this.yn_1.un(); + }, protoOf(ScheduledMessageQueue).ho = function() { + setTimeout(this.zn_1, 0); + }, protoOf(ScheduledMessageQueue).io = function(timeout) { + setTimeout(this.zn_1, timeout); + }, protoOf(WindowMessageQueue).go = function() { + var this$0; + Promise.resolve(Unit_instance).then((this$0 = this, function(it) { + return this$0.fo(), Unit_instance; + })); + }, protoOf(WindowMessageQueue).ho = function() { + this.qo_1.postMessage(this.ro_1, "*"); + }, protoOf(Dispatchers).en = function() { + var tmp0_elvis_lhs = this.dn_1; + return null == tmp0_elvis_lhs ? this.cn_1 : tmp0_elvis_lhs; + }, protoOf(JsMainDispatcher).ym = function() { + return this.vo_1; + }, protoOf(JsMainDispatcher).qj = function(context) { + return !this.uo_1; + }, protoOf(JsMainDispatcher).rj = function(context, block) { + return this.to_1.rj(context, block); + }, protoOf(JsMainDispatcher).toString = function() { + var tmp0_elvis_lhs = this.zm(); + return null == tmp0_elvis_lhs ? this.to_1.toString() : tmp0_elvis_lhs; + }, protoOf(UnconfinedEventLoop).rj = function(context, block) { + !function() { + throw UnsupportedOperationException_init_$Create$("runBlocking event loop is not supported"); + }(); + }, protoOf(JobCancellationException).toString = function() { + return protoOf(CancellationException).toString.call(this) + "; job=" + toString(this.ap_1); + }, protoOf(JobCancellationException).equals = function(other) { + var tmp; + other === this ? tmp = !0 : tmp = !!(!!(other instanceof JobCancellationException && other.message == this.message) && equals(other.ap_1, this.ap_1)) && equals(other.cause, this.cause); + return tmp; + }, protoOf(JobCancellationException).hashCode = function() { + var tmp = imul(imul(getStringHashCode(ensureNotNull(this.message)), 31) + hashCode(this.ap_1) | 0, 31), tmp0_safe_receiver = this.cause, tmp1_elvis_lhs = null == tmp0_safe_receiver ? null : hashCode(tmp0_safe_receiver); + return tmp + (null == tmp1_elvis_lhs ? 0 : tmp1_elvis_lhs) | 0; + }, protoOf(SetTimeoutDispatcher).un = function() { + this.bo_1.io(0); + }, protoOf(SetTimeoutBasedDispatcher).rj = function(context, block) { + this.bo_1.mo(block); + }, protoOf(MessageQueue).k = function() { + return this.co_1.pb_1; + }, protoOf(MessageQueue).jo = function(element) { + return this.co_1.e(element); + }, protoOf(MessageQueue).e = function(element) { + return this.jo(null != element && isInterface(element, Runnable) ? element : THROW_CCE()); + }, protoOf(MessageQueue).ko = function(elements) { + return this.co_1.o(elements); + }, protoOf(MessageQueue).o = function(elements) { + return this.ko(elements); + }, protoOf(MessageQueue).p1 = function() { + this.co_1.p1(); + }, protoOf(MessageQueue).lo = function(elements) { + return this.co_1.e1(elements); + }, protoOf(MessageQueue).e1 = function(elements) { + return this.lo(elements); + }, protoOf(MessageQueue).p = function(index) { + return this.co_1.p(index); + }, protoOf(MessageQueue).q = function() { + return this.co_1.q(); + }, protoOf(MessageQueue).h = function() { + return this.co_1.h(); + }, protoOf(MessageQueue).t2 = function(index) { + return this.co_1.t2(index); + }, protoOf(MessageQueue).mo = function(element) { + this.jo(element), this.eo_1 || (this.eo_1 = !0, this.go()); + }, protoOf(MessageQueue).fo = function() { try { - return this.y16() !== get_TC_BEGIN_OBJ() ? null : (isLenient ? this.l18() : this.m18()) === keyToMatch ? this.y16() !== get_TC_COLON() ? null : isLenient ? this.v16() : this.m18() : null; + var times = this.do_1, inductionVariable = 0; + if (inductionVariable < times) do { + inductionVariable = inductionVariable + 1 | 0; + var tmp0_elvis_lhs = removeFirstOrNull(this); + if (null == tmp0_elvis_lhs) return Unit_instance; + tmp0_elvis_lhs.ij(); + } while (inductionVariable < times); } finally { - this.u13_1 = positionSnapshot; - } - }, JsonToStringWriter.prototype.k15 = function(value) { - this.l13_1.ua(value); - }, JsonToStringWriter.prototype.g15 = function(char) { - this.l13_1.p4(char); - }, JsonToStringWriter.prototype.i15 = function(text) { - this.l13_1.va(text); - }, JsonToStringWriter.prototype.n15 = function(text) { - printQuoted(this.l13_1, text); - }, JsonToStringWriter.prototype.mi = function() { - this.l13_1.xa(); - }, JsonToStringWriter.prototype.toString = function() { - return this.l13_1.toString(); - }, StreamingJsonDecoder.prototype.sx = decodeSerializableElement$default, StreamingJsonDecoder.prototype.ux = decodeSequentially, - StreamingJsonDecoder.prototype.wx = decodeCollectionSize, StreamingJsonEncoder.prototype.iy = beginCollection, - AbstractJsonTreeDecoder.prototype.sx = decodeSerializableElement$default, AbstractJsonTreeDecoder.prototype.ux = decodeSequentially, - AbstractJsonTreeDecoder.prototype.wx = decodeCollectionSize, JsonTreeDecoder.prototype.sx = decodeSerializableElement$default, - JsonTreeDecoder.prototype.ux = decodeSequentially, JsonTreeDecoder.prototype.wx = decodeCollectionSize, - JsonTreeListDecoder.prototype.sx = decodeSerializableElement$default, JsonTreeListDecoder.prototype.ux = decodeSequentially, - JsonTreeListDecoder.prototype.wx = decodeCollectionSize, JsonTreeMapDecoder.prototype.sx = decodeSerializableElement$default, - JsonTreeMapDecoder.prototype.ux = decodeSequentially, JsonTreeMapDecoder.prototype.wx = decodeCollectionSize, - TC_WHITESPACE = 3, TC_EOF = 10, STRING = _Char___init__impl__6a9atx(34), TC_STRING = 1, - STRING_ESC = _Char___init__impl__6a9atx(92), TC_BEGIN_OBJ = 6, TC_COLON = 5, TC_COMMA = 4, - COLON = _Char___init__impl__6a9atx(58), BEGIN_OBJ = _Char___init__impl__6a9atx(123), - END_OBJ = _Char___init__impl__6a9atx(125), BEGIN_LIST = _Char___init__impl__6a9atx(91), - END_LIST = _Char___init__impl__6a9atx(93), lenientHint = "Use 'isLenient = true' in 'Json {}` builder to accept non-compliant JSON.", - INVALID = _Char___init__impl__6a9atx(0), COMMA = _Char___init__impl__6a9atx(44), - NULL = "null", TC_END_OBJ = 7, TC_BEGIN_LIST = 8, TC_END_LIST = 9, TC_OTHER = 0, - ignoreUnknownKeysHint = "Use 'ignoreUnknownKeys = true' in 'Json {}' builder to ignore unknown keys.", - allowStructuredMapKeysHint = "Use 'allowStructuredMapKeys = true' in 'Json {}' builder to convert such maps to [key1, value1, key2, value2,...] arrays.", - _.$_$ = _.$_$ || {}, _.$_$.a = Default_getInstance, _; - }) ? __WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__) : __WEBPACK_AMD_DEFINE_FACTORY__) || (module.exports = __WEBPACK_AMD_DEFINE_RESULT__); + this.q() ? this.eo_1 = !1 : this.ho(); + } + }, protoOf(WindowDispatcher).rj = function(context, block) { + return this.fp_1.mo(block); + }, protoOf(LinkedListHead).wk = function() { + throw UnsupportedOperationException_init_$Create$_0(); + }, protoOf(LinkedListNode).xk = function(node) { + var prev = this.rk_1; + node.qk_1 = this, node.rk_1 = prev, prev.qk_1 = node, this.rk_1 = node; + }, protoOf(LinkedListNode).wk = function() { + return this.yk(); + }, protoOf(LinkedListNode).ti = function() { + this.wk(); + }, protoOf(LinkedListNode).yk = function() { + if (this.sk_1) return !1; + var prev = this.rk_1, next = this.qk_1; + return prev.qk_1 = next, next.rk_1 = prev, this.sk_1 = !0, !0; + }, protoOf(LinkedListNode).el = function(node) { + return this.qk_1 === this && (this.xk(node), !0); + }, protoOf(CommonThreadLocal).ik = function() { + var tmp = this.hk_1; + return null == tmp || null != tmp ? tmp : THROW_CCE(); + }, protoOf(CommonThreadLocal).jk = function(value) { + this.hk_1 = value; + }, protoOf(JobSupport).ud = plus, protoOf(JobSupport).i7 = get_0, protoOf(JobSupport).td = fold, + protoOf(JobSupport).sd = minusKey_0, protoOf(CoroutineDispatcher).i7 = get, protoOf(CoroutineDispatcher).sd = minusKey, + Active_instance = new Active, Key_instance_1 = new Key_0, GlobalScope_instance = new GlobalScope, + Key_instance_2 = new Key_1, NonDisposableHandle_instance = new NonDisposableHandle, + Key_instance_3 = new Key_2, counter = 0, DEBUG = !1, new TaskContext, _.$_$ = _.$_$ || {}, + _.$_$.a = function(_this__u8e3s4, $completion) { + var cancellable = new CancellableContinuationImpl(intercepted($completion), 1); + cancellable.si(); + var $cont, tmp = ($cont = cancellable, function(it) { + var this_0 = $cont, tmp$ret$0 = _Result___init__impl__xyqfz8(it); + return this_0.g7(tmp$ret$0), Unit_instance; + }); + return _this__u8e3s4.then(tmp, function($cont) { + return function(it) { + var this_0 = $cont, tmp$ret$0 = _Result___init__impl__xyqfz8(createFailure(it)); + return this_0.g7(tmp$ret$0), Unit_instance; + }; + }(cancellable)), cancellable.bj(); + }, _.$_$.b = function(block, $completion) { + var coroutine = new SupervisorCoroutine($completion.b7(), $completion); + return function(_this__u8e3s4, receiver, block) { + var tmp$ret$3; + var tmp; + try { + tmp = "function" == typeof block ? block(receiver, _this__u8e3s4) : block.c8(receiver, _this__u8e3s4); + } catch ($p) { + if (!($p instanceof Error)) throw $p; + tmp = new CompletedExceptionally($p); + } + var result = tmp; + if (result !== get_COROUTINE_SUSPENDED()) { + var state = _this__u8e3s4.xf(result); + if (state !== get_COMPLETING_WAITING_CHILDREN()) { + var tmp_1; + if (state instanceof CompletedExceptionally) throw state.uf_1, recoverStackTrace(state.uf_1, _this__u8e3s4.mn_1); + tmp_1 = function(_this__u8e3s4) { + _init_properties_JobSupport_kt__68f172(); + var tmp0_safe_receiver = _this__u8e3s4 instanceof IncompleteStateBox ? _this__u8e3s4 : null, tmp1_elvis_lhs = null == tmp0_safe_receiver ? null : tmp0_safe_receiver.rm_1; + return null == tmp1_elvis_lhs ? _this__u8e3s4 : tmp1_elvis_lhs; + }(state), tmp$ret$3 = tmp_1; + } else tmp$ret$3 = get_COROUTINE_SUSPENDED(); + } else tmp$ret$3 = get_COROUTINE_SUSPENDED(); + return tmp$ret$3; + }(coroutine, coroutine, block); + }, _.$_$.c = GlobalScope_instance, _.$_$.d = CoroutineScope, _.$_$.e = function(_this__u8e3s4, context, start, block) { + context = context === VOID ? EmptyCoroutineContext_getInstance() : context, start = start === VOID ? (CoroutineStart_initEntries(), + CoroutineStart_DEFAULT_instance) : start; + var newContext = function(_this__u8e3s4, context) { + var combined = _this__u8e3s4.of().ud(context); + return combined !== Dispatchers_getInstance().an_1 && null == combined.i7(Key_instance) ? combined.ud(Dispatchers_getInstance().an_1) : combined; + }(_this__u8e3s4, context), coroutine = start.dh() ? new LazyStandaloneCoroutine(newContext, block) : new StandaloneCoroutine(newContext, !0); + return coroutine.cg(start, coroutine, block), coroutine; + }; + }(module.exports, __webpack_require__(7036), __webpack_require__(1426)); }, - 7646: function(module, exports, __webpack_require__) { - var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; - __WEBPACK_AMD_DEFINE_ARRAY__ = [ exports, __webpack_require__(8744), __webpack_require__(2868) ], - void 0 === (__WEBPACK_AMD_DEFINE_RESULT__ = "function" == typeof (__WEBPACK_AMD_DEFINE_FACTORY__ = function(_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_atomicfu) { + 9539: (module, __unused_webpack_exports, __webpack_require__) => { + !function(_, kotlin_kotlin) { "use strict"; - var Active_instance, Key_instance, Key_instance_0, GlobalScope_instance, CoroutineStart_DEFAULT_instance, CoroutineStart_LAZY_instance, CoroutineStart_entriesInitialized, ThreadLocalEventLoop_instance, Key_instance_1, NonDisposableHandle_instance, COMPLETING_ALREADY, COMPLETING_WAITING_CHILDREN, COMPLETING_RETRY, TOO_LATE_TO_CANCEL, SEALED, EMPTY_NEW, EMPTY_ACTIVE, properties_initialized_JobSupport_kt_5iq8a4, Unconfined_instance, Key_instance_2, UNDEFINED, REUSABLE_CLAIMED, properties_initialized_DispatchedContinuation_kt_2siadq, MODE_CANCELLABLE, MODE_UNINITIALIZED, MODE_ATOMIC, counter, DEBUG, Dispatchers_instance, NodeDispatcher_instance, SetTimeoutDispatcher_instance, imul = Math.imul, THROW_CCE = kotlin_kotlin.$_$.v6, isObject = kotlin_kotlin.$_$.h5, Unit_getInstance = kotlin_kotlin.$_$.d2, plus = kotlin_kotlin.$_$.l4, get = kotlin_kotlin.$_$.i4, fold = kotlin_kotlin.$_$.h4, minusKey = kotlin_kotlin.$_$.j4, Continuation = kotlin_kotlin.$_$.g4, classMeta = kotlin_kotlin.$_$.x4, setMetadataFor = kotlin_kotlin.$_$.o5, EmptyCoroutineContext_getInstance = kotlin_kotlin.$_$.a2, createCoroutineUnintercepted = kotlin_kotlin.$_$.y3, isInterface = kotlin_kotlin.$_$.g5, IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.m1, toString = kotlin_kotlin.$_$.j7, toString_0 = kotlin_kotlin.$_$.r5, atomic$int$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.c, atomic$ref$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.b, get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.x3, objectMeta = kotlin_kotlin.$_$.n5, interfaceMeta = kotlin_kotlin.$_$.e5, hashCode = kotlin_kotlin.$_$.d5, equals = kotlin_kotlin.$_$.y4, atomic$boolean$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.a, CancellationException_init_$Create$ = kotlin_kotlin.$_$.c1, Result__exceptionOrNull_impl_p6xea9 = kotlin_kotlin.$_$.x1, _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.y1, Companion_getInstance = kotlin_kotlin.$_$.c2, _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.w1, createFailure = kotlin_kotlin.$_$.z6, AbstractCoroutineContextKey = kotlin_kotlin.$_$.c4, Key_getInstance = kotlin_kotlin.$_$.z1, AbstractCoroutineContextElement = kotlin_kotlin.$_$.b4, get_0 = kotlin_kotlin.$_$.d4, minusKey_0 = kotlin_kotlin.$_$.e4, ContinuationInterceptor = kotlin_kotlin.$_$.f4, RuntimeException_init_$Create$ = kotlin_kotlin.$_$.q1, Enum = kotlin_kotlin.$_$.q6, startCoroutine = kotlin_kotlin.$_$.n4, noWhenBranchMatchedException = kotlin_kotlin.$_$.e7, Long = kotlin_kotlin.$_$.t6, RuntimeException = kotlin_kotlin.$_$.u6, RuntimeException_init_$Init$ = kotlin_kotlin.$_$.p1, captureStack = kotlin_kotlin.$_$.r4, Error_0 = kotlin_kotlin.$_$.r6, Error_init_$Init$ = kotlin_kotlin.$_$.i1, Element = kotlin_kotlin.$_$.k4, StringBuilder_init_$Create$ = kotlin_kotlin.$_$.h1, throwUninitializedPropertyAccessException = kotlin_kotlin.$_$.i7, ArrayList_init_$Create$ = kotlin_kotlin.$_$.r, CancellationException = kotlin_kotlin.$_$.w3, ArrayList = kotlin_kotlin.$_$.e2, IllegalStateException_init_$Create$_0 = kotlin_kotlin.$_$.n1, anyToString = kotlin_kotlin.$_$.o4, UnsupportedOperationException = kotlin_kotlin.$_$.x6, UnsupportedOperationException_init_$Create$ = kotlin_kotlin.$_$.r1, fillArrayVal = kotlin_kotlin.$_$.a5, arrayCopy = kotlin_kotlin.$_$.k2, IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.k1, ensureNotNull = kotlin_kotlin.$_$.a7, intercepted = kotlin_kotlin.$_$.z3, getKClassFromExpression = kotlin_kotlin.$_$.a, CancellationException_init_$Init$ = kotlin_kotlin.$_$.d1, getStringHashCode = kotlin_kotlin.$_$.c5, HashSet_init_$Create$ = kotlin_kotlin.$_$.w; - function invokeOnCompletion$default(onCancelling, invokeImmediately, handler, $mask0, $handler) { - return 0 != (1 & $mask0) && (onCancelling = !1), 0 != (2 & $mask0) && (invokeImmediately = !0), - null == $handler ? this.rf(onCancelling, invokeImmediately, handler) : $handler(onCancelling, invokeImmediately, handler); + var ENUM_instance, CONTEXTUAL_instance, INT_instance, LONG_instance, STRING_instance, CLASS_instance, LIST_instance, MAP_instance, OBJECT_instance, Companion_instance, EMPTY_DESCRIPTOR_ARRAY, properties_initialized_Platform_common_kt_i7q4ty, EMPTY_SERIALIZER_ARRAY, properties_initialized_PluginHelperInterfaces_kt_ap8in1, StringSerializer_instance, LongSerializer_instance, IntSerializer_instance, EmptySerializersModule, properties_initialized_SerializersModule_kt_fjigjn, imul = Math.imul, protoOf = kotlin_kotlin.$_$.t5, initMetadataForInterface = kotlin_kotlin.$_$.h5, VOID = kotlin_kotlin.$_$.c, getKClassFromExpression = kotlin_kotlin.$_$.a, initMetadataForClass = kotlin_kotlin.$_$.e5, KProperty1 = kotlin_kotlin.$_$.e6, getPropertyCallableRef = kotlin_kotlin.$_$.b5, IllegalArgumentException_init_$Init$ = kotlin_kotlin.$_$.y, objectCreate = kotlin_kotlin.$_$.s5, captureStack = kotlin_kotlin.$_$.q4, IllegalArgumentException_init_$Init$_0 = kotlin_kotlin.$_$.z, IllegalArgumentException_init_$Init$_1 = kotlin_kotlin.$_$.b1, IllegalArgumentException = kotlin_kotlin.$_$.o7, toString = kotlin_kotlin.$_$.v5, emptyList = kotlin_kotlin.$_$.l2, isBlank = kotlin_kotlin.$_$.m6, IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.a1, equals = kotlin_kotlin.$_$.x4, toList = kotlin_kotlin.$_$.n3, ArrayList_init_$Create$ = kotlin_kotlin.$_$.h, HashSet_init_$Create$ = kotlin_kotlin.$_$.m, toHashSet = kotlin_kotlin.$_$.l3, copyToArray = kotlin_kotlin.$_$.k2, toBooleanArray = kotlin_kotlin.$_$.k3, withIndex = kotlin_kotlin.$_$.p3, collectionSizeOrDefault = kotlin_kotlin.$_$.f2, ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.g, to = kotlin_kotlin.$_$.h8, Unit_instance = kotlin_kotlin.$_$.w1, toMap = kotlin_kotlin.$_$.o3, lazy = kotlin_kotlin.$_$.a8, contentEquals = kotlin_kotlin.$_$.g2, until = kotlin_kotlin.$_$.d6, joinToString = kotlin_kotlin.$_$.u2, initMetadataForObject = kotlin_kotlin.$_$.j5, ensureNotNull = kotlin_kotlin.$_$.x7, getStringHashCode = kotlin_kotlin.$_$.c5, THROW_CCE = kotlin_kotlin.$_$.r7, Long = kotlin_kotlin.$_$.p7, toIntOrNull = kotlin_kotlin.$_$.b7, hashCode = kotlin_kotlin.$_$.d5, IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.c1, ArrayList = kotlin_kotlin.$_$.x1, ArrayList_init_$Create$_1 = kotlin_kotlin.$_$.i, KtList = kotlin_kotlin.$_$.a2, isInterface = kotlin_kotlin.$_$.l5, KtMap = kotlin_kotlin.$_$.b2, LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.o, LinkedHashMap = kotlin_kotlin.$_$.z1, LinkedHashMap_init_$Create$_0 = kotlin_kotlin.$_$.p, Collection = kotlin_kotlin.$_$.y1, step = kotlin_kotlin.$_$.c6, KtMutableMap = kotlin_kotlin.$_$.c2, getValue = kotlin_kotlin.$_$.r2, longArray = kotlin_kotlin.$_$.m5, initMetadataForCompanion = kotlin_kotlin.$_$.f5, get_lastIndex = kotlin_kotlin.$_$.w2, countTrailingZeroBits = kotlin_kotlin.$_$.v7, HashSet_init_$Create$_0 = kotlin_kotlin.$_$.l, contentHashCode = kotlin_kotlin.$_$.h2, HashMap_init_$Create$ = kotlin_kotlin.$_$.k, fillArrayVal = kotlin_kotlin.$_$.z4, booleanArray = kotlin_kotlin.$_$.p4, emptyMap = kotlin_kotlin.$_$.m2, LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.d, lazy_0 = kotlin_kotlin.$_$.z7, charSequenceLength = kotlin_kotlin.$_$.u4, lastOrNull = kotlin_kotlin.$_$.y2, get_lastIndex_0 = kotlin_kotlin.$_$.x2, get_indices = kotlin_kotlin.$_$.t2, IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.e1, get_indices_0 = kotlin_kotlin.$_$.s2; + function get_isNullable() { + return !1; } - function AbstractCoroutine(parentContext, initParentJob, active) { - JobSupport.call(this, active), initParentJob && this.me(parentContext.q3(Key_getInstance_2())), - this.pe_1 = parentContext.x3(this); + function get_isInline() { + return !1; } - function launch(_this__u8e3s4, context, start, block) { - var newContext = newCoroutineContext(_this__u8e3s4, context), coroutine = start.fg() ? new LazyStandaloneCoroutine(newContext, block) : new StandaloneCoroutine(newContext, !0); - return coroutine.ef(start, coroutine, block), coroutine; + function get_annotations() { + return emptyList(); } - function launch$default(_this__u8e3s4, context, start, block, $mask0, $handler) { - return 0 != (1 & $mask0) && (context = EmptyCoroutineContext_getInstance()), 0 != (2 & $mask0) && (start = CoroutineStart_DEFAULT_getInstance()), - launch(_this__u8e3s4, context, start, block); + function decodeSerializableValue(deserializer) { + return deserializer.ky(this); } - function StandaloneCoroutine(parentContext, active) { - AbstractCoroutine.call(this, parentContext, !0, active); + function decodeSequentially() { + return !1; } - function LazyStandaloneCoroutine(parentContext, block) { - StandaloneCoroutine.call(this, parentContext, !1), this.mg_1 = createCoroutineUnintercepted(block, this, this); + function decodeCollectionSize(descriptor) { + return -1; } - function _get_stateDebugRepresentation__bf18u4($this) { - var tmp0_subject = $this.kf(); - return null != tmp0_subject && isInterface(tmp0_subject, NotCompleted) ? "Active" : tmp0_subject instanceof CancelledContinuation ? "Cancelled" : "Completed"; + function decodeSerializableElement$default(descriptor, index, deserializer, previousValue, $super) { + return previousValue = previousValue === VOID ? null : previousValue, $super === VOID ? this.p10(descriptor, index, deserializer, previousValue) : $super.p10.call(this, descriptor, index, deserializer, previousValue); } - function isReusable($this) { - var tmp; - if (get_isReusableMode($this.ah_1)) { - var tmp_0 = $this.og_1; - tmp = (tmp_0 instanceof DispatchedContinuation ? tmp_0 : THROW_CCE()).zg(); - } else tmp = !1; - return tmp; + function typeParametersSerializers() { + return get_EMPTY_SERIALIZER_ARRAY(); } - function cancelLater($this, cause) { - if (!isReusable($this)) return !1; - var tmp = $this.og_1; - return (tmp instanceof DispatchedContinuation ? tmp : THROW_CCE()).bh(cause); + function KSerializer() {} + function SerializationStrategy() {} + function DeserializationStrategy() {} + function SealedClassSerializer() {} + function SerializationException_init_$Init$_0(message, $this) { + return IllegalArgumentException_init_$Init$_0(message, $this), SerializationException.call($this), + $this; } - function trySuspend($this) { - for (var tmp0_loop = $this.qg_1; ;) switch (tmp0_loop.kotlinx$atomicfu$value) { - case 0: - if ($this.qg_1.atomicfu$compareAndSet(0, 1)) return !0; - break; - - case 2: - return !1; - - default: - throw IllegalStateException_init_$Create$("Already suspended"); - } + function SerializationException_init_$Create$_0(message) { + var tmp = SerializationException_init_$Init$_0(message, objectCreate(protoOf(SerializationException))); + return captureStack(tmp, SerializationException_init_$Create$_0), tmp; } - function tryResume($this) { - for (var tmp0_loop = $this.qg_1; ;) switch (tmp0_loop.kotlinx$atomicfu$value) { - case 0: - if ($this.qg_1.atomicfu$compareAndSet(0, 2)) return !0; - break; - - case 1: - return !1; - - default: - throw IllegalStateException_init_$Create$("Already resumed"); - } + function SerializationException() { + captureStack(this, SerializationException); } - function installParentHandle($this) { - var tmp0_elvis_lhs = $this.m3().q3(Key_getInstance_2()); - if (null == tmp0_elvis_lhs) return null; - var tmp$ret$1, parent = tmp0_elvis_lhs; - tmp$ret$1 = new ChildContinuation($this); - var handle = parent.sf(!0, !1, tmp$ret$1, 2, null); - return $this.sg_1 = handle, handle; - } - function releaseClaimedReusableContinuation($this) { - var tmp = $this.og_1, tmp0_safe_receiver = tmp instanceof DispatchedContinuation ? tmp : null, tmp1_elvis_lhs = null == tmp0_safe_receiver ? null : tmp0_safe_receiver.ch($this); - if (null == tmp1_elvis_lhs) return Unit_getInstance(); - var cancellationCause = tmp1_elvis_lhs; - $this.dh(), $this.eh(cancellationCause); + function UnknownFieldException(message) { + SerializationException_init_$Init$_0(message, this), captureStack(this, UnknownFieldException); } - function dispatchResume($this, mode) { - if (tryResume($this)) return Unit_getInstance(); - dispatch($this, mode); + function MissingFieldException_init_$Create$(missingFields, serialName) { + var tmp = function(missingFields, serialName, $this) { + return MissingFieldException.call($this, missingFields, 1 === missingFields.k() ? "Field '" + missingFields.p(0) + "' is required for type with serial name '" + serialName + "', but it was missing" : "Fields " + toString(missingFields) + " are required for type with serial name '" + serialName + "', but they were missing", null), + $this; + }(missingFields, serialName, objectCreate(protoOf(MissingFieldException))); + return captureStack(tmp, MissingFieldException_init_$Create$), tmp; } - function resumedState($this, state, proposedUpdate, resumeMode, onCancellation, idempotent) { - var tmp; - if (proposedUpdate instanceof CompletedExceptionally) tmp = proposedUpdate; else if (get_isCancellableMode(resumeMode) || null != idempotent) { - tmp = null != onCancellation || state instanceof CancelHandler && !(state instanceof BeforeResumeCancelHandler) || null != idempotent ? CompletedContinuation_init_$Create$(proposedUpdate, state instanceof CancelHandler ? state : null, onCancellation, idempotent, null, 16, null) : proposedUpdate; - } else tmp = proposedUpdate; - return tmp; + function MissingFieldException(missingFields, message, cause) { + !function(message, cause, $this) { + IllegalArgumentException_init_$Init$_1(message, cause, $this), SerializationException.call($this); + }(message, cause, this), captureStack(this, MissingFieldException), this.py_1 = missingFields; } - function resumeImpl($this, proposedUpdate, resumeMode, onCancellation) { - for (var tmp0_loop = $this.rg_1; ;) $l$block: { - var tmp1__anonymous__uwfjfc = tmp0_loop.kotlinx$atomicfu$value, tmp0_subject = tmp1__anonymous__uwfjfc; - if (null != tmp0_subject && isInterface(tmp0_subject, NotCompleted)) { - var update = resumedState($this, tmp1__anonymous__uwfjfc, proposedUpdate, resumeMode, onCancellation, null); - if (!$this.rg_1.atomicfu$compareAndSet(tmp1__anonymous__uwfjfc, update)) { - Unit_getInstance(); - break $l$block; - } - return detachChildIfNonResuable($this), dispatchResume($this, resumeMode), Unit_getInstance(); - } - if (tmp0_subject instanceof CancelledContinuation && tmp1__anonymous__uwfjfc.jh()) { - var tmp1_safe_receiver = onCancellation; - return null == tmp1_safe_receiver || ($this.fh(tmp1_safe_receiver, tmp1__anonymous__uwfjfc.we_1), - Unit_getInstance()), Unit_getInstance(); - } - alreadyResumedError($this, proposedUpdate); - } + function ContextDescriptor() {} + function get_capturedKClass(_this__u8e3s4) { + return _this__u8e3s4 instanceof ContextDescriptor ? _this__u8e3s4.sy_1 : _this__u8e3s4 instanceof SerialDescriptorForNullable ? get_capturedKClass(_this__u8e3s4.ry_1) : null; } - function resumeImpl$default($this, proposedUpdate, resumeMode, onCancellation, $mask0, $handler) { - return 0 != (8 & $mask0) && (onCancellation = null), resumeImpl($this, proposedUpdate, resumeMode, onCancellation); + function SerialDescriptor() {} + function elementDescriptors$1$1($this_elementDescriptors) { + this.fz_1 = $this_elementDescriptors, this.ez_1 = $this_elementDescriptors.xy(); } - function alreadyResumedError($this, proposedUpdate) { - var tmp0_error = "Already resumed, but proposed with update " + toString(proposedUpdate); - throw IllegalStateException_init_$Create$(toString_0(tmp0_error)); + function _no_name_provided__qut3iv($this_elementDescriptors) { + this.gz_1 = $this_elementDescriptors; } - function detachChildIfNonResuable($this) { - isReusable($this) || $this.dh(); + function ClassSerialDescriptorBuilder(serialName) { + this.hz_1 = serialName, this.iz_1 = !1, this.jz_1 = emptyList(), this.kz_1 = ArrayList_init_$Create$(), + this.lz_1 = HashSet_init_$Create$(), this.mz_1 = ArrayList_init_$Create$(), this.nz_1 = ArrayList_init_$Create$(), + this.oz_1 = ArrayList_init_$Create$(); } - function CancellableContinuationImpl(delegate, resumeMode) { - DispatchedTask.call(this, resumeMode), this.og_1 = delegate, this.pg_1 = this.og_1.m3(), - this.qg_1 = atomic$int$1(0), this.rg_1 = atomic$ref$1(Active_getInstance()), this.sg_1 = null; + function _get__hashCode__tgwhef($this) { + var this_0 = $this.a10_1; + return getPropertyCallableRef("_hashCode", 1, KProperty1, (function(receiver) { + return _get__hashCode__tgwhef(receiver); + }), null), this_0.g1(); } - function CancelHandler() {} - function Active() { - Active_instance = this; + function SerialDescriptorImpl(serialName, kind, elementsCount, typeParameters, builder) { + this.pz_1 = serialName, this.qz_1 = kind, this.rz_1 = elementsCount, this.sz_1 = builder.jz_1, + this.tz_1 = toHashSet(builder.kz_1); + var this_0 = builder.kz_1; + this.uz_1 = copyToArray(this_0), this.vz_1 = compactArray(builder.mz_1); + var this_1 = builder.nz_1; + this.wz_1 = copyToArray(this_1), this.xz_1 = toBooleanArray(builder.oz_1); + for (var this_2 = withIndex(this.uz_1), destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_2, 10)), tmp0_iterator = this_2.h(); tmp0_iterator.i(); ) { + var item = tmp0_iterator.j(), tmp$ret$2 = to(item.fc_1, item.ec_1); + destination.e(tmp$ret$2); + } + this.yz_1 = toMap(destination), this.zz_1 = compactArray(typeParameters); + var this$0; + this.a10_1 = lazy((this$0 = this, function() { + return hashCodeImpl(this$0, this$0.zz_1); + })); } - function Active_getInstance() { - return null == Active_instance && new Active, Active_instance; + function buildSerialDescriptor$lambda(_this__u8e3s4) { + return Unit_instance; } - function NotCompleted() {} - function CompletedContinuation_init_$Init$(result, cancelHandler, onCancellation, idempotentResume, cancelCause, $mask0, $marker, $this) { - return 0 != (2 & $mask0) && (cancelHandler = null), 0 != (4 & $mask0) && (onCancellation = null), - 0 != (8 & $mask0) && (idempotentResume = null), 0 != (16 & $mask0) && (cancelCause = null), - CompletedContinuation.call($this, result, cancelHandler, onCancellation, idempotentResume, cancelCause), - $this; + function ENUM() { + ENUM_instance = this, SerialKind.call(this); } - function CompletedContinuation_init_$Create$(result, cancelHandler, onCancellation, idempotentResume, cancelCause, $mask0, $marker) { - return CompletedContinuation_init_$Init$(result, cancelHandler, onCancellation, idempotentResume, cancelCause, $mask0, $marker, Object.create(CompletedContinuation.prototype)); + function CONTEXTUAL() { + CONTEXTUAL_instance = this, SerialKind.call(this); } - function CompletedContinuation(result, cancelHandler, onCancellation, idempotentResume, cancelCause) { - this.ph_1 = result, this.qh_1 = cancelHandler, this.rh_1 = onCancellation, this.sh_1 = idempotentResume, - this.th_1 = cancelCause; + function SerialKind() {} + function PolymorphicKind() {} + function INT() { + INT_instance = this, PrimitiveKind.call(this); } - function BeforeResumeCancelHandler() {} - function CompletedExceptionally_init_$Init$(cause, handled, $mask0, $marker, $this) { - return 0 != (2 & $mask0) && (handled = !1), CompletedExceptionally.call($this, cause, handled), - $this; + function LONG() { + LONG_instance = this, PrimitiveKind.call(this); } - function CompletedExceptionally_init_$Create$(cause, handled, $mask0, $marker) { - return CompletedExceptionally_init_$Init$(cause, handled, $mask0, $marker, Object.create(CompletedExceptionally.prototype)); + function STRING() { + STRING_instance = this, PrimitiveKind.call(this); } - function CompletedExceptionally(cause, handled) { - this.we_1 = cause, this.xe_1 = atomic$boolean$1(handled); + function PrimitiveKind() { + SerialKind.call(this); } - function CancelledContinuation(continuation, cause, handled) { - var tmp0_elvis_lhs = cause; - CompletedExceptionally.call(this, null == tmp0_elvis_lhs ? CancellationException_init_$Create$("Continuation " + continuation + " was cancelled normally") : tmp0_elvis_lhs, handled), - this.ih_1 = atomic$boolean$1(!1); + function CLASS() { + CLASS_instance = this, StructureKind.call(this); } - function toState(_this__u8e3s4, caller) { - var tmp, exception = Result__exceptionOrNull_impl_p6xea9(_this__u8e3s4); - if (null == exception) { - var tmp_0 = _Result___get_value__impl__bjfvqg(_this__u8e3s4); - tmp = null == tmp_0 || isObject(tmp_0) ? tmp_0 : THROW_CCE(); - } else tmp = CompletedExceptionally_init_$Create$(recoverStackTrace(exception, caller), !1, 2, null); - return tmp; + function CLASS_getInstance() { + return null == CLASS_instance && new CLASS, CLASS_instance; } - function toState_0(_this__u8e3s4, onCancellation) { - var tmp, exception = Result__exceptionOrNull_impl_p6xea9(_this__u8e3s4); - if (null == exception) { - var tmp_0 = _Result___get_value__impl__bjfvqg(_this__u8e3s4), tmp0__anonymous__q1qw7t = null == tmp_0 || isObject(tmp_0) ? tmp_0 : THROW_CCE(); - tmp = null != onCancellation ? new CompletedWithCancellation(tmp0__anonymous__q1qw7t, onCancellation) : tmp0__anonymous__q1qw7t; - } else tmp = CompletedExceptionally_init_$Create$(exception, !1, 2, null); - return tmp; + function LIST() { + LIST_instance = this, StructureKind.call(this); } - function toState$default(_this__u8e3s4, onCancellation, $mask0, $handler) { - return 0 != (1 & $mask0) && (onCancellation = null), toState_0(_this__u8e3s4, onCancellation); + function LIST_getInstance() { + return null == LIST_instance && new LIST, LIST_instance; } - function CompletedWithCancellation(result, onCancellation) { - this.hi_1 = result, this.ii_1 = onCancellation; + function MAP() { + MAP_instance = this, StructureKind.call(this); } - function recoverResult(state, uCont) { - var tmp; - if (state instanceof CompletedExceptionally) { - Companion_getInstance(); - var tmp1_failure = recoverStackTrace(state.we_1, uCont); - tmp = _Result___init__impl__xyqfz8(createFailure(tmp1_failure)); - } else { - Companion_getInstance(); - var tmp3_success = null == state || isObject(state) ? state : THROW_CCE(); - tmp = _Result___init__impl__xyqfz8(tmp3_success); - } - return tmp; + function MAP_getInstance() { + return null == MAP_instance && new MAP, MAP_instance; } - function CoroutineDispatcher$Key$_init_$lambda_akl8b5(it) { - return it instanceof CoroutineDispatcher ? it : null; + function OBJECT() { + OBJECT_instance = this, StructureKind.call(this); } - function Key() { - Key_instance = this; - var tmp = Key_getInstance(); - AbstractCoroutineContextKey.call(this, tmp, CoroutineDispatcher$Key$_init_$lambda_akl8b5); + function StructureKind() { + SerialKind.call(this); } - function Key_getInstance_0() { - return null == Key_instance && new Key, Key_instance; + function AbstractDecoder() {} + function AbstractEncoder() {} + function Decoder() {} + function CompositeDecoder() {} + function Encoder() {} + function AbstractPolymorphicSerializer() {} + function throwSubtypeNotRegistered_0(subClassName, baseClass) { + var scope = "in the polymorphic scope of '" + baseClass.e8() + "'"; + throw SerializationException_init_$Create$_0(null == subClassName ? "Class discriminator was missing and no default serializers were registered " + scope + "." : "Serializer for subclass '" + subClassName + "' is not found " + scope + ".\nCheck if class with serial name '" + subClassName + "' exists and serializer is registered in a corresponding SerializersModule.\nTo be registered automatically, class '" + subClassName + "' has to be '@Serializable', and the base class '" + baseClass.e8() + "' has to be sealed and '@Serializable'."); } - function CoroutineDispatcher() { - Key_getInstance_0(), AbstractCoroutineContextElement.call(this, Key_getInstance()); + function CachedNames() {} + function ArrayListClassDesc(elementDesc) { + ListLikeDescriptor.call(this, elementDesc); } - function handleCoroutineException(context, exception) { - try { - var tmp0_safe_receiver = context.q3(Key_getInstance_1()); - if (null != tmp0_safe_receiver) return tmp0_safe_receiver.ni(context, exception), - Unit_getInstance(); - } catch ($p) { - if ($p instanceof Error) return handleCoroutineExceptionImpl(context, handlerException(exception, $p)), - Unit_getInstance(); - throw $p; - } - handleCoroutineExceptionImpl(context, exception); + function LinkedHashMapClassDesc(keyDesc, valueDesc) { + MapLikeDescriptor.call(this, "kotlin.collections.LinkedHashMap", keyDesc, valueDesc); } - function Key_0() { - Key_instance_0 = this; + function ListLikeDescriptor(elementDescriptor) { + this.l11_1 = elementDescriptor, this.m11_1 = 1; } - function Key_getInstance_1() { - return null == Key_instance_0 && new Key_0, Key_instance_0; + function MapLikeDescriptor(serialName, keyDescriptor, valueDescriptor) { + this.n11_1 = serialName, this.o11_1 = keyDescriptor, this.p11_1 = valueDescriptor, + this.q11_1 = 2; } - function handlerException(originalException, thrownException) { - return originalException === thrownException ? originalException : RuntimeException_init_$Create$("Exception while trying to handle coroutine exception", thrownException); + function ArrayListSerializer(element) { + CollectionSerializer.call(this, element), this.s11_1 = new ArrayListClassDesc(element.iy()); } - function CoroutineScope() {} - function GlobalScope() { - GlobalScope_instance = this; + function LinkedHashMapSerializer(kSerializer, vSerializer) { + MapLikeSerializer.call(this, kSerializer, vSerializer), this.p12_1 = new LinkedHashMapClassDesc(kSerializer.iy(), vSerializer.iy()); } - function GlobalScope_getInstance() { - return null == GlobalScope_instance && new GlobalScope, GlobalScope_instance; + function CollectionSerializer(element) { + CollectionLikeSerializer.call(this, element); } - function CoroutineStart_initEntries() { - if (CoroutineStart_entriesInitialized) return Unit_getInstance(); - CoroutineStart_entriesInitialized = !0, CoroutineStart_DEFAULT_instance = new CoroutineStart("DEFAULT", 0), - CoroutineStart_LAZY_instance = new CoroutineStart("LAZY", 1), new CoroutineStart("ATOMIC", 2), - new CoroutineStart("UNDISPATCHED", 3); + function MapLikeSerializer(keySerializer, valueSerializer) { + AbstractCollectionSerializer.call(this), this.y12_1 = keySerializer, this.z12_1 = valueSerializer; } - function CoroutineStart(name, ordinal) { - Enum.call(this, name, ordinal); + function CollectionLikeSerializer(elementSerializer) { + AbstractCollectionSerializer.call(this), this.h12_1 = elementSerializer; } - function CoroutineStart_DEFAULT_getInstance() { - return CoroutineStart_initEntries(), CoroutineStart_DEFAULT_instance; + function AbstractCollectionSerializer() {} + function Companion() { + Companion_instance = this, this.c13_1 = longArray(0); } - function CoroutineStart_LAZY_getInstance() { - return CoroutineStart_initEntries(), CoroutineStart_LAZY_instance; + function Companion_getInstance() { + return null == Companion_instance && new Companion, Companion_instance; } - function delta($this, unconfined) { - return unconfined ? new Long(0, 1) : new Long(1, 0); + function ElementMarker(descriptor, readIfAbsent) { + Companion_getInstance(), this.d13_1 = descriptor, this.e13_1 = readIfAbsent; + var elementsCount = this.d13_1.xy(); + if (elementsCount <= 64) { + var tmp_0; + tmp_0 = 64 === elementsCount ? new Long(0, 0) : new Long(-1, -1).f2(elementsCount), + this.f13_1 = tmp_0, this.g13_1 = Companion_getInstance().c13_1; + } else this.f13_1 = new Long(0, 0), this.g13_1 = function($this, elementsCount) { + var elementsInLastSlot = 63 & elementsCount, highMarks = longArray((elementsCount - 1 | 0) >>> 6 | 0); + return 0 !== elementsInLastSlot && (highMarks[get_lastIndex(highMarks)] = new Long(-1, -1).f2(elementsCount)), + highMarks; + }(0, elementsCount); } - function EventLoop() { - CoroutineDispatcher.call(this), this.pi_1 = new Long(0, 0), this.qi_1 = !1, this.ri_1 = null; + function InlineClassDescriptor(name, generatedSerializer) { + PluginGeneratedSerialDescriptor.call(this, name, generatedSerializer, 1), this.v13_1 = !0; } - function ThreadLocalEventLoop() { - ThreadLocalEventLoop_instance = this, this.fj_1 = new CommonThreadLocal; + function InlinePrimitiveDescriptor$1($primitiveSerializer) { + this.k14_1 = $primitiveSerializer; } - function ThreadLocalEventLoop_getInstance() { - return null == ThreadLocalEventLoop_instance && new ThreadLocalEventLoop, ThreadLocalEventLoop_instance; + function SerialDescriptorForNullable() {} + function compactArray(_this__u8e3s4) { + var tmp; + _init_properties_Platform_common_kt__3qzecs(); + tmp = null == _this__u8e3s4 || _this__u8e3s4.q() ? null : _this__u8e3s4; + var tmp0_elvis_lhs = null == tmp ? null : copyToArray(tmp); + return null == tmp0_elvis_lhs ? (_init_properties_Platform_common_kt__3qzecs(), + EMPTY_DESCRIPTOR_ARRAY) : tmp0_elvis_lhs; } - function CompletionHandlerException(message, cause) { - RuntimeException_init_$Init$(message, cause, this), captureStack(this, CompletionHandlerException); + function _init_properties_Platform_common_kt__3qzecs() { + properties_initialized_Platform_common_kt_i7q4ty || (properties_initialized_Platform_common_kt_i7q4ty = !0, + EMPTY_DESCRIPTOR_ARRAY = []); } - function CoroutinesInternalError(message, cause) { - Error_init_$Init$(message, cause, this), captureStack(this, CoroutinesInternalError); + function hashCodeImpl(_this__u8e3s4, typeParams) { + var result = getStringHashCode(_this__u8e3s4.ty()); + result = imul(31, result) + contentHashCode(typeParams) | 0; + for (var elementDescriptors = function(_this__u8e3s4) { + return new _no_name_provided__qut3iv(_this__u8e3s4); + }(_this__u8e3s4), accumulator = 1, tmp0_iterator = elementDescriptors.h(); tmp0_iterator.i(); ) { + var element = tmp0_iterator.j(), tmp = imul(31, accumulator), tmp0_safe_receiver = element.ty(), tmp1_elvis_lhs = null == tmp0_safe_receiver ? null : hashCode(tmp0_safe_receiver); + accumulator = tmp + (null == tmp1_elvis_lhs ? 0 : tmp1_elvis_lhs) | 0; + } + for (var namesHash = accumulator, accumulator_0 = 1, tmp0_iterator_0 = elementDescriptors.h(); tmp0_iterator_0.i(); ) { + var element_0 = tmp0_iterator_0.j(), tmp_0 = imul(31, accumulator_0), tmp0_safe_receiver_0 = element_0.uy(), tmp1_elvis_lhs_0 = null == tmp0_safe_receiver_0 ? null : hashCode(tmp0_safe_receiver_0); + accumulator_0 = tmp_0 + (null == tmp1_elvis_lhs_0 ? 0 : tmp1_elvis_lhs_0) | 0; + } + var kindHash = accumulator_0; + return result = imul(31, result) + namesHash | 0, result = imul(31, result) + kindHash | 0; } - function Key_1() { - Key_instance_1 = this; + function _get_childSerializers__7vnyfa($this) { + var this_0 = $this.f14_1; + return getPropertyCallableRef("childSerializers", 1, KProperty1, (function(receiver) { + return _get_childSerializers__7vnyfa(receiver); + }), null), this_0.g1(); } - function Key_getInstance_2() { - return null == Key_instance_1 && new Key_1, Key_instance_1; + function _get__hashCode__tgwhef_0($this) { + var this_0 = $this.h14_1; + return getPropertyCallableRef("_hashCode", 1, KProperty1, (function(receiver) { + return _get__hashCode__tgwhef_0(receiver); + }), null), this_0.g1(); } - function Job() {} - function ParentJob() {} - function ChildHandle() {} - function NonDisposableHandle() { - NonDisposableHandle_instance = this; + function PluginGeneratedSerialDescriptor(serialName, generatedSerializer, elementsCount) { + generatedSerializer = generatedSerializer === VOID ? null : generatedSerializer, + this.w13_1 = serialName, this.x13_1 = generatedSerializer, this.y13_1 = elementsCount, + this.z13_1 = -1; + for (var tmp_0 = 0, tmp_1 = this.y13_1, tmp_2 = fillArrayVal(Array(tmp_1), null); tmp_0 < tmp_1; ) tmp_2[tmp_0] = "[UNINITIALIZED]", + tmp_0 = tmp_0 + 1 | 0; + this.a14_1 = tmp_2; + var size = this.y13_1; + this.b14_1 = fillArrayVal(Array(size), null), this.c14_1 = null, this.d14_1 = booleanArray(this.y13_1), + this.e14_1 = emptyMap(); + var this$0, tmp_5 = LazyThreadSafetyMode_PUBLICATION_getInstance(); + this.f14_1 = lazy_0(tmp_5, (this$0 = this, function() { + var tmp25_safe_receiver = this$0.x13_1, tmp0_elvis_lhs = null == tmp25_safe_receiver ? null : tmp25_safe_receiver.l14(); + return null == tmp0_elvis_lhs ? get_EMPTY_SERIALIZER_ARRAY() : tmp0_elvis_lhs; + })); + var tmp_7 = LazyThreadSafetyMode_PUBLICATION_getInstance(); + this.g14_1 = lazy_0(tmp_7, function(this$0) { + return function() { + var tmp, tmp26_safe_receiver = this$0.x13_1, tmp27_safe_receiver = null == tmp26_safe_receiver ? null : tmp26_safe_receiver.m14(); + if (null == tmp27_safe_receiver) tmp = null; else { + for (var destination = ArrayList_init_$Create$_0(tmp27_safe_receiver.length), inductionVariable = 0, last = tmp27_safe_receiver.length; inductionVariable < last; ) { + var item = tmp27_safe_receiver[inductionVariable]; + inductionVariable = inductionVariable + 1 | 0; + var tmp$ret$0 = item.iy(); + destination.e(tmp$ret$0); + } + tmp = destination; + } + return compactArray(tmp); + }; + }(this)); + var tmp_9 = LazyThreadSafetyMode_PUBLICATION_getInstance(); + this.h14_1 = lazy_0(tmp_9, function(this$0) { + return function() { + return hashCodeImpl(this$0, this$0.i14()); + }; + }(this)); } - function NonDisposableHandle_getInstance() { - return null == NonDisposableHandle_instance && new NonDisposableHandle, NonDisposableHandle_instance; + function get_EMPTY_SERIALIZER_ARRAY() { + return properties_initialized_PluginHelperInterfaces_kt_ap8in1 || (properties_initialized_PluginHelperInterfaces_kt_ap8in1 = !0, + EMPTY_SERIALIZER_ARRAY = []), EMPTY_SERIALIZER_ARRAY; } - function get_COMPLETING_ALREADY() { - return init_properties_JobSupport_kt_iaxwag(), COMPLETING_ALREADY; + function GeneratedSerializer() {} + function StringSerializer() { + StringSerializer_instance = this, this.n14_1 = new PrimitiveSerialDescriptor("kotlin.String", (null == STRING_instance && new STRING, + STRING_instance)); } - function get_COMPLETING_WAITING_CHILDREN() { - return init_properties_JobSupport_kt_iaxwag(), COMPLETING_WAITING_CHILDREN; + function StringSerializer_getInstance() { + return null == StringSerializer_instance && new StringSerializer, StringSerializer_instance; } - function get_COMPLETING_RETRY() { - return init_properties_JobSupport_kt_iaxwag(), COMPLETING_RETRY; + function LongSerializer() { + LongSerializer_instance = this, this.p14_1 = new PrimitiveSerialDescriptor("kotlin.Long", (null == LONG_instance && new LONG, + LONG_instance)); } - function get_TOO_LATE_TO_CANCEL() { - return init_properties_JobSupport_kt_iaxwag(), TOO_LATE_TO_CANCEL; + function IntSerializer() { + IntSerializer_instance = this, this.r14_1 = new PrimitiveSerialDescriptor("kotlin.Int", (null == INT_instance && new INT, + INT_instance)); } - function get_SEALED() { - return init_properties_JobSupport_kt_iaxwag(), SEALED; + function error($this) { + throw IllegalStateException_init_$Create$("Primitive descriptor does not have elements"); } - function get_EMPTY_NEW() { - return init_properties_JobSupport_kt_iaxwag(), EMPTY_NEW; + function PrimitiveSerialDescriptor(serialName, kind) { + this.t14_1 = serialName, this.u14_1 = kind; } - function get_EMPTY_ACTIVE() { - return init_properties_JobSupport_kt_iaxwag(), EMPTY_ACTIVE; + function NamedValueDecoder() { + TaggedDecoder.call(this); } - function Empty(isActive) { - this.kj_1 = isActive; + function TaggedDecoder() { + this.a15_1 = ArrayList_init_$Create$(), this.b15_1 = !1; } - function Incomplete() {} - function NodeList() { - LinkedListHead.call(this); + function get_EmptySerializersModuleLegacyJs() { + return properties_initialized_SerializersModule_kt_fjigjn || (properties_initialized_SerializersModule_kt_fjigjn = !0, + EmptySerializersModule = new SerialModuleImpl(emptyMap(), emptyMap(), emptyMap(), emptyMap(), emptyMap(), !1)), + EmptySerializersModule; } - function JobNode() { - CompletionHandlerBase.call(this); + function SerializersModule() {} + function SerialModuleImpl(class2ContextualFactory, polyBase2Serializers, polyBase2DefaultSerializerProvider, polyBase2NamedSerializers, polyBase2DefaultDeserializerProvider, hasInterfaceContextualSerializers) { + SerializersModule.call(this), this.n15_1 = class2ContextualFactory, this.o15_1 = polyBase2Serializers, + this.p15_1 = polyBase2DefaultSerializerProvider, this.q15_1 = polyBase2NamedSerializers, + this.r15_1 = polyBase2DefaultDeserializerProvider, this.s15_1 = hasInterfaceContextualSerializers; } - function _set_exceptionsHolder__tqm22h($this, value) { - $this.fk_1.kotlinx$atomicfu$value = value; + function EmptySerializersModule_0() { + return get_EmptySerializersModuleLegacyJs(); } - function _get_exceptionsHolder__nhszp($this) { - return $this.fk_1.kotlinx$atomicfu$value; + function getChecked(_this__u8e3s4, index) { + if (!(0 <= index && index <= (_this__u8e3s4.length - 1 | 0))) throw IndexOutOfBoundsException_init_$Create$("Index " + index + " out of bounds " + get_indices(_this__u8e3s4).toString()); + return _this__u8e3s4[index]; } - function allocateList($this) { - return ArrayList_init_$Create$(4); + function getChecked_0(_this__u8e3s4, index) { + if (!(0 <= index && index <= (_this__u8e3s4.length - 1 | 0))) throw IndexOutOfBoundsException_init_$Create$("Index " + index + " out of bounds " + get_indices_0(_this__u8e3s4).toString()); + return _this__u8e3s4[index]; } - function finalizeFinishingState($this, state, proposedUpdate) { - var tmp0_safe_receiver = proposedUpdate instanceof CompletedExceptionally ? proposedUpdate : null, proposedException = null == tmp0_safe_receiver ? null : tmp0_safe_receiver.we_1, wasCancelling = !1; - wasCancelling = state.gk(); - var exceptions = state.hk(proposedException), finalCause = getFinalRootCause($this, state, exceptions); - null != finalCause && addSuppressedExceptions($this, finalCause, exceptions); - var finalException = finalCause, finalState = null == finalException || finalException === proposedException ? proposedUpdate : CompletedExceptionally_init_$Create$(finalException, !1, 2, null); - return null != finalException && (cancelParent($this, finalException) || $this.dg(finalException)) && (finalState instanceof CompletedExceptionally ? finalState : THROW_CCE()).gi(), - wasCancelling || $this.ag(finalException), $this.ve(finalState), $this.ke_1.atomicfu$compareAndSet(state, boxIncomplete(finalState)), - completeStateFinalization($this, state, finalState), finalState; - } - function getFinalRootCause($this, state, exceptions) { - if (exceptions.l()) { - if (state.gk()) { - var tmp0_elvis_lhs = null; - return new JobCancellationException(null == tmp0_elvis_lhs ? $this.ue() : tmp0_elvis_lhs, null, $this); - } - return null; - } - var tmp$ret$2; - $l$block: { - for (var tmp0_iterator = exceptions.d(); tmp0_iterator.e(); ) { - var element = tmp0_iterator.f(); - if (!(element instanceof CancellationException)) { - tmp$ret$2 = element; - break $l$block; + initMetadataForInterface(SerializationStrategy, "SerializationStrategy"), initMetadataForInterface(DeserializationStrategy, "DeserializationStrategy"), + initMetadataForInterface(KSerializer, "KSerializer", VOID, VOID, [ SerializationStrategy, DeserializationStrategy ]), + initMetadataForClass(AbstractPolymorphicSerializer, "AbstractPolymorphicSerializer", VOID, VOID, [ KSerializer ]), + initMetadataForClass(SealedClassSerializer, "SealedClassSerializer", VOID, AbstractPolymorphicSerializer), + initMetadataForClass(SerializationException, "SerializationException", (function SerializationException_init_$Create$() { + var tmp = ($this = objectCreate(protoOf(SerializationException)), IllegalArgumentException_init_$Init$($this), + SerializationException.call($this), $this); + var $this; + return captureStack(tmp, SerializationException_init_$Create$), tmp; + }), IllegalArgumentException), initMetadataForClass(UnknownFieldException, "UnknownFieldException", VOID, SerializationException), + initMetadataForClass(MissingFieldException, "MissingFieldException", VOID, SerializationException), + initMetadataForInterface(SerialDescriptor, "SerialDescriptor"), initMetadataForClass(ContextDescriptor, "ContextDescriptor", VOID, VOID, [ SerialDescriptor ]), + initMetadataForClass(elementDescriptors$1$1), initMetadataForClass(_no_name_provided__qut3iv), + initMetadataForClass(ClassSerialDescriptorBuilder, "ClassSerialDescriptorBuilder"), + initMetadataForInterface(CachedNames, "CachedNames"), initMetadataForClass(SerialDescriptorImpl, "SerialDescriptorImpl", VOID, VOID, [ SerialDescriptor, CachedNames ]), + initMetadataForClass(SerialKind, "SerialKind"), initMetadataForObject(ENUM, "ENUM", VOID, SerialKind), + initMetadataForObject(CONTEXTUAL, "CONTEXTUAL", VOID, SerialKind), initMetadataForClass(PolymorphicKind, "PolymorphicKind", VOID, SerialKind), + initMetadataForClass(PrimitiveKind, "PrimitiveKind", VOID, SerialKind), initMetadataForObject(INT, "INT", VOID, PrimitiveKind), + initMetadataForObject(LONG, "LONG", VOID, PrimitiveKind), initMetadataForObject(STRING, "STRING", VOID, PrimitiveKind), + initMetadataForClass(StructureKind, "StructureKind", VOID, SerialKind), initMetadataForObject(CLASS, "CLASS", VOID, StructureKind), + initMetadataForObject(LIST, "LIST", VOID, StructureKind), initMetadataForObject(MAP, "MAP", VOID, StructureKind), + initMetadataForObject(OBJECT, "OBJECT", VOID, StructureKind), initMetadataForInterface(Decoder, "Decoder"), + initMetadataForInterface(CompositeDecoder, "CompositeDecoder"), initMetadataForClass(AbstractDecoder, "AbstractDecoder", VOID, VOID, [ Decoder, CompositeDecoder ]), + initMetadataForInterface(Encoder, "Encoder"), initMetadataForClass(AbstractEncoder, "AbstractEncoder", VOID, VOID, [ Encoder ]), + initMetadataForClass(ListLikeDescriptor, "ListLikeDescriptor", VOID, VOID, [ SerialDescriptor ]), + initMetadataForClass(ArrayListClassDesc, "ArrayListClassDesc", VOID, ListLikeDescriptor), + initMetadataForClass(MapLikeDescriptor, "MapLikeDescriptor", VOID, VOID, [ SerialDescriptor ]), + initMetadataForClass(LinkedHashMapClassDesc, "LinkedHashMapClassDesc", VOID, MapLikeDescriptor), + initMetadataForClass(AbstractCollectionSerializer, "AbstractCollectionSerializer", VOID, VOID, [ KSerializer ]), + initMetadataForClass(CollectionLikeSerializer, "CollectionLikeSerializer", VOID, AbstractCollectionSerializer), + initMetadataForClass(CollectionSerializer, "CollectionSerializer", VOID, CollectionLikeSerializer), + initMetadataForClass(ArrayListSerializer, "ArrayListSerializer", VOID, CollectionSerializer), + initMetadataForClass(MapLikeSerializer, "MapLikeSerializer", VOID, AbstractCollectionSerializer), + initMetadataForClass(LinkedHashMapSerializer, "LinkedHashMapSerializer", VOID, MapLikeSerializer), + initMetadataForCompanion(Companion), initMetadataForClass(ElementMarker, "ElementMarker"), + initMetadataForClass(PluginGeneratedSerialDescriptor, "PluginGeneratedSerialDescriptor", VOID, VOID, [ SerialDescriptor, CachedNames ]), + initMetadataForClass(InlineClassDescriptor, "InlineClassDescriptor", VOID, PluginGeneratedSerialDescriptor), + initMetadataForInterface(GeneratedSerializer, "GeneratedSerializer", VOID, VOID, [ KSerializer ]), + initMetadataForClass(InlinePrimitiveDescriptor$1, VOID, VOID, VOID, [ GeneratedSerializer ]), + initMetadataForClass(SerialDescriptorForNullable, "SerialDescriptorForNullable", VOID, VOID, [ SerialDescriptor, CachedNames ]), + initMetadataForObject(StringSerializer, "StringSerializer", VOID, VOID, [ KSerializer ]), + initMetadataForObject(LongSerializer, "LongSerializer", VOID, VOID, [ KSerializer ]), + initMetadataForObject(IntSerializer, "IntSerializer", VOID, VOID, [ KSerializer ]), + initMetadataForClass(PrimitiveSerialDescriptor, "PrimitiveSerialDescriptor", VOID, VOID, [ SerialDescriptor ]), + initMetadataForClass(TaggedDecoder, "TaggedDecoder", VOID, VOID, [ Decoder, CompositeDecoder ]), + initMetadataForClass(NamedValueDecoder, "NamedValueDecoder", VOID, TaggedDecoder), + initMetadataForClass(SerializersModule, "SerializersModule"), initMetadataForClass(SerialModuleImpl, "SerialModuleImpl", VOID, SerializersModule), + initMetadataForClass((function() {}), "SerializableWith", VOID, VOID, VOID, VOID, 0), + protoOf(SealedClassSerializer).iy = function() { + var this_0 = this.oy_1; + return getPropertyCallableRef("descriptor", 1, KProperty1, (function(receiver) { + return receiver.iy(); + }), null), this_0.g1(); + }, protoOf(elementDescriptors$1$1).i = function() { + return this.ez_1 > 0; + }, protoOf(elementDescriptors$1$1).j = function() { + var tmp = this.fz_1.xy(), _unary__edvuaz = this.ez_1; + return this.ez_1 = _unary__edvuaz - 1 | 0, this.fz_1.cz(tmp - _unary__edvuaz | 0); + }, protoOf(_no_name_provided__qut3iv).h = function() { + return new elementDescriptors$1$1(this.gz_1); + }, protoOf(SerialDescriptorImpl).ty = function() { + return this.pz_1; + }, protoOf(SerialDescriptorImpl).uy = function() { + return this.qz_1; + }, protoOf(SerialDescriptorImpl).xy = function() { + return this.rz_1; + }, protoOf(SerialDescriptorImpl).yy = function() { + return this.sz_1; + }, protoOf(SerialDescriptorImpl).b10 = function() { + return this.tz_1; + }, protoOf(SerialDescriptorImpl).zy = function(index) { + return getChecked(this.uz_1, index); + }, protoOf(SerialDescriptorImpl).az = function(name) { + var tmp0_elvis_lhs = this.yz_1.j1(name); + return null == tmp0_elvis_lhs ? -3 : tmp0_elvis_lhs; + }, protoOf(SerialDescriptorImpl).bz = function(index) { + return getChecked(this.wz_1, index); + }, protoOf(SerialDescriptorImpl).cz = function(index) { + return getChecked(this.vz_1, index); + }, protoOf(SerialDescriptorImpl).dz = function(index) { + return getChecked_0(this.xz_1, index); + }, protoOf(SerialDescriptorImpl).equals = function(other) { + var tmp$ret$0; + $l$block_5: if (this !== other) if (other instanceof SerialDescriptorImpl) if (this.ty() === other.ty()) if (contentEquals(this.zz_1, other.zz_1)) if (this.xy() === other.xy()) { + var inductionVariable = 0, last = this.xy(); + if (inductionVariable < last) do { + var index = inductionVariable; + if (inductionVariable = inductionVariable + 1 | 0, this.cz(index).ty() !== other.cz(index).ty()) { + tmp$ret$0 = !1; + break $l$block_5; } - } - tmp$ret$2 = null; - } - if (null != tmp$ret$2) return tmp$ret$2; - var first = exceptions.g(0); - if (first instanceof TimeoutCancellationException) { - var tmp$ret$4; - $l$block_0: { - for (var tmp0_iterator_0 = exceptions.d(); tmp0_iterator_0.e(); ) { - var element_0 = tmp0_iterator_0.f(); - if (element_0 !== first && element_0 instanceof TimeoutCancellationException) { - tmp$ret$4 = element_0; - break $l$block_0; - } + if (!equals(this.cz(index).uy(), other.cz(index).uy())) { + tmp$ret$0 = !1; + break $l$block_5; } - tmp$ret$4 = null; - } - if (null != tmp$ret$4) return tmp$ret$4; + } while (inductionVariable < last); + tmp$ret$0 = !0; + } else tmp$ret$0 = !1; else tmp$ret$0 = !1; else tmp$ret$0 = !1; else tmp$ret$0 = !1; else tmp$ret$0 = !0; + return tmp$ret$0; + }, protoOf(SerialDescriptorImpl).hashCode = function() { + return _get__hashCode__tgwhef(this); + }, protoOf(SerialDescriptorImpl).toString = function() { + var this$0, tmp = until(0, this.rz_1), tmp_0 = this.pz_1 + "("; + return joinToString(tmp, ", ", tmp_0, ")", VOID, VOID, (this$0 = this, function(it) { + return this$0.zy(it) + ": " + this$0.cz(it).ty(); + })); + }, protoOf(SerialKind).toString = function() { + return ensureNotNull(getKClassFromExpression(this).e8()); + }, protoOf(SerialKind).hashCode = function() { + return getStringHashCode(this.toString()); + }, protoOf(AbstractDecoder).c10 = function() { + throw SerializationException_init_$Create$_0(toString(getKClassFromExpression(this)) + " can't retrieve untyped values"); + }, protoOf(AbstractDecoder).d10 = function() { + return !0; + }, protoOf(AbstractDecoder).e10 = function() { + return null; + }, protoOf(AbstractDecoder).f10 = function() { + var tmp = this.c10(); + return "number" == typeof tmp ? tmp : THROW_CCE(); + }, protoOf(AbstractDecoder).g10 = function() { + var tmp = this.c10(); + return tmp instanceof Long ? tmp : THROW_CCE(); + }, protoOf(AbstractDecoder).h10 = function() { + var tmp = this.c10(); + return "string" == typeof tmp ? tmp : THROW_CCE(); + }, protoOf(AbstractDecoder).i10 = function(deserializer, previousValue) { + return this.j10(deserializer); + }, protoOf(AbstractDecoder).k10 = function(descriptor) { + return this; + }, protoOf(AbstractDecoder).l10 = function(descriptor) {}, protoOf(AbstractDecoder).m10 = function(descriptor, index) { + return this.f10(); + }, protoOf(AbstractDecoder).n10 = function(descriptor, index) { + return this.g10(); + }, protoOf(AbstractDecoder).o10 = function(descriptor, index) { + return this.h10(); + }, protoOf(AbstractDecoder).p10 = function(descriptor, index, deserializer, previousValue) { + return this.i10(deserializer, previousValue); + }, protoOf(AbstractEncoder).k10 = function(descriptor) { + return this; + }, protoOf(AbstractEncoder).l10 = function(descriptor) {}, protoOf(AbstractEncoder).v10 = function(descriptor, index) { + return !0; + }, protoOf(AbstractEncoder).w10 = function(value) { + throw SerializationException_init_$Create$_0("Non-serializable " + toString(getKClassFromExpression(value)) + " is not supported by " + toString(getKClassFromExpression(this)) + " encoder"); + }, protoOf(AbstractEncoder).x10 = function() { + throw SerializationException_init_$Create$_0("'null' is not supported by default"); + }, protoOf(AbstractEncoder).y10 = function(value) { + return this.w10(value); + }, protoOf(AbstractEncoder).z10 = function(value) { + return this.w10(value); + }, protoOf(AbstractEncoder).a11 = function(value) { + return this.w10(value); + }, protoOf(AbstractEncoder).b11 = function(descriptor, index, value) { + this.v10(descriptor, index) && this.y10(value); + }, protoOf(AbstractEncoder).c11 = function(descriptor, index, value) { + this.v10(descriptor, index) && this.z10(value); + }, protoOf(AbstractEncoder).d11 = function(descriptor, index, value) { + this.v10(descriptor, index) && this.a11(value); + }, protoOf(AbstractEncoder).e11 = function(descriptor, index, serializer, value) { + this.v10(descriptor, index) && this.f11(serializer, value); + }, protoOf(AbstractPolymorphicSerializer).ny = function(decoder, klassName) { + return decoder.r10().h11(this.my(), klassName); + }, protoOf(AbstractPolymorphicSerializer).ly = function(encoder, value) { + return encoder.r10().i11(this.my(), value); + }, protoOf(ArrayListClassDesc).ty = function() { + return "kotlin.collections.ArrayList"; + }, protoOf(ListLikeDescriptor).uy = function() { + return LIST_getInstance(); + }, protoOf(ListLikeDescriptor).xy = function() { + return this.m11_1; + }, protoOf(ListLikeDescriptor).zy = function(index) { + return index.toString(); + }, protoOf(ListLikeDescriptor).az = function(name) { + var tmp0_elvis_lhs = toIntOrNull(name); + if (null == tmp0_elvis_lhs) throw IllegalArgumentException_init_$Create$(name + " is not a valid list index"); + return tmp0_elvis_lhs; + }, protoOf(ListLikeDescriptor).dz = function(index) { + if (!(index >= 0)) { + var message = "Illegal index " + index + ", " + this.ty() + " expects only non-negative indices"; + throw IllegalArgumentException_init_$Create$(toString(message)); } - return first; - } - function addSuppressedExceptions($this, rootCause, exceptions) { - if (exceptions.c() <= 1) return Unit_getInstance(); - for (var seenExceptions = identitySet(exceptions.c()), unwrappedCause = unwrap(rootCause), tmp0_iterator = exceptions.d(); tmp0_iterator.e(); ) { - var unwrapped = unwrap(tmp0_iterator.f()); - !(unwrapped === rootCause || unwrapped === unwrappedCause || unwrapped instanceof CancellationException) && seenExceptions.a(unwrapped); + return !1; + }, protoOf(ListLikeDescriptor).bz = function(index) { + if (!(index >= 0)) { + var message = "Illegal index " + index + ", " + this.ty() + " expects only non-negative indices"; + throw IllegalArgumentException_init_$Create$(toString(message)); } - } - function tryFinalizeSimpleState($this, state, update) { - return !!$this.ke_1.atomicfu$compareAndSet(state, boxIncomplete(update)) && ($this.ag(null), - $this.ve(update), completeStateFinalization($this, state, update), !0); - } - function completeStateFinalization($this, state, update) { - var tmp0_safe_receiver = $this.jf(); - null == tmp0_safe_receiver || (tmp0_safe_receiver.mh(), $this.if(NonDisposableHandle_getInstance()), - Unit_getInstance()); - var tmp1_safe_receiver = update instanceof CompletedExceptionally ? update : null, cause = null == tmp1_safe_receiver ? null : tmp1_safe_receiver.we_1; - if (state instanceof JobNode) try { - state.invoke(cause); - } catch ($p) { - if (!($p instanceof Error)) throw $p; - $this.cf(new CompletionHandlerException("Exception in completion handler " + state + " for " + $this, $p)); - } else { - var tmp2_safe_receiver = state.lj(); - null == tmp2_safe_receiver || notifyCompletion(tmp2_safe_receiver, $this, cause); + return emptyList(); + }, protoOf(ListLikeDescriptor).cz = function(index) { + if (!(index >= 0)) { + var message = "Illegal index " + index + ", " + this.ty() + " expects only non-negative indices"; + throw IllegalArgumentException_init_$Create$(toString(message)); + } + return this.l11_1; + }, protoOf(ListLikeDescriptor).equals = function(other) { + return this === other || other instanceof ListLikeDescriptor && !(!equals(this.l11_1, other.l11_1) || this.ty() !== other.ty()); + }, protoOf(ListLikeDescriptor).hashCode = function() { + return imul(hashCode(this.l11_1), 31) + getStringHashCode(this.ty()) | 0; + }, protoOf(ListLikeDescriptor).toString = function() { + return this.ty() + "(" + toString(this.l11_1) + ")"; + }, protoOf(MapLikeDescriptor).ty = function() { + return this.n11_1; + }, protoOf(MapLikeDescriptor).uy = function() { + return MAP_getInstance(); + }, protoOf(MapLikeDescriptor).xy = function() { + return this.q11_1; + }, protoOf(MapLikeDescriptor).zy = function(index) { + return index.toString(); + }, protoOf(MapLikeDescriptor).az = function(name) { + var tmp0_elvis_lhs = toIntOrNull(name); + if (null == tmp0_elvis_lhs) throw IllegalArgumentException_init_$Create$(name + " is not a valid map index"); + return tmp0_elvis_lhs; + }, protoOf(MapLikeDescriptor).dz = function(index) { + if (!(index >= 0)) { + var message = "Illegal index " + index + ", " + this.ty() + " expects only non-negative indices"; + throw IllegalArgumentException_init_$Create$(toString(message)); } - } - function notifyCancelling($this, list, cause) { - $this.ag(cause); - for (var exception = null, cur = list.qj_1; !equals(cur, list); ) { - if (cur instanceof JobCancellingNode) { - var tmp0__anonymous__q1qw7t = cur; - try { - tmp0__anonymous__q1qw7t.invoke(cause); - } catch ($p) { - if (!($p instanceof Error)) throw $p; - var tmp1_elvis_lhs = null == exception ? null : exception; - null == tmp1_elvis_lhs && (exception = new CompletionHandlerException("Exception in completion handler " + tmp0__anonymous__q1qw7t + " for " + $this, $p), - Unit_getInstance()); - } - } - cur = cur.qj_1; + return !1; + }, protoOf(MapLikeDescriptor).bz = function(index) { + if (!(index >= 0)) { + var message = "Illegal index " + index + ", " + this.ty() + " expects only non-negative indices"; + throw IllegalArgumentException_init_$Create$(toString(message)); } - var tmp0_safe_receiver_0 = exception; - null == tmp0_safe_receiver_0 || ($this.cf(tmp0_safe_receiver_0), Unit_getInstance()), - cancelParent($this, cause); - } - function cancelParent($this, cause) { - if ($this.bg()) return !0; - var isCancellation = cause instanceof CancellationException, parent = $this.jf(); - return null === parent || parent === NonDisposableHandle_getInstance() ? isCancellation : !!parent.wf(cause) || isCancellation; - } - function notifyCompletion(_this__u8e3s4, $this, cause) { - for (var exception = null, cur = _this__u8e3s4.qj_1; !equals(cur, _this__u8e3s4); ) { - if (cur instanceof JobNode) { - var tmp0__anonymous__q1qw7t = cur; - try { - tmp0__anonymous__q1qw7t.invoke(cause); - } catch ($p) { - if (!($p instanceof Error)) throw $p; - var tmp1_elvis_lhs = null == exception ? null : exception; - null == tmp1_elvis_lhs && (exception = new CompletionHandlerException("Exception in completion handler " + tmp0__anonymous__q1qw7t + " for " + $this, $p), - Unit_getInstance()); - } - } - cur = cur.qj_1; + return emptyList(); + }, protoOf(MapLikeDescriptor).cz = function(index) { + if (!(index >= 0)) { + var message = "Illegal index " + index + ", " + this.ty() + " expects only non-negative indices"; + throw IllegalArgumentException_init_$Create$(toString(message)); } - var tmp0_safe_receiver_0 = exception; - return null == tmp0_safe_receiver_0 || ($this.cf(tmp0_safe_receiver_0), Unit_getInstance()), - Unit_getInstance(); - } - function startInternal($this, state) { - var tmp0_subject = state; - return tmp0_subject instanceof Empty ? state.kj_1 ? 0 : $this.ke_1.atomicfu$compareAndSet(state, get_EMPTY_ACTIVE()) ? ($this.nf(), - 1) : -1 : tmp0_subject instanceof InactiveNodeList ? $this.ke_1.atomicfu$compareAndSet(state, state.ik_1) ? ($this.nf(), - 1) : -1 : 0; - } - function makeNode($this, handler, onCancelling) { var tmp; - if (onCancelling) { - var tmp0_elvis_lhs = handler instanceof JobCancellingNode ? handler : null; - tmp = null == tmp0_elvis_lhs ? new InvokeOnCancelling(handler) : tmp0_elvis_lhs; - } else { - var tmp1_safe_receiver = handler instanceof JobNode ? handler : null, tmp2_elvis_lhs = null == tmp1_safe_receiver ? null : tmp1_safe_receiver; - tmp = null == tmp2_elvis_lhs ? new InvokeOnCompletion(handler) : tmp2_elvis_lhs; + switch (index % 2 | 0) { + case 0: + tmp = this.o11_1; + break; + + case 1: + tmp = this.p11_1; + break; + + default: + throw IllegalStateException_init_$Create$(toString("Unreached")); } - var node = tmp; - return node.yj_1 = $this, node; - } - function addLastAtomic($this, expect, list, node) { - var tmp$ret$1; - return $this.kf() === expect ? (list.tj(node), tmp$ret$1 = !0) : tmp$ret$1 = !1, - tmp$ret$1; - } - function promoteEmptyToNodeList($this, state) { - var list = new NodeList, update = state.kj_1 ? list : new InactiveNodeList(list); - $this.ke_1.atomicfu$compareAndSet(state, update); - } - function promoteSingleToNodeList($this, state) { - state.bk(new NodeList); - var list = state.qj_1; - $this.ke_1.atomicfu$compareAndSet(state, list); - } - function cancelMakeCompleting($this, cause) { - for (;;) { - var tmp0__anonymous__q1qw7t = $this.kf(); - if (null == tmp0__anonymous__q1qw7t || !isInterface(tmp0__anonymous__q1qw7t, Incomplete) || tmp0__anonymous__q1qw7t instanceof Finishing && tmp0__anonymous__q1qw7t.jk()) return get_COMPLETING_ALREADY(); - var finalState = tryMakeCompleting($this, tmp0__anonymous__q1qw7t, CompletedExceptionally_init_$Create$(createCauseException($this, cause), !1, 2, null)); - if (finalState !== get_COMPLETING_RETRY()) return finalState; + return tmp; + }, protoOf(MapLikeDescriptor).equals = function(other) { + return this === other || other instanceof MapLikeDescriptor && (this.ty() === other.ty() && (!!equals(this.o11_1, other.o11_1) && !!equals(this.p11_1, other.p11_1))); + }, protoOf(MapLikeDescriptor).hashCode = function() { + var result = getStringHashCode(this.ty()); + return result = imul(31, result) + hashCode(this.o11_1) | 0, result = imul(31, result) + hashCode(this.p11_1) | 0; + }, protoOf(MapLikeDescriptor).toString = function() { + return this.ty() + "(" + toString(this.o11_1) + ", " + toString(this.p11_1) + ")"; + }, protoOf(ArrayListSerializer).iy = function() { + return this.s11_1; + }, protoOf(ArrayListSerializer).t11 = function() { + return ArrayList_init_$Create$(); + }, protoOf(ArrayListSerializer).u11 = function(_this__u8e3s4) { + return _this__u8e3s4.k(); + }, protoOf(ArrayListSerializer).v11 = function(_this__u8e3s4) { + return this.u11(_this__u8e3s4 instanceof ArrayList ? _this__u8e3s4 : THROW_CCE()); + }, protoOf(ArrayListSerializer).w11 = function(_this__u8e3s4) { + return _this__u8e3s4; + }, protoOf(ArrayListSerializer).x11 = function(_this__u8e3s4) { + return this.w11(_this__u8e3s4 instanceof ArrayList ? _this__u8e3s4 : THROW_CCE()); + }, protoOf(ArrayListSerializer).y11 = function(_this__u8e3s4) { + var tmp0_elvis_lhs = _this__u8e3s4 instanceof ArrayList ? _this__u8e3s4 : null; + return null == tmp0_elvis_lhs ? ArrayList_init_$Create$_1(_this__u8e3s4) : tmp0_elvis_lhs; + }, protoOf(ArrayListSerializer).z11 = function(_this__u8e3s4) { + return this.y11(null != _this__u8e3s4 && isInterface(_this__u8e3s4, KtList) ? _this__u8e3s4 : THROW_CCE()); + }, protoOf(ArrayListSerializer).a12 = function(_this__u8e3s4, size) { + return _this__u8e3s4.s3(size); + }, protoOf(ArrayListSerializer).b12 = function(_this__u8e3s4, size) { + return this.a12(_this__u8e3s4 instanceof ArrayList ? _this__u8e3s4 : THROW_CCE(), size); + }, protoOf(ArrayListSerializer).c12 = function(_this__u8e3s4, index, element) { + _this__u8e3s4.z2(index, element); + }, protoOf(ArrayListSerializer).d12 = function(_this__u8e3s4, index, element) { + var tmp = _this__u8e3s4 instanceof ArrayList ? _this__u8e3s4 : THROW_CCE(); + return this.c12(tmp, index, null == element || null != element ? element : THROW_CCE()); + }, protoOf(LinkedHashMapSerializer).iy = function() { + return this.p12_1; + }, protoOf(LinkedHashMapSerializer).q12 = function(_this__u8e3s4) { + return _this__u8e3s4.k(); + }, protoOf(LinkedHashMapSerializer).r12 = function(_this__u8e3s4) { + return this.q12(null != _this__u8e3s4 && isInterface(_this__u8e3s4, KtMap) ? _this__u8e3s4 : THROW_CCE()); + }, protoOf(LinkedHashMapSerializer).s12 = function(_this__u8e3s4) { + return _this__u8e3s4.m1().h(); + }, protoOf(LinkedHashMapSerializer).t12 = function(_this__u8e3s4) { + return this.s12(null != _this__u8e3s4 && isInterface(_this__u8e3s4, KtMap) ? _this__u8e3s4 : THROW_CCE()); + }, protoOf(LinkedHashMapSerializer).t11 = function() { + return LinkedHashMap_init_$Create$(); + }, protoOf(LinkedHashMapSerializer).u12 = function(_this__u8e3s4) { + return imul(_this__u8e3s4.k(), 2); + }, protoOf(LinkedHashMapSerializer).v11 = function(_this__u8e3s4) { + return this.u12(_this__u8e3s4 instanceof LinkedHashMap ? _this__u8e3s4 : THROW_CCE()); + }, protoOf(LinkedHashMapSerializer).v12 = function(_this__u8e3s4) { + return _this__u8e3s4; + }, protoOf(LinkedHashMapSerializer).x11 = function(_this__u8e3s4) { + return this.v12(_this__u8e3s4 instanceof LinkedHashMap ? _this__u8e3s4 : THROW_CCE()); + }, protoOf(LinkedHashMapSerializer).w12 = function(_this__u8e3s4) { + var tmp0_elvis_lhs = _this__u8e3s4 instanceof LinkedHashMap ? _this__u8e3s4 : null; + return null == tmp0_elvis_lhs ? LinkedHashMap_init_$Create$_0(_this__u8e3s4) : tmp0_elvis_lhs; + }, protoOf(LinkedHashMapSerializer).z11 = function(_this__u8e3s4) { + return this.w12(null != _this__u8e3s4 && isInterface(_this__u8e3s4, KtMap) ? _this__u8e3s4 : THROW_CCE()); + }, protoOf(LinkedHashMapSerializer).x12 = function(_this__u8e3s4, size) {}, protoOf(LinkedHashMapSerializer).b12 = function(_this__u8e3s4, size) { + return this.x12(_this__u8e3s4 instanceof LinkedHashMap ? _this__u8e3s4 : THROW_CCE(), size); + }, protoOf(CollectionSerializer).f12 = function(_this__u8e3s4) { + return _this__u8e3s4.k(); + }, protoOf(CollectionSerializer).r12 = function(_this__u8e3s4) { + return this.f12(null != _this__u8e3s4 && isInterface(_this__u8e3s4, Collection) ? _this__u8e3s4 : THROW_CCE()); + }, protoOf(CollectionSerializer).g12 = function(_this__u8e3s4) { + return _this__u8e3s4.h(); + }, protoOf(CollectionSerializer).t12 = function(_this__u8e3s4) { + return this.g12(null != _this__u8e3s4 && isInterface(_this__u8e3s4, Collection) ? _this__u8e3s4 : THROW_CCE()); + }, protoOf(MapLikeSerializer).a13 = function(decoder, builder, startIndex, size) { + if (!(size >= 0)) { + throw IllegalArgumentException_init_$Create$(toString("Size must be known in advance when using READ_ALL")); + } + var progression = step(until(0, imul(size, 2)), 2), inductionVariable = progression.u_1, last = progression.v_1, step_0 = progression.w_1; + if (step_0 > 0 && inductionVariable <= last || step_0 < 0 && last <= inductionVariable) do { + var index = inductionVariable; + inductionVariable = inductionVariable + step_0 | 0, this.b13(decoder, startIndex + index | 0, builder, !1); + } while (index !== last); + }, protoOf(MapLikeSerializer).j12 = function(decoder, builder, startIndex, size) { + return this.a13(decoder, null != builder && isInterface(builder, KtMutableMap) ? builder : THROW_CCE(), startIndex, size); + }, protoOf(MapLikeSerializer).b13 = function(decoder, index, builder, checkIndex) { + var tmp, key = decoder.q10(this.iy(), index, this.y12_1); + if (checkIndex) { + var this_0 = decoder.t10(this.iy()); + if (this_0 !== (index + 1 | 0)) throw IllegalArgumentException_init_$Create$(toString("Value must follow key in a map, index for key: " + index + ", returned index for value: " + this_0)); + tmp = this_0; + } else tmp = index + 1 | 0; + var tmp_1, vIndex = tmp; + builder.h1(key) ? tmp_1 = !(this.z12_1.iy().uy() instanceof PrimitiveKind) : tmp_1 = !1; + var value = tmp_1 ? decoder.p10(this.iy(), vIndex, this.z12_1, getValue(builder, key)) : decoder.q10(this.iy(), vIndex, this.z12_1); + builder.n1(key, value); + }, protoOf(MapLikeSerializer).k12 = function(decoder, index, builder, checkIndex) { + return this.b13(decoder, index, null != builder && isInterface(builder, KtMutableMap) ? builder : THROW_CCE(), checkIndex); + }, protoOf(MapLikeSerializer).i12 = function(encoder, value) { + for (var size = this.r12(value), descriptor = this.iy(), composite = encoder.g11(descriptor, size), index = 0, tmp0_iterator = this.t12(value); tmp0_iterator.i(); ) { + var element = tmp0_iterator.j(), k = element.f1(), v = element.g1(), tmp = this.iy(), _unary__edvuaz = index; + index = _unary__edvuaz + 1 | 0, composite.e11(tmp, _unary__edvuaz, this.y12_1, k); + var tmp_0 = this.iy(), _unary__edvuaz_0 = index; + index = _unary__edvuaz_0 + 1 | 0, composite.e11(tmp_0, _unary__edvuaz_0, this.z12_1, v); + } + composite.l10(descriptor); + }, protoOf(MapLikeSerializer).jy = function(encoder, value) { + return this.i12(encoder, null == value || null != value ? value : THROW_CCE()); + }, protoOf(CollectionLikeSerializer).i12 = function(encoder, value) { + var size = this.r12(value), descriptor = this.iy(), composite = encoder.g11(descriptor, size), iterator = this.t12(value), inductionVariable = 0; + if (inductionVariable < size) do { + var index = inductionVariable; + inductionVariable = inductionVariable + 1 | 0, composite.e11(this.iy(), index, this.h12_1, iterator.j()); + } while (inductionVariable < size); + composite.l10(descriptor); + }, protoOf(CollectionLikeSerializer).jy = function(encoder, value) { + return this.i12(encoder, null == value || null != value ? value : THROW_CCE()); + }, protoOf(CollectionLikeSerializer).j12 = function(decoder, builder, startIndex, size) { + if (!(size >= 0)) { + throw IllegalArgumentException_init_$Create$(toString("Size must be known in advance when using READ_ALL")); } - } - function createCauseException($this, cause) { + var inductionVariable = 0; + if (inductionVariable < size) do { + var index = inductionVariable; + inductionVariable = inductionVariable + 1 | 0, this.k12(decoder, startIndex + index | 0, builder, !1); + } while (inductionVariable < size); + }, protoOf(CollectionLikeSerializer).k12 = function(decoder, index, builder, checkIndex) { + this.d12(builder, index, decoder.q10(this.iy(), index, this.h12_1)); + }, protoOf(AbstractCollectionSerializer).m12 = function(decoder, previous) { + var tmp0_elvis_lhs = null == previous ? null : this.z11(previous), builder = null == tmp0_elvis_lhs ? this.t11() : tmp0_elvis_lhs, startIndex = this.v11(builder), compositeDecoder = decoder.k10(this.iy()); + if (compositeDecoder.s10()) this.j12(compositeDecoder, builder, startIndex, function($this, decoder, builder) { + var size = decoder.u10($this.iy()); + return $this.b12(builder, size), size; + }(this, compositeDecoder, builder)); else $l$loop: for (;;) { + var index = compositeDecoder.t10(this.iy()); + if (-1 === index) break $l$loop; + this.l12(compositeDecoder, startIndex + index | 0, builder); + } + return compositeDecoder.l10(this.iy()), this.x11(builder); + }, protoOf(AbstractCollectionSerializer).ky = function(decoder) { + return this.m12(decoder, null); + }, protoOf(AbstractCollectionSerializer).l12 = function(decoder, index, builder, checkIndex, $super) { var tmp; - if (null == cause || cause instanceof Error) { - var tmp_0, tmp1_elvis_lhs = cause; - if (null == tmp1_elvis_lhs) { - var tmp0_elvis_lhs = null; - tmp_0 = new JobCancellationException(null == tmp0_elvis_lhs ? $this.ue() : tmp0_elvis_lhs, null, $this); - } else tmp_0 = tmp1_elvis_lhs; - tmp = tmp_0; - } else tmp = (null != cause && isInterface(cause, ParentJob) ? cause : THROW_CCE()).yf(); - return tmp; - } - function makeCancelling($this, cause) { - for (var causeExceptionCache = null; ;) $l$block: { - var tmp0__anonymous__q1qw7t = $this.kf(), tmp0_subject = tmp0__anonymous__q1qw7t; - if (tmp0_subject instanceof Finishing) { - if (tmp0__anonymous__q1qw7t.kk()) return get_TOO_LATE_TO_CANCEL(); - var wasCancelling = tmp0__anonymous__q1qw7t.gk(); - if (null != cause || !wasCancelling) { - var tmp, tmp0_elvis_lhs = causeExceptionCache; - if (null == tmp0_elvis_lhs) { - var tmp0_also = createCauseException($this, cause); - causeExceptionCache = tmp0_also, tmp = tmp0_also; - } else tmp = tmp0_elvis_lhs; - var causeException = tmp; - tmp0__anonymous__q1qw7t.lk(causeException); - } - var tmp1_takeIf = tmp0__anonymous__q1qw7t.mk(), tmp1_safe_receiver = wasCancelling ? null : tmp1_takeIf; - return null == tmp1_safe_receiver || (notifyCancelling($this, tmp0__anonymous__q1qw7t.ck_1, tmp1_safe_receiver), - Unit_getInstance()), get_COMPLETING_ALREADY(); - } - if (null == tmp0_subject || !isInterface(tmp0_subject, Incomplete)) return get_TOO_LATE_TO_CANCEL(); - var tmp_1, tmp2_elvis_lhs = causeExceptionCache; - if (null == tmp2_elvis_lhs) { - var tmp0_also_0 = createCauseException($this, cause); - causeExceptionCache = tmp0_also_0, tmp_1 = tmp0_also_0; - } else tmp_1 = tmp2_elvis_lhs; - var causeException_0 = tmp_1; - if (!tmp0__anonymous__q1qw7t.re()) { - var finalState = tryMakeCompleting($this, tmp0__anonymous__q1qw7t, CompletedExceptionally_init_$Create$(causeException_0, !1, 2, null)); - if (finalState === get_COMPLETING_ALREADY()) { - var tmp1_error = "Cannot happen in " + toString(tmp0__anonymous__q1qw7t); - throw IllegalStateException_init_$Create$(toString_0(tmp1_error)); - } - if (finalState === get_COMPLETING_RETRY()) { - Unit_getInstance(); - break $l$block; + return checkIndex = checkIndex === VOID || checkIndex, $super === VOID ? (this.k12(decoder, index, builder, checkIndex), + tmp = Unit_instance) : tmp = $super.k12.call(this, decoder, index, builder, checkIndex), + tmp; + }, protoOf(ElementMarker).h13 = function(index) { + index < 64 ? this.f13_1 = this.f13_1.g2(new Long(1, 0).f2(index)) : function($this, index) { + var slot = (index >>> 6 | 0) - 1 | 0, offsetInSlot = 63 & index; + $this.g13_1[slot] = $this.g13_1[slot].g2(new Long(1, 0).f2(offsetInSlot)); + }(this, index); + }, protoOf(ElementMarker).i13 = function() { + for (var elementsCount = this.d13_1.xy(); !this.f13_1.equals(new Long(-1, -1)); ) { + var index = countTrailingZeroBits(this.f13_1.e2()); + if (this.f13_1 = this.f13_1.g2(new Long(1, 0).f2(index)), this.e13_1(this.d13_1, index)) return index; + } + return elementsCount > 64 ? function($this) { + var inductionVariable = 0, last = $this.g13_1.length - 1 | 0; + if (inductionVariable <= last) do { + var slot = inductionVariable; + inductionVariable = inductionVariable + 1 | 0; + for (var slotOffset = imul(slot + 1 | 0, 64), slotMarks = $this.g13_1[slot]; !slotMarks.equals(new Long(-1, -1)); ) { + var indexInSlot = countTrailingZeroBits(slotMarks.e2()); + slotMarks = slotMarks.g2(new Long(1, 0).f2(indexInSlot)); + var index = slotOffset + indexInSlot | 0; + if ($this.e13_1($this.d13_1, index)) return $this.g13_1[slot] = slotMarks, index; } - return finalState; - } - if (tryMakeCancelling($this, tmp0__anonymous__q1qw7t, causeException_0)) return get_COMPLETING_ALREADY(); - } - } - function getOrPromoteCancellingList($this, state) { - var tmp, tmp1_elvis_lhs = state.lj(); - if (null == tmp1_elvis_lhs) { - var tmp_0, tmp0_subject = state; - if (tmp0_subject instanceof Empty) tmp_0 = new NodeList; else { - if (!(tmp0_subject instanceof JobNode)) throw IllegalStateException_init_$Create$(toString_0("State should have list: " + state)); - promoteSingleToNodeList($this, state), tmp_0 = null; - } - tmp = tmp_0; - } else tmp = tmp1_elvis_lhs; - return tmp; - } - function tryMakeCancelling($this, state, rootCause) { - var tmp0_elvis_lhs = getOrPromoteCancellingList($this, state); + $this.g13_1[slot] = slotMarks; + } while (inductionVariable <= last); + return -1; + }(this) : -1; + }, protoOf(InlineClassDescriptor).wy = function() { + return this.v13_1; + }, protoOf(InlineClassDescriptor).hashCode = function() { + return imul(protoOf(PluginGeneratedSerialDescriptor).hashCode.call(this), 31); + }, protoOf(InlineClassDescriptor).equals = function(other) { + var tmp$ret$0; + $l$block_5: if (this !== other) if (other instanceof InlineClassDescriptor) if (this.ty() === other.ty()) if (other.v13_1 && contentEquals(this.i14(), other.i14())) if (this.xy() === other.xy()) { + var inductionVariable = 0, last = this.xy(); + if (inductionVariable < last) do { + var index = inductionVariable; + if (inductionVariable = inductionVariable + 1 | 0, this.cz(index).ty() !== other.cz(index).ty()) { + tmp$ret$0 = !1; + break $l$block_5; + } + if (!equals(this.cz(index).uy(), other.cz(index).uy())) { + tmp$ret$0 = !1; + break $l$block_5; + } + } while (inductionVariable < last); + tmp$ret$0 = !0; + } else tmp$ret$0 = !1; else tmp$ret$0 = !1; else tmp$ret$0 = !1; else tmp$ret$0 = !1; else tmp$ret$0 = !0; + return tmp$ret$0; + }, protoOf(InlinePrimitiveDescriptor$1).l14 = function() { + return [ this.k14_1 ]; + }, protoOf(InlinePrimitiveDescriptor$1).iy = function() { + throw IllegalStateException_init_$Create$(toString("unsupported")); + }, protoOf(InlinePrimitiveDescriptor$1).jy = function(encoder, value) { + throw IllegalStateException_init_$Create$(toString("unsupported")); + }, protoOf(InlinePrimitiveDescriptor$1).ky = function(decoder) { + throw IllegalStateException_init_$Create$(toString("unsupported")); + }, protoOf(PluginGeneratedSerialDescriptor).ty = function() { + return this.w13_1; + }, protoOf(PluginGeneratedSerialDescriptor).xy = function() { + return this.y13_1; + }, protoOf(PluginGeneratedSerialDescriptor).uy = function() { + return CLASS_getInstance(); + }, protoOf(PluginGeneratedSerialDescriptor).yy = function() { + var tmp0_elvis_lhs = this.c14_1; + return null == tmp0_elvis_lhs ? emptyList() : tmp0_elvis_lhs; + }, protoOf(PluginGeneratedSerialDescriptor).b10 = function() { + return this.e14_1.k1(); + }, protoOf(PluginGeneratedSerialDescriptor).i14 = function() { + var this_0 = this.g14_1; + return getPropertyCallableRef("typeParameterDescriptors", 1, KProperty1, (function(receiver) { + return receiver.i14(); + }), null), this_0.g1(); + }, protoOf(PluginGeneratedSerialDescriptor).j14 = function(name, isOptional) { + this.z13_1 = this.z13_1 + 1 | 0, this.a14_1[this.z13_1] = name, this.d14_1[this.z13_1] = isOptional, + this.b14_1[this.z13_1] = null, this.z13_1 === (this.y13_1 - 1 | 0) && (this.e14_1 = function($this) { + var indices = HashMap_init_$Create$(), inductionVariable = 0, last = $this.a14_1.length - 1 | 0; + if (inductionVariable <= last) do { + var i = inductionVariable; + inductionVariable = inductionVariable + 1 | 0; + var key = $this.a14_1[i]; + indices.n1(key, i); + } while (inductionVariable <= last); + return indices; + }(this)); + }, protoOf(PluginGeneratedSerialDescriptor).cz = function(index) { + return getChecked(_get_childSerializers__7vnyfa(this), index).iy(); + }, protoOf(PluginGeneratedSerialDescriptor).dz = function(index) { + return getChecked_0(this.d14_1, index); + }, protoOf(PluginGeneratedSerialDescriptor).bz = function(index) { + var tmp0_elvis_lhs = getChecked(this.b14_1, index); + return null == tmp0_elvis_lhs ? emptyList() : tmp0_elvis_lhs; + }, protoOf(PluginGeneratedSerialDescriptor).zy = function(index) { + return getChecked(this.a14_1, index); + }, protoOf(PluginGeneratedSerialDescriptor).az = function(name) { + var tmp0_elvis_lhs = this.e14_1.j1(name); + return null == tmp0_elvis_lhs ? -3 : tmp0_elvis_lhs; + }, protoOf(PluginGeneratedSerialDescriptor).equals = function(other) { + var tmp$ret$0; + $l$block_5: if (this !== other) if (other instanceof PluginGeneratedSerialDescriptor) if (this.ty() === other.ty()) if (contentEquals(this.i14(), other.i14())) if (this.xy() === other.xy()) { + var inductionVariable = 0, last = this.xy(); + if (inductionVariable < last) do { + var index = inductionVariable; + if (inductionVariable = inductionVariable + 1 | 0, this.cz(index).ty() !== other.cz(index).ty()) { + tmp$ret$0 = !1; + break $l$block_5; + } + if (!equals(this.cz(index).uy(), other.cz(index).uy())) { + tmp$ret$0 = !1; + break $l$block_5; + } + } while (inductionVariable < last); + tmp$ret$0 = !0; + } else tmp$ret$0 = !1; else tmp$ret$0 = !1; else tmp$ret$0 = !1; else tmp$ret$0 = !1; else tmp$ret$0 = !0; + return tmp$ret$0; + }, protoOf(PluginGeneratedSerialDescriptor).hashCode = function() { + return _get__hashCode__tgwhef_0(this); + }, protoOf(PluginGeneratedSerialDescriptor).toString = function() { + var this$0, tmp = until(0, this.y13_1), tmp_0 = this.ty() + "("; + return joinToString(tmp, ", ", tmp_0, ")", VOID, VOID, (this$0 = this, function(i) { + return this$0.zy(i) + ": " + this$0.cz(i).ty(); + })); + }, protoOf(StringSerializer).iy = function() { + return this.n14_1; + }, protoOf(StringSerializer).o14 = function(encoder, value) { + return encoder.a11(value); + }, protoOf(StringSerializer).jy = function(encoder, value) { + return this.o14(encoder, null != value && "string" == typeof value ? value : THROW_CCE()); + }, protoOf(StringSerializer).ky = function(decoder) { + return decoder.h10(); + }, protoOf(LongSerializer).iy = function() { + return this.p14_1; + }, protoOf(LongSerializer).q14 = function(encoder, value) { + return encoder.z10(value); + }, protoOf(LongSerializer).jy = function(encoder, value) { + return this.q14(encoder, value instanceof Long ? value : THROW_CCE()); + }, protoOf(LongSerializer).ky = function(decoder) { + return decoder.g10(); + }, protoOf(IntSerializer).iy = function() { + return this.r14_1; + }, protoOf(IntSerializer).s14 = function(encoder, value) { + return encoder.y10(value); + }, protoOf(IntSerializer).jy = function(encoder, value) { + return this.s14(encoder, null != value && "number" == typeof value ? value : THROW_CCE()); + }, protoOf(IntSerializer).ky = function(decoder) { + return decoder.f10(); + }, protoOf(PrimitiveSerialDescriptor).ty = function() { + return this.t14_1; + }, protoOf(PrimitiveSerialDescriptor).uy = function() { + return this.u14_1; + }, protoOf(PrimitiveSerialDescriptor).xy = function() { + return 0; + }, protoOf(PrimitiveSerialDescriptor).zy = function(index) { + error(); + }, protoOf(PrimitiveSerialDescriptor).az = function(name) { + error(); + }, protoOf(PrimitiveSerialDescriptor).dz = function(index) { + error(); + }, protoOf(PrimitiveSerialDescriptor).cz = function(index) { + error(); + }, protoOf(PrimitiveSerialDescriptor).bz = function(index) { + error(); + }, protoOf(PrimitiveSerialDescriptor).toString = function() { + return "PrimitiveDescriptor(" + this.t14_1 + ")"; + }, protoOf(PrimitiveSerialDescriptor).equals = function(other) { + return this === other || other instanceof PrimitiveSerialDescriptor && !(this.t14_1 !== other.t14_1 || !equals(this.u14_1, other.u14_1)); + }, protoOf(PrimitiveSerialDescriptor).hashCode = function() { + return getStringHashCode(this.t14_1) + imul(31, this.u14_1.hashCode()) | 0; + }, protoOf(NamedValueDecoder).x14 = function(_this__u8e3s4, index) { + return this.z14(this.y14(_this__u8e3s4, index)); + }, protoOf(NamedValueDecoder).z14 = function(nestedName) { + var tmp0_elvis_lhs = this.c15(); + return this.d15(null == tmp0_elvis_lhs ? "" : tmp0_elvis_lhs, nestedName); + }, protoOf(NamedValueDecoder).y14 = function(descriptor, index) { + return descriptor.zy(index); + }, protoOf(NamedValueDecoder).d15 = function(parentName, childName) { + return 0 === charSequenceLength(parentName) ? childName : parentName + "." + childName; + }, protoOf(NamedValueDecoder).e15 = function() { + return this.a15_1.q() ? "$" : joinToString(this.a15_1, ".", "$."); + }, protoOf(TaggedDecoder).r10 = function() { + return EmptySerializersModule_0(); + }, protoOf(TaggedDecoder).f15 = function(tag) { + throw SerializationException_init_$Create$_0(toString(getKClassFromExpression(this)) + " can't retrieve untyped values"); + }, protoOf(TaggedDecoder).g15 = function(tag) { + return !0; + }, protoOf(TaggedDecoder).h15 = function(tag) { + var tmp = this.f15(tag); + return "number" == typeof tmp ? tmp : THROW_CCE(); + }, protoOf(TaggedDecoder).i15 = function(tag) { + var tmp = this.f15(tag); + return tmp instanceof Long ? tmp : THROW_CCE(); + }, protoOf(TaggedDecoder).j15 = function(tag) { + var tmp = this.f15(tag); + return "string" == typeof tmp ? tmp : THROW_CCE(); + }, protoOf(TaggedDecoder).i10 = function(deserializer, previousValue) { + return this.j10(deserializer); + }, protoOf(TaggedDecoder).d10 = function() { + var tmp0_elvis_lhs = this.c15(); if (null == tmp0_elvis_lhs) return !1; - var list = tmp0_elvis_lhs, cancelling = new Finishing(list, !1, rootCause); - return !!$this.ke_1.atomicfu$compareAndSet(state, cancelling) && (notifyCancelling($this, list, rootCause), - !0); - } - function tryMakeCompleting($this, state, proposedUpdate) { - return null != state && isInterface(state, Incomplete) ? !(state instanceof Empty || state instanceof JobNode) || state instanceof ChildHandleNode || proposedUpdate instanceof CompletedExceptionally ? tryMakeCompletingSlowPath($this, state, proposedUpdate) : tryFinalizeSimpleState($this, state, proposedUpdate) ? proposedUpdate : get_COMPLETING_RETRY() : get_COMPLETING_ALREADY(); - } - function tryMakeCompletingSlowPath($this, state, proposedUpdate) { - var tmp0_elvis_lhs = getOrPromoteCancellingList($this, state); - if (null == tmp0_elvis_lhs) return get_COMPLETING_RETRY(); - var list = tmp0_elvis_lhs, tmp1_elvis_lhs = state instanceof Finishing ? state : null, finishing = null == tmp1_elvis_lhs ? new Finishing(list, !1, null) : tmp1_elvis_lhs, notifyRootCause = null; - if (finishing.jk()) return get_COMPLETING_ALREADY(); - if (finishing.nk(!0), finishing !== state && !$this.ke_1.atomicfu$compareAndSet(state, finishing)) return get_COMPLETING_RETRY(); - var wasCancelling = finishing.gk(), tmp0_safe_receiver = proposedUpdate instanceof CompletedExceptionally ? proposedUpdate : null; - null == tmp0_safe_receiver || (finishing.lk(tmp0_safe_receiver.we_1), Unit_getInstance()); - var tmp0_takeIf = finishing.mk(); - notifyRootCause = wasCancelling ? null : tmp0_takeIf, Unit_getInstance(), null == notifyRootCause || (notifyCancelling($this, list, notifyRootCause), - Unit_getInstance()); - var child = firstChild($this, state); - return null != child && tryWaitForChild($this, finishing, child, proposedUpdate) ? get_COMPLETING_WAITING_CHILDREN() : finalizeFinishingState($this, finishing, proposedUpdate); - } - function _get_exceptionOrNull__b3j7js(_this__u8e3s4, $this) { - var tmp0_safe_receiver = _this__u8e3s4 instanceof CompletedExceptionally ? _this__u8e3s4 : null; - return null == tmp0_safe_receiver ? null : tmp0_safe_receiver.we_1; - } - function firstChild($this, state) { - var tmp, tmp1_elvis_lhs = state instanceof ChildHandleNode ? state : null; - if (null == tmp1_elvis_lhs) { - var tmp0_safe_receiver = state.lj(); - tmp = null == tmp0_safe_receiver ? null : nextChild(tmp0_safe_receiver, $this); - } else tmp = tmp1_elvis_lhs; - return tmp; - } - function tryWaitForChild($this, state, child, proposedUpdate) { - for (var $this_0 = $this, state_0 = state, child_0 = child, proposedUpdate_0 = proposedUpdate; ;) { - var tmp$ret$1, tmp = child_0.sk_1; - if (tmp$ret$1 = new ChildCompletion($this_0, state_0, child_0, proposedUpdate_0), - tmp.sf(!1, !1, tmp$ret$1, 1, null) !== NonDisposableHandle_getInstance()) return !0; - var tmp0_elvis_lhs = nextChild(child_0, $this_0); - if (null == tmp0_elvis_lhs) return !1; - child_0 = tmp0_elvis_lhs; + var currentTag = tmp0_elvis_lhs; + return this.g15(currentTag); + }, protoOf(TaggedDecoder).e10 = function() { + return null; + }, protoOf(TaggedDecoder).f10 = function() { + return this.h15(this.l15()); + }, protoOf(TaggedDecoder).g10 = function() { + return this.i15(this.l15()); + }, protoOf(TaggedDecoder).h10 = function() { + return this.j15(this.l15()); + }, protoOf(TaggedDecoder).k10 = function(descriptor) { + return this; + }, protoOf(TaggedDecoder).l10 = function(descriptor) {}, protoOf(TaggedDecoder).m10 = function(descriptor, index) { + return this.h15(this.x14(descriptor, index)); + }, protoOf(TaggedDecoder).n10 = function(descriptor, index) { + return this.i15(this.x14(descriptor, index)); + }, protoOf(TaggedDecoder).o10 = function(descriptor, index) { + return this.j15(this.x14(descriptor, index)); + }, protoOf(TaggedDecoder).p10 = function(descriptor, index, deserializer, previousValue) { + var this$0, $deserializer, $previousValue; + return function($this, tag, block) { + $this.k15(tag); + var r = block(); + return $this.b15_1 || $this.l15(), $this.b15_1 = !1, r; + }(this, this.x14(descriptor, index), (this$0 = this, $deserializer = deserializer, + $previousValue = previousValue, function() { + return this$0.i10($deserializer, $previousValue); + })); + }, protoOf(TaggedDecoder).c15 = function() { + return lastOrNull(this.a15_1); + }, protoOf(TaggedDecoder).k15 = function(name) { + this.a15_1.e(name); + }, protoOf(TaggedDecoder).l15 = function() { + var r = this.a15_1.t2(get_lastIndex_0(this.a15_1)); + return this.b15_1 = !0, r; + }, protoOf(SerializersModule).qy = function(kClass, typeArgumentsSerializers, $super) { + return typeArgumentsSerializers = typeArgumentsSerializers === VOID ? emptyList() : typeArgumentsSerializers, + $super === VOID ? this.m15(kClass, typeArgumentsSerializers) : $super.m15.call(this, kClass, typeArgumentsSerializers); + }, protoOf(SerialModuleImpl).i11 = function(baseClass, value) { + if (!baseClass.f8(value)) return null; + var tmp28_safe_receiver = this.o15_1.j1(baseClass), tmp = null == tmp28_safe_receiver ? null : tmp28_safe_receiver.j1(getKClassFromExpression(value)), registered = null != tmp && isInterface(tmp, SerializationStrategy) ? tmp : null; + if (null != registered) return registered; + var tmp_0 = this.p15_1.j1(baseClass), tmp29_safe_receiver = null != tmp_0 && "function" == typeof tmp_0 ? tmp_0 : null; + return null == tmp29_safe_receiver ? null : tmp29_safe_receiver(value); + }, protoOf(SerialModuleImpl).h11 = function(baseClass, serializedClassName) { + var tmp30_safe_receiver = this.q15_1.j1(baseClass), tmp_0 = null == tmp30_safe_receiver ? null : (isInterface(tmp30_safe_receiver, KtMap) ? tmp30_safe_receiver : THROW_CCE()).j1(serializedClassName), registered = null != tmp_0 && isInterface(tmp_0, KSerializer) ? tmp_0 : null; + if (null != registered) return registered; + var tmp_1 = this.r15_1.j1(baseClass), tmp31_safe_receiver = null != tmp_1 && "function" == typeof tmp_1 ? tmp_1 : null; + return null == tmp31_safe_receiver ? null : tmp31_safe_receiver(serializedClassName); + }, protoOf(SerialModuleImpl).m15 = function(kClass, typeArgumentsSerializers) { + var tmp32_safe_receiver = this.n15_1.j1(kClass), tmp = null == tmp32_safe_receiver ? null : tmp32_safe_receiver.t15(typeArgumentsSerializers); + return null == tmp || isInterface(tmp, KSerializer) ? tmp : null; + }, protoOf(SerialDescriptorImpl).vy = get_isNullable, protoOf(SerialDescriptorImpl).wy = get_isInline, + protoOf(AbstractDecoder).q10 = decodeSerializableElement$default, protoOf(AbstractDecoder).j10 = decodeSerializableValue, + protoOf(AbstractDecoder).s10 = decodeSequentially, protoOf(AbstractDecoder).u10 = decodeCollectionSize, + protoOf(AbstractEncoder).g11 = function(descriptor, collectionSize) { + return this.k10(descriptor); + }, protoOf(AbstractEncoder).f11 = function(serializer, value) { + serializer.jy(this, value); + }, protoOf(ListLikeDescriptor).vy = get_isNullable, protoOf(ListLikeDescriptor).wy = get_isInline, + protoOf(ListLikeDescriptor).yy = get_annotations, protoOf(MapLikeDescriptor).vy = get_isNullable, + protoOf(MapLikeDescriptor).wy = get_isInline, protoOf(MapLikeDescriptor).yy = get_annotations, + protoOf(PluginGeneratedSerialDescriptor).vy = get_isNullable, protoOf(PluginGeneratedSerialDescriptor).wy = get_isInline, + protoOf(InlinePrimitiveDescriptor$1).m14 = typeParametersSerializers, protoOf(PrimitiveSerialDescriptor).vy = get_isNullable, + protoOf(PrimitiveSerialDescriptor).wy = get_isInline, protoOf(PrimitiveSerialDescriptor).yy = get_annotations, + protoOf(TaggedDecoder).q10 = decodeSerializableElement$default, protoOf(TaggedDecoder).j10 = decodeSerializableValue, + protoOf(TaggedDecoder).s10 = decodeSequentially, protoOf(TaggedDecoder).u10 = decodeCollectionSize, + _.$_$ = _.$_$ || {}, _.$_$.a = SerializationException_init_$Init$_0, _.$_$.b = function UnknownFieldException_init_$Create$(index) { + var tmp = function(index, $this) { + return UnknownFieldException.call($this, "An unknown field for index " + index), + $this; + }(index, objectCreate(protoOf(UnknownFieldException))); + return captureStack(tmp, UnknownFieldException_init_$Create$), tmp; + }, _.$_$.c = function() { + return null == CONTEXTUAL_instance && new CONTEXTUAL, CONTEXTUAL_instance; + }, _.$_$.d = function() { + return null == ENUM_instance && new ENUM, ENUM_instance; + }, _.$_$.e = CLASS_getInstance, _.$_$.f = LIST_getInstance, _.$_$.g = MAP_getInstance, + _.$_$.h = function() { + return null == OBJECT_instance && new OBJECT, OBJECT_instance; + }, _.$_$.i = function() { + return null == IntSerializer_instance && new IntSerializer, IntSerializer_instance; + }, _.$_$.j = function() { + return null == LongSerializer_instance && new LongSerializer, LongSerializer_instance; + }, _.$_$.k = StringSerializer_getInstance, _.$_$.l = function(_this__u8e3s4) { + return StringSerializer_getInstance(); + }, _.$_$.m = PolymorphicKind, _.$_$.n = PrimitiveKind, _.$_$.o = SerialDescriptor, + _.$_$.p = ENUM, _.$_$.q = function(serialName, kind, typeParameters, builder) { + if (builder = builder === VOID ? buildSerialDescriptor$lambda : builder, isBlank(serialName)) { + throw IllegalArgumentException_init_$Create$(toString("Blank serial names are prohibited")); + } + if (equals(kind, CLASS_getInstance())) { + throw IllegalArgumentException_init_$Create$(toString("For StructureKind.CLASS please use 'buildClassSerialDescriptor' instead")); } - } - function continueCompleting($this, state, lastChild, proposedUpdate) { - var waitChild = nextChild(lastChild, $this); - if (null != waitChild && tryWaitForChild($this, state, waitChild, proposedUpdate)) return Unit_getInstance(); - var finalState = finalizeFinishingState($this, state, proposedUpdate); - $this.bf(finalState); - } - function nextChild(_this__u8e3s4, $this) { - var cur = _this__u8e3s4; - $l$loop: for (;cur.sj_1; ) cur = cur.rj_1; - for (;;) if (!(cur = cur.qj_1).sj_1) { - if (cur instanceof ChildHandleNode) return cur; - if (cur instanceof NodeList) return null; + var sdBuilder = new ClassSerialDescriptorBuilder(serialName); + return builder(sdBuilder), new SerialDescriptorImpl(serialName, kind, sdBuilder.kz_1.k(), toList(typeParameters), sdBuilder); + }, _.$_$.r = function(_this__u8e3s4, descriptor) { + var tmp, tmp14_safe_receiver = get_capturedKClass(descriptor); + if (null == tmp14_safe_receiver) tmp = null; else { + var tmp15_safe_receiver = _this__u8e3s4.qy(tmp14_safe_receiver); + tmp = null == tmp15_safe_receiver ? null : tmp15_safe_receiver.iy(); } + return tmp; + }, _.$_$.s = AbstractDecoder, _.$_$.t = AbstractEncoder, _.$_$.u = CompositeDecoder, + _.$_$.v = Decoder, _.$_$.w = Encoder, _.$_$.x = AbstractPolymorphicSerializer, _.$_$.y = ArrayListSerializer, + _.$_$.z = ElementMarker, _.$_$.a1 = typeParametersSerializers, _.$_$.b1 = GeneratedSerializer, + _.$_$.c1 = function(name, primitiveSerializer) { + return new InlineClassDescriptor(name, new InlinePrimitiveDescriptor$1(primitiveSerializer)); + }, _.$_$.d1 = LinkedHashMapSerializer, _.$_$.e1 = NamedValueDecoder, _.$_$.f1 = PluginGeneratedSerialDescriptor, + _.$_$.g1 = function(_this__u8e3s4) { + return function(_this__u8e3s4) { + if (_init_properties_Platform_common_kt__3qzecs(), isInterface(_this__u8e3s4, CachedNames)) return _this__u8e3s4.b10(); + var result = HashSet_init_$Create$_0(_this__u8e3s4.xy()), inductionVariable = 0, last = _this__u8e3s4.xy(); + if (inductionVariable < last) do { + var i = inductionVariable; + inductionVariable = inductionVariable + 1 | 0; + var element = _this__u8e3s4.zy(i); + result.e(element); + } while (inductionVariable < last); + return result; + }(_this__u8e3s4); + }, _.$_$.h1 = function(seen, goldenMask, descriptor) { + var missingFields = ArrayList_init_$Create$(), missingFieldsBits = goldenMask & ~seen, inductionVariable = 0; + if (inductionVariable < 32) do { + var i = inductionVariable; + if (inductionVariable = inductionVariable + 1 | 0, 1 & missingFieldsBits) { + var element = descriptor.zy(i); + missingFields.e(element); + } + missingFieldsBits = missingFieldsBits >>> 1 | 0; + } while (inductionVariable < 32); + throw MissingFieldException_init_$Create$(missingFields, descriptor.ty()); + }, _.$_$.i1 = EmptySerializersModule_0, _.$_$.j1 = DeserializationStrategy, _.$_$.k1 = KSerializer, + _.$_$.l1 = MissingFieldException, _.$_$.m1 = SealedClassSerializer, _.$_$.n1 = SerializationException, + _.$_$.o1 = SerializationStrategy, _.$_$.p1 = function(_this__u8e3s4, decoder, klassName) { + var tmp, tmp0_elvis_lhs = _this__u8e3s4.ny(decoder, klassName); + return null == tmp0_elvis_lhs ? throwSubtypeNotRegistered_0(klassName, _this__u8e3s4.my()) : tmp = tmp0_elvis_lhs, + tmp; + }, _.$_$.q1 = function(_this__u8e3s4, encoder, value) { + var tmp, tmp0_elvis_lhs = _this__u8e3s4.ly(encoder, value); + return null == tmp0_elvis_lhs ? function(subClass, baseClass) { + var tmp0_elvis_lhs = subClass.e8(); + throwSubtypeNotRegistered_0(null == tmp0_elvis_lhs ? toString(subClass) : tmp0_elvis_lhs, baseClass); + }(getKClassFromExpression(value), _this__u8e3s4.my()) : tmp = tmp0_elvis_lhs, tmp; + }; + }(module.exports, __webpack_require__(7036)); + }, + 1430: (module, __unused_webpack_exports, __webpack_require__) => { + !function(_, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core, kotlin_kotlin) { + "use strict"; + var Default_instance, ClassDiscriminatorMode_NONE_instance, ClassDiscriminatorMode_POLYMORPHIC_instance, ClassDiscriminatorMode_entriesInitialized, JsonNull_instance, properties_initialized_JsonElement_kt_abxy8s, JsonNullSerializer_instance, JsonDeserializationNamesKey, JsonSerializationNamesKey, properties_initialized_JsonNamesMap_kt_ljpf42, Tombstone_instance, ESCAPE_STRINGS, properties_initialized_StringOps_kt_wzaea7, WriteMode_OBJ_instance, WriteMode_LIST_instance, WriteMode_MAP_instance, WriteMode_POLY_OBJ_instance, WriteMode_entriesInitialized, $ENTRIES, CharMappings_instance, imul = Math.imul, EmptySerializersModule = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i1, protoOf = kotlin_kotlin.$_$.t5, initMetadataForObject = kotlin_kotlin.$_$.j5, VOID = kotlin_kotlin.$_$.c, Unit_instance = kotlin_kotlin.$_$.w1, initMetadataForClass = kotlin_kotlin.$_$.e5, toString = kotlin_kotlin.$_$.g8, Enum = kotlin_kotlin.$_$.l7, Decoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v, CompositeDecoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u, initMetadataForInterface = kotlin_kotlin.$_$.h5, initMetadataForCompanion = kotlin_kotlin.$_$.f5, StringBuilder_init_$Create$ = kotlin_kotlin.$_$.w, _Char___init__impl__6a9atx = kotlin_kotlin.$_$.l1, THROW_CCE = kotlin_kotlin.$_$.r7, equals = kotlin_kotlin.$_$.x4, hashCode = kotlin_kotlin.$_$.d5, joinToString = kotlin_kotlin.$_$.u2, KtMap = kotlin_kotlin.$_$.b2, LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.d, lazy = kotlin_kotlin.$_$.z7, toString_0 = kotlin_kotlin.$_$.v5, IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.a1, getKClassFromExpression = kotlin_kotlin.$_$.a, getBooleanHashCode = kotlin_kotlin.$_$.a5, getStringHashCode = kotlin_kotlin.$_$.c5, KtList = kotlin_kotlin.$_$.a2, NumberFormatException_init_$Create$ = kotlin_kotlin.$_$.f1, numberRangeToNumber = kotlin_kotlin.$_$.o5, ClosedRange = kotlin_kotlin.$_$.y5, isInterface = kotlin_kotlin.$_$.l5, contains = kotlin_kotlin.$_$.b6, StringCompanionObject_instance = kotlin_kotlin.$_$.u1, serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l, InlinePrimitiveDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c1, ENUM_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d, buildSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q, KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k1, IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.c1, Encoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w, toLong = kotlin_kotlin.$_$.u5, ElementMarker = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z, captureStack = kotlin_kotlin.$_$.q4, SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n1, SerializationException_init_$Init$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a, charSequenceLength = kotlin_kotlin.$_$.u4, charSequenceSubSequence = kotlin_kotlin.$_$.v4, coerceAtLeast = kotlin_kotlin.$_$.z5, coerceAtMost = kotlin_kotlin.$_$.a6, CLASS_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e, LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.o, ArrayList_init_$Create$ = kotlin_kotlin.$_$.h, singleOrNull = kotlin_kotlin.$_$.i3, emptyMap = kotlin_kotlin.$_$.m2, getValue = kotlin_kotlin.$_$.r2, fillArrayVal = kotlin_kotlin.$_$.z4, copyOf = kotlin_kotlin.$_$.i2, copyOf_0 = kotlin_kotlin.$_$.j2, LIST_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f, SerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o, DeepRecursiveFunction = kotlin_kotlin.$_$.j7, invoke = kotlin_kotlin.$_$.y7, CoroutineImpl = kotlin_kotlin.$_$.i4, DeepRecursiveScope = kotlin_kotlin.$_$.k7, Unit = kotlin_kotlin.$_$.s7, get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.t3, initMetadataForLambda = kotlin_kotlin.$_$.i5, initMetadataForCoroutine = kotlin_kotlin.$_$.g5, SealedClassSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m1, jsonCachedSerialNames = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g1, ENUM = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p, PrimitiveKind = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n, PolymorphicKind = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m, AbstractDecoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s, AbstractPolymorphicSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x, DeserializationStrategy = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j1, getKClass = kotlin_kotlin.$_$.b, findPolymorphicSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p1, ensureNotNull = kotlin_kotlin.$_$.x7, substringBefore = kotlin_kotlin.$_$.z6, removeSuffix = kotlin_kotlin.$_$.r6, substringAfter = kotlin_kotlin.$_$.x6, contains_0 = kotlin_kotlin.$_$.i6, plus = kotlin_kotlin.$_$.c8, MissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l1, objectCreate = kotlin_kotlin.$_$.s5, AbstractEncoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t, OBJECT_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h, noWhenBranchMatchedException = kotlin_kotlin.$_$.b8, findPolymorphicSerializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q1, SerializationStrategy = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o1, Char__toInt_impl_vasixd = kotlin_kotlin.$_$.n1, numberToChar = kotlin_kotlin.$_$.p5, charSequenceGet = kotlin_kotlin.$_$.t4, toString_1 = kotlin_kotlin.$_$.o1, startsWith = kotlin_kotlin.$_$.u6, NamedValueDecoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e1, MAP_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g, IllegalArgumentException = kotlin_kotlin.$_$.o7, emptySet = kotlin_kotlin.$_$.n2, plus_0 = kotlin_kotlin.$_$.d3, toInt = kotlin_kotlin.$_$.c7, toList = kotlin_kotlin.$_$.m3, enumEntries = kotlin_kotlin.$_$.m4, getContextualDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r, CONTEXTUAL_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c, last = kotlin_kotlin.$_$.z2, removeLast = kotlin_kotlin.$_$.h3, lastIndexOf = kotlin_kotlin.$_$.o6, Long = kotlin_kotlin.$_$.p7, Char__minus_impl_a2frrh = kotlin_kotlin.$_$.m1, numberToLong = kotlin_kotlin.$_$.r5, charArray = kotlin_kotlin.$_$.s4, indexOf = kotlin_kotlin.$_$.k6, indexOf_0 = kotlin_kotlin.$_$.l6, StringBuilder_init_$Create$_0 = kotlin_kotlin.$_$.v, HashMap_init_$Create$ = kotlin_kotlin.$_$.j; + function Default() { + Default_instance = this, Json.call(this, new JsonConfiguration, EmptySerializersModule()); } - function stateString($this, state) { - var tmp0_subject = state; - return tmp0_subject instanceof Finishing ? state.gk() ? "Cancelling" : state.jk() ? "Completing" : "Active" : null != tmp0_subject && isInterface(tmp0_subject, Incomplete) ? state.re() ? "Active" : "New" : tmp0_subject instanceof CompletedExceptionally ? "Cancelled" : "Completed"; - } - function Finishing(list, isCompleting, rootCause) { - this.ck_1 = list, this.dk_1 = atomic$boolean$1(isCompleting), this.ek_1 = atomic$ref$1(rootCause), - this.fk_1 = atomic$ref$1(null); + function Default_getInstance() { + return null == Default_instance && new Default, Default_instance; } - function ChildCompletion(parent, state, child, proposedUpdate) { - JobNode.call(this), this.yk_1 = parent, this.zk_1 = state, this.al_1 = child, this.bl_1 = proposedUpdate; + function Json(configuration, serializersModule) { + Default_getInstance(), this.t16_1 = configuration, this.u16_1 = serializersModule, + this.v16_1 = new DescriptorSchemaCache; } - function JobSupport(active) { - this.ke_1 = atomic$ref$1(active ? get_EMPTY_ACTIVE() : get_EMPTY_NEW()), this.le_1 = atomic$ref$1(null); + function JsonClassDiscriminator() {} + function JsonNames() {} + function JsonConfiguration(encodeDefaults, ignoreUnknownKeys, isLenient, allowStructuredMapKeys, prettyPrint, explicitNulls, prettyPrintIndent, coerceInputValues, useArrayPolymorphism, classDiscriminator, allowSpecialFloatingPointValues, useAlternativeNames, namingStrategy, decodeEnumsCaseInsensitive, allowTrailingComma, allowComments, classDiscriminatorMode) { + encodeDefaults = encodeDefaults !== VOID && encodeDefaults, ignoreUnknownKeys = ignoreUnknownKeys !== VOID && ignoreUnknownKeys, + isLenient = isLenient !== VOID && isLenient, allowStructuredMapKeys = allowStructuredMapKeys !== VOID && allowStructuredMapKeys, + prettyPrint = prettyPrint !== VOID && prettyPrint, explicitNulls = explicitNulls === VOID || explicitNulls, + prettyPrintIndent = prettyPrintIndent === VOID ? " " : prettyPrintIndent, coerceInputValues = coerceInputValues !== VOID && coerceInputValues, + useArrayPolymorphism = useArrayPolymorphism !== VOID && useArrayPolymorphism, classDiscriminator = classDiscriminator === VOID ? "type" : classDiscriminator, + allowSpecialFloatingPointValues = allowSpecialFloatingPointValues !== VOID && allowSpecialFloatingPointValues, + useAlternativeNames = useAlternativeNames === VOID || useAlternativeNames, namingStrategy = namingStrategy === VOID ? null : namingStrategy, + decodeEnumsCaseInsensitive = decodeEnumsCaseInsensitive !== VOID && decodeEnumsCaseInsensitive, + allowTrailingComma = allowTrailingComma !== VOID && allowTrailingComma, allowComments = allowComments !== VOID && allowComments, + classDiscriminatorMode = classDiscriminatorMode === VOID ? (ClassDiscriminatorMode_initEntries(), + ClassDiscriminatorMode_POLYMORPHIC_instance) : classDiscriminatorMode, this.n17_1 = encodeDefaults, + this.o17_1 = ignoreUnknownKeys, this.p17_1 = isLenient, this.q17_1 = allowStructuredMapKeys, + this.r17_1 = prettyPrint, this.s17_1 = explicitNulls, this.t17_1 = prettyPrintIndent, + this.u17_1 = coerceInputValues, this.v17_1 = useArrayPolymorphism, this.w17_1 = classDiscriminator, + this.x17_1 = allowSpecialFloatingPointValues, this.y17_1 = useAlternativeNames, + this.z17_1 = namingStrategy, this.a18_1 = decodeEnumsCaseInsensitive, this.b18_1 = allowTrailingComma, + this.c18_1 = allowComments, this.d18_1 = classDiscriminatorMode; + } + function ClassDiscriminatorMode_initEntries() { + if (ClassDiscriminatorMode_entriesInitialized) return Unit_instance; + ClassDiscriminatorMode_entriesInitialized = !0, ClassDiscriminatorMode_NONE_instance = new ClassDiscriminatorMode("NONE", 0), + new ClassDiscriminatorMode("ALL_JSON_OBJECTS", 1), ClassDiscriminatorMode_POLYMORPHIC_instance = new ClassDiscriminatorMode("POLYMORPHIC", 2); + } + function ClassDiscriminatorMode(name, ordinal) { + Enum.call(this, name, ordinal); } - function boxIncomplete(_this__u8e3s4) { - return init_properties_JobSupport_kt_iaxwag(), null != _this__u8e3s4 && isInterface(_this__u8e3s4, Incomplete) ? new IncompleteStateBox(_this__u8e3s4) : _this__u8e3s4; + function JsonDecoder() {} + function Companion() {} + function JsonElement() {} + function Companion_0() {} + function JsonObject$toString$lambda(_destruct__k2r9zo) { + var k = _destruct__k2r9zo.f1(), v = _destruct__k2r9zo.g1(), this_0 = StringBuilder_init_$Create$(); + return printQuoted(this_0, k), this_0.i6(_Char___init__impl__6a9atx(58)), this_0.g6(v), + this_0.toString(); } - function JobCancellingNode() { - JobNode.call(this); + function JsonObject(content) { + JsonElement.call(this), this.g18_1 = content; } - function InactiveNodeList(list) { - this.ik_1 = list; + function JsonNull$_anonymous__enib48() { + return function() { + null == JsonNullSerializer_instance && new JsonNullSerializer; + return JsonNullSerializer_instance; + }(); } - function ChildHandleNode(childJob) { - JobCancellingNode.call(this), this.sk_1 = childJob; + function JsonNull() { + JsonNull_instance = this, JsonPrimitive.call(this), this.j18_1 = "null"; + var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance(); + this.k18_1 = lazy(tmp_0, JsonNull$_anonymous__enib48); } - function InvokeOnCancelling(handler) { - JobCancellingNode.call(this), this.il_1 = handler, this.jl_1 = atomic$int$1(0); + function JsonNull_getInstance() { + return null == JsonNull_instance && new JsonNull, JsonNull_instance; } - function InvokeOnCompletion(handler) { - JobNode.call(this), this.ol_1 = handler; + function Companion_1() {} + function JsonPrimitive() { + JsonElement.call(this); } - function unboxState(_this__u8e3s4) { - init_properties_JobSupport_kt_iaxwag(); - var tmp0_safe_receiver = _this__u8e3s4 instanceof IncompleteStateBox ? _this__u8e3s4 : null, tmp1_elvis_lhs = null == tmp0_safe_receiver ? null : tmp0_safe_receiver.pl_1; - return null == tmp1_elvis_lhs ? _this__u8e3s4 : tmp1_elvis_lhs; + function JsonLiteral(body, isString, coerceToInlineType) { + if (coerceToInlineType = coerceToInlineType === VOID ? null : coerceToInlineType, + JsonPrimitive.call(this), this.m18_1 = isString, this.n18_1 = coerceToInlineType, + this.o18_1 = toString_0(body), null != this.n18_1 && !this.n18_1.wy()) { + throw IllegalArgumentException_init_$Create$(toString_0("Failed requirement.")); + } } - function IncompleteStateBox(state) { - this.pl_1 = state; + function Companion_2() {} + function JsonArray(content) { + JsonElement.call(this), this.p18_1 = content; } - function ChildContinuation(child) { - JobCancellingNode.call(this), this.ul_1 = child; + function get_contentOrNull(_this__u8e3s4) { + return _init_properties_JsonElement_kt__7cbdc2(), _this__u8e3s4 instanceof JsonNull ? null : _this__u8e3s4.l18(); } - function init_properties_JobSupport_kt_iaxwag() { - properties_initialized_JobSupport_kt_5iq8a4 || (properties_initialized_JobSupport_kt_5iq8a4 = !0, - COMPLETING_ALREADY = new Symbol("COMPLETING_ALREADY"), COMPLETING_WAITING_CHILDREN = new Symbol("COMPLETING_WAITING_CHILDREN"), - COMPLETING_RETRY = new Symbol("COMPLETING_RETRY"), TOO_LATE_TO_CANCEL = new Symbol("TOO_LATE_TO_CANCEL"), - SEALED = new Symbol("SEALED"), EMPTY_NEW = new Empty(!1), EMPTY_ACTIVE = new Empty(!0)); + function get_jsonPrimitive(_this__u8e3s4) { + _init_properties_JsonElement_kt__7cbdc2(); + var tmp, tmp0_elvis_lhs = _this__u8e3s4 instanceof JsonPrimitive ? _this__u8e3s4 : null; + return null == tmp0_elvis_lhs ? function(_this__u8e3s4, element) { + throw _init_properties_JsonElement_kt__7cbdc2(), IllegalArgumentException_init_$Create$("Element " + toString_0(getKClassFromExpression(_this__u8e3s4)) + " is not a " + element); + }(_this__u8e3s4, "JsonPrimitive") : tmp = tmp0_elvis_lhs, tmp; } - function MainCoroutineDispatcher() { - CoroutineDispatcher.call(this); + function _init_properties_JsonElement_kt__7cbdc2() { + properties_initialized_JsonElement_kt_abxy8s || (properties_initialized_JsonElement_kt_abxy8s = !0, + InlinePrimitiveDescriptor("kotlinx.serialization.json.JsonUnquotedLiteral", serializer(StringCompanionObject_instance))); } - function supervisorScope(block, $cont) { - var tmp0__anonymous__q1qw7t = $cont, coroutine = new SupervisorCoroutine(tmp0__anonymous__q1qw7t.m3(), tmp0__anonymous__q1qw7t); - return startUndispatchedOrReturn(coroutine, coroutine, block); + function JsonNullSerializer() { + JsonNullSerializer_instance = this, this.s18_1 = buildSerialDescriptor("kotlinx.serialization.json.JsonNull", ENUM_getInstance(), []); } - function SupervisorCoroutine(context, uCont) { - ScopeCoroutine.call(this, context, uCont); + function JsonEncoder() {} + function Composer(writer) { + this.u18_1 = writer, this.v18_1 = !0; } - function TimeoutCancellationException() {} - function Unconfined() { - Unconfined_instance = this, CoroutineDispatcher.call(this); + function ComposerWithPrettyPrint(writer, json) { + Composer.call(this, writer), this.m19_1 = json, this.n19_1 = 0; } - function Unconfined_getInstance() { - return null == Unconfined_instance && new Unconfined, Unconfined_instance; + function JsonElementMarker(descriptor) { + var $boundThis, l; + this.o19_1 = new ElementMarker(descriptor, ($boundThis = this, l = function(p0, p1) { + return descriptor = p0, index = p1, ($this = $boundThis).p19_1 = !descriptor.dz(index) && descriptor.cz(index).vy(), + $this.p19_1; + var $this, descriptor, index; + }, l.callableName = "readIfAbsent", l)), this.p19_1 = !1; } - function Key_2() { - Key_instance_2 = this; + function invalidTrailingComma(_this__u8e3s4, entity) { + entity = entity === VOID ? "object" : entity, _this__u8e3s4.s19("Trailing comma before the end of JSON " + entity, _this__u8e3s4.i17_1 - 1 | 0, "Trailing commas are non-complaint JSON and not allowed by default. Use 'allowTrailingCommas = true' in 'Json {}' builder to support them."); } - function Key_getInstance_3() { - return null == Key_instance_2 && new Key_2, Key_instance_2; + function JsonEncodingException(message) { + JsonException.call(this, message), captureStack(this, JsonEncodingException); } - function ensureCapacity($this) { - var currentSize = $this.ti_1.length, newElements = fillArrayVal(Array(currentSize << 1), null), tmp0_copyInto = $this.ti_1, tmp1_copyInto = $this.ui_1, tmp2_copyInto = tmp0_copyInto.length; - arrayCopy(tmp0_copyInto, newElements, 0, tmp1_copyInto, tmp2_copyInto); - var tmp3_copyInto = $this.ti_1, tmp4_copyInto = $this.ti_1.length - $this.ui_1 | 0, tmp5_copyInto = $this.ui_1; - arrayCopy(tmp3_copyInto, newElements, tmp4_copyInto, 0, tmp5_copyInto), $this.ti_1 = newElements, - $this.ui_1 = 0, $this.vi_1 = currentSize; + function InvalidKeyKindException(keyDescriptor) { + return new JsonEncodingException("Value of type '" + keyDescriptor.ty() + "' can't be used in JSON as a key in the map. It should have either primitive or enum kind, but its kind is '" + keyDescriptor.uy().toString() + "'.\nUse 'allowStructuredMapKeys = true' in 'Json {}' builder to convert such maps to [key1, value1, key2, value2,...] arrays."); } - function ArrayQueue() { - var tmp$ret$0, tmp = this; - tmp$ret$0 = fillArrayVal(Array(16), null), tmp.ti_1 = tmp$ret$0, this.ui_1 = 0, - this.vi_1 = 0; + function JsonDecodingException(message) { + JsonException.call(this, message), captureStack(this, JsonDecodingException); } - function OpDescriptor() {} - function get_UNDEFINED() { - return init_properties_DispatchedContinuation_kt_s7rtw6(), UNDEFINED; + function JsonDecodingException_0(offset, message, input) { + return JsonDecodingException_1(offset, message + "\nJSON input: " + toString_0(minify(input, offset))); } - function get_REUSABLE_CLAIMED() { - return init_properties_DispatchedContinuation_kt_s7rtw6(), REUSABLE_CLAIMED; + function UnknownKeyException(key, input) { + return JsonDecodingException_1(-1, "Encountered an unknown key '" + key + "'.\nUse 'ignoreUnknownKeys = true' in 'Json {}' builder to ignore unknown keys.\nCurrent input: " + toString_0(minify(input))); } - function resumeCancellableWith(_this__u8e3s4, result, onCancellation) { - var tmp; - if (init_properties_DispatchedContinuation_kt_s7rtw6(), _this__u8e3s4 instanceof DispatchedContinuation) { - var tmp_0, tmp1_resumeCancellableWith = _this__u8e3s4, state = toState_0(result, onCancellation); - if (tmp1_resumeCancellableWith.ug_1.ki(tmp1_resumeCancellableWith.m3())) tmp1_resumeCancellableWith.wg_1 = state, - tmp1_resumeCancellableWith.ah_1 = get_MODE_CANCELLABLE(), tmp1_resumeCancellableWith.ug_1.li(tmp1_resumeCancellableWith.m3(), tmp1_resumeCancellableWith), - tmp_0 = Unit_getInstance(); else { - var tmp0_executeUnconfined = get_MODE_CANCELLABLE(), eventLoop = ThreadLocalEventLoop_getInstance().gj(); - if (eventLoop.zi()) tmp1_resumeCancellableWith.wg_1 = state, tmp1_resumeCancellableWith.ah_1 = tmp0_executeUnconfined, - eventLoop.xi(tmp1_resumeCancellableWith), !0; else { - eventLoop.cj(!0); - try { - var tmp$ret$3, job = tmp1_resumeCancellableWith.m3().q3(Key_getInstance_2()); - if (null == job || job.re()) tmp$ret$3 = !1; else { - var tmp$ret$1, cause = job.of(); - tmp1_resumeCancellableWith.oh(state, cause), Companion_getInstance(), tmp$ret$1 = _Result___init__impl__xyqfz8(createFailure(cause)), - tmp1_resumeCancellableWith.n3(tmp$ret$1), Unit_getInstance(), tmp$ret$3 = !0; - } - for (tmp$ret$3 || (tmp1_resumeCancellableWith.vg_1, tmp1_resumeCancellableWith.xg_1, - tmp1_resumeCancellableWith.vg_1.n3(result), Unit_getInstance()); eventLoop.si(); ) ; - } catch ($p) { - if (!($p instanceof Error)) throw $p; - tmp1_resumeCancellableWith.ei($p, null); - } finally { - eventLoop.dj(!0); - } - !1; - } - tmp_0 = Unit_getInstance(); - } - tmp = tmp_0; - } else _this__u8e3s4.n3(result), tmp = Unit_getInstance(); - return tmp; + function JsonException(message) { + SerializationException_init_$Init$(message, this), captureStack(this, JsonException); } - function resumeCancellableWith$default(_this__u8e3s4, result, onCancellation, $mask0, $handler) { - return 0 != (2 & $mask0) && (onCancellation = null), resumeCancellableWith(_this__u8e3s4, result, onCancellation); + function JsonDecodingException_1(offset, message) { + return new JsonDecodingException(offset >= 0 ? "Unexpected JSON token at offset " + offset + ": " + message : message); } - function _get_reusableCancellableContinuation__9qex09($this) { - var tmp = $this.yg_1.kotlinx$atomicfu$value; - return tmp instanceof CancellableContinuationImpl ? tmp : null; + function minify(_this__u8e3s4, offset) { + if (offset = offset === VOID ? -1 : offset, charSequenceLength(_this__u8e3s4) < 200) return _this__u8e3s4; + if (-1 === offset) { + var start = charSequenceLength(_this__u8e3s4) - 60 | 0; + if (start <= 0) return _this__u8e3s4; + var endIndex = charSequenceLength(_this__u8e3s4); + return "....." + toString_0(charSequenceSubSequence(_this__u8e3s4, start, endIndex)); + } + var start_0 = offset - 30 | 0, end = offset + 30 | 0, prefix = start_0 <= 0 ? "" : ".....", suffix = end >= charSequenceLength(_this__u8e3s4) ? "" : ".....", startIndex = coerceAtLeast(start_0, 0), endIndex_0 = coerceAtMost(end, charSequenceLength(_this__u8e3s4)); + return prefix + toString_0(charSequenceSubSequence(_this__u8e3s4, startIndex, endIndex_0)) + suffix; } - function DispatchedContinuation(dispatcher, continuation) { - DispatchedTask.call(this, get_MODE_UNINITIALIZED()), this.ug_1 = dispatcher, this.vg_1 = continuation, - this.wg_1 = get_UNDEFINED(), this.xg_1 = threadContextElements(this.m3()), this.yg_1 = atomic$ref$1(null); + function get_JsonDeserializationNamesKey() { + return _init_properties_JsonNamesMap_kt__cbbp0k(), JsonDeserializationNamesKey; } - function init_properties_DispatchedContinuation_kt_s7rtw6() { - properties_initialized_DispatchedContinuation_kt_2siadq || (properties_initialized_DispatchedContinuation_kt_2siadq = !0, - UNDEFINED = new Symbol("UNDEFINED"), REUSABLE_CLAIMED = new Symbol("REUSABLE_CLAIMED")); + function getJsonNameIndex(_this__u8e3s4, json, name) { + if (_init_properties_JsonNamesMap_kt__cbbp0k(), decodeCaseInsensitive(json, _this__u8e3s4)) return getJsonNameIndexSlowPath(_this__u8e3s4, json, name.toLowerCase()); + if (null != namingStrategy(_this__u8e3s4, json)) return getJsonNameIndexSlowPath(_this__u8e3s4, json, name); + var index = _this__u8e3s4.az(name); + return -3 !== index ? index : json.t16_1.y17_1 ? getJsonNameIndexSlowPath(_this__u8e3s4, json, name) : index; + } + function getJsonElementName(_this__u8e3s4, json, index) { + _init_properties_JsonNamesMap_kt__cbbp0k(); + var strategy = namingStrategy(_this__u8e3s4, json); + return null == strategy ? _this__u8e3s4.zy(index) : function(_this__u8e3s4, json, strategy) { + _init_properties_JsonNamesMap_kt__cbbp0k(); + var tmp = get_schemaCache(json), tmp_0 = (_init_properties_JsonNamesMap_kt__cbbp0k(), + JsonSerializationNamesKey); + return tmp.u19(_this__u8e3s4, tmp_0, ($this_serializationNamesIndices = _this__u8e3s4, + $strategy = strategy, function() { + for (var tmp = 0, tmp_0 = $this_serializationNamesIndices.xy(), tmp_1 = fillArrayVal(Array(tmp_0), null); tmp < tmp_0; ) { + var tmp_2 = tmp, baseName = $this_serializationNamesIndices.zy(tmp_2); + tmp_1[tmp_2] = $strategy.w19($this_serializationNamesIndices, tmp_2, baseName), + tmp = tmp + 1 | 0; + } + return tmp_1; + })); + var $this_serializationNamesIndices, $strategy; + }(_this__u8e3s4, json, strategy)[index]; + } + function namingStrategy(_this__u8e3s4, json) { + return _init_properties_JsonNamesMap_kt__cbbp0k(), equals(_this__u8e3s4.uy(), CLASS_getInstance()) ? json.t16_1.z17_1 : null; + } + function deserializationNamesMap(_this__u8e3s4, descriptor) { + _init_properties_JsonNamesMap_kt__cbbp0k(); + var $descriptor, $this_deserializationNamesMap, tmp = get_schemaCache(_this__u8e3s4), tmp_0 = get_JsonDeserializationNamesKey(); + return tmp.u19(descriptor, tmp_0, ($descriptor = descriptor, $this_deserializationNamesMap = _this__u8e3s4, + function() { + return function(_this__u8e3s4, json) { + _init_properties_JsonNamesMap_kt__cbbp0k(); + var builder = LinkedHashMap_init_$Create$(), useLowercaseEnums = decodeCaseInsensitive(json, _this__u8e3s4), strategyForClasses = namingStrategy(_this__u8e3s4, json), inductionVariable = 0, last = _this__u8e3s4.xy(); + if (inductionVariable < last) do { + var i = inductionVariable; + inductionVariable = inductionVariable + 1 | 0; + for (var this_0 = _this__u8e3s4.bz(i), destination = ArrayList_init_$Create$(), tmp0_iterator = this_0.h(); tmp0_iterator.i(); ) { + var element = tmp0_iterator.j(); + element instanceof JsonNames && destination.e(element); + } + var tmp_0, tmp9_safe_receiver = singleOrNull(destination), tmp10_safe_receiver = null == tmp9_safe_receiver ? null : tmp9_safe_receiver.v19_1; + if (null == tmp10_safe_receiver) ; else for (var inductionVariable_0 = 0, last_0 = tmp10_safe_receiver.length; inductionVariable_0 < last_0; ) { + var element_0 = tmp10_safe_receiver[inductionVariable_0]; + inductionVariable_0 = inductionVariable_0 + 1 | 0, buildDeserializationNamesMap$putOrThrow(builder, _this__u8e3s4, useLowercaseEnums ? element_0.toLowerCase() : element_0, i); + } + null == (tmp_0 = useLowercaseEnums ? _this__u8e3s4.zy(i).toLowerCase() : null != strategyForClasses ? strategyForClasses.w19(_this__u8e3s4, i, _this__u8e3s4.zy(i)) : null) || buildDeserializationNamesMap$putOrThrow(builder, _this__u8e3s4, tmp_0, i); + } while (inductionVariable < last); + return builder.q() ? emptyMap() : builder; + }($descriptor, $this_deserializationNamesMap); + })); } - function get_MODE_CANCELLABLE() { - return MODE_CANCELLABLE; + function decodeCaseInsensitive(_this__u8e3s4, descriptor) { + return _init_properties_JsonNamesMap_kt__cbbp0k(), _this__u8e3s4.t16_1.a18_1 && equals(descriptor.uy(), ENUM_getInstance()); } - function DispatchedTask(resumeMode) { - SchedulerTask.call(this), this.ah_1 = resumeMode; + function getJsonNameIndexSlowPath(_this__u8e3s4, json, name) { + _init_properties_JsonNamesMap_kt__cbbp0k(); + var tmp0_elvis_lhs = deserializationNamesMap(json, _this__u8e3s4).j1(name); + return null == tmp0_elvis_lhs ? -3 : tmp0_elvis_lhs; } - function get_MODE_UNINITIALIZED() { - return MODE_UNINITIALIZED; + function buildDeserializationNamesMap$putOrThrow(_this__u8e3s4, $this_buildDeserializationNamesMap, name, index) { + var entity = equals($this_buildDeserializationNamesMap.uy(), ENUM_getInstance()) ? "enum value" : "property"; + if ((isInterface(_this__u8e3s4, KtMap) ? _this__u8e3s4 : THROW_CCE()).h1(name)) throw new JsonException("The suggested name '" + name + "' for " + entity + " " + $this_buildDeserializationNamesMap.zy(index) + " is already one of the names for " + entity + " " + $this_buildDeserializationNamesMap.zy(getValue(_this__u8e3s4, name)) + " in " + toString_0($this_buildDeserializationNamesMap)); + _this__u8e3s4.n1(name, index); } - function get_isReusableMode(_this__u8e3s4) { - return 2 === _this__u8e3s4; + function _init_properties_JsonNamesMap_kt__cbbp0k() { + properties_initialized_JsonNamesMap_kt_ljpf42 || (properties_initialized_JsonNamesMap_kt_ljpf42 = !0, + JsonDeserializationNamesKey = new Key, JsonSerializationNamesKey = new Key); } - function get_isCancellableMode(_this__u8e3s4) { - return 1 === _this__u8e3s4 || 2 === _this__u8e3s4; + function Tombstone() {} + function resize($this) { + var newSize = imul($this.z19_1, 2); + $this.x19_1 = copyOf($this.x19_1, newSize), $this.y19_1 = copyOf_0($this.y19_1, newSize); } - function dispatch(_this__u8e3s4, mode) { - var delegate = _this__u8e3s4.kh(), undispatched = 4 === mode; - if (!undispatched && delegate instanceof DispatchedContinuation && get_isCancellableMode(mode) === get_isCancellableMode(_this__u8e3s4.ah_1)) { - var dispatcher = delegate.ug_1, context = delegate.m3(); - dispatcher.ki(context) ? dispatcher.li(context, _this__u8e3s4) : resumeUnconfined(_this__u8e3s4); - } else resume(_this__u8e3s4, delegate, undispatched); + function JsonPath() { + this.x19_1 = fillArrayVal(Array(8), null); + for (var tmp_1 = 0, tmp_2 = new Int32Array(8); tmp_1 < 8; ) tmp_2[tmp_1] = -1, tmp_1 = tmp_1 + 1 | 0; + this.y19_1 = tmp_2, this.z19_1 = -1; } - function get_MODE_ATOMIC() { - return MODE_ATOMIC; + function readObject_0(_this__u8e3s4, $this, $completion) { + var tmp = new $readObjectCOROUTINE$0($this, _this__u8e3s4, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); } - function resumeUnconfined(_this__u8e3s4) { - var eventLoop = ThreadLocalEventLoop_getInstance().gj(); - if (eventLoop.zi()) eventLoop.xi(_this__u8e3s4); else { - eventLoop.cj(!0); - try { - for (resume(_this__u8e3s4, _this__u8e3s4.kh(), !0); eventLoop.si(); ) ; - } catch ($p) { - if (!($p instanceof Error)) throw $p; - _this__u8e3s4.ei($p, null); - } finally { - eventLoop.dj(!0); + function readArray($this) { + var lastToken = $this.p1a_1.a1b(); + 4 === $this.p1a_1.v1a() && $this.p1a_1.u1a("Unexpected leading comma"); + for (var result = ArrayList_init_$Create$(); $this.p1a_1.w1a(); ) { + var element = $this.z1a(); + if (result.e(element), 4 !== (lastToken = $this.p1a_1.a1b())) { + var this_0 = $this.p1a_1, condition = 9 === lastToken, position = this_0.i17_1; + if (!condition) { + this_0.u1a("Expected end of the array or comma", position); + } } } + return 8 === lastToken ? $this.p1a_1.t1a(9) : 4 === lastToken && ($this.r1a_1 || invalidTrailingComma($this.p1a_1, "array"), + $this.p1a_1.t1a(9)), new JsonArray(result); } - function resume(_this__u8e3s4, delegate, undispatched) { - var tmp, state = _this__u8e3s4.nh(), exception = _this__u8e3s4.ci(state); - if (null != exception) Companion_getInstance(), tmp = _Result___init__impl__xyqfz8(createFailure(exception)); else { - Companion_getInstance(); - var tmp2_success = _this__u8e3s4.bi(state); - tmp = _Result___init__impl__xyqfz8(tmp2_success); - } - var result = tmp; - if (undispatched) { - var tmp3_resumeUndispatchedWith = delegate instanceof DispatchedContinuation ? delegate : THROW_CCE(); - tmp3_resumeUndispatchedWith.vg_1, tmp3_resumeUndispatchedWith.xg_1, tmp3_resumeUndispatchedWith.vg_1.n3(result), - Unit_getInstance(); - } else delegate.n3(result); - } - function ScopeCoroutine(context, uCont) { - AbstractCoroutine.call(this, context, !0, !0), this.km_1 = uCont; + function readValue($this, isString) { + var tmp; + tmp = $this.q1a_1 || !isString ? $this.p1a_1.y1a() : $this.p1a_1.x1a(); + return isString || "null" !== tmp ? new JsonLiteral(tmp, isString) : JsonNull_getInstance(); } - function Symbol(symbol) { - this.pm_1 = symbol; + function readDeepRecursive($this) { + return invoke(new DeepRecursiveFunction((i = new JsonTreeReader$readDeepRecursive$slambda($this, null), + (l = function($this$DeepRecursiveFunction, it, $completion) { + return i.c1c($this$DeepRecursiveFunction, it, $completion); + }).$arity = 2, l)), Unit_instance); + var i, l; } - function startCoroutineCancellable(_this__u8e3s4, receiver, completion, onCancellation) { - var tmp; - try { - var tmp_0 = intercepted(createCoroutineUnintercepted(_this__u8e3s4, receiver, completion)); - Companion_getInstance(), resumeCancellableWith(tmp_0, _Result___init__impl__xyqfz8(Unit_getInstance()), onCancellation), - tmp = Unit_getInstance(); - } catch ($p) { - if (!($p instanceof Error)) throw $p; - dispatcherFailure$accessor$paksz7(completion, $p), tmp = Unit_getInstance(); - } - return tmp; + function JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation) { + this.x1b_1 = this$0, CoroutineImpl.call(this, resultContinuation); } - function startCoroutineCancellable$default(_this__u8e3s4, receiver, completion, onCancellation, $mask0, $handler) { - return 0 != (4 & $mask0) && (onCancellation = null), startCoroutineCancellable(_this__u8e3s4, receiver, completion, onCancellation); + function $readObjectCOROUTINE$0(_this__u8e3s4, _this__u8e3s4_0, resultContinuation) { + CoroutineImpl.call(this, resultContinuation), this.j1b_1 = _this__u8e3s4, this.k1b_1 = _this__u8e3s4_0; } - function dispatcherFailure(completion, e) { - var tmp$ret$0; - throw Companion_getInstance(), tmp$ret$0 = _Result___init__impl__xyqfz8(createFailure(e)), - completion.n3(tmp$ret$0), e; + function JsonTreeReader(configuration, lexer) { + this.p1a_1 = lexer, this.q1a_1 = configuration.p17_1, this.r1a_1 = configuration.b18_1, + this.s1a_1 = 0; } - function startCoroutineCancellable_0(_this__u8e3s4, fatalCompletion) { - var tmp; - try { - var tmp_0 = intercepted(_this__u8e3s4); - Companion_getInstance(), resumeCancellableWith$default(tmp_0, _Result___init__impl__xyqfz8(Unit_getInstance()), null, 2, null), - tmp = Unit_getInstance(); - } catch ($p) { - if (!($p instanceof Error)) throw $p; - dispatcherFailure$accessor$paksz7(fatalCompletion, $p), tmp = Unit_getInstance(); + function classDiscriminator(_this__u8e3s4, json) { + for (var _iterator__ex2g4s = _this__u8e3s4.yy().h(); _iterator__ex2g4s.i(); ) { + var annotation = _iterator__ex2g4s.j(); + if (annotation instanceof JsonClassDiscriminator) return annotation.e1c_1; } - return tmp; + return json.t16_1.w17_1; } - function dispatcherFailure$accessor$paksz7(completion, e) { - return dispatcherFailure(completion, e); + function validateIfSealed$accessor$1rk9rdt(serializer, actualSerializer, classDiscriminator) { + return function(serializer, actualSerializer, classDiscriminator) { + if (!(serializer instanceof SealedClassSerializer)) return Unit_instance; + if (jsonCachedSerialNames(actualSerializer.iy()).d1(classDiscriminator)) { + var baseName = serializer.iy().ty(), actualName = actualSerializer.iy().ty(); + throw IllegalStateException_init_$Create$(toString_0("Sealed class '" + actualName + "' cannot be serialized as base class '" + baseName + "' because it has property name that conflicts with JSON class discriminator '" + classDiscriminator + "'. You can either change class discriminator in JsonConfiguration, rename property with @SerialName annotation or fall back to array polymorphism")); + } + }(serializer, actualSerializer, classDiscriminator); } - function startUndispatchedOrReturn(_this__u8e3s4, receiver, block) { - var tmp$ret$3, tmp; - try { - var tmp$ret$0; - tmp = "function" == typeof (tmp$ret$0 = block) ? tmp$ret$0(receiver, _this__u8e3s4) : block.fe(receiver, _this__u8e3s4); - } catch ($p) { - if (!($p instanceof Error)) throw $p; - tmp = CompletedExceptionally_init_$Create$($p, !1, 2, null); - } - var result = tmp; - if (result !== get_COROUTINE_SUSPENDED()) { - var state = _this__u8e3s4.ze(result); - if (state !== get_COMPLETING_WAITING_CHILDREN()) { - var tmp_1; - if (state instanceof CompletedExceptionally) throw state.we_1, recoverStackTrace(state.we_1, _this__u8e3s4.km_1); - tmp_1 = unboxState(state), tmp$ret$3 = tmp_1; - } else tmp$ret$3 = get_COROUTINE_SUSPENDED(); - } else tmp$ret$3 = get_COROUTINE_SUSPENDED(); - return tmp$ret$3; + function Key() {} + function DescriptorSchemaCache() { + this.t19_1 = createMapForCache(16); } - function startCoroutineUndispatched(_this__u8e3s4, receiver, completion) { - $l$block: { - var tmp, actualCompletion = completion; - try { - var tmp$ret$1; - completion.m3(), tmp = "function" == typeof (tmp$ret$1 = _this__u8e3s4) ? tmp$ret$1(receiver, actualCompletion) : _this__u8e3s4.fe(receiver, actualCompletion); - } catch ($p) { - if ($p instanceof Error) { - var tmp$ret$6; - Companion_getInstance(), tmp$ret$6 = _Result___init__impl__xyqfz8(createFailure($p)), - actualCompletion.n3(tmp$ret$6), Unit_getInstance(), Unit_getInstance(); - break $l$block; + function DiscriminatorHolder(discriminatorToSkip) { + this.h1c_1 = discriminatorToSkip; + } + function coerceInputValue($this, descriptor, index) { + var tmp$ret$1; + $l$block_2: { + var this_0 = $this.a17_1, isOptional = descriptor.dz(index), elementDescriptor = descriptor.cz(index); + if (!(!isOptional || elementDescriptor.vy()) && $this.c17_1.k1c(!0)) tmp$ret$1 = !0; else { + if (equals(elementDescriptor.uy(), ENUM_getInstance())) { + if (!!elementDescriptor.vy() && $this.c17_1.k1c(!1)) { + tmp$ret$1 = !1; + break $l$block_2; + } + var tmp0_elvis_lhs = $this.c17_1.l1c($this.g17_1.p17_1); + if (null == tmp0_elvis_lhs) { + tmp$ret$1 = !1; + break $l$block_2; + } + var enumIndex = getJsonNameIndex(elementDescriptor, this_0, tmp0_elvis_lhs), coerceToNull = !this_0.t16_1.s17_1 && elementDescriptor.vy(); + if (-3 === enumIndex && (isOptional || coerceToNull)) { + $this.c17_1.x1a(), tmp$ret$1 = !0; + break $l$block_2; + } } - throw $p; - } - var value = tmp; - if (value !== get_COROUTINE_SUSPENDED()) { - var tmp$ret$9, tmp0_resume = null == value || isObject(value) ? value : THROW_CCE(); - Companion_getInstance(), tmp$ret$9 = _Result___init__impl__xyqfz8(tmp0_resume), - actualCompletion.n3(tmp$ret$9), Unit_getInstance(); + tmp$ret$1 = !1; } } + return tmp$ret$1; } - function CompletionHandlerBase() { - LinkedListNode.call(this); - } - function invokeIt(_this__u8e3s4, cause) { - "function" == typeof _this__u8e3s4 ? _this__u8e3s4(cause) : _this__u8e3s4.invoke(cause); + function handleUnknown($this, key) { + var _this__u8e3s4, unknownKey; + return $this.g17_1.o17_1 || (_this__u8e3s4 = $this.f17_1, unknownKey = key, null != _this__u8e3s4 && _this__u8e3s4.h1c_1 === unknownKey && (_this__u8e3s4.h1c_1 = null, + 1)) ? $this.c17_1.n1c($this.g17_1.p17_1) : $this.c17_1.m1c(key), $this.c17_1.j1c(); } - function CancelHandlerBase() {} - function toDebugString(_this__u8e3s4) { - return toString_0(_this__u8e3s4); + function decodeStringKey($this) { + return $this.g17_1.p17_1 ? $this.c17_1.p1c() : $this.c17_1.o1c(); } - function createDefaultDispatcher() { - var tmp; - isJsdom() ? tmp = NodeDispatcher_getInstance() : tmp = !!("undefined" != typeof window && null != window) && !(void 0 === window.addEventListener) ? asCoroutineDispatcher(window) : "undefined" == typeof process || void 0 === process.nextTick ? SetTimeoutDispatcher_getInstance() : NodeDispatcher_getInstance(); - return tmp; + function StreamingJsonDecoder(json, mode, lexer, descriptor, discriminatorHolder) { + AbstractDecoder.call(this), this.a17_1 = json, this.b17_1 = mode, this.c17_1 = lexer, + this.d17_1 = this.a17_1.r10(), this.e17_1 = -1, this.f17_1 = discriminatorHolder, + this.g17_1 = this.a17_1.t16_1, this.h17_1 = this.g17_1.s17_1 ? null : new JsonElementMarker(descriptor); } - function isJsdom() { - return "undefined" != typeof navigator && null != navigator && null != navigator.userAgent && void 0 !== navigator.userAgent && void 0 !== navigator.userAgent.match && navigator.userAgent.match("\\bjsdom\\b"); + function StreamingJsonEncoder(composer, json, mode, modeReuseCache) { + AbstractEncoder.call(this), this.g1a_1 = composer, this.h1a_1 = json, this.i1a_1 = mode, + this.j1a_1 = modeReuseCache, this.k1a_1 = this.h1a_1.r10(), this.l1a_1 = this.h1a_1.t16_1, + this.m1a_1 = !1, this.n1a_1 = null, this.o1a_1 = null; + var i = this.i1a_1.r1_1; + null != this.j1a_1 && (null === this.j1a_1[i] && this.j1a_1[i] === this || (this.j1a_1[i] = this)); } - function newCoroutineContext(_this__u8e3s4, context) { - var combined = _this__u8e3s4.qe().x3(context); - return combined !== Dispatchers_getInstance().yl_1 && null == combined.q3(Key_getInstance()) ? combined.x3(Dispatchers_getInstance().yl_1) : combined; + function get_ESCAPE_STRINGS() { + return _init_properties_StringOps_kt__fcy1db(), ESCAPE_STRINGS; } - function get_coroutineName(_this__u8e3s4) { - return null; + function toHexChar(i) { + _init_properties_StringOps_kt__fcy1db(); + var tmp, d = 15 & i; + if (d < 10) { + var this_0 = _Char___init__impl__6a9atx(48), tmp$ret$0 = Char__toInt_impl_vasixd(this_0); + tmp = numberToChar(d + tmp$ret$0 | 0); + } else { + var tmp_0 = d - 10 | 0, this_1 = _Char___init__impl__6a9atx(97), tmp$ret$1 = Char__toInt_impl_vasixd(this_1); + tmp = numberToChar(tmp_0 + tmp$ret$1 | 0); + } + return tmp; } - function handleCoroutineExceptionImpl(context, exception) { - console.error(exception); + function printQuoted(_this__u8e3s4, value) { + _init_properties_StringOps_kt__fcy1db(), _this__u8e3s4.i6(_Char___init__impl__6a9atx(34)); + var lastPos = 0, inductionVariable = 0, last = charSequenceLength(value) - 1 | 0; + if (inductionVariable <= last) do { + var i = inductionVariable; + inductionVariable = inductionVariable + 1 | 0; + var this_0 = charSequenceGet(value, i), c = Char__toInt_impl_vasixd(this_0); + c < get_ESCAPE_STRINGS().length && null != get_ESCAPE_STRINGS()[c] && (_this__u8e3s4.j9(value, lastPos, i), + _this__u8e3s4.h6(get_ESCAPE_STRINGS()[c]), lastPos = i + 1 | 0); + } while (inductionVariable <= last); + 0 !== lastPos ? _this__u8e3s4.j9(value, lastPos, value.length) : _this__u8e3s4.h6(value), + _this__u8e3s4.i6(_Char___init__impl__6a9atx(34)); } - function get_DEBUG() { - return DEBUG; + function _init_properties_StringOps_kt__fcy1db() { + if (!properties_initialized_StringOps_kt_wzaea7) { + properties_initialized_StringOps_kt_wzaea7 = !0; + var this_0 = fillArrayVal(Array(93), null), inductionVariable = 0; + if (inductionVariable <= 31) do { + var c = inductionVariable; + inductionVariable = inductionVariable + 1 | 0; + var c1 = toHexChar(c >> 12), c2 = toHexChar(c >> 8), c3 = toHexChar(c >> 4), c4 = toHexChar(c); + this_0[c] = "\\u" + toString_1(c1) + toString_1(c2) + toString_1(c3) + toString_1(c4); + } while (inductionVariable <= 31); + var this_1 = _Char___init__impl__6a9atx(34); + this_0[Char__toInt_impl_vasixd(this_1)] = '\\"'; + var this_2 = _Char___init__impl__6a9atx(92); + this_0[Char__toInt_impl_vasixd(this_2)] = "\\\\"; + var this_3 = _Char___init__impl__6a9atx(9); + this_0[Char__toInt_impl_vasixd(this_3)] = "\\t"; + var this_4 = _Char___init__impl__6a9atx(8); + this_0[Char__toInt_impl_vasixd(this_4)] = "\\b"; + var this_5 = _Char___init__impl__6a9atx(10); + this_0[Char__toInt_impl_vasixd(this_5)] = "\\n"; + var this_6 = _Char___init__impl__6a9atx(13); + this_0[Char__toInt_impl_vasixd(this_6)] = "\\r", this_0[12] = "\\f", ESCAPE_STRINGS = this_0; + var this_7 = new Int8Array(93), inductionVariable_0 = 0; + if (inductionVariable_0 <= 31) do { + var c_0 = inductionVariable_0; + inductionVariable_0 = inductionVariable_0 + 1 | 0, this_7[c_0] = 1; + } while (inductionVariable_0 <= 31); + var this_8 = _Char___init__impl__6a9atx(34); + this_7[Char__toInt_impl_vasixd(this_8)] = 34; + var this_9 = _Char___init__impl__6a9atx(92); + this_7[Char__toInt_impl_vasixd(this_9)] = 92; + var this_10 = _Char___init__impl__6a9atx(9); + this_7[Char__toInt_impl_vasixd(this_10)] = 116; + var this_11 = _Char___init__impl__6a9atx(8); + this_7[Char__toInt_impl_vasixd(this_11)] = 98; + var this_12 = _Char___init__impl__6a9atx(10); + this_7[Char__toInt_impl_vasixd(this_12)] = 110; + var this_13 = _Char___init__impl__6a9atx(13); + this_7[Char__toInt_impl_vasixd(this_13)] = 114, this_7[12] = 102, this_7; + } + } + function unparsedPrimitive($this, literal, primitive, tag) { + var type = startsWith(primitive, "i") ? "an " + primitive : "a " + primitive; + throw JsonDecodingException_0(-1, "Failed to parse literal '" + literal.toString() + "' as " + type + " value at element: " + $this.c1d(tag), toString_0($this.d1d())); + } + function AbstractJsonTreeDecoder(json, value, polymorphicDiscriminator) { + polymorphicDiscriminator = polymorphicDiscriminator === VOID ? null : polymorphicDiscriminator, + NamedValueDecoder.call(this), this.y1c_1 = json, this.z1c_1 = value, this.a1d_1 = polymorphicDiscriminator, + this.b1d_1 = this.e18().t16_1; } - function get_classSimpleName(_this__u8e3s4) { - var tmp0_elvis_lhs = getKClassFromExpression(_this__u8e3s4).n9(); - return null == tmp0_elvis_lhs ? "Unknown" : tmp0_elvis_lhs; + function coerceInputValue_0($this, descriptor, index, tag) { + var tmp$ret$1; + $l$block_2: { + var tmp, this_0 = $this.e18(), isOptional = descriptor.dz(index), elementDescriptor = descriptor.cz(index); + if (isOptional && !elementDescriptor.vy()) tmp = $this.e1d(tag) instanceof JsonNull; else tmp = !1; + if (tmp) tmp$ret$1 = !0; else { + if (equals(elementDescriptor.uy(), ENUM_getInstance())) { + var tmp_1; + if (elementDescriptor.vy()) tmp_1 = $this.e1d(tag) instanceof JsonNull; else tmp_1 = !1; + if (tmp_1) { + tmp$ret$1 = !1; + break $l$block_2; + } + var tmp_3 = $this.e1d(tag), tmp30_safe_receiver = tmp_3 instanceof JsonPrimitive ? tmp_3 : null, tmp0_elvis_lhs = null == tmp30_safe_receiver ? null : get_contentOrNull(tmp30_safe_receiver); + if (null == tmp0_elvis_lhs) { + tmp$ret$1 = !1; + break $l$block_2; + } + var enumIndex = getJsonNameIndex(elementDescriptor, this_0, tmp0_elvis_lhs), coerceToNull = !this_0.t16_1.s17_1 && elementDescriptor.vy(); + if (-3 === enumIndex && (isOptional || coerceToNull)) { + tmp$ret$1 = !0; + break $l$block_2; + } + } + tmp$ret$1 = !1; + } + } + return tmp$ret$1; } - function get_hexAddress(_this__u8e3s4) { - var result = _this__u8e3s4.__debug_counter; - return "number" != typeof result && (result = counter = counter + 1 | 0, _this__u8e3s4.__debug_counter = result), - (null != result && "number" == typeof result ? result : THROW_CCE()).toString(); + function absenceIsNull($this, descriptor, index) { + return $this.s1d_1 = !$this.e18().t16_1.s17_1 && !descriptor.dz(index) && descriptor.cz(index).vy(), + $this.s1d_1; } - function Dispatchers() { - Dispatchers_instance = this, this.yl_1 = createDefaultDispatcher(), this.zl_1 = Unconfined_getInstance(), - this.am_1 = new JsMainDispatcher(this.yl_1, !1), this.bm_1 = null; + function JsonTreeDecoder(json, value, polymorphicDiscriminator, polyDescriptor) { + polymorphicDiscriminator = polymorphicDiscriminator === VOID ? null : polymorphicDiscriminator, + polyDescriptor = polyDescriptor === VOID ? null : polyDescriptor, AbstractJsonTreeDecoder.call(this, json, value, polymorphicDiscriminator), + this.p1d_1 = value, this.q1d_1 = polyDescriptor, this.r1d_1 = 0, this.s1d_1 = !1; } - function Dispatchers_getInstance() { - return null == Dispatchers_instance && new Dispatchers, Dispatchers_instance; + function JsonTreeListDecoder(json, value) { + AbstractJsonTreeDecoder.call(this, json, value), this.z1d_1 = value, this.a1e_1 = this.z1d_1.k(), + this.b1e_1 = -1; } - function JsMainDispatcher(delegate, invokeImmediately) { - MainCoroutineDispatcher.call(this), this.rm_1 = delegate, this.sm_1 = invokeImmediately, - this.tm_1 = this.sm_1 ? this : new JsMainDispatcher(this.rm_1, !0); + function JsonTreeMapDecoder(json, value) { + JsonTreeDecoder.call(this, json, value), this.m1e_1 = value, this.n1e_1 = toList(this.m1e_1.k1()), + this.o1e_1 = imul(this.n1e_1.k(), 2), this.p1e_1 = -1; } - function createEventLoop() { - return new UnconfinedEventLoop; + function readPolymorphicJson(_this__u8e3s4, discriminator, element, deserializer) { + return new JsonTreeDecoder(_this__u8e3s4, element, discriminator, deserializer.iy()).j10(deserializer); } - function UnconfinedEventLoop() { - EventLoop.call(this); + function WriteMode_initEntries() { + if (WriteMode_entriesInitialized) return Unit_instance; + WriteMode_entriesInitialized = !0, WriteMode_OBJ_instance = new WriteMode("OBJ", 0, _Char___init__impl__6a9atx(123), _Char___init__impl__6a9atx(125)), + WriteMode_LIST_instance = new WriteMode("LIST", 1, _Char___init__impl__6a9atx(91), _Char___init__impl__6a9atx(93)), + WriteMode_MAP_instance = new WriteMode("MAP", 2, _Char___init__impl__6a9atx(123), _Char___init__impl__6a9atx(125)), + WriteMode_POLY_OBJ_instance = new WriteMode("POLY_OBJ", 3, _Char___init__impl__6a9atx(91), _Char___init__impl__6a9atx(93)); } - function unsupported() { - throw UnsupportedOperationException_init_$Create$("runBlocking event loop is not supported"); + function WriteMode(name, ordinal, begin, end) { + Enum.call(this, name, ordinal), this.t1c_1 = begin, this.u1c_1 = end; } - function JobCancellationException(message, cause, job) { - CancellationException_init_$Init$(message, cause, this), this.ym_1 = job, captureStack(this, JobCancellationException); + function switchMode(_this__u8e3s4, desc) { + var tmp, tmp36_subject = desc.uy(); + if (tmp36_subject instanceof PolymorphicKind) tmp = WriteMode_POLY_OBJ_getInstance(); else if (equals(tmp36_subject, LIST_getInstance())) tmp = WriteMode_LIST_getInstance(); else if (equals(tmp36_subject, MAP_getInstance())) { + var tmp_0, keyDescriptor = carrierDescriptor(desc.cz(0), _this__u8e3s4.r10()), keyKind = keyDescriptor.uy(); + if (keyKind instanceof PrimitiveKind || equals(keyKind, ENUM_getInstance())) tmp_0 = WriteMode_MAP_getInstance(); else { + if (!_this__u8e3s4.t16_1.q17_1) throw InvalidKeyKindException(keyDescriptor); + tmp_0 = WriteMode_LIST_getInstance(); + } + tmp = tmp_0; + } else tmp = WriteMode_OBJ_getInstance(); + return tmp; } - function NodeDispatcher() { - NodeDispatcher_instance = this, SetTimeoutBasedDispatcher.call(this); + function carrierDescriptor(_this__u8e3s4, module_0) { + var tmp; + if (equals(_this__u8e3s4.uy(), CONTEXTUAL_getInstance())) { + var tmp37_safe_receiver = getContextualDescriptor(module_0, _this__u8e3s4), tmp0_elvis_lhs = null == tmp37_safe_receiver ? null : carrierDescriptor(tmp37_safe_receiver, module_0); + tmp = null == tmp0_elvis_lhs ? _this__u8e3s4 : tmp0_elvis_lhs; + } else tmp = _this__u8e3s4.wy() ? carrierDescriptor(_this__u8e3s4.cz(0), module_0) : _this__u8e3s4; + return tmp; } - function NodeDispatcher_getInstance() { - return null == NodeDispatcher_instance && new NodeDispatcher, NodeDispatcher_instance; + function WriteMode_OBJ_getInstance() { + return WriteMode_initEntries(), WriteMode_OBJ_instance; } - function SetTimeoutDispatcher() { - SetTimeoutDispatcher_instance = this, SetTimeoutBasedDispatcher.call(this); + function WriteMode_LIST_getInstance() { + return WriteMode_initEntries(), WriteMode_LIST_instance; } - function SetTimeoutDispatcher_getInstance() { - return null == SetTimeoutDispatcher_instance && new SetTimeoutDispatcher, SetTimeoutDispatcher_instance; + function WriteMode_MAP_getInstance() { + return WriteMode_initEntries(), WriteMode_MAP_instance; } - function SetTimeoutBasedDispatcher$ScheduledMessageQueue$processQueue$lambda(this$0) { - return function() { - return this$0.sn(), Unit_getInstance(); - }; + function WriteMode_POLY_OBJ_getInstance() { + return WriteMode_initEntries(), WriteMode_POLY_OBJ_instance; } - function ScheduledMessageQueue($outer) { - this.in_1 = $outer, MessageQueue.call(this), this.hn_1 = SetTimeoutBasedDispatcher$ScheduledMessageQueue$processQueue$lambda(this); + function appendEscape($this, lastPosition, current) { + return $this.q1e(lastPosition, current), function($this, startPosition) { + var currentPosition = startPosition; + currentPosition = $this.s1e(currentPosition), -1 === currentPosition && $this.u1a("Expected escape sequence to continue, got EOF"); + var tmp = $this.r1e(), _unary__edvuaz = currentPosition; + currentPosition = _unary__edvuaz + 1 | 0; + var currentChar = charSequenceGet(tmp, _unary__edvuaz); + if (currentChar === _Char___init__impl__6a9atx(117)) return appendHex($this, $this.r1e(), currentPosition); + var c = function(c) { + return c < 117 ? CharMappings_getInstance().b1f_1[c] : _Char___init__impl__6a9atx(0); + }(Char__toInt_impl_vasixd(currentChar)); + c === _Char___init__impl__6a9atx(0) && $this.u1a("Invalid escaped char '" + toString_1(currentChar) + "'"); + return $this.l17_1.i6(c), currentPosition; + }($this, current + 1 | 0); } - function SetTimeoutBasedDispatcher() { - CoroutineDispatcher.call(this), this.kn_1 = new ScheduledMessageQueue(this); + function decodedString($this, lastPosition, currentPosition) { + $this.q1e(lastPosition, currentPosition); + var result = $this.l17_1.toString(); + return $this.l17_1.n9(0), result; } - function MessageQueue() { - ArrayQueue.call(this), this.qn_1 = 16, this.rn_1 = !1; + function takePeeked($this) { + var this_0 = ensureNotNull($this.k17_1); + return $this.k17_1 = null, this_0; } - function WindowDispatcher(window_0) { - CoroutineDispatcher.call(this), this.xn_1 = window_0, this.yn_1 = new WindowMessageQueue(this.xn_1); + function appendHex($this, source, startPos) { + return (startPos + 4 | 0) >= charSequenceLength(source) ? ($this.i17_1 = startPos, + $this.t1e(), ($this.i17_1 + 4 | 0) >= charSequenceLength(source) && $this.u1a("Unexpected EOF during unicode escape"), + appendHex($this, source, $this.i17_1)) : ($this.l17_1.i6(numberToChar((((fromHexChar($this, source, startPos) << 12) + (fromHexChar($this, source, startPos + 1 | 0) << 8) | 0) + (fromHexChar($this, source, startPos + 2 | 0) << 4) | 0) + fromHexChar($this, source, startPos + 3 | 0) | 0)), + startPos + 4 | 0); } - function WindowMessageQueue$lambda(this$0) { - return function(event) { - return event.source == this$0.eo_1 && event.data == this$0.fo_1 && (event.stopPropagation(), - this$0.sn(), Unit_getInstance()), Unit_getInstance(); - }; + function fromHexChar($this, source, currentPosition) { + var tmp, character = charSequenceGet(source, currentPosition); + if (_Char___init__impl__6a9atx(48) <= character && character <= _Char___init__impl__6a9atx(57)) { + var tmp_0 = Char__toInt_impl_vasixd(character), this_0 = _Char___init__impl__6a9atx(48); + tmp = tmp_0 - Char__toInt_impl_vasixd(this_0) | 0; + } else if (_Char___init__impl__6a9atx(97) <= character && character <= _Char___init__impl__6a9atx(102)) { + var tmp_1 = Char__toInt_impl_vasixd(character), this_1 = _Char___init__impl__6a9atx(97); + tmp = 10 + (tmp_1 - Char__toInt_impl_vasixd(this_1) | 0) | 0; + } else if (_Char___init__impl__6a9atx(65) <= character && character <= _Char___init__impl__6a9atx(70)) { + var tmp_2 = Char__toInt_impl_vasixd(character), this_2 = _Char___init__impl__6a9atx(65); + tmp = 10 + (tmp_2 - Char__toInt_impl_vasixd(this_2) | 0) | 0; + } else $this.u1a("Invalid toHexChar char '" + toString_1(character) + "' in unicode escape"); + return tmp; } - function WindowMessageQueue$schedule$lambda(this$0) { - return function(it) { - return this$0.sn(), Unit_getInstance(); - }; + function AbstractJsonLexer() { + this.i17_1 = 0, this.j17_1 = new JsonPath, this.k17_1 = null, this.l17_1 = StringBuilder_init_$Create$(); } - function WindowMessageQueue(window_0) { - MessageQueue.call(this), this.eo_1 = window_0, this.fo_1 = "dispatchCoroutine", - this.eo_1.addEventListener("message", WindowMessageQueue$lambda(this), !0); + function charToTokenClass(c) { + var tmp; + Char__toInt_impl_vasixd(c) < 126 ? tmp = CharMappings_getInstance().c1f_1[Char__toInt_impl_vasixd(c)] : tmp = 0; + return tmp; } - function await_0(_this__u8e3s4, $cont) { - var cancellable = new CancellableContinuationImpl(intercepted($cont), get_MODE_CANCELLABLE()); - cancellable.lh(); - var tmp = await$lambda(cancellable); - return _this__u8e3s4.then(tmp, await$lambda_0(cancellable)), cancellable.ai(); + function tokenDescription(token) { + return 1 === token ? "quotation mark '\"'" : 2 === token ? "string escape sequence '\\'" : 4 === token ? "comma ','" : 5 === token ? "colon ':'" : 6 === token ? "start of the object '{'" : 7 === token ? "end of the object '}'" : 8 === token ? "start of the array '['" : 9 === token ? "end of the array ']'" : 10 === token ? "end of the input" : 127 === token ? "invalid token" : "valid token"; } - function await$lambda($cancellable) { - return function(it) { - var tmp$ret$0; - return Companion_getInstance(), tmp$ret$0 = _Result___init__impl__xyqfz8(it), $cancellable.n3(tmp$ret$0), - Unit_getInstance(), Unit_getInstance(); - }; + function initC2ESC($this, c, esc) { + if (esc !== _Char___init__impl__6a9atx(117)) { + var tmp$ret$0 = Char__toInt_impl_vasixd(esc); + $this.b1f_1[tmp$ret$0] = numberToChar(c); + } } - function await$lambda_0($cancellable) { - return function(it) { - var tmp$ret$0; - return Companion_getInstance(), tmp$ret$0 = _Result___init__impl__xyqfz8(createFailure(it)), - $cancellable.n3(tmp$ret$0), Unit_getInstance(), Unit_getInstance(); - }; + function initC2ESC_0($this, c, esc) { + return initC2ESC($this, Char__toInt_impl_vasixd(c), esc); } - function SchedulerTask() {} - function get_taskContext(_this__u8e3s4) { - return Unit_getInstance(); + function initC2TC($this, c, cl) { + $this.c1f_1[c] = cl; } - function asCoroutineDispatcher(_this__u8e3s4) { - var tmp, tmp0_elvis_lhs = _this__u8e3s4.coroutineDispatcher; - if (null == tmp0_elvis_lhs) { - var tmp0_also = new WindowDispatcher(_this__u8e3s4); - _this__u8e3s4.coroutineDispatcher = tmp0_also, tmp = tmp0_also; - } else tmp = tmp0_elvis_lhs; - return tmp; + function initC2TC_0($this, c, cl) { + return initC2TC($this, Char__toInt_impl_vasixd(c), cl); } - function identitySet(expectedSize) { - return HashSet_init_$Create$(expectedSize); + function CharMappings() { + CharMappings_instance = this, this.b1f_1 = charArray(117), this.c1f_1 = new Int8Array(126), + function($this) { + var inductionVariable = 0; + if (inductionVariable <= 31) do { + var i = inductionVariable; + inductionVariable = inductionVariable + 1 | 0, initC2ESC($this, i, _Char___init__impl__6a9atx(117)); + } while (inductionVariable <= 31); + initC2ESC($this, 8, _Char___init__impl__6a9atx(98)), initC2ESC($this, 9, _Char___init__impl__6a9atx(116)), + initC2ESC($this, 10, _Char___init__impl__6a9atx(110)), initC2ESC($this, 12, _Char___init__impl__6a9atx(102)), + initC2ESC($this, 13, _Char___init__impl__6a9atx(114)), initC2ESC_0($this, _Char___init__impl__6a9atx(47), _Char___init__impl__6a9atx(47)), + initC2ESC_0($this, _Char___init__impl__6a9atx(34), _Char___init__impl__6a9atx(34)), + initC2ESC_0($this, _Char___init__impl__6a9atx(92), _Char___init__impl__6a9atx(92)); + }(this), function($this) { + var inductionVariable = 0; + if (inductionVariable <= 32) do { + var i = inductionVariable; + inductionVariable = inductionVariable + 1 | 0, initC2TC($this, i, 127); + } while (inductionVariable <= 32); + initC2TC($this, 9, 3), initC2TC($this, 10, 3), initC2TC($this, 13, 3), initC2TC($this, 32, 3), + initC2TC_0($this, _Char___init__impl__6a9atx(44), 4), initC2TC_0($this, _Char___init__impl__6a9atx(58), 5), + initC2TC_0($this, _Char___init__impl__6a9atx(123), 6), initC2TC_0($this, _Char___init__impl__6a9atx(125), 7), + initC2TC_0($this, _Char___init__impl__6a9atx(91), 8), initC2TC_0($this, _Char___init__impl__6a9atx(93), 9), + initC2TC_0($this, _Char___init__impl__6a9atx(34), 1), initC2TC_0($this, _Char___init__impl__6a9atx(92), 2); + }(this); } - function LinkedListHead() { - LinkedListNode.call(this); + function CharMappings_getInstance() { + return null == CharMappings_instance && new CharMappings, CharMappings_instance; } - function LinkedListNode() { - this.qj_1 = this, this.rj_1 = this, this.sj_1 = !1; + function StringJsonLexerWithComments(source) { + StringJsonLexer.call(this, source); } - function unwrap(exception) { - return exception; + function StringJsonLexer(source) { + AbstractJsonLexer.call(this), this.m1f_1 = source; } - function recoverStackTrace(exception, continuation) { - return exception; + function get_schemaCache(_this__u8e3s4) { + return _this__u8e3s4.v16_1; } - function threadContextElements(context) { - return 0; + function JsonToStringWriter() { + this.y16_1 = StringBuilder_init_$Create$_0(128); } - function CommonThreadLocal() { - this.hj_1 = null; - } - return setMetadataFor(Job, "Job", interfaceMeta, void 0, [ Element ], void 0, void 0, [ 0 ]), - setMetadataFor(ParentJob, "ParentJob", interfaceMeta, void 0, [ Job ], void 0, void 0, [ 0 ]), - setMetadataFor(JobSupport, "JobSupport", classMeta, void 0, [ Job, ParentJob ], void 0, void 0, [ 0 ]), - setMetadataFor(CoroutineScope, "CoroutineScope", interfaceMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(AbstractCoroutine, "AbstractCoroutine", classMeta, JobSupport, [ JobSupport, Job, Continuation, CoroutineScope ], void 0, void 0, [ 0 ]), - setMetadataFor(StandaloneCoroutine, "StandaloneCoroutine", classMeta, AbstractCoroutine, void 0, void 0, void 0, [ 0 ]), - setMetadataFor(LazyStandaloneCoroutine, "LazyStandaloneCoroutine", classMeta, StandaloneCoroutine, void 0, void 0, void 0, [ 0 ]), - setMetadataFor(SchedulerTask, "SchedulerTask", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(DispatchedTask, "DispatchedTask", classMeta, SchedulerTask, void 0, void 0, void 0, []), - setMetadataFor(CancellableContinuationImpl, "CancellableContinuationImpl", classMeta, DispatchedTask, [ DispatchedTask, Continuation ], void 0, void 0, []), - setMetadataFor(CancelHandlerBase, "CancelHandlerBase", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(NotCompleted, "NotCompleted", interfaceMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(CancelHandler, "CancelHandler", classMeta, CancelHandlerBase, [ CancelHandlerBase, NotCompleted ], void 0, void 0, []), - setMetadataFor(Active, "Active", objectMeta, void 0, [ NotCompleted ], void 0, void 0, []), - setMetadataFor(CompletedContinuation, "CompletedContinuation", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(BeforeResumeCancelHandler, "BeforeResumeCancelHandler", classMeta, CancelHandler, void 0, void 0, void 0, []), - setMetadataFor(CompletedExceptionally, "CompletedExceptionally", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(CancelledContinuation, "CancelledContinuation", classMeta, CompletedExceptionally, void 0, void 0, void 0, []), - setMetadataFor(CompletedWithCancellation, "CompletedWithCancellation", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(Key, "Key", objectMeta, AbstractCoroutineContextKey, void 0, void 0, void 0, []), - setMetadataFor(CoroutineDispatcher, "CoroutineDispatcher", classMeta, AbstractCoroutineContextElement, [ AbstractCoroutineContextElement, ContinuationInterceptor ], void 0, void 0, []), - setMetadataFor(Key_0, "Key", objectMeta, void 0, void 0, void 0, void 0, []), setMetadataFor(GlobalScope, "GlobalScope", objectMeta, void 0, [ CoroutineScope ], void 0, void 0, []), - setMetadataFor(CoroutineStart, "CoroutineStart", classMeta, Enum, void 0, void 0, void 0, []), - setMetadataFor(EventLoop, "EventLoop", classMeta, CoroutineDispatcher, void 0, void 0, void 0, []), - setMetadataFor(ThreadLocalEventLoop, "ThreadLocalEventLoop", objectMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(CompletionHandlerException, "CompletionHandlerException", classMeta, RuntimeException, void 0, void 0, void 0, []), - setMetadataFor(CoroutinesInternalError, "CoroutinesInternalError", classMeta, Error_0, void 0, void 0, void 0, []), - setMetadataFor(Key_1, "Key", objectMeta, void 0, void 0, void 0, void 0, []), setMetadataFor(ChildHandle, "ChildHandle", interfaceMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(NonDisposableHandle, "NonDisposableHandle", objectMeta, void 0, [ ChildHandle ], void 0, void 0, []), - setMetadataFor(Incomplete, "Incomplete", interfaceMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(Empty, "Empty", classMeta, void 0, [ Incomplete ], void 0, void 0, []), - setMetadataFor(LinkedListNode, "LinkedListNode", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(LinkedListHead, "LinkedListHead", classMeta, LinkedListNode, void 0, void 0, void 0, []), - setMetadataFor(NodeList, "NodeList", classMeta, LinkedListHead, [ LinkedListHead, Incomplete ], void 0, void 0, []), - setMetadataFor(CompletionHandlerBase, "CompletionHandlerBase", classMeta, LinkedListNode, void 0, void 0, void 0, []), - setMetadataFor(JobNode, "JobNode", classMeta, CompletionHandlerBase, [ CompletionHandlerBase, Incomplete ], void 0, void 0, []), - setMetadataFor(Finishing, "Finishing", classMeta, void 0, [ Incomplete ], void 0, void 0, []), - setMetadataFor(ChildCompletion, "ChildCompletion", classMeta, JobNode, void 0, void 0, void 0, []), - setMetadataFor(JobCancellingNode, "JobCancellingNode", classMeta, JobNode, void 0, void 0, void 0, []), - setMetadataFor(InactiveNodeList, "InactiveNodeList", classMeta, void 0, [ Incomplete ], void 0, void 0, []), - setMetadataFor(ChildHandleNode, "ChildHandleNode", classMeta, JobCancellingNode, [ JobCancellingNode, ChildHandle ], void 0, void 0, []), - setMetadataFor(InvokeOnCancelling, "InvokeOnCancelling", classMeta, JobCancellingNode, void 0, void 0, void 0, []), - setMetadataFor(InvokeOnCompletion, "InvokeOnCompletion", classMeta, JobNode, void 0, void 0, void 0, []), - setMetadataFor(IncompleteStateBox, "IncompleteStateBox", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(ChildContinuation, "ChildContinuation", classMeta, JobCancellingNode, void 0, void 0, void 0, []), - setMetadataFor(MainCoroutineDispatcher, "MainCoroutineDispatcher", classMeta, CoroutineDispatcher, void 0, void 0, void 0, []), - setMetadataFor(ScopeCoroutine, "ScopeCoroutine", classMeta, AbstractCoroutine, void 0, void 0, void 0, [ 0 ]), - setMetadataFor(SupervisorCoroutine, "SupervisorCoroutine", classMeta, ScopeCoroutine, void 0, void 0, void 0, [ 0 ]), - setMetadataFor(TimeoutCancellationException, "TimeoutCancellationException", classMeta, CancellationException, void 0, void 0, void 0, []), - setMetadataFor(Unconfined, "Unconfined", objectMeta, CoroutineDispatcher, void 0, void 0, void 0, []), - setMetadataFor(Key_2, "Key", objectMeta, void 0, void 0, void 0, void 0, []), setMetadataFor(ArrayQueue, "ArrayQueue", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(OpDescriptor, "OpDescriptor", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(DispatchedContinuation, "DispatchedContinuation", classMeta, DispatchedTask, [ DispatchedTask, Continuation ], void 0, void 0, []), - setMetadataFor(Symbol, "Symbol", classMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(Dispatchers, "Dispatchers", objectMeta, void 0, void 0, void 0, void 0, []), - setMetadataFor(JsMainDispatcher, "JsMainDispatcher", classMeta, MainCoroutineDispatcher, void 0, void 0, void 0, []), - setMetadataFor(UnconfinedEventLoop, "UnconfinedEventLoop", classMeta, EventLoop, void 0, void 0, void 0, []), - setMetadataFor(JobCancellationException, "JobCancellationException", classMeta, CancellationException, void 0, void 0, void 0, []), - setMetadataFor(SetTimeoutBasedDispatcher, "SetTimeoutBasedDispatcher", classMeta, CoroutineDispatcher, void 0, void 0, void 0, [ 1 ]), - setMetadataFor(NodeDispatcher, "NodeDispatcher", objectMeta, SetTimeoutBasedDispatcher, void 0, void 0, void 0, [ 1 ]), - setMetadataFor(SetTimeoutDispatcher, "SetTimeoutDispatcher", objectMeta, SetTimeoutBasedDispatcher, void 0, void 0, void 0, [ 1 ]), - setMetadataFor(MessageQueue, "MessageQueue", classMeta, ArrayQueue, void 0, void 0, void 0, []), - setMetadataFor(ScheduledMessageQueue, "ScheduledMessageQueue", classMeta, MessageQueue, void 0, void 0, void 0, []), - setMetadataFor(WindowDispatcher, "WindowDispatcher", classMeta, CoroutineDispatcher, void 0, void 0, void 0, [ 1 ]), - setMetadataFor(WindowMessageQueue, "WindowMessageQueue", classMeta, MessageQueue, void 0, void 0, void 0, []), - setMetadataFor(CommonThreadLocal, "CommonThreadLocal", classMeta, void 0, void 0, void 0, void 0, []), - AbstractCoroutine.prototype.m3 = function() { - return this.pe_1; - }, AbstractCoroutine.prototype.qe = function() { - return this.pe_1; - }, AbstractCoroutine.prototype.re = function() { - return JobSupport.prototype.re.call(this); - }, AbstractCoroutine.prototype.se = function(value) {}, AbstractCoroutine.prototype.te = function(cause, handled) {}, - AbstractCoroutine.prototype.ue = function() { - return get_classSimpleName(this) + " was cancelled"; - }, AbstractCoroutine.prototype.ve = function(state) { - state instanceof CompletedExceptionally ? this.te(state.we_1, state.ye()) : this.se(null == state || isObject(state) ? state : THROW_CCE()); - }, AbstractCoroutine.prototype.n3 = function(result) { - var state = this.ze(toState$default(result, null, 1, null)); - if (state === get_COMPLETING_WAITING_CHILDREN()) return Unit_getInstance(); - this.af(state); - }, AbstractCoroutine.prototype.af = function(state) { - return this.bf(state); - }, AbstractCoroutine.prototype.cf = function(exception) { - handleCoroutineException(this.pe_1, exception); - }, AbstractCoroutine.prototype.df = function() { - var tmp0_elvis_lhs = get_coroutineName(this.pe_1); - return null == tmp0_elvis_lhs ? JobSupport.prototype.df.call(this) : '"' + tmp0_elvis_lhs + '":' + JobSupport.prototype.df.call(this); - }, AbstractCoroutine.prototype.ef = function(start, receiver, block) { - start.hf(block, receiver, this); - }, StandaloneCoroutine.prototype.dg = function(exception) { - return handleCoroutineException(this.pe_1, exception), !0; - }, LazyStandaloneCoroutine.prototype.nf = function() { - startCoroutineCancellable_0(this.mg_1, this); - }, CancellableContinuationImpl.prototype.kh = function() { - return this.og_1; - }, CancellableContinuationImpl.prototype.m3 = function() { - return this.pg_1; - }, CancellableContinuationImpl.prototype.kf = function() { - return this.rg_1.kotlinx$atomicfu$value; - }, CancellableContinuationImpl.prototype.lf = function() { - var tmp = this.kf(); - return !(null != tmp && isInterface(tmp, NotCompleted)); - }, CancellableContinuationImpl.prototype.lh = function() { - var tmp0_elvis_lhs = installParentHandle(this); - if (null == tmp0_elvis_lhs) return Unit_getInstance(); - var handle = tmp0_elvis_lhs; - this.lf() && (handle.mh(), this.sg_1 = NonDisposableHandle_getInstance()); - }, CancellableContinuationImpl.prototype.nh = function() { - return this.kf(); - }, CancellableContinuationImpl.prototype.oh = function(takenState, cause) { - for (var tmp0_loop = this.rg_1; ;) { - var tmp1__anonymous__uwfjfc = tmp0_loop.kotlinx$atomicfu$value, tmp0_subject = tmp1__anonymous__uwfjfc; - if (null != tmp0_subject && isInterface(tmp0_subject, NotCompleted)) throw IllegalStateException_init_$Create$("Not completed"); - if (tmp0_subject instanceof CompletedExceptionally) return Unit_getInstance(); - if (tmp0_subject instanceof CompletedContinuation) { - if (tmp1__anonymous__uwfjfc.uh()) throw IllegalStateException_init_$Create$(toString_0("Must be called at most once")); - var update = tmp1__anonymous__uwfjfc.vh(null, null, null, null, cause, 15, null); - if (this.rg_1.atomicfu$compareAndSet(tmp1__anonymous__uwfjfc, update)) return tmp1__anonymous__uwfjfc.wh(this, cause), - Unit_getInstance(); - } else if (this.rg_1.atomicfu$compareAndSet(tmp1__anonymous__uwfjfc, CompletedContinuation_init_$Create$(tmp1__anonymous__uwfjfc, null, null, null, cause, 14, null))) return Unit_getInstance(); - } - return Unit_getInstance(); - }, CancellableContinuationImpl.prototype.eh = function(cause) { - for (var tmp0_loop = this.rg_1; ;) { - var tmp1__anonymous__uwfjfc = tmp0_loop.kotlinx$atomicfu$value; - if (null == tmp1__anonymous__uwfjfc || !isInterface(tmp1__anonymous__uwfjfc, NotCompleted)) return !1; - var update = new CancelledContinuation(this, cause, tmp1__anonymous__uwfjfc instanceof CancelHandler); - if (this.rg_1.atomicfu$compareAndSet(tmp1__anonymous__uwfjfc, update)) { - var tmp0_safe_receiver = tmp1__anonymous__uwfjfc instanceof CancelHandler ? tmp1__anonymous__uwfjfc : null; - return null == tmp0_safe_receiver || (this.xh(tmp0_safe_receiver, cause), Unit_getInstance()), - detachChildIfNonResuable(this), dispatchResume(this, this.ah_1), !0; - } - Unit_getInstance(); - } - }, CancellableContinuationImpl.prototype.yh = function(cause) { - if (cancelLater(this, cause)) return Unit_getInstance(); - this.eh(cause), detachChildIfNonResuable(this); - }, CancellableContinuationImpl.prototype.xh = function(handler, cause) { - var tmp; + function createMapForCache(initialCapacity) { + return HashMap_init_$Create$(initialCapacity); + } + initMetadataForClass(Json, "Json"), initMetadataForObject(Default, "Default", VOID, Json), + initMetadataForClass(JsonClassDiscriminator, "JsonClassDiscriminator"), initMetadataForClass(JsonNames, "JsonNames"), + initMetadataForClass(JsonConfiguration, "JsonConfiguration"), initMetadataForClass(ClassDiscriminatorMode, "ClassDiscriminatorMode", VOID, Enum), + initMetadataForInterface(JsonDecoder, "JsonDecoder", VOID, VOID, [ Decoder, CompositeDecoder ]), + initMetadataForCompanion(Companion), initMetadataForClass(JsonElement, "JsonElement"), + initMetadataForCompanion(Companion_0), initMetadataForClass(JsonObject, "JsonObject", VOID, JsonElement, [ JsonElement, KtMap ]), + initMetadataForClass(JsonPrimitive, "JsonPrimitive", VOID, JsonElement), initMetadataForObject(JsonNull, "JsonNull", VOID, JsonPrimitive, VOID, VOID, VOID, { + 0: JsonNull_getInstance + }), initMetadataForCompanion(Companion_1), initMetadataForClass(JsonLiteral, "JsonLiteral", VOID, JsonPrimitive), + initMetadataForCompanion(Companion_2), initMetadataForClass(JsonArray, "JsonArray", VOID, JsonElement, [ JsonElement, KtList ]), + initMetadataForObject(JsonNullSerializer, "JsonNullSerializer", VOID, VOID, [ KSerializer ]), + initMetadataForInterface(JsonEncoder, "JsonEncoder", VOID, VOID, [ Encoder ]), initMetadataForClass(Composer, "Composer"), + initMetadataForClass(ComposerWithPrettyPrint, "ComposerWithPrettyPrint", VOID, Composer), + initMetadataForClass(JsonElementMarker, "JsonElementMarker"), initMetadataForClass(JsonException, "JsonException", VOID, SerializationException), + initMetadataForClass(JsonEncodingException, "JsonEncodingException", VOID, JsonException), + initMetadataForClass(JsonDecodingException, "JsonDecodingException", VOID, JsonException), + initMetadataForObject(Tombstone, "Tombstone"), initMetadataForClass(JsonPath, "JsonPath", JsonPath), + initMetadataForLambda(JsonTreeReader$readDeepRecursive$slambda, CoroutineImpl, VOID, [ 2 ]), + initMetadataForCoroutine($readObjectCOROUTINE$0, CoroutineImpl), initMetadataForClass(JsonTreeReader, "JsonTreeReader", VOID, VOID, VOID, [ 0 ]), + initMetadataForClass(Key, "Key", Key), initMetadataForClass(DescriptorSchemaCache, "DescriptorSchemaCache", DescriptorSchemaCache), + initMetadataForClass(DiscriminatorHolder, "DiscriminatorHolder"), initMetadataForClass(StreamingJsonDecoder, "StreamingJsonDecoder", VOID, AbstractDecoder, [ JsonDecoder, AbstractDecoder ]), + initMetadataForClass(StreamingJsonEncoder, "StreamingJsonEncoder", VOID, AbstractEncoder, [ JsonEncoder, AbstractEncoder ]), + initMetadataForClass(AbstractJsonTreeDecoder, "AbstractJsonTreeDecoder", VOID, NamedValueDecoder, [ NamedValueDecoder, JsonDecoder ]), + initMetadataForClass(JsonTreeDecoder, "JsonTreeDecoder", VOID, AbstractJsonTreeDecoder), + initMetadataForClass(JsonTreeListDecoder, "JsonTreeListDecoder", VOID, AbstractJsonTreeDecoder), + initMetadataForClass(JsonTreeMapDecoder, "JsonTreeMapDecoder", VOID, JsonTreeDecoder), + initMetadataForClass(WriteMode, "WriteMode", VOID, Enum), initMetadataForClass(AbstractJsonLexer, "AbstractJsonLexer"), + initMetadataForObject(CharMappings, "CharMappings"), initMetadataForClass(StringJsonLexer, "StringJsonLexer", VOID, AbstractJsonLexer), + initMetadataForClass(StringJsonLexerWithComments, "StringJsonLexerWithComments", VOID, StringJsonLexer), + initMetadataForClass(JsonToStringWriter, "JsonToStringWriter", JsonToStringWriter), + protoOf(Json).r10 = function() { + return this.u16_1; + }, protoOf(Json).w16 = function(serializer, value) { + var result = new JsonToStringWriter; try { - handler.invoke(cause), tmp = Unit_getInstance(); + return function(json, writer, serializer, value) { + var tmp = WriteMode_OBJ_getInstance(), size = function() { + null == $ENTRIES && ($ENTRIES = enumEntries([ WriteMode_OBJ_getInstance(), WriteMode_LIST_getInstance(), WriteMode_MAP_getInstance(), WriteMode_POLY_OBJ_getInstance() ])); + return $ENTRIES; + }().k(), tmp$ret$0 = fillArrayVal(Array(size), null); + (function(output, json, mode, modeReuseCache) { + return function(output, json, mode, modeReuseCache, $this) { + return StreamingJsonEncoder.call($this, function(sb, json) { + return json.t16_1.r17_1 ? new ComposerWithPrettyPrint(sb, json) : new Composer(sb); + }(output, json), json, mode, modeReuseCache), $this; + }(output, json, mode, modeReuseCache, objectCreate(protoOf(StreamingJsonEncoder))); + })(writer, json, tmp, tmp$ret$0).f11(serializer, value); + }(this, result, serializer, value), result.toString(); + } finally { + result.z16(); + } + }, protoOf(Json).x16 = function(deserializer, string) { + var source, lexer = (source = string, this.t16_1.c18_1 ? new StringJsonLexerWithComments(source) : new StringJsonLexer(source)), result = new StreamingJsonDecoder(this, WriteMode_OBJ_getInstance(), lexer, deserializer.iy(), null).j10(deserializer); + return lexer.m17(), result; + }, protoOf(JsonConfiguration).toString = function() { + return "JsonConfiguration(encodeDefaults=" + this.n17_1 + ", ignoreUnknownKeys=" + this.o17_1 + ", isLenient=" + this.p17_1 + ", allowStructuredMapKeys=" + this.q17_1 + ", prettyPrint=" + this.r17_1 + ", explicitNulls=" + this.s17_1 + ", prettyPrintIndent='" + this.t17_1 + "', coerceInputValues=" + this.u17_1 + ", useArrayPolymorphism=" + this.v17_1 + ", classDiscriminator='" + this.w17_1 + "', allowSpecialFloatingPointValues=" + this.x17_1 + ", useAlternativeNames=" + this.y17_1 + ", namingStrategy=" + toString(this.z17_1) + ", decodeEnumsCaseInsensitive=" + this.a18_1 + ", allowTrailingComma=" + this.b18_1 + ", allowComments=" + this.c18_1 + ", classDiscriminatorMode=" + this.d18_1.toString() + ")"; + }, protoOf(JsonObject).h18 = function(key) { + return this.g18_1.h1(key); + }, protoOf(JsonObject).h1 = function(key) { + return null != key && "string" == typeof key && this.h18(null != key && "string" == typeof key ? key : THROW_CCE()); + }, protoOf(JsonObject).i18 = function(key) { + return this.g18_1.j1(key); + }, protoOf(JsonObject).j1 = function(key) { + return null == key || "string" != typeof key ? null : this.i18(null != key && "string" == typeof key ? key : THROW_CCE()); + }, protoOf(JsonObject).q = function() { + return this.g18_1.q(); + }, protoOf(JsonObject).m1 = function() { + return this.g18_1.m1(); + }, protoOf(JsonObject).k1 = function() { + return this.g18_1.k1(); + }, protoOf(JsonObject).k = function() { + return this.g18_1.k(); + }, protoOf(JsonObject).l1 = function() { + return this.g18_1.l1(); + }, protoOf(JsonObject).equals = function(other) { + return equals(this.g18_1, other); + }, protoOf(JsonObject).hashCode = function() { + return hashCode(this.g18_1); + }, protoOf(JsonObject).toString = function() { + var tmp = this.g18_1.m1(); + return joinToString(tmp, ",", "{", "}", VOID, VOID, JsonObject$toString$lambda); + }, protoOf(JsonNull).l18 = function() { + return this.j18_1; + }, protoOf(JsonPrimitive).toString = function() { + return this.l18(); + }, protoOf(JsonLiteral).l18 = function() { + return this.o18_1; + }, protoOf(JsonLiteral).toString = function() { + var tmp; + if (this.m18_1) { + var this_0 = StringBuilder_init_$Create$(); + printQuoted(this_0, this.o18_1), tmp = this_0.toString(); + } else tmp = this.o18_1; + return tmp; + }, protoOf(JsonLiteral).equals = function(other) { + return this === other || !(null == other || !getKClassFromExpression(this).equals(getKClassFromExpression(other))) && (other instanceof JsonLiteral || THROW_CCE(), + this.m18_1 === other.m18_1 && this.o18_1 === other.o18_1); + }, protoOf(JsonLiteral).hashCode = function() { + var result = getBooleanHashCode(this.m18_1); + return result = imul(31, result) + getStringHashCode(this.o18_1) | 0; + }, protoOf(JsonArray).q18 = function(elements) { + return this.p18_1.e1(elements); + }, protoOf(JsonArray).e1 = function(elements) { + return this.q18(elements); + }, protoOf(JsonArray).p = function(index) { + return this.p18_1.p(index); + }, protoOf(JsonArray).q = function() { + return this.p18_1.q(); + }, protoOf(JsonArray).h = function() { + return this.p18_1.h(); + }, protoOf(JsonArray).k = function() { + return this.p18_1.k(); + }, protoOf(JsonArray).equals = function(other) { + return equals(this.p18_1, other); + }, protoOf(JsonArray).hashCode = function() { + return hashCode(this.p18_1); + }, protoOf(JsonArray).toString = function() { + return joinToString(this.p18_1, ",", "[", "]"); + }, protoOf(JsonNullSerializer).iy = function() { + return this.s18_1; + }, protoOf(JsonNullSerializer).t18 = function(encoder, value) { + !function(encoder) { + !function(_this__u8e3s4) { + var tmp, tmp0_elvis_lhs = isInterface(_this__u8e3s4, JsonEncoder) ? _this__u8e3s4 : null; + if (null == tmp0_elvis_lhs) throw IllegalStateException_init_$Create$("This serializer can be used only with Json format.Expected Encoder to be JsonEncoder, got " + toString_0(getKClassFromExpression(_this__u8e3s4))); + tmp = tmp0_elvis_lhs; + }(encoder); + }(encoder), encoder.x10(); + }, protoOf(JsonNullSerializer).jy = function(encoder, value) { + return this.t18(encoder, value instanceof JsonNull ? value : THROW_CCE()); + }, protoOf(JsonNullSerializer).ky = function(decoder) { + if (function(decoder) { + !function(_this__u8e3s4) { + var tmp, tmp0_elvis_lhs = isInterface(_this__u8e3s4, JsonDecoder) ? _this__u8e3s4 : null; + if (null == tmp0_elvis_lhs) throw IllegalStateException_init_$Create$("This serializer can be used only with Json format.Expected Decoder to be JsonDecoder, got " + toString_0(getKClassFromExpression(_this__u8e3s4))); + tmp = tmp0_elvis_lhs; + }(decoder); + }(decoder), decoder.d10()) throw new JsonDecodingException("Expected 'null' literal"); + return decoder.e10(), JsonNull_getInstance(); + }, protoOf(Composer).w18 = function() { + this.v18_1 = !0; + }, protoOf(Composer).x18 = function() { + return Unit_instance; + }, protoOf(Composer).y18 = function() { + this.v18_1 = !1; + }, protoOf(Composer).z18 = function() { + this.v18_1 = !1; + }, protoOf(Composer).a19 = function() { + return Unit_instance; + }, protoOf(Composer).b19 = function(v) { + return this.u18_1.c19(v); + }, protoOf(Composer).d19 = function(v) { + return this.u18_1.e19(v); + }, protoOf(Composer).f19 = function(v) { + return this.u18_1.g19(toLong(v)); + }, protoOf(Composer).h19 = function(v) { + return this.u18_1.g19(v); + }, protoOf(Composer).i19 = function(value) { + return this.u18_1.j19(value); + }, protoOf(ComposerWithPrettyPrint).w18 = function() { + this.v18_1 = !0, this.n19_1 = this.n19_1 + 1 | 0; + }, protoOf(ComposerWithPrettyPrint).x18 = function() { + this.n19_1 = this.n19_1 - 1 | 0; + }, protoOf(ComposerWithPrettyPrint).y18 = function() { + this.v18_1 = !1, this.d19("\n"); + var times = this.n19_1, inductionVariable = 0; + if (inductionVariable < times) do { + inductionVariable = inductionVariable + 1 | 0, this.d19(this.m19_1.t16_1.t17_1); + } while (inductionVariable < times); + }, protoOf(ComposerWithPrettyPrint).z18 = function() { + this.v18_1 ? this.v18_1 = !1 : this.y18(); + }, protoOf(ComposerWithPrettyPrint).a19 = function() { + this.b19(_Char___init__impl__6a9atx(32)); + }, protoOf(JsonElementMarker).q19 = function(index) { + this.o19_1.h13(index); + }, protoOf(JsonElementMarker).r19 = function() { + return this.o19_1.i13(); + }, protoOf(JsonPath).a1a = function(sd) { + this.z19_1 = this.z19_1 + 1 | 0; + var depth = this.z19_1; + depth === this.x19_1.length && resize(this), this.x19_1[depth] = sd; + }, protoOf(JsonPath).b1a = function(index) { + this.y19_1[this.z19_1] = index; + }, protoOf(JsonPath).c1a = function(key) { + var tmp; + -2 !== this.y19_1[this.z19_1] ? (this.z19_1 = this.z19_1 + 1 | 0, tmp = this.z19_1 === this.x19_1.length) : tmp = !1, + tmp && resize(this), this.x19_1[this.z19_1] = key, this.y19_1[this.z19_1] = -2; + }, protoOf(JsonPath).d1a = function() { + -2 === this.y19_1[this.z19_1] && (this.x19_1[this.z19_1] = Tombstone_instance); + }, protoOf(JsonPath).e1a = function() { + var depth = this.z19_1; + -2 === this.y19_1[depth] && (this.y19_1[depth] = -1, this.z19_1 = this.z19_1 - 1 | 0), + -1 !== this.z19_1 && (this.z19_1 = this.z19_1 - 1 | 0); + }, protoOf(JsonPath).f1a = function() { + var this_0 = StringBuilder_init_$Create$(); + this_0.h6("$"); + var times = this.z19_1 + 1 | 0, inductionVariable = 0; + if (inductionVariable < times) do { + var index = inductionVariable; + inductionVariable = inductionVariable + 1 | 0; + var element = this.x19_1[index]; + if (null != element && isInterface(element, SerialDescriptor)) if (equals(element.uy(), LIST_getInstance())) -1 !== this.y19_1[index] && (this_0.h6("["), + this_0.l9(this.y19_1[index]), this_0.h6("]")); else { + var idx = this.y19_1[index]; + idx >= 0 && (this_0.h6("."), this_0.h6(element.zy(idx))); + } else element !== Tombstone_instance && (this_0.h6("["), this_0.h6("'"), this_0.g6(element), + this_0.h6("'"), this_0.h6("]")); + } while (inductionVariable < times); + return this_0.toString(); + }, protoOf(JsonPath).toString = function() { + return this.f1a(); + }, protoOf(JsonTreeReader$readDeepRecursive$slambda).c1c = function($this$DeepRecursiveFunction, it, $completion) { + var tmp = this.d1c($this$DeepRecursiveFunction, it, $completion); + return tmp.x6_1 = Unit_instance, tmp.y6_1 = null, tmp.d7(); + }, protoOf(JsonTreeReader$readDeepRecursive$slambda).ze = function(p1, p2, $completion) { + var tmp = p1 instanceof DeepRecursiveScope ? p1 : THROW_CCE(); + return this.c1c(tmp, p2 instanceof Unit ? p2 : THROW_CCE(), $completion); + }, protoOf(JsonTreeReader$readDeepRecursive$slambda).d7 = function() { + var suspendResult = this.x6_1; + $sm: for (;;) try { + switch (this.v6_1) { + case 0: + if (this.w6_1 = 3, this.a1c_1 = this.x1b_1.p1a_1.v1a(), 1 === this.a1c_1) { + this.b1c_1 = readValue(this.x1b_1, !0), this.v6_1 = 2; + continue $sm; + } + if (0 === this.a1c_1) { + this.b1c_1 = readValue(this.x1b_1, !1), this.v6_1 = 2; + continue $sm; + } + if (6 === this.a1c_1) { + if (this.v6_1 = 1, (suspendResult = readObject_0(this.y1b_1, this.x1b_1, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + } + if (8 === this.a1c_1) { + this.b1c_1 = readArray(this.x1b_1), this.v6_1 = 2; + continue $sm; + } + this.x1b_1.p1a_1.u1a("Can't begin reading element, unexpected token"); + break; + + case 1: + this.b1c_1 = suspendResult, this.v6_1 = 2; + continue $sm; + + case 2: + return this.b1c_1; + + case 3: + throw this.y6_1; + } } catch ($p) { - if (!($p instanceof Error)) throw $p; - handleCoroutineException(this.m3(), new CompletionHandlerException("Exception in invokeOnCancellation handler for " + this, $p)), - tmp = Unit_getInstance(); + var e = $p; + if (3 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; + } + }, protoOf(JsonTreeReader$readDeepRecursive$slambda).d1c = function($this$DeepRecursiveFunction, it, completion) { + var i = new JsonTreeReader$readDeepRecursive$slambda(this.x1b_1, completion); + return i.y1b_1 = $this$DeepRecursiveFunction, i.z1b_1 = it, i; + }, protoOf($readObjectCOROUTINE$0).d7 = function() { + var suspendResult = this.x6_1; + $sm: for (;;) try { + switch (this.v6_1) { + case 0: + this.w6_1 = 5; + this.l1b_1 = this.j1b_1, this.m1b_1 = this.l1b_1.p1a_1.t1a(6), 4 === this.l1b_1.p1a_1.v1a() && this.l1b_1.p1a_1.u1a("Unexpected leading comma"); + this.n1b_1 = LinkedHashMap_init_$Create$(), this.v6_1 = 1; + continue $sm; + + case 1: + if (!this.l1b_1.p1a_1.w1a()) { + this.v6_1 = 4; + continue $sm; + } + if (this.o1b_1 = this.l1b_1.q1a_1 ? this.l1b_1.p1a_1.y1a() : this.l1b_1.p1a_1.x1a(), + this.l1b_1.p1a_1.t1a(5), this.v6_1 = 2, (suspendResult = this.k1b_1.re(Unit_instance, this)) === get_COROUTINE_SUSPENDED()) return suspendResult; + continue $sm; + + case 2: + var element = suspendResult, this_0 = this.n1b_1, key = this.o1b_1; + this_0.n1(key, element), this.m1b_1 = this.l1b_1.p1a_1.a1b(); + var tmp13_subject = this.m1b_1; + if (4 === tmp13_subject) { + this.v6_1 = 3; + continue $sm; + } + if (7 === tmp13_subject) { + this.v6_1 = 4; + continue $sm; + } + this.l1b_1.p1a_1.u1a("Expected end of the object or comma"); + break; + + case 3: + this.v6_1 = 1; + continue $sm; + + case 4: + return 6 === this.m1b_1 ? this.l1b_1.p1a_1.t1a(7) : 4 === this.m1b_1 && (this.l1b_1.r1a_1 || invalidTrailingComma(this.l1b_1.p1a_1), + this.l1b_1.p1a_1.t1a(7)), new JsonObject(this.n1b_1); + + case 5: + throw this.y6_1; + } + } catch ($p) { + var e = $p; + if (5 === this.w6_1) throw e; + this.v6_1 = this.w6_1, this.y6_1 = e; } + }, protoOf(JsonTreeReader).z1a = function() { + var tmp, token = this.p1a_1.v1a(); + if (1 === token) tmp = readValue(this, !0); else if (0 === token) tmp = readValue(this, !1); else if (6 === token) { + var tmp_0; + this.s1a_1 = this.s1a_1 + 1 | 0, tmp_0 = 200 === this.s1a_1 ? readDeepRecursive(this) : function($this) { + var lastToken = $this.p1a_1.t1a(6); + 4 === $this.p1a_1.v1a() && $this.p1a_1.u1a("Unexpected leading comma"); + var result = LinkedHashMap_init_$Create$(); + $l$loop: for (;$this.p1a_1.w1a(); ) { + var key = $this.q1a_1 ? $this.p1a_1.y1a() : $this.p1a_1.x1a(); + $this.p1a_1.t1a(5); + var element = $this.z1a(); + if (result.n1(key, element), 4 !== (lastToken = $this.p1a_1.a1b())) { + if (7 === lastToken) break $l$loop; + $this.p1a_1.u1a("Expected end of the object or comma"); + } + } + return 6 === lastToken ? $this.p1a_1.t1a(7) : 4 === lastToken && ($this.r1a_1 || invalidTrailingComma($this.p1a_1), + $this.p1a_1.t1a(7)), new JsonObject(result); + }(this); + var result = tmp_0; + this.s1a_1 = this.s1a_1 - 1 | 0, tmp = result; + } else 8 === token ? tmp = readArray(this) : this.p1a_1.u1a("Cannot read Json element because of unexpected " + tokenDescription(token)); return tmp; - }, CancellableContinuationImpl.prototype.fh = function(onCancellation, cause) { + }, protoOf(DescriptorSchemaCache).f1c = function(descriptor, key, value) { + var tmp, this_0 = this.t19_1, value_0 = this_0.j1(descriptor); + if (null == value_0) { + var answer = createMapForCache(2); + this_0.n1(descriptor, answer), tmp = answer; + } else tmp = value_0; + var this_1 = tmp, key_0 = key instanceof Key ? key : THROW_CCE(), value_1 = null != value ? value : THROW_CCE(); + this_1.n1(key_0, value_1); + }, protoOf(DescriptorSchemaCache).u19 = function(descriptor, key, defaultValue) { + var tmp18_safe_receiver = this.g1c(descriptor, key); + if (null != tmp18_safe_receiver) return tmp18_safe_receiver; + var value = defaultValue(); + return this.f1c(descriptor, key, value), value; + }, protoOf(DescriptorSchemaCache).g1c = function(descriptor, key) { + var tmp, tmp19_safe_receiver = this.t19_1.j1(descriptor); + tmp = null == tmp19_safe_receiver ? null : tmp19_safe_receiver.j1(key instanceof Key ? key : THROW_CCE()); + return null != tmp ? tmp : null; + }, protoOf(StreamingJsonDecoder).e18 = function() { + return this.a17_1; + }, protoOf(StreamingJsonDecoder).r10 = function() { + return this.d17_1; + }, protoOf(StreamingJsonDecoder).f18 = function() { + return new JsonTreeReader(this.a17_1.t16_1, this.c17_1).z1a(); + }, protoOf(StreamingJsonDecoder).j10 = function(deserializer) { try { - onCancellation(cause); + if (!(deserializer instanceof AbstractPolymorphicSerializer) || this.a17_1.t16_1.v17_1) return deserializer.ky(this); + var discriminator = classDiscriminator(deserializer.iy(), this.a17_1), tmp0_elvis_lhs = this.c17_1.q1c(discriminator, this.g17_1.p17_1); + if (null == tmp0_elvis_lhs) { + var tmp$ret$0, deserializer_0 = isInterface(deserializer, DeserializationStrategy) ? deserializer : THROW_CCE(); + if (!(deserializer_0 instanceof AbstractPolymorphicSerializer) || this.e18().t16_1.v17_1) tmp$ret$0 = deserializer_0.ky(this); else { + var discriminator_0 = classDiscriminator(deserializer_0.iy(), this.e18()), value = this.f18(), serialName = deserializer_0.iy().ty(); + if (!(value instanceof JsonObject)) throw JsonDecodingException_0(-1, "Expected " + getKClass(JsonObject).e8() + ", but had " + getKClassFromExpression(value).e8() + " as the serialized body of " + serialName + " at element: " + this.c17_1.j17_1.f1a(), toString_0(value)); + var tmp_4, jsonTree = value, tmp16_safe_receiver = jsonTree.i18(discriminator_0), tmp17_safe_receiver = null == tmp16_safe_receiver ? null : get_jsonPrimitive(tmp16_safe_receiver), type = null == tmp17_safe_receiver ? null : get_contentOrNull(tmp17_safe_receiver); + try { + tmp_4 = findPolymorphicSerializer(deserializer_0, this, type); + } catch ($p) { + if ($p instanceof SerializationException) throw JsonDecodingException_0(-1, ensureNotNull($p.message), jsonTree.toString()); + throw $p; + } + var tmp_6 = tmp_4, actualSerializer = isInterface(tmp_6, DeserializationStrategy) ? tmp_6 : THROW_CCE(); + tmp$ret$0 = readPolymorphicJson(this.e18(), discriminator_0, jsonTree, actualSerializer); + } + return tmp$ret$0; + } + var tmp_7, type_0 = tmp0_elvis_lhs; + try { + tmp_7 = findPolymorphicSerializer(deserializer, this, type_0); + } catch ($p) { + if (!($p instanceof SerializationException)) throw $p; + var it_0 = $p, message = removeSuffix(substringBefore(ensureNotNull(it_0.message), _Char___init__impl__6a9atx(10)), "."), hint = substringAfter(ensureNotNull(it_0.message), _Char___init__impl__6a9atx(10), ""); + this.c17_1.u1a(message, VOID, hint), tmp_7 = undefined; + } + var tmp_9 = tmp_7, actualSerializer_0 = isInterface(tmp_9, DeserializationStrategy) ? tmp_9 : THROW_CCE(); + return this.f17_1 = new DiscriminatorHolder(discriminator), actualSerializer_0.ky(this); } catch ($p) { - if (!($p instanceof Error)) throw $p; - handleCoroutineException(this.m3(), new CompletionHandlerException("Exception in resume onCancellation handler for " + this, $p)); + if ($p instanceof MissingFieldException) { + var e = $p; + if (contains_0(ensureNotNull(e.message), "at path")) throw e; + throw new MissingFieldException(e.py_1, plus(e.message, " at path: ") + this.c17_1.j17_1.f1a(), e); + } + throw $p; + } + }, protoOf(StreamingJsonDecoder).k10 = function(descriptor) { + var $this, tmp, newMode = switchMode(this.a17_1, descriptor); + switch (this.c17_1.j17_1.a1a(descriptor), this.c17_1.i1c(newMode.t1c_1), 4 === ($this = this).c17_1.v1a() && $this.c17_1.u1a("Unexpected leading comma"), + newMode.r1_1) { + case 1: + case 2: + case 3: + tmp = new StreamingJsonDecoder(this.a17_1, newMode, this.c17_1, descriptor, this.f17_1); + break; + + default: + tmp = this.b17_1.equals(newMode) && this.a17_1.t16_1.s17_1 ? this : new StreamingJsonDecoder(this.a17_1, newMode, this.c17_1, descriptor, this.f17_1); } - }, CancellableContinuationImpl.prototype.zh = function(parent) { - return parent.of(); - }, CancellableContinuationImpl.prototype.ai = function() { - var isReusable_0 = isReusable(this); - if (trySuspend(this)) return null == this.sg_1 && installParentHandle(this), isReusable_0 && releaseClaimedReusableContinuation(this), - get_COROUTINE_SUSPENDED(); - isReusable_0 && releaseClaimedReusableContinuation(this); - var state = this.kf(); - if (state instanceof CompletedExceptionally) throw recoverStackTrace(state.we_1, this); - if (get_isCancellableMode(this.ah_1)) { - var job = this.m3().q3(Key_getInstance_2()); - if (null != job && !job.re()) { - var cause = job.of(); - throw this.oh(state, cause), recoverStackTrace(cause, this); - } - } - return this.bi(state); - }, CancellableContinuationImpl.prototype.n3 = function(result) { - return resumeImpl$default(this, toState(result, this), this.ah_1, null, 8, null); - }, CancellableContinuationImpl.prototype.dh = function() { - var tmp0_elvis_lhs = this.sg_1; - if (null == tmp0_elvis_lhs) return Unit_getInstance(); - tmp0_elvis_lhs.mh(), this.sg_1 = NonDisposableHandle_getInstance(); - }, CancellableContinuationImpl.prototype.bi = function(state) { - var tmp; - if (state instanceof CompletedContinuation) { - var tmp_0 = state.ph_1; - tmp = null == tmp_0 || isObject(tmp_0) ? tmp_0 : THROW_CCE(); - } else tmp = null == state || isObject(state) ? state : THROW_CCE(); return tmp; - }, CancellableContinuationImpl.prototype.ci = function(state) { - var tmp0_safe_receiver = DispatchedTask.prototype.ci.call(this, state); - return null == tmp0_safe_receiver ? null : recoverStackTrace(tmp0_safe_receiver, this.og_1); - }, CancellableContinuationImpl.prototype.toString = function() { - return this.df() + "(" + toDebugString(this.og_1) + "){" + _get_stateDebugRepresentation__bf18u4(this) + "}@" + get_hexAddress(this); - }, CancellableContinuationImpl.prototype.df = function() { - return "CancellableContinuation"; - }, Active.prototype.toString = function() { - return "Active"; - }, CompletedContinuation.prototype.uh = function() { - return !(null == this.th_1); - }, CompletedContinuation.prototype.wh = function(cont, cause) { - var tmp0_safe_receiver = this.qh_1; - null == tmp0_safe_receiver || (cont.xh(tmp0_safe_receiver, cause), Unit_getInstance()); - var tmp1_safe_receiver = this.rh_1; - null == tmp1_safe_receiver || (cont.fh(tmp1_safe_receiver, cause), Unit_getInstance()); - }, CompletedContinuation.prototype.fi = function(result, cancelHandler, onCancellation, idempotentResume, cancelCause) { - return new CompletedContinuation(result, cancelHandler, onCancellation, idempotentResume, cancelCause); - }, CompletedContinuation.prototype.vh = function(result, cancelHandler, onCancellation, idempotentResume, cancelCause, $mask0, $handler) { - return 0 != (1 & $mask0) && (result = this.ph_1), 0 != (2 & $mask0) && (cancelHandler = this.qh_1), - 0 != (4 & $mask0) && (onCancellation = this.rh_1), 0 != (8 & $mask0) && (idempotentResume = this.sh_1), - 0 != (16 & $mask0) && (cancelCause = this.th_1), this.fi(result, cancelHandler, onCancellation, idempotentResume, cancelCause); - }, CompletedContinuation.prototype.toString = function() { - return "CompletedContinuation(result=" + toString(this.ph_1) + ", cancelHandler=" + this.qh_1 + ", onCancellation=" + this.rh_1 + ", idempotentResume=" + toString(this.sh_1) + ", cancelCause=" + this.th_1 + ")"; - }, CompletedContinuation.prototype.hashCode = function() { - var result = null == this.ph_1 ? 0 : hashCode(this.ph_1); - return result = imul(result, 31) + (null == this.qh_1 ? 0 : hashCode(this.qh_1)) | 0, - result = imul(result, 31) + (null == this.rh_1 ? 0 : hashCode(this.rh_1)) | 0, result = imul(result, 31) + (null == this.sh_1 ? 0 : hashCode(this.sh_1)) | 0, - result = imul(result, 31) + (null == this.th_1 ? 0 : hashCode(this.th_1)) | 0; - }, CompletedContinuation.prototype.equals = function(other) { - if (this === other) return !0; - if (!(other instanceof CompletedContinuation)) return !1; - var tmp0_other_with_cast = other instanceof CompletedContinuation ? other : THROW_CCE(); - return !!(equals(this.ph_1, tmp0_other_with_cast.ph_1) && equals(this.qh_1, tmp0_other_with_cast.qh_1) && equals(this.rh_1, tmp0_other_with_cast.rh_1) && equals(this.sh_1, tmp0_other_with_cast.sh_1) && equals(this.th_1, tmp0_other_with_cast.th_1)); - }, CompletedExceptionally.prototype.ye = function() { - return this.xe_1.kotlinx$atomicfu$value; - }, CompletedExceptionally.prototype.gi = function() { - return this.xe_1.atomicfu$compareAndSet(!1, !0); - }, CompletedExceptionally.prototype.toString = function() { - return get_classSimpleName(this) + "[" + this.we_1 + "]"; - }, CancelledContinuation.prototype.jh = function() { - return this.ih_1.atomicfu$compareAndSet(!1, !0); - }, CompletedWithCancellation.prototype.toString = function() { - return "CompletedWithCancellation(result=" + toString(this.hi_1) + ", onCancellation=" + this.ii_1 + ")"; - }, CompletedWithCancellation.prototype.hashCode = function() { - var result = null == this.hi_1 ? 0 : hashCode(this.hi_1); - return result = imul(result, 31) + hashCode(this.ii_1) | 0; - }, CompletedWithCancellation.prototype.equals = function(other) { - if (this === other) return !0; - if (!(other instanceof CompletedWithCancellation)) return !1; - var tmp0_other_with_cast = other instanceof CompletedWithCancellation ? other : THROW_CCE(); - return !!equals(this.hi_1, tmp0_other_with_cast.hi_1) && !!equals(this.ii_1, tmp0_other_with_cast.ii_1); - }, CoroutineDispatcher.prototype.ki = function(context) { - return !0; - }, CoroutineDispatcher.prototype.o3 = function(continuation) { - return new DispatchedContinuation(this, continuation); - }, CoroutineDispatcher.prototype.p3 = function(continuation) { - (continuation instanceof DispatchedContinuation ? continuation : THROW_CCE()).mi(); - }, CoroutineDispatcher.prototype.toString = function() { - return get_classSimpleName(this) + "@" + get_hexAddress(this); - }, GlobalScope.prototype.qe = function() { - return EmptyCoroutineContext_getInstance(); - }, CoroutineStart.prototype.hf = function(block, receiver, completion) { - var tmp; - switch (this.d4_1) { + }, protoOf(StreamingJsonDecoder).l10 = function(descriptor) { + this.a17_1.t16_1.o17_1 && 0 === descriptor.xy() && function($this, descriptor) { + for (;-1 !== $this.t10(descriptor); ) ; + }(this, descriptor), this.c17_1.j1c() && !this.a17_1.t16_1.b18_1 && invalidTrailingComma(this.c17_1, ""), + this.c17_1.i1c(this.b17_1.u1c_1), this.c17_1.j17_1.e1a(); + }, protoOf(StreamingJsonDecoder).d10 = function() { + var tmp21_safe_receiver = this.h17_1, tmp0_elvis_lhs = null == tmp21_safe_receiver ? null : tmp21_safe_receiver.p19_1; + return (null == tmp0_elvis_lhs || !tmp0_elvis_lhs) && !this.c17_1.v1c(); + }, protoOf(StreamingJsonDecoder).e10 = function() { + return null; + }, protoOf(StreamingJsonDecoder).p10 = function(descriptor, index, deserializer, previousValue) { + var isMapKey = this.b17_1.equals(WriteMode_MAP_getInstance()) && !(1 & index); + isMapKey && this.c17_1.j17_1.d1a(); + var value = protoOf(AbstractDecoder).p10.call(this, descriptor, index, deserializer, previousValue); + return isMapKey && this.c17_1.j17_1.c1a(value), value; + }, protoOf(StreamingJsonDecoder).t10 = function(descriptor) { + var index, $this, tmp, hasComma; + switch (this.b17_1.r1_1) { case 0: - startCoroutineCancellable$default(block, receiver, completion, null, 4, null), tmp = Unit_getInstance(); + index = function($this, descriptor) { + for (var hasComma = $this.c17_1.j1c(); $this.c17_1.w1a(); ) { + hasComma = !1; + var key = decodeStringKey($this); + $this.c17_1.i1c(_Char___init__impl__6a9atx(58)); + var tmp, index = getJsonNameIndex(descriptor, $this.a17_1, key); + if (-3 !== index) { + if (!$this.g17_1.u17_1 || !coerceInputValue($this, descriptor, index)) { + var tmp23_safe_receiver = $this.h17_1; + return null == tmp23_safe_receiver || tmp23_safe_receiver.q19(index), index; + } + hasComma = $this.c17_1.j1c(), tmp = !1; + } else tmp = !0; + tmp && (hasComma = handleUnknown($this, key)); + } + hasComma && !$this.a17_1.t16_1.b18_1 && invalidTrailingComma($this.c17_1); + var tmp24_safe_receiver = $this.h17_1, tmp0_elvis_lhs = null == tmp24_safe_receiver ? null : tmp24_safe_receiver.r19(); + return null == tmp0_elvis_lhs ? -1 : tmp0_elvis_lhs; + }(this, descriptor); break; case 2: - startCoroutine(block, receiver, completion), tmp = Unit_getInstance(); + index = function($this) { + var tmp, hasComma = !1, decodingKey = !!($this.e17_1 % 2 | 0); + if (decodingKey ? -1 !== $this.e17_1 && (hasComma = $this.c17_1.j1c()) : $this.c17_1.i1c(_Char___init__impl__6a9atx(58)), + $this.c17_1.w1a()) { + if (decodingKey) if (-1 === $this.e17_1) { + var this_0 = $this.c17_1, condition = !hasComma, position = this_0.i17_1; + condition || this_0.u1a("Unexpected leading comma", position); + } else { + var this_1 = $this.c17_1, condition_0 = hasComma, position_0 = this_1.i17_1; + condition_0 || this_1.u1a("Expected comma after the key-value pair", position_0); + } + $this.e17_1 = $this.e17_1 + 1 | 0, tmp = $this.e17_1; + } else hasComma && !$this.a17_1.t16_1.b18_1 && invalidTrailingComma($this.c17_1), + tmp = -1; + return tmp; + }(this); break; - case 3: - startCoroutineUndispatched(block, receiver, completion), tmp = Unit_getInstance(); - break; + default: + hasComma = ($this = this).c17_1.j1c(), $this.c17_1.w1a() ? (-1 === $this.e17_1 || hasComma || $this.c17_1.u1a("Expected end of the array or comma"), + $this.e17_1 = $this.e17_1 + 1 | 0, tmp = $this.e17_1) : (hasComma && !$this.a17_1.t16_1.b18_1 && invalidTrailingComma($this.c17_1, "array"), + tmp = -1), index = tmp; + } + return this.b17_1.equals(WriteMode_MAP_getInstance()) || this.c17_1.j17_1.b1a(index), + index; + }, protoOf(StreamingJsonDecoder).f10 = function() { + var value = this.c17_1.r18(); + return value.equals(toLong(value.a1())) || this.c17_1.u1a("Failed to parse int for input '" + value.toString() + "'"), + value.a1(); + }, protoOf(StreamingJsonDecoder).g10 = function() { + return this.c17_1.r18(); + }, protoOf(StreamingJsonDecoder).h10 = function() { + return this.g17_1.p17_1 ? this.c17_1.p1c() : this.c17_1.x1a(); + }, protoOf(StreamingJsonEncoder).e18 = function() { + return this.h1a_1; + }, protoOf(StreamingJsonEncoder).r10 = function() { + return this.k1a_1; + }, protoOf(StreamingJsonEncoder).f11 = function(serializer, value) { + if (this.e18().t16_1.v17_1) serializer.jy(this, value); else { + var tmp, isPolymorphicSerializer = serializer instanceof AbstractPolymorphicSerializer; + if (isPolymorphicSerializer) tmp = !this.e18().t16_1.d18_1.equals((ClassDiscriminatorMode_initEntries(), + ClassDiscriminatorMode_NONE_instance)); else { + var tmp_0; + switch (this.e18().t16_1.d18_1.r1_1) { + case 0: + case 2: + tmp_0 = !1; + break; + + case 1: + var it = serializer.iy().uy(); + tmp_0 = equals(it, CLASS_getInstance()) || equals(it, OBJECT_getInstance()); + break; + default: + noWhenBranchMatchedException(); + } + tmp = tmp_0; + } + var tmp_1, baseClassDiscriminator = tmp ? classDiscriminator(serializer.iy(), this.e18()) : null; + if (isPolymorphicSerializer) { + var casted = serializer instanceof AbstractPolymorphicSerializer ? serializer : THROW_CCE(); + if (null == value) { + var message = "Value for serializer " + toString_0(serializer.iy()) + " should always be non-null. Please report issue to the kotlinx.serialization tracker."; + throw IllegalArgumentException_init_$Create$(toString_0(message)); + } + var actual = findPolymorphicSerializer_0(casted, this, value); + null != baseClassDiscriminator && validateIfSealed$accessor$1rk9rdt(serializer, actual, baseClassDiscriminator), + function(kind) { + if (kind instanceof ENUM) throw IllegalStateException_init_$Create$(toString_0("Enums cannot be serialized polymorphically with 'type' parameter. You can use 'JsonBuilder.useArrayPolymorphism' instead")); + if (kind instanceof PrimitiveKind) throw IllegalStateException_init_$Create$(toString_0("Primitives cannot be serialized polymorphically with 'type' parameter. You can use 'JsonBuilder.useArrayPolymorphism' instead")); + if (kind instanceof PolymorphicKind) throw IllegalStateException_init_$Create$(toString_0("Actual serializer for polymorphic cannot be polymorphic itself")); + }(actual.iy().uy()), tmp_1 = isInterface(actual, SerializationStrategy) ? actual : THROW_CCE(); + } else tmp_1 = serializer; + var actualSerializer = tmp_1; + if (null != baseClassDiscriminator) { + var serialName = actualSerializer.iy().ty(); + this.n1a_1 = baseClassDiscriminator, this.o1a_1 = serialName; + } + actualSerializer.jy(this, value); + } + }, protoOf(StreamingJsonEncoder).k10 = function(descriptor) { + var newMode = switchMode(this.h1a_1, descriptor); + newMode.t1c_1 !== _Char___init__impl__6a9atx(0) && (this.g1a_1.b19(newMode.t1c_1), + this.g1a_1.w18()); + var discriminator = this.n1a_1; + if (null != discriminator) { + var tmp0_elvis_lhs = this.o1a_1; + !function($this, discriminator, serialName) { + $this.g1a_1.y18(), $this.a11(discriminator), $this.g1a_1.b19(_Char___init__impl__6a9atx(58)), + $this.g1a_1.a19(), $this.a11(serialName); + }(this, discriminator, null == tmp0_elvis_lhs ? descriptor.ty() : tmp0_elvis_lhs), + this.n1a_1 = null, this.o1a_1 = null; + } + if (this.i1a_1.equals(newMode)) return this; + var tmp25_safe_receiver = this.j1a_1, tmp1_elvis_lhs = null == tmp25_safe_receiver ? null : tmp25_safe_receiver[newMode.r1_1]; + return null == tmp1_elvis_lhs ? new StreamingJsonEncoder(this.g1a_1, this.h1a_1, newMode, this.j1a_1) : tmp1_elvis_lhs; + }, protoOf(StreamingJsonEncoder).l10 = function(descriptor) { + this.i1a_1.u1c_1 !== _Char___init__impl__6a9atx(0) && (this.g1a_1.x18(), this.g1a_1.z18(), + this.g1a_1.b19(this.i1a_1.u1c_1)); + }, protoOf(StreamingJsonEncoder).v10 = function(descriptor, index) { + switch (this.i1a_1.r1_1) { case 1: - tmp = Unit_getInstance(); + this.g1a_1.v18_1 || this.g1a_1.b19(_Char___init__impl__6a9atx(44)), this.g1a_1.y18(); + break; + + case 2: + if (this.g1a_1.v18_1) this.m1a_1 = !0, this.g1a_1.y18(); else { + var tmp_0; + index % 2 | 0 ? (this.g1a_1.b19(_Char___init__impl__6a9atx(58)), this.g1a_1.a19(), + tmp_0 = !1) : (this.g1a_1.b19(_Char___init__impl__6a9atx(44)), this.g1a_1.y18(), + tmp_0 = !0), this.m1a_1 = tmp_0; + } + break; + + case 3: + 0 === index && (this.m1a_1 = !0), 1 === index && (this.g1a_1.b19(_Char___init__impl__6a9atx(44)), + this.g1a_1.a19(), this.m1a_1 = !1); break; default: - noWhenBranchMatchedException(); + this.g1a_1.v18_1 || this.g1a_1.b19(_Char___init__impl__6a9atx(44)), this.g1a_1.y18(), + this.a11(getJsonElementName(descriptor, this.h1a_1, index)), this.g1a_1.b19(_Char___init__impl__6a9atx(58)), + this.g1a_1.a19(); } - return tmp; - }, CoroutineStart.prototype.fg = function() { - return this === CoroutineStart_LAZY_getInstance(); - }, EventLoop.prototype.si = function() { - var tmp0_elvis_lhs = this.ri_1; - if (null == tmp0_elvis_lhs) return !1; - var tmp1_elvis_lhs = tmp0_elvis_lhs.wi(); - return null != tmp1_elvis_lhs && (tmp1_elvis_lhs.di(), !0); - }, EventLoop.prototype.xi = function(task) { - var tmp, tmp0_elvis_lhs = this.ri_1; - if (null == tmp0_elvis_lhs) { - var tmp0_also = new ArrayQueue; - this.ri_1 = tmp0_also, tmp = tmp0_also; - } else tmp = tmp0_elvis_lhs; - tmp.yi(task); - }, EventLoop.prototype.zi = function() { - return this.pi_1.u4(delta(this, !0)) >= 0; - }, EventLoop.prototype.aj = function() { - var tmp0_safe_receiver = this.ri_1, tmp1_elvis_lhs = null == tmp0_safe_receiver ? null : tmp0_safe_receiver.bj(); - return null == tmp1_elvis_lhs || tmp1_elvis_lhs; - }, EventLoop.prototype.cj = function(unconfined) { - var tmp0_this = this; - tmp0_this.pi_1 = tmp0_this.pi_1.w4(delta(this, unconfined)), unconfined || (this.qi_1 = !0); - }, EventLoop.prototype.dj = function(unconfined) { - var tmp0_this = this; - if (tmp0_this.pi_1 = tmp0_this.pi_1.x4(delta(this, unconfined)), this.pi_1.u4(new Long(0, 0)) > 0) return Unit_getInstance(); - this.qi_1 && this.ej(); - }, EventLoop.prototype.ej = function() {}, ThreadLocalEventLoop.prototype.gj = function() { - var tmp, tmp0_elvis_lhs = this.fj_1.ij(); - if (null == tmp0_elvis_lhs) { - var tmp0_also = createEventLoop(); - ThreadLocalEventLoop_getInstance().fj_1.jj(tmp0_also), tmp = tmp0_also; - } else tmp = tmp0_elvis_lhs; - return tmp; - }, NonDisposableHandle.prototype.mh = function() {}, NonDisposableHandle.prototype.wf = function(cause) { - return !1; - }, NonDisposableHandle.prototype.toString = function() { - return "NonDisposableHandle"; - }, Empty.prototype.re = function() { - return this.kj_1; - }, Empty.prototype.lj = function() { - return null; - }, Empty.prototype.toString = function() { - return "Empty{" + (this.kj_1 ? "Active" : "New") + "}"; - }, NodeList.prototype.re = function() { return !0; - }, NodeList.prototype.lj = function() { - return this; - }, NodeList.prototype.pj = function(state) { - var tmp0_apply = StringBuilder_init_$Create$(); - tmp0_apply.va("List{"), tmp0_apply.va(state), tmp0_apply.va("}["); - for (var first = !0, cur = this.qj_1; !equals(cur, this); ) { - if (cur instanceof JobNode) { - var tmp0__anonymous__q1qw7t = cur; - first ? first = !1 : tmp0_apply.va(", "), tmp0_apply.ua(tmp0__anonymous__q1qw7t); + }, protoOf(StreamingJsonEncoder).x10 = function() { + this.g1a_1.d19("null"); + }, protoOf(StreamingJsonEncoder).y10 = function(value) { + this.m1a_1 ? this.a11(value.toString()) : this.g1a_1.f19(value); + }, protoOf(StreamingJsonEncoder).z10 = function(value) { + this.m1a_1 ? this.a11(value.toString()) : this.g1a_1.h19(value); + }, protoOf(StreamingJsonEncoder).a11 = function(value) { + return this.g1a_1.i19(value); + }, protoOf(AbstractJsonTreeDecoder).e18 = function() { + return this.y1c_1; + }, protoOf(AbstractJsonTreeDecoder).g1 = function() { + return this.z1c_1; + }, protoOf(AbstractJsonTreeDecoder).r10 = function() { + return this.e18().r10(); + }, protoOf(AbstractJsonTreeDecoder).d1d = function() { + var tmp28_safe_receiver = this.c15(), tmp0_elvis_lhs = null == tmp28_safe_receiver ? null : this.e1d(tmp28_safe_receiver); + return null == tmp0_elvis_lhs ? this.g1() : tmp0_elvis_lhs; + }, protoOf(AbstractJsonTreeDecoder).c1d = function(currentTag) { + return this.e15() + "." + currentTag; + }, protoOf(AbstractJsonTreeDecoder).f18 = function() { + return this.d1d(); + }, protoOf(AbstractJsonTreeDecoder).j10 = function(deserializer) { + var tmp$ret$0; + if (!(deserializer instanceof AbstractPolymorphicSerializer) || this.e18().t16_1.v17_1) tmp$ret$0 = deserializer.ky(this); else { + var discriminator = classDiscriminator(deserializer.iy(), this.e18()), value = this.f18(), serialName = deserializer.iy().ty(); + if (!(value instanceof JsonObject)) throw JsonDecodingException_0(-1, "Expected " + getKClass(JsonObject).e8() + ", but had " + getKClassFromExpression(value).e8() + " as the serialized body of " + serialName + " at element: " + this.e15(), toString_0(value)); + var tmp_2, jsonTree = value, tmp16_safe_receiver = jsonTree.i18(discriminator), tmp17_safe_receiver = null == tmp16_safe_receiver ? null : get_jsonPrimitive(tmp16_safe_receiver), type = null == tmp17_safe_receiver ? null : get_contentOrNull(tmp17_safe_receiver); + try { + tmp_2 = findPolymorphicSerializer(deserializer, this, type); + } catch ($p) { + if ($p instanceof SerializationException) throw JsonDecodingException_0(-1, ensureNotNull($p.message), jsonTree.toString()); + throw $p; } - cur = cur.qj_1; + var tmp_4 = tmp_2, actualSerializer = isInterface(tmp_4, DeserializationStrategy) ? tmp_4 : THROW_CCE(); + tmp$ret$0 = readPolymorphicJson(this.e18(), discriminator, jsonTree, actualSerializer); } - return tmp0_apply.va("]"), tmp0_apply.toString(); - }, NodeList.prototype.toString = function() { - return get_DEBUG() ? this.pj("Active") : LinkedListHead.prototype.toString.call(this); - }, JobNode.prototype.zj = function() { - var tmp = this.yj_1; - if (null != tmp) return tmp; - throwUninitializedPropertyAccessException("job"); - }, JobNode.prototype.re = function() { - return !0; - }, JobNode.prototype.lj = function() { - return null; - }, JobNode.prototype.mh = function() { - return this.zj().tf(this); - }, JobNode.prototype.toString = function() { - return get_classSimpleName(this) + "@" + get_hexAddress(this) + "[job@" + get_hexAddress(this.zj()) + "]"; - }, Finishing.prototype.lj = function() { - return this.ck_1; - }, Finishing.prototype.nk = function(value) { - this.dk_1.kotlinx$atomicfu$value = value; - }, Finishing.prototype.jk = function() { - return this.dk_1.kotlinx$atomicfu$value; - }, Finishing.prototype.tk = function(value) { - this.ek_1.kotlinx$atomicfu$value = value; - }, Finishing.prototype.mk = function() { - return this.ek_1.kotlinx$atomicfu$value; - }, Finishing.prototype.kk = function() { - return _get_exceptionsHolder__nhszp(this) === get_SEALED(); - }, Finishing.prototype.gk = function() { - return !(null == this.mk()); - }, Finishing.prototype.re = function() { - return null == this.mk(); - }, Finishing.prototype.hk = function(proposedException) { - var tmp, eh = _get_exceptionsHolder__nhszp(this); - if (null == eh) tmp = allocateList(this); else if (eh instanceof Error) { - var tmp0_also = allocateList(this); - tmp0_also.a(eh), tmp = tmp0_also; - } else { - if (!(eh instanceof ArrayList)) { - var tmp1_error = "State is " + toString(eh); - throw IllegalStateException_init_$Create$(toString_0(tmp1_error)); + return tmp$ret$0; + }, protoOf(AbstractJsonTreeDecoder).d15 = function(parentName, childName) { + return childName; + }, protoOf(AbstractJsonTreeDecoder).k10 = function(descriptor) { + var tmp, currentObject = this.d1d(), tmp29_subject = descriptor.uy(); + if (!!equals(tmp29_subject, LIST_getInstance()) || tmp29_subject instanceof PolymorphicKind) { + var tmp_1 = this.e18(), serialName = descriptor.ty(); + if (!(currentObject instanceof JsonArray)) throw JsonDecodingException_0(-1, "Expected " + getKClass(JsonArray).e8() + ", but had " + getKClassFromExpression(currentObject).e8() + " as the serialized body of " + serialName + " at element: " + this.e15(), toString_0(currentObject)); + tmp = new JsonTreeListDecoder(tmp_1, currentObject); + } else if (equals(tmp29_subject, MAP_getInstance())) { + var tmp_4, this_0 = this.e18(), keyDescriptor = carrierDescriptor(descriptor.cz(0), this_0.r10()), keyKind = keyDescriptor.uy(); + if (keyKind instanceof PrimitiveKind || equals(keyKind, ENUM_getInstance())) { + var tmp_6 = this.e18(), serialName_0 = descriptor.ty(); + if (!(currentObject instanceof JsonObject)) throw JsonDecodingException_0(-1, "Expected " + getKClass(JsonObject).e8() + ", but had " + getKClassFromExpression(currentObject).e8() + " as the serialized body of " + serialName_0 + " at element: " + this.e15(), toString_0(currentObject)); + tmp_4 = new JsonTreeMapDecoder(tmp_6, currentObject); + } else { + if (!this_0.t16_1.q17_1) throw InvalidKeyKindException(keyDescriptor); + var tmp_9 = this.e18(), serialName_1 = descriptor.ty(); + if (!(currentObject instanceof JsonArray)) throw JsonDecodingException_0(-1, "Expected " + getKClass(JsonArray).e8() + ", but had " + getKClassFromExpression(currentObject).e8() + " as the serialized body of " + serialName_1 + " at element: " + this.e15(), toString_0(currentObject)); + tmp_4 = new JsonTreeListDecoder(tmp_9, currentObject); } - tmp = eh instanceof ArrayList ? eh : THROW_CCE(); - } - var list = tmp, rootCause = this.mk(), tmp0_safe_receiver = rootCause; - return null == tmp0_safe_receiver || (list.s6(0, tmp0_safe_receiver), Unit_getInstance()), - null == proposedException || equals(proposedException, rootCause) || list.a(proposedException), - _set_exceptionsHolder__tqm22h(this, get_SEALED()), list; - }, Finishing.prototype.lk = function(exception) { - var rootCause = this.mk(); - if (null == rootCause) return this.tk(exception), Unit_getInstance(); - if (exception === rootCause) return Unit_getInstance(); - var eh = _get_exceptionsHolder__nhszp(this); - if (null == eh) _set_exceptionsHolder__tqm22h(this, exception); else if (eh instanceof Error) { - if (exception === eh) return Unit_getInstance(); - var tmp0_apply = allocateList(this); - tmp0_apply.a(eh), tmp0_apply.a(exception), _set_exceptionsHolder__tqm22h(this, tmp0_apply); - } else { - if (!(eh instanceof ArrayList)) { - var tmp1_error = "State is " + toString(eh); - throw IllegalStateException_init_$Create$(toString_0(tmp1_error)); - } - (eh instanceof ArrayList ? eh : THROW_CCE()).a(exception); - } - }, Finishing.prototype.toString = function() { - return "Finishing[cancelling=" + this.gk() + ", completing=" + this.jk() + ", rootCause=" + this.mk() + ", exceptions=" + toString(_get_exceptionsHolder__nhszp(this)) + ", list=" + this.ck_1 + "]"; - }, ChildCompletion.prototype.cl = function(cause) { - continueCompleting(this.yk_1, this.zk_1, this.al_1, this.bl_1); - }, ChildCompletion.prototype.invoke = function(cause) { - return this.cl(cause); - }, JobSupport.prototype.e1 = function() { - return Key_getInstance_2(); - }, JobSupport.prototype.if = function(value) { - this.le_1.kotlinx$atomicfu$value = value; - }, JobSupport.prototype.jf = function() { - return this.le_1.kotlinx$atomicfu$value; - }, JobSupport.prototype.me = function(parent) { - if (null == parent) return this.if(NonDisposableHandle_getInstance()), Unit_getInstance(); - parent.mf(); - var handle = parent.zf(this); - this.if(handle), this.lf() && (handle.mh(), this.if(NonDisposableHandle_getInstance())); - }, JobSupport.prototype.kf = function() { - for (var tmp0_loop = this.ke_1; ;) { - var tmp1__anonymous__uwfjfc = tmp0_loop.kotlinx$atomicfu$value; - if (!(tmp1__anonymous__uwfjfc instanceof OpDescriptor)) return tmp1__anonymous__uwfjfc; - tmp1__anonymous__uwfjfc.dl(this); - } - }, JobSupport.prototype.re = function() { - var state = this.kf(); - return !(null == state || !isInterface(state, Incomplete)) && state.re(); - }, JobSupport.prototype.lf = function() { - var tmp = this.kf(); - return !(null != tmp && isInterface(tmp, Incomplete)); - }, JobSupport.prototype.mf = function() { - for (;;) { - var tmp0_subject = startInternal(this, this.kf()); - if (0 === tmp0_subject) return !1; - if (1 === tmp0_subject) return !0; - } - }, JobSupport.prototype.nf = function() {}, JobSupport.prototype.of = function() { - var tmp, state = this.kf(); - if (state instanceof Finishing) { - var tmp0_safe_receiver = state.mk(), tmp1_elvis_lhs = null == tmp0_safe_receiver ? null : this.pf(tmp0_safe_receiver, get_classSimpleName(this) + " is cancelling"); - if (null == tmp1_elvis_lhs) throw IllegalStateException_init_$Create$(toString_0("Job is still new or active: " + this)); - tmp = tmp1_elvis_lhs; + tmp = tmp_4; } else { - if (null != state && isInterface(state, Incomplete)) throw IllegalStateException_init_$Create$(toString_0("Job is still new or active: " + this)); - tmp = state instanceof CompletedExceptionally ? this.qf(state.we_1, null, 1, null) : new JobCancellationException(get_classSimpleName(this) + " has completed normally", null, this); + var tmp_12 = this.e18(), serialName_2 = descriptor.ty(); + if (!(currentObject instanceof JsonObject)) throw JsonDecodingException_0(-1, "Expected " + getKClass(JsonObject).e8() + ", but had " + getKClassFromExpression(currentObject).e8() + " as the serialized body of " + serialName_2 + " at element: " + this.e15(), toString_0(currentObject)); + tmp = new JsonTreeDecoder(tmp_12, currentObject, this.a1d_1); } return tmp; - }, JobSupport.prototype.pf = function(_this__u8e3s4, message) { - var tmp, tmp0_elvis_lhs = _this__u8e3s4 instanceof CancellationException ? _this__u8e3s4 : null; - if (null == tmp0_elvis_lhs) { - var tmp0_elvis_lhs_0 = message; - tmp = new JobCancellationException(null == tmp0_elvis_lhs_0 ? this.ue() : tmp0_elvis_lhs_0, _this__u8e3s4, this); - } else tmp = tmp0_elvis_lhs; - return tmp; - }, JobSupport.prototype.qf = function(_this__u8e3s4, message, $mask0, $handler) { - return 0 != (1 & $mask0) && (message = null), this.pf(_this__u8e3s4, message); - }, JobSupport.prototype.rf = function(onCancelling, invokeImmediately, handler) { - for (var node = makeNode(this, handler, onCancelling); ;) $l$block: { - var tmp0__anonymous__q1qw7t = this.kf(), tmp0_subject = tmp0__anonymous__q1qw7t; - if (tmp0_subject instanceof Empty) if (tmp0__anonymous__q1qw7t.kj_1) { - if (this.ke_1.atomicfu$compareAndSet(tmp0__anonymous__q1qw7t, node)) return node; - } else promoteEmptyToNodeList(this, tmp0__anonymous__q1qw7t); else { - if (null == tmp0_subject || !isInterface(tmp0_subject, Incomplete)) { - if (invokeImmediately) { - var tmp1_safe_receiver = tmp0__anonymous__q1qw7t instanceof CompletedExceptionally ? tmp0__anonymous__q1qw7t : null; - invokeIt(handler, null == tmp1_safe_receiver ? null : tmp1_safe_receiver.we_1); - } - return NonDisposableHandle_getInstance(); - } - var list = tmp0__anonymous__q1qw7t.lj(); - if (null == list) promoteSingleToNodeList(this, tmp0__anonymous__q1qw7t instanceof JobNode ? tmp0__anonymous__q1qw7t : THROW_CCE()); else { - var rootCause = null, handle = NonDisposableHandle_getInstance(); - if (onCancelling && tmp0__anonymous__q1qw7t instanceof Finishing) if (null == (rootCause = tmp0__anonymous__q1qw7t.mk()) || !!(handler instanceof ChildHandleNode) && !tmp0__anonymous__q1qw7t.jk()) { - if (!addLastAtomic(this, tmp0__anonymous__q1qw7t, list, node)) { - Unit_getInstance(); - break $l$block; - } - if (null == rootCause) return node; - handle = node, Unit_getInstance(); + }, protoOf(AbstractJsonTreeDecoder).l10 = function(descriptor) {}, protoOf(AbstractJsonTreeDecoder).d10 = function() { + return !(this.d1d() instanceof JsonNull); + }, protoOf(AbstractJsonTreeDecoder).f1d = function(tag) { + return !(this.e1d(tag) === JsonNull_getInstance()); + }, protoOf(AbstractJsonTreeDecoder).g15 = function(tag) { + return this.f1d(null != tag && "string" == typeof tag ? tag : THROW_CCE()); + }, protoOf(AbstractJsonTreeDecoder).g1d = function(tag) { + var tmp$ret$4; + $l$block: { + var value = this.e1d(tag); + if (!(value instanceof JsonPrimitive)) throw JsonDecodingException_0(-1, "Expected " + getKClass(JsonPrimitive).e8() + ", but had " + getKClassFromExpression(value).e8() + " as the serialized body of int at element: " + this.c1d(tag), toString_0(value)); + var literal = value; + try { + var tmp_1, tmp0_elvis_lhs = function(_this__u8e3s4) { + var tmp; + _init_properties_JsonElement_kt__7cbdc2(); + try { + tmp = new StringJsonLexer(_this__u8e3s4.l18()).r18(); + } catch ($p) { + if ($p instanceof JsonDecodingException) throw NumberFormatException_init_$Create$($p.message); + throw $p; } - if (null != rootCause) return invokeImmediately && invokeIt(handler, rootCause), - handle; - if (addLastAtomic(this, tmp0__anonymous__q1qw7t, list, node)) return node; - } + var result = tmp, this_0 = numberRangeToNumber(-2147483648, 2147483647); + if (!contains(isInterface(this_0, ClosedRange) ? this_0 : THROW_CCE(), result)) throw NumberFormatException_init_$Create$(_this__u8e3s4.l18() + " is not an Int"); + return result.a1(); + }(literal); + null == tmp0_elvis_lhs ? unparsedPrimitive(this, literal, "int", tag) : tmp_1 = tmp0_elvis_lhs, + tmp$ret$4 = tmp_1; + break $l$block; + } catch ($p) { + if (!($p instanceof IllegalArgumentException)) throw $p; + unparsedPrimitive(this, literal, "int", tag); } } - }, JobSupport.prototype.tf = function(node) { - for (;;) { - var tmp0__anonymous__q1qw7t = this.kf(); - if (!(tmp0__anonymous__q1qw7t instanceof JobNode)) return null != tmp0__anonymous__q1qw7t && isInterface(tmp0__anonymous__q1qw7t, Incomplete) ? (null != tmp0__anonymous__q1qw7t.lj() && node.ak(), - Unit_getInstance()) : Unit_getInstance(); - if (tmp0__anonymous__q1qw7t !== node) return Unit_getInstance(); - if (this.ke_1.atomicfu$compareAndSet(tmp0__anonymous__q1qw7t, get_EMPTY_ACTIVE())) return Unit_getInstance(); - } - }, JobSupport.prototype.uf = function() { - return !1; - }, JobSupport.prototype.ue = function() { - return "Job was cancelled"; - }, JobSupport.prototype.vf = function(parentJob) { - this.xf(parentJob); - }, JobSupport.prototype.wf = function(cause) { - return cause instanceof CancellationException || !!this.xf(cause) && this.cg(); - }, JobSupport.prototype.xf = function(cause) { - var tmp, finalState = get_COMPLETING_ALREADY(); - return !(!this.uf() || (finalState = cancelMakeCompleting(this, cause)) !== get_COMPLETING_WAITING_CHILDREN()) || (finalState === get_COMPLETING_ALREADY() && (finalState = makeCancelling(this, cause)), - finalState === get_COMPLETING_ALREADY() || finalState === get_COMPLETING_WAITING_CHILDREN() ? tmp = !0 : finalState === get_TOO_LATE_TO_CANCEL() ? tmp = !1 : (this.bf(finalState), - tmp = !0), tmp); - }, JobSupport.prototype.yf = function() { - var tmp, state = this.kf(), tmp0_subject = state; - if (tmp0_subject instanceof Finishing) tmp = state.mk(); else if (tmp0_subject instanceof CompletedExceptionally) tmp = state.we_1; else { - if (null != tmp0_subject && isInterface(tmp0_subject, Incomplete)) { - var tmp0_error = "Cannot be cancelling child in this state: " + toString(state); - throw IllegalStateException_init_$Create$(toString_0(tmp0_error)); + return tmp$ret$4; + }, protoOf(AbstractJsonTreeDecoder).h15 = function(tag) { + return this.g1d(null != tag && "string" == typeof tag ? tag : THROW_CCE()); + }, protoOf(AbstractJsonTreeDecoder).h1d = function(tag) { + var tmp$ret$4; + $l$block: { + var value = this.e1d(tag); + if (!(value instanceof JsonPrimitive)) throw JsonDecodingException_0(-1, "Expected " + getKClass(JsonPrimitive).e8() + ", but had " + getKClassFromExpression(value).e8() + " as the serialized body of long at element: " + this.c1d(tag), toString_0(value)); + var literal = value; + try { + var tmp_1, tmp0_elvis_lhs = function(_this__u8e3s4) { + var tmp; + _init_properties_JsonElement_kt__7cbdc2(); + try { + tmp = new StringJsonLexer(_this__u8e3s4.l18()).r18(); + } catch ($p) { + if ($p instanceof JsonDecodingException) throw NumberFormatException_init_$Create$($p.message); + throw $p; + } + return tmp; + }(literal); + null == tmp0_elvis_lhs ? unparsedPrimitive(this, literal, "long", tag) : tmp_1 = tmp0_elvis_lhs, + tmp$ret$4 = tmp_1; + break $l$block; + } catch ($p) { + if (!($p instanceof IllegalArgumentException)) throw $p; + unparsedPrimitive(this, literal, "long", tag); } - tmp = null; - } - var rootCause = tmp, tmp1_elvis_lhs = rootCause instanceof CancellationException ? rootCause : null; - return null == tmp1_elvis_lhs ? new JobCancellationException("Parent job is " + stateString(this, state), rootCause, this) : tmp1_elvis_lhs; - }, JobSupport.prototype.ze = function(proposedUpdate) { - for (;;) { - var finalState = tryMakeCompleting(this, this.kf(), proposedUpdate); - if (finalState === get_COMPLETING_ALREADY()) throw IllegalStateException_init_$Create$_0("Job " + this + " is already complete or completing, but is being completed with " + toString(proposedUpdate), _get_exceptionOrNull__b3j7js(proposedUpdate, this)); - if (finalState !== get_COMPLETING_RETRY()) return finalState; - Unit_getInstance(); } - }, JobSupport.prototype.zf = function(child) { - var tmp$ret$1; - tmp$ret$1 = new ChildHandleNode(child); - var tmp = this.sf(!0, !1, tmp$ret$1, 2, null); - return isInterface(tmp, ChildHandle) ? tmp : THROW_CCE(); - }, JobSupport.prototype.cf = function(exception) { - throw exception; - }, JobSupport.prototype.ag = function(cause) {}, JobSupport.prototype.bg = function() { - return !1; - }, JobSupport.prototype.cg = function() { - return !0; - }, JobSupport.prototype.dg = function(exception) { - return !1; - }, JobSupport.prototype.ve = function(state) {}, JobSupport.prototype.bf = function(state) {}, - JobSupport.prototype.toString = function() { - return this.eg() + "@" + get_hexAddress(this); - }, JobSupport.prototype.eg = function() { - return this.df() + "{" + stateString(this, this.kf()) + "}"; - }, JobSupport.prototype.df = function() { - return get_classSimpleName(this); - }, InactiveNodeList.prototype.lj = function() { - return this.ik_1; - }, InactiveNodeList.prototype.re = function() { - return !1; - }, InactiveNodeList.prototype.toString = function() { - return get_DEBUG() ? this.ik_1.pj("New") : anyToString(this); - }, ChildHandleNode.prototype.cl = function(cause) { - return this.sk_1.vf(this.zj()); - }, ChildHandleNode.prototype.invoke = function(cause) { - return this.cl(cause); - }, ChildHandleNode.prototype.wf = function(cause) { - return this.zj().wf(cause); - }, InvokeOnCancelling.prototype.cl = function(cause) { - this.jl_1.atomicfu$compareAndSet(0, 1) && this.il_1(cause); - }, InvokeOnCancelling.prototype.invoke = function(cause) { - return this.cl(cause); - }, InvokeOnCompletion.prototype.cl = function(cause) { - return this.ol_1(cause); - }, InvokeOnCompletion.prototype.invoke = function(cause) { - return this.cl(cause); - }, ChildContinuation.prototype.cl = function(cause) { - this.ul_1.yh(this.ul_1.zh(this.zj())); - }, ChildContinuation.prototype.invoke = function(cause) { - return this.cl(cause); - }, MainCoroutineDispatcher.prototype.toString = function() { - var tmp0_elvis_lhs = this.xl(); - return null == tmp0_elvis_lhs ? get_classSimpleName(this) + "@" + get_hexAddress(this) : tmp0_elvis_lhs; - }, MainCoroutineDispatcher.prototype.xl = function() { - var tmp, main = Dispatchers_getInstance().cm(); - if (this === main) return "Dispatchers.Main"; - try { - tmp = main.wl(); - } catch ($p) { - if (!($p instanceof UnsupportedOperationException)) throw $p; - tmp = null; + return tmp$ret$4; + }, protoOf(AbstractJsonTreeDecoder).i15 = function(tag) { + return this.h1d(null != tag && "string" == typeof tag ? tag : THROW_CCE()); + }, protoOf(AbstractJsonTreeDecoder).i1d = function(tag) { + var value = this.e1d(tag); + if (!(value instanceof JsonPrimitive)) throw JsonDecodingException_0(-1, "Expected " + getKClass(JsonPrimitive).e8() + ", but had " + getKClassFromExpression(value).e8() + " as the serialized body of string at element: " + this.c1d(tag), toString_0(value)); + var value_0 = value; + if (!(value_0 instanceof JsonLiteral)) throw JsonDecodingException_0(-1, "Expected string value for a non-null key '" + tag + "', got null literal instead at element: " + this.c1d(tag), toString_0(this.d1d())); + if (!value_0.m18_1 && !this.e18().t16_1.p17_1) throw JsonDecodingException_0(-1, "String literal for key '" + tag + "' should be quoted at element: " + this.c1d(tag) + ".\nUse 'isLenient = true' in 'Json {}' builder to accept non-compliant JSON.", toString_0(this.d1d())); + return value_0.o18_1; + }, protoOf(AbstractJsonTreeDecoder).j15 = function(tag) { + return this.i1d(null != tag && "string" == typeof tag ? tag : THROW_CCE()); + }, protoOf(JsonTreeDecoder).g1 = function() { + return this.p1d_1; + }, protoOf(JsonTreeDecoder).t10 = function(descriptor) { + for (;this.r1d_1 < descriptor.xy(); ) { + var _unary__edvuaz = this.r1d_1; + this.r1d_1 = _unary__edvuaz + 1 | 0; + var name = this.x14(descriptor, _unary__edvuaz), index = this.r1d_1 - 1 | 0; + this.s1d_1 = !1; + var this_0 = this.g1(); + if (!!(!!(isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).h1(name) || absenceIsNull(this, descriptor, index)) && (!this.b1d_1.u17_1 || !coerceInputValue_0(this, descriptor, index, name))) return index; } - return this === tmp ? "Dispatchers.Main.immediate" : null; - }, SupervisorCoroutine.prototype.wf = function(cause) { - return !1; - }, Unconfined.prototype.ki = function(context) { - return !1; - }, Unconfined.prototype.li = function(context, block) { - var yieldContext = context.q3(Key_getInstance_3()); - if (null != yieldContext) return yieldContext.nm_1 = !0, Unit_getInstance(); - throw UnsupportedOperationException_init_$Create$("Dispatchers.Unconfined.dispatch function can only be used by the yield function. If you wrap Unconfined dispatcher in your code, make sure you properly delegate isDispatchNeeded and dispatch calls."); - }, Unconfined.prototype.toString = function() { - return "Dispatchers.Unconfined"; - }, ArrayQueue.prototype.bj = function() { - return this.ui_1 === this.vi_1; - }, ArrayQueue.prototype.yi = function(element) { - this.ti_1[this.vi_1] = element, this.vi_1 = (this.vi_1 + 1 | 0) & (this.ti_1.length - 1 | 0), - this.vi_1 === this.ui_1 && ensureCapacity(this); - }, ArrayQueue.prototype.wi = function() { - if (this.ui_1 === this.vi_1) return null; - var element = this.ti_1[this.ui_1]; - return this.ti_1[this.ui_1] = null, this.ui_1 = (this.ui_1 + 1 | 0) & (this.ti_1.length - 1 | 0), - isObject(element) ? element : THROW_CCE(); - }, DispatchedContinuation.prototype.m3 = function() { - return this.vg_1.m3(); - }, DispatchedContinuation.prototype.zg = function() { - return !(null == this.yg_1.kotlinx$atomicfu$value); - }, DispatchedContinuation.prototype.om = function() { - for (var tmp0_loop = this.yg_1; ;) if (tmp0_loop.kotlinx$atomicfu$value !== get_REUSABLE_CLAIMED()) return Unit_getInstance(); - }, DispatchedContinuation.prototype.mi = function() { - this.om(); - var tmp0_safe_receiver = _get_reusableCancellableContinuation__9qex09(this); - null == tmp0_safe_receiver || tmp0_safe_receiver.dh(); - }, DispatchedContinuation.prototype.ch = function(continuation) { - for (var tmp0_loop = this.yg_1; ;) { - var tmp1__anonymous__uwfjfc = tmp0_loop.kotlinx$atomicfu$value; - if (tmp1__anonymous__uwfjfc !== get_REUSABLE_CLAIMED()) { - if (tmp1__anonymous__uwfjfc instanceof Error) { - if (!this.yg_1.atomicfu$compareAndSet(tmp1__anonymous__uwfjfc, null)) throw IllegalArgumentException_init_$Create$(toString_0("Failed requirement.")); - return tmp1__anonymous__uwfjfc; - } - var tmp1_error = "Inconsistent state " + toString(tmp1__anonymous__uwfjfc); - throw IllegalStateException_init_$Create$(toString_0(tmp1_error)); - } - if (this.yg_1.atomicfu$compareAndSet(get_REUSABLE_CLAIMED(), continuation)) return null; - } - }, DispatchedContinuation.prototype.bh = function(cause) { - for (var tmp0_loop = this.yg_1; ;) { - var tmp1__anonymous__uwfjfc = tmp0_loop.kotlinx$atomicfu$value, tmp0_subject = tmp1__anonymous__uwfjfc; - if (equals(tmp0_subject, get_REUSABLE_CLAIMED())) { - if (this.yg_1.atomicfu$compareAndSet(get_REUSABLE_CLAIMED(), cause)) return !0; - } else { - if (tmp0_subject instanceof Error) return !0; - if (this.yg_1.atomicfu$compareAndSet(tmp1__anonymous__uwfjfc, null)) return !1; + return -1; + }, protoOf(JsonTreeDecoder).d10 = function() { + return !this.s1d_1 && protoOf(AbstractJsonTreeDecoder).d10.call(this); + }, protoOf(JsonTreeDecoder).y14 = function(descriptor, index) { + var strategy = namingStrategy(descriptor, this.e18()), baseName = descriptor.zy(index); + if (null == strategy) { + if (!this.b1d_1.y17_1) return baseName; + if (this.g1().k1().d1(baseName)) return baseName; + } + var tmp$ret$1, deserializationNamesMap_0 = deserializationNamesMap(this.e18(), descriptor); + $l$block: { + for (var tmp0_iterator = this.g1().k1().h(); tmp0_iterator.i(); ) { + var element = tmp0_iterator.j(); + if (deserializationNamesMap_0.j1(element) === index) { + tmp$ret$1 = element; + break $l$block; + } } + tmp$ret$1 = null; } - }, DispatchedContinuation.prototype.nh = function() { - var state = this.wg_1; - return this.wg_1 = get_UNDEFINED(), state; - }, DispatchedContinuation.prototype.kh = function() { - return this; - }, DispatchedContinuation.prototype.n3 = function(result) { - var context = this.vg_1.m3(), state = toState$default(result, null, 1, null); - if (this.ug_1.ki(context)) this.wg_1 = state, this.ah_1 = get_MODE_ATOMIC(), this.ug_1.li(context, this); else { - var tmp0_executeUnconfined = get_MODE_ATOMIC(), eventLoop = ThreadLocalEventLoop_getInstance().gj(); - if (eventLoop.zi()) this.wg_1 = state, this.ah_1 = tmp0_executeUnconfined, eventLoop.xi(this), - !0; else { - eventLoop.cj(!0); + if (null != tmp$ret$1) return tmp$ret$1; + var fallbackName = null == strategy ? null : strategy.w19(descriptor, index, baseName); + return null == fallbackName ? baseName : fallbackName; + }, protoOf(JsonTreeDecoder).e1d = function(tag) { + return getValue(this.g1(), tag); + }, protoOf(JsonTreeDecoder).k10 = function(descriptor) { + if (descriptor === this.q1d_1) { + var tmp = this.e18(), value = this.d1d(), serialName = this.q1d_1.ty(); + if (!(value instanceof JsonObject)) throw JsonDecodingException_0(-1, "Expected " + getKClass(JsonObject).e8() + ", but had " + getKClassFromExpression(value).e8() + " as the serialized body of " + serialName + " at element: " + this.e15(), toString_0(value)); + return new JsonTreeDecoder(tmp, value, this.a1d_1, this.q1d_1); + } + return protoOf(AbstractJsonTreeDecoder).k10.call(this, descriptor); + }, protoOf(JsonTreeDecoder).l10 = function(descriptor) { + var tmp; + this.b1d_1.o17_1 ? tmp = !0 : tmp = descriptor.uy() instanceof PolymorphicKind; + if (tmp) return Unit_instance; + var tmp_1, strategy = namingStrategy(descriptor, this.e18()); + if (null != strategy || this.b1d_1.y17_1) if (null != strategy) tmp_1 = deserializationNamesMap(this.e18(), descriptor).k1(); else { + var tmp_2 = jsonCachedSerialNames(descriptor), tmp33_safe_receiver = get_schemaCache(this.e18()).g1c(descriptor, get_JsonDeserializationNamesKey()), tmp0_elvis_lhs = null == tmp33_safe_receiver ? null : tmp33_safe_receiver.k1(), tmp$ret$0 = null == tmp0_elvis_lhs ? emptySet() : tmp0_elvis_lhs; + tmp_1 = plus_0(tmp_2, tmp$ret$0); + } else tmp_1 = jsonCachedSerialNames(descriptor); + for (var names = tmp_1, _iterator__ex2g4s = this.g1().k1().h(); _iterator__ex2g4s.i(); ) { + var key = _iterator__ex2g4s.j(); + if (!names.d1(key) && key !== this.a1d_1) throw UnknownKeyException(key, this.g1().toString()); + } + }, protoOf(JsonTreeListDecoder).g1 = function() { + return this.z1d_1; + }, protoOf(JsonTreeListDecoder).y14 = function(descriptor, index) { + return index.toString(); + }, protoOf(JsonTreeListDecoder).e1d = function(tag) { + return this.z1d_1.p(toInt(tag)); + }, protoOf(JsonTreeListDecoder).t10 = function(descriptor) { + for (;this.b1e_1 < (this.a1e_1 - 1 | 0); ) return this.b1e_1 = this.b1e_1 + 1 | 0, + this.b1e_1; + return -1; + }, protoOf(JsonTreeMapDecoder).g1 = function() { + return this.m1e_1; + }, protoOf(JsonTreeMapDecoder).y14 = function(descriptor, index) { + var i = index / 2 | 0; + return this.n1e_1.p(i); + }, protoOf(JsonTreeMapDecoder).t10 = function(descriptor) { + for (;this.p1e_1 < (this.o1e_1 - 1 | 0); ) return this.p1e_1 = this.p1e_1 + 1 | 0, + this.p1e_1; + return -1; + }, protoOf(JsonTreeMapDecoder).e1d = function(tag) { + return this.p1e_1 % 2 | 0 ? getValue(this.m1e_1, tag) : (value = tag, _init_properties_JsonElement_kt__7cbdc2(), + null == value ? JsonNull_getInstance() : new JsonLiteral(value, !0)); + var value; + }, protoOf(JsonTreeMapDecoder).l10 = function(descriptor) {}, protoOf(AbstractJsonLexer).t1e = function() {}, + protoOf(AbstractJsonLexer).j1c = function() { + var current = this.u1e(), source = this.r1e(); + return !(current >= charSequenceLength(source) || -1 === current) && (charSequenceGet(source, current) === _Char___init__impl__6a9atx(44) && (this.i17_1 = this.i17_1 + 1 | 0, + !0)); + }, protoOf(AbstractJsonLexer).v1e = function(c) { + return c !== _Char___init__impl__6a9atx(125) && c !== _Char___init__impl__6a9atx(93) && c !== _Char___init__impl__6a9atx(58) && c !== _Char___init__impl__6a9atx(44); + }, protoOf(AbstractJsonLexer).m17 = function() { + 10 !== this.a1b() && this.u1a("Expected EOF after parsing, but had " + toString_1(charSequenceGet(this.r1e(), this.i17_1 - 1 | 0)) + " instead"); + }, protoOf(AbstractJsonLexer).t1a = function(expected) { + var token = this.a1b(); + return token !== expected && this.w1e(expected), token; + }, protoOf(AbstractJsonLexer).x1e = function(expected) { + if (this.i17_1 > 0 && expected === _Char___init__impl__6a9atx(34)) { + var tmp$ret$1; + $l$block: { + var snapshot = this.i17_1; try { - for (this.m3(), this.xg_1, this.vg_1.n3(result), Unit_getInstance(); eventLoop.si(); ) ; - } catch ($p) { - if (!($p instanceof Error)) throw $p; - this.ei($p, null); + this.i17_1 = this.i17_1 - 1 | 0, tmp$ret$1 = this.y1a(); + break $l$block; } finally { - eventLoop.dj(!0); + this.i17_1 = snapshot; } - !1; } + "null" === tmp$ret$1 && this.s19("Expected string literal but 'null' literal was found", this.i17_1 - 1 | 0, "Use 'coerceInputValues = true' in 'Json {}' builder to coerce nulls if property has a default value."); } - }, DispatchedContinuation.prototype.oh = function(takenState, cause) { - takenState instanceof CompletedWithCancellation && takenState.ii_1(cause); - }, DispatchedContinuation.prototype.toString = function() { - return "DispatchedContinuation[" + this.ug_1 + ", " + toDebugString(this.vg_1) + "]"; - }, DispatchedTask.prototype.oh = function(takenState, cause) {}, DispatchedTask.prototype.bi = function(state) { - return null == state || isObject(state) ? state : THROW_CCE(); - }, DispatchedTask.prototype.ci = function(state) { - var tmp0_safe_receiver = state instanceof CompletedExceptionally ? state : null; - return null == tmp0_safe_receiver ? null : tmp0_safe_receiver.we_1; - }, DispatchedTask.prototype.di = function() { - get_taskContext(this), Unit_getInstance(); - var fatalException = null; - try { - var tmp = this.kh(), delegate = tmp instanceof DispatchedContinuation ? tmp : THROW_CCE(), continuation = delegate.vg_1, context = (delegate.xg_1, - continuation.m3()), state = this.nh(), exception = this.ci(state), job = null == exception && get_isCancellableMode(this.ah_1) ? context.q3(Key_getInstance_2()) : null; - if (null == job || job.re()) { - var tmp_1; - if (null != exception) { - var tmp$ret$1; - Companion_getInstance(), tmp$ret$1 = _Result___init__impl__xyqfz8(createFailure(exception)), - continuation.n3(tmp$ret$1), tmp_1 = Unit_getInstance(); - } else { - var tmp$ret$3, tmp2_resume = this.bi(state); - Companion_getInstance(), tmp$ret$3 = _Result___init__impl__xyqfz8(tmp2_resume), - continuation.n3(tmp$ret$3), tmp_1 = Unit_getInstance(); + this.w1e(charToTokenClass(expected)); + }, protoOf(AbstractJsonLexer).y1e = function(expectedToken, wasConsumed) { + var expected = tokenDescription(expectedToken), position = wasConsumed ? this.i17_1 - 1 | 0 : this.i17_1, s = this.i17_1 === charSequenceLength(this.r1e()) || position < 0 ? "EOF" : toString_1(charSequenceGet(this.r1e(), position)); + this.u1a("Expected " + expected + ", but had '" + s + "' instead", position); + }, protoOf(AbstractJsonLexer).w1e = function(expectedToken, wasConsumed, $super) { + return wasConsumed = wasConsumed === VOID || wasConsumed, $super === VOID ? this.y1e(expectedToken, wasConsumed) : $super.y1e.call(this, expectedToken, wasConsumed); + }, protoOf(AbstractJsonLexer).v1a = function() { + var source = this.r1e(), cpos = this.i17_1; + $l$loop_0: for (;-1 !== (cpos = this.s1e(cpos)); ) { + var ch = charSequenceGet(source, cpos); + if (ch !== _Char___init__impl__6a9atx(32) && ch !== _Char___init__impl__6a9atx(10) && ch !== _Char___init__impl__6a9atx(13) && ch !== _Char___init__impl__6a9atx(9)) return this.i17_1 = cpos, + charToTokenClass(ch); + cpos = cpos + 1 | 0; + } + return this.i17_1 = cpos, 10; + }, protoOf(AbstractJsonLexer).k1c = function(doConsume) { + var current = this.u1e(); + current = this.s1e(current); + var len = charSequenceLength(this.r1e()) - current | 0; + if (len < 4 || -1 === current) return !1; + var inductionVariable = 0; + if (inductionVariable <= 3) do { + var i = inductionVariable; + if (inductionVariable = inductionVariable + 1 | 0, charSequenceGet("null", i) !== charSequenceGet(this.r1e(), current + i | 0)) return !1; + } while (inductionVariable <= 3); + return !(len > 4 && 0 === charToTokenClass(charSequenceGet(this.r1e(), current + 4 | 0))) && (doConsume && (this.i17_1 = current + 4 | 0), + !0); + }, protoOf(AbstractJsonLexer).v1c = function(doConsume, $super) { + return doConsume = doConsume === VOID || doConsume, $super === VOID ? this.k1c(doConsume) : $super.k1c.call(this, doConsume); + }, protoOf(AbstractJsonLexer).l1c = function(isLenient) { + var tmp, token = this.v1a(); + if (isLenient) { + if (1 !== token && 0 !== token) return null; + tmp = this.y1a(); + } else { + if (1 !== token) return null; + tmp = this.x1a(); + } + var string = tmp; + return this.k17_1 = string, string; + }, protoOf(AbstractJsonLexer).z1e = function() { + this.k17_1 = null; + }, protoOf(AbstractJsonLexer).a1f = function(startPos, endPos) { + var this_0 = this.r1e(); + return toString_0(charSequenceSubSequence(this_0, startPos, endPos)); + }, protoOf(AbstractJsonLexer).x1a = function() { + return null != this.k17_1 ? takePeeked(this) : this.o1c(); + }, protoOf(AbstractJsonLexer).consumeString2 = function(source, startPosition, current) { + for (var currentPosition = current, lastPosition = startPosition, char = charSequenceGet(source, currentPosition), usedAppend = !1; char !== _Char___init__impl__6a9atx(34); ) char === _Char___init__impl__6a9atx(92) ? (usedAppend = !0, + -1 === (currentPosition = this.s1e(appendEscape(this, lastPosition, currentPosition))) && this.u1a("Unexpected EOF", currentPosition), + lastPosition = currentPosition) : (currentPosition = currentPosition + 1 | 0) >= charSequenceLength(source) && (usedAppend = !0, + this.q1e(lastPosition, currentPosition), -1 === (currentPosition = this.s1e(currentPosition)) && this.u1a("Unexpected EOF", currentPosition), + lastPosition = currentPosition), char = charSequenceGet(source, currentPosition); + var string = usedAppend ? decodedString(this, lastPosition, currentPosition) : this.a1f(lastPosition, currentPosition); + return this.i17_1 = currentPosition + 1 | 0, string; + }, protoOf(AbstractJsonLexer).p1c = function() { + var $this, result = this.y1a(); + return "null" === result && charSequenceGet(($this = this).r1e(), $this.i17_1 - 1 | 0) !== _Char___init__impl__6a9atx(34) && this.u1a("Unexpected 'null' value instead of string literal"), + result; + }, protoOf(AbstractJsonLexer).y1a = function() { + if (null != this.k17_1) return takePeeked(this); + var current = this.u1e(); + (current >= charSequenceLength(this.r1e()) || -1 === current) && this.u1a("EOF", current); + var token = charToTokenClass(charSequenceGet(this.r1e(), current)); + if (1 === token) return this.x1a(); + 0 !== token && this.u1a("Expected beginning of the string, but got " + toString_1(charSequenceGet(this.r1e(), current))); + for (var usedAppend = !1; 0 === charToTokenClass(charSequenceGet(this.r1e(), current)); ) if ((current = current + 1 | 0) >= charSequenceLength(this.r1e())) { + usedAppend = !0, this.q1e(this.i17_1, current); + var eof = this.s1e(current); + if (-1 === eof) return this.i17_1 = current, decodedString(this, 0, 0); + current = eof; + } + var result = usedAppend ? decodedString(this, this.i17_1, current) : this.a1f(this.i17_1, current); + return this.i17_1 = current, result; + }, protoOf(AbstractJsonLexer).q1e = function(fromIndex, toIndex) { + this.l17_1.j9(this.r1e(), fromIndex, toIndex); + }, protoOf(AbstractJsonLexer).n1c = function(allowLenientStrings) { + var tokenStack = ArrayList_init_$Create$(), lastToken = this.v1a(); + if (8 !== lastToken && 6 !== lastToken) return this.y1a(), Unit_instance; + for (;;) if (1 !== (lastToken = this.v1a())) { + var tmp40_subject = lastToken; + if (8 === tmp40_subject || 6 === tmp40_subject) tokenStack.e(lastToken); else if (9 === tmp40_subject) { + if (8 !== last(tokenStack)) throw JsonDecodingException_0(this.i17_1, "found ] instead of } at path: " + this.j17_1.toString(), this.r1e()); + removeLast(tokenStack); + } else if (7 === tmp40_subject) { + if (6 !== last(tokenStack)) throw JsonDecodingException_0(this.i17_1, "found } instead of ] at path: " + this.j17_1.toString(), this.r1e()); + removeLast(tokenStack); + } else 10 === tmp40_subject && this.u1a("Unexpected end of input due to malformed JSON during ignoring unknown keys"); + if (this.a1b(), 0 === tokenStack.k()) return Unit_instance; + } else allowLenientStrings ? this.y1a() : this.o1c(); + }, protoOf(AbstractJsonLexer).toString = function() { + return "JsonReader(source='" + toString_0(this.r1e()) + "', currentPosition=" + this.i17_1 + ")"; + }, protoOf(AbstractJsonLexer).m1c = function(key) { + var processed = this.a1f(0, this.i17_1), lastIndexOf_0 = lastIndexOf(processed, key); + this.s19("Encountered an unknown key '" + key + "'", lastIndexOf_0, "Use 'ignoreUnknownKeys = true' in 'Json {}' builder to ignore unknown keys."); + }, protoOf(AbstractJsonLexer).s19 = function(message, position, hint) { + var hintMessage = 0 === charSequenceLength(hint) ? "" : "\n" + hint; + throw JsonDecodingException_0(position, message + " at path: " + this.j17_1.f1a() + hintMessage, this.r1e()); + }, protoOf(AbstractJsonLexer).u1a = function(message, position, hint, $super) { + return position = position === VOID ? this.i17_1 : position, hint = hint === VOID ? "" : hint, + $super === VOID ? this.s19(message, position, hint) : $super.s19.call(this, message, position, hint); + }, protoOf(AbstractJsonLexer).r18 = function() { + var tmp, current = this.u1e(); + ((current = this.s1e(current)) >= charSequenceLength(this.r1e()) || -1 === current) && this.u1a("EOF"), + charSequenceGet(this.r1e(), current) === _Char___init__impl__6a9atx(34) ? ((current = current + 1 | 0) === charSequenceLength(this.r1e()) && this.u1a("EOF"), + tmp = !0) : tmp = !1; + var hasQuotation = tmp, accumulator = new Long(0, 0), exponentAccumulator = new Long(0, 0), isNegative = !1, isExponentPositive = !1, hasExponent = !1, start = current; + $l$loop_4: for (;current !== charSequenceLength(this.r1e()); ) { + var ch = charSequenceGet(this.r1e(), current); + if (ch !== _Char___init__impl__6a9atx(101) && ch !== _Char___init__impl__6a9atx(69) || hasExponent) if (ch === _Char___init__impl__6a9atx(45) && hasExponent) current === start && this.u1a("Unexpected symbol '-' in numeric literal"), + isExponentPositive = !1, current = current + 1 | 0; else if (ch === _Char___init__impl__6a9atx(43) && hasExponent) current === start && this.u1a("Unexpected symbol '+' in numeric literal"), + isExponentPositive = !0, current = current + 1 | 0; else if (ch !== _Char___init__impl__6a9atx(45)) { + if (0 !== charToTokenClass(ch)) break $l$loop_4; + current = current + 1 | 0; + var digit = Char__minus_impl_a2frrh(ch, _Char___init__impl__6a9atx(48)); + 0 <= digit && digit <= 9 || this.u1a("Unexpected symbol '" + toString_1(ch) + "' in numeric literal"), + hasExponent ? exponentAccumulator = exponentAccumulator.b2(toLong(10)).z1(toLong(digit)) : (accumulator = accumulator.b2(toLong(10)).a2(toLong(digit))).b1(new Long(0, 0)) > 0 && this.u1a("Numeric value overflow"); + } else current !== start && this.u1a("Unexpected symbol '-' in numeric literal"), + isNegative = !0, current = current + 1 | 0; else current === start && this.u1a("Unexpected symbol " + toString_1(ch) + " in numeric literal"), + isExponentPositive = !0, hasExponent = !0, current = current + 1 | 0; + } + var tmp_0, hasChars = !(current === start); + if ((start === current || isNegative && start === (current - 1 | 0)) && this.u1a("Expected numeric literal"), + hasQuotation && (hasChars || this.u1a("EOF"), charSequenceGet(this.r1e(), current) !== _Char___init__impl__6a9atx(34) && this.u1a("Expected closing quotation mark"), + current = current + 1 | 0), this.i17_1 = current, hasExponent) { + var doubleAccumulator = accumulator.h2() * function(exponentAccumulator, isExponentPositive) { + var tmp; + switch (isExponentPositive) { + case !1: + var x = -exponentAccumulator.h2(); + tmp = Math.pow(10, x); + break; + + case !0: + var x_0 = exponentAccumulator.h2(); + tmp = Math.pow(10, x_0); + break; + + default: + noWhenBranchMatchedException(); + } + return tmp; + }(exponentAccumulator, isExponentPositive); + (doubleAccumulator > new Long(-1, 2147483647).h2() || doubleAccumulator < new Long(0, -2147483648).h2()) && this.u1a("Numeric value overflow"), + Math.floor(doubleAccumulator) !== doubleAccumulator && this.u1a("Can't convert " + doubleAccumulator + " to Long"), + accumulator = numberToLong(doubleAccumulator); + } + return isNegative ? tmp_0 = accumulator : accumulator.equals(new Long(0, -2147483648)) ? this.u1a("Numeric value overflow") : tmp_0 = accumulator.d2(), + tmp_0; + }, protoOf(StringJsonLexerWithComments).a1b = function() { + var source = this.r1e(), cpos = this.u1e(); + return cpos >= source.length || -1 === cpos ? 10 : (this.i17_1 = cpos + 1 | 0, charToTokenClass(charSequenceGet(source, cpos))); + }, protoOf(StringJsonLexerWithComments).w1a = function() { + var current = this.u1e(); + return !(current >= this.r1e().length || -1 === current) && this.v1e(charSequenceGet(this.r1e(), current)); + }, protoOf(StringJsonLexerWithComments).i1c = function(expected) { + var source = this.r1e(), current = this.u1e(); + (current >= source.length || -1 === current) && (this.i17_1 = -1, this.x1e(expected)); + var c = charSequenceGet(source, current); + if (this.i17_1 = current + 1 | 0, c === expected) return Unit_instance; + this.x1e(expected); + }, protoOf(StringJsonLexerWithComments).v1a = function() { + var source = this.r1e(), cpos = this.u1e(); + return cpos >= source.length || -1 === cpos ? 10 : (this.i17_1 = cpos, charToTokenClass(charSequenceGet(source, cpos))); + }, protoOf(StringJsonLexerWithComments).u1e = function() { + var current = this.i17_1; + if (-1 === current) return current; + var source = this.r1e(); + $l$loop_1: for (;current < source.length; ) { + var c = charSequenceGet(source, current); + if (c !== _Char___init__impl__6a9atx(32) && c !== _Char___init__impl__6a9atx(10) && c !== _Char___init__impl__6a9atx(13) && c !== _Char___init__impl__6a9atx(9)) { + if (c === _Char___init__impl__6a9atx(47) && (current + 1 | 0) < source.length) { + var tmp43_subject = charSequenceGet(source, current + 1 | 0); + if (tmp43_subject === _Char___init__impl__6a9atx(47)) { + current = -1 === (current = indexOf_0(source, _Char___init__impl__6a9atx(10), current + 2 | 0)) ? source.length : current + 1 | 0; + continue $l$loop_1; + } + if (tmp43_subject === _Char___init__impl__6a9atx(42)) { + -1 === (current = indexOf(source, "*/", current + 2 | 0)) ? (this.i17_1 = source.length, + this.u1a('Expected end of the block comment: "*/", but had EOF instead')) : current = current + 2 | 0; + continue $l$loop_1; + } } - tmp_1; - } else { - var tmp$ret$0, cause = job.of(); - this.oh(state, cause), Companion_getInstance(); - var tmp1_failure = recoverStackTrace(cause, continuation); - tmp$ret$0 = _Result___init__impl__xyqfz8(createFailure(tmp1_failure)), continuation.n3(tmp$ret$0), - Unit_getInstance(); - } - } catch ($p) { - if (!($p instanceof Error)) throw $p; - fatalException = $p; - } finally { - var tmp_2; - try { - Companion_getInstance(), Unit_getInstance(), tmp_2 = _Result___init__impl__xyqfz8(Unit_getInstance()); - } catch ($p) { - if (!($p instanceof Error)) throw $p; - Companion_getInstance(), tmp_2 = _Result___init__impl__xyqfz8(createFailure($p)); + break $l$loop_1; } - var result = tmp_2; - this.ei(fatalException, Result__exceptionOrNull_impl_p6xea9(result)); + current = current + 1 | 0; } - }, DispatchedTask.prototype.ei = function(exception, finallyException) { - if (null === exception && null === finallyException) return Unit_getInstance(); - var reason = new CoroutinesInternalError("Fatal exception in coroutines machinery for " + this + ". Please read KDoc to 'handleFatalException' method and report this incident to maintainers", ensureNotNull(null == exception ? finallyException : exception)); - handleCoroutineException(this.kh().m3(), reason); - }, ScopeCoroutine.prototype.bg = function() { - return !0; - }, ScopeCoroutine.prototype.bf = function(state) { - resumeCancellableWith$default(intercepted(this.km_1), recoverResult(state, this.km_1), null, 2, null); - }, ScopeCoroutine.prototype.af = function(state) { - this.km_1.n3(recoverResult(state, this.km_1)); - }, Symbol.prototype.toString = function() { - return "<" + this.pm_1 + ">"; - }, Dispatchers.prototype.cm = function() { - var tmp0_elvis_lhs = this.bm_1; - return null == tmp0_elvis_lhs ? this.am_1 : tmp0_elvis_lhs; - }, JsMainDispatcher.prototype.wl = function() { - return this.tm_1; - }, JsMainDispatcher.prototype.ki = function(context) { - return !this.sm_1; - }, JsMainDispatcher.prototype.li = function(context, block) { - return this.rm_1.li(context, block); - }, JsMainDispatcher.prototype.toString = function() { - var tmp0_elvis_lhs = this.xl(); - return null == tmp0_elvis_lhs ? this.rm_1.toString() : tmp0_elvis_lhs; - }, UnconfinedEventLoop.prototype.li = function(context, block) { - unsupported(); - }, JobCancellationException.prototype.toString = function() { - return CancellationException.prototype.toString.call(this) + "; job=" + this.ym_1; - }, JobCancellationException.prototype.equals = function(other) { - return other === this || !!(other instanceof JobCancellationException && other.message == this.message && equals(other.ym_1, this.ym_1)) && equals(other.cause, this.cause); - }, JobCancellationException.prototype.hashCode = function() { - var tmp = imul(imul(getStringHashCode(ensureNotNull(this.message)), 31) + hashCode(this.ym_1) | 0, 31), tmp0_safe_receiver = this.cause, tmp1_elvis_lhs = null == tmp0_safe_receiver ? null : hashCode(tmp0_safe_receiver); - return tmp + (null == tmp1_elvis_lhs ? 0 : tmp1_elvis_lhs) | 0; - }, NodeDispatcher.prototype.bn = function() { - process.nextTick(this.kn_1.hn_1); - }, SetTimeoutDispatcher.prototype.bn = function() { - setTimeout(this.kn_1.hn_1, 0); - }, ScheduledMessageQueue.prototype.tn = function() { - this.in_1.bn(); - }, ScheduledMessageQueue.prototype.un = function() { - setTimeout(this.hn_1, 0); - }, SetTimeoutBasedDispatcher.prototype.li = function(context, block) { - this.kn_1.vn(block); - }, MessageQueue.prototype.vn = function(element) { - this.yi(element), this.rn_1 || (this.rn_1 = !0, this.tn()); - }, MessageQueue.prototype.sn = function() { + return this.i17_1 = current, current; + }, protoOf(StringJsonLexer).r1e = function() { + return this.m1f_1; + }, protoOf(StringJsonLexer).s1e = function(position) { + return position < this.r1e().length ? position : -1; + }, protoOf(StringJsonLexer).a1b = function() { + for (var source = this.r1e(), cpos = this.i17_1; -1 !== cpos && cpos < source.length; ) { + var _unary__edvuaz = cpos; + cpos = _unary__edvuaz + 1 | 0; + var c = charSequenceGet(source, _unary__edvuaz); + if (c !== _Char___init__impl__6a9atx(32) && c !== _Char___init__impl__6a9atx(10) && c !== _Char___init__impl__6a9atx(13) && c !== _Char___init__impl__6a9atx(9)) return this.i17_1 = cpos, + charToTokenClass(c); + } + return this.i17_1 = source.length, 10; + }, protoOf(StringJsonLexer).w1a = function() { + var current = this.i17_1; + if (-1 === current) return !1; + for (var source = this.r1e(); current < source.length; ) { + var c = charSequenceGet(source, current); + if (c !== _Char___init__impl__6a9atx(32) && c !== _Char___init__impl__6a9atx(10) && c !== _Char___init__impl__6a9atx(13) && c !== _Char___init__impl__6a9atx(9)) return this.i17_1 = current, + this.v1e(c); + current = current + 1 | 0; + } + return this.i17_1 = current, !1; + }, protoOf(StringJsonLexer).u1e = function() { + var current = this.i17_1; + if (-1 === current) return current; + var source = this.r1e(); + $l$loop: for (;current < source.length; ) { + var c = charSequenceGet(source, current); + if (c !== _Char___init__impl__6a9atx(32) && c !== _Char___init__impl__6a9atx(10) && c !== _Char___init__impl__6a9atx(13) && c !== _Char___init__impl__6a9atx(9)) break $l$loop; + current = current + 1 | 0; + } + return this.i17_1 = current, current; + }, protoOf(StringJsonLexer).i1c = function(expected) { + -1 === this.i17_1 && this.x1e(expected); + for (var source = this.r1e(), cpos = this.i17_1; cpos < source.length; ) { + var _unary__edvuaz = cpos; + cpos = _unary__edvuaz + 1 | 0; + var c = charSequenceGet(source, _unary__edvuaz); + if (c !== _Char___init__impl__6a9atx(32) && c !== _Char___init__impl__6a9atx(10) && c !== _Char___init__impl__6a9atx(13) && c !== _Char___init__impl__6a9atx(9)) { + if (this.i17_1 = cpos, c === expected) return Unit_instance; + this.x1e(expected); + } + } + this.i17_1 = -1, this.x1e(expected); + }, protoOf(StringJsonLexer).o1c = function() { + this.i1c(_Char___init__impl__6a9atx(34)); + var current = this.i17_1, closingQuote = indexOf_0(this.r1e(), _Char___init__impl__6a9atx(34), current); + -1 === closingQuote && (this.y1a(), this.y1e(1, !1)); + var inductionVariable = current; + if (inductionVariable < closingQuote) do { + var i = inductionVariable; + if (inductionVariable = inductionVariable + 1 | 0, charSequenceGet(this.r1e(), i) === _Char___init__impl__6a9atx(92)) return this.consumeString2(this.r1e(), this.i17_1, i); + } while (inductionVariable < closingQuote); + return this.i17_1 = closingQuote + 1 | 0, this.r1e().substring(current, closingQuote); + }, protoOf(StringJsonLexer).q1c = function(keyToMatch, isLenient) { + var positionSnapshot = this.i17_1; try { - var tmp0_repeat = this.qn_1, inductionVariable = 0; - if (inductionVariable < tmp0_repeat) do { - inductionVariable = inductionVariable + 1 | 0; - var tmp0_elvis_lhs = this.wi(); - if (null == tmp0_elvis_lhs) return Unit_getInstance(); - tmp0_elvis_lhs.di(); - } while (inductionVariable < tmp0_repeat); + return 6 !== this.a1b() || this.l1c(isLenient) !== keyToMatch ? null : (this.z1e(), + 5 !== this.a1b() ? null : this.l1c(isLenient)); } finally { - this.bj() ? this.rn_1 = !1 : this.un(); - } - }, WindowDispatcher.prototype.li = function(context, block) { - return this.yn_1.vn(block); - }, WindowMessageQueue.prototype.tn = function() { - Promise.resolve(Unit_getInstance()).then(WindowMessageQueue$schedule$lambda(this)); - }, WindowMessageQueue.prototype.un = function() { - this.eo_1.postMessage(this.fo_1, "*"); - }, LinkedListNode.prototype.tj = function(node) { - var prev = this.rj_1; - node.qj_1 = this, node.rj_1 = prev, prev.qj_1 = node, this.rj_1 = node; - }, LinkedListNode.prototype.ak = function() { - return this.uj(); - }, LinkedListNode.prototype.uj = function() { - if (this.sj_1) return !1; - var prev = this.rj_1, next = this.qj_1; - return prev.qj_1 = next, next.rj_1 = prev, this.sj_1 = !0, !0; - }, LinkedListNode.prototype.bk = function(node) { - return this.qj_1 === this && (this.tj(node), !0); - }, CommonThreadLocal.prototype.ij = function() { - var tmp = this.hj_1; - return null == tmp || isObject(tmp) ? tmp : THROW_CCE(); - }, CommonThreadLocal.prototype.jj = function(value) { - this.hj_1 = value; - }, JobSupport.prototype.sf = invokeOnCompletion$default, JobSupport.prototype.x3 = plus, - JobSupport.prototype.q3 = get, JobSupport.prototype.w3 = fold, JobSupport.prototype.v3 = minusKey, - AbstractCoroutine.prototype.sf = invokeOnCompletion$default, AbstractCoroutine.prototype.x3 = plus, - AbstractCoroutine.prototype.q3 = get, AbstractCoroutine.prototype.w3 = fold, AbstractCoroutine.prototype.v3 = minusKey, - StandaloneCoroutine.prototype.sf = invokeOnCompletion$default, StandaloneCoroutine.prototype.x3 = plus, - StandaloneCoroutine.prototype.q3 = get, StandaloneCoroutine.prototype.w3 = fold, - StandaloneCoroutine.prototype.v3 = minusKey, LazyStandaloneCoroutine.prototype.sf = invokeOnCompletion$default, - LazyStandaloneCoroutine.prototype.x3 = plus, LazyStandaloneCoroutine.prototype.q3 = get, - LazyStandaloneCoroutine.prototype.w3 = fold, LazyStandaloneCoroutine.prototype.v3 = minusKey, - CoroutineDispatcher.prototype.q3 = get_0, CoroutineDispatcher.prototype.w3 = fold, - CoroutineDispatcher.prototype.v3 = minusKey_0, CoroutineDispatcher.prototype.x3 = plus, - EventLoop.prototype.x3 = plus, EventLoop.prototype.q3 = get_0, EventLoop.prototype.w3 = fold, - EventLoop.prototype.v3 = minusKey_0, MainCoroutineDispatcher.prototype.x3 = plus, - MainCoroutineDispatcher.prototype.q3 = get_0, MainCoroutineDispatcher.prototype.w3 = fold, - MainCoroutineDispatcher.prototype.v3 = minusKey_0, ScopeCoroutine.prototype.sf = invokeOnCompletion$default, - ScopeCoroutine.prototype.x3 = plus, ScopeCoroutine.prototype.q3 = get, ScopeCoroutine.prototype.w3 = fold, - ScopeCoroutine.prototype.v3 = minusKey, SupervisorCoroutine.prototype.sf = invokeOnCompletion$default, - SupervisorCoroutine.prototype.x3 = plus, SupervisorCoroutine.prototype.q3 = get, - SupervisorCoroutine.prototype.w3 = fold, SupervisorCoroutine.prototype.v3 = minusKey, - Unconfined.prototype.x3 = plus, Unconfined.prototype.q3 = get_0, Unconfined.prototype.w3 = fold, - Unconfined.prototype.v3 = minusKey_0, JsMainDispatcher.prototype.x3 = plus, JsMainDispatcher.prototype.q3 = get_0, - JsMainDispatcher.prototype.w3 = fold, JsMainDispatcher.prototype.v3 = minusKey_0, - UnconfinedEventLoop.prototype.x3 = plus, UnconfinedEventLoop.prototype.q3 = get_0, - UnconfinedEventLoop.prototype.w3 = fold, UnconfinedEventLoop.prototype.v3 = minusKey_0, - SetTimeoutBasedDispatcher.prototype.x3 = plus, SetTimeoutBasedDispatcher.prototype.q3 = get_0, - SetTimeoutBasedDispatcher.prototype.w3 = fold, SetTimeoutBasedDispatcher.prototype.v3 = minusKey_0, - NodeDispatcher.prototype.x3 = plus, NodeDispatcher.prototype.q3 = get_0, NodeDispatcher.prototype.w3 = fold, - NodeDispatcher.prototype.v3 = minusKey_0, SetTimeoutDispatcher.prototype.x3 = plus, - SetTimeoutDispatcher.prototype.q3 = get_0, SetTimeoutDispatcher.prototype.w3 = fold, - SetTimeoutDispatcher.prototype.v3 = minusKey_0, WindowDispatcher.prototype.x3 = plus, - WindowDispatcher.prototype.q3 = get_0, WindowDispatcher.prototype.w3 = fold, WindowDispatcher.prototype.v3 = minusKey_0, - MODE_CANCELLABLE = 1, MODE_UNINITIALIZED = -1, MODE_ATOMIC = 0, counter = 0, DEBUG = !1, - _.$_$ = _.$_$ || {}, _.$_$.a = await_0, _.$_$.b = supervisorScope, _.$_$.c = launch$default, - _.$_$.d = GlobalScope_getInstance, _.$_$.e = CoroutineScope, _; - }) ? __WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__) : __WEBPACK_AMD_DEFINE_FACTORY__) || (module.exports = __WEBPACK_AMD_DEFINE_RESULT__); + this.i17_1 = positionSnapshot, this.z1e(); + } + }, protoOf(JsonToStringWriter).g19 = function(value) { + this.y16_1.m9(value); + }, protoOf(JsonToStringWriter).c19 = function(char) { + this.y16_1.i6(char); + }, protoOf(JsonToStringWriter).e19 = function(text) { + this.y16_1.h6(text); + }, protoOf(JsonToStringWriter).j19 = function(text) { + printQuoted(this.y16_1, text); + }, protoOf(JsonToStringWriter).z16 = function() { + this.y16_1.o9(); + }, protoOf(JsonToStringWriter).toString = function() { + return this.y16_1.toString(); + }, new Companion, new Companion_0, new Companion_1, new Companion_2, Tombstone_instance = new Tombstone, + _.$_$ = _.$_$ || {}, _.$_$.a = Default_getInstance; + }(module.exports, __webpack_require__(9539), __webpack_require__(7036)); }, - 9491: module => { + 2613: module => { "use strict"; module.exports = require("assert"); }, - 4300: module => { + 290: module => { + "use strict"; + module.exports = require("async_hooks"); + }, + 181: module => { "use strict"; module.exports = require("buffer"); }, - 2081: module => { + 5317: module => { "use strict"; module.exports = require("child_process"); }, - 6113: module => { + 4236: module => { + "use strict"; + module.exports = require("console"); + }, + 6982: module => { "use strict"; module.exports = require("crypto"); }, - 2361: module => { + 1637: module => { + "use strict"; + module.exports = require("diagnostics_channel"); + }, + 4434: module => { "use strict"; module.exports = require("events"); }, - 7147: module => { + 9896: module => { "use strict"; module.exports = require("fs"); }, - 3685: module => { + 8611: module => { "use strict"; module.exports = require("http"); }, - 5687: module => { + 5675: module => { + "use strict"; + module.exports = require("http2"); + }, + 5692: module => { "use strict"; module.exports = require("https"); }, - 1808: module => { + 9278: module => { "use strict"; module.exports = require("net"); }, - 6005: module => { + 7598: module => { "use strict"; module.exports = require("node:crypto"); }, - 7561: module => { + 8474: module => { + "use strict"; + module.exports = require("node:events"); + }, + 3024: module => { "use strict"; module.exports = require("node:fs"); }, - 3977: module => { + 1455: module => { "use strict"; module.exports = require("node:fs/promises"); }, - 8849: module => { + 7067: module => { "use strict"; module.exports = require("node:http"); }, - 612: module => { + 8161: module => { "use strict"; module.exports = require("node:os"); }, - 9411: module => { + 6760: module => { "use strict"; module.exports = require("node:path"); }, - 7742: module => { + 1708: module => { "use strict"; module.exports = require("node:process"); }, - 6402: module => { + 7075: module => { + "use strict"; + module.exports = require("node:stream"); + }, + 6466: module => { "use strict"; module.exports = require("node:stream/promises"); }, - 1041: module => { + 3136: module => { "use strict"; module.exports = require("node:url"); }, - 9563: module => { + 7975: module => { + "use strict"; + module.exports = require("node:util"); + }, + 857: module => { "use strict"; module.exports = require("os"); }, - 1017: module => { + 6928: module => { "use strict"; module.exports = require("path"); }, - 5477: module => { + 2987: module => { + "use strict"; + module.exports = require("perf_hooks"); + }, + 3480: module => { "use strict"; - module.exports = require("punycode"); + module.exports = require("querystring"); }, - 2781: module => { + 2203: module => { "use strict"; module.exports = require("stream"); }, - 1576: module => { + 3774: module => { + "use strict"; + module.exports = require("stream/web"); + }, + 3193: module => { "use strict"; module.exports = require("string_decoder"); }, - 9512: module => { + 3557: module => { "use strict"; module.exports = require("timers"); }, - 4404: module => { + 4756: module => { "use strict"; module.exports = require("tls"); }, - 7310: module => { + 2018: module => { + "use strict"; + module.exports = require("tty"); + }, + 7016: module => { "use strict"; module.exports = require("url"); }, - 3837: module => { + 9023: module => { "use strict"; module.exports = require("util"); }, - 7104: module => { + 8253: module => { + "use strict"; + module.exports = require("util/types"); + }, + 8167: module => { + "use strict"; + module.exports = require("worker_threads"); + }, + 3106: module => { + "use strict"; + module.exports = require("zlib"); + }, + 5924: (__unused_webpack_module, exports) => { + "use strict"; + exports.w = void 0, exports.w = { + operationRequestMap: new WeakMap + }; + }, + 4417: (__unused_webpack_module, exports) => { + "use strict"; + exports.w = void 0, exports.w = { + instrumenterImplementation: void 0 + }; + }, + 3139: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const WritableStream = __webpack_require__(7075).Writable, inherits = __webpack_require__(7975).inherits, StreamSearch = __webpack_require__(1409), PartStream = __webpack_require__(3691), HeaderParser = __webpack_require__(2556), B_ONEDASH = Buffer.from("-"), B_CRLF = Buffer.from("\r\n"), EMPTY_FN = function() {}; + function Dicer(cfg) { + if (!(this instanceof Dicer)) return new Dicer(cfg); + if (WritableStream.call(this, cfg), !cfg || !cfg.headerFirst && "string" != typeof cfg.boundary) throw new TypeError("Boundary required"); + "string" == typeof cfg.boundary ? this.setBoundary(cfg.boundary) : this._bparser = void 0, + this._headerFirst = cfg.headerFirst, this._dashes = 0, this._parts = 0, this._finished = !1, + this._realFinish = !1, this._isPreamble = !0, this._justMatched = !1, this._firstWrite = !0, + this._inHeader = !0, this._part = void 0, this._cb = void 0, this._ignoreData = !1, + this._partOpts = { + highWaterMark: cfg.partHwm + }, this._pause = !1; + const self = this; + this._hparser = new HeaderParser(cfg), this._hparser.on("header", (function(header) { + self._inHeader = !1, self._part.emit("header", header); + })); + } + inherits(Dicer, WritableStream), Dicer.prototype.emit = function(ev) { + if ("finish" !== ev || this._realFinish) WritableStream.prototype.emit.apply(this, arguments); else if (!this._finished) { + const self = this; + process.nextTick((function() { + if (self.emit("error", new Error("Unexpected end of multipart data")), self._part && !self._ignoreData) { + const type = self._isPreamble ? "Preamble" : "Part"; + return self._part.emit("error", new Error(type + " terminated early due to unexpected end of multipart data")), + self._part.push(null), void process.nextTick((function() { + self._realFinish = !0, self.emit("finish"), self._realFinish = !1; + })); + } + self._realFinish = !0, self.emit("finish"), self._realFinish = !1; + })); + } + }, Dicer.prototype._write = function(data, encoding, cb) { + if (!this._hparser && !this._bparser) return cb(); + if (this._headerFirst && this._isPreamble) { + this._part || (this._part = new PartStream(this._partOpts), 0 !== this.listenerCount("preamble") ? this.emit("preamble", this._part) : this._ignore()); + const r = this._hparser.push(data); + if (this._inHeader || void 0 === r || !(r < data.length)) return cb(); + data = data.slice(r); + } + this._firstWrite && (this._bparser.push(B_CRLF), this._firstWrite = !1), this._bparser.push(data), + this._pause ? this._cb = cb : cb(); + }, Dicer.prototype.reset = function() { + this._part = void 0, this._bparser = void 0, this._hparser = void 0; + }, Dicer.prototype.setBoundary = function(boundary) { + const self = this; + this._bparser = new StreamSearch("\r\n--" + boundary), this._bparser.on("info", (function(isMatch, data, start, end) { + self._oninfo(isMatch, data, start, end); + })); + }, Dicer.prototype._ignore = function() { + this._part && !this._ignoreData && (this._ignoreData = !0, this._part.on("error", EMPTY_FN), + this._part.resume()); + }, Dicer.prototype._oninfo = function(isMatch, data, start, end) { + let buf; + const self = this; + let r, i = 0, shouldWriteMore = !0; + if (!this._part && this._justMatched && data) { + for (;this._dashes < 2 && start + i < end; ) { + if (45 !== data[start + i]) { + this._dashes && (buf = B_ONEDASH), this._dashes = 0; + break; + } + ++i, ++this._dashes; + } + if (2 === this._dashes && (start + i < end && 0 !== this.listenerCount("trailer") && this.emit("trailer", data.slice(start + i, end)), + this.reset(), this._finished = !0, 0 === self._parts && (self._realFinish = !0, + self.emit("finish"), self._realFinish = !1)), this._dashes) return; + } + this._justMatched && (this._justMatched = !1), this._part || (this._part = new PartStream(this._partOpts), + this._part._read = function(n) { + self._unpause(); + }, this._isPreamble && 0 !== this.listenerCount("preamble") ? this.emit("preamble", this._part) : !0 !== this._isPreamble && 0 !== this.listenerCount("part") ? this.emit("part", this._part) : this._ignore(), + this._isPreamble || (this._inHeader = !0)), data && start < end && !this._ignoreData && (this._isPreamble || !this._inHeader ? (buf && (shouldWriteMore = this._part.push(buf)), + shouldWriteMore = this._part.push(data.slice(start, end)), shouldWriteMore || (this._pause = !0)) : !this._isPreamble && this._inHeader && (buf && this._hparser.push(buf), + r = this._hparser.push(data.slice(start, end)), !this._inHeader && void 0 !== r && r < end && this._oninfo(!1, data, start + r, end))), + isMatch && (this._hparser.reset(), this._isPreamble ? this._isPreamble = !1 : start !== end && (++this._parts, + this._part.on("end", (function() { + 0 == --self._parts && (self._finished ? (self._realFinish = !0, self.emit("finish"), + self._realFinish = !1) : self._unpause()); + }))), this._part.push(null), this._part = void 0, this._ignoreData = !1, this._justMatched = !0, + this._dashes = 0); + }, Dicer.prototype._unpause = function() { + if (this._pause && (this._pause = !1, this._cb)) { + const cb = this._cb; + this._cb = void 0, cb(); + } + }, module.exports = Dicer; + }, + 2556: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const EventEmitter = __webpack_require__(8474).EventEmitter, inherits = __webpack_require__(7975).inherits, getLimit = __webpack_require__(4808), StreamSearch = __webpack_require__(1409), B_DCRLF = Buffer.from("\r\n\r\n"), RE_CRLF = /\r\n/g, RE_HDR = /^([^:]+):[ \t]?([\x00-\xFF]+)?$/; + function HeaderParser(cfg) { + EventEmitter.call(this), cfg = cfg || {}; + const self = this; + this.nread = 0, this.maxed = !1, this.npairs = 0, this.maxHeaderPairs = getLimit(cfg, "maxHeaderPairs", 2e3), + this.maxHeaderSize = getLimit(cfg, "maxHeaderSize", 81920), this.buffer = "", this.header = {}, + this.finished = !1, this.ss = new StreamSearch(B_DCRLF), this.ss.on("info", (function(isMatch, data, start, end) { + data && !self.maxed && (self.nread + end - start >= self.maxHeaderSize ? (end = self.maxHeaderSize - self.nread + start, + self.nread = self.maxHeaderSize, self.maxed = !0) : self.nread += end - start, self.buffer += data.toString("binary", start, end)), + isMatch && self._finish(); + })); + } + inherits(HeaderParser, EventEmitter), HeaderParser.prototype.push = function(data) { + const r = this.ss.push(data); + if (this.finished) return r; + }, HeaderParser.prototype.reset = function() { + this.finished = !1, this.buffer = "", this.header = {}, this.ss.reset(); + }, HeaderParser.prototype._finish = function() { + this.buffer && this._parseHeader(), this.ss.matches = this.ss.maxMatches; + const header = this.header; + this.header = {}, this.buffer = "", this.finished = !0, this.nread = this.npairs = 0, + this.maxed = !1, this.emit("header", header); + }, HeaderParser.prototype._parseHeader = function() { + if (this.npairs === this.maxHeaderPairs) return; + const lines = this.buffer.split(RE_CRLF), len = lines.length; + let m, h; + for (var i = 0; i < len; ++i) { + if (0 === lines[i].length) continue; + if (("\t" === lines[i][0] || " " === lines[i][0]) && h) { + this.header[h][this.header[h].length - 1] += lines[i]; + continue; + } + const posColon = lines[i].indexOf(":"); + if (-1 === posColon || 0 === posColon) return; + if (m = RE_HDR.exec(lines[i]), h = m[1].toLowerCase(), this.header[h] = this.header[h] || [], + this.header[h].push(m[2] || ""), ++this.npairs === this.maxHeaderPairs) break; + } + }, module.exports = HeaderParser; + }, + 3691: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const inherits = __webpack_require__(7975).inherits, ReadableStream = __webpack_require__(7075).Readable; + function PartStream(opts) { + ReadableStream.call(this, opts); + } + inherits(PartStream, ReadableStream), PartStream.prototype._read = function(n) {}, + module.exports = PartStream; + }, + 1409: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const EventEmitter = __webpack_require__(8474).EventEmitter; + function SBMH(needle) { + if ("string" == typeof needle && (needle = Buffer.from(needle)), !Buffer.isBuffer(needle)) throw new TypeError("The needle has to be a String or a Buffer."); + const needleLength = needle.length; + if (0 === needleLength) throw new Error("The needle cannot be an empty String/Buffer."); + if (needleLength > 256) throw new Error("The needle cannot have a length bigger than 256."); + this.maxMatches = 1 / 0, this.matches = 0, this._occ = new Array(256).fill(needleLength), + this._lookbehind_size = 0, this._needle = needle, this._bufpos = 0, this._lookbehind = Buffer.alloc(needleLength); + for (var i = 0; i < needleLength - 1; ++i) this._occ[needle[i]] = needleLength - 1 - i; + } + (0, __webpack_require__(7975).inherits)(SBMH, EventEmitter), SBMH.prototype.reset = function() { + this._lookbehind_size = 0, this.matches = 0, this._bufpos = 0; + }, SBMH.prototype.push = function(chunk, pos) { + Buffer.isBuffer(chunk) || (chunk = Buffer.from(chunk, "binary")); + const chlen = chunk.length; + let r; + for (this._bufpos = pos || 0; r !== chlen && this.matches < this.maxMatches; ) r = this._sbmh_feed(chunk); + return r; + }, SBMH.prototype._sbmh_feed = function(data) { + const len = data.length, needle = this._needle, needleLength = needle.length, lastNeedleChar = needle[needleLength - 1]; + let ch, pos = -this._lookbehind_size; + if (pos < 0) { + for (;pos < 0 && pos <= len - needleLength; ) { + if (ch = this._sbmh_lookup_char(data, pos + needleLength - 1), ch === lastNeedleChar && this._sbmh_memcmp(data, pos, needleLength - 1)) return this._lookbehind_size = 0, + ++this.matches, this.emit("info", !0), this._bufpos = pos + needleLength; + pos += this._occ[ch]; + } + if (pos < 0) for (;pos < 0 && !this._sbmh_memcmp(data, pos, len - pos); ) ++pos; + if (!(pos >= 0)) { + const bytesToCutOff = this._lookbehind_size + pos; + return bytesToCutOff > 0 && this.emit("info", !1, this._lookbehind, 0, bytesToCutOff), + this._lookbehind.copy(this._lookbehind, 0, bytesToCutOff, this._lookbehind_size - bytesToCutOff), + this._lookbehind_size -= bytesToCutOff, data.copy(this._lookbehind, this._lookbehind_size), + this._lookbehind_size += len, this._bufpos = len, len; + } + this.emit("info", !1, this._lookbehind, 0, this._lookbehind_size), this._lookbehind_size = 0; + } + if (pos += (pos >= 0) * this._bufpos, -1 !== data.indexOf(needle, pos)) return pos = data.indexOf(needle, pos), + ++this.matches, pos > 0 ? this.emit("info", !0, data, this._bufpos, pos) : this.emit("info", !0), + this._bufpos = pos + needleLength; + for (pos = len - needleLength; pos < len && (data[pos] !== needle[0] || 0 !== Buffer.compare(data.subarray(pos, pos + len - pos), needle.subarray(0, len - pos))); ) ++pos; + return pos < len && (data.copy(this._lookbehind, 0, pos, pos + (len - pos)), this._lookbehind_size = len - pos), + pos > 0 && this.emit("info", !1, data, this._bufpos, pos < len ? pos : len), this._bufpos = len, + len; + }, SBMH.prototype._sbmh_lookup_char = function(data, pos) { + return pos < 0 ? this._lookbehind[this._lookbehind_size + pos] : data[pos]; + }, SBMH.prototype._sbmh_memcmp = function(data, pos, len) { + for (var i = 0; i < len; ++i) if (this._sbmh_lookup_char(data, pos + i) !== this._needle[i]) return !1; + return !0; + }, module.exports = SBMH; + }, + 1484: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const WritableStream = __webpack_require__(7075).Writable, {inherits} = __webpack_require__(7975), Dicer = __webpack_require__(3139), MultipartParser = __webpack_require__(3843), UrlencodedParser = __webpack_require__(7094), parseParams = __webpack_require__(7722); + function Busboy(opts) { + if (!(this instanceof Busboy)) return new Busboy(opts); + if ("object" != typeof opts) throw new TypeError("Busboy expected an options-Object."); + if ("object" != typeof opts.headers) throw new TypeError("Busboy expected an options-Object with headers-attribute."); + if ("string" != typeof opts.headers["content-type"]) throw new TypeError("Missing Content-Type-header."); + const {headers, ...streamOptions} = opts; + this.opts = { + autoDestroy: !1, + ...streamOptions + }, WritableStream.call(this, this.opts), this._done = !1, this._parser = this.getParserByHeaders(headers), + this._finished = !1; + } + inherits(Busboy, WritableStream), Busboy.prototype.emit = function(ev) { + if ("finish" === ev) { + if (!this._done) return void this._parser?.end(); + if (this._finished) return; + this._finished = !0; + } + WritableStream.prototype.emit.apply(this, arguments); + }, Busboy.prototype.getParserByHeaders = function(headers) { + const parsed = parseParams(headers["content-type"]), cfg = { + defCharset: this.opts.defCharset, + fileHwm: this.opts.fileHwm, + headers, + highWaterMark: this.opts.highWaterMark, + isPartAFile: this.opts.isPartAFile, + limits: this.opts.limits, + parsedConType: parsed, + preservePath: this.opts.preservePath + }; + if (MultipartParser.detect.test(parsed[0])) return new MultipartParser(this, cfg); + if (UrlencodedParser.detect.test(parsed[0])) return new UrlencodedParser(this, cfg); + throw new Error("Unsupported Content-Type."); + }, Busboy.prototype._write = function(chunk, encoding, cb) { + this._parser.write(chunk, cb); + }, module.exports = Busboy, module.exports.default = Busboy, module.exports.Busboy = Busboy, + module.exports.Dicer = Dicer; + }, + 3843: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const {Readable} = __webpack_require__(7075), {inherits} = __webpack_require__(7975), Dicer = __webpack_require__(3139), parseParams = __webpack_require__(7722), decodeText = __webpack_require__(494), basename = __webpack_require__(2429), getLimit = __webpack_require__(4808), RE_BOUNDARY = /^boundary$/i, RE_FIELD = /^form-data$/i, RE_CHARSET = /^charset$/i, RE_FILENAME = /^filename$/i, RE_NAME = /^name$/i; + function Multipart(boy, cfg) { + let i, len; + const self = this; + let boundary; + const limits = cfg.limits, isPartAFile = cfg.isPartAFile || ((fieldName, contentType, fileName) => "application/octet-stream" === contentType || void 0 !== fileName), parsedConType = cfg.parsedConType || [], defCharset = cfg.defCharset || "utf8", preservePath = cfg.preservePath, fileOpts = { + highWaterMark: cfg.fileHwm + }; + for (i = 0, len = parsedConType.length; i < len; ++i) if (Array.isArray(parsedConType[i]) && RE_BOUNDARY.test(parsedConType[i][0])) { + boundary = parsedConType[i][1]; + break; + } + function checkFinished() { + 0 === nends && finished && !boy._done && (finished = !1, self.end()); + } + if ("string" != typeof boundary) throw new Error("Multipart: Boundary not found"); + const fieldSizeLimit = getLimit(limits, "fieldSize", 1048576), fileSizeLimit = getLimit(limits, "fileSize", 1 / 0), filesLimit = getLimit(limits, "files", 1 / 0), fieldsLimit = getLimit(limits, "fields", 1 / 0), partsLimit = getLimit(limits, "parts", 1 / 0), headerPairsLimit = getLimit(limits, "headerPairs", 2e3), headerSizeLimit = getLimit(limits, "headerSize", 81920); + let curFile, curField, nfiles = 0, nfields = 0, nends = 0, finished = !1; + this._needDrain = !1, this._pause = !1, this._cb = void 0, this._nparts = 0, this._boy = boy; + const parserCfg = { + boundary, + maxHeaderPairs: headerPairsLimit, + maxHeaderSize: headerSizeLimit, + partHwm: fileOpts.highWaterMark, + highWaterMark: cfg.highWaterMark + }; + this.parser = new Dicer(parserCfg), this.parser.on("drain", (function() { + if (self._needDrain = !1, self._cb && !self._pause) { + const cb = self._cb; + self._cb = void 0, cb(); + } + })).on("part", (function onPart(part) { + if (++self._nparts > partsLimit) return self.parser.removeListener("part", onPart), + self.parser.on("part", skipPart), boy.hitPartsLimit = !0, boy.emit("partsLimit"), + skipPart(part); + if (curField) { + const field = curField; + field.emit("end"), field.removeAllListeners("end"); + } + part.on("header", (function(header) { + let contype, fieldname, parsed, charset, encoding, filename, onData, onEnd, nsize = 0; + if (header["content-type"] && (parsed = parseParams(header["content-type"][0]), + parsed[0])) for (contype = parsed[0].toLowerCase(), i = 0, len = parsed.length; i < len; ++i) if (RE_CHARSET.test(parsed[i][0])) { + charset = parsed[i][1].toLowerCase(); + break; + } + if (void 0 === contype && (contype = "text/plain"), void 0 === charset && (charset = defCharset), + !header["content-disposition"]) return skipPart(part); + if (parsed = parseParams(header["content-disposition"][0]), !RE_FIELD.test(parsed[0])) return skipPart(part); + for (i = 0, len = parsed.length; i < len; ++i) RE_NAME.test(parsed[i][0]) ? fieldname = parsed[i][1] : RE_FILENAME.test(parsed[i][0]) && (filename = parsed[i][1], + preservePath || (filename = basename(filename))); + if (encoding = header["content-transfer-encoding"] ? header["content-transfer-encoding"][0].toLowerCase() : "7bit", + isPartAFile(fieldname, contype, filename)) { + if (nfiles === filesLimit) return boy.hitFilesLimit || (boy.hitFilesLimit = !0, + boy.emit("filesLimit")), skipPart(part); + if (++nfiles, 0 === boy.listenerCount("file")) return void self.parser._ignore(); + ++nends; + const file = new FileStream(fileOpts); + curFile = file, file.on("end", (function() { + if (--nends, self._pause = !1, checkFinished(), self._cb && !self._needDrain) { + const cb = self._cb; + self._cb = void 0, cb(); + } + })), file._read = function(n) { + if (self._pause && (self._pause = !1, self._cb && !self._needDrain)) { + const cb = self._cb; + self._cb = void 0, cb(); + } + }, boy.emit("file", fieldname, file, filename, encoding, contype), onData = function(data) { + if ((nsize += data.length) > fileSizeLimit) { + const extralen = fileSizeLimit - nsize + data.length; + return extralen > 0 && file.push(data.slice(0, extralen)), file.truncated = !0, + file.bytesRead = fileSizeLimit, part.removeAllListeners("data"), void file.emit("limit"); + } + file.push(data) || (self._pause = !0), file.bytesRead = nsize; + }, onEnd = function() { + curFile = void 0, file.push(null); + }; + } else { + if (nfields === fieldsLimit) return boy.hitFieldsLimit || (boy.hitFieldsLimit = !0, + boy.emit("fieldsLimit")), skipPart(part); + ++nfields, ++nends; + let buffer = "", truncated = !1; + curField = part, onData = function(data) { + if ((nsize += data.length) > fieldSizeLimit) { + const extralen = fieldSizeLimit - (nsize - data.length); + buffer += data.toString("binary", 0, extralen), truncated = !0, part.removeAllListeners("data"); + } else buffer += data.toString("binary"); + }, onEnd = function() { + curField = void 0, buffer.length && (buffer = decodeText(buffer, "binary", charset)), + boy.emit("field", fieldname, buffer, !1, truncated, encoding, contype), --nends, + checkFinished(); + }; + } + part._readableState.sync = !1, part.on("data", onData), part.on("end", onEnd); + })).on("error", (function(err) { + curFile && curFile.emit("error", err); + })); + })).on("error", (function(err) { + boy.emit("error", err); + })).on("finish", (function() { + finished = !0, checkFinished(); + })); + } + function skipPart(part) { + part.resume(); + } + function FileStream(opts) { + Readable.call(this, opts), this.bytesRead = 0, this.truncated = !1; + } + Multipart.detect = /^multipart\/form-data/i, Multipart.prototype.write = function(chunk, cb) { + const r = this.parser.write(chunk); + r && !this._pause ? cb() : (this._needDrain = !r, this._cb = cb); + }, Multipart.prototype.end = function() { + const self = this; + self.parser.writable ? self.parser.end() : self._boy._done || process.nextTick((function() { + self._boy._done = !0, self._boy.emit("finish"); + })); + }, inherits(FileStream, Readable), FileStream.prototype._read = function(n) {}, + module.exports = Multipart; + }, + 7094: (module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; + const Decoder = __webpack_require__(5947), decodeText = __webpack_require__(494), getLimit = __webpack_require__(4808), RE_CHARSET = /^charset$/i; + function UrlEncoded(boy, cfg) { + const limits = cfg.limits, parsedConType = cfg.parsedConType; + let charset; + this.boy = boy, this.fieldSizeLimit = getLimit(limits, "fieldSize", 1048576), this.fieldNameSizeLimit = getLimit(limits, "fieldNameSize", 100), + this.fieldsLimit = getLimit(limits, "fields", 1 / 0); + for (var i = 0, len = parsedConType.length; i < len; ++i) if (Array.isArray(parsedConType[i]) && RE_CHARSET.test(parsedConType[i][0])) { + charset = parsedConType[i][1].toLowerCase(); + break; + } + void 0 === charset && (charset = cfg.defCharset || "utf8"), this.decoder = new Decoder, + this.charset = charset, this._fields = 0, this._state = "key", this._checkingBytes = !0, + this._bytesKey = 0, this._bytesVal = 0, this._key = "", this._val = "", this._keyTrunc = !1, + this._valTrunc = !1, this._hitLimit = !1; + } + UrlEncoded.detect = /^application\/x-www-form-urlencoded/i, UrlEncoded.prototype.write = function(data, cb) { + if (this._fields === this.fieldsLimit) return this.boy.hitFieldsLimit || (this.boy.hitFieldsLimit = !0, + this.boy.emit("fieldsLimit")), cb(); + let idxeq, idxamp, i, p = 0; + const len = data.length; + for (;p < len; ) if ("key" === this._state) { + for (idxeq = idxamp = void 0, i = p; i < len; ++i) { + if (this._checkingBytes || ++p, 61 === data[i]) { + idxeq = i; + break; + } + if (38 === data[i]) { + idxamp = i; + break; + } + if (this._checkingBytes && this._bytesKey === this.fieldNameSizeLimit) { + this._hitLimit = !0; + break; + } + this._checkingBytes && ++this._bytesKey; + } + if (void 0 !== idxeq) idxeq > p && (this._key += this.decoder.write(data.toString("binary", p, idxeq))), + this._state = "val", this._hitLimit = !1, this._checkingBytes = !0, this._val = "", + this._bytesVal = 0, this._valTrunc = !1, this.decoder.reset(), p = idxeq + 1; else if (void 0 !== idxamp) { + let key; + ++this._fields; + const keyTrunc = this._keyTrunc; + if (key = idxamp > p ? this._key += this.decoder.write(data.toString("binary", p, idxamp)) : this._key, + this._hitLimit = !1, this._checkingBytes = !0, this._key = "", this._bytesKey = 0, + this._keyTrunc = !1, this.decoder.reset(), key.length && this.boy.emit("field", decodeText(key, "binary", this.charset), "", keyTrunc, !1), + p = idxamp + 1, this._fields === this.fieldsLimit) return cb(); + } else this._hitLimit ? (i > p && (this._key += this.decoder.write(data.toString("binary", p, i))), + p = i, (this._bytesKey = this._key.length) === this.fieldNameSizeLimit && (this._checkingBytes = !1, + this._keyTrunc = !0)) : (p < len && (this._key += this.decoder.write(data.toString("binary", p))), + p = len); + } else { + for (idxamp = void 0, i = p; i < len; ++i) { + if (this._checkingBytes || ++p, 38 === data[i]) { + idxamp = i; + break; + } + if (this._checkingBytes && this._bytesVal === this.fieldSizeLimit) { + this._hitLimit = !0; + break; + } + this._checkingBytes && ++this._bytesVal; + } + if (void 0 !== idxamp) { + if (++this._fields, idxamp > p && (this._val += this.decoder.write(data.toString("binary", p, idxamp))), + this.boy.emit("field", decodeText(this._key, "binary", this.charset), decodeText(this._val, "binary", this.charset), this._keyTrunc, this._valTrunc), + this._state = "key", this._hitLimit = !1, this._checkingBytes = !0, this._key = "", + this._bytesKey = 0, this._keyTrunc = !1, this.decoder.reset(), p = idxamp + 1, this._fields === this.fieldsLimit) return cb(); + } else this._hitLimit ? (i > p && (this._val += this.decoder.write(data.toString("binary", p, i))), + p = i, ("" === this._val && 0 === this.fieldSizeLimit || (this._bytesVal = this._val.length) === this.fieldSizeLimit) && (this._checkingBytes = !1, + this._valTrunc = !0)) : (p < len && (this._val += this.decoder.write(data.toString("binary", p))), + p = len); + } + cb(); + }, UrlEncoded.prototype.end = function() { + this.boy._done || ("key" === this._state && this._key.length > 0 ? this.boy.emit("field", decodeText(this._key, "binary", this.charset), "", this._keyTrunc, !1) : "val" === this._state && this.boy.emit("field", decodeText(this._key, "binary", this.charset), decodeText(this._val, "binary", this.charset), this._keyTrunc, this._valTrunc), + this.boy._done = !0, this.boy.emit("finish")); + }, module.exports = UrlEncoded; + }, + 5947: module => { "use strict"; - module.exports = JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/3gpphal+json":{"source":"iana","compressible":true},"application/3gpphalforms+json":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/ace+cbor":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/at+jwt":{"source":"iana"},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"extensions":["cdfx"]},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cdni":{"source":"iana"},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana","compressible":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/city+json":{"source":"iana","compressible":true},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true,"extensions":["cpl"]},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dash-patch+xml":{"source":"iana","compressible":true,"extensions":["mpp"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["es","ecma"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/express":{"source":"iana","extensions":["exp"]},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"application/fits":{"source":"iana"},"application/flexfec":{"source":"iana"},"application/font-sfnt":{"source":"iana"},"application/font-tdpfr":{"source":"iana","extensions":["pfr"]},"application/font-woff":{"source":"iana","compressible":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/index":{"source":"iana"},"application/index.cmd":{"source":"iana"},"application/index.obj":{"source":"iana"},"application/index.response":{"source":"iana"},"application/index.vnd":{"source":"iana"},"application/inkml+xml":{"source":"iana","compressible":true,"extensions":["ink","inkml"]},"application/iotp":{"source":"iana"},"application/ipfix":{"source":"iana","extensions":["ipfix"]},"application/ipp":{"source":"iana"},"application/isup":{"source":"iana"},"application/its+xml":{"source":"iana","compressible":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"application/lxf":{"source":"iana"},"application/mac-binhex40":{"source":"iana","extensions":["hqx"]},"application/mac-compactpro":{"source":"apache","extensions":["cpt"]},"application/macwriteii":{"source":"iana"},"application/mads+xml":{"source":"iana","compressible":true,"extensions":["mads"]},"application/manifest+json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true,"extensions":["mpf"]},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"extensions":["mets"]},"application/mf4":{"source":"iana"},"application/mikey":{"source":"iana"},"application/mipc":{"source":"iana"},"application/missing-blocks+cbor-seq":{"source":"iana"},"application/mmt-aei+xml":{"source":"iana","compressible":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"extensions":["mods"]},"application/moss-keys":{"source":"iana"},"application/moss-signature":{"source":"iana"},"application/mosskey-data":{"source":"iana"},"application/mosskey-request":{"source":"iana"},"application/mp21":{"source":"iana","extensions":["m21","mp21"]},"application/mp4":{"source":"iana","extensions":["mp4s","m4p"]},"application/mpeg4-generic":{"source":"iana"},"application/mpeg4-iod":{"source":"iana"},"application/mpeg4-iod-xmt":{"source":"iana"},"application/mrb-consumer+xml":{"source":"iana","compressible":true},"application/mrb-publish+xml":{"source":"iana","compressible":true},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"application/multipart-core":{"source":"iana"},"application/mxf":{"source":"iana","extensions":["mxf"]},"application/n-quads":{"source":"iana","extensions":["nq"]},"application/n-triples":{"source":"iana","extensions":["nt"]},"application/nasdata":{"source":"iana"},"application/news-checkgroups":{"source":"iana","charset":"US-ASCII"},"application/news-groupinfo":{"source":"iana","charset":"US-ASCII"},"application/news-transmission":{"source":"iana"},"application/nlsml+xml":{"source":"iana","compressible":true},"application/node":{"source":"iana","extensions":["cjs"]},"application/nss":{"source":"iana"},"application/oauth-authz-req+jwt":{"source":"iana"},"application/oblivious-dns-message":{"source":"iana"},"application/ocsp-request":{"source":"iana"},"application/ocsp-response":{"source":"iana"},"application/octet-stream":{"source":"iana","compressible":false,"extensions":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{"source":"iana","extensions":["oda"]},"application/odm+xml":{"source":"iana","compressible":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p21":{"source":"iana"},"application/p21+zip":{"source":"iana","compressible":false},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"extensions":["pgp"]},"application/pgp-keys":{"source":"iana","extensions":["asc"]},"application/pgp-signature":{"source":"iana","extensions":["asc","sig"]},"application/pics-rules":{"source":"apache","extensions":["prf"]},"application/pidf+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pkcs10":{"source":"iana","extensions":["p10"]},"application/pkcs12":{"source":"iana"},"application/pkcs7-mime":{"source":"iana","extensions":["p7m","p7c"]},"application/pkcs7-signature":{"source":"iana","extensions":["p7s"]},"application/pkcs8":{"source":"iana","extensions":["p8"]},"application/pkcs8-encrypted":{"source":"iana"},"application/pkix-attr-cert":{"source":"iana","extensions":["ac"]},"application/pkix-cert":{"source":"iana","extensions":["cer"]},"application/pkix-crl":{"source":"iana","extensions":["crl"]},"application/pkix-pkipath":{"source":"iana","extensions":["pkipath"]},"application/pkixcmp":{"source":"iana","extensions":["pki"]},"application/pls+xml":{"source":"iana","compressible":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"extensions":["provx"]},"application/prs.alvestrand.titrax-sheet":{"source":"iana"},"application/prs.cww":{"source":"iana","extensions":["cww"]},"application/prs.cyn":{"source":"iana","charset":"7-BIT"},"application/prs.hpub+zip":{"source":"iana","compressible":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"extensions":["rusd"]},"application/rpki-ghostbusters":{"source":"iana","extensions":["gbr"]},"application/rpki-manifest":{"source":"iana","extensions":["mft"]},"application/rpki-publication":{"source":"iana"},"application/rpki-roa":{"source":"iana","extensions":["roa"]},"application/rpki-updown":{"source":"iana"},"application/rsd+xml":{"source":"apache","compressible":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sarif-external-properties+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"application/scvp-cv-request":{"source":"iana","extensions":["scq"]},"application/scvp-cv-response":{"source":"iana","extensions":["scs"]},"application/scvp-vp-request":{"source":"iana","extensions":["spq"]},"application/scvp-vp-response":{"source":"iana","extensions":["spp"]},"application/sdp":{"source":"iana","extensions":["sdp"]},"application/secevent+jwt":{"source":"iana"},"application/senml+cbor":{"source":"iana"},"application/senml+json":{"source":"iana","compressible":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"application/sep-exi":{"source":"iana"},"application/session-info":{"source":"iana"},"application/set-payment":{"source":"iana"},"application/set-payment-initiation":{"source":"iana","extensions":["setpay"]},"application/set-registration":{"source":"iana"},"application/set-registration-initiation":{"source":"iana","extensions":["setreg"]},"application/sgml":{"source":"iana"},"application/sgml-open-catalog":{"source":"iana"},"application/shf+xml":{"source":"iana","compressible":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"application/simple-message-summary":{"source":"iana"},"application/simplesymbolcontainer":{"source":"iana"},"application/sipc":{"source":"iana"},"application/slate":{"source":"iana"},"application/smil":{"source":"iana"},"application/smil+xml":{"source":"iana","compressible":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spdx+json":{"source":"iana","compressible":true},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"extensions":["swidtag"]},"application/tamp-apex-update":{"source":"iana"},"application/tamp-apex-update-confirm":{"source":"iana"},"application/tamp-community-update":{"source":"iana"},"application/tamp-community-update-confirm":{"source":"iana"},"application/tamp-error":{"source":"iana"},"application/tamp-sequence-adjust":{"source":"iana"},"application/tamp-sequence-adjust-confirm":{"source":"iana"},"application/tamp-status-query":{"source":"iana"},"application/tamp-status-response":{"source":"iana"},"application/tamp-update":{"source":"iana"},"application/tamp-update-confirm":{"source":"iana"},"application/tar":{"compressible":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"extensions":["tfi"]},"application/timestamp-query":{"source":"iana"},"application/timestamp-reply":{"source":"iana"},"application/timestamped-data":{"source":"iana","extensions":["tsd"]},"application/tlsrpt+gzip":{"source":"iana"},"application/tlsrpt+json":{"source":"iana","compressible":true},"application/tnauthlist":{"source":"iana"},"application/token-introspection+jwt":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana","extensions":["trig"]},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-v2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.5gnas":{"source":"iana"},"application/vnd.3gpp.access-transfer-events+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gtpc":{"source":"iana"},"application/vnd.3gpp.interworking-data":{"source":"iana"},"application/vnd.3gpp.lpp":{"source":"iana"},"application/vnd.3gpp.mc-signalling-ear":{"source":"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ngap":{"source":"iana"},"application/vnd.3gpp.pfcp":{"source":"iana"},"application/vnd.3gpp.pic-bw-large":{"source":"iana","extensions":["plb"]},"application/vnd.3gpp.pic-bw-small":{"source":"iana","extensions":["psb"]},"application/vnd.3gpp.pic-bw-var":{"source":"iana","extensions":["pvb"]},"application/vnd.3gpp.s1ap":{"source":"iana"},"application/vnd.3gpp.sms":{"source":"iana"},"application/vnd.3gpp.sms+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.sms":{"source":"iana"},"application/vnd.3gpp2.tcap":{"source":"iana","extensions":["tcap"]},"application/vnd.3lightssoftware.imagescal":{"source":"iana"},"application/vnd.3m.post-it-notes":{"source":"iana","extensions":["pwn"]},"application/vnd.accpac.simply.aso":{"source":"iana","extensions":["aso"]},"application/vnd.accpac.simply.imp":{"source":"iana","extensions":["imp"]},"application/vnd.acucobol":{"source":"iana","extensions":["acu"]},"application/vnd.acucorp":{"source":"iana","extensions":["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{"source":"apache","compressible":false,"extensions":["air"]},"application/vnd.adobe.flash.movie":{"source":"iana"},"application/vnd.adobe.formscentral.fcdt":{"source":"iana","extensions":["fcdt"]},"application/vnd.adobe.fxp":{"source":"iana","extensions":["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{"source":"iana"},"application/vnd.adobe.xdp+xml":{"source":"iana","compressible":true,"extensions":["xdp"]},"application/vnd.adobe.xfdf":{"source":"iana","extensions":["xfdf"]},"application/vnd.aether.imp":{"source":"iana"},"application/vnd.afpc.afplinedata":{"source":"iana"},"application/vnd.afpc.afplinedata-pagedef":{"source":"iana"},"application/vnd.afpc.cmoca-cmresource":{"source":"iana"},"application/vnd.afpc.foca-charset":{"source":"iana"},"application/vnd.afpc.foca-codedfont":{"source":"iana"},"application/vnd.afpc.foca-codepage":{"source":"iana"},"application/vnd.afpc.modca":{"source":"iana"},"application/vnd.afpc.modca-cmtable":{"source":"iana"},"application/vnd.afpc.modca-formdef":{"source":"iana"},"application/vnd.afpc.modca-mediummap":{"source":"iana"},"application/vnd.afpc.modca-objectcontainer":{"source":"iana"},"application/vnd.afpc.modca-overlay":{"source":"iana"},"application/vnd.afpc.modca-pagesegment":{"source":"iana"},"application/vnd.age":{"source":"iana","extensions":["age"]},"application/vnd.ah-barcode":{"source":"iana"},"application/vnd.ahead.space":{"source":"iana","extensions":["ahead"]},"application/vnd.airzip.filesecure.azf":{"source":"iana","extensions":["azf"]},"application/vnd.airzip.filesecure.azs":{"source":"iana","extensions":["azs"]},"application/vnd.amadeus+json":{"source":"iana","compressible":true},"application/vnd.amazon.ebook":{"source":"apache","extensions":["azw"]},"application/vnd.amazon.mobi8-ebook":{"source":"iana"},"application/vnd.americandynamics.acc":{"source":"iana","extensions":["acc"]},"application/vnd.amiga.ami":{"source":"iana","extensions":["ami"]},"application/vnd.amundsen.maze+xml":{"source":"iana","compressible":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"extensions":["apk"]},"application/vnd.anki":{"source":"iana"},"application/vnd.anser-web-certificate-issue-initiation":{"source":"iana","extensions":["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{"source":"apache","extensions":["fti"]},"application/vnd.antix.game-component":{"source":"iana","extensions":["atx"]},"application/vnd.apache.arrow.file":{"source":"iana"},"application/vnd.apache.arrow.stream":{"source":"iana"},"application/vnd.apache.thrift.binary":{"source":"iana"},"application/vnd.apache.thrift.compact":{"source":"iana"},"application/vnd.apache.thrift.json":{"source":"iana"},"application/vnd.api+json":{"source":"iana","compressible":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"extensions":["mpkg"]},"application/vnd.apple.keynote":{"source":"iana","extensions":["key"]},"application/vnd.apple.mpegurl":{"source":"iana","extensions":["m3u8"]},"application/vnd.apple.numbers":{"source":"iana","extensions":["numbers"]},"application/vnd.apple.pages":{"source":"iana","extensions":["pages"]},"application/vnd.apple.pkpass":{"compressible":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"application/vnd.artsquare":{"source":"iana"},"application/vnd.astraea-software.iota":{"source":"iana","extensions":["iota"]},"application/vnd.audiograph":{"source":"iana","extensions":["aep"]},"application/vnd.autopackage":{"source":"iana"},"application/vnd.avalon+json":{"source":"iana","compressible":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"extensions":["bmml"]},"application/vnd.balsamiq.bmpr":{"source":"iana"},"application/vnd.banana-accounting":{"source":"iana"},"application/vnd.bbf.usp.error":{"source":"iana"},"application/vnd.bbf.usp.msg":{"source":"iana"},"application/vnd.bbf.usp.msg+json":{"source":"iana","compressible":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"application/vnd.blink-idb-value-wrapper":{"source":"iana"},"application/vnd.blueice.multipass":{"source":"iana","extensions":["mpm"]},"application/vnd.bluetooth.ep.oob":{"source":"iana"},"application/vnd.bluetooth.le.oob":{"source":"iana"},"application/vnd.bmi":{"source":"iana","extensions":["bmi"]},"application/vnd.bpf":{"source":"iana"},"application/vnd.bpf3":{"source":"iana"},"application/vnd.businessobjects":{"source":"iana","extensions":["rep"]},"application/vnd.byu.uapi+json":{"source":"iana","compressible":true},"application/vnd.cab-jscript":{"source":"iana"},"application/vnd.canon-cpdl":{"source":"iana"},"application/vnd.canon-lips":{"source":"iana"},"application/vnd.capasystems-pg+json":{"source":"iana","compressible":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"extensions":["cdxml"]},"application/vnd.chess-pgn":{"source":"iana"},"application/vnd.chipnuts.karaoke-mmd":{"source":"iana","extensions":["mmd"]},"application/vnd.ciedi":{"source":"iana"},"application/vnd.cinderella":{"source":"iana","extensions":["cdy"]},"application/vnd.cirpack.isdn-ext":{"source":"iana"},"application/vnd.citationstyles.style+xml":{"source":"iana","compressible":true,"extensions":["csl"]},"application/vnd.claymore":{"source":"iana","extensions":["cla"]},"application/vnd.cloanto.rp9":{"source":"iana","extensions":["rp9"]},"application/vnd.clonk.c4group":{"source":"iana","extensions":["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{"source":"iana","extensions":["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{"source":"iana","extensions":["c11amz"]},"application/vnd.coffeescript":{"source":"iana"},"application/vnd.collabio.xodocuments.document":{"source":"iana"},"application/vnd.collabio.xodocuments.document-template":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation-template":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{"source":"iana"},"application/vnd.collection+json":{"source":"iana","compressible":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"application/vnd.comicbook-rar":{"source":"iana"},"application/vnd.commerce-battelle":{"source":"iana"},"application/vnd.commonspace":{"source":"iana","extensions":["csp"]},"application/vnd.contact.cmsg":{"source":"iana","extensions":["cdbcmsg"]},"application/vnd.coreos.ignition+json":{"source":"iana","compressible":true},"application/vnd.cosmocaller":{"source":"iana","extensions":["cmc"]},"application/vnd.crick.clicker":{"source":"iana","extensions":["clkx"]},"application/vnd.crick.clicker.keyboard":{"source":"iana","extensions":["clkk"]},"application/vnd.crick.clicker.palette":{"source":"iana","extensions":["clkp"]},"application/vnd.crick.clicker.template":{"source":"iana","extensions":["clkt"]},"application/vnd.crick.clicker.wordbank":{"source":"iana","extensions":["clkw"]},"application/vnd.criticaltools.wbs+xml":{"source":"iana","compressible":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"application/vnd.crypto-shade-file":{"source":"iana"},"application/vnd.cryptomator.encrypted":{"source":"iana"},"application/vnd.cryptomator.vault":{"source":"iana"},"application/vnd.ctc-posml":{"source":"iana","extensions":["pml"]},"application/vnd.ctct.ws+xml":{"source":"iana","compressible":true},"application/vnd.cups-pdf":{"source":"iana"},"application/vnd.cups-postscript":{"source":"iana"},"application/vnd.cups-ppd":{"source":"iana","extensions":["ppd"]},"application/vnd.cups-raster":{"source":"iana"},"application/vnd.cups-raw":{"source":"iana"},"application/vnd.curl":{"source":"iana"},"application/vnd.curl.car":{"source":"apache","extensions":["car"]},"application/vnd.curl.pcurl":{"source":"apache","extensions":["pcurl"]},"application/vnd.cyan.dean.root+xml":{"source":"iana","compressible":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"application/vnd.dbf":{"source":"iana","extensions":["dbf"]},"application/vnd.debian.binary-package":{"source":"iana"},"application/vnd.dece.data":{"source":"iana","extensions":["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{"source":"iana","compressible":true,"extensions":["uvt","uvvt"]},"application/vnd.dece.unspecified":{"source":"iana","extensions":["uvx","uvvx"]},"application/vnd.dece.zip":{"source":"iana","extensions":["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{"source":"iana","extensions":["fe_launch"]},"application/vnd.desmume.movie":{"source":"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{"source":"iana"},"application/vnd.dm.delegation+xml":{"source":"iana","compressible":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"application/vnd.dolby.mlp":{"source":"apache","extensions":["mlp"]},"application/vnd.dolby.mobile.1":{"source":"iana"},"application/vnd.dolby.mobile.2":{"source":"iana"},"application/vnd.doremir.scorecloud-binary-document":{"source":"iana"},"application/vnd.dpgraph":{"source":"iana","extensions":["dpg"]},"application/vnd.dreamfactory":{"source":"iana","extensions":["dfac"]},"application/vnd.drive+json":{"source":"iana","compressible":true},"application/vnd.ds-keypoint":{"source":"apache","extensions":["kpxx"]},"application/vnd.dtg.local":{"source":"iana"},"application/vnd.dtg.local.flash":{"source":"iana"},"application/vnd.dtg.local.html":{"source":"iana"},"application/vnd.dvb.ait":{"source":"iana","extensions":["ait"]},"application/vnd.dvb.dvbisl+xml":{"source":"iana","compressible":true},"application/vnd.dvb.dvbj":{"source":"iana"},"application/vnd.dvb.esgcontainer":{"source":"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess2":{"source":"iana"},"application/vnd.dvb.ipdcesgpdd":{"source":"iana"},"application/vnd.dvb.ipdcroaming":{"source":"iana"},"application/vnd.dvb.iptv.alfec-base":{"source":"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{"source":"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"application/vnd.dvb.pfr":{"source":"iana"},"application/vnd.dvb.service":{"source":"iana","extensions":["svc"]},"application/vnd.dxr":{"source":"iana"},"application/vnd.dynageo":{"source":"iana","extensions":["geo"]},"application/vnd.dzr":{"source":"iana"},"application/vnd.easykaraoke.cdgdownload":{"source":"iana"},"application/vnd.ecdis-update":{"source":"iana"},"application/vnd.ecip.rlp":{"source":"iana"},"application/vnd.eclipse.ditto+json":{"source":"iana","compressible":true},"application/vnd.ecowin.chart":{"source":"iana","extensions":["mag"]},"application/vnd.ecowin.filerequest":{"source":"iana"},"application/vnd.ecowin.fileupdate":{"source":"iana"},"application/vnd.ecowin.series":{"source":"iana"},"application/vnd.ecowin.seriesrequest":{"source":"iana"},"application/vnd.ecowin.seriesupdate":{"source":"iana"},"application/vnd.efi.img":{"source":"iana"},"application/vnd.efi.iso":{"source":"iana"},"application/vnd.emclient.accessrequest+xml":{"source":"iana","compressible":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"application/vnd.epson.esf":{"source":"iana","extensions":["esf"]},"application/vnd.epson.msf":{"source":"iana","extensions":["msf"]},"application/vnd.epson.quickanime":{"source":"iana","extensions":["qam"]},"application/vnd.epson.salt":{"source":"iana","extensions":["slt"]},"application/vnd.epson.ssf":{"source":"iana","extensions":["ssf"]},"application/vnd.ericsson.quickcall":{"source":"iana"},"application/vnd.espass-espass+zip":{"source":"iana","compressible":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eu.kasparian.car+json":{"source":"iana","compressible":true},"application/vnd.eudora.data":{"source":"iana"},"application/vnd.evolv.ecig.profile":{"source":"iana"},"application/vnd.evolv.ecig.settings":{"source":"iana"},"application/vnd.evolv.ecig.theme":{"source":"iana"},"application/vnd.exstream-empower+zip":{"source":"iana","compressible":false},"application/vnd.exstream-package":{"source":"iana"},"application/vnd.ezpix-album":{"source":"iana","extensions":["ez2"]},"application/vnd.ezpix-package":{"source":"iana","extensions":["ez3"]},"application/vnd.f-secure.mobile":{"source":"iana"},"application/vnd.familysearch.gedcom+zip":{"source":"iana","compressible":false},"application/vnd.fastcopy-disk-image":{"source":"iana"},"application/vnd.fdf":{"source":"iana","extensions":["fdf"]},"application/vnd.fdsn.mseed":{"source":"iana","extensions":["mseed"]},"application/vnd.fdsn.seed":{"source":"iana","extensions":["seed","dataless"]},"application/vnd.ffsns":{"source":"iana"},"application/vnd.ficlab.flb+zip":{"source":"iana","compressible":false},"application/vnd.filmit.zfc":{"source":"iana"},"application/vnd.fints":{"source":"iana"},"application/vnd.firemonkeys.cloudcell":{"source":"iana"},"application/vnd.flographit":{"source":"iana","extensions":["gph"]},"application/vnd.fluxtime.clip":{"source":"iana","extensions":["ftc"]},"application/vnd.font-fontforge-sfd":{"source":"iana"},"application/vnd.framemaker":{"source":"iana","extensions":["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{"source":"iana","extensions":["fnc"]},"application/vnd.frogans.ltf":{"source":"iana","extensions":["ltf"]},"application/vnd.fsc.weblaunch":{"source":"iana","extensions":["fsc"]},"application/vnd.fujifilm.fb.docuworks":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.container":{"source":"iana"},"application/vnd.fujifilm.fb.jfi+xml":{"source":"iana","compressible":true},"application/vnd.fujitsu.oasys":{"source":"iana","extensions":["oas"]},"application/vnd.fujitsu.oasys2":{"source":"iana","extensions":["oa2"]},"application/vnd.fujitsu.oasys3":{"source":"iana","extensions":["oa3"]},"application/vnd.fujitsu.oasysgp":{"source":"iana","extensions":["fg5"]},"application/vnd.fujitsu.oasysprs":{"source":"iana","extensions":["bh2"]},"application/vnd.fujixerox.art-ex":{"source":"iana"},"application/vnd.fujixerox.art4":{"source":"iana"},"application/vnd.fujixerox.ddd":{"source":"iana","extensions":["ddd"]},"application/vnd.fujixerox.docuworks":{"source":"iana","extensions":["xdw"]},"application/vnd.fujixerox.docuworks.binder":{"source":"iana","extensions":["xbd"]},"application/vnd.fujixerox.docuworks.container":{"source":"iana"},"application/vnd.fujixerox.hbpl":{"source":"iana"},"application/vnd.fut-misnet":{"source":"iana"},"application/vnd.futoin+cbor":{"source":"iana"},"application/vnd.futoin+json":{"source":"iana","compressible":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"application/vnd.geogebra.file":{"source":"iana","extensions":["ggb"]},"application/vnd.geogebra.slides":{"source":"iana"},"application/vnd.geogebra.tool":{"source":"iana","extensions":["ggt"]},"application/vnd.geometry-explorer":{"source":"iana","extensions":["gex","gre"]},"application/vnd.geonext":{"source":"iana","extensions":["gxt"]},"application/vnd.geoplan":{"source":"iana","extensions":["g2w"]},"application/vnd.geospace":{"source":"iana","extensions":["g3w"]},"application/vnd.gerber":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt-response":{"source":"iana"},"application/vnd.gmx":{"source":"iana","extensions":["gmx"]},"application/vnd.google-apps.document":{"compressible":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"application/vnd.grafeq":{"source":"iana","extensions":["gqf","gqs"]},"application/vnd.gridmp":{"source":"iana"},"application/vnd.groove-account":{"source":"iana","extensions":["gac"]},"application/vnd.groove-help":{"source":"iana","extensions":["ghf"]},"application/vnd.groove-identity-message":{"source":"iana","extensions":["gim"]},"application/vnd.groove-injector":{"source":"iana","extensions":["grv"]},"application/vnd.groove-tool-message":{"source":"iana","extensions":["gtm"]},"application/vnd.groove-tool-template":{"source":"iana","extensions":["tpl"]},"application/vnd.groove-vcard":{"source":"iana","extensions":["vcg"]},"application/vnd.hal+json":{"source":"iana","compressible":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hl7cda+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hl7v2+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hp-hpgl":{"source":"iana","extensions":["hpgl"]},"application/vnd.hp-hpid":{"source":"iana","extensions":["hpid"]},"application/vnd.hp-hps":{"source":"iana","extensions":["hps"]},"application/vnd.hp-jlyt":{"source":"iana","extensions":["jlt"]},"application/vnd.hp-pcl":{"source":"iana","extensions":["pcl"]},"application/vnd.hp-pclxl":{"source":"iana","extensions":["pclxl"]},"application/vnd.httphone":{"source":"iana"},"application/vnd.hydrostatix.sof-data":{"source":"iana","extensions":["sfd-hdstx"]},"application/vnd.hyper+json":{"source":"iana","compressible":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"application/vnd.hzn-3d-crossword":{"source":"iana"},"application/vnd.ibm.afplinedata":{"source":"iana"},"application/vnd.ibm.electronic-media":{"source":"iana"},"application/vnd.ibm.minipay":{"source":"iana","extensions":["mpy"]},"application/vnd.ibm.modcap":{"source":"iana","extensions":["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{"source":"iana","extensions":["irm"]},"application/vnd.ibm.secure-container":{"source":"iana","extensions":["sc"]},"application/vnd.iccprofile":{"source":"iana","extensions":["icc","icm"]},"application/vnd.ieee.1905":{"source":"iana"},"application/vnd.igloader":{"source":"iana","extensions":["igl"]},"application/vnd.imagemeter.folder+zip":{"source":"iana","compressible":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"application/vnd.immervision-ivp":{"source":"iana","extensions":["ivp"]},"application/vnd.immervision-ivu":{"source":"iana","extensions":["ivu"]},"application/vnd.ims.imsccv1p1":{"source":"iana"},"application/vnd.ims.imsccv1p2":{"source":"iana"},"application/vnd.ims.imsccv1p3":{"source":"iana"},"application/vnd.ims.lis.v2.result+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"application/vnd.innopath.wamp.notification":{"source":"iana"},"application/vnd.insors.igm":{"source":"iana","extensions":["igm"]},"application/vnd.intercon.formnet":{"source":"iana","extensions":["xpw","xpx"]},"application/vnd.intergeo":{"source":"iana","extensions":["i2g"]},"application/vnd.intertrust.digibox":{"source":"iana"},"application/vnd.intertrust.nncp":{"source":"iana"},"application/vnd.intu.qbo":{"source":"iana","extensions":["qbo"]},"application/vnd.intu.qfx":{"source":"iana","extensions":["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"extensions":["irp"]},"application/vnd.is-xpr":{"source":"iana","extensions":["xpr"]},"application/vnd.isac.fcs":{"source":"iana","extensions":["fcs"]},"application/vnd.iso11783-10+zip":{"source":"iana","compressible":false},"application/vnd.jam":{"source":"iana","extensions":["jam"]},"application/vnd.japannet-directory-service":{"source":"iana"},"application/vnd.japannet-jpnstore-wakeup":{"source":"iana"},"application/vnd.japannet-payment-wakeup":{"source":"iana"},"application/vnd.japannet-registration":{"source":"iana"},"application/vnd.japannet-registration-wakeup":{"source":"iana"},"application/vnd.japannet-setstore-wakeup":{"source":"iana"},"application/vnd.japannet-verification":{"source":"iana"},"application/vnd.japannet-verification-wakeup":{"source":"iana"},"application/vnd.jcp.javame.midlet-rms":{"source":"iana","extensions":["rms"]},"application/vnd.jisp":{"source":"iana","extensions":["jisp"]},"application/vnd.joost.joda-archive":{"source":"iana","extensions":["joda"]},"application/vnd.jsk.isdn-ngn":{"source":"iana"},"application/vnd.kahootz":{"source":"iana","extensions":["ktz","ktr"]},"application/vnd.kde.karbon":{"source":"iana","extensions":["karbon"]},"application/vnd.kde.kchart":{"source":"iana","extensions":["chrt"]},"application/vnd.kde.kformula":{"source":"iana","extensions":["kfo"]},"application/vnd.kde.kivio":{"source":"iana","extensions":["flw"]},"application/vnd.kde.kontour":{"source":"iana","extensions":["kon"]},"application/vnd.kde.kpresenter":{"source":"iana","extensions":["kpr","kpt"]},"application/vnd.kde.kspread":{"source":"iana","extensions":["ksp"]},"application/vnd.kde.kword":{"source":"iana","extensions":["kwd","kwt"]},"application/vnd.kenameaapp":{"source":"iana","extensions":["htke"]},"application/vnd.kidspiration":{"source":"iana","extensions":["kia"]},"application/vnd.kinar":{"source":"iana","extensions":["kne","knp"]},"application/vnd.koan":{"source":"iana","extensions":["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{"source":"iana","extensions":["sse"]},"application/vnd.las":{"source":"iana"},"application/vnd.las.las+json":{"source":"iana","compressible":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"application/vnd.loom":{"source":"iana"},"application/vnd.lotus-1-2-3":{"source":"iana","extensions":["123"]},"application/vnd.lotus-approach":{"source":"iana","extensions":["apr"]},"application/vnd.lotus-freelance":{"source":"iana","extensions":["pre"]},"application/vnd.lotus-notes":{"source":"iana","extensions":["nsf"]},"application/vnd.lotus-organizer":{"source":"iana","extensions":["org"]},"application/vnd.lotus-screencam":{"source":"iana","extensions":["scm"]},"application/vnd.lotus-wordpro":{"source":"iana","extensions":["lwp"]},"application/vnd.macports.portpkg":{"source":"iana","extensions":["portpkg"]},"application/vnd.mapbox-vector-tile":{"source":"iana","extensions":["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxar.archive.3tz+zip":{"source":"iana","compressible":false},"application/vnd.maxmind.maxmind-db":{"source":"iana"},"application/vnd.mcd":{"source":"iana","extensions":["mcd"]},"application/vnd.medcalcdata":{"source":"iana","extensions":["mc1"]},"application/vnd.mediastation.cdkey":{"source":"iana","extensions":["cdkey"]},"application/vnd.meridian-slingshot":{"source":"iana"},"application/vnd.mfer":{"source":"iana","extensions":["mwf"]},"application/vnd.mfmp":{"source":"iana","extensions":["mfm"]},"application/vnd.micro+json":{"source":"iana","compressible":true},"application/vnd.micrografx.flo":{"source":"iana","extensions":["flo"]},"application/vnd.micrografx.igx":{"source":"iana","extensions":["igx"]},"application/vnd.microsoft.portable-executable":{"source":"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{"source":"iana"},"application/vnd.miele+json":{"source":"iana","compressible":true},"application/vnd.mif":{"source":"iana","extensions":["mif"]},"application/vnd.minisoft-hp3000-save":{"source":"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{"source":"iana"},"application/vnd.mobius.daf":{"source":"iana","extensions":["daf"]},"application/vnd.mobius.dis":{"source":"iana","extensions":["dis"]},"application/vnd.mobius.mbk":{"source":"iana","extensions":["mbk"]},"application/vnd.mobius.mqy":{"source":"iana","extensions":["mqy"]},"application/vnd.mobius.msl":{"source":"iana","extensions":["msl"]},"application/vnd.mobius.plc":{"source":"iana","extensions":["plc"]},"application/vnd.mobius.txf":{"source":"iana","extensions":["txf"]},"application/vnd.mophun.application":{"source":"iana","extensions":["mpn"]},"application/vnd.mophun.certificate":{"source":"iana","extensions":["mpc"]},"application/vnd.motorola.flexsuite":{"source":"iana"},"application/vnd.motorola.flexsuite.adsi":{"source":"iana"},"application/vnd.motorola.flexsuite.fis":{"source":"iana"},"application/vnd.motorola.flexsuite.gotap":{"source":"iana"},"application/vnd.motorola.flexsuite.kmr":{"source":"iana"},"application/vnd.motorola.flexsuite.ttc":{"source":"iana"},"application/vnd.motorola.flexsuite.wem":{"source":"iana"},"application/vnd.motorola.iprm":{"source":"iana"},"application/vnd.mozilla.xul+xml":{"source":"iana","compressible":true,"extensions":["xul"]},"application/vnd.ms-3mfdocument":{"source":"iana"},"application/vnd.ms-artgalry":{"source":"iana","extensions":["cil"]},"application/vnd.ms-asf":{"source":"iana"},"application/vnd.ms-cab-compressed":{"source":"iana","extensions":["cab"]},"application/vnd.ms-color.iccprofile":{"source":"apache"},"application/vnd.ms-excel":{"source":"iana","compressible":false,"extensions":["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{"source":"iana","extensions":["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{"source":"iana","extensions":["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{"source":"iana","extensions":["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{"source":"iana","extensions":["xltm"]},"application/vnd.ms-fontobject":{"source":"iana","compressible":true,"extensions":["eot"]},"application/vnd.ms-htmlhelp":{"source":"iana","extensions":["chm"]},"application/vnd.ms-ims":{"source":"iana","extensions":["ims"]},"application/vnd.ms-lrm":{"source":"iana","extensions":["lrm"]},"application/vnd.ms-office.activex+xml":{"source":"iana","compressible":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"extensions":["msg"]},"application/vnd.ms-package.obfuscated-opentype":{"source":"apache"},"application/vnd.ms-pki.seccat":{"source":"apache","extensions":["cat"]},"application/vnd.ms-pki.stl":{"source":"apache","extensions":["stl"]},"application/vnd.ms-playready.initiator+xml":{"source":"iana","compressible":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"extensions":["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{"source":"iana","extensions":["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{"source":"iana","extensions":["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{"source":"iana","extensions":["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{"source":"iana","extensions":["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{"source":"iana","extensions":["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{"source":"iana","compressible":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"application/vnd.ms-project":{"source":"iana","extensions":["mpp","mpt"]},"application/vnd.ms-tnef":{"source":"iana"},"application/vnd.ms-windows.devicepairing":{"source":"iana"},"application/vnd.ms-windows.nwprinting.oob":{"source":"iana"},"application/vnd.ms-windows.printerpairing":{"source":"iana"},"application/vnd.ms-windows.wsd.oob":{"source":"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.lic-resp":{"source":"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.meter-resp":{"source":"iana"},"application/vnd.ms-word.document.macroenabled.12":{"source":"iana","extensions":["docm"]},"application/vnd.ms-word.template.macroenabled.12":{"source":"iana","extensions":["dotm"]},"application/vnd.ms-works":{"source":"iana","extensions":["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{"source":"iana","extensions":["wpl"]},"application/vnd.ms-xpsdocument":{"source":"iana","compressible":false,"extensions":["xps"]},"application/vnd.msa-disk-image":{"source":"iana"},"application/vnd.mseq":{"source":"iana","extensions":["mseq"]},"application/vnd.msign":{"source":"iana"},"application/vnd.multiad.creator":{"source":"iana"},"application/vnd.multiad.creator.cif":{"source":"iana"},"application/vnd.music-niff":{"source":"iana"},"application/vnd.musician":{"source":"iana","extensions":["mus"]},"application/vnd.muvee.style":{"source":"iana","extensions":["msty"]},"application/vnd.mynfc":{"source":"iana","extensions":["taglet"]},"application/vnd.nacamar.ybrid+json":{"source":"iana","compressible":true},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"application/vnd.nebumind.line":{"source":"iana"},"application/vnd.nervana":{"source":"iana"},"application/vnd.netfpx":{"source":"iana"},"application/vnd.neurolanguage.nlu":{"source":"iana","extensions":["nlu"]},"application/vnd.nimn":{"source":"iana"},"application/vnd.nintendo.nitro.rom":{"source":"iana"},"application/vnd.nintendo.snes.rom":{"source":"iana"},"application/vnd.nitf":{"source":"iana","extensions":["ntf","nitf"]},"application/vnd.noblenet-directory":{"source":"iana","extensions":["nnd"]},"application/vnd.noblenet-sealer":{"source":"iana","extensions":["nns"]},"application/vnd.noblenet-web":{"source":"iana","extensions":["nnw"]},"application/vnd.nokia.catalogs":{"source":"iana"},"application/vnd.nokia.conml+wbxml":{"source":"iana"},"application/vnd.nokia.conml+xml":{"source":"iana","compressible":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"extensions":["ac"]},"application/vnd.nokia.n-gage.data":{"source":"iana","extensions":["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{"source":"iana","extensions":["n-gage"]},"application/vnd.nokia.ncd":{"source":"iana"},"application/vnd.nokia.pcd+wbxml":{"source":"iana"},"application/vnd.nokia.pcd+xml":{"source":"iana","compressible":true},"application/vnd.nokia.radio-preset":{"source":"iana","extensions":["rpst"]},"application/vnd.nokia.radio-presets":{"source":"iana","extensions":["rpss"]},"application/vnd.novadigm.edm":{"source":"iana","extensions":["edm"]},"application/vnd.novadigm.edx":{"source":"iana","extensions":["edx"]},"application/vnd.novadigm.ext":{"source":"iana","extensions":["ext"]},"application/vnd.ntt-local.content-share":{"source":"iana"},"application/vnd.ntt-local.file-transfer":{"source":"iana"},"application/vnd.ntt-local.ogw_remote-access":{"source":"iana"},"application/vnd.ntt-local.sip-ta_remote":{"source":"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{"source":"iana"},"application/vnd.oasis.opendocument.chart":{"source":"iana","extensions":["odc"]},"application/vnd.oasis.opendocument.chart-template":{"source":"iana","extensions":["otc"]},"application/vnd.oasis.opendocument.database":{"source":"iana","extensions":["odb"]},"application/vnd.oasis.opendocument.formula":{"source":"iana","extensions":["odf"]},"application/vnd.oasis.opendocument.formula-template":{"source":"iana","extensions":["odft"]},"application/vnd.oasis.opendocument.graphics":{"source":"iana","compressible":false,"extensions":["odg"]},"application/vnd.oasis.opendocument.graphics-template":{"source":"iana","extensions":["otg"]},"application/vnd.oasis.opendocument.image":{"source":"iana","extensions":["odi"]},"application/vnd.oasis.opendocument.image-template":{"source":"iana","extensions":["oti"]},"application/vnd.oasis.opendocument.presentation":{"source":"iana","compressible":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"extensions":["odt"]},"application/vnd.oasis.opendocument.text-master":{"source":"iana","extensions":["odm"]},"application/vnd.oasis.opendocument.text-template":{"source":"iana","extensions":["ott"]},"application/vnd.oasis.opendocument.text-web":{"source":"iana","extensions":["oth"]},"application/vnd.obn":{"source":"iana"},"application/vnd.ocf+cbor":{"source":"iana"},"application/vnd.oci.image.manifest.v1+json":{"source":"iana","compressible":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"application/vnd.olpc-sugar":{"source":"iana","extensions":["xo"]},"application/vnd.oma-scws-config":{"source":"iana"},"application/vnd.oma-scws-http-request":{"source":"iana"},"application/vnd.oma-scws-http-response":{"source":"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sgdu":{"source":"iana"},"application/vnd.oma.bcast.simple-symbol-container":{"source":"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omaloc-supl-init":{"source":"iana"},"application/vnd.onepager":{"source":"iana"},"application/vnd.onepagertamp":{"source":"iana"},"application/vnd.onepagertamx":{"source":"iana"},"application/vnd.onepagertat":{"source":"iana"},"application/vnd.onepagertatp":{"source":"iana"},"application/vnd.onepagertatx":{"source":"iana"},"application/vnd.openblox.game+xml":{"source":"iana","compressible":true,"extensions":["obgx"]},"application/vnd.openblox.game-binary":{"source":"iana"},"application/vnd.openeye.oeb":{"source":"iana"},"application/vnd.openofficeorg.extension":{"source":"apache","extensions":["oxt"]},"application/vnd.openstreetmap.data+xml":{"source":"iana","compressible":true,"extensions":["osm"]},"application/vnd.opentimestamps.ots":{"source":"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"application/vnd.orange.indata":{"source":"iana"},"application/vnd.osa.netdeploy":{"source":"iana"},"application/vnd.osgeo.mapguide.package":{"source":"iana","extensions":["mgp"]},"application/vnd.osgi.bundle":{"source":"iana"},"application/vnd.osgi.dp":{"source":"iana","extensions":["dp"]},"application/vnd.osgi.subsystem":{"source":"iana","extensions":["esa"]},"application/vnd.otps.ct-kip+xml":{"source":"iana","compressible":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"application/vnd.palm":{"source":"iana","extensions":["pdb","pqa","oprc"]},"application/vnd.panoply":{"source":"iana"},"application/vnd.paos.xml":{"source":"iana"},"application/vnd.patentdive":{"source":"iana"},"application/vnd.patientecommsdoc":{"source":"iana"},"application/vnd.pawaafile":{"source":"iana","extensions":["paw"]},"application/vnd.pcos":{"source":"iana"},"application/vnd.pg.format":{"source":"iana","extensions":["str"]},"application/vnd.pg.osasli":{"source":"iana","extensions":["ei6"]},"application/vnd.piaccess.application-licence":{"source":"iana"},"application/vnd.picsel":{"source":"iana","extensions":["efif"]},"application/vnd.pmi.widget":{"source":"iana","extensions":["wg"]},"application/vnd.poc.group-advertisement+xml":{"source":"iana","compressible":true},"application/vnd.pocketlearn":{"source":"iana","extensions":["plf"]},"application/vnd.powerbuilder6":{"source":"iana","extensions":["pbd"]},"application/vnd.powerbuilder6-s":{"source":"iana"},"application/vnd.powerbuilder7":{"source":"iana"},"application/vnd.powerbuilder7-s":{"source":"iana"},"application/vnd.powerbuilder75":{"source":"iana"},"application/vnd.powerbuilder75-s":{"source":"iana"},"application/vnd.preminet":{"source":"iana"},"application/vnd.previewsystems.box":{"source":"iana","extensions":["box"]},"application/vnd.proteus.magazine":{"source":"iana","extensions":["mgz"]},"application/vnd.psfs":{"source":"iana"},"application/vnd.publishare-delta-tree":{"source":"iana","extensions":["qps"]},"application/vnd.pvi.ptid1":{"source":"iana","extensions":["ptid"]},"application/vnd.pwg-multiplexed":{"source":"iana"},"application/vnd.pwg-xhtml-print+xml":{"source":"iana","compressible":true},"application/vnd.qualcomm.brew-app-res":{"source":"iana"},"application/vnd.quarantainenet":{"source":"iana"},"application/vnd.quark.quarkxpress":{"source":"iana","extensions":["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{"source":"iana"},"application/vnd.radisys.moml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"application/vnd.rainstor.data":{"source":"iana"},"application/vnd.rapid":{"source":"iana"},"application/vnd.rar":{"source":"iana","extensions":["rar"]},"application/vnd.realvnc.bed":{"source":"iana","extensions":["bed"]},"application/vnd.recordare.musicxml":{"source":"iana","extensions":["mxl"]},"application/vnd.recordare.musicxml+xml":{"source":"iana","compressible":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.resilient.logic":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"application/vnd.rig.cryptonote":{"source":"iana","extensions":["cryptonote"]},"application/vnd.rim.cod":{"source":"apache","extensions":["cod"]},"application/vnd.rn-realmedia":{"source":"apache","extensions":["rm"]},"application/vnd.rn-realmedia-vbr":{"source":"apache","extensions":["rmvb"]},"application/vnd.route66.link66+xml":{"source":"iana","compressible":true,"extensions":["link66"]},"application/vnd.rs-274x":{"source":"iana"},"application/vnd.ruckus.download":{"source":"iana"},"application/vnd.s3sms":{"source":"iana"},"application/vnd.sailingtracker.track":{"source":"iana","extensions":["st"]},"application/vnd.sar":{"source":"iana"},"application/vnd.sbm.cid":{"source":"iana"},"application/vnd.sbm.mid2":{"source":"iana"},"application/vnd.scribus":{"source":"iana"},"application/vnd.sealed.3df":{"source":"iana"},"application/vnd.sealed.csf":{"source":"iana"},"application/vnd.sealed.doc":{"source":"iana"},"application/vnd.sealed.eml":{"source":"iana"},"application/vnd.sealed.mht":{"source":"iana"},"application/vnd.sealed.net":{"source":"iana"},"application/vnd.sealed.ppt":{"source":"iana"},"application/vnd.sealed.tiff":{"source":"iana"},"application/vnd.sealed.xls":{"source":"iana"},"application/vnd.sealedmedia.softseal.html":{"source":"iana"},"application/vnd.sealedmedia.softseal.pdf":{"source":"iana"},"application/vnd.seemail":{"source":"iana","extensions":["see"]},"application/vnd.seis+json":{"source":"iana","compressible":true},"application/vnd.sema":{"source":"iana","extensions":["sema"]},"application/vnd.semd":{"source":"iana","extensions":["semd"]},"application/vnd.semf":{"source":"iana","extensions":["semf"]},"application/vnd.shade-save-file":{"source":"iana"},"application/vnd.shana.informed.formdata":{"source":"iana","extensions":["ifm"]},"application/vnd.shana.informed.formtemplate":{"source":"iana","extensions":["itp"]},"application/vnd.shana.informed.interchange":{"source":"iana","extensions":["iif"]},"application/vnd.shana.informed.package":{"source":"iana","extensions":["ipk"]},"application/vnd.shootproof+json":{"source":"iana","compressible":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"application/vnd.shp":{"source":"iana"},"application/vnd.shx":{"source":"iana"},"application/vnd.sigrok.session":{"source":"iana"},"application/vnd.simtech-mindmapper":{"source":"iana","extensions":["twd","twds"]},"application/vnd.siren+json":{"source":"iana","compressible":true},"application/vnd.smaf":{"source":"iana","extensions":["mmf"]},"application/vnd.smart.notebook":{"source":"iana"},"application/vnd.smart.teacher":{"source":"iana","extensions":["teacher"]},"application/vnd.snesdev-page-table":{"source":"iana"},"application/vnd.software602.filler.form+xml":{"source":"iana","compressible":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"extensions":["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{"source":"iana","extensions":["dxp"]},"application/vnd.spotfire.sfs":{"source":"iana","extensions":["sfs"]},"application/vnd.sqlite3":{"source":"iana"},"application/vnd.sss-cod":{"source":"iana"},"application/vnd.sss-dtf":{"source":"iana"},"application/vnd.sss-ntf":{"source":"iana"},"application/vnd.stardivision.calc":{"source":"apache","extensions":["sdc"]},"application/vnd.stardivision.draw":{"source":"apache","extensions":["sda"]},"application/vnd.stardivision.impress":{"source":"apache","extensions":["sdd"]},"application/vnd.stardivision.math":{"source":"apache","extensions":["smf"]},"application/vnd.stardivision.writer":{"source":"apache","extensions":["sdw","vor"]},"application/vnd.stardivision.writer-global":{"source":"apache","extensions":["sgl"]},"application/vnd.stepmania.package":{"source":"iana","extensions":["smzip"]},"application/vnd.stepmania.stepchart":{"source":"iana","extensions":["sm"]},"application/vnd.street-stream":{"source":"iana"},"application/vnd.sun.wadl+xml":{"source":"iana","compressible":true,"extensions":["wadl"]},"application/vnd.sun.xml.calc":{"source":"apache","extensions":["sxc"]},"application/vnd.sun.xml.calc.template":{"source":"apache","extensions":["stc"]},"application/vnd.sun.xml.draw":{"source":"apache","extensions":["sxd"]},"application/vnd.sun.xml.draw.template":{"source":"apache","extensions":["std"]},"application/vnd.sun.xml.impress":{"source":"apache","extensions":["sxi"]},"application/vnd.sun.xml.impress.template":{"source":"apache","extensions":["sti"]},"application/vnd.sun.xml.math":{"source":"apache","extensions":["sxm"]},"application/vnd.sun.xml.writer":{"source":"apache","extensions":["sxw"]},"application/vnd.sun.xml.writer.global":{"source":"apache","extensions":["sxg"]},"application/vnd.sun.xml.writer.template":{"source":"apache","extensions":["stw"]},"application/vnd.sus-calendar":{"source":"iana","extensions":["sus","susp"]},"application/vnd.svd":{"source":"iana","extensions":["svd"]},"application/vnd.swiftview-ics":{"source":"iana"},"application/vnd.sycle+xml":{"source":"iana","compressible":true},"application/vnd.syft+json":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xsm"]},"application/vnd.syncml.dm+wbxml":{"source":"iana","charset":"UTF-8","extensions":["bdm"]},"application/vnd.syncml.dm+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xdm"]},"application/vnd.syncml.dm.notification":{"source":"iana"},"application/vnd.syncml.dmddf+wbxml":{"source":"iana"},"application/vnd.syncml.dmddf+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"application/vnd.tao.intent-module-archive":{"source":"iana","extensions":["tao"]},"application/vnd.tcpdump.pcap":{"source":"iana","extensions":["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{"source":"iana","compressible":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"application/vnd.tml":{"source":"iana"},"application/vnd.tmobile-livetv":{"source":"iana","extensions":["tmo"]},"application/vnd.tri.onesource":{"source":"iana"},"application/vnd.trid.tpt":{"source":"iana","extensions":["tpt"]},"application/vnd.triscape.mxs":{"source":"iana","extensions":["mxs"]},"application/vnd.trueapp":{"source":"iana","extensions":["tra"]},"application/vnd.truedoc":{"source":"iana"},"application/vnd.ubisoft.webplayer":{"source":"iana"},"application/vnd.ufdl":{"source":"iana","extensions":["ufd","ufdl"]},"application/vnd.uiq.theme":{"source":"iana","extensions":["utz"]},"application/vnd.umajin":{"source":"iana","extensions":["umj"]},"application/vnd.unity":{"source":"iana","extensions":["unityweb"]},"application/vnd.uoml+xml":{"source":"iana","compressible":true,"extensions":["uoml"]},"application/vnd.uplanet.alert":{"source":"iana"},"application/vnd.uplanet.alert-wbxml":{"source":"iana"},"application/vnd.uplanet.bearer-choice":{"source":"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{"source":"iana"},"application/vnd.uplanet.cacheop":{"source":"iana"},"application/vnd.uplanet.cacheop-wbxml":{"source":"iana"},"application/vnd.uplanet.channel":{"source":"iana"},"application/vnd.uplanet.channel-wbxml":{"source":"iana"},"application/vnd.uplanet.list":{"source":"iana"},"application/vnd.uplanet.list-wbxml":{"source":"iana"},"application/vnd.uplanet.listcmd":{"source":"iana"},"application/vnd.uplanet.listcmd-wbxml":{"source":"iana"},"application/vnd.uplanet.signal":{"source":"iana"},"application/vnd.uri-map":{"source":"iana"},"application/vnd.valve.source.material":{"source":"iana"},"application/vnd.vcx":{"source":"iana","extensions":["vcx"]},"application/vnd.vd-study":{"source":"iana"},"application/vnd.vectorworks":{"source":"iana"},"application/vnd.vel+json":{"source":"iana","compressible":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veritone.aion+json":{"source":"iana","compressible":true},"application/vnd.veryant.thin":{"source":"iana"},"application/vnd.ves.encrypted":{"source":"iana"},"application/vnd.vidsoft.vidconference":{"source":"iana"},"application/vnd.visio":{"source":"iana","extensions":["vsd","vst","vss","vsw"]},"application/vnd.visionary":{"source":"iana","extensions":["vis"]},"application/vnd.vividence.scriptfile":{"source":"iana"},"application/vnd.vsf":{"source":"iana","extensions":["vsf"]},"application/vnd.wap.sic":{"source":"iana"},"application/vnd.wap.slc":{"source":"iana"},"application/vnd.wap.wbxml":{"source":"iana","charset":"UTF-8","extensions":["wbxml"]},"application/vnd.wap.wmlc":{"source":"iana","extensions":["wmlc"]},"application/vnd.wap.wmlscriptc":{"source":"iana","extensions":["wmlsc"]},"application/vnd.webturbo":{"source":"iana","extensions":["wtb"]},"application/vnd.wfa.dpp":{"source":"iana"},"application/vnd.wfa.p2p":{"source":"iana"},"application/vnd.wfa.wsc":{"source":"iana"},"application/vnd.windows.devicepairing":{"source":"iana"},"application/vnd.wmc":{"source":"iana"},"application/vnd.wmf.bootstrap":{"source":"iana"},"application/vnd.wolfram.mathematica":{"source":"iana"},"application/vnd.wolfram.mathematica.package":{"source":"iana"},"application/vnd.wolfram.player":{"source":"iana","extensions":["nbp"]},"application/vnd.wordperfect":{"source":"iana","extensions":["wpd"]},"application/vnd.wqd":{"source":"iana","extensions":["wqd"]},"application/vnd.wrq-hp3000-labelled":{"source":"iana"},"application/vnd.wt.stf":{"source":"iana","extensions":["stf"]},"application/vnd.wv.csp+wbxml":{"source":"iana"},"application/vnd.wv.csp+xml":{"source":"iana","compressible":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"application/vnd.xara":{"source":"iana","extensions":["xar"]},"application/vnd.xfdl":{"source":"iana","extensions":["xfdl"]},"application/vnd.xfdl.webform":{"source":"iana"},"application/vnd.xmi+xml":{"source":"iana","compressible":true},"application/vnd.xmpie.cpkg":{"source":"iana"},"application/vnd.xmpie.dpkg":{"source":"iana"},"application/vnd.xmpie.plan":{"source":"iana"},"application/vnd.xmpie.ppkg":{"source":"iana"},"application/vnd.xmpie.xlim":{"source":"iana"},"application/vnd.yamaha.hv-dic":{"source":"iana","extensions":["hvd"]},"application/vnd.yamaha.hv-script":{"source":"iana","extensions":["hvs"]},"application/vnd.yamaha.hv-voice":{"source":"iana","extensions":["hvp"]},"application/vnd.yamaha.openscoreformat":{"source":"iana","extensions":["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{"source":"iana","compressible":true,"extensions":["osfpvg"]},"application/vnd.yamaha.remote-setup":{"source":"iana"},"application/vnd.yamaha.smaf-audio":{"source":"iana","extensions":["saf"]},"application/vnd.yamaha.smaf-phrase":{"source":"iana","extensions":["spf"]},"application/vnd.yamaha.through-ngn":{"source":"iana"},"application/vnd.yamaha.tunnel-udpencap":{"source":"iana"},"application/vnd.yaoweme":{"source":"iana"},"application/vnd.yellowriver-custom-menu":{"source":"iana","extensions":["cmp"]},"application/vnd.youtube.yt":{"source":"iana"},"application/vnd.zul":{"source":"iana","extensions":["zir","zirz"]},"application/vnd.zzazz.deck+xml":{"source":"iana","compressible":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"source":"iana","compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true,"extensions":["wif"]},"application/webpush-options+json":{"source":"iana","compressible":true},"application/whoispp-query":{"source":"iana"},"application/whoispp-response":{"source":"iana"},"application/widget":{"source":"iana","extensions":["wgt"]},"application/winhlp":{"source":"apache","extensions":["hlp"]},"application/wita":{"source":"iana"},"application/wordperfect5.1":{"source":"iana"},"application/wsdl+xml":{"source":"iana","compressible":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"extensions":["7z"]},"application/x-abiword":{"source":"apache","extensions":["abw"]},"application/x-ace-compressed":{"source":"apache","extensions":["ace"]},"application/x-amf":{"source":"apache"},"application/x-apple-diskimage":{"source":"apache","extensions":["dmg"]},"application/x-arj":{"compressible":false,"extensions":["arj"]},"application/x-authorware-bin":{"source":"apache","extensions":["aab","x32","u32","vox"]},"application/x-authorware-map":{"source":"apache","extensions":["aam"]},"application/x-authorware-seg":{"source":"apache","extensions":["aas"]},"application/x-bcpio":{"source":"apache","extensions":["bcpio"]},"application/x-bdoc":{"compressible":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"extensions":["bz2","boz"]},"application/x-cbr":{"source":"apache","extensions":["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{"source":"apache","extensions":["vcd"]},"application/x-cfs-compressed":{"source":"apache","extensions":["cfs"]},"application/x-chat":{"source":"apache","extensions":["chat"]},"application/x-chess-pgn":{"source":"apache","extensions":["pgn"]},"application/x-chrome-extension":{"extensions":["crx"]},"application/x-cocoa":{"source":"nginx","extensions":["cco"]},"application/x-compress":{"source":"apache"},"application/x-conference":{"source":"apache","extensions":["nsc"]},"application/x-cpio":{"source":"apache","extensions":["cpio"]},"application/x-csh":{"source":"apache","extensions":["csh"]},"application/x-deb":{"compressible":false},"application/x-debian-package":{"source":"apache","extensions":["deb","udeb"]},"application/x-dgc-compressed":{"source":"apache","extensions":["dgc"]},"application/x-director":{"source":"apache","extensions":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{"source":"apache","extensions":["wad"]},"application/x-dtbncx+xml":{"source":"apache","compressible":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"extensions":["dvi"]},"application/x-envoy":{"source":"apache","extensions":["evy"]},"application/x-eva":{"source":"apache","extensions":["eva"]},"application/x-font-bdf":{"source":"apache","extensions":["bdf"]},"application/x-font-dos":{"source":"apache"},"application/x-font-framemaker":{"source":"apache"},"application/x-font-ghostscript":{"source":"apache","extensions":["gsf"]},"application/x-font-libgrx":{"source":"apache"},"application/x-font-linux-psf":{"source":"apache","extensions":["psf"]},"application/x-font-pcf":{"source":"apache","extensions":["pcf"]},"application/x-font-snf":{"source":"apache","extensions":["snf"]},"application/x-font-speedo":{"source":"apache"},"application/x-font-sunos-news":{"source":"apache"},"application/x-font-type1":{"source":"apache","extensions":["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{"source":"apache"},"application/x-freearc":{"source":"apache","extensions":["arc"]},"application/x-futuresplash":{"source":"apache","extensions":["spl"]},"application/x-gca-compressed":{"source":"apache","extensions":["gca"]},"application/x-glulx":{"source":"apache","extensions":["ulx"]},"application/x-gnumeric":{"source":"apache","extensions":["gnumeric"]},"application/x-gramps-xml":{"source":"apache","extensions":["gramps"]},"application/x-gtar":{"source":"apache","extensions":["gtar"]},"application/x-gzip":{"source":"apache"},"application/x-hdf":{"source":"apache","extensions":["hdf"]},"application/x-httpd-php":{"compressible":true,"extensions":["php"]},"application/x-install-instructions":{"source":"apache","extensions":["install"]},"application/x-iso9660-image":{"source":"apache","extensions":["iso"]},"application/x-iwork-keynote-sffkey":{"extensions":["key"]},"application/x-iwork-numbers-sffnumbers":{"extensions":["numbers"]},"application/x-iwork-pages-sffpages":{"extensions":["pages"]},"application/x-java-archive-diff":{"source":"nginx","extensions":["jardiff"]},"application/x-java-jnlp-file":{"source":"apache","compressible":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"extensions":["latex"]},"application/x-lua-bytecode":{"extensions":["luac"]},"application/x-lzh-compressed":{"source":"apache","extensions":["lzh","lha"]},"application/x-makeself":{"source":"nginx","extensions":["run"]},"application/x-mie":{"source":"apache","extensions":["mie"]},"application/x-mobipocket-ebook":{"source":"apache","extensions":["prc","mobi"]},"application/x-mpegurl":{"compressible":false},"application/x-ms-application":{"source":"apache","extensions":["application"]},"application/x-ms-shortcut":{"source":"apache","extensions":["lnk"]},"application/x-ms-wmd":{"source":"apache","extensions":["wmd"]},"application/x-ms-wmz":{"source":"apache","extensions":["wmz"]},"application/x-ms-xbap":{"source":"apache","extensions":["xbap"]},"application/x-msaccess":{"source":"apache","extensions":["mdb"]},"application/x-msbinder":{"source":"apache","extensions":["obd"]},"application/x-mscardfile":{"source":"apache","extensions":["crd"]},"application/x-msclip":{"source":"apache","extensions":["clp"]},"application/x-msdos-program":{"extensions":["exe"]},"application/x-msdownload":{"source":"apache","extensions":["exe","dll","com","bat","msi"]},"application/x-msmediaview":{"source":"apache","extensions":["mvb","m13","m14"]},"application/x-msmetafile":{"source":"apache","extensions":["wmf","wmz","emf","emz"]},"application/x-msmoney":{"source":"apache","extensions":["mny"]},"application/x-mspublisher":{"source":"apache","extensions":["pub"]},"application/x-msschedule":{"source":"apache","extensions":["scd"]},"application/x-msterminal":{"source":"apache","extensions":["trm"]},"application/x-mswrite":{"source":"apache","extensions":["wri"]},"application/x-netcdf":{"source":"apache","extensions":["nc","cdf"]},"application/x-ns-proxy-autoconfig":{"compressible":true,"extensions":["pac"]},"application/x-nzb":{"source":"apache","extensions":["nzb"]},"application/x-perl":{"source":"nginx","extensions":["pl","pm"]},"application/x-pilot":{"source":"nginx","extensions":["prc","pdb"]},"application/x-pkcs12":{"source":"apache","compressible":false,"extensions":["p12","pfx"]},"application/x-pkcs7-certificates":{"source":"apache","extensions":["p7b","spc"]},"application/x-pkcs7-certreqresp":{"source":"apache","extensions":["p7r"]},"application/x-pki-message":{"source":"iana"},"application/x-rar-compressed":{"source":"apache","compressible":false,"extensions":["rar"]},"application/x-redhat-package-manager":{"source":"nginx","extensions":["rpm"]},"application/x-research-info-systems":{"source":"apache","extensions":["ris"]},"application/x-sea":{"source":"nginx","extensions":["sea"]},"application/x-sh":{"source":"apache","compressible":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"extensions":["sit"]},"application/x-stuffitx":{"source":"apache","extensions":["sitx"]},"application/x-subrip":{"source":"apache","extensions":["srt"]},"application/x-sv4cpio":{"source":"apache","extensions":["sv4cpio"]},"application/x-sv4crc":{"source":"apache","extensions":["sv4crc"]},"application/x-t3vm-image":{"source":"apache","extensions":["t3"]},"application/x-tads":{"source":"apache","extensions":["gam"]},"application/x-tar":{"source":"apache","compressible":true,"extensions":["tar"]},"application/x-tcl":{"source":"apache","extensions":["tcl","tk"]},"application/x-tex":{"source":"apache","extensions":["tex"]},"application/x-tex-tfm":{"source":"apache","extensions":["tfm"]},"application/x-texinfo":{"source":"apache","extensions":["texinfo","texi"]},"application/x-tgif":{"source":"apache","extensions":["obj"]},"application/x-ustar":{"source":"apache","extensions":["ustar"]},"application/x-virtualbox-hdd":{"compressible":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"application/x-x509-ca-cert":{"source":"iana","extensions":["der","crt","pem"]},"application/x-x509-ca-ra-cert":{"source":"iana"},"application/x-x509-next-ca-cert":{"source":"iana"},"application/x-xfig":{"source":"apache","extensions":["fig"]},"application/x-xliff+xml":{"source":"apache","compressible":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"extensions":["xpi"]},"application/x-xz":{"source":"apache","extensions":["xz"]},"application/x-zmachine":{"source":"apache","extensions":["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{"source":"iana"},"application/xacml+xml":{"source":"iana","compressible":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"extensions":["zip"]},"application/zlib":{"source":"iana"},"application/zstd":{"source":"iana"},"audio/1d-interleaved-parityfec":{"source":"iana"},"audio/32kadpcm":{"source":"iana"},"audio/3gpp":{"source":"iana","compressible":false,"extensions":["3gpp"]},"audio/3gpp2":{"source":"iana"},"audio/aac":{"source":"iana"},"audio/ac3":{"source":"iana"},"audio/adpcm":{"source":"apache","extensions":["adp"]},"audio/amr":{"source":"iana","extensions":["amr"]},"audio/amr-wb":{"source":"iana"},"audio/amr-wb+":{"source":"iana"},"audio/aptx":{"source":"iana"},"audio/asc":{"source":"iana"},"audio/atrac-advanced-lossless":{"source":"iana"},"audio/atrac-x":{"source":"iana"},"audio/atrac3":{"source":"iana"},"audio/basic":{"source":"iana","compressible":false,"extensions":["au","snd"]},"audio/bv16":{"source":"iana"},"audio/bv32":{"source":"iana"},"audio/clearmode":{"source":"iana"},"audio/cn":{"source":"iana"},"audio/dat12":{"source":"iana"},"audio/dls":{"source":"iana"},"audio/dsr-es201108":{"source":"iana"},"audio/dsr-es202050":{"source":"iana"},"audio/dsr-es202211":{"source":"iana"},"audio/dsr-es202212":{"source":"iana"},"audio/dv":{"source":"iana"},"audio/dvi4":{"source":"iana"},"audio/eac3":{"source":"iana"},"audio/encaprtp":{"source":"iana"},"audio/evrc":{"source":"iana"},"audio/evrc-qcp":{"source":"iana"},"audio/evrc0":{"source":"iana"},"audio/evrc1":{"source":"iana"},"audio/evrcb":{"source":"iana"},"audio/evrcb0":{"source":"iana"},"audio/evrcb1":{"source":"iana"},"audio/evrcnw":{"source":"iana"},"audio/evrcnw0":{"source":"iana"},"audio/evrcnw1":{"source":"iana"},"audio/evrcwb":{"source":"iana"},"audio/evrcwb0":{"source":"iana"},"audio/evrcwb1":{"source":"iana"},"audio/evs":{"source":"iana"},"audio/flexfec":{"source":"iana"},"audio/fwdred":{"source":"iana"},"audio/g711-0":{"source":"iana"},"audio/g719":{"source":"iana"},"audio/g722":{"source":"iana"},"audio/g7221":{"source":"iana"},"audio/g723":{"source":"iana"},"audio/g726-16":{"source":"iana"},"audio/g726-24":{"source":"iana"},"audio/g726-32":{"source":"iana"},"audio/g726-40":{"source":"iana"},"audio/g728":{"source":"iana"},"audio/g729":{"source":"iana"},"audio/g7291":{"source":"iana"},"audio/g729d":{"source":"iana"},"audio/g729e":{"source":"iana"},"audio/gsm":{"source":"iana"},"audio/gsm-efr":{"source":"iana"},"audio/gsm-hr-08":{"source":"iana"},"audio/ilbc":{"source":"iana"},"audio/ip-mr_v2.5":{"source":"iana"},"audio/isac":{"source":"apache"},"audio/l16":{"source":"iana"},"audio/l20":{"source":"iana"},"audio/l24":{"source":"iana","compressible":false},"audio/l8":{"source":"iana"},"audio/lpc":{"source":"iana"},"audio/melp":{"source":"iana"},"audio/melp1200":{"source":"iana"},"audio/melp2400":{"source":"iana"},"audio/melp600":{"source":"iana"},"audio/mhas":{"source":"iana"},"audio/midi":{"source":"apache","extensions":["mid","midi","kar","rmi"]},"audio/mobile-xmf":{"source":"iana","extensions":["mxmf"]},"audio/mp3":{"compressible":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"extensions":["oga","ogg","spx","opus"]},"audio/opus":{"source":"iana"},"audio/parityfec":{"source":"iana"},"audio/pcma":{"source":"iana"},"audio/pcma-wb":{"source":"iana"},"audio/pcmu":{"source":"iana"},"audio/pcmu-wb":{"source":"iana"},"audio/prs.sid":{"source":"iana"},"audio/qcelp":{"source":"iana"},"audio/raptorfec":{"source":"iana"},"audio/red":{"source":"iana"},"audio/rtp-enc-aescm128":{"source":"iana"},"audio/rtp-midi":{"source":"iana"},"audio/rtploopback":{"source":"iana"},"audio/rtx":{"source":"iana"},"audio/s3m":{"source":"apache","extensions":["s3m"]},"audio/scip":{"source":"iana"},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sofa":{"source":"iana"},"audio/sp-midi":{"source":"iana"},"audio/speex":{"source":"iana"},"audio/t140c":{"source":"iana"},"audio/t38":{"source":"iana"},"audio/telephone-event":{"source":"iana"},"audio/tetra_acelp":{"source":"iana"},"audio/tetra_acelp_bb":{"source":"iana"},"audio/tone":{"source":"iana"},"audio/tsvcis":{"source":"iana"},"audio/uemclip":{"source":"iana"},"audio/ulpfec":{"source":"iana"},"audio/usac":{"source":"iana"},"audio/vdvi":{"source":"iana"},"audio/vmr-wb":{"source":"iana"},"audio/vnd.3gpp.iufp":{"source":"iana"},"audio/vnd.4sb":{"source":"iana"},"audio/vnd.audiokoz":{"source":"iana"},"audio/vnd.celp":{"source":"iana"},"audio/vnd.cisco.nse":{"source":"iana"},"audio/vnd.cmles.radio-events":{"source":"iana"},"audio/vnd.cns.anp1":{"source":"iana"},"audio/vnd.cns.inf1":{"source":"iana"},"audio/vnd.dece.audio":{"source":"iana","extensions":["uva","uvva"]},"audio/vnd.digital-winds":{"source":"iana","extensions":["eol"]},"audio/vnd.dlna.adts":{"source":"iana"},"audio/vnd.dolby.heaac.1":{"source":"iana"},"audio/vnd.dolby.heaac.2":{"source":"iana"},"audio/vnd.dolby.mlp":{"source":"iana"},"audio/vnd.dolby.mps":{"source":"iana"},"audio/vnd.dolby.pl2":{"source":"iana"},"audio/vnd.dolby.pl2x":{"source":"iana"},"audio/vnd.dolby.pl2z":{"source":"iana"},"audio/vnd.dolby.pulse.1":{"source":"iana"},"audio/vnd.dra":{"source":"iana","extensions":["dra"]},"audio/vnd.dts":{"source":"iana","extensions":["dts"]},"audio/vnd.dts.hd":{"source":"iana","extensions":["dtshd"]},"audio/vnd.dts.uhd":{"source":"iana"},"audio/vnd.dvb.file":{"source":"iana"},"audio/vnd.everad.plj":{"source":"iana"},"audio/vnd.hns.audio":{"source":"iana"},"audio/vnd.lucent.voice":{"source":"iana","extensions":["lvp"]},"audio/vnd.ms-playready.media.pya":{"source":"iana","extensions":["pya"]},"audio/vnd.nokia.mobile-xmf":{"source":"iana"},"audio/vnd.nortel.vbk":{"source":"iana"},"audio/vnd.nuera.ecelp4800":{"source":"iana","extensions":["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{"source":"iana","extensions":["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{"source":"iana","extensions":["ecelp9600"]},"audio/vnd.octel.sbc":{"source":"iana"},"audio/vnd.presonus.multitrack":{"source":"iana"},"audio/vnd.qcelp":{"source":"iana"},"audio/vnd.rhetorex.32kadpcm":{"source":"iana"},"audio/vnd.rip":{"source":"iana","extensions":["rip"]},"audio/vnd.rn-realaudio":{"compressible":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"extensions":["caf"]},"audio/x-flac":{"source":"apache","extensions":["flac"]},"audio/x-m4a":{"source":"nginx","extensions":["m4a"]},"audio/x-matroska":{"source":"apache","extensions":["mka"]},"audio/x-mpegurl":{"source":"apache","extensions":["m3u"]},"audio/x-ms-wax":{"source":"apache","extensions":["wax"]},"audio/x-ms-wma":{"source":"apache","extensions":["wma"]},"audio/x-pn-realaudio":{"source":"apache","extensions":["ram","ra"]},"audio/x-pn-realaudio-plugin":{"source":"apache","extensions":["rmp"]},"audio/x-realaudio":{"source":"nginx","extensions":["ra"]},"audio/x-tta":{"source":"apache"},"audio/x-wav":{"source":"apache","extensions":["wav"]},"audio/xm":{"source":"apache","extensions":["xm"]},"chemical/x-cdx":{"source":"apache","extensions":["cdx"]},"chemical/x-cif":{"source":"apache","extensions":["cif"]},"chemical/x-cmdf":{"source":"apache","extensions":["cmdf"]},"chemical/x-cml":{"source":"apache","extensions":["cml"]},"chemical/x-csml":{"source":"apache","extensions":["csml"]},"chemical/x-pdb":{"source":"apache"},"chemical/x-xyz":{"source":"apache","extensions":["xyz"]},"font/collection":{"source":"iana","extensions":["ttc"]},"font/otf":{"source":"iana","compressible":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana","extensions":["avci"]},"image/avcs":{"source":"iana","extensions":["avcs"]},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"extensions":["bmp"]},"image/cgm":{"source":"iana","extensions":["cgm"]},"image/dicom-rle":{"source":"iana","extensions":["drle"]},"image/emf":{"source":"iana","extensions":["emf"]},"image/fits":{"source":"iana","extensions":["fits"]},"image/g3fax":{"source":"iana","extensions":["g3"]},"image/gif":{"source":"iana","compressible":false,"extensions":["gif"]},"image/heic":{"source":"iana","extensions":["heic"]},"image/heic-sequence":{"source":"iana","extensions":["heics"]},"image/heif":{"source":"iana","extensions":["heif"]},"image/heif-sequence":{"source":"iana","extensions":["heifs"]},"image/hej2k":{"source":"iana","extensions":["hej2"]},"image/hsj2":{"source":"iana","extensions":["hsj2"]},"image/ief":{"source":"iana","extensions":["ief"]},"image/jls":{"source":"iana","extensions":["jls"]},"image/jp2":{"source":"iana","compressible":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"extensions":["jpx","jpf"]},"image/jxr":{"source":"iana","extensions":["jxr"]},"image/jxra":{"source":"iana","extensions":["jxra"]},"image/jxrs":{"source":"iana","extensions":["jxrs"]},"image/jxs":{"source":"iana","extensions":["jxs"]},"image/jxsc":{"source":"iana","extensions":["jxsc"]},"image/jxsi":{"source":"iana","extensions":["jxsi"]},"image/jxss":{"source":"iana","extensions":["jxss"]},"image/ktx":{"source":"iana","extensions":["ktx"]},"image/ktx2":{"source":"iana","extensions":["ktx2"]},"image/naplps":{"source":"iana"},"image/pjpeg":{"compressible":false},"image/png":{"source":"iana","compressible":false,"extensions":["png"]},"image/prs.btif":{"source":"iana","extensions":["btif"]},"image/prs.pti":{"source":"iana","extensions":["pti"]},"image/pwg-raster":{"source":"iana"},"image/sgi":{"source":"apache","extensions":["sgi"]},"image/svg+xml":{"source":"iana","compressible":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"extensions":["psd"]},"image/vnd.airzip.accelerator.azv":{"source":"iana","extensions":["azv"]},"image/vnd.cns.inf2":{"source":"iana"},"image/vnd.dece.graphic":{"source":"iana","extensions":["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{"source":"iana","extensions":["djvu","djv"]},"image/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"image/vnd.dwg":{"source":"iana","extensions":["dwg"]},"image/vnd.dxf":{"source":"iana","extensions":["dxf"]},"image/vnd.fastbidsheet":{"source":"iana","extensions":["fbs"]},"image/vnd.fpx":{"source":"iana","extensions":["fpx"]},"image/vnd.fst":{"source":"iana","extensions":["fst"]},"image/vnd.fujixerox.edmics-mmr":{"source":"iana","extensions":["mmr"]},"image/vnd.fujixerox.edmics-rlc":{"source":"iana","extensions":["rlc"]},"image/vnd.globalgraphics.pgb":{"source":"iana"},"image/vnd.microsoft.icon":{"source":"iana","compressible":true,"extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"compressible":true,"extensions":["dds"]},"image/vnd.ms-modi":{"source":"iana","extensions":["mdi"]},"image/vnd.ms-photo":{"source":"apache","extensions":["wdp"]},"image/vnd.net-fpx":{"source":"iana","extensions":["npx"]},"image/vnd.pco.b16":{"source":"iana","extensions":["b16"]},"image/vnd.radiance":{"source":"iana"},"image/vnd.sealed.png":{"source":"iana"},"image/vnd.sealedmedia.softseal.gif":{"source":"iana"},"image/vnd.sealedmedia.softseal.jpg":{"source":"iana"},"image/vnd.svf":{"source":"iana"},"image/vnd.tencent.tap":{"source":"iana","extensions":["tap"]},"image/vnd.valve.source.texture":{"source":"iana","extensions":["vtf"]},"image/vnd.wap.wbmp":{"source":"iana","extensions":["wbmp"]},"image/vnd.xiff":{"source":"iana","extensions":["xif"]},"image/vnd.zbrush.pcx":{"source":"iana","extensions":["pcx"]},"image/webp":{"source":"apache","extensions":["webp"]},"image/wmf":{"source":"iana","extensions":["wmf"]},"image/x-3ds":{"source":"apache","extensions":["3ds"]},"image/x-cmu-raster":{"source":"apache","extensions":["ras"]},"image/x-cmx":{"source":"apache","extensions":["cmx"]},"image/x-freehand":{"source":"apache","extensions":["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{"source":"apache","compressible":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"extensions":["bmp"]},"image/x-pcx":{"source":"apache","extensions":["pcx"]},"image/x-pict":{"source":"apache","extensions":["pic","pct"]},"image/x-portable-anymap":{"source":"apache","extensions":["pnm"]},"image/x-portable-bitmap":{"source":"apache","extensions":["pbm"]},"image/x-portable-graymap":{"source":"apache","extensions":["pgm"]},"image/x-portable-pixmap":{"source":"apache","extensions":["ppm"]},"image/x-rgb":{"source":"apache","extensions":["rgb"]},"image/x-tga":{"source":"apache","extensions":["tga"]},"image/x-xbitmap":{"source":"apache","extensions":["xbm"]},"image/x-xcf":{"compressible":false},"image/x-xpixmap":{"source":"apache","extensions":["xpm"]},"image/x-xwindowdump":{"source":"apache","extensions":["xwd"]},"message/cpim":{"source":"iana"},"message/delivery-status":{"source":"iana"},"message/disposition-notification":{"source":"iana","extensions":["disposition-notification"]},"message/external-body":{"source":"iana"},"message/feedback-report":{"source":"iana"},"message/global":{"source":"iana","extensions":["u8msg"]},"message/global-delivery-status":{"source":"iana","extensions":["u8dsn"]},"message/global-disposition-notification":{"source":"iana","extensions":["u8mdn"]},"message/global-headers":{"source":"iana","extensions":["u8hdr"]},"message/http":{"source":"iana","compressible":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"extensions":["eml","mime"]},"message/s-http":{"source":"iana"},"message/sip":{"source":"iana"},"message/sipfrag":{"source":"iana"},"message/tracking-status":{"source":"iana"},"message/vnd.si.simp":{"source":"iana"},"message/vnd.wfa.wsc":{"source":"iana","extensions":["wsc"]},"model/3mf":{"source":"iana","extensions":["3mf"]},"model/e57":{"source":"iana"},"model/gltf+json":{"source":"iana","compressible":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"extensions":["msh","mesh","silo"]},"model/mtl":{"source":"iana","extensions":["mtl"]},"model/obj":{"source":"iana","extensions":["obj"]},"model/step":{"source":"iana"},"model/step+xml":{"source":"iana","compressible":true,"extensions":["stpx"]},"model/step+zip":{"source":"iana","compressible":false,"extensions":["stpz"]},"model/step-xml+zip":{"source":"iana","compressible":false,"extensions":["stpxz"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"extensions":["dae"]},"model/vnd.dwf":{"source":"iana","extensions":["dwf"]},"model/vnd.flatland.3dml":{"source":"iana"},"model/vnd.gdl":{"source":"iana","extensions":["gdl"]},"model/vnd.gs-gdl":{"source":"apache"},"model/vnd.gs.gdl":{"source":"iana"},"model/vnd.gtw":{"source":"iana","extensions":["gtw"]},"model/vnd.moml+xml":{"source":"iana","compressible":true},"model/vnd.mts":{"source":"iana","extensions":["mts"]},"model/vnd.opengex":{"source":"iana","extensions":["ogex"]},"model/vnd.parasolid.transmit.binary":{"source":"iana","extensions":["x_b"]},"model/vnd.parasolid.transmit.text":{"source":"iana","extensions":["x_t"]},"model/vnd.pytha.pyox":{"source":"iana"},"model/vnd.rosette.annotated-data-model":{"source":"iana"},"model/vnd.sap.vds":{"source":"iana","extensions":["vds"]},"model/vnd.usdz+zip":{"source":"iana","compressible":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"multipart/vnd.bint.med-plus":{"source":"iana"},"multipart/voice-message":{"source":"iana"},"multipart/x-mixed-replace":{"source":"iana"},"text/1d-interleaved-parityfec":{"source":"iana"},"text/cache-manifest":{"source":"iana","compressible":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"text/coffeescript":{"extensions":["coffee","litcoffee"]},"text/cql":{"source":"iana"},"text/cql-expression":{"source":"iana"},"text/cql-identifier":{"source":"iana"},"text/css":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"extensions":["csv"]},"text/csv-schema":{"source":"iana"},"text/directory":{"source":"iana"},"text/dns":{"source":"iana"},"text/ecmascript":{"source":"iana"},"text/encaprtp":{"source":"iana"},"text/enriched":{"source":"iana"},"text/fhirpath":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/gff3":{"source":"iana"},"text/grammar-ref-list":{"source":"iana"},"text/html":{"source":"iana","compressible":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"extensions":["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{"source":"iana","charset":"UTF-8"},"text/prs.fallenstein.rst":{"source":"iana"},"text/prs.lines.tag":{"source":"iana","extensions":["dsc"]},"text/prs.prop.logic":{"source":"iana"},"text/raptorfec":{"source":"iana"},"text/red":{"source":"iana"},"text/rfc822-headers":{"source":"iana"},"text/richtext":{"source":"iana","compressible":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"text/rtp-enc-aescm128":{"source":"iana"},"text/rtploopback":{"source":"iana"},"text/rtx":{"source":"iana"},"text/sgml":{"source":"iana","extensions":["sgml","sgm"]},"text/shaclc":{"source":"iana"},"text/shex":{"source":"iana","extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/spdx":{"source":"iana","extensions":["spdx"]},"text/strings":{"source":"iana"},"text/stylus":{"extensions":["stylus","styl"]},"text/t140":{"source":"iana"},"text/tab-separated-values":{"source":"iana","compressible":true,"extensions":["tsv"]},"text/troff":{"source":"iana","extensions":["t","tr","roff","man","me","ms"]},"text/turtle":{"source":"iana","charset":"UTF-8","extensions":["ttl"]},"text/ulpfec":{"source":"iana"},"text/uri-list":{"source":"iana","compressible":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"extensions":["vcard"]},"text/vnd.a":{"source":"iana"},"text/vnd.abc":{"source":"iana"},"text/vnd.ascii-art":{"source":"iana"},"text/vnd.curl":{"source":"iana","extensions":["curl"]},"text/vnd.curl.dcurl":{"source":"apache","extensions":["dcurl"]},"text/vnd.curl.mcurl":{"source":"apache","extensions":["mcurl"]},"text/vnd.curl.scurl":{"source":"apache","extensions":["scurl"]},"text/vnd.debian.copyright":{"source":"iana","charset":"UTF-8"},"text/vnd.dmclientscript":{"source":"iana"},"text/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"text/vnd.esmertec.theme-descriptor":{"source":"iana","charset":"UTF-8"},"text/vnd.familysearch.gedcom":{"source":"iana","extensions":["ged"]},"text/vnd.ficlab.flt":{"source":"iana"},"text/vnd.fly":{"source":"iana","extensions":["fly"]},"text/vnd.fmi.flexstor":{"source":"iana","extensions":["flx"]},"text/vnd.gml":{"source":"iana"},"text/vnd.graphviz":{"source":"iana","extensions":["gv"]},"text/vnd.hans":{"source":"iana"},"text/vnd.hgl":{"source":"iana"},"text/vnd.in3d.3dml":{"source":"iana","extensions":["3dml"]},"text/vnd.in3d.spot":{"source":"iana","extensions":["spot"]},"text/vnd.iptc.newsml":{"source":"iana"},"text/vnd.iptc.nitf":{"source":"iana"},"text/vnd.latex-z":{"source":"iana"},"text/vnd.motorola.reflex":{"source":"iana"},"text/vnd.ms-mediapackage":{"source":"iana"},"text/vnd.net2phone.commcenter.command":{"source":"iana"},"text/vnd.radisys.msml-basic-layout":{"source":"iana"},"text/vnd.senx.warpscript":{"source":"iana"},"text/vnd.si.uricatalogue":{"source":"iana"},"text/vnd.sosi":{"source":"iana"},"text/vnd.sun.j2me.app-descriptor":{"source":"iana","charset":"UTF-8","extensions":["jad"]},"text/vnd.trolltech.linguist":{"source":"iana","charset":"UTF-8"},"text/vnd.wap.si":{"source":"iana"},"text/vnd.wap.sl":{"source":"iana"},"text/vnd.wap.wml":{"source":"iana","extensions":["wml"]},"text/vnd.wap.wmlscript":{"source":"iana","extensions":["wmls"]},"text/vtt":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["vtt"]},"text/x-asm":{"source":"apache","extensions":["s","asm"]},"text/x-c":{"source":"apache","extensions":["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{"source":"nginx","extensions":["htc"]},"text/x-fortran":{"source":"apache","extensions":["f","for","f77","f90"]},"text/x-gwt-rpc":{"compressible":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"extensions":["pde"]},"text/x-sass":{"extensions":["sass"]},"text/x-scss":{"extensions":["scss"]},"text/x-setext":{"source":"apache","extensions":["etx"]},"text/x-sfv":{"source":"apache","extensions":["sfv"]},"text/x-suse-ymp":{"compressible":true,"extensions":["ymp"]},"text/x-uuencode":{"source":"apache","extensions":["uu"]},"text/x-vcalendar":{"source":"apache","extensions":["vcs"]},"text/x-vcard":{"source":"apache","extensions":["vcf"]},"text/xml":{"source":"iana","compressible":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"compressible":true,"extensions":["yaml","yml"]},"video/1d-interleaved-parityfec":{"source":"iana"},"video/3gpp":{"source":"iana","extensions":["3gp","3gpp"]},"video/3gpp-tt":{"source":"iana"},"video/3gpp2":{"source":"iana","extensions":["3g2"]},"video/av1":{"source":"iana"},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/ffv1":{"source":"iana"},"video/flexfec":{"source":"iana"},"video/h261":{"source":"iana","extensions":["h261"]},"video/h263":{"source":"iana","extensions":["h263"]},"video/h263-1998":{"source":"iana"},"video/h263-2000":{"source":"iana"},"video/h264":{"source":"iana","extensions":["h264"]},"video/h264-rcdo":{"source":"iana"},"video/h264-svc":{"source":"iana"},"video/h265":{"source":"iana"},"video/iso.segment":{"source":"iana","extensions":["m4s"]},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"video/jxsv":{"source":"iana"},"video/mj2":{"source":"iana","extensions":["mj2","mjp2"]},"video/mp1s":{"source":"iana"},"video/mp2p":{"source":"iana"},"video/mp2t":{"source":"iana","extensions":["ts"]},"video/mp4":{"source":"iana","compressible":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"extensions":["qt","mov"]},"video/raptorfec":{"source":"iana"},"video/raw":{"source":"iana"},"video/rtp-enc-aescm128":{"source":"iana"},"video/rtploopback":{"source":"iana"},"video/rtx":{"source":"iana"},"video/scip":{"source":"iana"},"video/smpte291":{"source":"iana"},"video/smpte292m":{"source":"iana"},"video/ulpfec":{"source":"iana"},"video/vc1":{"source":"iana"},"video/vc2":{"source":"iana"},"video/vnd.cctv":{"source":"iana"},"video/vnd.dece.hd":{"source":"iana","extensions":["uvh","uvvh"]},"video/vnd.dece.mobile":{"source":"iana","extensions":["uvm","uvvm"]},"video/vnd.dece.mp4":{"source":"iana"},"video/vnd.dece.pd":{"source":"iana","extensions":["uvp","uvvp"]},"video/vnd.dece.sd":{"source":"iana","extensions":["uvs","uvvs"]},"video/vnd.dece.video":{"source":"iana","extensions":["uvv","uvvv"]},"video/vnd.directv.mpeg":{"source":"iana"},"video/vnd.directv.mpeg-tts":{"source":"iana"},"video/vnd.dlna.mpeg-tts":{"source":"iana"},"video/vnd.dvb.file":{"source":"iana","extensions":["dvb"]},"video/vnd.fvt":{"source":"iana","extensions":["fvt"]},"video/vnd.hns.video":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.ttsavc":{"source":"iana"},"video/vnd.iptvforum.ttsmpeg2":{"source":"iana"},"video/vnd.motorola.video":{"source":"iana"},"video/vnd.motorola.videop":{"source":"iana"},"video/vnd.mpegurl":{"source":"iana","extensions":["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{"source":"iana","extensions":["pyv"]},"video/vnd.nokia.interleaved-multimedia":{"source":"iana"},"video/vnd.nokia.mp4vr":{"source":"iana"},"video/vnd.nokia.videovoip":{"source":"iana"},"video/vnd.objectvideo":{"source":"iana"},"video/vnd.radgamettools.bink":{"source":"iana"},"video/vnd.radgamettools.smacker":{"source":"iana"},"video/vnd.sealed.mpeg1":{"source":"iana"},"video/vnd.sealed.mpeg4":{"source":"iana"},"video/vnd.sealed.swf":{"source":"iana"},"video/vnd.sealedmedia.softseal.mov":{"source":"iana"},"video/vnd.uvvu.mp4":{"source":"iana","extensions":["uvu","uvvu"]},"video/vnd.vivo":{"source":"iana","extensions":["viv"]},"video/vnd.youtube.yt":{"source":"iana"},"video/vp8":{"source":"iana"},"video/vp9":{"source":"iana"},"video/webm":{"source":"apache","compressible":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"extensions":["mkv","mk3d","mks"]},"video/x-mng":{"source":"apache","extensions":["mng"]},"video/x-ms-asf":{"source":"apache","extensions":["asf","asx"]},"video/x-ms-vob":{"source":"apache","extensions":["vob"]},"video/x-ms-wm":{"source":"apache","extensions":["wm"]},"video/x-ms-wmv":{"source":"apache","compressible":false,"extensions":["wmv"]},"video/x-ms-wmx":{"source":"apache","extensions":["wmx"]},"video/x-ms-wvx":{"source":"apache","extensions":["wvx"]},"video/x-msvideo":{"source":"apache","extensions":["avi"]},"video/x-sgi-movie":{"source":"apache","extensions":["movie"]},"video/x-smv":{"source":"apache","extensions":["smv"]},"x-conference/x-cooltalk":{"source":"apache","extensions":["ice"]},"x-shader/x-fragment":{"compressible":true},"x-shader/x-vertex":{"compressible":true}}'); + const RE_PLUS = /\+/g, HEX = [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]; + function Decoder() { + this.buffer = void 0; + } + Decoder.prototype.write = function(str) { + let res = "", i = 0, p = 0; + const len = (str = str.replace(RE_PLUS, " ")).length; + for (;i < len; ++i) void 0 !== this.buffer ? HEX[str.charCodeAt(i)] ? (this.buffer += str[i], + ++p, 2 === this.buffer.length && (res += String.fromCharCode(parseInt(this.buffer, 16)), + this.buffer = void 0)) : (res += "%" + this.buffer, this.buffer = void 0, --i) : "%" === str[i] && (i > p && (res += str.substring(p, i), + p = i), this.buffer = "", ++p); + return p < len && void 0 === this.buffer && (res += str.substring(p)), res; + }, Decoder.prototype.reset = function() { + this.buffer = void 0; + }, module.exports = Decoder; }, - 2379: module => { + 2429: module => { "use strict"; - module.exports = JSON.parse('["ac","com.ac","edu.ac","gov.ac","net.ac","mil.ac","org.ac","ad","nom.ad","ae","co.ae","net.ae","org.ae","sch.ae","ac.ae","gov.ae","mil.ae","aero","accident-investigation.aero","accident-prevention.aero","aerobatic.aero","aeroclub.aero","aerodrome.aero","agents.aero","aircraft.aero","airline.aero","airport.aero","air-surveillance.aero","airtraffic.aero","air-traffic-control.aero","ambulance.aero","amusement.aero","association.aero","author.aero","ballooning.aero","broker.aero","caa.aero","cargo.aero","catering.aero","certification.aero","championship.aero","charter.aero","civilaviation.aero","club.aero","conference.aero","consultant.aero","consulting.aero","control.aero","council.aero","crew.aero","design.aero","dgca.aero","educator.aero","emergency.aero","engine.aero","engineer.aero","entertainment.aero","equipment.aero","exchange.aero","express.aero","federation.aero","flight.aero","fuel.aero","gliding.aero","government.aero","groundhandling.aero","group.aero","hanggliding.aero","homebuilt.aero","insurance.aero","journal.aero","journalist.aero","leasing.aero","logistics.aero","magazine.aero","maintenance.aero","media.aero","microlight.aero","modelling.aero","navigation.aero","parachuting.aero","paragliding.aero","passenger-association.aero","pilot.aero","press.aero","production.aero","recreation.aero","repbody.aero","res.aero","research.aero","rotorcraft.aero","safety.aero","scientist.aero","services.aero","show.aero","skydiving.aero","software.aero","student.aero","trader.aero","trading.aero","trainer.aero","union.aero","workinggroup.aero","works.aero","af","gov.af","com.af","org.af","net.af","edu.af","ag","com.ag","org.ag","net.ag","co.ag","nom.ag","ai","off.ai","com.ai","net.ai","org.ai","al","com.al","edu.al","gov.al","mil.al","net.al","org.al","am","co.am","com.am","commune.am","net.am","org.am","ao","ed.ao","gv.ao","og.ao","co.ao","pb.ao","it.ao","aq","ar","bet.ar","com.ar","coop.ar","edu.ar","gob.ar","gov.ar","int.ar","mil.ar","musica.ar","mutual.ar","net.ar","org.ar","senasa.ar","tur.ar","arpa","e164.arpa","in-addr.arpa","ip6.arpa","iris.arpa","uri.arpa","urn.arpa","as","gov.as","asia","at","ac.at","co.at","gv.at","or.at","sth.ac.at","au","com.au","net.au","org.au","edu.au","gov.au","asn.au","id.au","info.au","conf.au","oz.au","act.au","nsw.au","nt.au","qld.au","sa.au","tas.au","vic.au","wa.au","act.edu.au","catholic.edu.au","nsw.edu.au","nt.edu.au","qld.edu.au","sa.edu.au","tas.edu.au","vic.edu.au","wa.edu.au","qld.gov.au","sa.gov.au","tas.gov.au","vic.gov.au","wa.gov.au","schools.nsw.edu.au","aw","com.aw","ax","az","com.az","net.az","int.az","gov.az","org.az","edu.az","info.az","pp.az","mil.az","name.az","pro.az","biz.az","ba","com.ba","edu.ba","gov.ba","mil.ba","net.ba","org.ba","bb","biz.bb","co.bb","com.bb","edu.bb","gov.bb","info.bb","net.bb","org.bb","store.bb","tv.bb","*.bd","be","ac.be","bf","gov.bf","bg","a.bg","b.bg","c.bg","d.bg","e.bg","f.bg","g.bg","h.bg","i.bg","j.bg","k.bg","l.bg","m.bg","n.bg","o.bg","p.bg","q.bg","r.bg","s.bg","t.bg","u.bg","v.bg","w.bg","x.bg","y.bg","z.bg","0.bg","1.bg","2.bg","3.bg","4.bg","5.bg","6.bg","7.bg","8.bg","9.bg","bh","com.bh","edu.bh","net.bh","org.bh","gov.bh","bi","co.bi","com.bi","edu.bi","or.bi","org.bi","biz","bj","asso.bj","barreau.bj","gouv.bj","bm","com.bm","edu.bm","gov.bm","net.bm","org.bm","bn","com.bn","edu.bn","gov.bn","net.bn","org.bn","bo","com.bo","edu.bo","gob.bo","int.bo","org.bo","net.bo","mil.bo","tv.bo","web.bo","academia.bo","agro.bo","arte.bo","blog.bo","bolivia.bo","ciencia.bo","cooperativa.bo","democracia.bo","deporte.bo","ecologia.bo","economia.bo","empresa.bo","indigena.bo","industria.bo","info.bo","medicina.bo","movimiento.bo","musica.bo","natural.bo","nombre.bo","noticias.bo","patria.bo","politica.bo","profesional.bo","plurinacional.bo","pueblo.bo","revista.bo","salud.bo","tecnologia.bo","tksat.bo","transporte.bo","wiki.bo","br","9guacu.br","abc.br","adm.br","adv.br","agr.br","aju.br","am.br","anani.br","aparecida.br","app.br","arq.br","art.br","ato.br","b.br","barueri.br","belem.br","bhz.br","bib.br","bio.br","blog.br","bmd.br","boavista.br","bsb.br","campinagrande.br","campinas.br","caxias.br","cim.br","cng.br","cnt.br","com.br","contagem.br","coop.br","coz.br","cri.br","cuiaba.br","curitiba.br","def.br","des.br","det.br","dev.br","ecn.br","eco.br","edu.br","emp.br","enf.br","eng.br","esp.br","etc.br","eti.br","far.br","feira.br","flog.br","floripa.br","fm.br","fnd.br","fortal.br","fot.br","foz.br","fst.br","g12.br","geo.br","ggf.br","goiania.br","gov.br","ac.gov.br","al.gov.br","am.gov.br","ap.gov.br","ba.gov.br","ce.gov.br","df.gov.br","es.gov.br","go.gov.br","ma.gov.br","mg.gov.br","ms.gov.br","mt.gov.br","pa.gov.br","pb.gov.br","pe.gov.br","pi.gov.br","pr.gov.br","rj.gov.br","rn.gov.br","ro.gov.br","rr.gov.br","rs.gov.br","sc.gov.br","se.gov.br","sp.gov.br","to.gov.br","gru.br","imb.br","ind.br","inf.br","jab.br","jampa.br","jdf.br","joinville.br","jor.br","jus.br","leg.br","lel.br","log.br","londrina.br","macapa.br","maceio.br","manaus.br","maringa.br","mat.br","med.br","mil.br","morena.br","mp.br","mus.br","natal.br","net.br","niteroi.br","*.nom.br","not.br","ntr.br","odo.br","ong.br","org.br","osasco.br","palmas.br","poa.br","ppg.br","pro.br","psc.br","psi.br","pvh.br","qsl.br","radio.br","rec.br","recife.br","rep.br","ribeirao.br","rio.br","riobranco.br","riopreto.br","salvador.br","sampa.br","santamaria.br","santoandre.br","saobernardo.br","saogonca.br","seg.br","sjc.br","slg.br","slz.br","sorocaba.br","srv.br","taxi.br","tc.br","tec.br","teo.br","the.br","tmp.br","trd.br","tur.br","tv.br","udi.br","vet.br","vix.br","vlog.br","wiki.br","zlg.br","bs","com.bs","net.bs","org.bs","edu.bs","gov.bs","bt","com.bt","edu.bt","gov.bt","net.bt","org.bt","bv","bw","co.bw","org.bw","by","gov.by","mil.by","com.by","of.by","bz","com.bz","net.bz","org.bz","edu.bz","gov.bz","ca","ab.ca","bc.ca","mb.ca","nb.ca","nf.ca","nl.ca","ns.ca","nt.ca","nu.ca","on.ca","pe.ca","qc.ca","sk.ca","yk.ca","gc.ca","cat","cc","cd","gov.cd","cf","cg","ch","ci","org.ci","or.ci","com.ci","co.ci","edu.ci","ed.ci","ac.ci","net.ci","go.ci","asso.ci","aéroport.ci","int.ci","presse.ci","md.ci","gouv.ci","*.ck","!www.ck","cl","co.cl","gob.cl","gov.cl","mil.cl","cm","co.cm","com.cm","gov.cm","net.cm","cn","ac.cn","com.cn","edu.cn","gov.cn","net.cn","org.cn","mil.cn","公司.cn","网络.cn","網絡.cn","ah.cn","bj.cn","cq.cn","fj.cn","gd.cn","gs.cn","gz.cn","gx.cn","ha.cn","hb.cn","he.cn","hi.cn","hl.cn","hn.cn","jl.cn","js.cn","jx.cn","ln.cn","nm.cn","nx.cn","qh.cn","sc.cn","sd.cn","sh.cn","sn.cn","sx.cn","tj.cn","xj.cn","xz.cn","yn.cn","zj.cn","hk.cn","mo.cn","tw.cn","co","arts.co","com.co","edu.co","firm.co","gov.co","info.co","int.co","mil.co","net.co","nom.co","org.co","rec.co","web.co","com","coop","cr","ac.cr","co.cr","ed.cr","fi.cr","go.cr","or.cr","sa.cr","cu","com.cu","edu.cu","org.cu","net.cu","gov.cu","inf.cu","cv","com.cv","edu.cv","int.cv","nome.cv","org.cv","cw","com.cw","edu.cw","net.cw","org.cw","cx","gov.cx","cy","ac.cy","biz.cy","com.cy","ekloges.cy","gov.cy","ltd.cy","mil.cy","net.cy","org.cy","press.cy","pro.cy","tm.cy","cz","de","dj","dk","dm","com.dm","net.dm","org.dm","edu.dm","gov.dm","do","art.do","com.do","edu.do","gob.do","gov.do","mil.do","net.do","org.do","sld.do","web.do","dz","art.dz","asso.dz","com.dz","edu.dz","gov.dz","org.dz","net.dz","pol.dz","soc.dz","tm.dz","ec","com.ec","info.ec","net.ec","fin.ec","k12.ec","med.ec","pro.ec","org.ec","edu.ec","gov.ec","gob.ec","mil.ec","edu","ee","edu.ee","gov.ee","riik.ee","lib.ee","med.ee","com.ee","pri.ee","aip.ee","org.ee","fie.ee","eg","com.eg","edu.eg","eun.eg","gov.eg","mil.eg","name.eg","net.eg","org.eg","sci.eg","*.er","es","com.es","nom.es","org.es","gob.es","edu.es","et","com.et","gov.et","org.et","edu.et","biz.et","name.et","info.et","net.et","eu","fi","aland.fi","fj","ac.fj","biz.fj","com.fj","gov.fj","info.fj","mil.fj","name.fj","net.fj","org.fj","pro.fj","*.fk","com.fm","edu.fm","net.fm","org.fm","fm","fo","fr","asso.fr","com.fr","gouv.fr","nom.fr","prd.fr","tm.fr","aeroport.fr","avocat.fr","avoues.fr","cci.fr","chambagri.fr","chirurgiens-dentistes.fr","experts-comptables.fr","geometre-expert.fr","greta.fr","huissier-justice.fr","medecin.fr","notaires.fr","pharmacien.fr","port.fr","veterinaire.fr","ga","gb","edu.gd","gov.gd","gd","ge","com.ge","edu.ge","gov.ge","org.ge","mil.ge","net.ge","pvt.ge","gf","gg","co.gg","net.gg","org.gg","gh","com.gh","edu.gh","gov.gh","org.gh","mil.gh","gi","com.gi","ltd.gi","gov.gi","mod.gi","edu.gi","org.gi","gl","co.gl","com.gl","edu.gl","net.gl","org.gl","gm","gn","ac.gn","com.gn","edu.gn","gov.gn","org.gn","net.gn","gov","gp","com.gp","net.gp","mobi.gp","edu.gp","org.gp","asso.gp","gq","gr","com.gr","edu.gr","net.gr","org.gr","gov.gr","gs","gt","com.gt","edu.gt","gob.gt","ind.gt","mil.gt","net.gt","org.gt","gu","com.gu","edu.gu","gov.gu","guam.gu","info.gu","net.gu","org.gu","web.gu","gw","gy","co.gy","com.gy","edu.gy","gov.gy","net.gy","org.gy","hk","com.hk","edu.hk","gov.hk","idv.hk","net.hk","org.hk","公司.hk","教育.hk","敎育.hk","政府.hk","個人.hk","个��.hk","箇人.hk","網络.hk","网络.hk","组織.hk","網絡.hk","网絡.hk","组织.hk","組織.hk","組织.hk","hm","hn","com.hn","edu.hn","org.hn","net.hn","mil.hn","gob.hn","hr","iz.hr","from.hr","name.hr","com.hr","ht","com.ht","shop.ht","firm.ht","info.ht","adult.ht","net.ht","pro.ht","org.ht","med.ht","art.ht","coop.ht","pol.ht","asso.ht","edu.ht","rel.ht","gouv.ht","perso.ht","hu","co.hu","info.hu","org.hu","priv.hu","sport.hu","tm.hu","2000.hu","agrar.hu","bolt.hu","casino.hu","city.hu","erotica.hu","erotika.hu","film.hu","forum.hu","games.hu","hotel.hu","ingatlan.hu","jogasz.hu","konyvelo.hu","lakas.hu","media.hu","news.hu","reklam.hu","sex.hu","shop.hu","suli.hu","szex.hu","tozsde.hu","utazas.hu","video.hu","id","ac.id","biz.id","co.id","desa.id","go.id","mil.id","my.id","net.id","or.id","ponpes.id","sch.id","web.id","ie","gov.ie","il","ac.il","co.il","gov.il","idf.il","k12.il","muni.il","net.il","org.il","im","ac.im","co.im","com.im","ltd.co.im","net.im","org.im","plc.co.im","tt.im","tv.im","in","co.in","firm.in","net.in","org.in","gen.in","ind.in","nic.in","ac.in","edu.in","res.in","gov.in","mil.in","info","int","eu.int","io","com.io","iq","gov.iq","edu.iq","mil.iq","com.iq","org.iq","net.iq","ir","ac.ir","co.ir","gov.ir","id.ir","net.ir","org.ir","sch.ir","ایران.ir","ايران.ir","is","net.is","com.is","edu.is","gov.is","org.is","int.is","it","gov.it","edu.it","abr.it","abruzzo.it","aosta-valley.it","aostavalley.it","bas.it","basilicata.it","cal.it","calabria.it","cam.it","campania.it","emilia-romagna.it","emiliaromagna.it","emr.it","friuli-v-giulia.it","friuli-ve-giulia.it","friuli-vegiulia.it","friuli-venezia-giulia.it","friuli-veneziagiulia.it","friuli-vgiulia.it","friuliv-giulia.it","friulive-giulia.it","friulivegiulia.it","friulivenezia-giulia.it","friuliveneziagiulia.it","friulivgiulia.it","fvg.it","laz.it","lazio.it","lig.it","liguria.it","lom.it","lombardia.it","lombardy.it","lucania.it","mar.it","marche.it","mol.it","molise.it","piedmont.it","piemonte.it","pmn.it","pug.it","puglia.it","sar.it","sardegna.it","sardinia.it","sic.it","sicilia.it","sicily.it","taa.it","tos.it","toscana.it","trentin-sud-tirol.it","trentin-süd-tirol.it","trentin-sudtirol.it","trentin-südtirol.it","trentin-sued-tirol.it","trentin-suedtirol.it","trentino-a-adige.it","trentino-aadige.it","trentino-alto-adige.it","trentino-altoadige.it","trentino-s-tirol.it","trentino-stirol.it","trentino-sud-tirol.it","trentino-süd-tirol.it","trentino-sudtirol.it","trentino-südtirol.it","trentino-sued-tirol.it","trentino-suedtirol.it","trentino.it","trentinoa-adige.it","trentinoaadige.it","trentinoalto-adige.it","trentinoaltoadige.it","trentinos-tirol.it","trentinostirol.it","trentinosud-tirol.it","trentinosüd-tirol.it","trentinosudtirol.it","trentinosüdtirol.it","trentinosued-tirol.it","trentinosuedtirol.it","trentinsud-tirol.it","trentinsüd-tirol.it","trentinsudtirol.it","trentinsüdtirol.it","trentinsued-tirol.it","trentinsuedtirol.it","tuscany.it","umb.it","umbria.it","val-d-aosta.it","val-daosta.it","vald-aosta.it","valdaosta.it","valle-aosta.it","valle-d-aosta.it","valle-daosta.it","valleaosta.it","valled-aosta.it","valledaosta.it","vallee-aoste.it","vallée-aoste.it","vallee-d-aoste.it","vallée-d-aoste.it","valleeaoste.it","valléeaoste.it","valleedaoste.it","valléedaoste.it","vao.it","vda.it","ven.it","veneto.it","ag.it","agrigento.it","al.it","alessandria.it","alto-adige.it","altoadige.it","an.it","ancona.it","andria-barletta-trani.it","andria-trani-barletta.it","andriabarlettatrani.it","andriatranibarletta.it","ao.it","aosta.it","aoste.it","ap.it","aq.it","aquila.it","ar.it","arezzo.it","ascoli-piceno.it","ascolipiceno.it","asti.it","at.it","av.it","avellino.it","ba.it","balsan-sudtirol.it","balsan-südtirol.it","balsan-suedtirol.it","balsan.it","bari.it","barletta-trani-andria.it","barlettatraniandria.it","belluno.it","benevento.it","bergamo.it","bg.it","bi.it","biella.it","bl.it","bn.it","bo.it","bologna.it","bolzano-altoadige.it","bolzano.it","bozen-sudtirol.it","bozen-südtirol.it","bozen-suedtirol.it","bozen.it","br.it","brescia.it","brindisi.it","bs.it","bt.it","bulsan-sudtirol.it","bulsan-südtirol.it","bulsan-suedtirol.it","bulsan.it","bz.it","ca.it","cagliari.it","caltanissetta.it","campidano-medio.it","campidanomedio.it","campobasso.it","carbonia-iglesias.it","carboniaiglesias.it","carrara-massa.it","carraramassa.it","caserta.it","catania.it","catanzaro.it","cb.it","ce.it","cesena-forli.it","cesena-forlì.it","cesenaforli.it","cesenaforlì.it","ch.it","chieti.it","ci.it","cl.it","cn.it","co.it","como.it","cosenza.it","cr.it","cremona.it","crotone.it","cs.it","ct.it","cuneo.it","cz.it","dell-ogliastra.it","dellogliastra.it","en.it","enna.it","fc.it","fe.it","fermo.it","ferrara.it","fg.it","fi.it","firenze.it","florence.it","fm.it","foggia.it","forli-cesena.it","forlì-cesena.it","forlicesena.it","forlìcesena.it","fr.it","frosinone.it","ge.it","genoa.it","genova.it","go.it","gorizia.it","gr.it","grosseto.it","iglesias-carbonia.it","iglesiascarbonia.it","im.it","imperia.it","is.it","isernia.it","kr.it","la-spezia.it","laquila.it","laspezia.it","latina.it","lc.it","le.it","lecce.it","lecco.it","li.it","livorno.it","lo.it","lodi.it","lt.it","lu.it","lucca.it","macerata.it","mantova.it","massa-carrara.it","massacarrara.it","matera.it","mb.it","mc.it","me.it","medio-campidano.it","mediocampidano.it","messina.it","mi.it","milan.it","milano.it","mn.it","mo.it","modena.it","monza-brianza.it","monza-e-della-brianza.it","monza.it","monzabrianza.it","monzaebrianza.it","monzaedellabrianza.it","ms.it","mt.it","na.it","naples.it","napoli.it","no.it","novara.it","nu.it","nuoro.it","og.it","ogliastra.it","olbia-tempio.it","olbiatempio.it","or.it","oristano.it","ot.it","pa.it","padova.it","padua.it","palermo.it","parma.it","pavia.it","pc.it","pd.it","pe.it","perugia.it","pesaro-urbino.it","pesarourbino.it","pescara.it","pg.it","pi.it","piacenza.it","pisa.it","pistoia.it","pn.it","po.it","pordenone.it","potenza.it","pr.it","prato.it","pt.it","pu.it","pv.it","pz.it","ra.it","ragusa.it","ravenna.it","rc.it","re.it","reggio-calabria.it","reggio-emilia.it","reggiocalabria.it","reggioemilia.it","rg.it","ri.it","rieti.it","rimini.it","rm.it","rn.it","ro.it","roma.it","rome.it","rovigo.it","sa.it","salerno.it","sassari.it","savona.it","si.it","siena.it","siracusa.it","so.it","sondrio.it","sp.it","sr.it","ss.it","suedtirol.it","südtirol.it","sv.it","ta.it","taranto.it","te.it","tempio-olbia.it","tempioolbia.it","teramo.it","terni.it","tn.it","to.it","torino.it","tp.it","tr.it","trani-andria-barletta.it","trani-barletta-andria.it","traniandriabarletta.it","tranibarlettaandria.it","trapani.it","trento.it","treviso.it","trieste.it","ts.it","turin.it","tv.it","ud.it","udine.it","urbino-pesaro.it","urbinopesaro.it","va.it","varese.it","vb.it","vc.it","ve.it","venezia.it","venice.it","verbania.it","vercelli.it","verona.it","vi.it","vibo-valentia.it","vibovalentia.it","vicenza.it","viterbo.it","vr.it","vs.it","vt.it","vv.it","je","co.je","net.je","org.je","*.jm","jo","com.jo","org.jo","net.jo","edu.jo","sch.jo","gov.jo","mil.jo","name.jo","jobs","jp","ac.jp","ad.jp","co.jp","ed.jp","go.jp","gr.jp","lg.jp","ne.jp","or.jp","aichi.jp","akita.jp","aomori.jp","chiba.jp","ehime.jp","fukui.jp","fukuoka.jp","fukushima.jp","gifu.jp","gunma.jp","hiroshima.jp","hokkaido.jp","hyogo.jp","ibaraki.jp","ishikawa.jp","iwate.jp","kagawa.jp","kagoshima.jp","kanagawa.jp","kochi.jp","kumamoto.jp","kyoto.jp","mie.jp","miyagi.jp","miyazaki.jp","nagano.jp","nagasaki.jp","nara.jp","niigata.jp","oita.jp","okayama.jp","okinawa.jp","osaka.jp","saga.jp","saitama.jp","shiga.jp","shimane.jp","shizuoka.jp","tochigi.jp","tokushima.jp","tokyo.jp","tottori.jp","toyama.jp","wakayama.jp","yamagata.jp","yamaguchi.jp","yamanashi.jp","栃木.jp","愛知.jp","愛媛.jp","兵庫.jp","熊本.jp","茨城.jp","北海道.jp","千葉.jp","和歌山.jp","長崎.jp","長野.jp","新潟.jp","青森.jp","静岡.jp","東京.jp","石川.jp","埼玉.jp","三重.jp","京都.jp","佐賀.jp","大分.jp","大阪.jp","奈良.jp","宮城.jp","宮崎.jp","富山.jp","山口.jp","山形.jp","山梨.jp","岩手.jp","岐阜.jp","岡山.jp","島根.jp","広島.jp","徳島.jp","沖縄.jp","滋賀.jp","神奈川.jp","福井.jp","福岡.jp","福島.jp","秋田.jp","群馬.jp","香川.jp","高知.jp","鳥取.jp","鹿児島.jp","*.kawasaki.jp","*.kitakyushu.jp","*.kobe.jp","*.nagoya.jp","*.sapporo.jp","*.sendai.jp","*.yokohama.jp","!city.kawasaki.jp","!city.kitakyushu.jp","!city.kobe.jp","!city.nagoya.jp","!city.sapporo.jp","!city.sendai.jp","!city.yokohama.jp","aisai.aichi.jp","ama.aichi.jp","anjo.aichi.jp","asuke.aichi.jp","chiryu.aichi.jp","chita.aichi.jp","fuso.aichi.jp","gamagori.aichi.jp","handa.aichi.jp","hazu.aichi.jp","hekinan.aichi.jp","higashiura.aichi.jp","ichinomiya.aichi.jp","inazawa.aichi.jp","inuyama.aichi.jp","isshiki.aichi.jp","iwakura.aichi.jp","kanie.aichi.jp","kariya.aichi.jp","kasugai.aichi.jp","kira.aichi.jp","kiyosu.aichi.jp","komaki.aichi.jp","konan.aichi.jp","kota.aichi.jp","mihama.aichi.jp","miyoshi.aichi.jp","nishio.aichi.jp","nisshin.aichi.jp","obu.aichi.jp","oguchi.aichi.jp","oharu.aichi.jp","okazaki.aichi.jp","owariasahi.aichi.jp","seto.aichi.jp","shikatsu.aichi.jp","shinshiro.aichi.jp","shitara.aichi.jp","tahara.aichi.jp","takahama.aichi.jp","tobishima.aichi.jp","toei.aichi.jp","togo.aichi.jp","tokai.aichi.jp","tokoname.aichi.jp","toyoake.aichi.jp","toyohashi.aichi.jp","toyokawa.aichi.jp","toyone.aichi.jp","toyota.aichi.jp","tsushima.aichi.jp","yatomi.aichi.jp","akita.akita.jp","daisen.akita.jp","fujisato.akita.jp","gojome.akita.jp","hachirogata.akita.jp","happou.akita.jp","higashinaruse.akita.jp","honjo.akita.jp","honjyo.akita.jp","ikawa.akita.jp","kamikoani.akita.jp","kamioka.akita.jp","katagami.akita.jp","kazuno.akita.jp","kitaakita.akita.jp","kosaka.akita.jp","kyowa.akita.jp","misato.akita.jp","mitane.akita.jp","moriyoshi.akita.jp","nikaho.akita.jp","noshiro.akita.jp","odate.akita.jp","oga.akita.jp","ogata.akita.jp","semboku.akita.jp","yokote.akita.jp","yurihonjo.akita.jp","aomori.aomori.jp","gonohe.aomori.jp","hachinohe.aomori.jp","hashikami.aomori.jp","hiranai.aomori.jp","hirosaki.aomori.jp","itayanagi.aomori.jp","kuroishi.aomori.jp","misawa.aomori.jp","mutsu.aomori.jp","nakadomari.aomori.jp","noheji.aomori.jp","oirase.aomori.jp","owani.aomori.jp","rokunohe.aomori.jp","sannohe.aomori.jp","shichinohe.aomori.jp","shingo.aomori.jp","takko.aomori.jp","towada.aomori.jp","tsugaru.aomori.jp","tsuruta.aomori.jp","abiko.chiba.jp","asahi.chiba.jp","chonan.chiba.jp","chosei.chiba.jp","choshi.chiba.jp","chuo.chiba.jp","funabashi.chiba.jp","futtsu.chiba.jp","hanamigawa.chiba.jp","ichihara.chiba.jp","ichikawa.chiba.jp","ichinomiya.chiba.jp","inzai.chiba.jp","isumi.chiba.jp","kamagaya.chiba.jp","kamogawa.chiba.jp","kashiwa.chiba.jp","katori.chiba.jp","katsuura.chiba.jp","kimitsu.chiba.jp","kisarazu.chiba.jp","kozaki.chiba.jp","kujukuri.chiba.jp","kyonan.chiba.jp","matsudo.chiba.jp","midori.chiba.jp","mihama.chiba.jp","minamiboso.chiba.jp","mobara.chiba.jp","mutsuzawa.chiba.jp","nagara.chiba.jp","nagareyama.chiba.jp","narashino.chiba.jp","narita.chiba.jp","noda.chiba.jp","oamishirasato.chiba.jp","omigawa.chiba.jp","onjuku.chiba.jp","otaki.chiba.jp","sakae.chiba.jp","sakura.chiba.jp","shimofusa.chiba.jp","shirako.chiba.jp","shiroi.chiba.jp","shisui.chiba.jp","sodegaura.chiba.jp","sosa.chiba.jp","tako.chiba.jp","tateyama.chiba.jp","togane.chiba.jp","tohnosho.chiba.jp","tomisato.chiba.jp","urayasu.chiba.jp","yachimata.chiba.jp","yachiyo.chiba.jp","yokaichiba.chiba.jp","yokoshibahikari.chiba.jp","yotsukaido.chiba.jp","ainan.ehime.jp","honai.ehime.jp","ikata.ehime.jp","imabari.ehime.jp","iyo.ehime.jp","kamijima.ehime.jp","kihoku.ehime.jp","kumakogen.ehime.jp","masaki.ehime.jp","matsuno.ehime.jp","matsuyama.ehime.jp","namikata.ehime.jp","niihama.ehime.jp","ozu.ehime.jp","saijo.ehime.jp","seiyo.ehime.jp","shikokuchuo.ehime.jp","tobe.ehime.jp","toon.ehime.jp","uchiko.ehime.jp","uwajima.ehime.jp","yawatahama.ehime.jp","echizen.fukui.jp","eiheiji.fukui.jp","fukui.fukui.jp","ikeda.fukui.jp","katsuyama.fukui.jp","mihama.fukui.jp","minamiechizen.fukui.jp","obama.fukui.jp","ohi.fukui.jp","ono.fukui.jp","sabae.fukui.jp","sakai.fukui.jp","takahama.fukui.jp","tsuruga.fukui.jp","wakasa.fukui.jp","ashiya.fukuoka.jp","buzen.fukuoka.jp","chikugo.fukuoka.jp","chikuho.fukuoka.jp","chikujo.fukuoka.jp","chikushino.fukuoka.jp","chikuzen.fukuoka.jp","chuo.fukuoka.jp","dazaifu.fukuoka.jp","fukuchi.fukuoka.jp","hakata.fukuoka.jp","higashi.fukuoka.jp","hirokawa.fukuoka.jp","hisayama.fukuoka.jp","iizuka.fukuoka.jp","inatsuki.fukuoka.jp","kaho.fukuoka.jp","kasuga.fukuoka.jp","kasuya.fukuoka.jp","kawara.fukuoka.jp","keisen.fukuoka.jp","koga.fukuoka.jp","kurate.fukuoka.jp","kurogi.fukuoka.jp","kurume.fukuoka.jp","minami.fukuoka.jp","miyako.fukuoka.jp","miyama.fukuoka.jp","miyawaka.fukuoka.jp","mizumaki.fukuoka.jp","munakata.fukuoka.jp","nakagawa.fukuoka.jp","nakama.fukuoka.jp","nishi.fukuoka.jp","nogata.fukuoka.jp","ogori.fukuoka.jp","okagaki.fukuoka.jp","okawa.fukuoka.jp","oki.fukuoka.jp","omuta.fukuoka.jp","onga.fukuoka.jp","onojo.fukuoka.jp","oto.fukuoka.jp","saigawa.fukuoka.jp","sasaguri.fukuoka.jp","shingu.fukuoka.jp","shinyoshitomi.fukuoka.jp","shonai.fukuoka.jp","soeda.fukuoka.jp","sue.fukuoka.jp","tachiarai.fukuoka.jp","tagawa.fukuoka.jp","takata.fukuoka.jp","toho.fukuoka.jp","toyotsu.fukuoka.jp","tsuiki.fukuoka.jp","ukiha.fukuoka.jp","umi.fukuoka.jp","usui.fukuoka.jp","yamada.fukuoka.jp","yame.fukuoka.jp","yanagawa.fukuoka.jp","yukuhashi.fukuoka.jp","aizubange.fukushima.jp","aizumisato.fukushima.jp","aizuwakamatsu.fukushima.jp","asakawa.fukushima.jp","bandai.fukushima.jp","date.fukushima.jp","fukushima.fukushima.jp","furudono.fukushima.jp","futaba.fukushima.jp","hanawa.fukushima.jp","higashi.fukushima.jp","hirata.fukushima.jp","hirono.fukushima.jp","iitate.fukushima.jp","inawashiro.fukushima.jp","ishikawa.fukushima.jp","iwaki.fukushima.jp","izumizaki.fukushima.jp","kagamiishi.fukushima.jp","kaneyama.fukushima.jp","kawamata.fukushima.jp","kitakata.fukushima.jp","kitashiobara.fukushima.jp","koori.fukushima.jp","koriyama.fukushima.jp","kunimi.fukushima.jp","miharu.fukushima.jp","mishima.fukushima.jp","namie.fukushima.jp","nango.fukushima.jp","nishiaizu.fukushima.jp","nishigo.fukushima.jp","okuma.fukushima.jp","omotego.fukushima.jp","ono.fukushima.jp","otama.fukushima.jp","samegawa.fukushima.jp","shimogo.fukushima.jp","shirakawa.fukushima.jp","showa.fukushima.jp","soma.fukushima.jp","sukagawa.fukushima.jp","taishin.fukushima.jp","tamakawa.fukushima.jp","tanagura.fukushima.jp","tenei.fukushima.jp","yabuki.fukushima.jp","yamato.fukushima.jp","yamatsuri.fukushima.jp","yanaizu.fukushima.jp","yugawa.fukushima.jp","anpachi.gifu.jp","ena.gifu.jp","gifu.gifu.jp","ginan.gifu.jp","godo.gifu.jp","gujo.gifu.jp","hashima.gifu.jp","hichiso.gifu.jp","hida.gifu.jp","higashishirakawa.gifu.jp","ibigawa.gifu.jp","ikeda.gifu.jp","kakamigahara.gifu.jp","kani.gifu.jp","kasahara.gifu.jp","kasamatsu.gifu.jp","kawaue.gifu.jp","kitagata.gifu.jp","mino.gifu.jp","minokamo.gifu.jp","mitake.gifu.jp","mizunami.gifu.jp","motosu.gifu.jp","nakatsugawa.gifu.jp","ogaki.gifu.jp","sakahogi.gifu.jp","seki.gifu.jp","sekigahara.gifu.jp","shirakawa.gifu.jp","tajimi.gifu.jp","takayama.gifu.jp","tarui.gifu.jp","toki.gifu.jp","tomika.gifu.jp","wanouchi.gifu.jp","yamagata.gifu.jp","yaotsu.gifu.jp","yoro.gifu.jp","annaka.gunma.jp","chiyoda.gunma.jp","fujioka.gunma.jp","higashiagatsuma.gunma.jp","isesaki.gunma.jp","itakura.gunma.jp","kanna.gunma.jp","kanra.gunma.jp","katashina.gunma.jp","kawaba.gunma.jp","kiryu.gunma.jp","kusatsu.gunma.jp","maebashi.gunma.jp","meiwa.gunma.jp","midori.gunma.jp","minakami.gunma.jp","naganohara.gunma.jp","nakanojo.gunma.jp","nanmoku.gunma.jp","numata.gunma.jp","oizumi.gunma.jp","ora.gunma.jp","ota.gunma.jp","shibukawa.gunma.jp","shimonita.gunma.jp","shinto.gunma.jp","showa.gunma.jp","takasaki.gunma.jp","takayama.gunma.jp","tamamura.gunma.jp","tatebayashi.gunma.jp","tomioka.gunma.jp","tsukiyono.gunma.jp","tsumagoi.gunma.jp","ueno.gunma.jp","yoshioka.gunma.jp","asaminami.hiroshima.jp","daiwa.hiroshima.jp","etajima.hiroshima.jp","fuchu.hiroshima.jp","fukuyama.hiroshima.jp","hatsukaichi.hiroshima.jp","higashihiroshima.hiroshima.jp","hongo.hiroshima.jp","jinsekikogen.hiroshima.jp","kaita.hiroshima.jp","kui.hiroshima.jp","kumano.hiroshima.jp","kure.hiroshima.jp","mihara.hiroshima.jp","miyoshi.hiroshima.jp","naka.hiroshima.jp","onomichi.hiroshima.jp","osakikamijima.hiroshima.jp","otake.hiroshima.jp","saka.hiroshima.jp","sera.hiroshima.jp","seranishi.hiroshima.jp","shinichi.hiroshima.jp","shobara.hiroshima.jp","takehara.hiroshima.jp","abashiri.hokkaido.jp","abira.hokkaido.jp","aibetsu.hokkaido.jp","akabira.hokkaido.jp","akkeshi.hokkaido.jp","asahikawa.hokkaido.jp","ashibetsu.hokkaido.jp","ashoro.hokkaido.jp","assabu.hokkaido.jp","atsuma.hokkaido.jp","bibai.hokkaido.jp","biei.hokkaido.jp","bifuka.hokkaido.jp","bihoro.hokkaido.jp","biratori.hokkaido.jp","chippubetsu.hokkaido.jp","chitose.hokkaido.jp","date.hokkaido.jp","ebetsu.hokkaido.jp","embetsu.hokkaido.jp","eniwa.hokkaido.jp","erimo.hokkaido.jp","esan.hokkaido.jp","esashi.hokkaido.jp","fukagawa.hokkaido.jp","fukushima.hokkaido.jp","furano.hokkaido.jp","furubira.hokkaido.jp","haboro.hokkaido.jp","hakodate.hokkaido.jp","hamatonbetsu.hokkaido.jp","hidaka.hokkaido.jp","higashikagura.hokkaido.jp","higashikawa.hokkaido.jp","hiroo.hokkaido.jp","hokuryu.hokkaido.jp","hokuto.hokkaido.jp","honbetsu.hokkaido.jp","horokanai.hokkaido.jp","horonobe.hokkaido.jp","ikeda.hokkaido.jp","imakane.hokkaido.jp","ishikari.hokkaido.jp","iwamizawa.hokkaido.jp","iwanai.hokkaido.jp","kamifurano.hokkaido.jp","kamikawa.hokkaido.jp","kamishihoro.hokkaido.jp","kamisunagawa.hokkaido.jp","kamoenai.hokkaido.jp","kayabe.hokkaido.jp","kembuchi.hokkaido.jp","kikonai.hokkaido.jp","kimobetsu.hokkaido.jp","kitahiroshima.hokkaido.jp","kitami.hokkaido.jp","kiyosato.hokkaido.jp","koshimizu.hokkaido.jp","kunneppu.hokkaido.jp","kuriyama.hokkaido.jp","kuromatsunai.hokkaido.jp","kushiro.hokkaido.jp","kutchan.hokkaido.jp","kyowa.hokkaido.jp","mashike.hokkaido.jp","matsumae.hokkaido.jp","mikasa.hokkaido.jp","minamifurano.hokkaido.jp","mombetsu.hokkaido.jp","moseushi.hokkaido.jp","mukawa.hokkaido.jp","muroran.hokkaido.jp","naie.hokkaido.jp","nakagawa.hokkaido.jp","nakasatsunai.hokkaido.jp","nakatombetsu.hokkaido.jp","nanae.hokkaido.jp","nanporo.hokkaido.jp","nayoro.hokkaido.jp","nemuro.hokkaido.jp","niikappu.hokkaido.jp","niki.hokkaido.jp","nishiokoppe.hokkaido.jp","noboribetsu.hokkaido.jp","numata.hokkaido.jp","obihiro.hokkaido.jp","obira.hokkaido.jp","oketo.hokkaido.jp","okoppe.hokkaido.jp","otaru.hokkaido.jp","otobe.hokkaido.jp","otofuke.hokkaido.jp","otoineppu.hokkaido.jp","oumu.hokkaido.jp","ozora.hokkaido.jp","pippu.hokkaido.jp","rankoshi.hokkaido.jp","rebun.hokkaido.jp","rikubetsu.hokkaido.jp","rishiri.hokkaido.jp","rishirifuji.hokkaido.jp","saroma.hokkaido.jp","sarufutsu.hokkaido.jp","shakotan.hokkaido.jp","shari.hokkaido.jp","shibecha.hokkaido.jp","shibetsu.hokkaido.jp","shikabe.hokkaido.jp","shikaoi.hokkaido.jp","shimamaki.hokkaido.jp","shimizu.hokkaido.jp","shimokawa.hokkaido.jp","shinshinotsu.hokkaido.jp","shintoku.hokkaido.jp","shiranuka.hokkaido.jp","shiraoi.hokkaido.jp","shiriuchi.hokkaido.jp","sobetsu.hokkaido.jp","sunagawa.hokkaido.jp","taiki.hokkaido.jp","takasu.hokkaido.jp","takikawa.hokkaido.jp","takinoue.hokkaido.jp","teshikaga.hokkaido.jp","tobetsu.hokkaido.jp","tohma.hokkaido.jp","tomakomai.hokkaido.jp","tomari.hokkaido.jp","toya.hokkaido.jp","toyako.hokkaido.jp","toyotomi.hokkaido.jp","toyoura.hokkaido.jp","tsubetsu.hokkaido.jp","tsukigata.hokkaido.jp","urakawa.hokkaido.jp","urausu.hokkaido.jp","uryu.hokkaido.jp","utashinai.hokkaido.jp","wakkanai.hokkaido.jp","wassamu.hokkaido.jp","yakumo.hokkaido.jp","yoichi.hokkaido.jp","aioi.hyogo.jp","akashi.hyogo.jp","ako.hyogo.jp","amagasaki.hyogo.jp","aogaki.hyogo.jp","asago.hyogo.jp","ashiya.hyogo.jp","awaji.hyogo.jp","fukusaki.hyogo.jp","goshiki.hyogo.jp","harima.hyogo.jp","himeji.hyogo.jp","ichikawa.hyogo.jp","inagawa.hyogo.jp","itami.hyogo.jp","kakogawa.hyogo.jp","kamigori.hyogo.jp","kamikawa.hyogo.jp","kasai.hyogo.jp","kasuga.hyogo.jp","kawanishi.hyogo.jp","miki.hyogo.jp","minamiawaji.hyogo.jp","nishinomiya.hyogo.jp","nishiwaki.hyogo.jp","ono.hyogo.jp","sanda.hyogo.jp","sannan.hyogo.jp","sasayama.hyogo.jp","sayo.hyogo.jp","shingu.hyogo.jp","shinonsen.hyogo.jp","shiso.hyogo.jp","sumoto.hyogo.jp","taishi.hyogo.jp","taka.hyogo.jp","takarazuka.hyogo.jp","takasago.hyogo.jp","takino.hyogo.jp","tamba.hyogo.jp","tatsuno.hyogo.jp","toyooka.hyogo.jp","yabu.hyogo.jp","yashiro.hyogo.jp","yoka.hyogo.jp","yokawa.hyogo.jp","ami.ibaraki.jp","asahi.ibaraki.jp","bando.ibaraki.jp","chikusei.ibaraki.jp","daigo.ibaraki.jp","fujishiro.ibaraki.jp","hitachi.ibaraki.jp","hitachinaka.ibaraki.jp","hitachiomiya.ibaraki.jp","hitachiota.ibaraki.jp","ibaraki.ibaraki.jp","ina.ibaraki.jp","inashiki.ibaraki.jp","itako.ibaraki.jp","iwama.ibaraki.jp","joso.ibaraki.jp","kamisu.ibaraki.jp","kasama.ibaraki.jp","kashima.ibaraki.jp","kasumigaura.ibaraki.jp","koga.ibaraki.jp","miho.ibaraki.jp","mito.ibaraki.jp","moriya.ibaraki.jp","naka.ibaraki.jp","namegata.ibaraki.jp","oarai.ibaraki.jp","ogawa.ibaraki.jp","omitama.ibaraki.jp","ryugasaki.ibaraki.jp","sakai.ibaraki.jp","sakuragawa.ibaraki.jp","shimodate.ibaraki.jp","shimotsuma.ibaraki.jp","shirosato.ibaraki.jp","sowa.ibaraki.jp","suifu.ibaraki.jp","takahagi.ibaraki.jp","tamatsukuri.ibaraki.jp","tokai.ibaraki.jp","tomobe.ibaraki.jp","tone.ibaraki.jp","toride.ibaraki.jp","tsuchiura.ibaraki.jp","tsukuba.ibaraki.jp","uchihara.ibaraki.jp","ushiku.ibaraki.jp","yachiyo.ibaraki.jp","yamagata.ibaraki.jp","yawara.ibaraki.jp","yuki.ibaraki.jp","anamizu.ishikawa.jp","hakui.ishikawa.jp","hakusan.ishikawa.jp","kaga.ishikawa.jp","kahoku.ishikawa.jp","kanazawa.ishikawa.jp","kawakita.ishikawa.jp","komatsu.ishikawa.jp","nakanoto.ishikawa.jp","nanao.ishikawa.jp","nomi.ishikawa.jp","nonoichi.ishikawa.jp","noto.ishikawa.jp","shika.ishikawa.jp","suzu.ishikawa.jp","tsubata.ishikawa.jp","tsurugi.ishikawa.jp","uchinada.ishikawa.jp","wajima.ishikawa.jp","fudai.iwate.jp","fujisawa.iwate.jp","hanamaki.iwate.jp","hiraizumi.iwate.jp","hirono.iwate.jp","ichinohe.iwate.jp","ichinoseki.iwate.jp","iwaizumi.iwate.jp","iwate.iwate.jp","joboji.iwate.jp","kamaishi.iwate.jp","kanegasaki.iwate.jp","karumai.iwate.jp","kawai.iwate.jp","kitakami.iwate.jp","kuji.iwate.jp","kunohe.iwate.jp","kuzumaki.iwate.jp","miyako.iwate.jp","mizusawa.iwate.jp","morioka.iwate.jp","ninohe.iwate.jp","noda.iwate.jp","ofunato.iwate.jp","oshu.iwate.jp","otsuchi.iwate.jp","rikuzentakata.iwate.jp","shiwa.iwate.jp","shizukuishi.iwate.jp","sumita.iwate.jp","tanohata.iwate.jp","tono.iwate.jp","yahaba.iwate.jp","yamada.iwate.jp","ayagawa.kagawa.jp","higashikagawa.kagawa.jp","kanonji.kagawa.jp","kotohira.kagawa.jp","manno.kagawa.jp","marugame.kagawa.jp","mitoyo.kagawa.jp","naoshima.kagawa.jp","sanuki.kagawa.jp","tadotsu.kagawa.jp","takamatsu.kagawa.jp","tonosho.kagawa.jp","uchinomi.kagawa.jp","utazu.kagawa.jp","zentsuji.kagawa.jp","akune.kagoshima.jp","amami.kagoshima.jp","hioki.kagoshima.jp","isa.kagoshima.jp","isen.kagoshima.jp","izumi.kagoshima.jp","kagoshima.kagoshima.jp","kanoya.kagoshima.jp","kawanabe.kagoshima.jp","kinko.kagoshima.jp","kouyama.kagoshima.jp","makurazaki.kagoshima.jp","matsumoto.kagoshima.jp","minamitane.kagoshima.jp","nakatane.kagoshima.jp","nishinoomote.kagoshima.jp","satsumasendai.kagoshima.jp","soo.kagoshima.jp","tarumizu.kagoshima.jp","yusui.kagoshima.jp","aikawa.kanagawa.jp","atsugi.kanagawa.jp","ayase.kanagawa.jp","chigasaki.kanagawa.jp","ebina.kanagawa.jp","fujisawa.kanagawa.jp","hadano.kanagawa.jp","hakone.kanagawa.jp","hiratsuka.kanagawa.jp","isehara.kanagawa.jp","kaisei.kanagawa.jp","kamakura.kanagawa.jp","kiyokawa.kanagawa.jp","matsuda.kanagawa.jp","minamiashigara.kanagawa.jp","miura.kanagawa.jp","nakai.kanagawa.jp","ninomiya.kanagawa.jp","odawara.kanagawa.jp","oi.kanagawa.jp","oiso.kanagawa.jp","sagamihara.kanagawa.jp","samukawa.kanagawa.jp","tsukui.kanagawa.jp","yamakita.kanagawa.jp","yamato.kanagawa.jp","yokosuka.kanagawa.jp","yugawara.kanagawa.jp","zama.kanagawa.jp","zushi.kanagawa.jp","aki.kochi.jp","geisei.kochi.jp","hidaka.kochi.jp","higashitsuno.kochi.jp","ino.kochi.jp","kagami.kochi.jp","kami.kochi.jp","kitagawa.kochi.jp","kochi.kochi.jp","mihara.kochi.jp","motoyama.kochi.jp","muroto.kochi.jp","nahari.kochi.jp","nakamura.kochi.jp","nankoku.kochi.jp","nishitosa.kochi.jp","niyodogawa.kochi.jp","ochi.kochi.jp","okawa.kochi.jp","otoyo.kochi.jp","otsuki.kochi.jp","sakawa.kochi.jp","sukumo.kochi.jp","susaki.kochi.jp","tosa.kochi.jp","tosashimizu.kochi.jp","toyo.kochi.jp","tsuno.kochi.jp","umaji.kochi.jp","yasuda.kochi.jp","yusuhara.kochi.jp","amakusa.kumamoto.jp","arao.kumamoto.jp","aso.kumamoto.jp","choyo.kumamoto.jp","gyokuto.kumamoto.jp","kamiamakusa.kumamoto.jp","kikuchi.kumamoto.jp","kumamoto.kumamoto.jp","mashiki.kumamoto.jp","mifune.kumamoto.jp","minamata.kumamoto.jp","minamioguni.kumamoto.jp","nagasu.kumamoto.jp","nishihara.kumamoto.jp","oguni.kumamoto.jp","ozu.kumamoto.jp","sumoto.kumamoto.jp","takamori.kumamoto.jp","uki.kumamoto.jp","uto.kumamoto.jp","yamaga.kumamoto.jp","yamato.kumamoto.jp","yatsushiro.kumamoto.jp","ayabe.kyoto.jp","fukuchiyama.kyoto.jp","higashiyama.kyoto.jp","ide.kyoto.jp","ine.kyoto.jp","joyo.kyoto.jp","kameoka.kyoto.jp","kamo.kyoto.jp","kita.kyoto.jp","kizu.kyoto.jp","kumiyama.kyoto.jp","kyotamba.kyoto.jp","kyotanabe.kyoto.jp","kyotango.kyoto.jp","maizuru.kyoto.jp","minami.kyoto.jp","minamiyamashiro.kyoto.jp","miyazu.kyoto.jp","muko.kyoto.jp","nagaokakyo.kyoto.jp","nakagyo.kyoto.jp","nantan.kyoto.jp","oyamazaki.kyoto.jp","sakyo.kyoto.jp","seika.kyoto.jp","tanabe.kyoto.jp","uji.kyoto.jp","ujitawara.kyoto.jp","wazuka.kyoto.jp","yamashina.kyoto.jp","yawata.kyoto.jp","asahi.mie.jp","inabe.mie.jp","ise.mie.jp","kameyama.mie.jp","kawagoe.mie.jp","kiho.mie.jp","kisosaki.mie.jp","kiwa.mie.jp","komono.mie.jp","kumano.mie.jp","kuwana.mie.jp","matsusaka.mie.jp","meiwa.mie.jp","mihama.mie.jp","minamiise.mie.jp","misugi.mie.jp","miyama.mie.jp","nabari.mie.jp","shima.mie.jp","suzuka.mie.jp","tado.mie.jp","taiki.mie.jp","taki.mie.jp","tamaki.mie.jp","toba.mie.jp","tsu.mie.jp","udono.mie.jp","ureshino.mie.jp","watarai.mie.jp","yokkaichi.mie.jp","furukawa.miyagi.jp","higashimatsushima.miyagi.jp","ishinomaki.miyagi.jp","iwanuma.miyagi.jp","kakuda.miyagi.jp","kami.miyagi.jp","kawasaki.miyagi.jp","marumori.miyagi.jp","matsushima.miyagi.jp","minamisanriku.miyagi.jp","misato.miyagi.jp","murata.miyagi.jp","natori.miyagi.jp","ogawara.miyagi.jp","ohira.miyagi.jp","onagawa.miyagi.jp","osaki.miyagi.jp","rifu.miyagi.jp","semine.miyagi.jp","shibata.miyagi.jp","shichikashuku.miyagi.jp","shikama.miyagi.jp","shiogama.miyagi.jp","shiroishi.miyagi.jp","tagajo.miyagi.jp","taiwa.miyagi.jp","tome.miyagi.jp","tomiya.miyagi.jp","wakuya.miyagi.jp","watari.miyagi.jp","yamamoto.miyagi.jp","zao.miyagi.jp","aya.miyazaki.jp","ebino.miyazaki.jp","gokase.miyazaki.jp","hyuga.miyazaki.jp","kadogawa.miyazaki.jp","kawaminami.miyazaki.jp","kijo.miyazaki.jp","kitagawa.miyazaki.jp","kitakata.miyazaki.jp","kitaura.miyazaki.jp","kobayashi.miyazaki.jp","kunitomi.miyazaki.jp","kushima.miyazaki.jp","mimata.miyazaki.jp","miyakonojo.miyazaki.jp","miyazaki.miyazaki.jp","morotsuka.miyazaki.jp","nichinan.miyazaki.jp","nishimera.miyazaki.jp","nobeoka.miyazaki.jp","saito.miyazaki.jp","shiiba.miyazaki.jp","shintomi.miyazaki.jp","takaharu.miyazaki.jp","takanabe.miyazaki.jp","takazaki.miyazaki.jp","tsuno.miyazaki.jp","achi.nagano.jp","agematsu.nagano.jp","anan.nagano.jp","aoki.nagano.jp","asahi.nagano.jp","azumino.nagano.jp","chikuhoku.nagano.jp","chikuma.nagano.jp","chino.nagano.jp","fujimi.nagano.jp","hakuba.nagano.jp","hara.nagano.jp","hiraya.nagano.jp","iida.nagano.jp","iijima.nagano.jp","iiyama.nagano.jp","iizuna.nagano.jp","ikeda.nagano.jp","ikusaka.nagano.jp","ina.nagano.jp","karuizawa.nagano.jp","kawakami.nagano.jp","kiso.nagano.jp","kisofukushima.nagano.jp","kitaaiki.nagano.jp","komagane.nagano.jp","komoro.nagano.jp","matsukawa.nagano.jp","matsumoto.nagano.jp","miasa.nagano.jp","minamiaiki.nagano.jp","minamimaki.nagano.jp","minamiminowa.nagano.jp","minowa.nagano.jp","miyada.nagano.jp","miyota.nagano.jp","mochizuki.nagano.jp","nagano.nagano.jp","nagawa.nagano.jp","nagiso.nagano.jp","nakagawa.nagano.jp","nakano.nagano.jp","nozawaonsen.nagano.jp","obuse.nagano.jp","ogawa.nagano.jp","okaya.nagano.jp","omachi.nagano.jp","omi.nagano.jp","ookuwa.nagano.jp","ooshika.nagano.jp","otaki.nagano.jp","otari.nagano.jp","sakae.nagano.jp","sakaki.nagano.jp","saku.nagano.jp","sakuho.nagano.jp","shimosuwa.nagano.jp","shinanomachi.nagano.jp","shiojiri.nagano.jp","suwa.nagano.jp","suzaka.nagano.jp","takagi.nagano.jp","takamori.nagano.jp","takayama.nagano.jp","tateshina.nagano.jp","tatsuno.nagano.jp","togakushi.nagano.jp","togura.nagano.jp","tomi.nagano.jp","ueda.nagano.jp","wada.nagano.jp","yamagata.nagano.jp","yamanouchi.nagano.jp","yasaka.nagano.jp","yasuoka.nagano.jp","chijiwa.nagasaki.jp","futsu.nagasaki.jp","goto.nagasaki.jp","hasami.nagasaki.jp","hirado.nagasaki.jp","iki.nagasaki.jp","isahaya.nagasaki.jp","kawatana.nagasaki.jp","kuchinotsu.nagasaki.jp","matsuura.nagasaki.jp","nagasaki.nagasaki.jp","obama.nagasaki.jp","omura.nagasaki.jp","oseto.nagasaki.jp","saikai.nagasaki.jp","sasebo.nagasaki.jp","seihi.nagasaki.jp","shimabara.nagasaki.jp","shinkamigoto.nagasaki.jp","togitsu.nagasaki.jp","tsushima.nagasaki.jp","unzen.nagasaki.jp","ando.nara.jp","gose.nara.jp","heguri.nara.jp","higashiyoshino.nara.jp","ikaruga.nara.jp","ikoma.nara.jp","kamikitayama.nara.jp","kanmaki.nara.jp","kashiba.nara.jp","kashihara.nara.jp","katsuragi.nara.jp","kawai.nara.jp","kawakami.nara.jp","kawanishi.nara.jp","koryo.nara.jp","kurotaki.nara.jp","mitsue.nara.jp","miyake.nara.jp","nara.nara.jp","nosegawa.nara.jp","oji.nara.jp","ouda.nara.jp","oyodo.nara.jp","sakurai.nara.jp","sango.nara.jp","shimoichi.nara.jp","shimokitayama.nara.jp","shinjo.nara.jp","soni.nara.jp","takatori.nara.jp","tawaramoto.nara.jp","tenkawa.nara.jp","tenri.nara.jp","uda.nara.jp","yamatokoriyama.nara.jp","yamatotakada.nara.jp","yamazoe.nara.jp","yoshino.nara.jp","aga.niigata.jp","agano.niigata.jp","gosen.niigata.jp","itoigawa.niigata.jp","izumozaki.niigata.jp","joetsu.niigata.jp","kamo.niigata.jp","kariwa.niigata.jp","kashiwazaki.niigata.jp","minamiuonuma.niigata.jp","mitsuke.niigata.jp","muika.niigata.jp","murakami.niigata.jp","myoko.niigata.jp","nagaoka.niigata.jp","niigata.niigata.jp","ojiya.niigata.jp","omi.niigata.jp","sado.niigata.jp","sanjo.niigata.jp","seiro.niigata.jp","seirou.niigata.jp","sekikawa.niigata.jp","shibata.niigata.jp","tagami.niigata.jp","tainai.niigata.jp","tochio.niigata.jp","tokamachi.niigata.jp","tsubame.niigata.jp","tsunan.niigata.jp","uonuma.niigata.jp","yahiko.niigata.jp","yoita.niigata.jp","yuzawa.niigata.jp","beppu.oita.jp","bungoono.oita.jp","bungotakada.oita.jp","hasama.oita.jp","hiji.oita.jp","himeshima.oita.jp","hita.oita.jp","kamitsue.oita.jp","kokonoe.oita.jp","kuju.oita.jp","kunisaki.oita.jp","kusu.oita.jp","oita.oita.jp","saiki.oita.jp","taketa.oita.jp","tsukumi.oita.jp","usa.oita.jp","usuki.oita.jp","yufu.oita.jp","akaiwa.okayama.jp","asakuchi.okayama.jp","bizen.okayama.jp","hayashima.okayama.jp","ibara.okayama.jp","kagamino.okayama.jp","kasaoka.okayama.jp","kibichuo.okayama.jp","kumenan.okayama.jp","kurashiki.okayama.jp","maniwa.okayama.jp","misaki.okayama.jp","nagi.okayama.jp","niimi.okayama.jp","nishiawakura.okayama.jp","okayama.okayama.jp","satosho.okayama.jp","setouchi.okayama.jp","shinjo.okayama.jp","shoo.okayama.jp","soja.okayama.jp","takahashi.okayama.jp","tamano.okayama.jp","tsuyama.okayama.jp","wake.okayama.jp","yakage.okayama.jp","aguni.okinawa.jp","ginowan.okinawa.jp","ginoza.okinawa.jp","gushikami.okinawa.jp","haebaru.okinawa.jp","higashi.okinawa.jp","hirara.okinawa.jp","iheya.okinawa.jp","ishigaki.okinawa.jp","ishikawa.okinawa.jp","itoman.okinawa.jp","izena.okinawa.jp","kadena.okinawa.jp","kin.okinawa.jp","kitadaito.okinawa.jp","kitanakagusuku.okinawa.jp","kumejima.okinawa.jp","kunigami.okinawa.jp","minamidaito.okinawa.jp","motobu.okinawa.jp","nago.okinawa.jp","naha.okinawa.jp","nakagusuku.okinawa.jp","nakijin.okinawa.jp","nanjo.okinawa.jp","nishihara.okinawa.jp","ogimi.okinawa.jp","okinawa.okinawa.jp","onna.okinawa.jp","shimoji.okinawa.jp","taketomi.okinawa.jp","tarama.okinawa.jp","tokashiki.okinawa.jp","tomigusuku.okinawa.jp","tonaki.okinawa.jp","urasoe.okinawa.jp","uruma.okinawa.jp","yaese.okinawa.jp","yomitan.okinawa.jp","yonabaru.okinawa.jp","yonaguni.okinawa.jp","zamami.okinawa.jp","abeno.osaka.jp","chihayaakasaka.osaka.jp","chuo.osaka.jp","daito.osaka.jp","fujiidera.osaka.jp","habikino.osaka.jp","hannan.osaka.jp","higashiosaka.osaka.jp","higashisumiyoshi.osaka.jp","higashiyodogawa.osaka.jp","hirakata.osaka.jp","ibaraki.osaka.jp","ikeda.osaka.jp","izumi.osaka.jp","izumiotsu.osaka.jp","izumisano.osaka.jp","kadoma.osaka.jp","kaizuka.osaka.jp","kanan.osaka.jp","kashiwara.osaka.jp","katano.osaka.jp","kawachinagano.osaka.jp","kishiwada.osaka.jp","kita.osaka.jp","kumatori.osaka.jp","matsubara.osaka.jp","minato.osaka.jp","minoh.osaka.jp","misaki.osaka.jp","moriguchi.osaka.jp","neyagawa.osaka.jp","nishi.osaka.jp","nose.osaka.jp","osakasayama.osaka.jp","sakai.osaka.jp","sayama.osaka.jp","sennan.osaka.jp","settsu.osaka.jp","shijonawate.osaka.jp","shimamoto.osaka.jp","suita.osaka.jp","tadaoka.osaka.jp","taishi.osaka.jp","tajiri.osaka.jp","takaishi.osaka.jp","takatsuki.osaka.jp","tondabayashi.osaka.jp","toyonaka.osaka.jp","toyono.osaka.jp","yao.osaka.jp","ariake.saga.jp","arita.saga.jp","fukudomi.saga.jp","genkai.saga.jp","hamatama.saga.jp","hizen.saga.jp","imari.saga.jp","kamimine.saga.jp","kanzaki.saga.jp","karatsu.saga.jp","kashima.saga.jp","kitagata.saga.jp","kitahata.saga.jp","kiyama.saga.jp","kouhoku.saga.jp","kyuragi.saga.jp","nishiarita.saga.jp","ogi.saga.jp","omachi.saga.jp","ouchi.saga.jp","saga.saga.jp","shiroishi.saga.jp","taku.saga.jp","tara.saga.jp","tosu.saga.jp","yoshinogari.saga.jp","arakawa.saitama.jp","asaka.saitama.jp","chichibu.saitama.jp","fujimi.saitama.jp","fujimino.saitama.jp","fukaya.saitama.jp","hanno.saitama.jp","hanyu.saitama.jp","hasuda.saitama.jp","hatogaya.saitama.jp","hatoyama.saitama.jp","hidaka.saitama.jp","higashichichibu.saitama.jp","higashimatsuyama.saitama.jp","honjo.saitama.jp","ina.saitama.jp","iruma.saitama.jp","iwatsuki.saitama.jp","kamiizumi.saitama.jp","kamikawa.saitama.jp","kamisato.saitama.jp","kasukabe.saitama.jp","kawagoe.saitama.jp","kawaguchi.saitama.jp","kawajima.saitama.jp","kazo.saitama.jp","kitamoto.saitama.jp","koshigaya.saitama.jp","kounosu.saitama.jp","kuki.saitama.jp","kumagaya.saitama.jp","matsubushi.saitama.jp","minano.saitama.jp","misato.saitama.jp","miyashiro.saitama.jp","miyoshi.saitama.jp","moroyama.saitama.jp","nagatoro.saitama.jp","namegawa.saitama.jp","niiza.saitama.jp","ogano.saitama.jp","ogawa.saitama.jp","ogose.saitama.jp","okegawa.saitama.jp","omiya.saitama.jp","otaki.saitama.jp","ranzan.saitama.jp","ryokami.saitama.jp","saitama.saitama.jp","sakado.saitama.jp","satte.saitama.jp","sayama.saitama.jp","shiki.saitama.jp","shiraoka.saitama.jp","soka.saitama.jp","sugito.saitama.jp","toda.saitama.jp","tokigawa.saitama.jp","tokorozawa.saitama.jp","tsurugashima.saitama.jp","urawa.saitama.jp","warabi.saitama.jp","yashio.saitama.jp","yokoze.saitama.jp","yono.saitama.jp","yorii.saitama.jp","yoshida.saitama.jp","yoshikawa.saitama.jp","yoshimi.saitama.jp","aisho.shiga.jp","gamo.shiga.jp","higashiomi.shiga.jp","hikone.shiga.jp","koka.shiga.jp","konan.shiga.jp","kosei.shiga.jp","koto.shiga.jp","kusatsu.shiga.jp","maibara.shiga.jp","moriyama.shiga.jp","nagahama.shiga.jp","nishiazai.shiga.jp","notogawa.shiga.jp","omihachiman.shiga.jp","otsu.shiga.jp","ritto.shiga.jp","ryuoh.shiga.jp","takashima.shiga.jp","takatsuki.shiga.jp","torahime.shiga.jp","toyosato.shiga.jp","yasu.shiga.jp","akagi.shimane.jp","ama.shimane.jp","gotsu.shimane.jp","hamada.shimane.jp","higashiizumo.shimane.jp","hikawa.shimane.jp","hikimi.shimane.jp","izumo.shimane.jp","kakinoki.shimane.jp","masuda.shimane.jp","matsue.shimane.jp","misato.shimane.jp","nishinoshima.shimane.jp","ohda.shimane.jp","okinoshima.shimane.jp","okuizumo.shimane.jp","shimane.shimane.jp","tamayu.shimane.jp","tsuwano.shimane.jp","unnan.shimane.jp","yakumo.shimane.jp","yasugi.shimane.jp","yatsuka.shimane.jp","arai.shizuoka.jp","atami.shizuoka.jp","fuji.shizuoka.jp","fujieda.shizuoka.jp","fujikawa.shizuoka.jp","fujinomiya.shizuoka.jp","fukuroi.shizuoka.jp","gotemba.shizuoka.jp","haibara.shizuoka.jp","hamamatsu.shizuoka.jp","higashiizu.shizuoka.jp","ito.shizuoka.jp","iwata.shizuoka.jp","izu.shizuoka.jp","izunokuni.shizuoka.jp","kakegawa.shizuoka.jp","kannami.shizuoka.jp","kawanehon.shizuoka.jp","kawazu.shizuoka.jp","kikugawa.shizuoka.jp","kosai.shizuoka.jp","makinohara.shizuoka.jp","matsuzaki.shizuoka.jp","minamiizu.shizuoka.jp","mishima.shizuoka.jp","morimachi.shizuoka.jp","nishiizu.shizuoka.jp","numazu.shizuoka.jp","omaezaki.shizuoka.jp","shimada.shizuoka.jp","shimizu.shizuoka.jp","shimoda.shizuoka.jp","shizuoka.shizuoka.jp","susono.shizuoka.jp","yaizu.shizuoka.jp","yoshida.shizuoka.jp","ashikaga.tochigi.jp","bato.tochigi.jp","haga.tochigi.jp","ichikai.tochigi.jp","iwafune.tochigi.jp","kaminokawa.tochigi.jp","kanuma.tochigi.jp","karasuyama.tochigi.jp","kuroiso.tochigi.jp","mashiko.tochigi.jp","mibu.tochigi.jp","moka.tochigi.jp","motegi.tochigi.jp","nasu.tochigi.jp","nasushiobara.tochigi.jp","nikko.tochigi.jp","nishikata.tochigi.jp","nogi.tochigi.jp","ohira.tochigi.jp","ohtawara.tochigi.jp","oyama.tochigi.jp","sakura.tochigi.jp","sano.tochigi.jp","shimotsuke.tochigi.jp","shioya.tochigi.jp","takanezawa.tochigi.jp","tochigi.tochigi.jp","tsuga.tochigi.jp","ujiie.tochigi.jp","utsunomiya.tochigi.jp","yaita.tochigi.jp","aizumi.tokushima.jp","anan.tokushima.jp","ichiba.tokushima.jp","itano.tokushima.jp","kainan.tokushima.jp","komatsushima.tokushima.jp","matsushige.tokushima.jp","mima.tokushima.jp","minami.tokushima.jp","miyoshi.tokushima.jp","mugi.tokushima.jp","nakagawa.tokushima.jp","naruto.tokushima.jp","sanagochi.tokushima.jp","shishikui.tokushima.jp","tokushima.tokushima.jp","wajiki.tokushima.jp","adachi.tokyo.jp","akiruno.tokyo.jp","akishima.tokyo.jp","aogashima.tokyo.jp","arakawa.tokyo.jp","bunkyo.tokyo.jp","chiyoda.tokyo.jp","chofu.tokyo.jp","chuo.tokyo.jp","edogawa.tokyo.jp","fuchu.tokyo.jp","fussa.tokyo.jp","hachijo.tokyo.jp","hachioji.tokyo.jp","hamura.tokyo.jp","higashikurume.tokyo.jp","higashimurayama.tokyo.jp","higashiyamato.tokyo.jp","hino.tokyo.jp","hinode.tokyo.jp","hinohara.tokyo.jp","inagi.tokyo.jp","itabashi.tokyo.jp","katsushika.tokyo.jp","kita.tokyo.jp","kiyose.tokyo.jp","kodaira.tokyo.jp","koganei.tokyo.jp","kokubunji.tokyo.jp","komae.tokyo.jp","koto.tokyo.jp","kouzushima.tokyo.jp","kunitachi.tokyo.jp","machida.tokyo.jp","meguro.tokyo.jp","minato.tokyo.jp","mitaka.tokyo.jp","mizuho.tokyo.jp","musashimurayama.tokyo.jp","musashino.tokyo.jp","nakano.tokyo.jp","nerima.tokyo.jp","ogasawara.tokyo.jp","okutama.tokyo.jp","ome.tokyo.jp","oshima.tokyo.jp","ota.tokyo.jp","setagaya.tokyo.jp","shibuya.tokyo.jp","shinagawa.tokyo.jp","shinjuku.tokyo.jp","suginami.tokyo.jp","sumida.tokyo.jp","tachikawa.tokyo.jp","taito.tokyo.jp","tama.tokyo.jp","toshima.tokyo.jp","chizu.tottori.jp","hino.tottori.jp","kawahara.tottori.jp","koge.tottori.jp","kotoura.tottori.jp","misasa.tottori.jp","nanbu.tottori.jp","nichinan.tottori.jp","sakaiminato.tottori.jp","tottori.tottori.jp","wakasa.tottori.jp","yazu.tottori.jp","yonago.tottori.jp","asahi.toyama.jp","fuchu.toyama.jp","fukumitsu.toyama.jp","funahashi.toyama.jp","himi.toyama.jp","imizu.toyama.jp","inami.toyama.jp","johana.toyama.jp","kamiichi.toyama.jp","kurobe.toyama.jp","nakaniikawa.toyama.jp","namerikawa.toyama.jp","nanto.toyama.jp","nyuzen.toyama.jp","oyabe.toyama.jp","taira.toyama.jp","takaoka.toyama.jp","tateyama.toyama.jp","toga.toyama.jp","tonami.toyama.jp","toyama.toyama.jp","unazuki.toyama.jp","uozu.toyama.jp","yamada.toyama.jp","arida.wakayama.jp","aridagawa.wakayama.jp","gobo.wakayama.jp","hashimoto.wakayama.jp","hidaka.wakayama.jp","hirogawa.wakayama.jp","inami.wakayama.jp","iwade.wakayama.jp","kainan.wakayama.jp","kamitonda.wakayama.jp","katsuragi.wakayama.jp","kimino.wakayama.jp","kinokawa.wakayama.jp","kitayama.wakayama.jp","koya.wakayama.jp","koza.wakayama.jp","kozagawa.wakayama.jp","kudoyama.wakayama.jp","kushimoto.wakayama.jp","mihama.wakayama.jp","misato.wakayama.jp","nachikatsuura.wakayama.jp","shingu.wakayama.jp","shirahama.wakayama.jp","taiji.wakayama.jp","tanabe.wakayama.jp","wakayama.wakayama.jp","yuasa.wakayama.jp","yura.wakayama.jp","asahi.yamagata.jp","funagata.yamagata.jp","higashine.yamagata.jp","iide.yamagata.jp","kahoku.yamagata.jp","kaminoyama.yamagata.jp","kaneyama.yamagata.jp","kawanishi.yamagata.jp","mamurogawa.yamagata.jp","mikawa.yamagata.jp","murayama.yamagata.jp","nagai.yamagata.jp","nakayama.yamagata.jp","nanyo.yamagata.jp","nishikawa.yamagata.jp","obanazawa.yamagata.jp","oe.yamagata.jp","oguni.yamagata.jp","ohkura.yamagata.jp","oishida.yamagata.jp","sagae.yamagata.jp","sakata.yamagata.jp","sakegawa.yamagata.jp","shinjo.yamagata.jp","shirataka.yamagata.jp","shonai.yamagata.jp","takahata.yamagata.jp","tendo.yamagata.jp","tozawa.yamagata.jp","tsuruoka.yamagata.jp","yamagata.yamagata.jp","yamanobe.yamagata.jp","yonezawa.yamagata.jp","yuza.yamagata.jp","abu.yamaguchi.jp","hagi.yamaguchi.jp","hikari.yamaguchi.jp","hofu.yamaguchi.jp","iwakuni.yamaguchi.jp","kudamatsu.yamaguchi.jp","mitou.yamaguchi.jp","nagato.yamaguchi.jp","oshima.yamaguchi.jp","shimonoseki.yamaguchi.jp","shunan.yamaguchi.jp","tabuse.yamaguchi.jp","tokuyama.yamaguchi.jp","toyota.yamaguchi.jp","ube.yamaguchi.jp","yuu.yamaguchi.jp","chuo.yamanashi.jp","doshi.yamanashi.jp","fuefuki.yamanashi.jp","fujikawa.yamanashi.jp","fujikawaguchiko.yamanashi.jp","fujiyoshida.yamanashi.jp","hayakawa.yamanashi.jp","hokuto.yamanashi.jp","ichikawamisato.yamanashi.jp","kai.yamanashi.jp","kofu.yamanashi.jp","koshu.yamanashi.jp","kosuge.yamanashi.jp","minami-alps.yamanashi.jp","minobu.yamanashi.jp","nakamichi.yamanashi.jp","nanbu.yamanashi.jp","narusawa.yamanashi.jp","nirasaki.yamanashi.jp","nishikatsura.yamanashi.jp","oshino.yamanashi.jp","otsuki.yamanashi.jp","showa.yamanashi.jp","tabayama.yamanashi.jp","tsuru.yamanashi.jp","uenohara.yamanashi.jp","yamanakako.yamanashi.jp","yamanashi.yamanashi.jp","ke","ac.ke","co.ke","go.ke","info.ke","me.ke","mobi.ke","ne.ke","or.ke","sc.ke","kg","org.kg","net.kg","com.kg","edu.kg","gov.kg","mil.kg","*.kh","ki","edu.ki","biz.ki","net.ki","org.ki","gov.ki","info.ki","com.ki","km","org.km","nom.km","gov.km","prd.km","tm.km","edu.km","mil.km","ass.km","com.km","coop.km","asso.km","presse.km","medecin.km","notaires.km","pharmaciens.km","veterinaire.km","gouv.km","kn","net.kn","org.kn","edu.kn","gov.kn","kp","com.kp","edu.kp","gov.kp","org.kp","rep.kp","tra.kp","kr","ac.kr","co.kr","es.kr","go.kr","hs.kr","kg.kr","mil.kr","ms.kr","ne.kr","or.kr","pe.kr","re.kr","sc.kr","busan.kr","chungbuk.kr","chungnam.kr","daegu.kr","daejeon.kr","gangwon.kr","gwangju.kr","gyeongbuk.kr","gyeonggi.kr","gyeongnam.kr","incheon.kr","jeju.kr","jeonbuk.kr","jeonnam.kr","seoul.kr","ulsan.kr","kw","com.kw","edu.kw","emb.kw","gov.kw","ind.kw","net.kw","org.kw","ky","com.ky","edu.ky","net.ky","org.ky","kz","org.kz","edu.kz","net.kz","gov.kz","mil.kz","com.kz","la","int.la","net.la","info.la","edu.la","gov.la","per.la","com.la","org.la","lb","com.lb","edu.lb","gov.lb","net.lb","org.lb","lc","com.lc","net.lc","co.lc","org.lc","edu.lc","gov.lc","li","lk","gov.lk","sch.lk","net.lk","int.lk","com.lk","org.lk","edu.lk","ngo.lk","soc.lk","web.lk","ltd.lk","assn.lk","grp.lk","hotel.lk","ac.lk","lr","com.lr","edu.lr","gov.lr","org.lr","net.lr","ls","ac.ls","biz.ls","co.ls","edu.ls","gov.ls","info.ls","net.ls","org.ls","sc.ls","lt","gov.lt","lu","lv","com.lv","edu.lv","gov.lv","org.lv","mil.lv","id.lv","net.lv","asn.lv","conf.lv","ly","com.ly","net.ly","gov.ly","plc.ly","edu.ly","sch.ly","med.ly","org.ly","id.ly","ma","co.ma","net.ma","gov.ma","org.ma","ac.ma","press.ma","mc","tm.mc","asso.mc","md","me","co.me","net.me","org.me","edu.me","ac.me","gov.me","its.me","priv.me","mg","org.mg","nom.mg","gov.mg","prd.mg","tm.mg","edu.mg","mil.mg","com.mg","co.mg","mh","mil","mk","com.mk","org.mk","net.mk","edu.mk","gov.mk","inf.mk","name.mk","ml","com.ml","edu.ml","gouv.ml","gov.ml","net.ml","org.ml","presse.ml","*.mm","mn","gov.mn","edu.mn","org.mn","mo","com.mo","net.mo","org.mo","edu.mo","gov.mo","mobi","mp","mq","mr","gov.mr","ms","com.ms","edu.ms","gov.ms","net.ms","org.ms","mt","com.mt","edu.mt","net.mt","org.mt","mu","com.mu","net.mu","org.mu","gov.mu","ac.mu","co.mu","or.mu","museum","academy.museum","agriculture.museum","air.museum","airguard.museum","alabama.museum","alaska.museum","amber.museum","ambulance.museum","american.museum","americana.museum","americanantiques.museum","americanart.museum","amsterdam.museum","and.museum","annefrank.museum","anthro.museum","anthropology.museum","antiques.museum","aquarium.museum","arboretum.museum","archaeological.museum","archaeology.museum","architecture.museum","art.museum","artanddesign.museum","artcenter.museum","artdeco.museum","arteducation.museum","artgallery.museum","arts.museum","artsandcrafts.museum","asmatart.museum","assassination.museum","assisi.museum","association.museum","astronomy.museum","atlanta.museum","austin.museum","australia.museum","automotive.museum","aviation.museum","axis.museum","badajoz.museum","baghdad.museum","bahn.museum","bale.museum","baltimore.museum","barcelona.museum","baseball.museum","basel.museum","baths.museum","bauern.museum","beauxarts.museum","beeldengeluid.museum","bellevue.museum","bergbau.museum","berkeley.museum","berlin.museum","bern.museum","bible.museum","bilbao.museum","bill.museum","birdart.museum","birthplace.museum","bonn.museum","boston.museum","botanical.museum","botanicalgarden.museum","botanicgarden.museum","botany.museum","brandywinevalley.museum","brasil.museum","bristol.museum","british.museum","britishcolumbia.museum","broadcast.museum","brunel.museum","brussel.museum","brussels.museum","bruxelles.museum","building.museum","burghof.museum","bus.museum","bushey.museum","cadaques.museum","california.museum","cambridge.museum","can.museum","canada.museum","capebreton.museum","carrier.museum","cartoonart.museum","casadelamoneda.museum","castle.museum","castres.museum","celtic.museum","center.museum","chattanooga.museum","cheltenham.museum","chesapeakebay.museum","chicago.museum","children.museum","childrens.museum","childrensgarden.museum","chiropractic.museum","chocolate.museum","christiansburg.museum","cincinnati.museum","cinema.museum","circus.museum","civilisation.museum","civilization.museum","civilwar.museum","clinton.museum","clock.museum","coal.museum","coastaldefence.museum","cody.museum","coldwar.museum","collection.museum","colonialwilliamsburg.museum","coloradoplateau.museum","columbia.museum","columbus.museum","communication.museum","communications.museum","community.museum","computer.museum","computerhistory.museum","comunicações.museum","contemporary.museum","contemporaryart.museum","convent.museum","copenhagen.museum","corporation.museum","correios-e-telecomunicações.museum","corvette.museum","costume.museum","countryestate.museum","county.museum","crafts.museum","cranbrook.museum","creation.museum","cultural.museum","culturalcenter.museum","culture.museum","cyber.museum","cymru.museum","dali.museum","dallas.museum","database.museum","ddr.museum","decorativearts.museum","delaware.museum","delmenhorst.museum","denmark.museum","depot.museum","design.museum","detroit.museum","dinosaur.museum","discovery.museum","dolls.museum","donostia.museum","durham.museum","eastafrica.museum","eastcoast.museum","education.museum","educational.museum","egyptian.museum","eisenbahn.museum","elburg.museum","elvendrell.museum","embroidery.museum","encyclopedic.museum","england.museum","entomology.museum","environment.museum","environmentalconservation.museum","epilepsy.museum","essex.museum","estate.museum","ethnology.museum","exeter.museum","exhibition.museum","family.museum","farm.museum","farmequipment.museum","farmers.museum","farmstead.museum","field.museum","figueres.museum","filatelia.museum","film.museum","fineart.museum","finearts.museum","finland.museum","flanders.museum","florida.museum","force.museum","fortmissoula.museum","fortworth.museum","foundation.museum","francaise.museum","frankfurt.museum","franziskaner.museum","freemasonry.museum","freiburg.museum","fribourg.museum","frog.museum","fundacio.museum","furniture.museum","gallery.museum","garden.museum","gateway.museum","geelvinck.museum","gemological.museum","geology.museum","georgia.museum","giessen.museum","glas.museum","glass.museum","gorge.museum","grandrapids.museum","graz.museum","guernsey.museum","halloffame.museum","hamburg.museum","handson.museum","harvestcelebration.museum","hawaii.museum","health.museum","heimatunduhren.museum","hellas.museum","helsinki.museum","hembygdsforbund.museum","heritage.museum","histoire.museum","historical.museum","historicalsociety.museum","historichouses.museum","historisch.museum","historisches.museum","history.museum","historyofscience.museum","horology.museum","house.museum","humanities.museum","illustration.museum","imageandsound.museum","indian.museum","indiana.museum","indianapolis.museum","indianmarket.museum","intelligence.museum","interactive.museum","iraq.museum","iron.museum","isleofman.museum","jamison.museum","jefferson.museum","jerusalem.museum","jewelry.museum","jewish.museum","jewishart.museum","jfk.museum","journalism.museum","judaica.museum","judygarland.museum","juedisches.museum","juif.museum","karate.museum","karikatur.museum","kids.museum","koebenhavn.museum","koeln.museum","kunst.museum","kunstsammlung.museum","kunstunddesign.museum","labor.museum","labour.museum","lajolla.museum","lancashire.museum","landes.museum","lans.museum","läns.museum","larsson.museum","lewismiller.museum","lincoln.museum","linz.museum","living.museum","livinghistory.museum","localhistory.museum","london.museum","losangeles.museum","louvre.museum","loyalist.museum","lucerne.museum","luxembourg.museum","luzern.museum","mad.museum","madrid.museum","mallorca.museum","manchester.museum","mansion.museum","mansions.museum","manx.museum","marburg.museum","maritime.museum","maritimo.museum","maryland.museum","marylhurst.museum","media.museum","medical.museum","medizinhistorisches.museum","meeres.museum","memorial.museum","mesaverde.museum","michigan.museum","midatlantic.museum","military.museum","mill.museum","miners.museum","mining.museum","minnesota.museum","missile.museum","missoula.museum","modern.museum","moma.museum","money.museum","monmouth.museum","monticello.museum","montreal.museum","moscow.museum","motorcycle.museum","muenchen.museum","muenster.museum","mulhouse.museum","muncie.museum","museet.museum","museumcenter.museum","museumvereniging.museum","music.museum","national.museum","nationalfirearms.museum","nationalheritage.museum","nativeamerican.museum","naturalhistory.museum","naturalhistorymuseum.museum","naturalsciences.museum","nature.museum","naturhistorisches.museum","natuurwetenschappen.museum","naumburg.museum","naval.museum","nebraska.museum","neues.museum","newhampshire.museum","newjersey.museum","newmexico.museum","newport.museum","newspaper.museum","newyork.museum","niepce.museum","norfolk.museum","north.museum","nrw.museum","nyc.museum","nyny.museum","oceanographic.museum","oceanographique.museum","omaha.museum","online.museum","ontario.museum","openair.museum","oregon.museum","oregontrail.museum","otago.museum","oxford.museum","pacific.museum","paderborn.museum","palace.museum","paleo.museum","palmsprings.museum","panama.museum","paris.museum","pasadena.museum","pharmacy.museum","philadelphia.museum","philadelphiaarea.museum","philately.museum","phoenix.museum","photography.museum","pilots.museum","pittsburgh.museum","planetarium.museum","plantation.museum","plants.museum","plaza.museum","portal.museum","portland.museum","portlligat.museum","posts-and-telecommunications.museum","preservation.museum","presidio.museum","press.museum","project.museum","public.museum","pubol.museum","quebec.museum","railroad.museum","railway.museum","research.museum","resistance.museum","riodejaneiro.museum","rochester.museum","rockart.museum","roma.museum","russia.museum","saintlouis.museum","salem.museum","salvadordali.museum","salzburg.museum","sandiego.museum","sanfrancisco.museum","santabarbara.museum","santacruz.museum","santafe.museum","saskatchewan.museum","satx.museum","savannahga.museum","schlesisches.museum","schoenbrunn.museum","schokoladen.museum","school.museum","schweiz.museum","science.museum","scienceandhistory.museum","scienceandindustry.museum","sciencecenter.museum","sciencecenters.museum","science-fiction.museum","sciencehistory.museum","sciences.museum","sciencesnaturelles.museum","scotland.museum","seaport.museum","settlement.museum","settlers.museum","shell.museum","sherbrooke.museum","sibenik.museum","silk.museum","ski.museum","skole.museum","society.museum","sologne.museum","soundandvision.museum","southcarolina.museum","southwest.museum","space.museum","spy.museum","square.museum","stadt.museum","stalbans.museum","starnberg.museum","state.museum","stateofdelaware.museum","station.museum","steam.museum","steiermark.museum","stjohn.museum","stockholm.museum","stpetersburg.museum","stuttgart.museum","suisse.museum","surgeonshall.museum","surrey.museum","svizzera.museum","sweden.museum","sydney.museum","tank.museum","tcm.museum","technology.museum","telekommunikation.museum","television.museum","texas.museum","textile.museum","theater.museum","time.museum","timekeeping.museum","topology.museum","torino.museum","touch.museum","town.museum","transport.museum","tree.museum","trolley.museum","trust.museum","trustee.museum","uhren.museum","ulm.museum","undersea.museum","university.museum","usa.museum","usantiques.museum","usarts.museum","uscountryestate.museum","usculture.museum","usdecorativearts.museum","usgarden.museum","ushistory.museum","ushuaia.museum","uslivinghistory.museum","utah.museum","uvic.museum","valley.museum","vantaa.museum","versailles.museum","viking.museum","village.museum","virginia.museum","virtual.museum","virtuel.museum","vlaanderen.museum","volkenkunde.museum","wales.museum","wallonie.museum","war.museum","washingtondc.museum","watchandclock.museum","watch-and-clock.museum","western.museum","westfalen.museum","whaling.museum","wildlife.museum","williamsburg.museum","windmill.museum","workshop.museum","york.museum","yorkshire.museum","yosemite.museum","youth.museum","zoological.museum","zoology.museum","ירושלים.museum","иком.museum","mv","aero.mv","biz.mv","com.mv","coop.mv","edu.mv","gov.mv","info.mv","int.mv","mil.mv","museum.mv","name.mv","net.mv","org.mv","pro.mv","mw","ac.mw","biz.mw","co.mw","com.mw","coop.mw","edu.mw","gov.mw","int.mw","museum.mw","net.mw","org.mw","mx","com.mx","org.mx","gob.mx","edu.mx","net.mx","my","biz.my","com.my","edu.my","gov.my","mil.my","name.my","net.my","org.my","mz","ac.mz","adv.mz","co.mz","edu.mz","gov.mz","mil.mz","net.mz","org.mz","na","info.na","pro.na","name.na","school.na","or.na","dr.na","us.na","mx.na","ca.na","in.na","cc.na","tv.na","ws.na","mobi.na","co.na","com.na","org.na","name","nc","asso.nc","nom.nc","ne","net","nf","com.nf","net.nf","per.nf","rec.nf","web.nf","arts.nf","firm.nf","info.nf","other.nf","store.nf","ng","com.ng","edu.ng","gov.ng","i.ng","mil.ng","mobi.ng","name.ng","net.ng","org.ng","sch.ng","ni","ac.ni","biz.ni","co.ni","com.ni","edu.ni","gob.ni","in.ni","info.ni","int.ni","mil.ni","net.ni","nom.ni","org.ni","web.ni","nl","no","fhs.no","vgs.no","fylkesbibl.no","folkebibl.no","museum.no","idrett.no","priv.no","mil.no","stat.no","dep.no","kommune.no","herad.no","aa.no","ah.no","bu.no","fm.no","hl.no","hm.no","jan-mayen.no","mr.no","nl.no","nt.no","of.no","ol.no","oslo.no","rl.no","sf.no","st.no","svalbard.no","tm.no","tr.no","va.no","vf.no","gs.aa.no","gs.ah.no","gs.bu.no","gs.fm.no","gs.hl.no","gs.hm.no","gs.jan-mayen.no","gs.mr.no","gs.nl.no","gs.nt.no","gs.of.no","gs.ol.no","gs.oslo.no","gs.rl.no","gs.sf.no","gs.st.no","gs.svalbard.no","gs.tm.no","gs.tr.no","gs.va.no","gs.vf.no","akrehamn.no","åkrehamn.no","algard.no","ålgård.no","arna.no","brumunddal.no","bryne.no","bronnoysund.no","brønnøysund.no","drobak.no","drøbak.no","egersund.no","fetsund.no","floro.no","florø.no","fredrikstad.no","hokksund.no","honefoss.no","hønefoss.no","jessheim.no","jorpeland.no","jørpeland.no","kirkenes.no","kopervik.no","krokstadelva.no","langevag.no","langevåg.no","leirvik.no","mjondalen.no","mjøndalen.no","mo-i-rana.no","mosjoen.no","mosjøen.no","nesoddtangen.no","orkanger.no","osoyro.no","osøyro.no","raholt.no","råholt.no","sandnessjoen.no","sandnessjøen.no","skedsmokorset.no","slattum.no","spjelkavik.no","stathelle.no","stavern.no","stjordalshalsen.no","stjørdalshalsen.no","tananger.no","tranby.no","vossevangen.no","afjord.no","åfjord.no","agdenes.no","al.no","ål.no","alesund.no","ålesund.no","alstahaug.no","alta.no","áltá.no","alaheadju.no","álaheadju.no","alvdal.no","amli.no","åmli.no","amot.no","åmot.no","andebu.no","andoy.no","andøy.no","andasuolo.no","ardal.no","årdal.no","aremark.no","arendal.no","ås.no","aseral.no","åseral.no","asker.no","askim.no","askvoll.no","askoy.no","askøy.no","asnes.no","åsnes.no","audnedaln.no","aukra.no","aure.no","aurland.no","aurskog-holand.no","aurskog-høland.no","austevoll.no","austrheim.no","averoy.no","averøy.no","balestrand.no","ballangen.no","balat.no","bálát.no","balsfjord.no","bahccavuotna.no","báhccavuotna.no","bamble.no","bardu.no","beardu.no","beiarn.no","bajddar.no","bájddar.no","baidar.no","báidár.no","berg.no","bergen.no","berlevag.no","berlevåg.no","bearalvahki.no","bearalváhki.no","bindal.no","birkenes.no","bjarkoy.no","bjarkøy.no","bjerkreim.no","bjugn.no","bodo.no","bodø.no","badaddja.no","bådåddjå.no","budejju.no","bokn.no","bremanger.no","bronnoy.no","brønnøy.no","bygland.no","bykle.no","barum.no","bærum.no","bo.telemark.no","bø.telemark.no","bo.nordland.no","bø.nordland.no","bievat.no","bievát.no","bomlo.no","bømlo.no","batsfjord.no","båtsfjord.no","bahcavuotna.no","báhcavuotna.no","dovre.no","drammen.no","drangedal.no","dyroy.no","dyrøy.no","donna.no","dønna.no","eid.no","eidfjord.no","eidsberg.no","eidskog.no","eidsvoll.no","eigersund.no","elverum.no","enebakk.no","engerdal.no","etne.no","etnedal.no","evenes.no","evenassi.no","evenášši.no","evje-og-hornnes.no","farsund.no","fauske.no","fuossko.no","fuoisku.no","fedje.no","fet.no","finnoy.no","finnøy.no","fitjar.no","fjaler.no","fjell.no","flakstad.no","flatanger.no","flekkefjord.no","flesberg.no","flora.no","fla.no","flå.no","folldal.no","forsand.no","fosnes.no","frei.no","frogn.no","froland.no","frosta.no","frana.no","fræna.no","froya.no","frøya.no","fusa.no","fyresdal.no","forde.no","førde.no","gamvik.no","gangaviika.no","gáŋgaviika.no","gaular.no","gausdal.no","gildeskal.no","gildeskål.no","giske.no","gjemnes.no","gjerdrum.no","gjerstad.no","gjesdal.no","gjovik.no","gjøvik.no","gloppen.no","gol.no","gran.no","grane.no","granvin.no","gratangen.no","grimstad.no","grong.no","kraanghke.no","kråanghke.no","grue.no","gulen.no","hadsel.no","halden.no","halsa.no","hamar.no","hamaroy.no","habmer.no","hábmer.no","hapmir.no","hápmir.no","hammerfest.no","hammarfeasta.no","hámmárfeasta.no","haram.no","hareid.no","harstad.no","hasvik.no","aknoluokta.no","ákŋoluokta.no","hattfjelldal.no","aarborte.no","haugesund.no","hemne.no","hemnes.no","hemsedal.no","heroy.more-og-romsdal.no","herøy.møre-og-romsdal.no","heroy.nordland.no","herøy.nordland.no","hitra.no","hjartdal.no","hjelmeland.no","hobol.no","hobøl.no","hof.no","hol.no","hole.no","holmestrand.no","holtalen.no","holtålen.no","hornindal.no","horten.no","hurdal.no","hurum.no","hvaler.no","hyllestad.no","hagebostad.no","hægebostad.no","hoyanger.no","høyanger.no","hoylandet.no","høylandet.no","ha.no","hå.no","ibestad.no","inderoy.no","inderøy.no","iveland.no","jevnaker.no","jondal.no","jolster.no","jølster.no","karasjok.no","karasjohka.no","kárášjohka.no","karlsoy.no","galsa.no","gálsá.no","karmoy.no","karmøy.no","kautokeino.no","guovdageaidnu.no","klepp.no","klabu.no","klæbu.no","kongsberg.no","kongsvinger.no","kragero.no","kragerø.no","kristiansand.no","kristiansund.no","krodsherad.no","krødsherad.no","kvalsund.no","rahkkeravju.no","ráhkkerávju.no","kvam.no","kvinesdal.no","kvinnherad.no","kviteseid.no","kvitsoy.no","kvitsøy.no","kvafjord.no","kvæfjord.no","giehtavuoatna.no","kvanangen.no","kvænangen.no","navuotna.no","návuotna.no","kafjord.no","kåfjord.no","gaivuotna.no","gáivuotna.no","larvik.no","lavangen.no","lavagis.no","loabat.no","loabát.no","lebesby.no","davvesiida.no","leikanger.no","leirfjord.no","leka.no","leksvik.no","lenvik.no","leangaviika.no","leaŋgaviika.no","lesja.no","levanger.no","lier.no","lierne.no","lillehammer.no","lillesand.no","lindesnes.no","lindas.no","lindås.no","lom.no","loppa.no","lahppi.no","láhppi.no","lund.no","lunner.no","luroy.no","lurøy.no","luster.no","lyngdal.no","lyngen.no","ivgu.no","lardal.no","lerdal.no","lærdal.no","lodingen.no","lødingen.no","lorenskog.no","lørenskog.no","loten.no","løten.no","malvik.no","masoy.no","måsøy.no","muosat.no","muosát.no","mandal.no","marker.no","marnardal.no","masfjorden.no","meland.no","meldal.no","melhus.no","meloy.no","meløy.no","meraker.no","meråker.no","moareke.no","moåreke.no","midsund.no","midtre-gauldal.no","modalen.no","modum.no","molde.no","moskenes.no","moss.no","mosvik.no","malselv.no","målselv.no","malatvuopmi.no","málatvuopmi.no","namdalseid.no","aejrie.no","namsos.no","namsskogan.no","naamesjevuemie.no","nååmesjevuemie.no","laakesvuemie.no","nannestad.no","narvik.no","narviika.no","naustdal.no","nedre-eiker.no","nes.akershus.no","nes.buskerud.no","nesna.no","nesodden.no","nesseby.no","unjarga.no","unjárga.no","nesset.no","nissedal.no","nittedal.no","nord-aurdal.no","nord-fron.no","nord-odal.no","norddal.no","nordkapp.no","davvenjarga.no","davvenjárga.no","nordre-land.no","nordreisa.no","raisa.no","ráisa.no","nore-og-uvdal.no","notodden.no","naroy.no","nærøy.no","notteroy.no","nøtterøy.no","odda.no","oksnes.no","øksnes.no","oppdal.no","oppegard.no","oppegård.no","orkdal.no","orland.no","ørland.no","orskog.no","ørskog.no","orsta.no","ørsta.no","os.hedmark.no","os.hordaland.no","osen.no","osteroy.no","osterøy.no","ostre-toten.no","østre-toten.no","overhalla.no","ovre-eiker.no","øvre-eiker.no","oyer.no","øyer.no","oygarden.no","øygarden.no","oystre-slidre.no","øystre-slidre.no","porsanger.no","porsangu.no","porsáŋgu.no","porsgrunn.no","radoy.no","radøy.no","rakkestad.no","rana.no","ruovat.no","randaberg.no","rauma.no","rendalen.no","rennebu.no","rennesoy.no","rennesøy.no","rindal.no","ringebu.no","ringerike.no","ringsaker.no","rissa.no","risor.no","risør.no","roan.no","rollag.no","rygge.no","ralingen.no","rælingen.no","rodoy.no","rødøy.no","romskog.no","rømskog.no","roros.no","røros.no","rost.no","røst.no","royken.no","røyken.no","royrvik.no","røyrvik.no","rade.no","råde.no","salangen.no","siellak.no","saltdal.no","salat.no","sálát.no","sálat.no","samnanger.no","sande.more-og-romsdal.no","sande.møre-og-romsdal.no","sande.vestfold.no","sandefjord.no","sandnes.no","sandoy.no","sandøy.no","sarpsborg.no","sauda.no","sauherad.no","sel.no","selbu.no","selje.no","seljord.no","sigdal.no","siljan.no","sirdal.no","skaun.no","skedsmo.no","ski.no","skien.no","skiptvet.no","skjervoy.no","skjervøy.no","skierva.no","skiervá.no","skjak.no","skjåk.no","skodje.no","skanland.no","skånland.no","skanit.no","skánit.no","smola.no","smøla.no","snillfjord.no","snasa.no","snåsa.no","snoasa.no","snaase.no","snåase.no","sogndal.no","sokndal.no","sola.no","solund.no","songdalen.no","sortland.no","spydeberg.no","stange.no","stavanger.no","steigen.no","steinkjer.no","stjordal.no","stjørdal.no","stokke.no","stor-elvdal.no","stord.no","stordal.no","storfjord.no","omasvuotna.no","strand.no","stranda.no","stryn.no","sula.no","suldal.no","sund.no","sunndal.no","surnadal.no","sveio.no","svelvik.no","sykkylven.no","sogne.no","søgne.no","somna.no","sømna.no","sondre-land.no","søndre-land.no","sor-aurdal.no","sør-aurdal.no","sor-fron.no","sør-fron.no","sor-odal.no","sør-odal.no","sor-varanger.no","sør-varanger.no","matta-varjjat.no","mátta-várjjat.no","sorfold.no","sørfold.no","sorreisa.no","sørreisa.no","sorum.no","sørum.no","tana.no","deatnu.no","time.no","tingvoll.no","tinn.no","tjeldsund.no","dielddanuorri.no","tjome.no","tjøme.no","tokke.no","tolga.no","torsken.no","tranoy.no","tranøy.no","tromso.no","tromsø.no","tromsa.no","romsa.no","trondheim.no","troandin.no","trysil.no","trana.no","træna.no","trogstad.no","trøgstad.no","tvedestrand.no","tydal.no","tynset.no","tysfjord.no","divtasvuodna.no","divttasvuotna.no","tysnes.no","tysvar.no","tysvær.no","tonsberg.no","tønsberg.no","ullensaker.no","ullensvang.no","ulvik.no","utsira.no","vadso.no","vadsø.no","cahcesuolo.no","čáhcesuolo.no","vaksdal.no","valle.no","vang.no","vanylven.no","vardo.no","vardø.no","varggat.no","várggát.no","vefsn.no","vaapste.no","vega.no","vegarshei.no","vegårshei.no","vennesla.no","verdal.no","verran.no","vestby.no","vestnes.no","vestre-slidre.no","vestre-toten.no","vestvagoy.no","vestvågøy.no","vevelstad.no","vik.no","vikna.no","vindafjord.no","volda.no","voss.no","varoy.no","værøy.no","vagan.no","vågan.no","voagat.no","vagsoy.no","vågsøy.no","vaga.no","vågå.no","valer.ostfold.no","våler.østfold.no","valer.hedmark.no","våler.hedmark.no","*.np","nr","biz.nr","info.nr","gov.nr","edu.nr","org.nr","net.nr","com.nr","nu","nz","ac.nz","co.nz","cri.nz","geek.nz","gen.nz","govt.nz","health.nz","iwi.nz","kiwi.nz","maori.nz","mil.nz","māori.nz","net.nz","org.nz","parliament.nz","school.nz","om","co.om","com.om","edu.om","gov.om","med.om","museum.om","net.om","org.om","pro.om","onion","org","pa","ac.pa","gob.pa","com.pa","org.pa","sld.pa","edu.pa","net.pa","ing.pa","abo.pa","med.pa","nom.pa","pe","edu.pe","gob.pe","nom.pe","mil.pe","org.pe","com.pe","net.pe","pf","com.pf","org.pf","edu.pf","*.pg","ph","com.ph","net.ph","org.ph","gov.ph","edu.ph","ngo.ph","mil.ph","i.ph","pk","com.pk","net.pk","edu.pk","org.pk","fam.pk","biz.pk","web.pk","gov.pk","gob.pk","gok.pk","gon.pk","gop.pk","gos.pk","info.pk","pl","com.pl","net.pl","org.pl","aid.pl","agro.pl","atm.pl","auto.pl","biz.pl","edu.pl","gmina.pl","gsm.pl","info.pl","mail.pl","miasta.pl","media.pl","mil.pl","nieruchomosci.pl","nom.pl","pc.pl","powiat.pl","priv.pl","realestate.pl","rel.pl","sex.pl","shop.pl","sklep.pl","sos.pl","szkola.pl","targi.pl","tm.pl","tourism.pl","travel.pl","turystyka.pl","gov.pl","ap.gov.pl","ic.gov.pl","is.gov.pl","us.gov.pl","kmpsp.gov.pl","kppsp.gov.pl","kwpsp.gov.pl","psp.gov.pl","wskr.gov.pl","kwp.gov.pl","mw.gov.pl","ug.gov.pl","um.gov.pl","umig.gov.pl","ugim.gov.pl","upow.gov.pl","uw.gov.pl","starostwo.gov.pl","pa.gov.pl","po.gov.pl","psse.gov.pl","pup.gov.pl","rzgw.gov.pl","sa.gov.pl","so.gov.pl","sr.gov.pl","wsa.gov.pl","sko.gov.pl","uzs.gov.pl","wiih.gov.pl","winb.gov.pl","pinb.gov.pl","wios.gov.pl","witd.gov.pl","wzmiuw.gov.pl","piw.gov.pl","wiw.gov.pl","griw.gov.pl","wif.gov.pl","oum.gov.pl","sdn.gov.pl","zp.gov.pl","uppo.gov.pl","mup.gov.pl","wuoz.gov.pl","konsulat.gov.pl","oirm.gov.pl","augustow.pl","babia-gora.pl","bedzin.pl","beskidy.pl","bialowieza.pl","bialystok.pl","bielawa.pl","bieszczady.pl","boleslawiec.pl","bydgoszcz.pl","bytom.pl","cieszyn.pl","czeladz.pl","czest.pl","dlugoleka.pl","elblag.pl","elk.pl","glogow.pl","gniezno.pl","gorlice.pl","grajewo.pl","ilawa.pl","jaworzno.pl","jelenia-gora.pl","jgora.pl","kalisz.pl","kazimierz-dolny.pl","karpacz.pl","kartuzy.pl","kaszuby.pl","katowice.pl","kepno.pl","ketrzyn.pl","klodzko.pl","kobierzyce.pl","kolobrzeg.pl","konin.pl","konskowola.pl","kutno.pl","lapy.pl","lebork.pl","legnica.pl","lezajsk.pl","limanowa.pl","lomza.pl","lowicz.pl","lubin.pl","lukow.pl","malbork.pl","malopolska.pl","mazowsze.pl","mazury.pl","mielec.pl","mielno.pl","mragowo.pl","naklo.pl","nowaruda.pl","nysa.pl","olawa.pl","olecko.pl","olkusz.pl","olsztyn.pl","opoczno.pl","opole.pl","ostroda.pl","ostroleka.pl","ostrowiec.pl","ostrowwlkp.pl","pila.pl","pisz.pl","podhale.pl","podlasie.pl","polkowice.pl","pomorze.pl","pomorskie.pl","prochowice.pl","pruszkow.pl","przeworsk.pl","pulawy.pl","radom.pl","rawa-maz.pl","rybnik.pl","rzeszow.pl","sanok.pl","sejny.pl","slask.pl","slupsk.pl","sosnowiec.pl","stalowa-wola.pl","skoczow.pl","starachowice.pl","stargard.pl","suwalki.pl","swidnica.pl","swiebodzin.pl","swinoujscie.pl","szczecin.pl","szczytno.pl","tarnobrzeg.pl","tgory.pl","turek.pl","tychy.pl","ustka.pl","walbrzych.pl","warmia.pl","warszawa.pl","waw.pl","wegrow.pl","wielun.pl","wlocl.pl","wloclawek.pl","wodzislaw.pl","wolomin.pl","wroclaw.pl","zachpomor.pl","zagan.pl","zarow.pl","zgora.pl","zgorzelec.pl","pm","pn","gov.pn","co.pn","org.pn","edu.pn","net.pn","post","pr","com.pr","net.pr","org.pr","gov.pr","edu.pr","isla.pr","pro.pr","biz.pr","info.pr","name.pr","est.pr","prof.pr","ac.pr","pro","aaa.pro","aca.pro","acct.pro","avocat.pro","bar.pro","cpa.pro","eng.pro","jur.pro","law.pro","med.pro","recht.pro","ps","edu.ps","gov.ps","sec.ps","plo.ps","com.ps","org.ps","net.ps","pt","net.pt","gov.pt","org.pt","edu.pt","int.pt","publ.pt","com.pt","nome.pt","pw","co.pw","ne.pw","or.pw","ed.pw","go.pw","belau.pw","py","com.py","coop.py","edu.py","gov.py","mil.py","net.py","org.py","qa","com.qa","edu.qa","gov.qa","mil.qa","name.qa","net.qa","org.qa","sch.qa","re","asso.re","com.re","nom.re","ro","arts.ro","com.ro","firm.ro","info.ro","nom.ro","nt.ro","org.ro","rec.ro","store.ro","tm.ro","www.ro","rs","ac.rs","co.rs","edu.rs","gov.rs","in.rs","org.rs","ru","rw","ac.rw","co.rw","coop.rw","gov.rw","mil.rw","net.rw","org.rw","sa","com.sa","net.sa","org.sa","gov.sa","med.sa","pub.sa","edu.sa","sch.sa","sb","com.sb","edu.sb","gov.sb","net.sb","org.sb","sc","com.sc","gov.sc","net.sc","org.sc","edu.sc","sd","com.sd","net.sd","org.sd","edu.sd","med.sd","tv.sd","gov.sd","info.sd","se","a.se","ac.se","b.se","bd.se","brand.se","c.se","d.se","e.se","f.se","fh.se","fhsk.se","fhv.se","g.se","h.se","i.se","k.se","komforb.se","kommunalforbund.se","komvux.se","l.se","lanbib.se","m.se","n.se","naturbruksgymn.se","o.se","org.se","p.se","parti.se","pp.se","press.se","r.se","s.se","t.se","tm.se","u.se","w.se","x.se","y.se","z.se","sg","com.sg","net.sg","org.sg","gov.sg","edu.sg","per.sg","sh","com.sh","net.sh","gov.sh","org.sh","mil.sh","si","sj","sk","sl","com.sl","net.sl","edu.sl","gov.sl","org.sl","sm","sn","art.sn","com.sn","edu.sn","gouv.sn","org.sn","perso.sn","univ.sn","so","com.so","edu.so","gov.so","me.so","net.so","org.so","sr","ss","biz.ss","com.ss","edu.ss","gov.ss","me.ss","net.ss","org.ss","sch.ss","st","co.st","com.st","consulado.st","edu.st","embaixada.st","mil.st","net.st","org.st","principe.st","saotome.st","store.st","su","sv","com.sv","edu.sv","gob.sv","org.sv","red.sv","sx","gov.sx","sy","edu.sy","gov.sy","net.sy","mil.sy","com.sy","org.sy","sz","co.sz","ac.sz","org.sz","tc","td","tel","tf","tg","th","ac.th","co.th","go.th","in.th","mi.th","net.th","or.th","tj","ac.tj","biz.tj","co.tj","com.tj","edu.tj","go.tj","gov.tj","int.tj","mil.tj","name.tj","net.tj","nic.tj","org.tj","test.tj","web.tj","tk","tl","gov.tl","tm","com.tm","co.tm","org.tm","net.tm","nom.tm","gov.tm","mil.tm","edu.tm","tn","com.tn","ens.tn","fin.tn","gov.tn","ind.tn","info.tn","intl.tn","mincom.tn","nat.tn","net.tn","org.tn","perso.tn","tourism.tn","to","com.to","gov.to","net.to","org.to","edu.to","mil.to","tr","av.tr","bbs.tr","bel.tr","biz.tr","com.tr","dr.tr","edu.tr","gen.tr","gov.tr","info.tr","mil.tr","k12.tr","kep.tr","name.tr","net.tr","org.tr","pol.tr","tel.tr","tsk.tr","tv.tr","web.tr","nc.tr","gov.nc.tr","tt","co.tt","com.tt","org.tt","net.tt","biz.tt","info.tt","pro.tt","int.tt","coop.tt","jobs.tt","mobi.tt","travel.tt","museum.tt","aero.tt","name.tt","gov.tt","edu.tt","tv","tw","edu.tw","gov.tw","mil.tw","com.tw","net.tw","org.tw","idv.tw","game.tw","ebiz.tw","club.tw","網路.tw","組織.tw","商業.tw","tz","ac.tz","co.tz","go.tz","hotel.tz","info.tz","me.tz","mil.tz","mobi.tz","ne.tz","or.tz","sc.tz","tv.tz","ua","com.ua","edu.ua","gov.ua","in.ua","net.ua","org.ua","cherkassy.ua","cherkasy.ua","chernigov.ua","chernihiv.ua","chernivtsi.ua","chernovtsy.ua","ck.ua","cn.ua","cr.ua","crimea.ua","cv.ua","dn.ua","dnepropetrovsk.ua","dnipropetrovsk.ua","donetsk.ua","dp.ua","if.ua","ivano-frankivsk.ua","kh.ua","kharkiv.ua","kharkov.ua","kherson.ua","khmelnitskiy.ua","khmelnytskyi.ua","kiev.ua","kirovograd.ua","km.ua","kr.ua","krym.ua","ks.ua","kv.ua","kyiv.ua","lg.ua","lt.ua","lugansk.ua","lutsk.ua","lv.ua","lviv.ua","mk.ua","mykolaiv.ua","nikolaev.ua","od.ua","odesa.ua","odessa.ua","pl.ua","poltava.ua","rivne.ua","rovno.ua","rv.ua","sb.ua","sebastopol.ua","sevastopol.ua","sm.ua","sumy.ua","te.ua","ternopil.ua","uz.ua","uzhgorod.ua","vinnica.ua","vinnytsia.ua","vn.ua","volyn.ua","yalta.ua","zaporizhzhe.ua","zaporizhzhia.ua","zhitomir.ua","zhytomyr.ua","zp.ua","zt.ua","ug","co.ug","or.ug","ac.ug","sc.ug","go.ug","ne.ug","com.ug","org.ug","uk","ac.uk","co.uk","gov.uk","ltd.uk","me.uk","net.uk","nhs.uk","org.uk","plc.uk","police.uk","*.sch.uk","us","dni.us","fed.us","isa.us","kids.us","nsn.us","ak.us","al.us","ar.us","as.us","az.us","ca.us","co.us","ct.us","dc.us","de.us","fl.us","ga.us","gu.us","hi.us","ia.us","id.us","il.us","in.us","ks.us","ky.us","la.us","ma.us","md.us","me.us","mi.us","mn.us","mo.us","ms.us","mt.us","nc.us","nd.us","ne.us","nh.us","nj.us","nm.us","nv.us","ny.us","oh.us","ok.us","or.us","pa.us","pr.us","ri.us","sc.us","sd.us","tn.us","tx.us","ut.us","vi.us","vt.us","va.us","wa.us","wi.us","wv.us","wy.us","k12.ak.us","k12.al.us","k12.ar.us","k12.as.us","k12.az.us","k12.ca.us","k12.co.us","k12.ct.us","k12.dc.us","k12.de.us","k12.fl.us","k12.ga.us","k12.gu.us","k12.ia.us","k12.id.us","k12.il.us","k12.in.us","k12.ks.us","k12.ky.us","k12.la.us","k12.ma.us","k12.md.us","k12.me.us","k12.mi.us","k12.mn.us","k12.mo.us","k12.ms.us","k12.mt.us","k12.nc.us","k12.ne.us","k12.nh.us","k12.nj.us","k12.nm.us","k12.nv.us","k12.ny.us","k12.oh.us","k12.ok.us","k12.or.us","k12.pa.us","k12.pr.us","k12.sc.us","k12.tn.us","k12.tx.us","k12.ut.us","k12.vi.us","k12.vt.us","k12.va.us","k12.wa.us","k12.wi.us","k12.wy.us","cc.ak.us","cc.al.us","cc.ar.us","cc.as.us","cc.az.us","cc.ca.us","cc.co.us","cc.ct.us","cc.dc.us","cc.de.us","cc.fl.us","cc.ga.us","cc.gu.us","cc.hi.us","cc.ia.us","cc.id.us","cc.il.us","cc.in.us","cc.ks.us","cc.ky.us","cc.la.us","cc.ma.us","cc.md.us","cc.me.us","cc.mi.us","cc.mn.us","cc.mo.us","cc.ms.us","cc.mt.us","cc.nc.us","cc.nd.us","cc.ne.us","cc.nh.us","cc.nj.us","cc.nm.us","cc.nv.us","cc.ny.us","cc.oh.us","cc.ok.us","cc.or.us","cc.pa.us","cc.pr.us","cc.ri.us","cc.sc.us","cc.sd.us","cc.tn.us","cc.tx.us","cc.ut.us","cc.vi.us","cc.vt.us","cc.va.us","cc.wa.us","cc.wi.us","cc.wv.us","cc.wy.us","lib.ak.us","lib.al.us","lib.ar.us","lib.as.us","lib.az.us","lib.ca.us","lib.co.us","lib.ct.us","lib.dc.us","lib.fl.us","lib.ga.us","lib.gu.us","lib.hi.us","lib.ia.us","lib.id.us","lib.il.us","lib.in.us","lib.ks.us","lib.ky.us","lib.la.us","lib.ma.us","lib.md.us","lib.me.us","lib.mi.us","lib.mn.us","lib.mo.us","lib.ms.us","lib.mt.us","lib.nc.us","lib.nd.us","lib.ne.us","lib.nh.us","lib.nj.us","lib.nm.us","lib.nv.us","lib.ny.us","lib.oh.us","lib.ok.us","lib.or.us","lib.pa.us","lib.pr.us","lib.ri.us","lib.sc.us","lib.sd.us","lib.tn.us","lib.tx.us","lib.ut.us","lib.vi.us","lib.vt.us","lib.va.us","lib.wa.us","lib.wi.us","lib.wy.us","pvt.k12.ma.us","chtr.k12.ma.us","paroch.k12.ma.us","ann-arbor.mi.us","cog.mi.us","dst.mi.us","eaton.mi.us","gen.mi.us","mus.mi.us","tec.mi.us","washtenaw.mi.us","uy","com.uy","edu.uy","gub.uy","mil.uy","net.uy","org.uy","uz","co.uz","com.uz","net.uz","org.uz","va","vc","com.vc","net.vc","org.vc","gov.vc","mil.vc","edu.vc","ve","arts.ve","bib.ve","co.ve","com.ve","e12.ve","edu.ve","firm.ve","gob.ve","gov.ve","info.ve","int.ve","mil.ve","net.ve","nom.ve","org.ve","rar.ve","rec.ve","store.ve","tec.ve","web.ve","vg","vi","co.vi","com.vi","k12.vi","net.vi","org.vi","vn","com.vn","net.vn","org.vn","edu.vn","gov.vn","int.vn","ac.vn","biz.vn","info.vn","name.vn","pro.vn","health.vn","vu","com.vu","edu.vu","net.vu","org.vu","wf","ws","com.ws","net.ws","org.ws","gov.ws","edu.ws","yt","امارات","հայ","বাংলা","бг","البحرين","бел","中国","中國","الجزائر","مصر","ею","ευ","موريتانيا","გე","ελ","香港","公司.香港","教育.香港","政府.香港","個人.香港","網絡.香港","組織.香港","ಭಾರತ","ଭାରତ","ভাৰত","भारतम्","भारोत","ڀارت","ഭാരതം","भारत","بارت","بھارت","భారత్","ભારત","ਭਾਰਤ","ভারত","இந்தியா","ایران","ايران","عراق","الاردن","한국","қаз","ລາວ","ලංකා","இலங்கை","المغرب","мкд","мон","澳門","澳门","مليسيا","عمان","پاکستان","پاكستان","فلسطين","срб","пр.срб","орг.срб","обр.срб","од.срб","упр.срб","ак.срб","рф","قطر","السعودية","السعودیة","السعودیۃ","السعوديه","سودان","新加坡","சிங்கப்பூர்","سورية","سوريا","ไทย","ศึกษา.ไทย","ธุรกิจ.ไทย","รัฐบาล.ไทย","ทหาร.ไทย","เน็ต.ไทย","องค์กร.ไทย","تونس","台灣","台湾","臺灣","укр","اليمن","xxx","ye","com.ye","edu.ye","gov.ye","net.ye","mil.ye","org.ye","ac.za","agric.za","alt.za","co.za","edu.za","gov.za","grondar.za","law.za","mil.za","net.za","ngo.za","nic.za","nis.za","nom.za","org.za","school.za","tm.za","web.za","zm","ac.zm","biz.zm","co.zm","com.zm","edu.zm","gov.zm","info.zm","mil.zm","net.zm","org.zm","sch.zm","zw","ac.zw","co.zw","gov.zw","mil.zw","org.zw","aaa","aarp","abarth","abb","abbott","abbvie","abc","able","abogado","abudhabi","academy","accenture","accountant","accountants","aco","actor","adac","ads","adult","aeg","aetna","afl","africa","agakhan","agency","aig","airbus","airforce","airtel","akdn","alfaromeo","alibaba","alipay","allfinanz","allstate","ally","alsace","alstom","amazon","americanexpress","americanfamily","amex","amfam","amica","amsterdam","analytics","android","anquan","anz","aol","apartments","app","apple","aquarelle","arab","aramco","archi","army","art","arte","asda","associates","athleta","attorney","auction","audi","audible","audio","auspost","author","auto","autos","avianca","aws","axa","azure","baby","baidu","banamex","bananarepublic","band","bank","bar","barcelona","barclaycard","barclays","barefoot","bargains","baseball","basketball","bauhaus","bayern","bbc","bbt","bbva","bcg","bcn","beats","beauty","beer","bentley","berlin","best","bestbuy","bet","bharti","bible","bid","bike","bing","bingo","bio","black","blackfriday","blockbuster","blog","bloomberg","blue","bms","bmw","bnpparibas","boats","boehringer","bofa","bom","bond","boo","book","booking","bosch","bostik","boston","bot","boutique","box","bradesco","bridgestone","broadway","broker","brother","brussels","bugatti","build","builders","business","buy","buzz","bzh","cab","cafe","cal","call","calvinklein","cam","camera","camp","cancerresearch","canon","capetown","capital","capitalone","car","caravan","cards","care","career","careers","cars","casa","case","cash","casino","catering","catholic","cba","cbn","cbre","cbs","center","ceo","cern","cfa","cfd","chanel","channel","charity","chase","chat","cheap","chintai","christmas","chrome","church","cipriani","circle","cisco","citadel","citi","citic","city","cityeats","claims","cleaning","click","clinic","clinique","clothing","cloud","club","clubmed","coach","codes","coffee","college","cologne","comcast","commbank","community","company","compare","computer","comsec","condos","construction","consulting","contact","contractors","cooking","cookingchannel","cool","corsica","country","coupon","coupons","courses","cpa","credit","creditcard","creditunion","cricket","crown","crs","cruise","cruises","cuisinella","cymru","cyou","dabur","dad","dance","data","date","dating","datsun","day","dclk","dds","deal","dealer","deals","degree","delivery","dell","deloitte","delta","democrat","dental","dentist","desi","design","dev","dhl","diamonds","diet","digital","direct","directory","discount","discover","dish","diy","dnp","docs","doctor","dog","domains","dot","download","drive","dtv","dubai","dunlop","dupont","durban","dvag","dvr","earth","eat","eco","edeka","education","email","emerck","energy","engineer","engineering","enterprises","epson","equipment","ericsson","erni","esq","estate","etisalat","eurovision","eus","events","exchange","expert","exposed","express","extraspace","fage","fail","fairwinds","faith","family","fan","fans","farm","farmers","fashion","fast","fedex","feedback","ferrari","ferrero","fiat","fidelity","fido","film","final","finance","financial","fire","firestone","firmdale","fish","fishing","fit","fitness","flickr","flights","flir","florist","flowers","fly","foo","food","foodnetwork","football","ford","forex","forsale","forum","foundation","fox","free","fresenius","frl","frogans","frontdoor","frontier","ftr","fujitsu","fun","fund","furniture","futbol","fyi","gal","gallery","gallo","gallup","game","games","gap","garden","gay","gbiz","gdn","gea","gent","genting","george","ggee","gift","gifts","gives","giving","glass","gle","global","globo","gmail","gmbh","gmo","gmx","godaddy","gold","goldpoint","golf","goo","goodyear","goog","google","gop","got","grainger","graphics","gratis","green","gripe","grocery","group","guardian","gucci","guge","guide","guitars","guru","hair","hamburg","hangout","haus","hbo","hdfc","hdfcbank","health","healthcare","help","helsinki","here","hermes","hgtv","hiphop","hisamitsu","hitachi","hiv","hkt","hockey","holdings","holiday","homedepot","homegoods","homes","homesense","honda","horse","hospital","host","hosting","hot","hoteles","hotels","hotmail","house","how","hsbc","hughes","hyatt","hyundai","ibm","icbc","ice","icu","ieee","ifm","ikano","imamat","imdb","immo","immobilien","inc","industries","infiniti","ing","ink","institute","insurance","insure","international","intuit","investments","ipiranga","irish","ismaili","ist","istanbul","itau","itv","jaguar","java","jcb","jeep","jetzt","jewelry","jio","jll","jmp","jnj","joburg","jot","joy","jpmorgan","jprs","juegos","juniper","kaufen","kddi","kerryhotels","kerrylogistics","kerryproperties","kfh","kia","kids","kim","kinder","kindle","kitchen","kiwi","koeln","komatsu","kosher","kpmg","kpn","krd","kred","kuokgroup","kyoto","lacaixa","lamborghini","lamer","lancaster","lancia","land","landrover","lanxess","lasalle","lat","latino","latrobe","law","lawyer","lds","lease","leclerc","lefrak","legal","lego","lexus","lgbt","lidl","life","lifeinsurance","lifestyle","lighting","like","lilly","limited","limo","lincoln","linde","link","lipsy","live","living","llc","llp","loan","loans","locker","locus","loft","lol","london","lotte","lotto","love","lpl","lplfinancial","ltd","ltda","lundbeck","luxe","luxury","macys","madrid","maif","maison","makeup","man","management","mango","map","market","marketing","markets","marriott","marshalls","maserati","mattel","mba","mckinsey","med","media","meet","melbourne","meme","memorial","men","menu","merckmsd","miami","microsoft","mini","mint","mit","mitsubishi","mlb","mls","mma","mobile","moda","moe","moi","mom","monash","money","monster","mormon","mortgage","moscow","moto","motorcycles","mov","movie","msd","mtn","mtr","music","mutual","nab","nagoya","natura","navy","nba","nec","netbank","netflix","network","neustar","new","news","next","nextdirect","nexus","nfl","ngo","nhk","nico","nike","nikon","ninja","nissan","nissay","nokia","northwesternmutual","norton","now","nowruz","nowtv","nra","nrw","ntt","nyc","obi","observer","office","okinawa","olayan","olayangroup","oldnavy","ollo","omega","one","ong","onl","online","ooo","open","oracle","orange","organic","origins","osaka","otsuka","ott","ovh","page","panasonic","paris","pars","partners","parts","party","passagens","pay","pccw","pet","pfizer","pharmacy","phd","philips","phone","photo","photography","photos","physio","pics","pictet","pictures","pid","pin","ping","pink","pioneer","pizza","place","play","playstation","plumbing","plus","pnc","pohl","poker","politie","porn","pramerica","praxi","press","prime","prod","productions","prof","progressive","promo","properties","property","protection","pru","prudential","pub","pwc","qpon","quebec","quest","racing","radio","read","realestate","realtor","realty","recipes","red","redstone","redumbrella","rehab","reise","reisen","reit","reliance","ren","rent","rentals","repair","report","republican","rest","restaurant","review","reviews","rexroth","rich","richardli","ricoh","ril","rio","rip","rocher","rocks","rodeo","rogers","room","rsvp","rugby","ruhr","run","rwe","ryukyu","saarland","safe","safety","sakura","sale","salon","samsclub","samsung","sandvik","sandvikcoromant","sanofi","sap","sarl","sas","save","saxo","sbi","sbs","sca","scb","schaeffler","schmidt","scholarships","school","schule","schwarz","science","scot","search","seat","secure","security","seek","select","sener","services","ses","seven","sew","sex","sexy","sfr","shangrila","sharp","shaw","shell","shia","shiksha","shoes","shop","shopping","shouji","show","showtime","silk","sina","singles","site","ski","skin","sky","skype","sling","smart","smile","sncf","soccer","social","softbank","software","sohu","solar","solutions","song","sony","soy","spa","space","sport","spot","srl","stada","staples","star","statebank","statefarm","stc","stcgroup","stockholm","storage","store","stream","studio","study","style","sucks","supplies","supply","support","surf","surgery","suzuki","swatch","swiss","sydney","systems","tab","taipei","talk","taobao","target","tatamotors","tatar","tattoo","tax","taxi","tci","tdk","team","tech","technology","temasek","tennis","teva","thd","theater","theatre","tiaa","tickets","tienda","tiffany","tips","tires","tirol","tjmaxx","tjx","tkmaxx","tmall","today","tokyo","tools","top","toray","toshiba","total","tours","town","toyota","toys","trade","trading","training","travel","travelchannel","travelers","travelersinsurance","trust","trv","tube","tui","tunes","tushu","tvs","ubank","ubs","unicom","university","uno","uol","ups","vacations","vana","vanguard","vegas","ventures","verisign","versicherung","vet","viajes","video","vig","viking","villas","vin","vip","virgin","visa","vision","viva","vivo","vlaanderen","vodka","volkswagen","volvo","vote","voting","voto","voyage","vuelos","wales","walmart","walter","wang","wanggou","watch","watches","weather","weatherchannel","webcam","weber","website","wedding","weibo","weir","whoswho","wien","wiki","williamhill","win","windows","wine","winners","wme","wolterskluwer","woodside","work","works","world","wow","wtc","wtf","xbox","xerox","xfinity","xihuan","xin","कॉम","セール","佛山","慈善","集团","在线","点看","คอม","八卦","موقع","公益","公司","香格里拉","网站","移动","我爱你","москва","католик","онлайн","сайт","联通","קום","时尚","微博","淡马锡","ファッション","орг","नेट","ストア","アマゾン","삼성","商标","商店","商城","дети","ポイント","新闻","家電","كوم","中文网","中信","娱乐","谷歌","電訊盈科","购物","クラウド","通販","网店","संगठन","餐厅","网络","ком","亚马逊","诺基亚","食品","飞利浦","手机","ارامكو","العليان","اتصالات","بازار","ابوظبي","كاثوليك","همراه","닷컴","政府","شبكة","بيتك","عرب","机构","组织机构","健康","招聘","рус","大拿","みんな","グーグル","世界","書籍","网址","닷넷","コム","天主教","游戏","vermögensberater","vermögensberatung","企业","信息","嘉里大酒店","嘉里","广东","政务","xyz","yachts","yahoo","yamaxun","yandex","yodobashi","yoga","yokohama","you","youtube","yun","zappos","zara","zero","zip","zone","zuerich","cc.ua","inf.ua","ltd.ua","611.to","graphox.us","*.devcdnaccesso.com","adobeaemcloud.com","*.dev.adobeaemcloud.com","hlx.live","adobeaemcloud.net","hlx.page","hlx3.page","beep.pl","airkitapps.com","airkitapps-au.com","airkitapps.eu","aivencloud.com","barsy.ca","*.compute.estate","*.alces.network","kasserver.com","altervista.org","alwaysdata.net","cloudfront.net","*.compute.amazonaws.com","*.compute-1.amazonaws.com","*.compute.amazonaws.com.cn","us-east-1.amazonaws.com","cn-north-1.eb.amazonaws.com.cn","cn-northwest-1.eb.amazonaws.com.cn","elasticbeanstalk.com","ap-northeast-1.elasticbeanstalk.com","ap-northeast-2.elasticbeanstalk.com","ap-northeast-3.elasticbeanstalk.com","ap-south-1.elasticbeanstalk.com","ap-southeast-1.elasticbeanstalk.com","ap-southeast-2.elasticbeanstalk.com","ca-central-1.elasticbeanstalk.com","eu-central-1.elasticbeanstalk.com","eu-west-1.elasticbeanstalk.com","eu-west-2.elasticbeanstalk.com","eu-west-3.elasticbeanstalk.com","sa-east-1.elasticbeanstalk.com","us-east-1.elasticbeanstalk.com","us-east-2.elasticbeanstalk.com","us-gov-west-1.elasticbeanstalk.com","us-west-1.elasticbeanstalk.com","us-west-2.elasticbeanstalk.com","*.elb.amazonaws.com","*.elb.amazonaws.com.cn","awsglobalaccelerator.com","s3.amazonaws.com","s3-ap-northeast-1.amazonaws.com","s3-ap-northeast-2.amazonaws.com","s3-ap-south-1.amazonaws.com","s3-ap-southeast-1.amazonaws.com","s3-ap-southeast-2.amazonaws.com","s3-ca-central-1.amazonaws.com","s3-eu-central-1.amazonaws.com","s3-eu-west-1.amazonaws.com","s3-eu-west-2.amazonaws.com","s3-eu-west-3.amazonaws.com","s3-external-1.amazonaws.com","s3-fips-us-gov-west-1.amazonaws.com","s3-sa-east-1.amazonaws.com","s3-us-gov-west-1.amazonaws.com","s3-us-east-2.amazonaws.com","s3-us-west-1.amazonaws.com","s3-us-west-2.amazonaws.com","s3.ap-northeast-2.amazonaws.com","s3.ap-south-1.amazonaws.com","s3.cn-north-1.amazonaws.com.cn","s3.ca-central-1.amazonaws.com","s3.eu-central-1.amazonaws.com","s3.eu-west-2.amazonaws.com","s3.eu-west-3.amazonaws.com","s3.us-east-2.amazonaws.com","s3.dualstack.ap-northeast-1.amazonaws.com","s3.dualstack.ap-northeast-2.amazonaws.com","s3.dualstack.ap-south-1.amazonaws.com","s3.dualstack.ap-southeast-1.amazonaws.com","s3.dualstack.ap-southeast-2.amazonaws.com","s3.dualstack.ca-central-1.amazonaws.com","s3.dualstack.eu-central-1.amazonaws.com","s3.dualstack.eu-west-1.amazonaws.com","s3.dualstack.eu-west-2.amazonaws.com","s3.dualstack.eu-west-3.amazonaws.com","s3.dualstack.sa-east-1.amazonaws.com","s3.dualstack.us-east-1.amazonaws.com","s3.dualstack.us-east-2.amazonaws.com","s3-website-us-east-1.amazonaws.com","s3-website-us-west-1.amazonaws.com","s3-website-us-west-2.amazonaws.com","s3-website-ap-northeast-1.amazonaws.com","s3-website-ap-southeast-1.amazonaws.com","s3-website-ap-southeast-2.amazonaws.com","s3-website-eu-west-1.amazonaws.com","s3-website-sa-east-1.amazonaws.com","s3-website.ap-northeast-2.amazonaws.com","s3-website.ap-south-1.amazonaws.com","s3-website.ca-central-1.amazonaws.com","s3-website.eu-central-1.amazonaws.com","s3-website.eu-west-2.amazonaws.com","s3-website.eu-west-3.amazonaws.com","s3-website.us-east-2.amazonaws.com","t3l3p0rt.net","tele.amune.org","apigee.io","siiites.com","appspacehosted.com","appspaceusercontent.com","appudo.net","on-aptible.com","user.aseinet.ne.jp","gv.vc","d.gv.vc","user.party.eus","pimienta.org","poivron.org","potager.org","sweetpepper.org","myasustor.com","cdn.prod.atlassian-dev.net","translated.page","myfritz.net","onavstack.net","*.awdev.ca","*.advisor.ws","ecommerce-shop.pl","b-data.io","backplaneapp.io","balena-devices.com","rs.ba","*.banzai.cloud","app.banzaicloud.io","*.backyards.banzaicloud.io","base.ec","official.ec","buyshop.jp","fashionstore.jp","handcrafted.jp","kawaiishop.jp","supersale.jp","theshop.jp","shopselect.net","base.shop","*.beget.app","betainabox.com","bnr.la","bitbucket.io","blackbaudcdn.net","of.je","bluebite.io","boomla.net","boutir.com","boxfuse.io","square7.ch","bplaced.com","bplaced.de","square7.de","bplaced.net","square7.net","shop.brendly.rs","browsersafetymark.io","uk0.bigv.io","dh.bytemark.co.uk","vm.bytemark.co.uk","cafjs.com","mycd.eu","drr.ac","uwu.ai","carrd.co","crd.co","ju.mp","ae.org","br.com","cn.com","com.de","com.se","de.com","eu.com","gb.net","hu.net","jp.net","jpn.com","mex.com","ru.com","sa.com","se.net","uk.com","uk.net","us.com","za.bz","za.com","ar.com","hu.com","kr.com","no.com","qc.com","uy.com","africa.com","gr.com","in.net","web.in","us.org","co.com","aus.basketball","nz.basketball","radio.am","radio.fm","c.la","certmgr.org","cx.ua","discourse.group","discourse.team","cleverapps.io","clerk.app","clerkstage.app","*.lcl.dev","*.lclstage.dev","*.stg.dev","*.stgstage.dev","clickrising.net","c66.me","cloud66.ws","cloud66.zone","jdevcloud.com","wpdevcloud.com","cloudaccess.host","freesite.host","cloudaccess.net","cloudcontrolled.com","cloudcontrolapp.com","*.cloudera.site","pages.dev","trycloudflare.com","workers.dev","wnext.app","co.ca","*.otap.co","co.cz","c.cdn77.org","cdn77-ssl.net","r.cdn77.net","rsc.cdn77.org","ssl.origin.cdn77-secure.org","cloudns.asia","cloudns.biz","cloudns.club","cloudns.cc","cloudns.eu","cloudns.in","cloudns.info","cloudns.org","cloudns.pro","cloudns.pw","cloudns.us","cnpy.gdn","codeberg.page","co.nl","co.no","webhosting.be","hosting-cluster.nl","ac.ru","edu.ru","gov.ru","int.ru","mil.ru","test.ru","dyn.cosidns.de","dynamisches-dns.de","dnsupdater.de","internet-dns.de","l-o-g-i-n.de","dynamic-dns.info","feste-ip.net","knx-server.net","static-access.net","realm.cz","*.cryptonomic.net","cupcake.is","curv.dev","*.customer-oci.com","*.oci.customer-oci.com","*.ocp.customer-oci.com","*.ocs.customer-oci.com","cyon.link","cyon.site","fnwk.site","folionetwork.site","platform0.app","daplie.me","localhost.daplie.me","dattolocal.com","dattorelay.com","dattoweb.com","mydatto.com","dattolocal.net","mydatto.net","biz.dk","co.dk","firm.dk","reg.dk","store.dk","dyndns.dappnode.io","*.dapps.earth","*.bzz.dapps.earth","builtwithdark.com","demo.datadetect.com","instance.datadetect.com","edgestack.me","ddns5.com","debian.net","deno.dev","deno-staging.dev","dedyn.io","deta.app","deta.dev","*.rss.my.id","*.diher.solutions","discordsays.com","discordsez.com","jozi.biz","dnshome.de","online.th","shop.th","drayddns.com","shoparena.pl","dreamhosters.com","mydrobo.com","drud.io","drud.us","duckdns.org","bip.sh","bitbridge.net","dy.fi","tunk.org","dyndns-at-home.com","dyndns-at-work.com","dyndns-blog.com","dyndns-free.com","dyndns-home.com","dyndns-ip.com","dyndns-mail.com","dyndns-office.com","dyndns-pics.com","dyndns-remote.com","dyndns-server.com","dyndns-web.com","dyndns-wiki.com","dyndns-work.com","dyndns.biz","dyndns.info","dyndns.org","dyndns.tv","at-band-camp.net","ath.cx","barrel-of-knowledge.info","barrell-of-knowledge.info","better-than.tv","blogdns.com","blogdns.net","blogdns.org","blogsite.org","boldlygoingnowhere.org","broke-it.net","buyshouses.net","cechire.com","dnsalias.com","dnsalias.net","dnsalias.org","dnsdojo.com","dnsdojo.net","dnsdojo.org","does-it.net","doesntexist.com","doesntexist.org","dontexist.com","dontexist.net","dontexist.org","doomdns.com","doomdns.org","dvrdns.org","dyn-o-saur.com","dynalias.com","dynalias.net","dynalias.org","dynathome.net","dyndns.ws","endofinternet.net","endofinternet.org","endoftheinternet.org","est-a-la-maison.com","est-a-la-masion.com","est-le-patron.com","est-mon-blogueur.com","for-better.biz","for-more.biz","for-our.info","for-some.biz","for-the.biz","forgot.her.name","forgot.his.name","from-ak.com","from-al.com","from-ar.com","from-az.net","from-ca.com","from-co.net","from-ct.com","from-dc.com","from-de.com","from-fl.com","from-ga.com","from-hi.com","from-ia.com","from-id.com","from-il.com","from-in.com","from-ks.com","from-ky.com","from-la.net","from-ma.com","from-md.com","from-me.org","from-mi.com","from-mn.com","from-mo.com","from-ms.com","from-mt.com","from-nc.com","from-nd.com","from-ne.com","from-nh.com","from-nj.com","from-nm.com","from-nv.com","from-ny.net","from-oh.com","from-ok.com","from-or.com","from-pa.com","from-pr.com","from-ri.com","from-sc.com","from-sd.com","from-tn.com","from-tx.com","from-ut.com","from-va.com","from-vt.com","from-wa.com","from-wi.com","from-wv.com","from-wy.com","ftpaccess.cc","fuettertdasnetz.de","game-host.org","game-server.cc","getmyip.com","gets-it.net","go.dyndns.org","gotdns.com","gotdns.org","groks-the.info","groks-this.info","ham-radio-op.net","here-for-more.info","hobby-site.com","hobby-site.org","home.dyndns.org","homedns.org","homeftp.net","homeftp.org","homeip.net","homelinux.com","homelinux.net","homelinux.org","homeunix.com","homeunix.net","homeunix.org","iamallama.com","in-the-band.net","is-a-anarchist.com","is-a-blogger.com","is-a-bookkeeper.com","is-a-bruinsfan.org","is-a-bulls-fan.com","is-a-candidate.org","is-a-caterer.com","is-a-celticsfan.org","is-a-chef.com","is-a-chef.net","is-a-chef.org","is-a-conservative.com","is-a-cpa.com","is-a-cubicle-slave.com","is-a-democrat.com","is-a-designer.com","is-a-doctor.com","is-a-financialadvisor.com","is-a-geek.com","is-a-geek.net","is-a-geek.org","is-a-green.com","is-a-guru.com","is-a-hard-worker.com","is-a-hunter.com","is-a-knight.org","is-a-landscaper.com","is-a-lawyer.com","is-a-liberal.com","is-a-libertarian.com","is-a-linux-user.org","is-a-llama.com","is-a-musician.com","is-a-nascarfan.com","is-a-nurse.com","is-a-painter.com","is-a-patsfan.org","is-a-personaltrainer.com","is-a-photographer.com","is-a-player.com","is-a-republican.com","is-a-rockstar.com","is-a-socialist.com","is-a-soxfan.org","is-a-student.com","is-a-teacher.com","is-a-techie.com","is-a-therapist.com","is-an-accountant.com","is-an-actor.com","is-an-actress.com","is-an-anarchist.com","is-an-artist.com","is-an-engineer.com","is-an-entertainer.com","is-by.us","is-certified.com","is-found.org","is-gone.com","is-into-anime.com","is-into-cars.com","is-into-cartoons.com","is-into-games.com","is-leet.com","is-lost.org","is-not-certified.com","is-saved.org","is-slick.com","is-uberleet.com","is-very-bad.org","is-very-evil.org","is-very-good.org","is-very-nice.org","is-very-sweet.org","is-with-theband.com","isa-geek.com","isa-geek.net","isa-geek.org","isa-hockeynut.com","issmarterthanyou.com","isteingeek.de","istmein.de","kicks-ass.net","kicks-ass.org","knowsitall.info","land-4-sale.us","lebtimnetz.de","leitungsen.de","likes-pie.com","likescandy.com","merseine.nu","mine.nu","misconfused.org","mypets.ws","myphotos.cc","neat-url.com","office-on-the.net","on-the-web.tv","podzone.net","podzone.org","readmyblog.org","saves-the-whales.com","scrapper-site.net","scrapping.cc","selfip.biz","selfip.com","selfip.info","selfip.net","selfip.org","sells-for-less.com","sells-for-u.com","sells-it.net","sellsyourhome.org","servebbs.com","servebbs.net","servebbs.org","serveftp.net","serveftp.org","servegame.org","shacknet.nu","simple-url.com","space-to-rent.com","stuff-4-sale.org","stuff-4-sale.us","teaches-yoga.com","thruhere.net","traeumtgerade.de","webhop.biz","webhop.info","webhop.net","webhop.org","worse-than.tv","writesthisblog.com","ddnss.de","dyn.ddnss.de","dyndns.ddnss.de","dyndns1.de","dyn-ip24.de","home-webserver.de","dyn.home-webserver.de","myhome-server.de","ddnss.org","definima.net","definima.io","ondigitalocean.app","*.digitaloceanspaces.com","bci.dnstrace.pro","ddnsfree.com","ddnsgeek.com","giize.com","gleeze.com","kozow.com","loseyourip.com","ooguy.com","theworkpc.com","casacam.net","dynu.net","accesscam.org","camdvr.org","freeddns.org","mywire.org","webredirect.org","myddns.rocks","blogsite.xyz","dynv6.net","e4.cz","eero.online","eero-stage.online","elementor.cloud","elementor.cool","en-root.fr","mytuleap.com","tuleap-partners.com","encr.app","encoreapi.com","onred.one","staging.onred.one","eu.encoway.cloud","eu.org","al.eu.org","asso.eu.org","at.eu.org","au.eu.org","be.eu.org","bg.eu.org","ca.eu.org","cd.eu.org","ch.eu.org","cn.eu.org","cy.eu.org","cz.eu.org","de.eu.org","dk.eu.org","edu.eu.org","ee.eu.org","es.eu.org","fi.eu.org","fr.eu.org","gr.eu.org","hr.eu.org","hu.eu.org","ie.eu.org","il.eu.org","in.eu.org","int.eu.org","is.eu.org","it.eu.org","jp.eu.org","kr.eu.org","lt.eu.org","lu.eu.org","lv.eu.org","mc.eu.org","me.eu.org","mk.eu.org","mt.eu.org","my.eu.org","net.eu.org","ng.eu.org","nl.eu.org","no.eu.org","nz.eu.org","paris.eu.org","pl.eu.org","pt.eu.org","q-a.eu.org","ro.eu.org","ru.eu.org","se.eu.org","si.eu.org","sk.eu.org","tr.eu.org","uk.eu.org","us.eu.org","eurodir.ru","eu-1.evennode.com","eu-2.evennode.com","eu-3.evennode.com","eu-4.evennode.com","us-1.evennode.com","us-2.evennode.com","us-3.evennode.com","us-4.evennode.com","twmail.cc","twmail.net","twmail.org","mymailer.com.tw","url.tw","onfabrica.com","apps.fbsbx.com","ru.net","adygeya.ru","bashkiria.ru","bir.ru","cbg.ru","com.ru","dagestan.ru","grozny.ru","kalmykia.ru","kustanai.ru","marine.ru","mordovia.ru","msk.ru","mytis.ru","nalchik.ru","nov.ru","pyatigorsk.ru","spb.ru","vladikavkaz.ru","vladimir.ru","abkhazia.su","adygeya.su","aktyubinsk.su","arkhangelsk.su","armenia.su","ashgabad.su","azerbaijan.su","balashov.su","bashkiria.su","bryansk.su","bukhara.su","chimkent.su","dagestan.su","east-kazakhstan.su","exnet.su","georgia.su","grozny.su","ivanovo.su","jambyl.su","kalmykia.su","kaluga.su","karacol.su","karaganda.su","karelia.su","khakassia.su","krasnodar.su","kurgan.su","kustanai.su","lenug.su","mangyshlak.su","mordovia.su","msk.su","murmansk.su","nalchik.su","navoi.su","north-kazakhstan.su","nov.su","obninsk.su","penza.su","pokrovsk.su","sochi.su","spb.su","tashkent.su","termez.su","togliatti.su","troitsk.su","tselinograd.su","tula.su","tuva.su","vladikavkaz.su","vladimir.su","vologda.su","channelsdvr.net","u.channelsdvr.net","edgecompute.app","fastly-terrarium.com","fastlylb.net","map.fastlylb.net","freetls.fastly.net","map.fastly.net","a.prod.fastly.net","global.prod.fastly.net","a.ssl.fastly.net","b.ssl.fastly.net","global.ssl.fastly.net","fastvps-server.com","fastvps.host","myfast.host","fastvps.site","myfast.space","fedorainfracloud.org","fedorapeople.org","cloud.fedoraproject.org","app.os.fedoraproject.org","app.os.stg.fedoraproject.org","conn.uk","copro.uk","hosp.uk","mydobiss.com","fh-muenster.io","filegear.me","filegear-au.me","filegear-de.me","filegear-gb.me","filegear-ie.me","filegear-jp.me","filegear-sg.me","firebaseapp.com","fireweb.app","flap.id","onflashdrive.app","fldrv.com","fly.dev","edgeapp.net","shw.io","flynnhosting.net","forgeblocks.com","id.forgerock.io","framer.app","framercanvas.com","*.frusky.de","ravpage.co.il","0e.vc","freebox-os.com","freeboxos.com","fbx-os.fr","fbxos.fr","freebox-os.fr","freeboxos.fr","freedesktop.org","freemyip.com","wien.funkfeuer.at","*.futurecms.at","*.ex.futurecms.at","*.in.futurecms.at","futurehosting.at","futuremailing.at","*.ex.ortsinfo.at","*.kunden.ortsinfo.at","*.statics.cloud","independent-commission.uk","independent-inquest.uk","independent-inquiry.uk","independent-panel.uk","independent-review.uk","public-inquiry.uk","royal-commission.uk","campaign.gov.uk","service.gov.uk","api.gov.uk","gehirn.ne.jp","usercontent.jp","gentapps.com","gentlentapis.com","lab.ms","cdn-edges.net","ghost.io","gsj.bz","githubusercontent.com","githubpreview.dev","github.io","gitlab.io","gitapp.si","gitpage.si","glitch.me","nog.community","co.ro","shop.ro","lolipop.io","angry.jp","babyblue.jp","babymilk.jp","backdrop.jp","bambina.jp","bitter.jp","blush.jp","boo.jp","boy.jp","boyfriend.jp","but.jp","candypop.jp","capoo.jp","catfood.jp","cheap.jp","chicappa.jp","chillout.jp","chips.jp","chowder.jp","chu.jp","ciao.jp","cocotte.jp","coolblog.jp","cranky.jp","cutegirl.jp","daa.jp","deca.jp","deci.jp","digick.jp","egoism.jp","fakefur.jp","fem.jp","flier.jp","floppy.jp","fool.jp","frenchkiss.jp","girlfriend.jp","girly.jp","gloomy.jp","gonna.jp","greater.jp","hacca.jp","heavy.jp","her.jp","hiho.jp","hippy.jp","holy.jp","hungry.jp","icurus.jp","itigo.jp","jellybean.jp","kikirara.jp","kill.jp","kilo.jp","kuron.jp","littlestar.jp","lolipopmc.jp","lolitapunk.jp","lomo.jp","lovepop.jp","lovesick.jp","main.jp","mods.jp","mond.jp","mongolian.jp","moo.jp","namaste.jp","nikita.jp","nobushi.jp","noor.jp","oops.jp","parallel.jp","parasite.jp","pecori.jp","peewee.jp","penne.jp","pepper.jp","perma.jp","pigboat.jp","pinoko.jp","punyu.jp","pupu.jp","pussycat.jp","pya.jp","raindrop.jp","readymade.jp","sadist.jp","schoolbus.jp","secret.jp","staba.jp","stripper.jp","sub.jp","sunnyday.jp","thick.jp","tonkotsu.jp","under.jp","upper.jp","velvet.jp","verse.jp","versus.jp","vivian.jp","watson.jp","weblike.jp","whitesnow.jp","zombie.jp","heteml.net","cloudapps.digital","london.cloudapps.digital","pymnt.uk","homeoffice.gov.uk","ro.im","goip.de","run.app","a.run.app","web.app","*.0emm.com","appspot.com","*.r.appspot.com","codespot.com","googleapis.com","googlecode.com","pagespeedmobilizer.com","publishproxy.com","withgoogle.com","withyoutube.com","*.gateway.dev","cloud.goog","translate.goog","*.usercontent.goog","cloudfunctions.net","blogspot.ae","blogspot.al","blogspot.am","blogspot.ba","blogspot.be","blogspot.bg","blogspot.bj","blogspot.ca","blogspot.cf","blogspot.ch","blogspot.cl","blogspot.co.at","blogspot.co.id","blogspot.co.il","blogspot.co.ke","blogspot.co.nz","blogspot.co.uk","blogspot.co.za","blogspot.com","blogspot.com.ar","blogspot.com.au","blogspot.com.br","blogspot.com.by","blogspot.com.co","blogspot.com.cy","blogspot.com.ee","blogspot.com.eg","blogspot.com.es","blogspot.com.mt","blogspot.com.ng","blogspot.com.tr","blogspot.com.uy","blogspot.cv","blogspot.cz","blogspot.de","blogspot.dk","blogspot.fi","blogspot.fr","blogspot.gr","blogspot.hk","blogspot.hr","blogspot.hu","blogspot.ie","blogspot.in","blogspot.is","blogspot.it","blogspot.jp","blogspot.kr","blogspot.li","blogspot.lt","blogspot.lu","blogspot.md","blogspot.mk","blogspot.mr","blogspot.mx","blogspot.my","blogspot.nl","blogspot.no","blogspot.pe","blogspot.pt","blogspot.qa","blogspot.re","blogspot.ro","blogspot.rs","blogspot.ru","blogspot.se","blogspot.sg","blogspot.si","blogspot.sk","blogspot.sn","blogspot.td","blogspot.tw","blogspot.ug","blogspot.vn","goupile.fr","gov.nl","awsmppl.com","günstigbestellen.de","günstigliefern.de","fin.ci","free.hr","caa.li","ua.rs","conf.se","hs.zone","hs.run","hashbang.sh","hasura.app","hasura-app.io","pages.it.hs-heilbronn.de","hepforge.org","herokuapp.com","herokussl.com","ravendb.cloud","myravendb.com","ravendb.community","ravendb.me","development.run","ravendb.run","homesklep.pl","secaas.hk","hoplix.shop","orx.biz","biz.gl","col.ng","firm.ng","gen.ng","ltd.ng","ngo.ng","edu.scot","sch.so","hostyhosting.io","häkkinen.fi","*.moonscale.io","moonscale.net","iki.fi","ibxos.it","iliadboxos.it","impertrixcdn.com","impertrix.com","smushcdn.com","wphostedmail.com","wpmucdn.com","tempurl.host","wpmudev.host","dyn-berlin.de","in-berlin.de","in-brb.de","in-butter.de","in-dsl.de","in-dsl.net","in-dsl.org","in-vpn.de","in-vpn.net","in-vpn.org","biz.at","info.at","info.cx","ac.leg.br","al.leg.br","am.leg.br","ap.leg.br","ba.leg.br","ce.leg.br","df.leg.br","es.leg.br","go.leg.br","ma.leg.br","mg.leg.br","ms.leg.br","mt.leg.br","pa.leg.br","pb.leg.br","pe.leg.br","pi.leg.br","pr.leg.br","rj.leg.br","rn.leg.br","ro.leg.br","rr.leg.br","rs.leg.br","sc.leg.br","se.leg.br","sp.leg.br","to.leg.br","pixolino.com","na4u.ru","iopsys.se","ipifony.net","iservschule.de","mein-iserv.de","schulplattform.de","schulserver.de","test-iserv.de","iserv.dev","iobb.net","mel.cloudlets.com.au","cloud.interhostsolutions.be","users.scale.virtualcloud.com.br","mycloud.by","alp1.ae.flow.ch","appengine.flow.ch","es-1.axarnet.cloud","diadem.cloud","vip.jelastic.cloud","jele.cloud","it1.eur.aruba.jenv-aruba.cloud","it1.jenv-aruba.cloud","keliweb.cloud","cs.keliweb.cloud","oxa.cloud","tn.oxa.cloud","uk.oxa.cloud","primetel.cloud","uk.primetel.cloud","ca.reclaim.cloud","uk.reclaim.cloud","us.reclaim.cloud","ch.trendhosting.cloud","de.trendhosting.cloud","jele.club","amscompute.com","clicketcloud.com","dopaas.com","hidora.com","paas.hosted-by-previder.com","rag-cloud.hosteur.com","rag-cloud-ch.hosteur.com","jcloud.ik-server.com","jcloud-ver-jpc.ik-server.com","demo.jelastic.com","kilatiron.com","paas.massivegrid.com","jed.wafaicloud.com","lon.wafaicloud.com","ryd.wafaicloud.com","j.scaleforce.com.cy","jelastic.dogado.eu","fi.cloudplatform.fi","demo.datacenter.fi","paas.datacenter.fi","jele.host","mircloud.host","paas.beebyte.io","sekd1.beebyteapp.io","jele.io","cloud-fr1.unispace.io","jc.neen.it","cloud.jelastic.open.tim.it","jcloud.kz","upaas.kazteleport.kz","cloudjiffy.net","fra1-de.cloudjiffy.net","west1-us.cloudjiffy.net","jls-sto1.elastx.net","jls-sto2.elastx.net","jls-sto3.elastx.net","faststacks.net","fr-1.paas.massivegrid.net","lon-1.paas.massivegrid.net","lon-2.paas.massivegrid.net","ny-1.paas.massivegrid.net","ny-2.paas.massivegrid.net","sg-1.paas.massivegrid.net","jelastic.saveincloud.net","nordeste-idc.saveincloud.net","j.scaleforce.net","jelastic.tsukaeru.net","sdscloud.pl","unicloud.pl","mircloud.ru","jelastic.regruhosting.ru","enscaled.sg","jele.site","jelastic.team","orangecloud.tn","j.layershift.co.uk","phx.enscaled.us","mircloud.us","myjino.ru","*.hosting.myjino.ru","*.landing.myjino.ru","*.spectrum.myjino.ru","*.vps.myjino.ru","jotelulu.cloud","*.triton.zone","*.cns.joyent.com","js.org","kaas.gg","khplay.nl","ktistory.com","kapsi.fi","keymachine.de","kinghost.net","uni5.net","knightpoint.systems","koobin.events","oya.to","kuleuven.cloud","ezproxy.kuleuven.be","co.krd","edu.krd","krellian.net","webthings.io","git-repos.de","lcube-server.de","svn-repos.de","leadpages.co","lpages.co","lpusercontent.com","lelux.site","co.business","co.education","co.events","co.financial","co.network","co.place","co.technology","app.lmpm.com","linkyard.cloud","linkyard-cloud.ch","members.linode.com","*.nodebalancer.linode.com","*.linodeobjects.com","ip.linodeusercontent.com","we.bs","*.user.localcert.dev","localzone.xyz","loginline.app","loginline.dev","loginline.io","loginline.services","loginline.site","servers.run","lohmus.me","krasnik.pl","leczna.pl","lubartow.pl","lublin.pl","poniatowa.pl","swidnik.pl","glug.org.uk","lug.org.uk","lugs.org.uk","barsy.bg","barsy.co.uk","barsyonline.co.uk","barsycenter.com","barsyonline.com","barsy.club","barsy.de","barsy.eu","barsy.in","barsy.info","barsy.io","barsy.me","barsy.menu","barsy.mobi","barsy.net","barsy.online","barsy.org","barsy.pro","barsy.pub","barsy.ro","barsy.shop","barsy.site","barsy.support","barsy.uk","*.magentosite.cloud","mayfirst.info","mayfirst.org","hb.cldmail.ru","cn.vu","mazeplay.com","mcpe.me","mcdir.me","mcdir.ru","mcpre.ru","vps.mcdir.ru","mediatech.by","mediatech.dev","hra.health","miniserver.com","memset.net","messerli.app","*.cloud.metacentrum.cz","custom.metacentrum.cz","flt.cloud.muni.cz","usr.cloud.muni.cz","meteorapp.com","eu.meteorapp.com","co.pl","*.azurecontainer.io","azurewebsites.net","azure-mobile.net","cloudapp.net","azurestaticapps.net","1.azurestaticapps.net","centralus.azurestaticapps.net","eastasia.azurestaticapps.net","eastus2.azurestaticapps.net","westeurope.azurestaticapps.net","westus2.azurestaticapps.net","csx.cc","mintere.site","forte.id","mozilla-iot.org","bmoattachments.org","net.ru","org.ru","pp.ru","hostedpi.com","customer.mythic-beasts.com","caracal.mythic-beasts.com","fentiger.mythic-beasts.com","lynx.mythic-beasts.com","ocelot.mythic-beasts.com","oncilla.mythic-beasts.com","onza.mythic-beasts.com","sphinx.mythic-beasts.com","vs.mythic-beasts.com","x.mythic-beasts.com","yali.mythic-beasts.com","cust.retrosnub.co.uk","ui.nabu.casa","pony.club","of.fashion","in.london","of.london","from.marketing","with.marketing","for.men","repair.men","and.mom","for.mom","for.one","under.one","for.sale","that.win","from.work","to.work","cloud.nospamproxy.com","netlify.app","4u.com","ngrok.io","nh-serv.co.uk","nfshost.com","*.developer.app","noop.app","*.northflank.app","*.build.run","*.code.run","*.database.run","*.migration.run","noticeable.news","dnsking.ch","mypi.co","n4t.co","001www.com","ddnslive.com","myiphost.com","forumz.info","16-b.it","32-b.it","64-b.it","soundcast.me","tcp4.me","dnsup.net","hicam.net","now-dns.net","ownip.net","vpndns.net","dynserv.org","now-dns.org","x443.pw","now-dns.top","ntdll.top","freeddns.us","crafting.xyz","zapto.xyz","nsupdate.info","nerdpol.ovh","blogsyte.com","brasilia.me","cable-modem.org","ciscofreak.com","collegefan.org","couchpotatofries.org","damnserver.com","ddns.me","ditchyourip.com","dnsfor.me","dnsiskinky.com","dvrcam.info","dynns.com","eating-organic.net","fantasyleague.cc","geekgalaxy.com","golffan.us","health-carereform.com","homesecuritymac.com","homesecuritypc.com","hopto.me","ilovecollege.info","loginto.me","mlbfan.org","mmafan.biz","myactivedirectory.com","mydissent.net","myeffect.net","mymediapc.net","mypsx.net","mysecuritycamera.com","mysecuritycamera.net","mysecuritycamera.org","net-freaks.com","nflfan.org","nhlfan.net","no-ip.ca","no-ip.co.uk","no-ip.net","noip.us","onthewifi.com","pgafan.net","point2this.com","pointto.us","privatizehealthinsurance.net","quicksytes.com","read-books.org","securitytactics.com","serveexchange.com","servehumour.com","servep2p.com","servesarcasm.com","stufftoread.com","ufcfan.org","unusualperson.com","workisboring.com","3utilities.com","bounceme.net","ddns.net","ddnsking.com","gotdns.ch","hopto.org","myftp.biz","myftp.org","myvnc.com","no-ip.biz","no-ip.info","no-ip.org","noip.me","redirectme.net","servebeer.com","serveblog.net","servecounterstrike.com","serveftp.com","servegame.com","servehalflife.com","servehttp.com","serveirc.com","serveminecraft.net","servemp3.com","servepics.com","servequake.com","sytes.net","webhop.me","zapto.org","stage.nodeart.io","pcloud.host","nyc.mn","static.observableusercontent.com","cya.gg","omg.lol","cloudycluster.net","omniwe.site","service.one","nid.io","opensocial.site","opencraft.hosting","orsites.com","operaunite.com","tech.orange","authgear-staging.com","authgearapps.com","skygearapp.com","outsystemscloud.com","*.webpaas.ovh.net","*.hosting.ovh.net","ownprovider.com","own.pm","*.owo.codes","ox.rs","oy.lc","pgfog.com","pagefrontapp.com","pagexl.com","*.paywhirl.com","bar0.net","bar1.net","bar2.net","rdv.to","art.pl","gliwice.pl","krakow.pl","poznan.pl","wroc.pl","zakopane.pl","pantheonsite.io","gotpantheon.com","mypep.link","perspecta.cloud","lk3.ru","on-web.fr","bc.platform.sh","ent.platform.sh","eu.platform.sh","us.platform.sh","*.platformsh.site","*.tst.site","platter-app.com","platter-app.dev","platterp.us","pdns.page","plesk.page","pleskns.com","dyn53.io","onporter.run","co.bn","postman-echo.com","pstmn.io","mock.pstmn.io","httpbin.org","prequalifyme.today","xen.prgmr.com","priv.at","prvcy.page","*.dweb.link","protonet.io","chirurgiens-dentistes-en-france.fr","byen.site","pubtls.org","pythonanywhere.com","eu.pythonanywhere.com","qoto.io","qualifioapp.com","qbuser.com","cloudsite.builders","instances.spawn.cc","instantcloud.cn","ras.ru","qa2.com","qcx.io","*.sys.qcx.io","dev-myqnapcloud.com","alpha-myqnapcloud.com","myqnapcloud.com","*.quipelements.com","vapor.cloud","vaporcloud.io","rackmaze.com","rackmaze.net","g.vbrplsbx.io","*.on-k3s.io","*.on-rancher.cloud","*.on-rio.io","readthedocs.io","rhcloud.com","app.render.com","onrender.com","repl.co","id.repl.co","repl.run","resindevice.io","devices.resinstaging.io","hzc.io","wellbeingzone.eu","wellbeingzone.co.uk","adimo.co.uk","itcouldbewor.se","git-pages.rit.edu","rocky.page","биз.рус","ком.рус","крым.рус","мир.рус","мск.рус","орг.рус","самара.рус","сочи.рус","спб.рус","я.рус","*.builder.code.com","*.dev-builder.code.com","*.stg-builder.code.com","sandcats.io","logoip.de","logoip.com","fr-par-1.baremetal.scw.cloud","fr-par-2.baremetal.scw.cloud","nl-ams-1.baremetal.scw.cloud","fnc.fr-par.scw.cloud","functions.fnc.fr-par.scw.cloud","k8s.fr-par.scw.cloud","nodes.k8s.fr-par.scw.cloud","s3.fr-par.scw.cloud","s3-website.fr-par.scw.cloud","whm.fr-par.scw.cloud","priv.instances.scw.cloud","pub.instances.scw.cloud","k8s.scw.cloud","k8s.nl-ams.scw.cloud","nodes.k8s.nl-ams.scw.cloud","s3.nl-ams.scw.cloud","s3-website.nl-ams.scw.cloud","whm.nl-ams.scw.cloud","k8s.pl-waw.scw.cloud","nodes.k8s.pl-waw.scw.cloud","s3.pl-waw.scw.cloud","s3-website.pl-waw.scw.cloud","scalebook.scw.cloud","smartlabeling.scw.cloud","dedibox.fr","schokokeks.net","gov.scot","service.gov.scot","scrysec.com","firewall-gateway.com","firewall-gateway.de","my-gateway.de","my-router.de","spdns.de","spdns.eu","firewall-gateway.net","my-firewall.org","myfirewall.org","spdns.org","seidat.net","sellfy.store","senseering.net","minisite.ms","magnet.page","biz.ua","co.ua","pp.ua","shiftcrypto.dev","shiftcrypto.io","shiftedit.io","myshopblocks.com","myshopify.com","shopitsite.com","shopware.store","mo-siemens.io","1kapp.com","appchizi.com","applinzi.com","sinaapp.com","vipsinaapp.com","siteleaf.net","bounty-full.com","alpha.bounty-full.com","beta.bounty-full.com","small-web.org","vp4.me","try-snowplow.com","srht.site","stackhero-network.com","musician.io","novecore.site","static.land","dev.static.land","sites.static.land","storebase.store","vps-host.net","atl.jelastic.vps-host.net","njs.jelastic.vps-host.net","ric.jelastic.vps-host.net","playstation-cloud.com","apps.lair.io","*.stolos.io","spacekit.io","customer.speedpartner.de","myspreadshop.at","myspreadshop.com.au","myspreadshop.be","myspreadshop.ca","myspreadshop.ch","myspreadshop.com","myspreadshop.de","myspreadshop.dk","myspreadshop.es","myspreadshop.fi","myspreadshop.fr","myspreadshop.ie","myspreadshop.it","myspreadshop.net","myspreadshop.nl","myspreadshop.no","myspreadshop.pl","myspreadshop.se","myspreadshop.co.uk","api.stdlib.com","storj.farm","utwente.io","soc.srcf.net","user.srcf.net","temp-dns.com","supabase.co","supabase.in","supabase.net","su.paba.se","*.s5y.io","*.sensiosite.cloud","syncloud.it","dscloud.biz","direct.quickconnect.cn","dsmynas.com","familyds.com","diskstation.me","dscloud.me","i234.me","myds.me","synology.me","dscloud.mobi","dsmynas.net","familyds.net","dsmynas.org","familyds.org","vpnplus.to","direct.quickconnect.to","tabitorder.co.il","taifun-dns.de","beta.tailscale.net","ts.net","gda.pl","gdansk.pl","gdynia.pl","med.pl","sopot.pl","site.tb-hosting.com","edugit.io","s3.teckids.org","telebit.app","telebit.io","*.telebit.xyz","gwiddle.co.uk","*.firenet.ch","*.svc.firenet.ch","reservd.com","thingdustdata.com","cust.dev.thingdust.io","cust.disrec.thingdust.io","cust.prod.thingdust.io","cust.testing.thingdust.io","reservd.dev.thingdust.io","reservd.disrec.thingdust.io","reservd.testing.thingdust.io","tickets.io","arvo.network","azimuth.network","tlon.network","torproject.net","pages.torproject.net","bloxcms.com","townnews-staging.com","tbits.me","12hp.at","2ix.at","4lima.at","lima-city.at","12hp.ch","2ix.ch","4lima.ch","lima-city.ch","trafficplex.cloud","de.cool","12hp.de","2ix.de","4lima.de","lima-city.de","1337.pictures","clan.rip","lima-city.rocks","webspace.rocks","lima.zone","*.transurl.be","*.transurl.eu","*.transurl.nl","site.transip.me","tuxfamily.org","dd-dns.de","diskstation.eu","diskstation.org","dray-dns.de","draydns.de","dyn-vpn.de","dynvpn.de","mein-vigor.de","my-vigor.de","my-wan.de","syno-ds.de","synology-diskstation.de","synology-ds.de","typedream.app","pro.typeform.com","uber.space","*.uberspace.de","hk.com","hk.org","ltd.hk","inc.hk","name.pm","sch.tf","biz.wf","sch.wf","org.yt","virtualuser.de","virtual-user.de","upli.io","urown.cloud","dnsupdate.info","lib.de.us","2038.io","vercel.app","vercel.dev","now.sh","router.management","v-info.info","voorloper.cloud","neko.am","nyaa.am","be.ax","cat.ax","es.ax","eu.ax","gg.ax","mc.ax","us.ax","xy.ax","nl.ci","xx.gl","app.gp","blog.gt","de.gt","to.gt","be.gy","cc.hn","blog.kg","io.kg","jp.kg","tv.kg","uk.kg","us.kg","de.ls","at.md","de.md","jp.md","to.md","indie.porn","vxl.sh","ch.tc","me.tc","we.tc","nyan.to","at.vg","blog.vu","dev.vu","me.vu","v.ua","*.vultrobjects.com","wafflecell.com","*.webhare.dev","reserve-online.net","reserve-online.com","bookonline.app","hotelwithflight.com","wedeploy.io","wedeploy.me","wedeploy.sh","remotewd.com","pages.wiardweb.com","wmflabs.org","toolforge.org","wmcloud.org","panel.gg","daemon.panel.gg","messwithdns.com","woltlab-demo.com","myforum.community","community-pro.de","diskussionsbereich.de","community-pro.net","meinforum.net","affinitylottery.org.uk","raffleentry.org.uk","weeklylottery.org.uk","wpenginepowered.com","js.wpenginepowered.com","wixsite.com","editorx.io","half.host","xnbay.com","u2.xnbay.com","u2-local.xnbay.com","cistron.nl","demon.nl","xs4all.space","yandexcloud.net","storage.yandexcloud.net","website.yandexcloud.net","official.academy","yolasite.com","ybo.faith","yombo.me","homelink.one","ybo.party","ybo.review","ybo.science","ybo.trade","ynh.fr","nohost.me","noho.st","za.net","za.org","bss.design","basicserver.io","virtualserver.io","enterprisecloud.nu"]'); + module.exports = function(path) { + if ("string" != typeof path) return ""; + for (var i = path.length - 1; i >= 0; --i) switch (path.charCodeAt(i)) { + case 47: + case 92: + return ".." === (path = path.slice(i + 1)) || "." === path ? "" : path; + } + return ".." === path || "." === path ? "" : path; + }; + }, + 494: function(module) { + "use strict"; + const utf8Decoder = new TextDecoder("utf-8"), textDecoders = new Map([ [ "utf-8", utf8Decoder ], [ "utf8", utf8Decoder ] ]); + const decoders = { + utf8: (data, sourceEncoding) => 0 === data.length ? "" : ("string" == typeof data && (data = Buffer.from(data, sourceEncoding)), + data.utf8Slice(0, data.length)), + latin1: (data, sourceEncoding) => 0 === data.length ? "" : "string" == typeof data ? data : data.latin1Slice(0, data.length), + utf16le: (data, sourceEncoding) => 0 === data.length ? "" : ("string" == typeof data && (data = Buffer.from(data, sourceEncoding)), + data.ucs2Slice(0, data.length)), + base64: (data, sourceEncoding) => 0 === data.length ? "" : ("string" == typeof data && (data = Buffer.from(data, sourceEncoding)), + data.base64Slice(0, data.length)), + other: (data, sourceEncoding) => { + if (0 === data.length) return ""; + if ("string" == typeof data && (data = Buffer.from(data, sourceEncoding)), textDecoders.has(this.toString())) try { + return textDecoders.get(this).decode(data); + } catch {} + return "string" == typeof data ? data : data.toString(); + } + }; + module.exports = function(text, sourceEncoding, destEncoding) { + return text ? function(charset) { + let lc; + for (;;) switch (charset) { + case "utf-8": + case "utf8": + return decoders.utf8; + + case "latin1": + case "ascii": + case "us-ascii": + case "iso-8859-1": + case "iso8859-1": + case "iso88591": + case "iso_8859-1": + case "windows-1252": + case "iso_8859-1:1987": + case "cp1252": + case "x-cp1252": + return decoders.latin1; + + case "utf16le": + case "utf-16le": + case "ucs2": + case "ucs-2": + return decoders.utf16le; + + case "base64": + return decoders.base64; + + default: + if (void 0 === lc) { + lc = !0, charset = charset.toLowerCase(); + continue; + } + return decoders.other.bind(charset); + } + }(destEncoding)(text, sourceEncoding) : text; + }; + }, + 4808: module => { + "use strict"; + module.exports = function(limits, name, defaultLimit) { + if (!limits || void 0 === limits[name] || null === limits[name]) return defaultLimit; + if ("number" != typeof limits[name] || isNaN(limits[name])) throw new TypeError("Limit " + name + " is not a valid number"); + return limits[name]; + }; }, - 4089: module => { + 7722: (module, __unused_webpack_exports, __webpack_require__) => { "use strict"; - module.exports = JSON.parse('[[[0,44],"disallowed_STD3_valid"],[[45,46],"valid"],[[47,47],"disallowed_STD3_valid"],[[48,57],"valid"],[[58,64],"disallowed_STD3_valid"],[[65,65],"mapped",[97]],[[66,66],"mapped",[98]],[[67,67],"mapped",[99]],[[68,68],"mapped",[100]],[[69,69],"mapped",[101]],[[70,70],"mapped",[102]],[[71,71],"mapped",[103]],[[72,72],"mapped",[104]],[[73,73],"mapped",[105]],[[74,74],"mapped",[106]],[[75,75],"mapped",[107]],[[76,76],"mapped",[108]],[[77,77],"mapped",[109]],[[78,78],"mapped",[110]],[[79,79],"mapped",[111]],[[80,80],"mapped",[112]],[[81,81],"mapped",[113]],[[82,82],"mapped",[114]],[[83,83],"mapped",[115]],[[84,84],"mapped",[116]],[[85,85],"mapped",[117]],[[86,86],"mapped",[118]],[[87,87],"mapped",[119]],[[88,88],"mapped",[120]],[[89,89],"mapped",[121]],[[90,90],"mapped",[122]],[[91,96],"disallowed_STD3_valid"],[[97,122],"valid"],[[123,127],"disallowed_STD3_valid"],[[128,159],"disallowed"],[[160,160],"disallowed_STD3_mapped",[32]],[[161,167],"valid",[],"NV8"],[[168,168],"disallowed_STD3_mapped",[32,776]],[[169,169],"valid",[],"NV8"],[[170,170],"mapped",[97]],[[171,172],"valid",[],"NV8"],[[173,173],"ignored"],[[174,174],"valid",[],"NV8"],[[175,175],"disallowed_STD3_mapped",[32,772]],[[176,177],"valid",[],"NV8"],[[178,178],"mapped",[50]],[[179,179],"mapped",[51]],[[180,180],"disallowed_STD3_mapped",[32,769]],[[181,181],"mapped",[956]],[[182,182],"valid",[],"NV8"],[[183,183],"valid"],[[184,184],"disallowed_STD3_mapped",[32,807]],[[185,185],"mapped",[49]],[[186,186],"mapped",[111]],[[187,187],"valid",[],"NV8"],[[188,188],"mapped",[49,8260,52]],[[189,189],"mapped",[49,8260,50]],[[190,190],"mapped",[51,8260,52]],[[191,191],"valid",[],"NV8"],[[192,192],"mapped",[224]],[[193,193],"mapped",[225]],[[194,194],"mapped",[226]],[[195,195],"mapped",[227]],[[196,196],"mapped",[228]],[[197,197],"mapped",[229]],[[198,198],"mapped",[230]],[[199,199],"mapped",[231]],[[200,200],"mapped",[232]],[[201,201],"mapped",[233]],[[202,202],"mapped",[234]],[[203,203],"mapped",[235]],[[204,204],"mapped",[236]],[[205,205],"mapped",[237]],[[206,206],"mapped",[238]],[[207,207],"mapped",[239]],[[208,208],"mapped",[240]],[[209,209],"mapped",[241]],[[210,210],"mapped",[242]],[[211,211],"mapped",[243]],[[212,212],"mapped",[244]],[[213,213],"mapped",[245]],[[214,214],"mapped",[246]],[[215,215],"valid",[],"NV8"],[[216,216],"mapped",[248]],[[217,217],"mapped",[249]],[[218,218],"mapped",[250]],[[219,219],"mapped",[251]],[[220,220],"mapped",[252]],[[221,221],"mapped",[253]],[[222,222],"mapped",[254]],[[223,223],"deviation",[115,115]],[[224,246],"valid"],[[247,247],"valid",[],"NV8"],[[248,255],"valid"],[[256,256],"mapped",[257]],[[257,257],"valid"],[[258,258],"mapped",[259]],[[259,259],"valid"],[[260,260],"mapped",[261]],[[261,261],"valid"],[[262,262],"mapped",[263]],[[263,263],"valid"],[[264,264],"mapped",[265]],[[265,265],"valid"],[[266,266],"mapped",[267]],[[267,267],"valid"],[[268,268],"mapped",[269]],[[269,269],"valid"],[[270,270],"mapped",[271]],[[271,271],"valid"],[[272,272],"mapped",[273]],[[273,273],"valid"],[[274,274],"mapped",[275]],[[275,275],"valid"],[[276,276],"mapped",[277]],[[277,277],"valid"],[[278,278],"mapped",[279]],[[279,279],"valid"],[[280,280],"mapped",[281]],[[281,281],"valid"],[[282,282],"mapped",[283]],[[283,283],"valid"],[[284,284],"mapped",[285]],[[285,285],"valid"],[[286,286],"mapped",[287]],[[287,287],"valid"],[[288,288],"mapped",[289]],[[289,289],"valid"],[[290,290],"mapped",[291]],[[291,291],"valid"],[[292,292],"mapped",[293]],[[293,293],"valid"],[[294,294],"mapped",[295]],[[295,295],"valid"],[[296,296],"mapped",[297]],[[297,297],"valid"],[[298,298],"mapped",[299]],[[299,299],"valid"],[[300,300],"mapped",[301]],[[301,301],"valid"],[[302,302],"mapped",[303]],[[303,303],"valid"],[[304,304],"mapped",[105,775]],[[305,305],"valid"],[[306,307],"mapped",[105,106]],[[308,308],"mapped",[309]],[[309,309],"valid"],[[310,310],"mapped",[311]],[[311,312],"valid"],[[313,313],"mapped",[314]],[[314,314],"valid"],[[315,315],"mapped",[316]],[[316,316],"valid"],[[317,317],"mapped",[318]],[[318,318],"valid"],[[319,320],"mapped",[108,183]],[[321,321],"mapped",[322]],[[322,322],"valid"],[[323,323],"mapped",[324]],[[324,324],"valid"],[[325,325],"mapped",[326]],[[326,326],"valid"],[[327,327],"mapped",[328]],[[328,328],"valid"],[[329,329],"mapped",[700,110]],[[330,330],"mapped",[331]],[[331,331],"valid"],[[332,332],"mapped",[333]],[[333,333],"valid"],[[334,334],"mapped",[335]],[[335,335],"valid"],[[336,336],"mapped",[337]],[[337,337],"valid"],[[338,338],"mapped",[339]],[[339,339],"valid"],[[340,340],"mapped",[341]],[[341,341],"valid"],[[342,342],"mapped",[343]],[[343,343],"valid"],[[344,344],"mapped",[345]],[[345,345],"valid"],[[346,346],"mapped",[347]],[[347,347],"valid"],[[348,348],"mapped",[349]],[[349,349],"valid"],[[350,350],"mapped",[351]],[[351,351],"valid"],[[352,352],"mapped",[353]],[[353,353],"valid"],[[354,354],"mapped",[355]],[[355,355],"valid"],[[356,356],"mapped",[357]],[[357,357],"valid"],[[358,358],"mapped",[359]],[[359,359],"valid"],[[360,360],"mapped",[361]],[[361,361],"valid"],[[362,362],"mapped",[363]],[[363,363],"valid"],[[364,364],"mapped",[365]],[[365,365],"valid"],[[366,366],"mapped",[367]],[[367,367],"valid"],[[368,368],"mapped",[369]],[[369,369],"valid"],[[370,370],"mapped",[371]],[[371,371],"valid"],[[372,372],"mapped",[373]],[[373,373],"valid"],[[374,374],"mapped",[375]],[[375,375],"valid"],[[376,376],"mapped",[255]],[[377,377],"mapped",[378]],[[378,378],"valid"],[[379,379],"mapped",[380]],[[380,380],"valid"],[[381,381],"mapped",[382]],[[382,382],"valid"],[[383,383],"mapped",[115]],[[384,384],"valid"],[[385,385],"mapped",[595]],[[386,386],"mapped",[387]],[[387,387],"valid"],[[388,388],"mapped",[389]],[[389,389],"valid"],[[390,390],"mapped",[596]],[[391,391],"mapped",[392]],[[392,392],"valid"],[[393,393],"mapped",[598]],[[394,394],"mapped",[599]],[[395,395],"mapped",[396]],[[396,397],"valid"],[[398,398],"mapped",[477]],[[399,399],"mapped",[601]],[[400,400],"mapped",[603]],[[401,401],"mapped",[402]],[[402,402],"valid"],[[403,403],"mapped",[608]],[[404,404],"mapped",[611]],[[405,405],"valid"],[[406,406],"mapped",[617]],[[407,407],"mapped",[616]],[[408,408],"mapped",[409]],[[409,411],"valid"],[[412,412],"mapped",[623]],[[413,413],"mapped",[626]],[[414,414],"valid"],[[415,415],"mapped",[629]],[[416,416],"mapped",[417]],[[417,417],"valid"],[[418,418],"mapped",[419]],[[419,419],"valid"],[[420,420],"mapped",[421]],[[421,421],"valid"],[[422,422],"mapped",[640]],[[423,423],"mapped",[424]],[[424,424],"valid"],[[425,425],"mapped",[643]],[[426,427],"valid"],[[428,428],"mapped",[429]],[[429,429],"valid"],[[430,430],"mapped",[648]],[[431,431],"mapped",[432]],[[432,432],"valid"],[[433,433],"mapped",[650]],[[434,434],"mapped",[651]],[[435,435],"mapped",[436]],[[436,436],"valid"],[[437,437],"mapped",[438]],[[438,438],"valid"],[[439,439],"mapped",[658]],[[440,440],"mapped",[441]],[[441,443],"valid"],[[444,444],"mapped",[445]],[[445,451],"valid"],[[452,454],"mapped",[100,382]],[[455,457],"mapped",[108,106]],[[458,460],"mapped",[110,106]],[[461,461],"mapped",[462]],[[462,462],"valid"],[[463,463],"mapped",[464]],[[464,464],"valid"],[[465,465],"mapped",[466]],[[466,466],"valid"],[[467,467],"mapped",[468]],[[468,468],"valid"],[[469,469],"mapped",[470]],[[470,470],"valid"],[[471,471],"mapped",[472]],[[472,472],"valid"],[[473,473],"mapped",[474]],[[474,474],"valid"],[[475,475],"mapped",[476]],[[476,477],"valid"],[[478,478],"mapped",[479]],[[479,479],"valid"],[[480,480],"mapped",[481]],[[481,481],"valid"],[[482,482],"mapped",[483]],[[483,483],"valid"],[[484,484],"mapped",[485]],[[485,485],"valid"],[[486,486],"mapped",[487]],[[487,487],"valid"],[[488,488],"mapped",[489]],[[489,489],"valid"],[[490,490],"mapped",[491]],[[491,491],"valid"],[[492,492],"mapped",[493]],[[493,493],"valid"],[[494,494],"mapped",[495]],[[495,496],"valid"],[[497,499],"mapped",[100,122]],[[500,500],"mapped",[501]],[[501,501],"valid"],[[502,502],"mapped",[405]],[[503,503],"mapped",[447]],[[504,504],"mapped",[505]],[[505,505],"valid"],[[506,506],"mapped",[507]],[[507,507],"valid"],[[508,508],"mapped",[509]],[[509,509],"valid"],[[510,510],"mapped",[511]],[[511,511],"valid"],[[512,512],"mapped",[513]],[[513,513],"valid"],[[514,514],"mapped",[515]],[[515,515],"valid"],[[516,516],"mapped",[517]],[[517,517],"valid"],[[518,518],"mapped",[519]],[[519,519],"valid"],[[520,520],"mapped",[521]],[[521,521],"valid"],[[522,522],"mapped",[523]],[[523,523],"valid"],[[524,524],"mapped",[525]],[[525,525],"valid"],[[526,526],"mapped",[527]],[[527,527],"valid"],[[528,528],"mapped",[529]],[[529,529],"valid"],[[530,530],"mapped",[531]],[[531,531],"valid"],[[532,532],"mapped",[533]],[[533,533],"valid"],[[534,534],"mapped",[535]],[[535,535],"valid"],[[536,536],"mapped",[537]],[[537,537],"valid"],[[538,538],"mapped",[539]],[[539,539],"valid"],[[540,540],"mapped",[541]],[[541,541],"valid"],[[542,542],"mapped",[543]],[[543,543],"valid"],[[544,544],"mapped",[414]],[[545,545],"valid"],[[546,546],"mapped",[547]],[[547,547],"valid"],[[548,548],"mapped",[549]],[[549,549],"valid"],[[550,550],"mapped",[551]],[[551,551],"valid"],[[552,552],"mapped",[553]],[[553,553],"valid"],[[554,554],"mapped",[555]],[[555,555],"valid"],[[556,556],"mapped",[557]],[[557,557],"valid"],[[558,558],"mapped",[559]],[[559,559],"valid"],[[560,560],"mapped",[561]],[[561,561],"valid"],[[562,562],"mapped",[563]],[[563,563],"valid"],[[564,566],"valid"],[[567,569],"valid"],[[570,570],"mapped",[11365]],[[571,571],"mapped",[572]],[[572,572],"valid"],[[573,573],"mapped",[410]],[[574,574],"mapped",[11366]],[[575,576],"valid"],[[577,577],"mapped",[578]],[[578,578],"valid"],[[579,579],"mapped",[384]],[[580,580],"mapped",[649]],[[581,581],"mapped",[652]],[[582,582],"mapped",[583]],[[583,583],"valid"],[[584,584],"mapped",[585]],[[585,585],"valid"],[[586,586],"mapped",[587]],[[587,587],"valid"],[[588,588],"mapped",[589]],[[589,589],"valid"],[[590,590],"mapped",[591]],[[591,591],"valid"],[[592,680],"valid"],[[681,685],"valid"],[[686,687],"valid"],[[688,688],"mapped",[104]],[[689,689],"mapped",[614]],[[690,690],"mapped",[106]],[[691,691],"mapped",[114]],[[692,692],"mapped",[633]],[[693,693],"mapped",[635]],[[694,694],"mapped",[641]],[[695,695],"mapped",[119]],[[696,696],"mapped",[121]],[[697,705],"valid"],[[706,709],"valid",[],"NV8"],[[710,721],"valid"],[[722,727],"valid",[],"NV8"],[[728,728],"disallowed_STD3_mapped",[32,774]],[[729,729],"disallowed_STD3_mapped",[32,775]],[[730,730],"disallowed_STD3_mapped",[32,778]],[[731,731],"disallowed_STD3_mapped",[32,808]],[[732,732],"disallowed_STD3_mapped",[32,771]],[[733,733],"disallowed_STD3_mapped",[32,779]],[[734,734],"valid",[],"NV8"],[[735,735],"valid",[],"NV8"],[[736,736],"mapped",[611]],[[737,737],"mapped",[108]],[[738,738],"mapped",[115]],[[739,739],"mapped",[120]],[[740,740],"mapped",[661]],[[741,745],"valid",[],"NV8"],[[746,747],"valid",[],"NV8"],[[748,748],"valid"],[[749,749],"valid",[],"NV8"],[[750,750],"valid"],[[751,767],"valid",[],"NV8"],[[768,831],"valid"],[[832,832],"mapped",[768]],[[833,833],"mapped",[769]],[[834,834],"valid"],[[835,835],"mapped",[787]],[[836,836],"mapped",[776,769]],[[837,837],"mapped",[953]],[[838,846],"valid"],[[847,847],"ignored"],[[848,855],"valid"],[[856,860],"valid"],[[861,863],"valid"],[[864,865],"valid"],[[866,866],"valid"],[[867,879],"valid"],[[880,880],"mapped",[881]],[[881,881],"valid"],[[882,882],"mapped",[883]],[[883,883],"valid"],[[884,884],"mapped",[697]],[[885,885],"valid"],[[886,886],"mapped",[887]],[[887,887],"valid"],[[888,889],"disallowed"],[[890,890],"disallowed_STD3_mapped",[32,953]],[[891,893],"valid"],[[894,894],"disallowed_STD3_mapped",[59]],[[895,895],"mapped",[1011]],[[896,899],"disallowed"],[[900,900],"disallowed_STD3_mapped",[32,769]],[[901,901],"disallowed_STD3_mapped",[32,776,769]],[[902,902],"mapped",[940]],[[903,903],"mapped",[183]],[[904,904],"mapped",[941]],[[905,905],"mapped",[942]],[[906,906],"mapped",[943]],[[907,907],"disallowed"],[[908,908],"mapped",[972]],[[909,909],"disallowed"],[[910,910],"mapped",[973]],[[911,911],"mapped",[974]],[[912,912],"valid"],[[913,913],"mapped",[945]],[[914,914],"mapped",[946]],[[915,915],"mapped",[947]],[[916,916],"mapped",[948]],[[917,917],"mapped",[949]],[[918,918],"mapped",[950]],[[919,919],"mapped",[951]],[[920,920],"mapped",[952]],[[921,921],"mapped",[953]],[[922,922],"mapped",[954]],[[923,923],"mapped",[955]],[[924,924],"mapped",[956]],[[925,925],"mapped",[957]],[[926,926],"mapped",[958]],[[927,927],"mapped",[959]],[[928,928],"mapped",[960]],[[929,929],"mapped",[961]],[[930,930],"disallowed"],[[931,931],"mapped",[963]],[[932,932],"mapped",[964]],[[933,933],"mapped",[965]],[[934,934],"mapped",[966]],[[935,935],"mapped",[967]],[[936,936],"mapped",[968]],[[937,937],"mapped",[969]],[[938,938],"mapped",[970]],[[939,939],"mapped",[971]],[[940,961],"valid"],[[962,962],"deviation",[963]],[[963,974],"valid"],[[975,975],"mapped",[983]],[[976,976],"mapped",[946]],[[977,977],"mapped",[952]],[[978,978],"mapped",[965]],[[979,979],"mapped",[973]],[[980,980],"mapped",[971]],[[981,981],"mapped",[966]],[[982,982],"mapped",[960]],[[983,983],"valid"],[[984,984],"mapped",[985]],[[985,985],"valid"],[[986,986],"mapped",[987]],[[987,987],"valid"],[[988,988],"mapped",[989]],[[989,989],"valid"],[[990,990],"mapped",[991]],[[991,991],"valid"],[[992,992],"mapped",[993]],[[993,993],"valid"],[[994,994],"mapped",[995]],[[995,995],"valid"],[[996,996],"mapped",[997]],[[997,997],"valid"],[[998,998],"mapped",[999]],[[999,999],"valid"],[[1000,1000],"mapped",[1001]],[[1001,1001],"valid"],[[1002,1002],"mapped",[1003]],[[1003,1003],"valid"],[[1004,1004],"mapped",[1005]],[[1005,1005],"valid"],[[1006,1006],"mapped",[1007]],[[1007,1007],"valid"],[[1008,1008],"mapped",[954]],[[1009,1009],"mapped",[961]],[[1010,1010],"mapped",[963]],[[1011,1011],"valid"],[[1012,1012],"mapped",[952]],[[1013,1013],"mapped",[949]],[[1014,1014],"valid",[],"NV8"],[[1015,1015],"mapped",[1016]],[[1016,1016],"valid"],[[1017,1017],"mapped",[963]],[[1018,1018],"mapped",[1019]],[[1019,1019],"valid"],[[1020,1020],"valid"],[[1021,1021],"mapped",[891]],[[1022,1022],"mapped",[892]],[[1023,1023],"mapped",[893]],[[1024,1024],"mapped",[1104]],[[1025,1025],"mapped",[1105]],[[1026,1026],"mapped",[1106]],[[1027,1027],"mapped",[1107]],[[1028,1028],"mapped",[1108]],[[1029,1029],"mapped",[1109]],[[1030,1030],"mapped",[1110]],[[1031,1031],"mapped",[1111]],[[1032,1032],"mapped",[1112]],[[1033,1033],"mapped",[1113]],[[1034,1034],"mapped",[1114]],[[1035,1035],"mapped",[1115]],[[1036,1036],"mapped",[1116]],[[1037,1037],"mapped",[1117]],[[1038,1038],"mapped",[1118]],[[1039,1039],"mapped",[1119]],[[1040,1040],"mapped",[1072]],[[1041,1041],"mapped",[1073]],[[1042,1042],"mapped",[1074]],[[1043,1043],"mapped",[1075]],[[1044,1044],"mapped",[1076]],[[1045,1045],"mapped",[1077]],[[1046,1046],"mapped",[1078]],[[1047,1047],"mapped",[1079]],[[1048,1048],"mapped",[1080]],[[1049,1049],"mapped",[1081]],[[1050,1050],"mapped",[1082]],[[1051,1051],"mapped",[1083]],[[1052,1052],"mapped",[1084]],[[1053,1053],"mapped",[1085]],[[1054,1054],"mapped",[1086]],[[1055,1055],"mapped",[1087]],[[1056,1056],"mapped",[1088]],[[1057,1057],"mapped",[1089]],[[1058,1058],"mapped",[1090]],[[1059,1059],"mapped",[1091]],[[1060,1060],"mapped",[1092]],[[1061,1061],"mapped",[1093]],[[1062,1062],"mapped",[1094]],[[1063,1063],"mapped",[1095]],[[1064,1064],"mapped",[1096]],[[1065,1065],"mapped",[1097]],[[1066,1066],"mapped",[1098]],[[1067,1067],"mapped",[1099]],[[1068,1068],"mapped",[1100]],[[1069,1069],"mapped",[1101]],[[1070,1070],"mapped",[1102]],[[1071,1071],"mapped",[1103]],[[1072,1103],"valid"],[[1104,1104],"valid"],[[1105,1116],"valid"],[[1117,1117],"valid"],[[1118,1119],"valid"],[[1120,1120],"mapped",[1121]],[[1121,1121],"valid"],[[1122,1122],"mapped",[1123]],[[1123,1123],"valid"],[[1124,1124],"mapped",[1125]],[[1125,1125],"valid"],[[1126,1126],"mapped",[1127]],[[1127,1127],"valid"],[[1128,1128],"mapped",[1129]],[[1129,1129],"valid"],[[1130,1130],"mapped",[1131]],[[1131,1131],"valid"],[[1132,1132],"mapped",[1133]],[[1133,1133],"valid"],[[1134,1134],"mapped",[1135]],[[1135,1135],"valid"],[[1136,1136],"mapped",[1137]],[[1137,1137],"valid"],[[1138,1138],"mapped",[1139]],[[1139,1139],"valid"],[[1140,1140],"mapped",[1141]],[[1141,1141],"valid"],[[1142,1142],"mapped",[1143]],[[1143,1143],"valid"],[[1144,1144],"mapped",[1145]],[[1145,1145],"valid"],[[1146,1146],"mapped",[1147]],[[1147,1147],"valid"],[[1148,1148],"mapped",[1149]],[[1149,1149],"valid"],[[1150,1150],"mapped",[1151]],[[1151,1151],"valid"],[[1152,1152],"mapped",[1153]],[[1153,1153],"valid"],[[1154,1154],"valid",[],"NV8"],[[1155,1158],"valid"],[[1159,1159],"valid"],[[1160,1161],"valid",[],"NV8"],[[1162,1162],"mapped",[1163]],[[1163,1163],"valid"],[[1164,1164],"mapped",[1165]],[[1165,1165],"valid"],[[1166,1166],"mapped",[1167]],[[1167,1167],"valid"],[[1168,1168],"mapped",[1169]],[[1169,1169],"valid"],[[1170,1170],"mapped",[1171]],[[1171,1171],"valid"],[[1172,1172],"mapped",[1173]],[[1173,1173],"valid"],[[1174,1174],"mapped",[1175]],[[1175,1175],"valid"],[[1176,1176],"mapped",[1177]],[[1177,1177],"valid"],[[1178,1178],"mapped",[1179]],[[1179,1179],"valid"],[[1180,1180],"mapped",[1181]],[[1181,1181],"valid"],[[1182,1182],"mapped",[1183]],[[1183,1183],"valid"],[[1184,1184],"mapped",[1185]],[[1185,1185],"valid"],[[1186,1186],"mapped",[1187]],[[1187,1187],"valid"],[[1188,1188],"mapped",[1189]],[[1189,1189],"valid"],[[1190,1190],"mapped",[1191]],[[1191,1191],"valid"],[[1192,1192],"mapped",[1193]],[[1193,1193],"valid"],[[1194,1194],"mapped",[1195]],[[1195,1195],"valid"],[[1196,1196],"mapped",[1197]],[[1197,1197],"valid"],[[1198,1198],"mapped",[1199]],[[1199,1199],"valid"],[[1200,1200],"mapped",[1201]],[[1201,1201],"valid"],[[1202,1202],"mapped",[1203]],[[1203,1203],"valid"],[[1204,1204],"mapped",[1205]],[[1205,1205],"valid"],[[1206,1206],"mapped",[1207]],[[1207,1207],"valid"],[[1208,1208],"mapped",[1209]],[[1209,1209],"valid"],[[1210,1210],"mapped",[1211]],[[1211,1211],"valid"],[[1212,1212],"mapped",[1213]],[[1213,1213],"valid"],[[1214,1214],"mapped",[1215]],[[1215,1215],"valid"],[[1216,1216],"disallowed"],[[1217,1217],"mapped",[1218]],[[1218,1218],"valid"],[[1219,1219],"mapped",[1220]],[[1220,1220],"valid"],[[1221,1221],"mapped",[1222]],[[1222,1222],"valid"],[[1223,1223],"mapped",[1224]],[[1224,1224],"valid"],[[1225,1225],"mapped",[1226]],[[1226,1226],"valid"],[[1227,1227],"mapped",[1228]],[[1228,1228],"valid"],[[1229,1229],"mapped",[1230]],[[1230,1230],"valid"],[[1231,1231],"valid"],[[1232,1232],"mapped",[1233]],[[1233,1233],"valid"],[[1234,1234],"mapped",[1235]],[[1235,1235],"valid"],[[1236,1236],"mapped",[1237]],[[1237,1237],"valid"],[[1238,1238],"mapped",[1239]],[[1239,1239],"valid"],[[1240,1240],"mapped",[1241]],[[1241,1241],"valid"],[[1242,1242],"mapped",[1243]],[[1243,1243],"valid"],[[1244,1244],"mapped",[1245]],[[1245,1245],"valid"],[[1246,1246],"mapped",[1247]],[[1247,1247],"valid"],[[1248,1248],"mapped",[1249]],[[1249,1249],"valid"],[[1250,1250],"mapped",[1251]],[[1251,1251],"valid"],[[1252,1252],"mapped",[1253]],[[1253,1253],"valid"],[[1254,1254],"mapped",[1255]],[[1255,1255],"valid"],[[1256,1256],"mapped",[1257]],[[1257,1257],"valid"],[[1258,1258],"mapped",[1259]],[[1259,1259],"valid"],[[1260,1260],"mapped",[1261]],[[1261,1261],"valid"],[[1262,1262],"mapped",[1263]],[[1263,1263],"valid"],[[1264,1264],"mapped",[1265]],[[1265,1265],"valid"],[[1266,1266],"mapped",[1267]],[[1267,1267],"valid"],[[1268,1268],"mapped",[1269]],[[1269,1269],"valid"],[[1270,1270],"mapped",[1271]],[[1271,1271],"valid"],[[1272,1272],"mapped",[1273]],[[1273,1273],"valid"],[[1274,1274],"mapped",[1275]],[[1275,1275],"valid"],[[1276,1276],"mapped",[1277]],[[1277,1277],"valid"],[[1278,1278],"mapped",[1279]],[[1279,1279],"valid"],[[1280,1280],"mapped",[1281]],[[1281,1281],"valid"],[[1282,1282],"mapped",[1283]],[[1283,1283],"valid"],[[1284,1284],"mapped",[1285]],[[1285,1285],"valid"],[[1286,1286],"mapped",[1287]],[[1287,1287],"valid"],[[1288,1288],"mapped",[1289]],[[1289,1289],"valid"],[[1290,1290],"mapped",[1291]],[[1291,1291],"valid"],[[1292,1292],"mapped",[1293]],[[1293,1293],"valid"],[[1294,1294],"mapped",[1295]],[[1295,1295],"valid"],[[1296,1296],"mapped",[1297]],[[1297,1297],"valid"],[[1298,1298],"mapped",[1299]],[[1299,1299],"valid"],[[1300,1300],"mapped",[1301]],[[1301,1301],"valid"],[[1302,1302],"mapped",[1303]],[[1303,1303],"valid"],[[1304,1304],"mapped",[1305]],[[1305,1305],"valid"],[[1306,1306],"mapped",[1307]],[[1307,1307],"valid"],[[1308,1308],"mapped",[1309]],[[1309,1309],"valid"],[[1310,1310],"mapped",[1311]],[[1311,1311],"valid"],[[1312,1312],"mapped",[1313]],[[1313,1313],"valid"],[[1314,1314],"mapped",[1315]],[[1315,1315],"valid"],[[1316,1316],"mapped",[1317]],[[1317,1317],"valid"],[[1318,1318],"mapped",[1319]],[[1319,1319],"valid"],[[1320,1320],"mapped",[1321]],[[1321,1321],"valid"],[[1322,1322],"mapped",[1323]],[[1323,1323],"valid"],[[1324,1324],"mapped",[1325]],[[1325,1325],"valid"],[[1326,1326],"mapped",[1327]],[[1327,1327],"valid"],[[1328,1328],"disallowed"],[[1329,1329],"mapped",[1377]],[[1330,1330],"mapped",[1378]],[[1331,1331],"mapped",[1379]],[[1332,1332],"mapped",[1380]],[[1333,1333],"mapped",[1381]],[[1334,1334],"mapped",[1382]],[[1335,1335],"mapped",[1383]],[[1336,1336],"mapped",[1384]],[[1337,1337],"mapped",[1385]],[[1338,1338],"mapped",[1386]],[[1339,1339],"mapped",[1387]],[[1340,1340],"mapped",[1388]],[[1341,1341],"mapped",[1389]],[[1342,1342],"mapped",[1390]],[[1343,1343],"mapped",[1391]],[[1344,1344],"mapped",[1392]],[[1345,1345],"mapped",[1393]],[[1346,1346],"mapped",[1394]],[[1347,1347],"mapped",[1395]],[[1348,1348],"mapped",[1396]],[[1349,1349],"mapped",[1397]],[[1350,1350],"mapped",[1398]],[[1351,1351],"mapped",[1399]],[[1352,1352],"mapped",[1400]],[[1353,1353],"mapped",[1401]],[[1354,1354],"mapped",[1402]],[[1355,1355],"mapped",[1403]],[[1356,1356],"mapped",[1404]],[[1357,1357],"mapped",[1405]],[[1358,1358],"mapped",[1406]],[[1359,1359],"mapped",[1407]],[[1360,1360],"mapped",[1408]],[[1361,1361],"mapped",[1409]],[[1362,1362],"mapped",[1410]],[[1363,1363],"mapped",[1411]],[[1364,1364],"mapped",[1412]],[[1365,1365],"mapped",[1413]],[[1366,1366],"mapped",[1414]],[[1367,1368],"disallowed"],[[1369,1369],"valid"],[[1370,1375],"valid",[],"NV8"],[[1376,1376],"disallowed"],[[1377,1414],"valid"],[[1415,1415],"mapped",[1381,1410]],[[1416,1416],"disallowed"],[[1417,1417],"valid",[],"NV8"],[[1418,1418],"valid",[],"NV8"],[[1419,1420],"disallowed"],[[1421,1422],"valid",[],"NV8"],[[1423,1423],"valid",[],"NV8"],[[1424,1424],"disallowed"],[[1425,1441],"valid"],[[1442,1442],"valid"],[[1443,1455],"valid"],[[1456,1465],"valid"],[[1466,1466],"valid"],[[1467,1469],"valid"],[[1470,1470],"valid",[],"NV8"],[[1471,1471],"valid"],[[1472,1472],"valid",[],"NV8"],[[1473,1474],"valid"],[[1475,1475],"valid",[],"NV8"],[[1476,1476],"valid"],[[1477,1477],"valid"],[[1478,1478],"valid",[],"NV8"],[[1479,1479],"valid"],[[1480,1487],"disallowed"],[[1488,1514],"valid"],[[1515,1519],"disallowed"],[[1520,1524],"valid"],[[1525,1535],"disallowed"],[[1536,1539],"disallowed"],[[1540,1540],"disallowed"],[[1541,1541],"disallowed"],[[1542,1546],"valid",[],"NV8"],[[1547,1547],"valid",[],"NV8"],[[1548,1548],"valid",[],"NV8"],[[1549,1551],"valid",[],"NV8"],[[1552,1557],"valid"],[[1558,1562],"valid"],[[1563,1563],"valid",[],"NV8"],[[1564,1564],"disallowed"],[[1565,1565],"disallowed"],[[1566,1566],"valid",[],"NV8"],[[1567,1567],"valid",[],"NV8"],[[1568,1568],"valid"],[[1569,1594],"valid"],[[1595,1599],"valid"],[[1600,1600],"valid",[],"NV8"],[[1601,1618],"valid"],[[1619,1621],"valid"],[[1622,1624],"valid"],[[1625,1630],"valid"],[[1631,1631],"valid"],[[1632,1641],"valid"],[[1642,1645],"valid",[],"NV8"],[[1646,1647],"valid"],[[1648,1652],"valid"],[[1653,1653],"mapped",[1575,1652]],[[1654,1654],"mapped",[1608,1652]],[[1655,1655],"mapped",[1735,1652]],[[1656,1656],"mapped",[1610,1652]],[[1657,1719],"valid"],[[1720,1721],"valid"],[[1722,1726],"valid"],[[1727,1727],"valid"],[[1728,1742],"valid"],[[1743,1743],"valid"],[[1744,1747],"valid"],[[1748,1748],"valid",[],"NV8"],[[1749,1756],"valid"],[[1757,1757],"disallowed"],[[1758,1758],"valid",[],"NV8"],[[1759,1768],"valid"],[[1769,1769],"valid",[],"NV8"],[[1770,1773],"valid"],[[1774,1775],"valid"],[[1776,1785],"valid"],[[1786,1790],"valid"],[[1791,1791],"valid"],[[1792,1805],"valid",[],"NV8"],[[1806,1806],"disallowed"],[[1807,1807],"disallowed"],[[1808,1836],"valid"],[[1837,1839],"valid"],[[1840,1866],"valid"],[[1867,1868],"disallowed"],[[1869,1871],"valid"],[[1872,1901],"valid"],[[1902,1919],"valid"],[[1920,1968],"valid"],[[1969,1969],"valid"],[[1970,1983],"disallowed"],[[1984,2037],"valid"],[[2038,2042],"valid",[],"NV8"],[[2043,2047],"disallowed"],[[2048,2093],"valid"],[[2094,2095],"disallowed"],[[2096,2110],"valid",[],"NV8"],[[2111,2111],"disallowed"],[[2112,2139],"valid"],[[2140,2141],"disallowed"],[[2142,2142],"valid",[],"NV8"],[[2143,2207],"disallowed"],[[2208,2208],"valid"],[[2209,2209],"valid"],[[2210,2220],"valid"],[[2221,2226],"valid"],[[2227,2228],"valid"],[[2229,2274],"disallowed"],[[2275,2275],"valid"],[[2276,2302],"valid"],[[2303,2303],"valid"],[[2304,2304],"valid"],[[2305,2307],"valid"],[[2308,2308],"valid"],[[2309,2361],"valid"],[[2362,2363],"valid"],[[2364,2381],"valid"],[[2382,2382],"valid"],[[2383,2383],"valid"],[[2384,2388],"valid"],[[2389,2389],"valid"],[[2390,2391],"valid"],[[2392,2392],"mapped",[2325,2364]],[[2393,2393],"mapped",[2326,2364]],[[2394,2394],"mapped",[2327,2364]],[[2395,2395],"mapped",[2332,2364]],[[2396,2396],"mapped",[2337,2364]],[[2397,2397],"mapped",[2338,2364]],[[2398,2398],"mapped",[2347,2364]],[[2399,2399],"mapped",[2351,2364]],[[2400,2403],"valid"],[[2404,2405],"valid",[],"NV8"],[[2406,2415],"valid"],[[2416,2416],"valid",[],"NV8"],[[2417,2418],"valid"],[[2419,2423],"valid"],[[2424,2424],"valid"],[[2425,2426],"valid"],[[2427,2428],"valid"],[[2429,2429],"valid"],[[2430,2431],"valid"],[[2432,2432],"valid"],[[2433,2435],"valid"],[[2436,2436],"disallowed"],[[2437,2444],"valid"],[[2445,2446],"disallowed"],[[2447,2448],"valid"],[[2449,2450],"disallowed"],[[2451,2472],"valid"],[[2473,2473],"disallowed"],[[2474,2480],"valid"],[[2481,2481],"disallowed"],[[2482,2482],"valid"],[[2483,2485],"disallowed"],[[2486,2489],"valid"],[[2490,2491],"disallowed"],[[2492,2492],"valid"],[[2493,2493],"valid"],[[2494,2500],"valid"],[[2501,2502],"disallowed"],[[2503,2504],"valid"],[[2505,2506],"disallowed"],[[2507,2509],"valid"],[[2510,2510],"valid"],[[2511,2518],"disallowed"],[[2519,2519],"valid"],[[2520,2523],"disallowed"],[[2524,2524],"mapped",[2465,2492]],[[2525,2525],"mapped",[2466,2492]],[[2526,2526],"disallowed"],[[2527,2527],"mapped",[2479,2492]],[[2528,2531],"valid"],[[2532,2533],"disallowed"],[[2534,2545],"valid"],[[2546,2554],"valid",[],"NV8"],[[2555,2555],"valid",[],"NV8"],[[2556,2560],"disallowed"],[[2561,2561],"valid"],[[2562,2562],"valid"],[[2563,2563],"valid"],[[2564,2564],"disallowed"],[[2565,2570],"valid"],[[2571,2574],"disallowed"],[[2575,2576],"valid"],[[2577,2578],"disallowed"],[[2579,2600],"valid"],[[2601,2601],"disallowed"],[[2602,2608],"valid"],[[2609,2609],"disallowed"],[[2610,2610],"valid"],[[2611,2611],"mapped",[2610,2620]],[[2612,2612],"disallowed"],[[2613,2613],"valid"],[[2614,2614],"mapped",[2616,2620]],[[2615,2615],"disallowed"],[[2616,2617],"valid"],[[2618,2619],"disallowed"],[[2620,2620],"valid"],[[2621,2621],"disallowed"],[[2622,2626],"valid"],[[2627,2630],"disallowed"],[[2631,2632],"valid"],[[2633,2634],"disallowed"],[[2635,2637],"valid"],[[2638,2640],"disallowed"],[[2641,2641],"valid"],[[2642,2648],"disallowed"],[[2649,2649],"mapped",[2582,2620]],[[2650,2650],"mapped",[2583,2620]],[[2651,2651],"mapped",[2588,2620]],[[2652,2652],"valid"],[[2653,2653],"disallowed"],[[2654,2654],"mapped",[2603,2620]],[[2655,2661],"disallowed"],[[2662,2676],"valid"],[[2677,2677],"valid"],[[2678,2688],"disallowed"],[[2689,2691],"valid"],[[2692,2692],"disallowed"],[[2693,2699],"valid"],[[2700,2700],"valid"],[[2701,2701],"valid"],[[2702,2702],"disallowed"],[[2703,2705],"valid"],[[2706,2706],"disallowed"],[[2707,2728],"valid"],[[2729,2729],"disallowed"],[[2730,2736],"valid"],[[2737,2737],"disallowed"],[[2738,2739],"valid"],[[2740,2740],"disallowed"],[[2741,2745],"valid"],[[2746,2747],"disallowed"],[[2748,2757],"valid"],[[2758,2758],"disallowed"],[[2759,2761],"valid"],[[2762,2762],"disallowed"],[[2763,2765],"valid"],[[2766,2767],"disallowed"],[[2768,2768],"valid"],[[2769,2783],"disallowed"],[[2784,2784],"valid"],[[2785,2787],"valid"],[[2788,2789],"disallowed"],[[2790,2799],"valid"],[[2800,2800],"valid",[],"NV8"],[[2801,2801],"valid",[],"NV8"],[[2802,2808],"disallowed"],[[2809,2809],"valid"],[[2810,2816],"disallowed"],[[2817,2819],"valid"],[[2820,2820],"disallowed"],[[2821,2828],"valid"],[[2829,2830],"disallowed"],[[2831,2832],"valid"],[[2833,2834],"disallowed"],[[2835,2856],"valid"],[[2857,2857],"disallowed"],[[2858,2864],"valid"],[[2865,2865],"disallowed"],[[2866,2867],"valid"],[[2868,2868],"disallowed"],[[2869,2869],"valid"],[[2870,2873],"valid"],[[2874,2875],"disallowed"],[[2876,2883],"valid"],[[2884,2884],"valid"],[[2885,2886],"disallowed"],[[2887,2888],"valid"],[[2889,2890],"disallowed"],[[2891,2893],"valid"],[[2894,2901],"disallowed"],[[2902,2903],"valid"],[[2904,2907],"disallowed"],[[2908,2908],"mapped",[2849,2876]],[[2909,2909],"mapped",[2850,2876]],[[2910,2910],"disallowed"],[[2911,2913],"valid"],[[2914,2915],"valid"],[[2916,2917],"disallowed"],[[2918,2927],"valid"],[[2928,2928],"valid",[],"NV8"],[[2929,2929],"valid"],[[2930,2935],"valid",[],"NV8"],[[2936,2945],"disallowed"],[[2946,2947],"valid"],[[2948,2948],"disallowed"],[[2949,2954],"valid"],[[2955,2957],"disallowed"],[[2958,2960],"valid"],[[2961,2961],"disallowed"],[[2962,2965],"valid"],[[2966,2968],"disallowed"],[[2969,2970],"valid"],[[2971,2971],"disallowed"],[[2972,2972],"valid"],[[2973,2973],"disallowed"],[[2974,2975],"valid"],[[2976,2978],"disallowed"],[[2979,2980],"valid"],[[2981,2983],"disallowed"],[[2984,2986],"valid"],[[2987,2989],"disallowed"],[[2990,2997],"valid"],[[2998,2998],"valid"],[[2999,3001],"valid"],[[3002,3005],"disallowed"],[[3006,3010],"valid"],[[3011,3013],"disallowed"],[[3014,3016],"valid"],[[3017,3017],"disallowed"],[[3018,3021],"valid"],[[3022,3023],"disallowed"],[[3024,3024],"valid"],[[3025,3030],"disallowed"],[[3031,3031],"valid"],[[3032,3045],"disallowed"],[[3046,3046],"valid"],[[3047,3055],"valid"],[[3056,3058],"valid",[],"NV8"],[[3059,3066],"valid",[],"NV8"],[[3067,3071],"disallowed"],[[3072,3072],"valid"],[[3073,3075],"valid"],[[3076,3076],"disallowed"],[[3077,3084],"valid"],[[3085,3085],"disallowed"],[[3086,3088],"valid"],[[3089,3089],"disallowed"],[[3090,3112],"valid"],[[3113,3113],"disallowed"],[[3114,3123],"valid"],[[3124,3124],"valid"],[[3125,3129],"valid"],[[3130,3132],"disallowed"],[[3133,3133],"valid"],[[3134,3140],"valid"],[[3141,3141],"disallowed"],[[3142,3144],"valid"],[[3145,3145],"disallowed"],[[3146,3149],"valid"],[[3150,3156],"disallowed"],[[3157,3158],"valid"],[[3159,3159],"disallowed"],[[3160,3161],"valid"],[[3162,3162],"valid"],[[3163,3167],"disallowed"],[[3168,3169],"valid"],[[3170,3171],"valid"],[[3172,3173],"disallowed"],[[3174,3183],"valid"],[[3184,3191],"disallowed"],[[3192,3199],"valid",[],"NV8"],[[3200,3200],"disallowed"],[[3201,3201],"valid"],[[3202,3203],"valid"],[[3204,3204],"disallowed"],[[3205,3212],"valid"],[[3213,3213],"disallowed"],[[3214,3216],"valid"],[[3217,3217],"disallowed"],[[3218,3240],"valid"],[[3241,3241],"disallowed"],[[3242,3251],"valid"],[[3252,3252],"disallowed"],[[3253,3257],"valid"],[[3258,3259],"disallowed"],[[3260,3261],"valid"],[[3262,3268],"valid"],[[3269,3269],"disallowed"],[[3270,3272],"valid"],[[3273,3273],"disallowed"],[[3274,3277],"valid"],[[3278,3284],"disallowed"],[[3285,3286],"valid"],[[3287,3293],"disallowed"],[[3294,3294],"valid"],[[3295,3295],"disallowed"],[[3296,3297],"valid"],[[3298,3299],"valid"],[[3300,3301],"disallowed"],[[3302,3311],"valid"],[[3312,3312],"disallowed"],[[3313,3314],"valid"],[[3315,3328],"disallowed"],[[3329,3329],"valid"],[[3330,3331],"valid"],[[3332,3332],"disallowed"],[[3333,3340],"valid"],[[3341,3341],"disallowed"],[[3342,3344],"valid"],[[3345,3345],"disallowed"],[[3346,3368],"valid"],[[3369,3369],"valid"],[[3370,3385],"valid"],[[3386,3386],"valid"],[[3387,3388],"disallowed"],[[3389,3389],"valid"],[[3390,3395],"valid"],[[3396,3396],"valid"],[[3397,3397],"disallowed"],[[3398,3400],"valid"],[[3401,3401],"disallowed"],[[3402,3405],"valid"],[[3406,3406],"valid"],[[3407,3414],"disallowed"],[[3415,3415],"valid"],[[3416,3422],"disallowed"],[[3423,3423],"valid"],[[3424,3425],"valid"],[[3426,3427],"valid"],[[3428,3429],"disallowed"],[[3430,3439],"valid"],[[3440,3445],"valid",[],"NV8"],[[3446,3448],"disallowed"],[[3449,3449],"valid",[],"NV8"],[[3450,3455],"valid"],[[3456,3457],"disallowed"],[[3458,3459],"valid"],[[3460,3460],"disallowed"],[[3461,3478],"valid"],[[3479,3481],"disallowed"],[[3482,3505],"valid"],[[3506,3506],"disallowed"],[[3507,3515],"valid"],[[3516,3516],"disallowed"],[[3517,3517],"valid"],[[3518,3519],"disallowed"],[[3520,3526],"valid"],[[3527,3529],"disallowed"],[[3530,3530],"valid"],[[3531,3534],"disallowed"],[[3535,3540],"valid"],[[3541,3541],"disallowed"],[[3542,3542],"valid"],[[3543,3543],"disallowed"],[[3544,3551],"valid"],[[3552,3557],"disallowed"],[[3558,3567],"valid"],[[3568,3569],"disallowed"],[[3570,3571],"valid"],[[3572,3572],"valid",[],"NV8"],[[3573,3584],"disallowed"],[[3585,3634],"valid"],[[3635,3635],"mapped",[3661,3634]],[[3636,3642],"valid"],[[3643,3646],"disallowed"],[[3647,3647],"valid",[],"NV8"],[[3648,3662],"valid"],[[3663,3663],"valid",[],"NV8"],[[3664,3673],"valid"],[[3674,3675],"valid",[],"NV8"],[[3676,3712],"disallowed"],[[3713,3714],"valid"],[[3715,3715],"disallowed"],[[3716,3716],"valid"],[[3717,3718],"disallowed"],[[3719,3720],"valid"],[[3721,3721],"disallowed"],[[3722,3722],"valid"],[[3723,3724],"disallowed"],[[3725,3725],"valid"],[[3726,3731],"disallowed"],[[3732,3735],"valid"],[[3736,3736],"disallowed"],[[3737,3743],"valid"],[[3744,3744],"disallowed"],[[3745,3747],"valid"],[[3748,3748],"disallowed"],[[3749,3749],"valid"],[[3750,3750],"disallowed"],[[3751,3751],"valid"],[[3752,3753],"disallowed"],[[3754,3755],"valid"],[[3756,3756],"disallowed"],[[3757,3762],"valid"],[[3763,3763],"mapped",[3789,3762]],[[3764,3769],"valid"],[[3770,3770],"disallowed"],[[3771,3773],"valid"],[[3774,3775],"disallowed"],[[3776,3780],"valid"],[[3781,3781],"disallowed"],[[3782,3782],"valid"],[[3783,3783],"disallowed"],[[3784,3789],"valid"],[[3790,3791],"disallowed"],[[3792,3801],"valid"],[[3802,3803],"disallowed"],[[3804,3804],"mapped",[3755,3737]],[[3805,3805],"mapped",[3755,3745]],[[3806,3807],"valid"],[[3808,3839],"disallowed"],[[3840,3840],"valid"],[[3841,3850],"valid",[],"NV8"],[[3851,3851],"valid"],[[3852,3852],"mapped",[3851]],[[3853,3863],"valid",[],"NV8"],[[3864,3865],"valid"],[[3866,3871],"valid",[],"NV8"],[[3872,3881],"valid"],[[3882,3892],"valid",[],"NV8"],[[3893,3893],"valid"],[[3894,3894],"valid",[],"NV8"],[[3895,3895],"valid"],[[3896,3896],"valid",[],"NV8"],[[3897,3897],"valid"],[[3898,3901],"valid",[],"NV8"],[[3902,3906],"valid"],[[3907,3907],"mapped",[3906,4023]],[[3908,3911],"valid"],[[3912,3912],"disallowed"],[[3913,3916],"valid"],[[3917,3917],"mapped",[3916,4023]],[[3918,3921],"valid"],[[3922,3922],"mapped",[3921,4023]],[[3923,3926],"valid"],[[3927,3927],"mapped",[3926,4023]],[[3928,3931],"valid"],[[3932,3932],"mapped",[3931,4023]],[[3933,3944],"valid"],[[3945,3945],"mapped",[3904,4021]],[[3946,3946],"valid"],[[3947,3948],"valid"],[[3949,3952],"disallowed"],[[3953,3954],"valid"],[[3955,3955],"mapped",[3953,3954]],[[3956,3956],"valid"],[[3957,3957],"mapped",[3953,3956]],[[3958,3958],"mapped",[4018,3968]],[[3959,3959],"mapped",[4018,3953,3968]],[[3960,3960],"mapped",[4019,3968]],[[3961,3961],"mapped",[4019,3953,3968]],[[3962,3968],"valid"],[[3969,3969],"mapped",[3953,3968]],[[3970,3972],"valid"],[[3973,3973],"valid",[],"NV8"],[[3974,3979],"valid"],[[3980,3983],"valid"],[[3984,3986],"valid"],[[3987,3987],"mapped",[3986,4023]],[[3988,3989],"valid"],[[3990,3990],"valid"],[[3991,3991],"valid"],[[3992,3992],"disallowed"],[[3993,3996],"valid"],[[3997,3997],"mapped",[3996,4023]],[[3998,4001],"valid"],[[4002,4002],"mapped",[4001,4023]],[[4003,4006],"valid"],[[4007,4007],"mapped",[4006,4023]],[[4008,4011],"valid"],[[4012,4012],"mapped",[4011,4023]],[[4013,4013],"valid"],[[4014,4016],"valid"],[[4017,4023],"valid"],[[4024,4024],"valid"],[[4025,4025],"mapped",[3984,4021]],[[4026,4028],"valid"],[[4029,4029],"disallowed"],[[4030,4037],"valid",[],"NV8"],[[4038,4038],"valid"],[[4039,4044],"valid",[],"NV8"],[[4045,4045],"disallowed"],[[4046,4046],"valid",[],"NV8"],[[4047,4047],"valid",[],"NV8"],[[4048,4049],"valid",[],"NV8"],[[4050,4052],"valid",[],"NV8"],[[4053,4056],"valid",[],"NV8"],[[4057,4058],"valid",[],"NV8"],[[4059,4095],"disallowed"],[[4096,4129],"valid"],[[4130,4130],"valid"],[[4131,4135],"valid"],[[4136,4136],"valid"],[[4137,4138],"valid"],[[4139,4139],"valid"],[[4140,4146],"valid"],[[4147,4149],"valid"],[[4150,4153],"valid"],[[4154,4159],"valid"],[[4160,4169],"valid"],[[4170,4175],"valid",[],"NV8"],[[4176,4185],"valid"],[[4186,4249],"valid"],[[4250,4253],"valid"],[[4254,4255],"valid",[],"NV8"],[[4256,4293],"disallowed"],[[4294,4294],"disallowed"],[[4295,4295],"mapped",[11559]],[[4296,4300],"disallowed"],[[4301,4301],"mapped",[11565]],[[4302,4303],"disallowed"],[[4304,4342],"valid"],[[4343,4344],"valid"],[[4345,4346],"valid"],[[4347,4347],"valid",[],"NV8"],[[4348,4348],"mapped",[4316]],[[4349,4351],"valid"],[[4352,4441],"valid",[],"NV8"],[[4442,4446],"valid",[],"NV8"],[[4447,4448],"disallowed"],[[4449,4514],"valid",[],"NV8"],[[4515,4519],"valid",[],"NV8"],[[4520,4601],"valid",[],"NV8"],[[4602,4607],"valid",[],"NV8"],[[4608,4614],"valid"],[[4615,4615],"valid"],[[4616,4678],"valid"],[[4679,4679],"valid"],[[4680,4680],"valid"],[[4681,4681],"disallowed"],[[4682,4685],"valid"],[[4686,4687],"disallowed"],[[4688,4694],"valid"],[[4695,4695],"disallowed"],[[4696,4696],"valid"],[[4697,4697],"disallowed"],[[4698,4701],"valid"],[[4702,4703],"disallowed"],[[4704,4742],"valid"],[[4743,4743],"valid"],[[4744,4744],"valid"],[[4745,4745],"disallowed"],[[4746,4749],"valid"],[[4750,4751],"disallowed"],[[4752,4782],"valid"],[[4783,4783],"valid"],[[4784,4784],"valid"],[[4785,4785],"disallowed"],[[4786,4789],"valid"],[[4790,4791],"disallowed"],[[4792,4798],"valid"],[[4799,4799],"disallowed"],[[4800,4800],"valid"],[[4801,4801],"disallowed"],[[4802,4805],"valid"],[[4806,4807],"disallowed"],[[4808,4814],"valid"],[[4815,4815],"valid"],[[4816,4822],"valid"],[[4823,4823],"disallowed"],[[4824,4846],"valid"],[[4847,4847],"valid"],[[4848,4878],"valid"],[[4879,4879],"valid"],[[4880,4880],"valid"],[[4881,4881],"disallowed"],[[4882,4885],"valid"],[[4886,4887],"disallowed"],[[4888,4894],"valid"],[[4895,4895],"valid"],[[4896,4934],"valid"],[[4935,4935],"valid"],[[4936,4954],"valid"],[[4955,4956],"disallowed"],[[4957,4958],"valid"],[[4959,4959],"valid"],[[4960,4960],"valid",[],"NV8"],[[4961,4988],"valid",[],"NV8"],[[4989,4991],"disallowed"],[[4992,5007],"valid"],[[5008,5017],"valid",[],"NV8"],[[5018,5023],"disallowed"],[[5024,5108],"valid"],[[5109,5109],"valid"],[[5110,5111],"disallowed"],[[5112,5112],"mapped",[5104]],[[5113,5113],"mapped",[5105]],[[5114,5114],"mapped",[5106]],[[5115,5115],"mapped",[5107]],[[5116,5116],"mapped",[5108]],[[5117,5117],"mapped",[5109]],[[5118,5119],"disallowed"],[[5120,5120],"valid",[],"NV8"],[[5121,5740],"valid"],[[5741,5742],"valid",[],"NV8"],[[5743,5750],"valid"],[[5751,5759],"valid"],[[5760,5760],"disallowed"],[[5761,5786],"valid"],[[5787,5788],"valid",[],"NV8"],[[5789,5791],"disallowed"],[[5792,5866],"valid"],[[5867,5872],"valid",[],"NV8"],[[5873,5880],"valid"],[[5881,5887],"disallowed"],[[5888,5900],"valid"],[[5901,5901],"disallowed"],[[5902,5908],"valid"],[[5909,5919],"disallowed"],[[5920,5940],"valid"],[[5941,5942],"valid",[],"NV8"],[[5943,5951],"disallowed"],[[5952,5971],"valid"],[[5972,5983],"disallowed"],[[5984,5996],"valid"],[[5997,5997],"disallowed"],[[5998,6000],"valid"],[[6001,6001],"disallowed"],[[6002,6003],"valid"],[[6004,6015],"disallowed"],[[6016,6067],"valid"],[[6068,6069],"disallowed"],[[6070,6099],"valid"],[[6100,6102],"valid",[],"NV8"],[[6103,6103],"valid"],[[6104,6107],"valid",[],"NV8"],[[6108,6108],"valid"],[[6109,6109],"valid"],[[6110,6111],"disallowed"],[[6112,6121],"valid"],[[6122,6127],"disallowed"],[[6128,6137],"valid",[],"NV8"],[[6138,6143],"disallowed"],[[6144,6149],"valid",[],"NV8"],[[6150,6150],"disallowed"],[[6151,6154],"valid",[],"NV8"],[[6155,6157],"ignored"],[[6158,6158],"disallowed"],[[6159,6159],"disallowed"],[[6160,6169],"valid"],[[6170,6175],"disallowed"],[[6176,6263],"valid"],[[6264,6271],"disallowed"],[[6272,6313],"valid"],[[6314,6314],"valid"],[[6315,6319],"disallowed"],[[6320,6389],"valid"],[[6390,6399],"disallowed"],[[6400,6428],"valid"],[[6429,6430],"valid"],[[6431,6431],"disallowed"],[[6432,6443],"valid"],[[6444,6447],"disallowed"],[[6448,6459],"valid"],[[6460,6463],"disallowed"],[[6464,6464],"valid",[],"NV8"],[[6465,6467],"disallowed"],[[6468,6469],"valid",[],"NV8"],[[6470,6509],"valid"],[[6510,6511],"disallowed"],[[6512,6516],"valid"],[[6517,6527],"disallowed"],[[6528,6569],"valid"],[[6570,6571],"valid"],[[6572,6575],"disallowed"],[[6576,6601],"valid"],[[6602,6607],"disallowed"],[[6608,6617],"valid"],[[6618,6618],"valid",[],"XV8"],[[6619,6621],"disallowed"],[[6622,6623],"valid",[],"NV8"],[[6624,6655],"valid",[],"NV8"],[[6656,6683],"valid"],[[6684,6685],"disallowed"],[[6686,6687],"valid",[],"NV8"],[[6688,6750],"valid"],[[6751,6751],"disallowed"],[[6752,6780],"valid"],[[6781,6782],"disallowed"],[[6783,6793],"valid"],[[6794,6799],"disallowed"],[[6800,6809],"valid"],[[6810,6815],"disallowed"],[[6816,6822],"valid",[],"NV8"],[[6823,6823],"valid"],[[6824,6829],"valid",[],"NV8"],[[6830,6831],"disallowed"],[[6832,6845],"valid"],[[6846,6846],"valid",[],"NV8"],[[6847,6911],"disallowed"],[[6912,6987],"valid"],[[6988,6991],"disallowed"],[[6992,7001],"valid"],[[7002,7018],"valid",[],"NV8"],[[7019,7027],"valid"],[[7028,7036],"valid",[],"NV8"],[[7037,7039],"disallowed"],[[7040,7082],"valid"],[[7083,7085],"valid"],[[7086,7097],"valid"],[[7098,7103],"valid"],[[7104,7155],"valid"],[[7156,7163],"disallowed"],[[7164,7167],"valid",[],"NV8"],[[7168,7223],"valid"],[[7224,7226],"disallowed"],[[7227,7231],"valid",[],"NV8"],[[7232,7241],"valid"],[[7242,7244],"disallowed"],[[7245,7293],"valid"],[[7294,7295],"valid",[],"NV8"],[[7296,7359],"disallowed"],[[7360,7367],"valid",[],"NV8"],[[7368,7375],"disallowed"],[[7376,7378],"valid"],[[7379,7379],"valid",[],"NV8"],[[7380,7410],"valid"],[[7411,7414],"valid"],[[7415,7415],"disallowed"],[[7416,7417],"valid"],[[7418,7423],"disallowed"],[[7424,7467],"valid"],[[7468,7468],"mapped",[97]],[[7469,7469],"mapped",[230]],[[7470,7470],"mapped",[98]],[[7471,7471],"valid"],[[7472,7472],"mapped",[100]],[[7473,7473],"mapped",[101]],[[7474,7474],"mapped",[477]],[[7475,7475],"mapped",[103]],[[7476,7476],"mapped",[104]],[[7477,7477],"mapped",[105]],[[7478,7478],"mapped",[106]],[[7479,7479],"mapped",[107]],[[7480,7480],"mapped",[108]],[[7481,7481],"mapped",[109]],[[7482,7482],"mapped",[110]],[[7483,7483],"valid"],[[7484,7484],"mapped",[111]],[[7485,7485],"mapped",[547]],[[7486,7486],"mapped",[112]],[[7487,7487],"mapped",[114]],[[7488,7488],"mapped",[116]],[[7489,7489],"mapped",[117]],[[7490,7490],"mapped",[119]],[[7491,7491],"mapped",[97]],[[7492,7492],"mapped",[592]],[[7493,7493],"mapped",[593]],[[7494,7494],"mapped",[7426]],[[7495,7495],"mapped",[98]],[[7496,7496],"mapped",[100]],[[7497,7497],"mapped",[101]],[[7498,7498],"mapped",[601]],[[7499,7499],"mapped",[603]],[[7500,7500],"mapped",[604]],[[7501,7501],"mapped",[103]],[[7502,7502],"valid"],[[7503,7503],"mapped",[107]],[[7504,7504],"mapped",[109]],[[7505,7505],"mapped",[331]],[[7506,7506],"mapped",[111]],[[7507,7507],"mapped",[596]],[[7508,7508],"mapped",[7446]],[[7509,7509],"mapped",[7447]],[[7510,7510],"mapped",[112]],[[7511,7511],"mapped",[116]],[[7512,7512],"mapped",[117]],[[7513,7513],"mapped",[7453]],[[7514,7514],"mapped",[623]],[[7515,7515],"mapped",[118]],[[7516,7516],"mapped",[7461]],[[7517,7517],"mapped",[946]],[[7518,7518],"mapped",[947]],[[7519,7519],"mapped",[948]],[[7520,7520],"mapped",[966]],[[7521,7521],"mapped",[967]],[[7522,7522],"mapped",[105]],[[7523,7523],"mapped",[114]],[[7524,7524],"mapped",[117]],[[7525,7525],"mapped",[118]],[[7526,7526],"mapped",[946]],[[7527,7527],"mapped",[947]],[[7528,7528],"mapped",[961]],[[7529,7529],"mapped",[966]],[[7530,7530],"mapped",[967]],[[7531,7531],"valid"],[[7532,7543],"valid"],[[7544,7544],"mapped",[1085]],[[7545,7578],"valid"],[[7579,7579],"mapped",[594]],[[7580,7580],"mapped",[99]],[[7581,7581],"mapped",[597]],[[7582,7582],"mapped",[240]],[[7583,7583],"mapped",[604]],[[7584,7584],"mapped",[102]],[[7585,7585],"mapped",[607]],[[7586,7586],"mapped",[609]],[[7587,7587],"mapped",[613]],[[7588,7588],"mapped",[616]],[[7589,7589],"mapped",[617]],[[7590,7590],"mapped",[618]],[[7591,7591],"mapped",[7547]],[[7592,7592],"mapped",[669]],[[7593,7593],"mapped",[621]],[[7594,7594],"mapped",[7557]],[[7595,7595],"mapped",[671]],[[7596,7596],"mapped",[625]],[[7597,7597],"mapped",[624]],[[7598,7598],"mapped",[626]],[[7599,7599],"mapped",[627]],[[7600,7600],"mapped",[628]],[[7601,7601],"mapped",[629]],[[7602,7602],"mapped",[632]],[[7603,7603],"mapped",[642]],[[7604,7604],"mapped",[643]],[[7605,7605],"mapped",[427]],[[7606,7606],"mapped",[649]],[[7607,7607],"mapped",[650]],[[7608,7608],"mapped",[7452]],[[7609,7609],"mapped",[651]],[[7610,7610],"mapped",[652]],[[7611,7611],"mapped",[122]],[[7612,7612],"mapped",[656]],[[7613,7613],"mapped",[657]],[[7614,7614],"mapped",[658]],[[7615,7615],"mapped",[952]],[[7616,7619],"valid"],[[7620,7626],"valid"],[[7627,7654],"valid"],[[7655,7669],"valid"],[[7670,7675],"disallowed"],[[7676,7676],"valid"],[[7677,7677],"valid"],[[7678,7679],"valid"],[[7680,7680],"mapped",[7681]],[[7681,7681],"valid"],[[7682,7682],"mapped",[7683]],[[7683,7683],"valid"],[[7684,7684],"mapped",[7685]],[[7685,7685],"valid"],[[7686,7686],"mapped",[7687]],[[7687,7687],"valid"],[[7688,7688],"mapped",[7689]],[[7689,7689],"valid"],[[7690,7690],"mapped",[7691]],[[7691,7691],"valid"],[[7692,7692],"mapped",[7693]],[[7693,7693],"valid"],[[7694,7694],"mapped",[7695]],[[7695,7695],"valid"],[[7696,7696],"mapped",[7697]],[[7697,7697],"valid"],[[7698,7698],"mapped",[7699]],[[7699,7699],"valid"],[[7700,7700],"mapped",[7701]],[[7701,7701],"valid"],[[7702,7702],"mapped",[7703]],[[7703,7703],"valid"],[[7704,7704],"mapped",[7705]],[[7705,7705],"valid"],[[7706,7706],"mapped",[7707]],[[7707,7707],"valid"],[[7708,7708],"mapped",[7709]],[[7709,7709],"valid"],[[7710,7710],"mapped",[7711]],[[7711,7711],"valid"],[[7712,7712],"mapped",[7713]],[[7713,7713],"valid"],[[7714,7714],"mapped",[7715]],[[7715,7715],"valid"],[[7716,7716],"mapped",[7717]],[[7717,7717],"valid"],[[7718,7718],"mapped",[7719]],[[7719,7719],"valid"],[[7720,7720],"mapped",[7721]],[[7721,7721],"valid"],[[7722,7722],"mapped",[7723]],[[7723,7723],"valid"],[[7724,7724],"mapped",[7725]],[[7725,7725],"valid"],[[7726,7726],"mapped",[7727]],[[7727,7727],"valid"],[[7728,7728],"mapped",[7729]],[[7729,7729],"valid"],[[7730,7730],"mapped",[7731]],[[7731,7731],"valid"],[[7732,7732],"mapped",[7733]],[[7733,7733],"valid"],[[7734,7734],"mapped",[7735]],[[7735,7735],"valid"],[[7736,7736],"mapped",[7737]],[[7737,7737],"valid"],[[7738,7738],"mapped",[7739]],[[7739,7739],"valid"],[[7740,7740],"mapped",[7741]],[[7741,7741],"valid"],[[7742,7742],"mapped",[7743]],[[7743,7743],"valid"],[[7744,7744],"mapped",[7745]],[[7745,7745],"valid"],[[7746,7746],"mapped",[7747]],[[7747,7747],"valid"],[[7748,7748],"mapped",[7749]],[[7749,7749],"valid"],[[7750,7750],"mapped",[7751]],[[7751,7751],"valid"],[[7752,7752],"mapped",[7753]],[[7753,7753],"valid"],[[7754,7754],"mapped",[7755]],[[7755,7755],"valid"],[[7756,7756],"mapped",[7757]],[[7757,7757],"valid"],[[7758,7758],"mapped",[7759]],[[7759,7759],"valid"],[[7760,7760],"mapped",[7761]],[[7761,7761],"valid"],[[7762,7762],"mapped",[7763]],[[7763,7763],"valid"],[[7764,7764],"mapped",[7765]],[[7765,7765],"valid"],[[7766,7766],"mapped",[7767]],[[7767,7767],"valid"],[[7768,7768],"mapped",[7769]],[[7769,7769],"valid"],[[7770,7770],"mapped",[7771]],[[7771,7771],"valid"],[[7772,7772],"mapped",[7773]],[[7773,7773],"valid"],[[7774,7774],"mapped",[7775]],[[7775,7775],"valid"],[[7776,7776],"mapped",[7777]],[[7777,7777],"valid"],[[7778,7778],"mapped",[7779]],[[7779,7779],"valid"],[[7780,7780],"mapped",[7781]],[[7781,7781],"valid"],[[7782,7782],"mapped",[7783]],[[7783,7783],"valid"],[[7784,7784],"mapped",[7785]],[[7785,7785],"valid"],[[7786,7786],"mapped",[7787]],[[7787,7787],"valid"],[[7788,7788],"mapped",[7789]],[[7789,7789],"valid"],[[7790,7790],"mapped",[7791]],[[7791,7791],"valid"],[[7792,7792],"mapped",[7793]],[[7793,7793],"valid"],[[7794,7794],"mapped",[7795]],[[7795,7795],"valid"],[[7796,7796],"mapped",[7797]],[[7797,7797],"valid"],[[7798,7798],"mapped",[7799]],[[7799,7799],"valid"],[[7800,7800],"mapped",[7801]],[[7801,7801],"valid"],[[7802,7802],"mapped",[7803]],[[7803,7803],"valid"],[[7804,7804],"mapped",[7805]],[[7805,7805],"valid"],[[7806,7806],"mapped",[7807]],[[7807,7807],"valid"],[[7808,7808],"mapped",[7809]],[[7809,7809],"valid"],[[7810,7810],"mapped",[7811]],[[7811,7811],"valid"],[[7812,7812],"mapped",[7813]],[[7813,7813],"valid"],[[7814,7814],"mapped",[7815]],[[7815,7815],"valid"],[[7816,7816],"mapped",[7817]],[[7817,7817],"valid"],[[7818,7818],"mapped",[7819]],[[7819,7819],"valid"],[[7820,7820],"mapped",[7821]],[[7821,7821],"valid"],[[7822,7822],"mapped",[7823]],[[7823,7823],"valid"],[[7824,7824],"mapped",[7825]],[[7825,7825],"valid"],[[7826,7826],"mapped",[7827]],[[7827,7827],"valid"],[[7828,7828],"mapped",[7829]],[[7829,7833],"valid"],[[7834,7834],"mapped",[97,702]],[[7835,7835],"mapped",[7777]],[[7836,7837],"valid"],[[7838,7838],"mapped",[115,115]],[[7839,7839],"valid"],[[7840,7840],"mapped",[7841]],[[7841,7841],"valid"],[[7842,7842],"mapped",[7843]],[[7843,7843],"valid"],[[7844,7844],"mapped",[7845]],[[7845,7845],"valid"],[[7846,7846],"mapped",[7847]],[[7847,7847],"valid"],[[7848,7848],"mapped",[7849]],[[7849,7849],"valid"],[[7850,7850],"mapped",[7851]],[[7851,7851],"valid"],[[7852,7852],"mapped",[7853]],[[7853,7853],"valid"],[[7854,7854],"mapped",[7855]],[[7855,7855],"valid"],[[7856,7856],"mapped",[7857]],[[7857,7857],"valid"],[[7858,7858],"mapped",[7859]],[[7859,7859],"valid"],[[7860,7860],"mapped",[7861]],[[7861,7861],"valid"],[[7862,7862],"mapped",[7863]],[[7863,7863],"valid"],[[7864,7864],"mapped",[7865]],[[7865,7865],"valid"],[[7866,7866],"mapped",[7867]],[[7867,7867],"valid"],[[7868,7868],"mapped",[7869]],[[7869,7869],"valid"],[[7870,7870],"mapped",[7871]],[[7871,7871],"valid"],[[7872,7872],"mapped",[7873]],[[7873,7873],"valid"],[[7874,7874],"mapped",[7875]],[[7875,7875],"valid"],[[7876,7876],"mapped",[7877]],[[7877,7877],"valid"],[[7878,7878],"mapped",[7879]],[[7879,7879],"valid"],[[7880,7880],"mapped",[7881]],[[7881,7881],"valid"],[[7882,7882],"mapped",[7883]],[[7883,7883],"valid"],[[7884,7884],"mapped",[7885]],[[7885,7885],"valid"],[[7886,7886],"mapped",[7887]],[[7887,7887],"valid"],[[7888,7888],"mapped",[7889]],[[7889,7889],"valid"],[[7890,7890],"mapped",[7891]],[[7891,7891],"valid"],[[7892,7892],"mapped",[7893]],[[7893,7893],"valid"],[[7894,7894],"mapped",[7895]],[[7895,7895],"valid"],[[7896,7896],"mapped",[7897]],[[7897,7897],"valid"],[[7898,7898],"mapped",[7899]],[[7899,7899],"valid"],[[7900,7900],"mapped",[7901]],[[7901,7901],"valid"],[[7902,7902],"mapped",[7903]],[[7903,7903],"valid"],[[7904,7904],"mapped",[7905]],[[7905,7905],"valid"],[[7906,7906],"mapped",[7907]],[[7907,7907],"valid"],[[7908,7908],"mapped",[7909]],[[7909,7909],"valid"],[[7910,7910],"mapped",[7911]],[[7911,7911],"valid"],[[7912,7912],"mapped",[7913]],[[7913,7913],"valid"],[[7914,7914],"mapped",[7915]],[[7915,7915],"valid"],[[7916,7916],"mapped",[7917]],[[7917,7917],"valid"],[[7918,7918],"mapped",[7919]],[[7919,7919],"valid"],[[7920,7920],"mapped",[7921]],[[7921,7921],"valid"],[[7922,7922],"mapped",[7923]],[[7923,7923],"valid"],[[7924,7924],"mapped",[7925]],[[7925,7925],"valid"],[[7926,7926],"mapped",[7927]],[[7927,7927],"valid"],[[7928,7928],"mapped",[7929]],[[7929,7929],"valid"],[[7930,7930],"mapped",[7931]],[[7931,7931],"valid"],[[7932,7932],"mapped",[7933]],[[7933,7933],"valid"],[[7934,7934],"mapped",[7935]],[[7935,7935],"valid"],[[7936,7943],"valid"],[[7944,7944],"mapped",[7936]],[[7945,7945],"mapped",[7937]],[[7946,7946],"mapped",[7938]],[[7947,7947],"mapped",[7939]],[[7948,7948],"mapped",[7940]],[[7949,7949],"mapped",[7941]],[[7950,7950],"mapped",[7942]],[[7951,7951],"mapped",[7943]],[[7952,7957],"valid"],[[7958,7959],"disallowed"],[[7960,7960],"mapped",[7952]],[[7961,7961],"mapped",[7953]],[[7962,7962],"mapped",[7954]],[[7963,7963],"mapped",[7955]],[[7964,7964],"mapped",[7956]],[[7965,7965],"mapped",[7957]],[[7966,7967],"disallowed"],[[7968,7975],"valid"],[[7976,7976],"mapped",[7968]],[[7977,7977],"mapped",[7969]],[[7978,7978],"mapped",[7970]],[[7979,7979],"mapped",[7971]],[[7980,7980],"mapped",[7972]],[[7981,7981],"mapped",[7973]],[[7982,7982],"mapped",[7974]],[[7983,7983],"mapped",[7975]],[[7984,7991],"valid"],[[7992,7992],"mapped",[7984]],[[7993,7993],"mapped",[7985]],[[7994,7994],"mapped",[7986]],[[7995,7995],"mapped",[7987]],[[7996,7996],"mapped",[7988]],[[7997,7997],"mapped",[7989]],[[7998,7998],"mapped",[7990]],[[7999,7999],"mapped",[7991]],[[8000,8005],"valid"],[[8006,8007],"disallowed"],[[8008,8008],"mapped",[8000]],[[8009,8009],"mapped",[8001]],[[8010,8010],"mapped",[8002]],[[8011,8011],"mapped",[8003]],[[8012,8012],"mapped",[8004]],[[8013,8013],"mapped",[8005]],[[8014,8015],"disallowed"],[[8016,8023],"valid"],[[8024,8024],"disallowed"],[[8025,8025],"mapped",[8017]],[[8026,8026],"disallowed"],[[8027,8027],"mapped",[8019]],[[8028,8028],"disallowed"],[[8029,8029],"mapped",[8021]],[[8030,8030],"disallowed"],[[8031,8031],"mapped",[8023]],[[8032,8039],"valid"],[[8040,8040],"mapped",[8032]],[[8041,8041],"mapped",[8033]],[[8042,8042],"mapped",[8034]],[[8043,8043],"mapped",[8035]],[[8044,8044],"mapped",[8036]],[[8045,8045],"mapped",[8037]],[[8046,8046],"mapped",[8038]],[[8047,8047],"mapped",[8039]],[[8048,8048],"valid"],[[8049,8049],"mapped",[940]],[[8050,8050],"valid"],[[8051,8051],"mapped",[941]],[[8052,8052],"valid"],[[8053,8053],"mapped",[942]],[[8054,8054],"valid"],[[8055,8055],"mapped",[943]],[[8056,8056],"valid"],[[8057,8057],"mapped",[972]],[[8058,8058],"valid"],[[8059,8059],"mapped",[973]],[[8060,8060],"valid"],[[8061,8061],"mapped",[974]],[[8062,8063],"disallowed"],[[8064,8064],"mapped",[7936,953]],[[8065,8065],"mapped",[7937,953]],[[8066,8066],"mapped",[7938,953]],[[8067,8067],"mapped",[7939,953]],[[8068,8068],"mapped",[7940,953]],[[8069,8069],"mapped",[7941,953]],[[8070,8070],"mapped",[7942,953]],[[8071,8071],"mapped",[7943,953]],[[8072,8072],"mapped",[7936,953]],[[8073,8073],"mapped",[7937,953]],[[8074,8074],"mapped",[7938,953]],[[8075,8075],"mapped",[7939,953]],[[8076,8076],"mapped",[7940,953]],[[8077,8077],"mapped",[7941,953]],[[8078,8078],"mapped",[7942,953]],[[8079,8079],"mapped",[7943,953]],[[8080,8080],"mapped",[7968,953]],[[8081,8081],"mapped",[7969,953]],[[8082,8082],"mapped",[7970,953]],[[8083,8083],"mapped",[7971,953]],[[8084,8084],"mapped",[7972,953]],[[8085,8085],"mapped",[7973,953]],[[8086,8086],"mapped",[7974,953]],[[8087,8087],"mapped",[7975,953]],[[8088,8088],"mapped",[7968,953]],[[8089,8089],"mapped",[7969,953]],[[8090,8090],"mapped",[7970,953]],[[8091,8091],"mapped",[7971,953]],[[8092,8092],"mapped",[7972,953]],[[8093,8093],"mapped",[7973,953]],[[8094,8094],"mapped",[7974,953]],[[8095,8095],"mapped",[7975,953]],[[8096,8096],"mapped",[8032,953]],[[8097,8097],"mapped",[8033,953]],[[8098,8098],"mapped",[8034,953]],[[8099,8099],"mapped",[8035,953]],[[8100,8100],"mapped",[8036,953]],[[8101,8101],"mapped",[8037,953]],[[8102,8102],"mapped",[8038,953]],[[8103,8103],"mapped",[8039,953]],[[8104,8104],"mapped",[8032,953]],[[8105,8105],"mapped",[8033,953]],[[8106,8106],"mapped",[8034,953]],[[8107,8107],"mapped",[8035,953]],[[8108,8108],"mapped",[8036,953]],[[8109,8109],"mapped",[8037,953]],[[8110,8110],"mapped",[8038,953]],[[8111,8111],"mapped",[8039,953]],[[8112,8113],"valid"],[[8114,8114],"mapped",[8048,953]],[[8115,8115],"mapped",[945,953]],[[8116,8116],"mapped",[940,953]],[[8117,8117],"disallowed"],[[8118,8118],"valid"],[[8119,8119],"mapped",[8118,953]],[[8120,8120],"mapped",[8112]],[[8121,8121],"mapped",[8113]],[[8122,8122],"mapped",[8048]],[[8123,8123],"mapped",[940]],[[8124,8124],"mapped",[945,953]],[[8125,8125],"disallowed_STD3_mapped",[32,787]],[[8126,8126],"mapped",[953]],[[8127,8127],"disallowed_STD3_mapped",[32,787]],[[8128,8128],"disallowed_STD3_mapped",[32,834]],[[8129,8129],"disallowed_STD3_mapped",[32,776,834]],[[8130,8130],"mapped",[8052,953]],[[8131,8131],"mapped",[951,953]],[[8132,8132],"mapped",[942,953]],[[8133,8133],"disallowed"],[[8134,8134],"valid"],[[8135,8135],"mapped",[8134,953]],[[8136,8136],"mapped",[8050]],[[8137,8137],"mapped",[941]],[[8138,8138],"mapped",[8052]],[[8139,8139],"mapped",[942]],[[8140,8140],"mapped",[951,953]],[[8141,8141],"disallowed_STD3_mapped",[32,787,768]],[[8142,8142],"disallowed_STD3_mapped",[32,787,769]],[[8143,8143],"disallowed_STD3_mapped",[32,787,834]],[[8144,8146],"valid"],[[8147,8147],"mapped",[912]],[[8148,8149],"disallowed"],[[8150,8151],"valid"],[[8152,8152],"mapped",[8144]],[[8153,8153],"mapped",[8145]],[[8154,8154],"mapped",[8054]],[[8155,8155],"mapped",[943]],[[8156,8156],"disallowed"],[[8157,8157],"disallowed_STD3_mapped",[32,788,768]],[[8158,8158],"disallowed_STD3_mapped",[32,788,769]],[[8159,8159],"disallowed_STD3_mapped",[32,788,834]],[[8160,8162],"valid"],[[8163,8163],"mapped",[944]],[[8164,8167],"valid"],[[8168,8168],"mapped",[8160]],[[8169,8169],"mapped",[8161]],[[8170,8170],"mapped",[8058]],[[8171,8171],"mapped",[973]],[[8172,8172],"mapped",[8165]],[[8173,8173],"disallowed_STD3_mapped",[32,776,768]],[[8174,8174],"disallowed_STD3_mapped",[32,776,769]],[[8175,8175],"disallowed_STD3_mapped",[96]],[[8176,8177],"disallowed"],[[8178,8178],"mapped",[8060,953]],[[8179,8179],"mapped",[969,953]],[[8180,8180],"mapped",[974,953]],[[8181,8181],"disallowed"],[[8182,8182],"valid"],[[8183,8183],"mapped",[8182,953]],[[8184,8184],"mapped",[8056]],[[8185,8185],"mapped",[972]],[[8186,8186],"mapped",[8060]],[[8187,8187],"mapped",[974]],[[8188,8188],"mapped",[969,953]],[[8189,8189],"disallowed_STD3_mapped",[32,769]],[[8190,8190],"disallowed_STD3_mapped",[32,788]],[[8191,8191],"disallowed"],[[8192,8202],"disallowed_STD3_mapped",[32]],[[8203,8203],"ignored"],[[8204,8205],"deviation",[]],[[8206,8207],"disallowed"],[[8208,8208],"valid",[],"NV8"],[[8209,8209],"mapped",[8208]],[[8210,8214],"valid",[],"NV8"],[[8215,8215],"disallowed_STD3_mapped",[32,819]],[[8216,8227],"valid",[],"NV8"],[[8228,8230],"disallowed"],[[8231,8231],"valid",[],"NV8"],[[8232,8238],"disallowed"],[[8239,8239],"disallowed_STD3_mapped",[32]],[[8240,8242],"valid",[],"NV8"],[[8243,8243],"mapped",[8242,8242]],[[8244,8244],"mapped",[8242,8242,8242]],[[8245,8245],"valid",[],"NV8"],[[8246,8246],"mapped",[8245,8245]],[[8247,8247],"mapped",[8245,8245,8245]],[[8248,8251],"valid",[],"NV8"],[[8252,8252],"disallowed_STD3_mapped",[33,33]],[[8253,8253],"valid",[],"NV8"],[[8254,8254],"disallowed_STD3_mapped",[32,773]],[[8255,8262],"valid",[],"NV8"],[[8263,8263],"disallowed_STD3_mapped",[63,63]],[[8264,8264],"disallowed_STD3_mapped",[63,33]],[[8265,8265],"disallowed_STD3_mapped",[33,63]],[[8266,8269],"valid",[],"NV8"],[[8270,8274],"valid",[],"NV8"],[[8275,8276],"valid",[],"NV8"],[[8277,8278],"valid",[],"NV8"],[[8279,8279],"mapped",[8242,8242,8242,8242]],[[8280,8286],"valid",[],"NV8"],[[8287,8287],"disallowed_STD3_mapped",[32]],[[8288,8288],"ignored"],[[8289,8291],"disallowed"],[[8292,8292],"ignored"],[[8293,8293],"disallowed"],[[8294,8297],"disallowed"],[[8298,8303],"disallowed"],[[8304,8304],"mapped",[48]],[[8305,8305],"mapped",[105]],[[8306,8307],"disallowed"],[[8308,8308],"mapped",[52]],[[8309,8309],"mapped",[53]],[[8310,8310],"mapped",[54]],[[8311,8311],"mapped",[55]],[[8312,8312],"mapped",[56]],[[8313,8313],"mapped",[57]],[[8314,8314],"disallowed_STD3_mapped",[43]],[[8315,8315],"mapped",[8722]],[[8316,8316],"disallowed_STD3_mapped",[61]],[[8317,8317],"disallowed_STD3_mapped",[40]],[[8318,8318],"disallowed_STD3_mapped",[41]],[[8319,8319],"mapped",[110]],[[8320,8320],"mapped",[48]],[[8321,8321],"mapped",[49]],[[8322,8322],"mapped",[50]],[[8323,8323],"mapped",[51]],[[8324,8324],"mapped",[52]],[[8325,8325],"mapped",[53]],[[8326,8326],"mapped",[54]],[[8327,8327],"mapped",[55]],[[8328,8328],"mapped",[56]],[[8329,8329],"mapped",[57]],[[8330,8330],"disallowed_STD3_mapped",[43]],[[8331,8331],"mapped",[8722]],[[8332,8332],"disallowed_STD3_mapped",[61]],[[8333,8333],"disallowed_STD3_mapped",[40]],[[8334,8334],"disallowed_STD3_mapped",[41]],[[8335,8335],"disallowed"],[[8336,8336],"mapped",[97]],[[8337,8337],"mapped",[101]],[[8338,8338],"mapped",[111]],[[8339,8339],"mapped",[120]],[[8340,8340],"mapped",[601]],[[8341,8341],"mapped",[104]],[[8342,8342],"mapped",[107]],[[8343,8343],"mapped",[108]],[[8344,8344],"mapped",[109]],[[8345,8345],"mapped",[110]],[[8346,8346],"mapped",[112]],[[8347,8347],"mapped",[115]],[[8348,8348],"mapped",[116]],[[8349,8351],"disallowed"],[[8352,8359],"valid",[],"NV8"],[[8360,8360],"mapped",[114,115]],[[8361,8362],"valid",[],"NV8"],[[8363,8363],"valid",[],"NV8"],[[8364,8364],"valid",[],"NV8"],[[8365,8367],"valid",[],"NV8"],[[8368,8369],"valid",[],"NV8"],[[8370,8373],"valid",[],"NV8"],[[8374,8376],"valid",[],"NV8"],[[8377,8377],"valid",[],"NV8"],[[8378,8378],"valid",[],"NV8"],[[8379,8381],"valid",[],"NV8"],[[8382,8382],"valid",[],"NV8"],[[8383,8399],"disallowed"],[[8400,8417],"valid",[],"NV8"],[[8418,8419],"valid",[],"NV8"],[[8420,8426],"valid",[],"NV8"],[[8427,8427],"valid",[],"NV8"],[[8428,8431],"valid",[],"NV8"],[[8432,8432],"valid",[],"NV8"],[[8433,8447],"disallowed"],[[8448,8448],"disallowed_STD3_mapped",[97,47,99]],[[8449,8449],"disallowed_STD3_mapped",[97,47,115]],[[8450,8450],"mapped",[99]],[[8451,8451],"mapped",[176,99]],[[8452,8452],"valid",[],"NV8"],[[8453,8453],"disallowed_STD3_mapped",[99,47,111]],[[8454,8454],"disallowed_STD3_mapped",[99,47,117]],[[8455,8455],"mapped",[603]],[[8456,8456],"valid",[],"NV8"],[[8457,8457],"mapped",[176,102]],[[8458,8458],"mapped",[103]],[[8459,8462],"mapped",[104]],[[8463,8463],"mapped",[295]],[[8464,8465],"mapped",[105]],[[8466,8467],"mapped",[108]],[[8468,8468],"valid",[],"NV8"],[[8469,8469],"mapped",[110]],[[8470,8470],"mapped",[110,111]],[[8471,8472],"valid",[],"NV8"],[[8473,8473],"mapped",[112]],[[8474,8474],"mapped",[113]],[[8475,8477],"mapped",[114]],[[8478,8479],"valid",[],"NV8"],[[8480,8480],"mapped",[115,109]],[[8481,8481],"mapped",[116,101,108]],[[8482,8482],"mapped",[116,109]],[[8483,8483],"valid",[],"NV8"],[[8484,8484],"mapped",[122]],[[8485,8485],"valid",[],"NV8"],[[8486,8486],"mapped",[969]],[[8487,8487],"valid",[],"NV8"],[[8488,8488],"mapped",[122]],[[8489,8489],"valid",[],"NV8"],[[8490,8490],"mapped",[107]],[[8491,8491],"mapped",[229]],[[8492,8492],"mapped",[98]],[[8493,8493],"mapped",[99]],[[8494,8494],"valid",[],"NV8"],[[8495,8496],"mapped",[101]],[[8497,8497],"mapped",[102]],[[8498,8498],"disallowed"],[[8499,8499],"mapped",[109]],[[8500,8500],"mapped",[111]],[[8501,8501],"mapped",[1488]],[[8502,8502],"mapped",[1489]],[[8503,8503],"mapped",[1490]],[[8504,8504],"mapped",[1491]],[[8505,8505],"mapped",[105]],[[8506,8506],"valid",[],"NV8"],[[8507,8507],"mapped",[102,97,120]],[[8508,8508],"mapped",[960]],[[8509,8510],"mapped",[947]],[[8511,8511],"mapped",[960]],[[8512,8512],"mapped",[8721]],[[8513,8516],"valid",[],"NV8"],[[8517,8518],"mapped",[100]],[[8519,8519],"mapped",[101]],[[8520,8520],"mapped",[105]],[[8521,8521],"mapped",[106]],[[8522,8523],"valid",[],"NV8"],[[8524,8524],"valid",[],"NV8"],[[8525,8525],"valid",[],"NV8"],[[8526,8526],"valid"],[[8527,8527],"valid",[],"NV8"],[[8528,8528],"mapped",[49,8260,55]],[[8529,8529],"mapped",[49,8260,57]],[[8530,8530],"mapped",[49,8260,49,48]],[[8531,8531],"mapped",[49,8260,51]],[[8532,8532],"mapped",[50,8260,51]],[[8533,8533],"mapped",[49,8260,53]],[[8534,8534],"mapped",[50,8260,53]],[[8535,8535],"mapped",[51,8260,53]],[[8536,8536],"mapped",[52,8260,53]],[[8537,8537],"mapped",[49,8260,54]],[[8538,8538],"mapped",[53,8260,54]],[[8539,8539],"mapped",[49,8260,56]],[[8540,8540],"mapped",[51,8260,56]],[[8541,8541],"mapped",[53,8260,56]],[[8542,8542],"mapped",[55,8260,56]],[[8543,8543],"mapped",[49,8260]],[[8544,8544],"mapped",[105]],[[8545,8545],"mapped",[105,105]],[[8546,8546],"mapped",[105,105,105]],[[8547,8547],"mapped",[105,118]],[[8548,8548],"mapped",[118]],[[8549,8549],"mapped",[118,105]],[[8550,8550],"mapped",[118,105,105]],[[8551,8551],"mapped",[118,105,105,105]],[[8552,8552],"mapped",[105,120]],[[8553,8553],"mapped",[120]],[[8554,8554],"mapped",[120,105]],[[8555,8555],"mapped",[120,105,105]],[[8556,8556],"mapped",[108]],[[8557,8557],"mapped",[99]],[[8558,8558],"mapped",[100]],[[8559,8559],"mapped",[109]],[[8560,8560],"mapped",[105]],[[8561,8561],"mapped",[105,105]],[[8562,8562],"mapped",[105,105,105]],[[8563,8563],"mapped",[105,118]],[[8564,8564],"mapped",[118]],[[8565,8565],"mapped",[118,105]],[[8566,8566],"mapped",[118,105,105]],[[8567,8567],"mapped",[118,105,105,105]],[[8568,8568],"mapped",[105,120]],[[8569,8569],"mapped",[120]],[[8570,8570],"mapped",[120,105]],[[8571,8571],"mapped",[120,105,105]],[[8572,8572],"mapped",[108]],[[8573,8573],"mapped",[99]],[[8574,8574],"mapped",[100]],[[8575,8575],"mapped",[109]],[[8576,8578],"valid",[],"NV8"],[[8579,8579],"disallowed"],[[8580,8580],"valid"],[[8581,8584],"valid",[],"NV8"],[[8585,8585],"mapped",[48,8260,51]],[[8586,8587],"valid",[],"NV8"],[[8588,8591],"disallowed"],[[8592,8682],"valid",[],"NV8"],[[8683,8691],"valid",[],"NV8"],[[8692,8703],"valid",[],"NV8"],[[8704,8747],"valid",[],"NV8"],[[8748,8748],"mapped",[8747,8747]],[[8749,8749],"mapped",[8747,8747,8747]],[[8750,8750],"valid",[],"NV8"],[[8751,8751],"mapped",[8750,8750]],[[8752,8752],"mapped",[8750,8750,8750]],[[8753,8799],"valid",[],"NV8"],[[8800,8800],"disallowed_STD3_valid"],[[8801,8813],"valid",[],"NV8"],[[8814,8815],"disallowed_STD3_valid"],[[8816,8945],"valid",[],"NV8"],[[8946,8959],"valid",[],"NV8"],[[8960,8960],"valid",[],"NV8"],[[8961,8961],"valid",[],"NV8"],[[8962,9000],"valid",[],"NV8"],[[9001,9001],"mapped",[12296]],[[9002,9002],"mapped",[12297]],[[9003,9082],"valid",[],"NV8"],[[9083,9083],"valid",[],"NV8"],[[9084,9084],"valid",[],"NV8"],[[9085,9114],"valid",[],"NV8"],[[9115,9166],"valid",[],"NV8"],[[9167,9168],"valid",[],"NV8"],[[9169,9179],"valid",[],"NV8"],[[9180,9191],"valid",[],"NV8"],[[9192,9192],"valid",[],"NV8"],[[9193,9203],"valid",[],"NV8"],[[9204,9210],"valid",[],"NV8"],[[9211,9215],"disallowed"],[[9216,9252],"valid",[],"NV8"],[[9253,9254],"valid",[],"NV8"],[[9255,9279],"disallowed"],[[9280,9290],"valid",[],"NV8"],[[9291,9311],"disallowed"],[[9312,9312],"mapped",[49]],[[9313,9313],"mapped",[50]],[[9314,9314],"mapped",[51]],[[9315,9315],"mapped",[52]],[[9316,9316],"mapped",[53]],[[9317,9317],"mapped",[54]],[[9318,9318],"mapped",[55]],[[9319,9319],"mapped",[56]],[[9320,9320],"mapped",[57]],[[9321,9321],"mapped",[49,48]],[[9322,9322],"mapped",[49,49]],[[9323,9323],"mapped",[49,50]],[[9324,9324],"mapped",[49,51]],[[9325,9325],"mapped",[49,52]],[[9326,9326],"mapped",[49,53]],[[9327,9327],"mapped",[49,54]],[[9328,9328],"mapped",[49,55]],[[9329,9329],"mapped",[49,56]],[[9330,9330],"mapped",[49,57]],[[9331,9331],"mapped",[50,48]],[[9332,9332],"disallowed_STD3_mapped",[40,49,41]],[[9333,9333],"disallowed_STD3_mapped",[40,50,41]],[[9334,9334],"disallowed_STD3_mapped",[40,51,41]],[[9335,9335],"disallowed_STD3_mapped",[40,52,41]],[[9336,9336],"disallowed_STD3_mapped",[40,53,41]],[[9337,9337],"disallowed_STD3_mapped",[40,54,41]],[[9338,9338],"disallowed_STD3_mapped",[40,55,41]],[[9339,9339],"disallowed_STD3_mapped",[40,56,41]],[[9340,9340],"disallowed_STD3_mapped",[40,57,41]],[[9341,9341],"disallowed_STD3_mapped",[40,49,48,41]],[[9342,9342],"disallowed_STD3_mapped",[40,49,49,41]],[[9343,9343],"disallowed_STD3_mapped",[40,49,50,41]],[[9344,9344],"disallowed_STD3_mapped",[40,49,51,41]],[[9345,9345],"disallowed_STD3_mapped",[40,49,52,41]],[[9346,9346],"disallowed_STD3_mapped",[40,49,53,41]],[[9347,9347],"disallowed_STD3_mapped",[40,49,54,41]],[[9348,9348],"disallowed_STD3_mapped",[40,49,55,41]],[[9349,9349],"disallowed_STD3_mapped",[40,49,56,41]],[[9350,9350],"disallowed_STD3_mapped",[40,49,57,41]],[[9351,9351],"disallowed_STD3_mapped",[40,50,48,41]],[[9352,9371],"disallowed"],[[9372,9372],"disallowed_STD3_mapped",[40,97,41]],[[9373,9373],"disallowed_STD3_mapped",[40,98,41]],[[9374,9374],"disallowed_STD3_mapped",[40,99,41]],[[9375,9375],"disallowed_STD3_mapped",[40,100,41]],[[9376,9376],"disallowed_STD3_mapped",[40,101,41]],[[9377,9377],"disallowed_STD3_mapped",[40,102,41]],[[9378,9378],"disallowed_STD3_mapped",[40,103,41]],[[9379,9379],"disallowed_STD3_mapped",[40,104,41]],[[9380,9380],"disallowed_STD3_mapped",[40,105,41]],[[9381,9381],"disallowed_STD3_mapped",[40,106,41]],[[9382,9382],"disallowed_STD3_mapped",[40,107,41]],[[9383,9383],"disallowed_STD3_mapped",[40,108,41]],[[9384,9384],"disallowed_STD3_mapped",[40,109,41]],[[9385,9385],"disallowed_STD3_mapped",[40,110,41]],[[9386,9386],"disallowed_STD3_mapped",[40,111,41]],[[9387,9387],"disallowed_STD3_mapped",[40,112,41]],[[9388,9388],"disallowed_STD3_mapped",[40,113,41]],[[9389,9389],"disallowed_STD3_mapped",[40,114,41]],[[9390,9390],"disallowed_STD3_mapped",[40,115,41]],[[9391,9391],"disallowed_STD3_mapped",[40,116,41]],[[9392,9392],"disallowed_STD3_mapped",[40,117,41]],[[9393,9393],"disallowed_STD3_mapped",[40,118,41]],[[9394,9394],"disallowed_STD3_mapped",[40,119,41]],[[9395,9395],"disallowed_STD3_mapped",[40,120,41]],[[9396,9396],"disallowed_STD3_mapped",[40,121,41]],[[9397,9397],"disallowed_STD3_mapped",[40,122,41]],[[9398,9398],"mapped",[97]],[[9399,9399],"mapped",[98]],[[9400,9400],"mapped",[99]],[[9401,9401],"mapped",[100]],[[9402,9402],"mapped",[101]],[[9403,9403],"mapped",[102]],[[9404,9404],"mapped",[103]],[[9405,9405],"mapped",[104]],[[9406,9406],"mapped",[105]],[[9407,9407],"mapped",[106]],[[9408,9408],"mapped",[107]],[[9409,9409],"mapped",[108]],[[9410,9410],"mapped",[109]],[[9411,9411],"mapped",[110]],[[9412,9412],"mapped",[111]],[[9413,9413],"mapped",[112]],[[9414,9414],"mapped",[113]],[[9415,9415],"mapped",[114]],[[9416,9416],"mapped",[115]],[[9417,9417],"mapped",[116]],[[9418,9418],"mapped",[117]],[[9419,9419],"mapped",[118]],[[9420,9420],"mapped",[119]],[[9421,9421],"mapped",[120]],[[9422,9422],"mapped",[121]],[[9423,9423],"mapped",[122]],[[9424,9424],"mapped",[97]],[[9425,9425],"mapped",[98]],[[9426,9426],"mapped",[99]],[[9427,9427],"mapped",[100]],[[9428,9428],"mapped",[101]],[[9429,9429],"mapped",[102]],[[9430,9430],"mapped",[103]],[[9431,9431],"mapped",[104]],[[9432,9432],"mapped",[105]],[[9433,9433],"mapped",[106]],[[9434,9434],"mapped",[107]],[[9435,9435],"mapped",[108]],[[9436,9436],"mapped",[109]],[[9437,9437],"mapped",[110]],[[9438,9438],"mapped",[111]],[[9439,9439],"mapped",[112]],[[9440,9440],"mapped",[113]],[[9441,9441],"mapped",[114]],[[9442,9442],"mapped",[115]],[[9443,9443],"mapped",[116]],[[9444,9444],"mapped",[117]],[[9445,9445],"mapped",[118]],[[9446,9446],"mapped",[119]],[[9447,9447],"mapped",[120]],[[9448,9448],"mapped",[121]],[[9449,9449],"mapped",[122]],[[9450,9450],"mapped",[48]],[[9451,9470],"valid",[],"NV8"],[[9471,9471],"valid",[],"NV8"],[[9472,9621],"valid",[],"NV8"],[[9622,9631],"valid",[],"NV8"],[[9632,9711],"valid",[],"NV8"],[[9712,9719],"valid",[],"NV8"],[[9720,9727],"valid",[],"NV8"],[[9728,9747],"valid",[],"NV8"],[[9748,9749],"valid",[],"NV8"],[[9750,9751],"valid",[],"NV8"],[[9752,9752],"valid",[],"NV8"],[[9753,9753],"valid",[],"NV8"],[[9754,9839],"valid",[],"NV8"],[[9840,9841],"valid",[],"NV8"],[[9842,9853],"valid",[],"NV8"],[[9854,9855],"valid",[],"NV8"],[[9856,9865],"valid",[],"NV8"],[[9866,9873],"valid",[],"NV8"],[[9874,9884],"valid",[],"NV8"],[[9885,9885],"valid",[],"NV8"],[[9886,9887],"valid",[],"NV8"],[[9888,9889],"valid",[],"NV8"],[[9890,9905],"valid",[],"NV8"],[[9906,9906],"valid",[],"NV8"],[[9907,9916],"valid",[],"NV8"],[[9917,9919],"valid",[],"NV8"],[[9920,9923],"valid",[],"NV8"],[[9924,9933],"valid",[],"NV8"],[[9934,9934],"valid",[],"NV8"],[[9935,9953],"valid",[],"NV8"],[[9954,9954],"valid",[],"NV8"],[[9955,9955],"valid",[],"NV8"],[[9956,9959],"valid",[],"NV8"],[[9960,9983],"valid",[],"NV8"],[[9984,9984],"valid",[],"NV8"],[[9985,9988],"valid",[],"NV8"],[[9989,9989],"valid",[],"NV8"],[[9990,9993],"valid",[],"NV8"],[[9994,9995],"valid",[],"NV8"],[[9996,10023],"valid",[],"NV8"],[[10024,10024],"valid",[],"NV8"],[[10025,10059],"valid",[],"NV8"],[[10060,10060],"valid",[],"NV8"],[[10061,10061],"valid",[],"NV8"],[[10062,10062],"valid",[],"NV8"],[[10063,10066],"valid",[],"NV8"],[[10067,10069],"valid",[],"NV8"],[[10070,10070],"valid",[],"NV8"],[[10071,10071],"valid",[],"NV8"],[[10072,10078],"valid",[],"NV8"],[[10079,10080],"valid",[],"NV8"],[[10081,10087],"valid",[],"NV8"],[[10088,10101],"valid",[],"NV8"],[[10102,10132],"valid",[],"NV8"],[[10133,10135],"valid",[],"NV8"],[[10136,10159],"valid",[],"NV8"],[[10160,10160],"valid",[],"NV8"],[[10161,10174],"valid",[],"NV8"],[[10175,10175],"valid",[],"NV8"],[[10176,10182],"valid",[],"NV8"],[[10183,10186],"valid",[],"NV8"],[[10187,10187],"valid",[],"NV8"],[[10188,10188],"valid",[],"NV8"],[[10189,10189],"valid",[],"NV8"],[[10190,10191],"valid",[],"NV8"],[[10192,10219],"valid",[],"NV8"],[[10220,10223],"valid",[],"NV8"],[[10224,10239],"valid",[],"NV8"],[[10240,10495],"valid",[],"NV8"],[[10496,10763],"valid",[],"NV8"],[[10764,10764],"mapped",[8747,8747,8747,8747]],[[10765,10867],"valid",[],"NV8"],[[10868,10868],"disallowed_STD3_mapped",[58,58,61]],[[10869,10869],"disallowed_STD3_mapped",[61,61]],[[10870,10870],"disallowed_STD3_mapped",[61,61,61]],[[10871,10971],"valid",[],"NV8"],[[10972,10972],"mapped",[10973,824]],[[10973,11007],"valid",[],"NV8"],[[11008,11021],"valid",[],"NV8"],[[11022,11027],"valid",[],"NV8"],[[11028,11034],"valid",[],"NV8"],[[11035,11039],"valid",[],"NV8"],[[11040,11043],"valid",[],"NV8"],[[11044,11084],"valid",[],"NV8"],[[11085,11087],"valid",[],"NV8"],[[11088,11092],"valid",[],"NV8"],[[11093,11097],"valid",[],"NV8"],[[11098,11123],"valid",[],"NV8"],[[11124,11125],"disallowed"],[[11126,11157],"valid",[],"NV8"],[[11158,11159],"disallowed"],[[11160,11193],"valid",[],"NV8"],[[11194,11196],"disallowed"],[[11197,11208],"valid",[],"NV8"],[[11209,11209],"disallowed"],[[11210,11217],"valid",[],"NV8"],[[11218,11243],"disallowed"],[[11244,11247],"valid",[],"NV8"],[[11248,11263],"disallowed"],[[11264,11264],"mapped",[11312]],[[11265,11265],"mapped",[11313]],[[11266,11266],"mapped",[11314]],[[11267,11267],"mapped",[11315]],[[11268,11268],"mapped",[11316]],[[11269,11269],"mapped",[11317]],[[11270,11270],"mapped",[11318]],[[11271,11271],"mapped",[11319]],[[11272,11272],"mapped",[11320]],[[11273,11273],"mapped",[11321]],[[11274,11274],"mapped",[11322]],[[11275,11275],"mapped",[11323]],[[11276,11276],"mapped",[11324]],[[11277,11277],"mapped",[11325]],[[11278,11278],"mapped",[11326]],[[11279,11279],"mapped",[11327]],[[11280,11280],"mapped",[11328]],[[11281,11281],"mapped",[11329]],[[11282,11282],"mapped",[11330]],[[11283,11283],"mapped",[11331]],[[11284,11284],"mapped",[11332]],[[11285,11285],"mapped",[11333]],[[11286,11286],"mapped",[11334]],[[11287,11287],"mapped",[11335]],[[11288,11288],"mapped",[11336]],[[11289,11289],"mapped",[11337]],[[11290,11290],"mapped",[11338]],[[11291,11291],"mapped",[11339]],[[11292,11292],"mapped",[11340]],[[11293,11293],"mapped",[11341]],[[11294,11294],"mapped",[11342]],[[11295,11295],"mapped",[11343]],[[11296,11296],"mapped",[11344]],[[11297,11297],"mapped",[11345]],[[11298,11298],"mapped",[11346]],[[11299,11299],"mapped",[11347]],[[11300,11300],"mapped",[11348]],[[11301,11301],"mapped",[11349]],[[11302,11302],"mapped",[11350]],[[11303,11303],"mapped",[11351]],[[11304,11304],"mapped",[11352]],[[11305,11305],"mapped",[11353]],[[11306,11306],"mapped",[11354]],[[11307,11307],"mapped",[11355]],[[11308,11308],"mapped",[11356]],[[11309,11309],"mapped",[11357]],[[11310,11310],"mapped",[11358]],[[11311,11311],"disallowed"],[[11312,11358],"valid"],[[11359,11359],"disallowed"],[[11360,11360],"mapped",[11361]],[[11361,11361],"valid"],[[11362,11362],"mapped",[619]],[[11363,11363],"mapped",[7549]],[[11364,11364],"mapped",[637]],[[11365,11366],"valid"],[[11367,11367],"mapped",[11368]],[[11368,11368],"valid"],[[11369,11369],"mapped",[11370]],[[11370,11370],"valid"],[[11371,11371],"mapped",[11372]],[[11372,11372],"valid"],[[11373,11373],"mapped",[593]],[[11374,11374],"mapped",[625]],[[11375,11375],"mapped",[592]],[[11376,11376],"mapped",[594]],[[11377,11377],"valid"],[[11378,11378],"mapped",[11379]],[[11379,11379],"valid"],[[11380,11380],"valid"],[[11381,11381],"mapped",[11382]],[[11382,11383],"valid"],[[11384,11387],"valid"],[[11388,11388],"mapped",[106]],[[11389,11389],"mapped",[118]],[[11390,11390],"mapped",[575]],[[11391,11391],"mapped",[576]],[[11392,11392],"mapped",[11393]],[[11393,11393],"valid"],[[11394,11394],"mapped",[11395]],[[11395,11395],"valid"],[[11396,11396],"mapped",[11397]],[[11397,11397],"valid"],[[11398,11398],"mapped",[11399]],[[11399,11399],"valid"],[[11400,11400],"mapped",[11401]],[[11401,11401],"valid"],[[11402,11402],"mapped",[11403]],[[11403,11403],"valid"],[[11404,11404],"mapped",[11405]],[[11405,11405],"valid"],[[11406,11406],"mapped",[11407]],[[11407,11407],"valid"],[[11408,11408],"mapped",[11409]],[[11409,11409],"valid"],[[11410,11410],"mapped",[11411]],[[11411,11411],"valid"],[[11412,11412],"mapped",[11413]],[[11413,11413],"valid"],[[11414,11414],"mapped",[11415]],[[11415,11415],"valid"],[[11416,11416],"mapped",[11417]],[[11417,11417],"valid"],[[11418,11418],"mapped",[11419]],[[11419,11419],"valid"],[[11420,11420],"mapped",[11421]],[[11421,11421],"valid"],[[11422,11422],"mapped",[11423]],[[11423,11423],"valid"],[[11424,11424],"mapped",[11425]],[[11425,11425],"valid"],[[11426,11426],"mapped",[11427]],[[11427,11427],"valid"],[[11428,11428],"mapped",[11429]],[[11429,11429],"valid"],[[11430,11430],"mapped",[11431]],[[11431,11431],"valid"],[[11432,11432],"mapped",[11433]],[[11433,11433],"valid"],[[11434,11434],"mapped",[11435]],[[11435,11435],"valid"],[[11436,11436],"mapped",[11437]],[[11437,11437],"valid"],[[11438,11438],"mapped",[11439]],[[11439,11439],"valid"],[[11440,11440],"mapped",[11441]],[[11441,11441],"valid"],[[11442,11442],"mapped",[11443]],[[11443,11443],"valid"],[[11444,11444],"mapped",[11445]],[[11445,11445],"valid"],[[11446,11446],"mapped",[11447]],[[11447,11447],"valid"],[[11448,11448],"mapped",[11449]],[[11449,11449],"valid"],[[11450,11450],"mapped",[11451]],[[11451,11451],"valid"],[[11452,11452],"mapped",[11453]],[[11453,11453],"valid"],[[11454,11454],"mapped",[11455]],[[11455,11455],"valid"],[[11456,11456],"mapped",[11457]],[[11457,11457],"valid"],[[11458,11458],"mapped",[11459]],[[11459,11459],"valid"],[[11460,11460],"mapped",[11461]],[[11461,11461],"valid"],[[11462,11462],"mapped",[11463]],[[11463,11463],"valid"],[[11464,11464],"mapped",[11465]],[[11465,11465],"valid"],[[11466,11466],"mapped",[11467]],[[11467,11467],"valid"],[[11468,11468],"mapped",[11469]],[[11469,11469],"valid"],[[11470,11470],"mapped",[11471]],[[11471,11471],"valid"],[[11472,11472],"mapped",[11473]],[[11473,11473],"valid"],[[11474,11474],"mapped",[11475]],[[11475,11475],"valid"],[[11476,11476],"mapped",[11477]],[[11477,11477],"valid"],[[11478,11478],"mapped",[11479]],[[11479,11479],"valid"],[[11480,11480],"mapped",[11481]],[[11481,11481],"valid"],[[11482,11482],"mapped",[11483]],[[11483,11483],"valid"],[[11484,11484],"mapped",[11485]],[[11485,11485],"valid"],[[11486,11486],"mapped",[11487]],[[11487,11487],"valid"],[[11488,11488],"mapped",[11489]],[[11489,11489],"valid"],[[11490,11490],"mapped",[11491]],[[11491,11492],"valid"],[[11493,11498],"valid",[],"NV8"],[[11499,11499],"mapped",[11500]],[[11500,11500],"valid"],[[11501,11501],"mapped",[11502]],[[11502,11505],"valid"],[[11506,11506],"mapped",[11507]],[[11507,11507],"valid"],[[11508,11512],"disallowed"],[[11513,11519],"valid",[],"NV8"],[[11520,11557],"valid"],[[11558,11558],"disallowed"],[[11559,11559],"valid"],[[11560,11564],"disallowed"],[[11565,11565],"valid"],[[11566,11567],"disallowed"],[[11568,11621],"valid"],[[11622,11623],"valid"],[[11624,11630],"disallowed"],[[11631,11631],"mapped",[11617]],[[11632,11632],"valid",[],"NV8"],[[11633,11646],"disallowed"],[[11647,11647],"valid"],[[11648,11670],"valid"],[[11671,11679],"disallowed"],[[11680,11686],"valid"],[[11687,11687],"disallowed"],[[11688,11694],"valid"],[[11695,11695],"disallowed"],[[11696,11702],"valid"],[[11703,11703],"disallowed"],[[11704,11710],"valid"],[[11711,11711],"disallowed"],[[11712,11718],"valid"],[[11719,11719],"disallowed"],[[11720,11726],"valid"],[[11727,11727],"disallowed"],[[11728,11734],"valid"],[[11735,11735],"disallowed"],[[11736,11742],"valid"],[[11743,11743],"disallowed"],[[11744,11775],"valid"],[[11776,11799],"valid",[],"NV8"],[[11800,11803],"valid",[],"NV8"],[[11804,11805],"valid",[],"NV8"],[[11806,11822],"valid",[],"NV8"],[[11823,11823],"valid"],[[11824,11824],"valid",[],"NV8"],[[11825,11825],"valid",[],"NV8"],[[11826,11835],"valid",[],"NV8"],[[11836,11842],"valid",[],"NV8"],[[11843,11903],"disallowed"],[[11904,11929],"valid",[],"NV8"],[[11930,11930],"disallowed"],[[11931,11934],"valid",[],"NV8"],[[11935,11935],"mapped",[27597]],[[11936,12018],"valid",[],"NV8"],[[12019,12019],"mapped",[40863]],[[12020,12031],"disallowed"],[[12032,12032],"mapped",[19968]],[[12033,12033],"mapped",[20008]],[[12034,12034],"mapped",[20022]],[[12035,12035],"mapped",[20031]],[[12036,12036],"mapped",[20057]],[[12037,12037],"mapped",[20101]],[[12038,12038],"mapped",[20108]],[[12039,12039],"mapped",[20128]],[[12040,12040],"mapped",[20154]],[[12041,12041],"mapped",[20799]],[[12042,12042],"mapped",[20837]],[[12043,12043],"mapped",[20843]],[[12044,12044],"mapped",[20866]],[[12045,12045],"mapped",[20886]],[[12046,12046],"mapped",[20907]],[[12047,12047],"mapped",[20960]],[[12048,12048],"mapped",[20981]],[[12049,12049],"mapped",[20992]],[[12050,12050],"mapped",[21147]],[[12051,12051],"mapped",[21241]],[[12052,12052],"mapped",[21269]],[[12053,12053],"mapped",[21274]],[[12054,12054],"mapped",[21304]],[[12055,12055],"mapped",[21313]],[[12056,12056],"mapped",[21340]],[[12057,12057],"mapped",[21353]],[[12058,12058],"mapped",[21378]],[[12059,12059],"mapped",[21430]],[[12060,12060],"mapped",[21448]],[[12061,12061],"mapped",[21475]],[[12062,12062],"mapped",[22231]],[[12063,12063],"mapped",[22303]],[[12064,12064],"mapped",[22763]],[[12065,12065],"mapped",[22786]],[[12066,12066],"mapped",[22794]],[[12067,12067],"mapped",[22805]],[[12068,12068],"mapped",[22823]],[[12069,12069],"mapped",[22899]],[[12070,12070],"mapped",[23376]],[[12071,12071],"mapped",[23424]],[[12072,12072],"mapped",[23544]],[[12073,12073],"mapped",[23567]],[[12074,12074],"mapped",[23586]],[[12075,12075],"mapped",[23608]],[[12076,12076],"mapped",[23662]],[[12077,12077],"mapped",[23665]],[[12078,12078],"mapped",[24027]],[[12079,12079],"mapped",[24037]],[[12080,12080],"mapped",[24049]],[[12081,12081],"mapped",[24062]],[[12082,12082],"mapped",[24178]],[[12083,12083],"mapped",[24186]],[[12084,12084],"mapped",[24191]],[[12085,12085],"mapped",[24308]],[[12086,12086],"mapped",[24318]],[[12087,12087],"mapped",[24331]],[[12088,12088],"mapped",[24339]],[[12089,12089],"mapped",[24400]],[[12090,12090],"mapped",[24417]],[[12091,12091],"mapped",[24435]],[[12092,12092],"mapped",[24515]],[[12093,12093],"mapped",[25096]],[[12094,12094],"mapped",[25142]],[[12095,12095],"mapped",[25163]],[[12096,12096],"mapped",[25903]],[[12097,12097],"mapped",[25908]],[[12098,12098],"mapped",[25991]],[[12099,12099],"mapped",[26007]],[[12100,12100],"mapped",[26020]],[[12101,12101],"mapped",[26041]],[[12102,12102],"mapped",[26080]],[[12103,12103],"mapped",[26085]],[[12104,12104],"mapped",[26352]],[[12105,12105],"mapped",[26376]],[[12106,12106],"mapped",[26408]],[[12107,12107],"mapped",[27424]],[[12108,12108],"mapped",[27490]],[[12109,12109],"mapped",[27513]],[[12110,12110],"mapped",[27571]],[[12111,12111],"mapped",[27595]],[[12112,12112],"mapped",[27604]],[[12113,12113],"mapped",[27611]],[[12114,12114],"mapped",[27663]],[[12115,12115],"mapped",[27668]],[[12116,12116],"mapped",[27700]],[[12117,12117],"mapped",[28779]],[[12118,12118],"mapped",[29226]],[[12119,12119],"mapped",[29238]],[[12120,12120],"mapped",[29243]],[[12121,12121],"mapped",[29247]],[[12122,12122],"mapped",[29255]],[[12123,12123],"mapped",[29273]],[[12124,12124],"mapped",[29275]],[[12125,12125],"mapped",[29356]],[[12126,12126],"mapped",[29572]],[[12127,12127],"mapped",[29577]],[[12128,12128],"mapped",[29916]],[[12129,12129],"mapped",[29926]],[[12130,12130],"mapped",[29976]],[[12131,12131],"mapped",[29983]],[[12132,12132],"mapped",[29992]],[[12133,12133],"mapped",[30000]],[[12134,12134],"mapped",[30091]],[[12135,12135],"mapped",[30098]],[[12136,12136],"mapped",[30326]],[[12137,12137],"mapped",[30333]],[[12138,12138],"mapped",[30382]],[[12139,12139],"mapped",[30399]],[[12140,12140],"mapped",[30446]],[[12141,12141],"mapped",[30683]],[[12142,12142],"mapped",[30690]],[[12143,12143],"mapped",[30707]],[[12144,12144],"mapped",[31034]],[[12145,12145],"mapped",[31160]],[[12146,12146],"mapped",[31166]],[[12147,12147],"mapped",[31348]],[[12148,12148],"mapped",[31435]],[[12149,12149],"mapped",[31481]],[[12150,12150],"mapped",[31859]],[[12151,12151],"mapped",[31992]],[[12152,12152],"mapped",[32566]],[[12153,12153],"mapped",[32593]],[[12154,12154],"mapped",[32650]],[[12155,12155],"mapped",[32701]],[[12156,12156],"mapped",[32769]],[[12157,12157],"mapped",[32780]],[[12158,12158],"mapped",[32786]],[[12159,12159],"mapped",[32819]],[[12160,12160],"mapped",[32895]],[[12161,12161],"mapped",[32905]],[[12162,12162],"mapped",[33251]],[[12163,12163],"mapped",[33258]],[[12164,12164],"mapped",[33267]],[[12165,12165],"mapped",[33276]],[[12166,12166],"mapped",[33292]],[[12167,12167],"mapped",[33307]],[[12168,12168],"mapped",[33311]],[[12169,12169],"mapped",[33390]],[[12170,12170],"mapped",[33394]],[[12171,12171],"mapped",[33400]],[[12172,12172],"mapped",[34381]],[[12173,12173],"mapped",[34411]],[[12174,12174],"mapped",[34880]],[[12175,12175],"mapped",[34892]],[[12176,12176],"mapped",[34915]],[[12177,12177],"mapped",[35198]],[[12178,12178],"mapped",[35211]],[[12179,12179],"mapped",[35282]],[[12180,12180],"mapped",[35328]],[[12181,12181],"mapped",[35895]],[[12182,12182],"mapped",[35910]],[[12183,12183],"mapped",[35925]],[[12184,12184],"mapped",[35960]],[[12185,12185],"mapped",[35997]],[[12186,12186],"mapped",[36196]],[[12187,12187],"mapped",[36208]],[[12188,12188],"mapped",[36275]],[[12189,12189],"mapped",[36523]],[[12190,12190],"mapped",[36554]],[[12191,12191],"mapped",[36763]],[[12192,12192],"mapped",[36784]],[[12193,12193],"mapped",[36789]],[[12194,12194],"mapped",[37009]],[[12195,12195],"mapped",[37193]],[[12196,12196],"mapped",[37318]],[[12197,12197],"mapped",[37324]],[[12198,12198],"mapped",[37329]],[[12199,12199],"mapped",[38263]],[[12200,12200],"mapped",[38272]],[[12201,12201],"mapped",[38428]],[[12202,12202],"mapped",[38582]],[[12203,12203],"mapped",[38585]],[[12204,12204],"mapped",[38632]],[[12205,12205],"mapped",[38737]],[[12206,12206],"mapped",[38750]],[[12207,12207],"mapped",[38754]],[[12208,12208],"mapped",[38761]],[[12209,12209],"mapped",[38859]],[[12210,12210],"mapped",[38893]],[[12211,12211],"mapped",[38899]],[[12212,12212],"mapped",[38913]],[[12213,12213],"mapped",[39080]],[[12214,12214],"mapped",[39131]],[[12215,12215],"mapped",[39135]],[[12216,12216],"mapped",[39318]],[[12217,12217],"mapped",[39321]],[[12218,12218],"mapped",[39340]],[[12219,12219],"mapped",[39592]],[[12220,12220],"mapped",[39640]],[[12221,12221],"mapped",[39647]],[[12222,12222],"mapped",[39717]],[[12223,12223],"mapped",[39727]],[[12224,12224],"mapped",[39730]],[[12225,12225],"mapped",[39740]],[[12226,12226],"mapped",[39770]],[[12227,12227],"mapped",[40165]],[[12228,12228],"mapped",[40565]],[[12229,12229],"mapped",[40575]],[[12230,12230],"mapped",[40613]],[[12231,12231],"mapped",[40635]],[[12232,12232],"mapped",[40643]],[[12233,12233],"mapped",[40653]],[[12234,12234],"mapped",[40657]],[[12235,12235],"mapped",[40697]],[[12236,12236],"mapped",[40701]],[[12237,12237],"mapped",[40718]],[[12238,12238],"mapped",[40723]],[[12239,12239],"mapped",[40736]],[[12240,12240],"mapped",[40763]],[[12241,12241],"mapped",[40778]],[[12242,12242],"mapped",[40786]],[[12243,12243],"mapped",[40845]],[[12244,12244],"mapped",[40860]],[[12245,12245],"mapped",[40864]],[[12246,12271],"disallowed"],[[12272,12283],"disallowed"],[[12284,12287],"disallowed"],[[12288,12288],"disallowed_STD3_mapped",[32]],[[12289,12289],"valid",[],"NV8"],[[12290,12290],"mapped",[46]],[[12291,12292],"valid",[],"NV8"],[[12293,12295],"valid"],[[12296,12329],"valid",[],"NV8"],[[12330,12333],"valid"],[[12334,12341],"valid",[],"NV8"],[[12342,12342],"mapped",[12306]],[[12343,12343],"valid",[],"NV8"],[[12344,12344],"mapped",[21313]],[[12345,12345],"mapped",[21316]],[[12346,12346],"mapped",[21317]],[[12347,12347],"valid",[],"NV8"],[[12348,12348],"valid"],[[12349,12349],"valid",[],"NV8"],[[12350,12350],"valid",[],"NV8"],[[12351,12351],"valid",[],"NV8"],[[12352,12352],"disallowed"],[[12353,12436],"valid"],[[12437,12438],"valid"],[[12439,12440],"disallowed"],[[12441,12442],"valid"],[[12443,12443],"disallowed_STD3_mapped",[32,12441]],[[12444,12444],"disallowed_STD3_mapped",[32,12442]],[[12445,12446],"valid"],[[12447,12447],"mapped",[12424,12426]],[[12448,12448],"valid",[],"NV8"],[[12449,12542],"valid"],[[12543,12543],"mapped",[12467,12488]],[[12544,12548],"disallowed"],[[12549,12588],"valid"],[[12589,12589],"valid"],[[12590,12592],"disallowed"],[[12593,12593],"mapped",[4352]],[[12594,12594],"mapped",[4353]],[[12595,12595],"mapped",[4522]],[[12596,12596],"mapped",[4354]],[[12597,12597],"mapped",[4524]],[[12598,12598],"mapped",[4525]],[[12599,12599],"mapped",[4355]],[[12600,12600],"mapped",[4356]],[[12601,12601],"mapped",[4357]],[[12602,12602],"mapped",[4528]],[[12603,12603],"mapped",[4529]],[[12604,12604],"mapped",[4530]],[[12605,12605],"mapped",[4531]],[[12606,12606],"mapped",[4532]],[[12607,12607],"mapped",[4533]],[[12608,12608],"mapped",[4378]],[[12609,12609],"mapped",[4358]],[[12610,12610],"mapped",[4359]],[[12611,12611],"mapped",[4360]],[[12612,12612],"mapped",[4385]],[[12613,12613],"mapped",[4361]],[[12614,12614],"mapped",[4362]],[[12615,12615],"mapped",[4363]],[[12616,12616],"mapped",[4364]],[[12617,12617],"mapped",[4365]],[[12618,12618],"mapped",[4366]],[[12619,12619],"mapped",[4367]],[[12620,12620],"mapped",[4368]],[[12621,12621],"mapped",[4369]],[[12622,12622],"mapped",[4370]],[[12623,12623],"mapped",[4449]],[[12624,12624],"mapped",[4450]],[[12625,12625],"mapped",[4451]],[[12626,12626],"mapped",[4452]],[[12627,12627],"mapped",[4453]],[[12628,12628],"mapped",[4454]],[[12629,12629],"mapped",[4455]],[[12630,12630],"mapped",[4456]],[[12631,12631],"mapped",[4457]],[[12632,12632],"mapped",[4458]],[[12633,12633],"mapped",[4459]],[[12634,12634],"mapped",[4460]],[[12635,12635],"mapped",[4461]],[[12636,12636],"mapped",[4462]],[[12637,12637],"mapped",[4463]],[[12638,12638],"mapped",[4464]],[[12639,12639],"mapped",[4465]],[[12640,12640],"mapped",[4466]],[[12641,12641],"mapped",[4467]],[[12642,12642],"mapped",[4468]],[[12643,12643],"mapped",[4469]],[[12644,12644],"disallowed"],[[12645,12645],"mapped",[4372]],[[12646,12646],"mapped",[4373]],[[12647,12647],"mapped",[4551]],[[12648,12648],"mapped",[4552]],[[12649,12649],"mapped",[4556]],[[12650,12650],"mapped",[4558]],[[12651,12651],"mapped",[4563]],[[12652,12652],"mapped",[4567]],[[12653,12653],"mapped",[4569]],[[12654,12654],"mapped",[4380]],[[12655,12655],"mapped",[4573]],[[12656,12656],"mapped",[4575]],[[12657,12657],"mapped",[4381]],[[12658,12658],"mapped",[4382]],[[12659,12659],"mapped",[4384]],[[12660,12660],"mapped",[4386]],[[12661,12661],"mapped",[4387]],[[12662,12662],"mapped",[4391]],[[12663,12663],"mapped",[4393]],[[12664,12664],"mapped",[4395]],[[12665,12665],"mapped",[4396]],[[12666,12666],"mapped",[4397]],[[12667,12667],"mapped",[4398]],[[12668,12668],"mapped",[4399]],[[12669,12669],"mapped",[4402]],[[12670,12670],"mapped",[4406]],[[12671,12671],"mapped",[4416]],[[12672,12672],"mapped",[4423]],[[12673,12673],"mapped",[4428]],[[12674,12674],"mapped",[4593]],[[12675,12675],"mapped",[4594]],[[12676,12676],"mapped",[4439]],[[12677,12677],"mapped",[4440]],[[12678,12678],"mapped",[4441]],[[12679,12679],"mapped",[4484]],[[12680,12680],"mapped",[4485]],[[12681,12681],"mapped",[4488]],[[12682,12682],"mapped",[4497]],[[12683,12683],"mapped",[4498]],[[12684,12684],"mapped",[4500]],[[12685,12685],"mapped",[4510]],[[12686,12686],"mapped",[4513]],[[12687,12687],"disallowed"],[[12688,12689],"valid",[],"NV8"],[[12690,12690],"mapped",[19968]],[[12691,12691],"mapped",[20108]],[[12692,12692],"mapped",[19977]],[[12693,12693],"mapped",[22235]],[[12694,12694],"mapped",[19978]],[[12695,12695],"mapped",[20013]],[[12696,12696],"mapped",[19979]],[[12697,12697],"mapped",[30002]],[[12698,12698],"mapped",[20057]],[[12699,12699],"mapped",[19993]],[[12700,12700],"mapped",[19969]],[[12701,12701],"mapped",[22825]],[[12702,12702],"mapped",[22320]],[[12703,12703],"mapped",[20154]],[[12704,12727],"valid"],[[12728,12730],"valid"],[[12731,12735],"disallowed"],[[12736,12751],"valid",[],"NV8"],[[12752,12771],"valid",[],"NV8"],[[12772,12783],"disallowed"],[[12784,12799],"valid"],[[12800,12800],"disallowed_STD3_mapped",[40,4352,41]],[[12801,12801],"disallowed_STD3_mapped",[40,4354,41]],[[12802,12802],"disallowed_STD3_mapped",[40,4355,41]],[[12803,12803],"disallowed_STD3_mapped",[40,4357,41]],[[12804,12804],"disallowed_STD3_mapped",[40,4358,41]],[[12805,12805],"disallowed_STD3_mapped",[40,4359,41]],[[12806,12806],"disallowed_STD3_mapped",[40,4361,41]],[[12807,12807],"disallowed_STD3_mapped",[40,4363,41]],[[12808,12808],"disallowed_STD3_mapped",[40,4364,41]],[[12809,12809],"disallowed_STD3_mapped",[40,4366,41]],[[12810,12810],"disallowed_STD3_mapped",[40,4367,41]],[[12811,12811],"disallowed_STD3_mapped",[40,4368,41]],[[12812,12812],"disallowed_STD3_mapped",[40,4369,41]],[[12813,12813],"disallowed_STD3_mapped",[40,4370,41]],[[12814,12814],"disallowed_STD3_mapped",[40,44032,41]],[[12815,12815],"disallowed_STD3_mapped",[40,45208,41]],[[12816,12816],"disallowed_STD3_mapped",[40,45796,41]],[[12817,12817],"disallowed_STD3_mapped",[40,46972,41]],[[12818,12818],"disallowed_STD3_mapped",[40,47560,41]],[[12819,12819],"disallowed_STD3_mapped",[40,48148,41]],[[12820,12820],"disallowed_STD3_mapped",[40,49324,41]],[[12821,12821],"disallowed_STD3_mapped",[40,50500,41]],[[12822,12822],"disallowed_STD3_mapped",[40,51088,41]],[[12823,12823],"disallowed_STD3_mapped",[40,52264,41]],[[12824,12824],"disallowed_STD3_mapped",[40,52852,41]],[[12825,12825],"disallowed_STD3_mapped",[40,53440,41]],[[12826,12826],"disallowed_STD3_mapped",[40,54028,41]],[[12827,12827],"disallowed_STD3_mapped",[40,54616,41]],[[12828,12828],"disallowed_STD3_mapped",[40,51452,41]],[[12829,12829],"disallowed_STD3_mapped",[40,50724,51204,41]],[[12830,12830],"disallowed_STD3_mapped",[40,50724,54980,41]],[[12831,12831],"disallowed"],[[12832,12832],"disallowed_STD3_mapped",[40,19968,41]],[[12833,12833],"disallowed_STD3_mapped",[40,20108,41]],[[12834,12834],"disallowed_STD3_mapped",[40,19977,41]],[[12835,12835],"disallowed_STD3_mapped",[40,22235,41]],[[12836,12836],"disallowed_STD3_mapped",[40,20116,41]],[[12837,12837],"disallowed_STD3_mapped",[40,20845,41]],[[12838,12838],"disallowed_STD3_mapped",[40,19971,41]],[[12839,12839],"disallowed_STD3_mapped",[40,20843,41]],[[12840,12840],"disallowed_STD3_mapped",[40,20061,41]],[[12841,12841],"disallowed_STD3_mapped",[40,21313,41]],[[12842,12842],"disallowed_STD3_mapped",[40,26376,41]],[[12843,12843],"disallowed_STD3_mapped",[40,28779,41]],[[12844,12844],"disallowed_STD3_mapped",[40,27700,41]],[[12845,12845],"disallowed_STD3_mapped",[40,26408,41]],[[12846,12846],"disallowed_STD3_mapped",[40,37329,41]],[[12847,12847],"disallowed_STD3_mapped",[40,22303,41]],[[12848,12848],"disallowed_STD3_mapped",[40,26085,41]],[[12849,12849],"disallowed_STD3_mapped",[40,26666,41]],[[12850,12850],"disallowed_STD3_mapped",[40,26377,41]],[[12851,12851],"disallowed_STD3_mapped",[40,31038,41]],[[12852,12852],"disallowed_STD3_mapped",[40,21517,41]],[[12853,12853],"disallowed_STD3_mapped",[40,29305,41]],[[12854,12854],"disallowed_STD3_mapped",[40,36001,41]],[[12855,12855],"disallowed_STD3_mapped",[40,31069,41]],[[12856,12856],"disallowed_STD3_mapped",[40,21172,41]],[[12857,12857],"disallowed_STD3_mapped",[40,20195,41]],[[12858,12858],"disallowed_STD3_mapped",[40,21628,41]],[[12859,12859],"disallowed_STD3_mapped",[40,23398,41]],[[12860,12860],"disallowed_STD3_mapped",[40,30435,41]],[[12861,12861],"disallowed_STD3_mapped",[40,20225,41]],[[12862,12862],"disallowed_STD3_mapped",[40,36039,41]],[[12863,12863],"disallowed_STD3_mapped",[40,21332,41]],[[12864,12864],"disallowed_STD3_mapped",[40,31085,41]],[[12865,12865],"disallowed_STD3_mapped",[40,20241,41]],[[12866,12866],"disallowed_STD3_mapped",[40,33258,41]],[[12867,12867],"disallowed_STD3_mapped",[40,33267,41]],[[12868,12868],"mapped",[21839]],[[12869,12869],"mapped",[24188]],[[12870,12870],"mapped",[25991]],[[12871,12871],"mapped",[31631]],[[12872,12879],"valid",[],"NV8"],[[12880,12880],"mapped",[112,116,101]],[[12881,12881],"mapped",[50,49]],[[12882,12882],"mapped",[50,50]],[[12883,12883],"mapped",[50,51]],[[12884,12884],"mapped",[50,52]],[[12885,12885],"mapped",[50,53]],[[12886,12886],"mapped",[50,54]],[[12887,12887],"mapped",[50,55]],[[12888,12888],"mapped",[50,56]],[[12889,12889],"mapped",[50,57]],[[12890,12890],"mapped",[51,48]],[[12891,12891],"mapped",[51,49]],[[12892,12892],"mapped",[51,50]],[[12893,12893],"mapped",[51,51]],[[12894,12894],"mapped",[51,52]],[[12895,12895],"mapped",[51,53]],[[12896,12896],"mapped",[4352]],[[12897,12897],"mapped",[4354]],[[12898,12898],"mapped",[4355]],[[12899,12899],"mapped",[4357]],[[12900,12900],"mapped",[4358]],[[12901,12901],"mapped",[4359]],[[12902,12902],"mapped",[4361]],[[12903,12903],"mapped",[4363]],[[12904,12904],"mapped",[4364]],[[12905,12905],"mapped",[4366]],[[12906,12906],"mapped",[4367]],[[12907,12907],"mapped",[4368]],[[12908,12908],"mapped",[4369]],[[12909,12909],"mapped",[4370]],[[12910,12910],"mapped",[44032]],[[12911,12911],"mapped",[45208]],[[12912,12912],"mapped",[45796]],[[12913,12913],"mapped",[46972]],[[12914,12914],"mapped",[47560]],[[12915,12915],"mapped",[48148]],[[12916,12916],"mapped",[49324]],[[12917,12917],"mapped",[50500]],[[12918,12918],"mapped",[51088]],[[12919,12919],"mapped",[52264]],[[12920,12920],"mapped",[52852]],[[12921,12921],"mapped",[53440]],[[12922,12922],"mapped",[54028]],[[12923,12923],"mapped",[54616]],[[12924,12924],"mapped",[52280,44256]],[[12925,12925],"mapped",[51452,51032]],[[12926,12926],"mapped",[50864]],[[12927,12927],"valid",[],"NV8"],[[12928,12928],"mapped",[19968]],[[12929,12929],"mapped",[20108]],[[12930,12930],"mapped",[19977]],[[12931,12931],"mapped",[22235]],[[12932,12932],"mapped",[20116]],[[12933,12933],"mapped",[20845]],[[12934,12934],"mapped",[19971]],[[12935,12935],"mapped",[20843]],[[12936,12936],"mapped",[20061]],[[12937,12937],"mapped",[21313]],[[12938,12938],"mapped",[26376]],[[12939,12939],"mapped",[28779]],[[12940,12940],"mapped",[27700]],[[12941,12941],"mapped",[26408]],[[12942,12942],"mapped",[37329]],[[12943,12943],"mapped",[22303]],[[12944,12944],"mapped",[26085]],[[12945,12945],"mapped",[26666]],[[12946,12946],"mapped",[26377]],[[12947,12947],"mapped",[31038]],[[12948,12948],"mapped",[21517]],[[12949,12949],"mapped",[29305]],[[12950,12950],"mapped",[36001]],[[12951,12951],"mapped",[31069]],[[12952,12952],"mapped",[21172]],[[12953,12953],"mapped",[31192]],[[12954,12954],"mapped",[30007]],[[12955,12955],"mapped",[22899]],[[12956,12956],"mapped",[36969]],[[12957,12957],"mapped",[20778]],[[12958,12958],"mapped",[21360]],[[12959,12959],"mapped",[27880]],[[12960,12960],"mapped",[38917]],[[12961,12961],"mapped",[20241]],[[12962,12962],"mapped",[20889]],[[12963,12963],"mapped",[27491]],[[12964,12964],"mapped",[19978]],[[12965,12965],"mapped",[20013]],[[12966,12966],"mapped",[19979]],[[12967,12967],"mapped",[24038]],[[12968,12968],"mapped",[21491]],[[12969,12969],"mapped",[21307]],[[12970,12970],"mapped",[23447]],[[12971,12971],"mapped",[23398]],[[12972,12972],"mapped",[30435]],[[12973,12973],"mapped",[20225]],[[12974,12974],"mapped",[36039]],[[12975,12975],"mapped",[21332]],[[12976,12976],"mapped",[22812]],[[12977,12977],"mapped",[51,54]],[[12978,12978],"mapped",[51,55]],[[12979,12979],"mapped",[51,56]],[[12980,12980],"mapped",[51,57]],[[12981,12981],"mapped",[52,48]],[[12982,12982],"mapped",[52,49]],[[12983,12983],"mapped",[52,50]],[[12984,12984],"mapped",[52,51]],[[12985,12985],"mapped",[52,52]],[[12986,12986],"mapped",[52,53]],[[12987,12987],"mapped",[52,54]],[[12988,12988],"mapped",[52,55]],[[12989,12989],"mapped",[52,56]],[[12990,12990],"mapped",[52,57]],[[12991,12991],"mapped",[53,48]],[[12992,12992],"mapped",[49,26376]],[[12993,12993],"mapped",[50,26376]],[[12994,12994],"mapped",[51,26376]],[[12995,12995],"mapped",[52,26376]],[[12996,12996],"mapped",[53,26376]],[[12997,12997],"mapped",[54,26376]],[[12998,12998],"mapped",[55,26376]],[[12999,12999],"mapped",[56,26376]],[[13000,13000],"mapped",[57,26376]],[[13001,13001],"mapped",[49,48,26376]],[[13002,13002],"mapped",[49,49,26376]],[[13003,13003],"mapped",[49,50,26376]],[[13004,13004],"mapped",[104,103]],[[13005,13005],"mapped",[101,114,103]],[[13006,13006],"mapped",[101,118]],[[13007,13007],"mapped",[108,116,100]],[[13008,13008],"mapped",[12450]],[[13009,13009],"mapped",[12452]],[[13010,13010],"mapped",[12454]],[[13011,13011],"mapped",[12456]],[[13012,13012],"mapped",[12458]],[[13013,13013],"mapped",[12459]],[[13014,13014],"mapped",[12461]],[[13015,13015],"mapped",[12463]],[[13016,13016],"mapped",[12465]],[[13017,13017],"mapped",[12467]],[[13018,13018],"mapped",[12469]],[[13019,13019],"mapped",[12471]],[[13020,13020],"mapped",[12473]],[[13021,13021],"mapped",[12475]],[[13022,13022],"mapped",[12477]],[[13023,13023],"mapped",[12479]],[[13024,13024],"mapped",[12481]],[[13025,13025],"mapped",[12484]],[[13026,13026],"mapped",[12486]],[[13027,13027],"mapped",[12488]],[[13028,13028],"mapped",[12490]],[[13029,13029],"mapped",[12491]],[[13030,13030],"mapped",[12492]],[[13031,13031],"mapped",[12493]],[[13032,13032],"mapped",[12494]],[[13033,13033],"mapped",[12495]],[[13034,13034],"mapped",[12498]],[[13035,13035],"mapped",[12501]],[[13036,13036],"mapped",[12504]],[[13037,13037],"mapped",[12507]],[[13038,13038],"mapped",[12510]],[[13039,13039],"mapped",[12511]],[[13040,13040],"mapped",[12512]],[[13041,13041],"mapped",[12513]],[[13042,13042],"mapped",[12514]],[[13043,13043],"mapped",[12516]],[[13044,13044],"mapped",[12518]],[[13045,13045],"mapped",[12520]],[[13046,13046],"mapped",[12521]],[[13047,13047],"mapped",[12522]],[[13048,13048],"mapped",[12523]],[[13049,13049],"mapped",[12524]],[[13050,13050],"mapped",[12525]],[[13051,13051],"mapped",[12527]],[[13052,13052],"mapped",[12528]],[[13053,13053],"mapped",[12529]],[[13054,13054],"mapped",[12530]],[[13055,13055],"disallowed"],[[13056,13056],"mapped",[12450,12497,12540,12488]],[[13057,13057],"mapped",[12450,12523,12501,12449]],[[13058,13058],"mapped",[12450,12531,12506,12450]],[[13059,13059],"mapped",[12450,12540,12523]],[[13060,13060],"mapped",[12452,12491,12531,12464]],[[13061,13061],"mapped",[12452,12531,12481]],[[13062,13062],"mapped",[12454,12457,12531]],[[13063,13063],"mapped",[12456,12473,12463,12540,12489]],[[13064,13064],"mapped",[12456,12540,12459,12540]],[[13065,13065],"mapped",[12458,12531,12473]],[[13066,13066],"mapped",[12458,12540,12512]],[[13067,13067],"mapped",[12459,12452,12522]],[[13068,13068],"mapped",[12459,12521,12483,12488]],[[13069,13069],"mapped",[12459,12525,12522,12540]],[[13070,13070],"mapped",[12460,12525,12531]],[[13071,13071],"mapped",[12460,12531,12510]],[[13072,13072],"mapped",[12462,12460]],[[13073,13073],"mapped",[12462,12491,12540]],[[13074,13074],"mapped",[12461,12517,12522,12540]],[[13075,13075],"mapped",[12462,12523,12480,12540]],[[13076,13076],"mapped",[12461,12525]],[[13077,13077],"mapped",[12461,12525,12464,12521,12512]],[[13078,13078],"mapped",[12461,12525,12513,12540,12488,12523]],[[13079,13079],"mapped",[12461,12525,12527,12483,12488]],[[13080,13080],"mapped",[12464,12521,12512]],[[13081,13081],"mapped",[12464,12521,12512,12488,12531]],[[13082,13082],"mapped",[12463,12523,12476,12452,12525]],[[13083,13083],"mapped",[12463,12525,12540,12493]],[[13084,13084],"mapped",[12465,12540,12473]],[[13085,13085],"mapped",[12467,12523,12490]],[[13086,13086],"mapped",[12467,12540,12509]],[[13087,13087],"mapped",[12469,12452,12463,12523]],[[13088,13088],"mapped",[12469,12531,12481,12540,12512]],[[13089,13089],"mapped",[12471,12522,12531,12464]],[[13090,13090],"mapped",[12475,12531,12481]],[[13091,13091],"mapped",[12475,12531,12488]],[[13092,13092],"mapped",[12480,12540,12473]],[[13093,13093],"mapped",[12487,12471]],[[13094,13094],"mapped",[12489,12523]],[[13095,13095],"mapped",[12488,12531]],[[13096,13096],"mapped",[12490,12494]],[[13097,13097],"mapped",[12494,12483,12488]],[[13098,13098],"mapped",[12495,12452,12484]],[[13099,13099],"mapped",[12497,12540,12475,12531,12488]],[[13100,13100],"mapped",[12497,12540,12484]],[[13101,13101],"mapped",[12496,12540,12524,12523]],[[13102,13102],"mapped",[12500,12450,12473,12488,12523]],[[13103,13103],"mapped",[12500,12463,12523]],[[13104,13104],"mapped",[12500,12467]],[[13105,13105],"mapped",[12499,12523]],[[13106,13106],"mapped",[12501,12449,12521,12483,12489]],[[13107,13107],"mapped",[12501,12451,12540,12488]],[[13108,13108],"mapped",[12502,12483,12471,12455,12523]],[[13109,13109],"mapped",[12501,12521,12531]],[[13110,13110],"mapped",[12504,12463,12479,12540,12523]],[[13111,13111],"mapped",[12506,12477]],[[13112,13112],"mapped",[12506,12491,12498]],[[13113,13113],"mapped",[12504,12523,12484]],[[13114,13114],"mapped",[12506,12531,12473]],[[13115,13115],"mapped",[12506,12540,12472]],[[13116,13116],"mapped",[12505,12540,12479]],[[13117,13117],"mapped",[12509,12452,12531,12488]],[[13118,13118],"mapped",[12508,12523,12488]],[[13119,13119],"mapped",[12507,12531]],[[13120,13120],"mapped",[12509,12531,12489]],[[13121,13121],"mapped",[12507,12540,12523]],[[13122,13122],"mapped",[12507,12540,12531]],[[13123,13123],"mapped",[12510,12452,12463,12525]],[[13124,13124],"mapped",[12510,12452,12523]],[[13125,13125],"mapped",[12510,12483,12495]],[[13126,13126],"mapped",[12510,12523,12463]],[[13127,13127],"mapped",[12510,12531,12471,12519,12531]],[[13128,13128],"mapped",[12511,12463,12525,12531]],[[13129,13129],"mapped",[12511,12522]],[[13130,13130],"mapped",[12511,12522,12496,12540,12523]],[[13131,13131],"mapped",[12513,12460]],[[13132,13132],"mapped",[12513,12460,12488,12531]],[[13133,13133],"mapped",[12513,12540,12488,12523]],[[13134,13134],"mapped",[12516,12540,12489]],[[13135,13135],"mapped",[12516,12540,12523]],[[13136,13136],"mapped",[12518,12450,12531]],[[13137,13137],"mapped",[12522,12483,12488,12523]],[[13138,13138],"mapped",[12522,12521]],[[13139,13139],"mapped",[12523,12500,12540]],[[13140,13140],"mapped",[12523,12540,12502,12523]],[[13141,13141],"mapped",[12524,12512]],[[13142,13142],"mapped",[12524,12531,12488,12466,12531]],[[13143,13143],"mapped",[12527,12483,12488]],[[13144,13144],"mapped",[48,28857]],[[13145,13145],"mapped",[49,28857]],[[13146,13146],"mapped",[50,28857]],[[13147,13147],"mapped",[51,28857]],[[13148,13148],"mapped",[52,28857]],[[13149,13149],"mapped",[53,28857]],[[13150,13150],"mapped",[54,28857]],[[13151,13151],"mapped",[55,28857]],[[13152,13152],"mapped",[56,28857]],[[13153,13153],"mapped",[57,28857]],[[13154,13154],"mapped",[49,48,28857]],[[13155,13155],"mapped",[49,49,28857]],[[13156,13156],"mapped",[49,50,28857]],[[13157,13157],"mapped",[49,51,28857]],[[13158,13158],"mapped",[49,52,28857]],[[13159,13159],"mapped",[49,53,28857]],[[13160,13160],"mapped",[49,54,28857]],[[13161,13161],"mapped",[49,55,28857]],[[13162,13162],"mapped",[49,56,28857]],[[13163,13163],"mapped",[49,57,28857]],[[13164,13164],"mapped",[50,48,28857]],[[13165,13165],"mapped",[50,49,28857]],[[13166,13166],"mapped",[50,50,28857]],[[13167,13167],"mapped",[50,51,28857]],[[13168,13168],"mapped",[50,52,28857]],[[13169,13169],"mapped",[104,112,97]],[[13170,13170],"mapped",[100,97]],[[13171,13171],"mapped",[97,117]],[[13172,13172],"mapped",[98,97,114]],[[13173,13173],"mapped",[111,118]],[[13174,13174],"mapped",[112,99]],[[13175,13175],"mapped",[100,109]],[[13176,13176],"mapped",[100,109,50]],[[13177,13177],"mapped",[100,109,51]],[[13178,13178],"mapped",[105,117]],[[13179,13179],"mapped",[24179,25104]],[[13180,13180],"mapped",[26157,21644]],[[13181,13181],"mapped",[22823,27491]],[[13182,13182],"mapped",[26126,27835]],[[13183,13183],"mapped",[26666,24335,20250,31038]],[[13184,13184],"mapped",[112,97]],[[13185,13185],"mapped",[110,97]],[[13186,13186],"mapped",[956,97]],[[13187,13187],"mapped",[109,97]],[[13188,13188],"mapped",[107,97]],[[13189,13189],"mapped",[107,98]],[[13190,13190],"mapped",[109,98]],[[13191,13191],"mapped",[103,98]],[[13192,13192],"mapped",[99,97,108]],[[13193,13193],"mapped",[107,99,97,108]],[[13194,13194],"mapped",[112,102]],[[13195,13195],"mapped",[110,102]],[[13196,13196],"mapped",[956,102]],[[13197,13197],"mapped",[956,103]],[[13198,13198],"mapped",[109,103]],[[13199,13199],"mapped",[107,103]],[[13200,13200],"mapped",[104,122]],[[13201,13201],"mapped",[107,104,122]],[[13202,13202],"mapped",[109,104,122]],[[13203,13203],"mapped",[103,104,122]],[[13204,13204],"mapped",[116,104,122]],[[13205,13205],"mapped",[956,108]],[[13206,13206],"mapped",[109,108]],[[13207,13207],"mapped",[100,108]],[[13208,13208],"mapped",[107,108]],[[13209,13209],"mapped",[102,109]],[[13210,13210],"mapped",[110,109]],[[13211,13211],"mapped",[956,109]],[[13212,13212],"mapped",[109,109]],[[13213,13213],"mapped",[99,109]],[[13214,13214],"mapped",[107,109]],[[13215,13215],"mapped",[109,109,50]],[[13216,13216],"mapped",[99,109,50]],[[13217,13217],"mapped",[109,50]],[[13218,13218],"mapped",[107,109,50]],[[13219,13219],"mapped",[109,109,51]],[[13220,13220],"mapped",[99,109,51]],[[13221,13221],"mapped",[109,51]],[[13222,13222],"mapped",[107,109,51]],[[13223,13223],"mapped",[109,8725,115]],[[13224,13224],"mapped",[109,8725,115,50]],[[13225,13225],"mapped",[112,97]],[[13226,13226],"mapped",[107,112,97]],[[13227,13227],"mapped",[109,112,97]],[[13228,13228],"mapped",[103,112,97]],[[13229,13229],"mapped",[114,97,100]],[[13230,13230],"mapped",[114,97,100,8725,115]],[[13231,13231],"mapped",[114,97,100,8725,115,50]],[[13232,13232],"mapped",[112,115]],[[13233,13233],"mapped",[110,115]],[[13234,13234],"mapped",[956,115]],[[13235,13235],"mapped",[109,115]],[[13236,13236],"mapped",[112,118]],[[13237,13237],"mapped",[110,118]],[[13238,13238],"mapped",[956,118]],[[13239,13239],"mapped",[109,118]],[[13240,13240],"mapped",[107,118]],[[13241,13241],"mapped",[109,118]],[[13242,13242],"mapped",[112,119]],[[13243,13243],"mapped",[110,119]],[[13244,13244],"mapped",[956,119]],[[13245,13245],"mapped",[109,119]],[[13246,13246],"mapped",[107,119]],[[13247,13247],"mapped",[109,119]],[[13248,13248],"mapped",[107,969]],[[13249,13249],"mapped",[109,969]],[[13250,13250],"disallowed"],[[13251,13251],"mapped",[98,113]],[[13252,13252],"mapped",[99,99]],[[13253,13253],"mapped",[99,100]],[[13254,13254],"mapped",[99,8725,107,103]],[[13255,13255],"disallowed"],[[13256,13256],"mapped",[100,98]],[[13257,13257],"mapped",[103,121]],[[13258,13258],"mapped",[104,97]],[[13259,13259],"mapped",[104,112]],[[13260,13260],"mapped",[105,110]],[[13261,13261],"mapped",[107,107]],[[13262,13262],"mapped",[107,109]],[[13263,13263],"mapped",[107,116]],[[13264,13264],"mapped",[108,109]],[[13265,13265],"mapped",[108,110]],[[13266,13266],"mapped",[108,111,103]],[[13267,13267],"mapped",[108,120]],[[13268,13268],"mapped",[109,98]],[[13269,13269],"mapped",[109,105,108]],[[13270,13270],"mapped",[109,111,108]],[[13271,13271],"mapped",[112,104]],[[13272,13272],"disallowed"],[[13273,13273],"mapped",[112,112,109]],[[13274,13274],"mapped",[112,114]],[[13275,13275],"mapped",[115,114]],[[13276,13276],"mapped",[115,118]],[[13277,13277],"mapped",[119,98]],[[13278,13278],"mapped",[118,8725,109]],[[13279,13279],"mapped",[97,8725,109]],[[13280,13280],"mapped",[49,26085]],[[13281,13281],"mapped",[50,26085]],[[13282,13282],"mapped",[51,26085]],[[13283,13283],"mapped",[52,26085]],[[13284,13284],"mapped",[53,26085]],[[13285,13285],"mapped",[54,26085]],[[13286,13286],"mapped",[55,26085]],[[13287,13287],"mapped",[56,26085]],[[13288,13288],"mapped",[57,26085]],[[13289,13289],"mapped",[49,48,26085]],[[13290,13290],"mapped",[49,49,26085]],[[13291,13291],"mapped",[49,50,26085]],[[13292,13292],"mapped",[49,51,26085]],[[13293,13293],"mapped",[49,52,26085]],[[13294,13294],"mapped",[49,53,26085]],[[13295,13295],"mapped",[49,54,26085]],[[13296,13296],"mapped",[49,55,26085]],[[13297,13297],"mapped",[49,56,26085]],[[13298,13298],"mapped",[49,57,26085]],[[13299,13299],"mapped",[50,48,26085]],[[13300,13300],"mapped",[50,49,26085]],[[13301,13301],"mapped",[50,50,26085]],[[13302,13302],"mapped",[50,51,26085]],[[13303,13303],"mapped",[50,52,26085]],[[13304,13304],"mapped",[50,53,26085]],[[13305,13305],"mapped",[50,54,26085]],[[13306,13306],"mapped",[50,55,26085]],[[13307,13307],"mapped",[50,56,26085]],[[13308,13308],"mapped",[50,57,26085]],[[13309,13309],"mapped",[51,48,26085]],[[13310,13310],"mapped",[51,49,26085]],[[13311,13311],"mapped",[103,97,108]],[[13312,19893],"valid"],[[19894,19903],"disallowed"],[[19904,19967],"valid",[],"NV8"],[[19968,40869],"valid"],[[40870,40891],"valid"],[[40892,40899],"valid"],[[40900,40907],"valid"],[[40908,40908],"valid"],[[40909,40917],"valid"],[[40918,40959],"disallowed"],[[40960,42124],"valid"],[[42125,42127],"disallowed"],[[42128,42145],"valid",[],"NV8"],[[42146,42147],"valid",[],"NV8"],[[42148,42163],"valid",[],"NV8"],[[42164,42164],"valid",[],"NV8"],[[42165,42176],"valid",[],"NV8"],[[42177,42177],"valid",[],"NV8"],[[42178,42180],"valid",[],"NV8"],[[42181,42181],"valid",[],"NV8"],[[42182,42182],"valid",[],"NV8"],[[42183,42191],"disallowed"],[[42192,42237],"valid"],[[42238,42239],"valid",[],"NV8"],[[42240,42508],"valid"],[[42509,42511],"valid",[],"NV8"],[[42512,42539],"valid"],[[42540,42559],"disallowed"],[[42560,42560],"mapped",[42561]],[[42561,42561],"valid"],[[42562,42562],"mapped",[42563]],[[42563,42563],"valid"],[[42564,42564],"mapped",[42565]],[[42565,42565],"valid"],[[42566,42566],"mapped",[42567]],[[42567,42567],"valid"],[[42568,42568],"mapped",[42569]],[[42569,42569],"valid"],[[42570,42570],"mapped",[42571]],[[42571,42571],"valid"],[[42572,42572],"mapped",[42573]],[[42573,42573],"valid"],[[42574,42574],"mapped",[42575]],[[42575,42575],"valid"],[[42576,42576],"mapped",[42577]],[[42577,42577],"valid"],[[42578,42578],"mapped",[42579]],[[42579,42579],"valid"],[[42580,42580],"mapped",[42581]],[[42581,42581],"valid"],[[42582,42582],"mapped",[42583]],[[42583,42583],"valid"],[[42584,42584],"mapped",[42585]],[[42585,42585],"valid"],[[42586,42586],"mapped",[42587]],[[42587,42587],"valid"],[[42588,42588],"mapped",[42589]],[[42589,42589],"valid"],[[42590,42590],"mapped",[42591]],[[42591,42591],"valid"],[[42592,42592],"mapped",[42593]],[[42593,42593],"valid"],[[42594,42594],"mapped",[42595]],[[42595,42595],"valid"],[[42596,42596],"mapped",[42597]],[[42597,42597],"valid"],[[42598,42598],"mapped",[42599]],[[42599,42599],"valid"],[[42600,42600],"mapped",[42601]],[[42601,42601],"valid"],[[42602,42602],"mapped",[42603]],[[42603,42603],"valid"],[[42604,42604],"mapped",[42605]],[[42605,42607],"valid"],[[42608,42611],"valid",[],"NV8"],[[42612,42619],"valid"],[[42620,42621],"valid"],[[42622,42622],"valid",[],"NV8"],[[42623,42623],"valid"],[[42624,42624],"mapped",[42625]],[[42625,42625],"valid"],[[42626,42626],"mapped",[42627]],[[42627,42627],"valid"],[[42628,42628],"mapped",[42629]],[[42629,42629],"valid"],[[42630,42630],"mapped",[42631]],[[42631,42631],"valid"],[[42632,42632],"mapped",[42633]],[[42633,42633],"valid"],[[42634,42634],"mapped",[42635]],[[42635,42635],"valid"],[[42636,42636],"mapped",[42637]],[[42637,42637],"valid"],[[42638,42638],"mapped",[42639]],[[42639,42639],"valid"],[[42640,42640],"mapped",[42641]],[[42641,42641],"valid"],[[42642,42642],"mapped",[42643]],[[42643,42643],"valid"],[[42644,42644],"mapped",[42645]],[[42645,42645],"valid"],[[42646,42646],"mapped",[42647]],[[42647,42647],"valid"],[[42648,42648],"mapped",[42649]],[[42649,42649],"valid"],[[42650,42650],"mapped",[42651]],[[42651,42651],"valid"],[[42652,42652],"mapped",[1098]],[[42653,42653],"mapped",[1100]],[[42654,42654],"valid"],[[42655,42655],"valid"],[[42656,42725],"valid"],[[42726,42735],"valid",[],"NV8"],[[42736,42737],"valid"],[[42738,42743],"valid",[],"NV8"],[[42744,42751],"disallowed"],[[42752,42774],"valid",[],"NV8"],[[42775,42778],"valid"],[[42779,42783],"valid"],[[42784,42785],"valid",[],"NV8"],[[42786,42786],"mapped",[42787]],[[42787,42787],"valid"],[[42788,42788],"mapped",[42789]],[[42789,42789],"valid"],[[42790,42790],"mapped",[42791]],[[42791,42791],"valid"],[[42792,42792],"mapped",[42793]],[[42793,42793],"valid"],[[42794,42794],"mapped",[42795]],[[42795,42795],"valid"],[[42796,42796],"mapped",[42797]],[[42797,42797],"valid"],[[42798,42798],"mapped",[42799]],[[42799,42801],"valid"],[[42802,42802],"mapped",[42803]],[[42803,42803],"valid"],[[42804,42804],"mapped",[42805]],[[42805,42805],"valid"],[[42806,42806],"mapped",[42807]],[[42807,42807],"valid"],[[42808,42808],"mapped",[42809]],[[42809,42809],"valid"],[[42810,42810],"mapped",[42811]],[[42811,42811],"valid"],[[42812,42812],"mapped",[42813]],[[42813,42813],"valid"],[[42814,42814],"mapped",[42815]],[[42815,42815],"valid"],[[42816,42816],"mapped",[42817]],[[42817,42817],"valid"],[[42818,42818],"mapped",[42819]],[[42819,42819],"valid"],[[42820,42820],"mapped",[42821]],[[42821,42821],"valid"],[[42822,42822],"mapped",[42823]],[[42823,42823],"valid"],[[42824,42824],"mapped",[42825]],[[42825,42825],"valid"],[[42826,42826],"mapped",[42827]],[[42827,42827],"valid"],[[42828,42828],"mapped",[42829]],[[42829,42829],"valid"],[[42830,42830],"mapped",[42831]],[[42831,42831],"valid"],[[42832,42832],"mapped",[42833]],[[42833,42833],"valid"],[[42834,42834],"mapped",[42835]],[[42835,42835],"valid"],[[42836,42836],"mapped",[42837]],[[42837,42837],"valid"],[[42838,42838],"mapped",[42839]],[[42839,42839],"valid"],[[42840,42840],"mapped",[42841]],[[42841,42841],"valid"],[[42842,42842],"mapped",[42843]],[[42843,42843],"valid"],[[42844,42844],"mapped",[42845]],[[42845,42845],"valid"],[[42846,42846],"mapped",[42847]],[[42847,42847],"valid"],[[42848,42848],"mapped",[42849]],[[42849,42849],"valid"],[[42850,42850],"mapped",[42851]],[[42851,42851],"valid"],[[42852,42852],"mapped",[42853]],[[42853,42853],"valid"],[[42854,42854],"mapped",[42855]],[[42855,42855],"valid"],[[42856,42856],"mapped",[42857]],[[42857,42857],"valid"],[[42858,42858],"mapped",[42859]],[[42859,42859],"valid"],[[42860,42860],"mapped",[42861]],[[42861,42861],"valid"],[[42862,42862],"mapped",[42863]],[[42863,42863],"valid"],[[42864,42864],"mapped",[42863]],[[42865,42872],"valid"],[[42873,42873],"mapped",[42874]],[[42874,42874],"valid"],[[42875,42875],"mapped",[42876]],[[42876,42876],"valid"],[[42877,42877],"mapped",[7545]],[[42878,42878],"mapped",[42879]],[[42879,42879],"valid"],[[42880,42880],"mapped",[42881]],[[42881,42881],"valid"],[[42882,42882],"mapped",[42883]],[[42883,42883],"valid"],[[42884,42884],"mapped",[42885]],[[42885,42885],"valid"],[[42886,42886],"mapped",[42887]],[[42887,42888],"valid"],[[42889,42890],"valid",[],"NV8"],[[42891,42891],"mapped",[42892]],[[42892,42892],"valid"],[[42893,42893],"mapped",[613]],[[42894,42894],"valid"],[[42895,42895],"valid"],[[42896,42896],"mapped",[42897]],[[42897,42897],"valid"],[[42898,42898],"mapped",[42899]],[[42899,42899],"valid"],[[42900,42901],"valid"],[[42902,42902],"mapped",[42903]],[[42903,42903],"valid"],[[42904,42904],"mapped",[42905]],[[42905,42905],"valid"],[[42906,42906],"mapped",[42907]],[[42907,42907],"valid"],[[42908,42908],"mapped",[42909]],[[42909,42909],"valid"],[[42910,42910],"mapped",[42911]],[[42911,42911],"valid"],[[42912,42912],"mapped",[42913]],[[42913,42913],"valid"],[[42914,42914],"mapped",[42915]],[[42915,42915],"valid"],[[42916,42916],"mapped",[42917]],[[42917,42917],"valid"],[[42918,42918],"mapped",[42919]],[[42919,42919],"valid"],[[42920,42920],"mapped",[42921]],[[42921,42921],"valid"],[[42922,42922],"mapped",[614]],[[42923,42923],"mapped",[604]],[[42924,42924],"mapped",[609]],[[42925,42925],"mapped",[620]],[[42926,42927],"disallowed"],[[42928,42928],"mapped",[670]],[[42929,42929],"mapped",[647]],[[42930,42930],"mapped",[669]],[[42931,42931],"mapped",[43859]],[[42932,42932],"mapped",[42933]],[[42933,42933],"valid"],[[42934,42934],"mapped",[42935]],[[42935,42935],"valid"],[[42936,42998],"disallowed"],[[42999,42999],"valid"],[[43000,43000],"mapped",[295]],[[43001,43001],"mapped",[339]],[[43002,43002],"valid"],[[43003,43007],"valid"],[[43008,43047],"valid"],[[43048,43051],"valid",[],"NV8"],[[43052,43055],"disallowed"],[[43056,43065],"valid",[],"NV8"],[[43066,43071],"disallowed"],[[43072,43123],"valid"],[[43124,43127],"valid",[],"NV8"],[[43128,43135],"disallowed"],[[43136,43204],"valid"],[[43205,43213],"disallowed"],[[43214,43215],"valid",[],"NV8"],[[43216,43225],"valid"],[[43226,43231],"disallowed"],[[43232,43255],"valid"],[[43256,43258],"valid",[],"NV8"],[[43259,43259],"valid"],[[43260,43260],"valid",[],"NV8"],[[43261,43261],"valid"],[[43262,43263],"disallowed"],[[43264,43309],"valid"],[[43310,43311],"valid",[],"NV8"],[[43312,43347],"valid"],[[43348,43358],"disallowed"],[[43359,43359],"valid",[],"NV8"],[[43360,43388],"valid",[],"NV8"],[[43389,43391],"disallowed"],[[43392,43456],"valid"],[[43457,43469],"valid",[],"NV8"],[[43470,43470],"disallowed"],[[43471,43481],"valid"],[[43482,43485],"disallowed"],[[43486,43487],"valid",[],"NV8"],[[43488,43518],"valid"],[[43519,43519],"disallowed"],[[43520,43574],"valid"],[[43575,43583],"disallowed"],[[43584,43597],"valid"],[[43598,43599],"disallowed"],[[43600,43609],"valid"],[[43610,43611],"disallowed"],[[43612,43615],"valid",[],"NV8"],[[43616,43638],"valid"],[[43639,43641],"valid",[],"NV8"],[[43642,43643],"valid"],[[43644,43647],"valid"],[[43648,43714],"valid"],[[43715,43738],"disallowed"],[[43739,43741],"valid"],[[43742,43743],"valid",[],"NV8"],[[43744,43759],"valid"],[[43760,43761],"valid",[],"NV8"],[[43762,43766],"valid"],[[43767,43776],"disallowed"],[[43777,43782],"valid"],[[43783,43784],"disallowed"],[[43785,43790],"valid"],[[43791,43792],"disallowed"],[[43793,43798],"valid"],[[43799,43807],"disallowed"],[[43808,43814],"valid"],[[43815,43815],"disallowed"],[[43816,43822],"valid"],[[43823,43823],"disallowed"],[[43824,43866],"valid"],[[43867,43867],"valid",[],"NV8"],[[43868,43868],"mapped",[42791]],[[43869,43869],"mapped",[43831]],[[43870,43870],"mapped",[619]],[[43871,43871],"mapped",[43858]],[[43872,43875],"valid"],[[43876,43877],"valid"],[[43878,43887],"disallowed"],[[43888,43888],"mapped",[5024]],[[43889,43889],"mapped",[5025]],[[43890,43890],"mapped",[5026]],[[43891,43891],"mapped",[5027]],[[43892,43892],"mapped",[5028]],[[43893,43893],"mapped",[5029]],[[43894,43894],"mapped",[5030]],[[43895,43895],"mapped",[5031]],[[43896,43896],"mapped",[5032]],[[43897,43897],"mapped",[5033]],[[43898,43898],"mapped",[5034]],[[43899,43899],"mapped",[5035]],[[43900,43900],"mapped",[5036]],[[43901,43901],"mapped",[5037]],[[43902,43902],"mapped",[5038]],[[43903,43903],"mapped",[5039]],[[43904,43904],"mapped",[5040]],[[43905,43905],"mapped",[5041]],[[43906,43906],"mapped",[5042]],[[43907,43907],"mapped",[5043]],[[43908,43908],"mapped",[5044]],[[43909,43909],"mapped",[5045]],[[43910,43910],"mapped",[5046]],[[43911,43911],"mapped",[5047]],[[43912,43912],"mapped",[5048]],[[43913,43913],"mapped",[5049]],[[43914,43914],"mapped",[5050]],[[43915,43915],"mapped",[5051]],[[43916,43916],"mapped",[5052]],[[43917,43917],"mapped",[5053]],[[43918,43918],"mapped",[5054]],[[43919,43919],"mapped",[5055]],[[43920,43920],"mapped",[5056]],[[43921,43921],"mapped",[5057]],[[43922,43922],"mapped",[5058]],[[43923,43923],"mapped",[5059]],[[43924,43924],"mapped",[5060]],[[43925,43925],"mapped",[5061]],[[43926,43926],"mapped",[5062]],[[43927,43927],"mapped",[5063]],[[43928,43928],"mapped",[5064]],[[43929,43929],"mapped",[5065]],[[43930,43930],"mapped",[5066]],[[43931,43931],"mapped",[5067]],[[43932,43932],"mapped",[5068]],[[43933,43933],"mapped",[5069]],[[43934,43934],"mapped",[5070]],[[43935,43935],"mapped",[5071]],[[43936,43936],"mapped",[5072]],[[43937,43937],"mapped",[5073]],[[43938,43938],"mapped",[5074]],[[43939,43939],"mapped",[5075]],[[43940,43940],"mapped",[5076]],[[43941,43941],"mapped",[5077]],[[43942,43942],"mapped",[5078]],[[43943,43943],"mapped",[5079]],[[43944,43944],"mapped",[5080]],[[43945,43945],"mapped",[5081]],[[43946,43946],"mapped",[5082]],[[43947,43947],"mapped",[5083]],[[43948,43948],"mapped",[5084]],[[43949,43949],"mapped",[5085]],[[43950,43950],"mapped",[5086]],[[43951,43951],"mapped",[5087]],[[43952,43952],"mapped",[5088]],[[43953,43953],"mapped",[5089]],[[43954,43954],"mapped",[5090]],[[43955,43955],"mapped",[5091]],[[43956,43956],"mapped",[5092]],[[43957,43957],"mapped",[5093]],[[43958,43958],"mapped",[5094]],[[43959,43959],"mapped",[5095]],[[43960,43960],"mapped",[5096]],[[43961,43961],"mapped",[5097]],[[43962,43962],"mapped",[5098]],[[43963,43963],"mapped",[5099]],[[43964,43964],"mapped",[5100]],[[43965,43965],"mapped",[5101]],[[43966,43966],"mapped",[5102]],[[43967,43967],"mapped",[5103]],[[43968,44010],"valid"],[[44011,44011],"valid",[],"NV8"],[[44012,44013],"valid"],[[44014,44015],"disallowed"],[[44016,44025],"valid"],[[44026,44031],"disallowed"],[[44032,55203],"valid"],[[55204,55215],"disallowed"],[[55216,55238],"valid",[],"NV8"],[[55239,55242],"disallowed"],[[55243,55291],"valid",[],"NV8"],[[55292,55295],"disallowed"],[[55296,57343],"disallowed"],[[57344,63743],"disallowed"],[[63744,63744],"mapped",[35912]],[[63745,63745],"mapped",[26356]],[[63746,63746],"mapped",[36554]],[[63747,63747],"mapped",[36040]],[[63748,63748],"mapped",[28369]],[[63749,63749],"mapped",[20018]],[[63750,63750],"mapped",[21477]],[[63751,63752],"mapped",[40860]],[[63753,63753],"mapped",[22865]],[[63754,63754],"mapped",[37329]],[[63755,63755],"mapped",[21895]],[[63756,63756],"mapped",[22856]],[[63757,63757],"mapped",[25078]],[[63758,63758],"mapped",[30313]],[[63759,63759],"mapped",[32645]],[[63760,63760],"mapped",[34367]],[[63761,63761],"mapped",[34746]],[[63762,63762],"mapped",[35064]],[[63763,63763],"mapped",[37007]],[[63764,63764],"mapped",[27138]],[[63765,63765],"mapped",[27931]],[[63766,63766],"mapped",[28889]],[[63767,63767],"mapped",[29662]],[[63768,63768],"mapped",[33853]],[[63769,63769],"mapped",[37226]],[[63770,63770],"mapped",[39409]],[[63771,63771],"mapped",[20098]],[[63772,63772],"mapped",[21365]],[[63773,63773],"mapped",[27396]],[[63774,63774],"mapped",[29211]],[[63775,63775],"mapped",[34349]],[[63776,63776],"mapped",[40478]],[[63777,63777],"mapped",[23888]],[[63778,63778],"mapped",[28651]],[[63779,63779],"mapped",[34253]],[[63780,63780],"mapped",[35172]],[[63781,63781],"mapped",[25289]],[[63782,63782],"mapped",[33240]],[[63783,63783],"mapped",[34847]],[[63784,63784],"mapped",[24266]],[[63785,63785],"mapped",[26391]],[[63786,63786],"mapped",[28010]],[[63787,63787],"mapped",[29436]],[[63788,63788],"mapped",[37070]],[[63789,63789],"mapped",[20358]],[[63790,63790],"mapped",[20919]],[[63791,63791],"mapped",[21214]],[[63792,63792],"mapped",[25796]],[[63793,63793],"mapped",[27347]],[[63794,63794],"mapped",[29200]],[[63795,63795],"mapped",[30439]],[[63796,63796],"mapped",[32769]],[[63797,63797],"mapped",[34310]],[[63798,63798],"mapped",[34396]],[[63799,63799],"mapped",[36335]],[[63800,63800],"mapped",[38706]],[[63801,63801],"mapped",[39791]],[[63802,63802],"mapped",[40442]],[[63803,63803],"mapped",[30860]],[[63804,63804],"mapped",[31103]],[[63805,63805],"mapped",[32160]],[[63806,63806],"mapped",[33737]],[[63807,63807],"mapped",[37636]],[[63808,63808],"mapped",[40575]],[[63809,63809],"mapped",[35542]],[[63810,63810],"mapped",[22751]],[[63811,63811],"mapped",[24324]],[[63812,63812],"mapped",[31840]],[[63813,63813],"mapped",[32894]],[[63814,63814],"mapped",[29282]],[[63815,63815],"mapped",[30922]],[[63816,63816],"mapped",[36034]],[[63817,63817],"mapped",[38647]],[[63818,63818],"mapped",[22744]],[[63819,63819],"mapped",[23650]],[[63820,63820],"mapped",[27155]],[[63821,63821],"mapped",[28122]],[[63822,63822],"mapped",[28431]],[[63823,63823],"mapped",[32047]],[[63824,63824],"mapped",[32311]],[[63825,63825],"mapped",[38475]],[[63826,63826],"mapped",[21202]],[[63827,63827],"mapped",[32907]],[[63828,63828],"mapped",[20956]],[[63829,63829],"mapped",[20940]],[[63830,63830],"mapped",[31260]],[[63831,63831],"mapped",[32190]],[[63832,63832],"mapped",[33777]],[[63833,63833],"mapped",[38517]],[[63834,63834],"mapped",[35712]],[[63835,63835],"mapped",[25295]],[[63836,63836],"mapped",[27138]],[[63837,63837],"mapped",[35582]],[[63838,63838],"mapped",[20025]],[[63839,63839],"mapped",[23527]],[[63840,63840],"mapped",[24594]],[[63841,63841],"mapped",[29575]],[[63842,63842],"mapped",[30064]],[[63843,63843],"mapped",[21271]],[[63844,63844],"mapped",[30971]],[[63845,63845],"mapped",[20415]],[[63846,63846],"mapped",[24489]],[[63847,63847],"mapped",[19981]],[[63848,63848],"mapped",[27852]],[[63849,63849],"mapped",[25976]],[[63850,63850],"mapped",[32034]],[[63851,63851],"mapped",[21443]],[[63852,63852],"mapped",[22622]],[[63853,63853],"mapped",[30465]],[[63854,63854],"mapped",[33865]],[[63855,63855],"mapped",[35498]],[[63856,63856],"mapped",[27578]],[[63857,63857],"mapped",[36784]],[[63858,63858],"mapped",[27784]],[[63859,63859],"mapped",[25342]],[[63860,63860],"mapped",[33509]],[[63861,63861],"mapped",[25504]],[[63862,63862],"mapped",[30053]],[[63863,63863],"mapped",[20142]],[[63864,63864],"mapped",[20841]],[[63865,63865],"mapped",[20937]],[[63866,63866],"mapped",[26753]],[[63867,63867],"mapped",[31975]],[[63868,63868],"mapped",[33391]],[[63869,63869],"mapped",[35538]],[[63870,63870],"mapped",[37327]],[[63871,63871],"mapped",[21237]],[[63872,63872],"mapped",[21570]],[[63873,63873],"mapped",[22899]],[[63874,63874],"mapped",[24300]],[[63875,63875],"mapped",[26053]],[[63876,63876],"mapped",[28670]],[[63877,63877],"mapped",[31018]],[[63878,63878],"mapped",[38317]],[[63879,63879],"mapped",[39530]],[[63880,63880],"mapped",[40599]],[[63881,63881],"mapped",[40654]],[[63882,63882],"mapped",[21147]],[[63883,63883],"mapped",[26310]],[[63884,63884],"mapped",[27511]],[[63885,63885],"mapped",[36706]],[[63886,63886],"mapped",[24180]],[[63887,63887],"mapped",[24976]],[[63888,63888],"mapped",[25088]],[[63889,63889],"mapped",[25754]],[[63890,63890],"mapped",[28451]],[[63891,63891],"mapped",[29001]],[[63892,63892],"mapped",[29833]],[[63893,63893],"mapped",[31178]],[[63894,63894],"mapped",[32244]],[[63895,63895],"mapped",[32879]],[[63896,63896],"mapped",[36646]],[[63897,63897],"mapped",[34030]],[[63898,63898],"mapped",[36899]],[[63899,63899],"mapped",[37706]],[[63900,63900],"mapped",[21015]],[[63901,63901],"mapped",[21155]],[[63902,63902],"mapped",[21693]],[[63903,63903],"mapped",[28872]],[[63904,63904],"mapped",[35010]],[[63905,63905],"mapped",[35498]],[[63906,63906],"mapped",[24265]],[[63907,63907],"mapped",[24565]],[[63908,63908],"mapped",[25467]],[[63909,63909],"mapped",[27566]],[[63910,63910],"mapped",[31806]],[[63911,63911],"mapped",[29557]],[[63912,63912],"mapped",[20196]],[[63913,63913],"mapped",[22265]],[[63914,63914],"mapped",[23527]],[[63915,63915],"mapped",[23994]],[[63916,63916],"mapped",[24604]],[[63917,63917],"mapped",[29618]],[[63918,63918],"mapped",[29801]],[[63919,63919],"mapped",[32666]],[[63920,63920],"mapped",[32838]],[[63921,63921],"mapped",[37428]],[[63922,63922],"mapped",[38646]],[[63923,63923],"mapped",[38728]],[[63924,63924],"mapped",[38936]],[[63925,63925],"mapped",[20363]],[[63926,63926],"mapped",[31150]],[[63927,63927],"mapped",[37300]],[[63928,63928],"mapped",[38584]],[[63929,63929],"mapped",[24801]],[[63930,63930],"mapped",[20102]],[[63931,63931],"mapped",[20698]],[[63932,63932],"mapped",[23534]],[[63933,63933],"mapped",[23615]],[[63934,63934],"mapped",[26009]],[[63935,63935],"mapped",[27138]],[[63936,63936],"mapped",[29134]],[[63937,63937],"mapped",[30274]],[[63938,63938],"mapped",[34044]],[[63939,63939],"mapped",[36988]],[[63940,63940],"mapped",[40845]],[[63941,63941],"mapped",[26248]],[[63942,63942],"mapped",[38446]],[[63943,63943],"mapped",[21129]],[[63944,63944],"mapped",[26491]],[[63945,63945],"mapped",[26611]],[[63946,63946],"mapped",[27969]],[[63947,63947],"mapped",[28316]],[[63948,63948],"mapped",[29705]],[[63949,63949],"mapped",[30041]],[[63950,63950],"mapped",[30827]],[[63951,63951],"mapped",[32016]],[[63952,63952],"mapped",[39006]],[[63953,63953],"mapped",[20845]],[[63954,63954],"mapped",[25134]],[[63955,63955],"mapped",[38520]],[[63956,63956],"mapped",[20523]],[[63957,63957],"mapped",[23833]],[[63958,63958],"mapped",[28138]],[[63959,63959],"mapped",[36650]],[[63960,63960],"mapped",[24459]],[[63961,63961],"mapped",[24900]],[[63962,63962],"mapped",[26647]],[[63963,63963],"mapped",[29575]],[[63964,63964],"mapped",[38534]],[[63965,63965],"mapped",[21033]],[[63966,63966],"mapped",[21519]],[[63967,63967],"mapped",[23653]],[[63968,63968],"mapped",[26131]],[[63969,63969],"mapped",[26446]],[[63970,63970],"mapped",[26792]],[[63971,63971],"mapped",[27877]],[[63972,63972],"mapped",[29702]],[[63973,63973],"mapped",[30178]],[[63974,63974],"mapped",[32633]],[[63975,63975],"mapped",[35023]],[[63976,63976],"mapped",[35041]],[[63977,63977],"mapped",[37324]],[[63978,63978],"mapped",[38626]],[[63979,63979],"mapped",[21311]],[[63980,63980],"mapped",[28346]],[[63981,63981],"mapped",[21533]],[[63982,63982],"mapped",[29136]],[[63983,63983],"mapped",[29848]],[[63984,63984],"mapped",[34298]],[[63985,63985],"mapped",[38563]],[[63986,63986],"mapped",[40023]],[[63987,63987],"mapped",[40607]],[[63988,63988],"mapped",[26519]],[[63989,63989],"mapped",[28107]],[[63990,63990],"mapped",[33256]],[[63991,63991],"mapped",[31435]],[[63992,63992],"mapped",[31520]],[[63993,63993],"mapped",[31890]],[[63994,63994],"mapped",[29376]],[[63995,63995],"mapped",[28825]],[[63996,63996],"mapped",[35672]],[[63997,63997],"mapped",[20160]],[[63998,63998],"mapped",[33590]],[[63999,63999],"mapped",[21050]],[[64000,64000],"mapped",[20999]],[[64001,64001],"mapped",[24230]],[[64002,64002],"mapped",[25299]],[[64003,64003],"mapped",[31958]],[[64004,64004],"mapped",[23429]],[[64005,64005],"mapped",[27934]],[[64006,64006],"mapped",[26292]],[[64007,64007],"mapped",[36667]],[[64008,64008],"mapped",[34892]],[[64009,64009],"mapped",[38477]],[[64010,64010],"mapped",[35211]],[[64011,64011],"mapped",[24275]],[[64012,64012],"mapped",[20800]],[[64013,64013],"mapped",[21952]],[[64014,64015],"valid"],[[64016,64016],"mapped",[22618]],[[64017,64017],"valid"],[[64018,64018],"mapped",[26228]],[[64019,64020],"valid"],[[64021,64021],"mapped",[20958]],[[64022,64022],"mapped",[29482]],[[64023,64023],"mapped",[30410]],[[64024,64024],"mapped",[31036]],[[64025,64025],"mapped",[31070]],[[64026,64026],"mapped",[31077]],[[64027,64027],"mapped",[31119]],[[64028,64028],"mapped",[38742]],[[64029,64029],"mapped",[31934]],[[64030,64030],"mapped",[32701]],[[64031,64031],"valid"],[[64032,64032],"mapped",[34322]],[[64033,64033],"valid"],[[64034,64034],"mapped",[35576]],[[64035,64036],"valid"],[[64037,64037],"mapped",[36920]],[[64038,64038],"mapped",[37117]],[[64039,64041],"valid"],[[64042,64042],"mapped",[39151]],[[64043,64043],"mapped",[39164]],[[64044,64044],"mapped",[39208]],[[64045,64045],"mapped",[40372]],[[64046,64046],"mapped",[37086]],[[64047,64047],"mapped",[38583]],[[64048,64048],"mapped",[20398]],[[64049,64049],"mapped",[20711]],[[64050,64050],"mapped",[20813]],[[64051,64051],"mapped",[21193]],[[64052,64052],"mapped",[21220]],[[64053,64053],"mapped",[21329]],[[64054,64054],"mapped",[21917]],[[64055,64055],"mapped",[22022]],[[64056,64056],"mapped",[22120]],[[64057,64057],"mapped",[22592]],[[64058,64058],"mapped",[22696]],[[64059,64059],"mapped",[23652]],[[64060,64060],"mapped",[23662]],[[64061,64061],"mapped",[24724]],[[64062,64062],"mapped",[24936]],[[64063,64063],"mapped",[24974]],[[64064,64064],"mapped",[25074]],[[64065,64065],"mapped",[25935]],[[64066,64066],"mapped",[26082]],[[64067,64067],"mapped",[26257]],[[64068,64068],"mapped",[26757]],[[64069,64069],"mapped",[28023]],[[64070,64070],"mapped",[28186]],[[64071,64071],"mapped",[28450]],[[64072,64072],"mapped",[29038]],[[64073,64073],"mapped",[29227]],[[64074,64074],"mapped",[29730]],[[64075,64075],"mapped",[30865]],[[64076,64076],"mapped",[31038]],[[64077,64077],"mapped",[31049]],[[64078,64078],"mapped",[31048]],[[64079,64079],"mapped",[31056]],[[64080,64080],"mapped",[31062]],[[64081,64081],"mapped",[31069]],[[64082,64082],"mapped",[31117]],[[64083,64083],"mapped",[31118]],[[64084,64084],"mapped",[31296]],[[64085,64085],"mapped",[31361]],[[64086,64086],"mapped",[31680]],[[64087,64087],"mapped",[32244]],[[64088,64088],"mapped",[32265]],[[64089,64089],"mapped",[32321]],[[64090,64090],"mapped",[32626]],[[64091,64091],"mapped",[32773]],[[64092,64092],"mapped",[33261]],[[64093,64094],"mapped",[33401]],[[64095,64095],"mapped",[33879]],[[64096,64096],"mapped",[35088]],[[64097,64097],"mapped",[35222]],[[64098,64098],"mapped",[35585]],[[64099,64099],"mapped",[35641]],[[64100,64100],"mapped",[36051]],[[64101,64101],"mapped",[36104]],[[64102,64102],"mapped",[36790]],[[64103,64103],"mapped",[36920]],[[64104,64104],"mapped",[38627]],[[64105,64105],"mapped",[38911]],[[64106,64106],"mapped",[38971]],[[64107,64107],"mapped",[24693]],[[64108,64108],"mapped",[148206]],[[64109,64109],"mapped",[33304]],[[64110,64111],"disallowed"],[[64112,64112],"mapped",[20006]],[[64113,64113],"mapped",[20917]],[[64114,64114],"mapped",[20840]],[[64115,64115],"mapped",[20352]],[[64116,64116],"mapped",[20805]],[[64117,64117],"mapped",[20864]],[[64118,64118],"mapped",[21191]],[[64119,64119],"mapped",[21242]],[[64120,64120],"mapped",[21917]],[[64121,64121],"mapped",[21845]],[[64122,64122],"mapped",[21913]],[[64123,64123],"mapped",[21986]],[[64124,64124],"mapped",[22618]],[[64125,64125],"mapped",[22707]],[[64126,64126],"mapped",[22852]],[[64127,64127],"mapped",[22868]],[[64128,64128],"mapped",[23138]],[[64129,64129],"mapped",[23336]],[[64130,64130],"mapped",[24274]],[[64131,64131],"mapped",[24281]],[[64132,64132],"mapped",[24425]],[[64133,64133],"mapped",[24493]],[[64134,64134],"mapped",[24792]],[[64135,64135],"mapped",[24910]],[[64136,64136],"mapped",[24840]],[[64137,64137],"mapped",[24974]],[[64138,64138],"mapped",[24928]],[[64139,64139],"mapped",[25074]],[[64140,64140],"mapped",[25140]],[[64141,64141],"mapped",[25540]],[[64142,64142],"mapped",[25628]],[[64143,64143],"mapped",[25682]],[[64144,64144],"mapped",[25942]],[[64145,64145],"mapped",[26228]],[[64146,64146],"mapped",[26391]],[[64147,64147],"mapped",[26395]],[[64148,64148],"mapped",[26454]],[[64149,64149],"mapped",[27513]],[[64150,64150],"mapped",[27578]],[[64151,64151],"mapped",[27969]],[[64152,64152],"mapped",[28379]],[[64153,64153],"mapped",[28363]],[[64154,64154],"mapped",[28450]],[[64155,64155],"mapped",[28702]],[[64156,64156],"mapped",[29038]],[[64157,64157],"mapped",[30631]],[[64158,64158],"mapped",[29237]],[[64159,64159],"mapped",[29359]],[[64160,64160],"mapped",[29482]],[[64161,64161],"mapped",[29809]],[[64162,64162],"mapped",[29958]],[[64163,64163],"mapped",[30011]],[[64164,64164],"mapped",[30237]],[[64165,64165],"mapped",[30239]],[[64166,64166],"mapped",[30410]],[[64167,64167],"mapped",[30427]],[[64168,64168],"mapped",[30452]],[[64169,64169],"mapped",[30538]],[[64170,64170],"mapped",[30528]],[[64171,64171],"mapped",[30924]],[[64172,64172],"mapped",[31409]],[[64173,64173],"mapped",[31680]],[[64174,64174],"mapped",[31867]],[[64175,64175],"mapped",[32091]],[[64176,64176],"mapped",[32244]],[[64177,64177],"mapped",[32574]],[[64178,64178],"mapped",[32773]],[[64179,64179],"mapped",[33618]],[[64180,64180],"mapped",[33775]],[[64181,64181],"mapped",[34681]],[[64182,64182],"mapped",[35137]],[[64183,64183],"mapped",[35206]],[[64184,64184],"mapped",[35222]],[[64185,64185],"mapped",[35519]],[[64186,64186],"mapped",[35576]],[[64187,64187],"mapped",[35531]],[[64188,64188],"mapped",[35585]],[[64189,64189],"mapped",[35582]],[[64190,64190],"mapped",[35565]],[[64191,64191],"mapped",[35641]],[[64192,64192],"mapped",[35722]],[[64193,64193],"mapped",[36104]],[[64194,64194],"mapped",[36664]],[[64195,64195],"mapped",[36978]],[[64196,64196],"mapped",[37273]],[[64197,64197],"mapped",[37494]],[[64198,64198],"mapped",[38524]],[[64199,64199],"mapped",[38627]],[[64200,64200],"mapped",[38742]],[[64201,64201],"mapped",[38875]],[[64202,64202],"mapped",[38911]],[[64203,64203],"mapped",[38923]],[[64204,64204],"mapped",[38971]],[[64205,64205],"mapped",[39698]],[[64206,64206],"mapped",[40860]],[[64207,64207],"mapped",[141386]],[[64208,64208],"mapped",[141380]],[[64209,64209],"mapped",[144341]],[[64210,64210],"mapped",[15261]],[[64211,64211],"mapped",[16408]],[[64212,64212],"mapped",[16441]],[[64213,64213],"mapped",[152137]],[[64214,64214],"mapped",[154832]],[[64215,64215],"mapped",[163539]],[[64216,64216],"mapped",[40771]],[[64217,64217],"mapped",[40846]],[[64218,64255],"disallowed"],[[64256,64256],"mapped",[102,102]],[[64257,64257],"mapped",[102,105]],[[64258,64258],"mapped",[102,108]],[[64259,64259],"mapped",[102,102,105]],[[64260,64260],"mapped",[102,102,108]],[[64261,64262],"mapped",[115,116]],[[64263,64274],"disallowed"],[[64275,64275],"mapped",[1396,1398]],[[64276,64276],"mapped",[1396,1381]],[[64277,64277],"mapped",[1396,1387]],[[64278,64278],"mapped",[1406,1398]],[[64279,64279],"mapped",[1396,1389]],[[64280,64284],"disallowed"],[[64285,64285],"mapped",[1497,1460]],[[64286,64286],"valid"],[[64287,64287],"mapped",[1522,1463]],[[64288,64288],"mapped",[1506]],[[64289,64289],"mapped",[1488]],[[64290,64290],"mapped",[1491]],[[64291,64291],"mapped",[1492]],[[64292,64292],"mapped",[1499]],[[64293,64293],"mapped",[1500]],[[64294,64294],"mapped",[1501]],[[64295,64295],"mapped",[1512]],[[64296,64296],"mapped",[1514]],[[64297,64297],"disallowed_STD3_mapped",[43]],[[64298,64298],"mapped",[1513,1473]],[[64299,64299],"mapped",[1513,1474]],[[64300,64300],"mapped",[1513,1468,1473]],[[64301,64301],"mapped",[1513,1468,1474]],[[64302,64302],"mapped",[1488,1463]],[[64303,64303],"mapped",[1488,1464]],[[64304,64304],"mapped",[1488,1468]],[[64305,64305],"mapped",[1489,1468]],[[64306,64306],"mapped",[1490,1468]],[[64307,64307],"mapped",[1491,1468]],[[64308,64308],"mapped",[1492,1468]],[[64309,64309],"mapped",[1493,1468]],[[64310,64310],"mapped",[1494,1468]],[[64311,64311],"disallowed"],[[64312,64312],"mapped",[1496,1468]],[[64313,64313],"mapped",[1497,1468]],[[64314,64314],"mapped",[1498,1468]],[[64315,64315],"mapped",[1499,1468]],[[64316,64316],"mapped",[1500,1468]],[[64317,64317],"disallowed"],[[64318,64318],"mapped",[1502,1468]],[[64319,64319],"disallowed"],[[64320,64320],"mapped",[1504,1468]],[[64321,64321],"mapped",[1505,1468]],[[64322,64322],"disallowed"],[[64323,64323],"mapped",[1507,1468]],[[64324,64324],"mapped",[1508,1468]],[[64325,64325],"disallowed"],[[64326,64326],"mapped",[1510,1468]],[[64327,64327],"mapped",[1511,1468]],[[64328,64328],"mapped",[1512,1468]],[[64329,64329],"mapped",[1513,1468]],[[64330,64330],"mapped",[1514,1468]],[[64331,64331],"mapped",[1493,1465]],[[64332,64332],"mapped",[1489,1471]],[[64333,64333],"mapped",[1499,1471]],[[64334,64334],"mapped",[1508,1471]],[[64335,64335],"mapped",[1488,1500]],[[64336,64337],"mapped",[1649]],[[64338,64341],"mapped",[1659]],[[64342,64345],"mapped",[1662]],[[64346,64349],"mapped",[1664]],[[64350,64353],"mapped",[1658]],[[64354,64357],"mapped",[1663]],[[64358,64361],"mapped",[1657]],[[64362,64365],"mapped",[1700]],[[64366,64369],"mapped",[1702]],[[64370,64373],"mapped",[1668]],[[64374,64377],"mapped",[1667]],[[64378,64381],"mapped",[1670]],[[64382,64385],"mapped",[1671]],[[64386,64387],"mapped",[1677]],[[64388,64389],"mapped",[1676]],[[64390,64391],"mapped",[1678]],[[64392,64393],"mapped",[1672]],[[64394,64395],"mapped",[1688]],[[64396,64397],"mapped",[1681]],[[64398,64401],"mapped",[1705]],[[64402,64405],"mapped",[1711]],[[64406,64409],"mapped",[1715]],[[64410,64413],"mapped",[1713]],[[64414,64415],"mapped",[1722]],[[64416,64419],"mapped",[1723]],[[64420,64421],"mapped",[1728]],[[64422,64425],"mapped",[1729]],[[64426,64429],"mapped",[1726]],[[64430,64431],"mapped",[1746]],[[64432,64433],"mapped",[1747]],[[64434,64449],"valid",[],"NV8"],[[64450,64466],"disallowed"],[[64467,64470],"mapped",[1709]],[[64471,64472],"mapped",[1735]],[[64473,64474],"mapped",[1734]],[[64475,64476],"mapped",[1736]],[[64477,64477],"mapped",[1735,1652]],[[64478,64479],"mapped",[1739]],[[64480,64481],"mapped",[1733]],[[64482,64483],"mapped",[1737]],[[64484,64487],"mapped",[1744]],[[64488,64489],"mapped",[1609]],[[64490,64491],"mapped",[1574,1575]],[[64492,64493],"mapped",[1574,1749]],[[64494,64495],"mapped",[1574,1608]],[[64496,64497],"mapped",[1574,1735]],[[64498,64499],"mapped",[1574,1734]],[[64500,64501],"mapped",[1574,1736]],[[64502,64504],"mapped",[1574,1744]],[[64505,64507],"mapped",[1574,1609]],[[64508,64511],"mapped",[1740]],[[64512,64512],"mapped",[1574,1580]],[[64513,64513],"mapped",[1574,1581]],[[64514,64514],"mapped",[1574,1605]],[[64515,64515],"mapped",[1574,1609]],[[64516,64516],"mapped",[1574,1610]],[[64517,64517],"mapped",[1576,1580]],[[64518,64518],"mapped",[1576,1581]],[[64519,64519],"mapped",[1576,1582]],[[64520,64520],"mapped",[1576,1605]],[[64521,64521],"mapped",[1576,1609]],[[64522,64522],"mapped",[1576,1610]],[[64523,64523],"mapped",[1578,1580]],[[64524,64524],"mapped",[1578,1581]],[[64525,64525],"mapped",[1578,1582]],[[64526,64526],"mapped",[1578,1605]],[[64527,64527],"mapped",[1578,1609]],[[64528,64528],"mapped",[1578,1610]],[[64529,64529],"mapped",[1579,1580]],[[64530,64530],"mapped",[1579,1605]],[[64531,64531],"mapped",[1579,1609]],[[64532,64532],"mapped",[1579,1610]],[[64533,64533],"mapped",[1580,1581]],[[64534,64534],"mapped",[1580,1605]],[[64535,64535],"mapped",[1581,1580]],[[64536,64536],"mapped",[1581,1605]],[[64537,64537],"mapped",[1582,1580]],[[64538,64538],"mapped",[1582,1581]],[[64539,64539],"mapped",[1582,1605]],[[64540,64540],"mapped",[1587,1580]],[[64541,64541],"mapped",[1587,1581]],[[64542,64542],"mapped",[1587,1582]],[[64543,64543],"mapped",[1587,1605]],[[64544,64544],"mapped",[1589,1581]],[[64545,64545],"mapped",[1589,1605]],[[64546,64546],"mapped",[1590,1580]],[[64547,64547],"mapped",[1590,1581]],[[64548,64548],"mapped",[1590,1582]],[[64549,64549],"mapped",[1590,1605]],[[64550,64550],"mapped",[1591,1581]],[[64551,64551],"mapped",[1591,1605]],[[64552,64552],"mapped",[1592,1605]],[[64553,64553],"mapped",[1593,1580]],[[64554,64554],"mapped",[1593,1605]],[[64555,64555],"mapped",[1594,1580]],[[64556,64556],"mapped",[1594,1605]],[[64557,64557],"mapped",[1601,1580]],[[64558,64558],"mapped",[1601,1581]],[[64559,64559],"mapped",[1601,1582]],[[64560,64560],"mapped",[1601,1605]],[[64561,64561],"mapped",[1601,1609]],[[64562,64562],"mapped",[1601,1610]],[[64563,64563],"mapped",[1602,1581]],[[64564,64564],"mapped",[1602,1605]],[[64565,64565],"mapped",[1602,1609]],[[64566,64566],"mapped",[1602,1610]],[[64567,64567],"mapped",[1603,1575]],[[64568,64568],"mapped",[1603,1580]],[[64569,64569],"mapped",[1603,1581]],[[64570,64570],"mapped",[1603,1582]],[[64571,64571],"mapped",[1603,1604]],[[64572,64572],"mapped",[1603,1605]],[[64573,64573],"mapped",[1603,1609]],[[64574,64574],"mapped",[1603,1610]],[[64575,64575],"mapped",[1604,1580]],[[64576,64576],"mapped",[1604,1581]],[[64577,64577],"mapped",[1604,1582]],[[64578,64578],"mapped",[1604,1605]],[[64579,64579],"mapped",[1604,1609]],[[64580,64580],"mapped",[1604,1610]],[[64581,64581],"mapped",[1605,1580]],[[64582,64582],"mapped",[1605,1581]],[[64583,64583],"mapped",[1605,1582]],[[64584,64584],"mapped",[1605,1605]],[[64585,64585],"mapped",[1605,1609]],[[64586,64586],"mapped",[1605,1610]],[[64587,64587],"mapped",[1606,1580]],[[64588,64588],"mapped",[1606,1581]],[[64589,64589],"mapped",[1606,1582]],[[64590,64590],"mapped",[1606,1605]],[[64591,64591],"mapped",[1606,1609]],[[64592,64592],"mapped",[1606,1610]],[[64593,64593],"mapped",[1607,1580]],[[64594,64594],"mapped",[1607,1605]],[[64595,64595],"mapped",[1607,1609]],[[64596,64596],"mapped",[1607,1610]],[[64597,64597],"mapped",[1610,1580]],[[64598,64598],"mapped",[1610,1581]],[[64599,64599],"mapped",[1610,1582]],[[64600,64600],"mapped",[1610,1605]],[[64601,64601],"mapped",[1610,1609]],[[64602,64602],"mapped",[1610,1610]],[[64603,64603],"mapped",[1584,1648]],[[64604,64604],"mapped",[1585,1648]],[[64605,64605],"mapped",[1609,1648]],[[64606,64606],"disallowed_STD3_mapped",[32,1612,1617]],[[64607,64607],"disallowed_STD3_mapped",[32,1613,1617]],[[64608,64608],"disallowed_STD3_mapped",[32,1614,1617]],[[64609,64609],"disallowed_STD3_mapped",[32,1615,1617]],[[64610,64610],"disallowed_STD3_mapped",[32,1616,1617]],[[64611,64611],"disallowed_STD3_mapped",[32,1617,1648]],[[64612,64612],"mapped",[1574,1585]],[[64613,64613],"mapped",[1574,1586]],[[64614,64614],"mapped",[1574,1605]],[[64615,64615],"mapped",[1574,1606]],[[64616,64616],"mapped",[1574,1609]],[[64617,64617],"mapped",[1574,1610]],[[64618,64618],"mapped",[1576,1585]],[[64619,64619],"mapped",[1576,1586]],[[64620,64620],"mapped",[1576,1605]],[[64621,64621],"mapped",[1576,1606]],[[64622,64622],"mapped",[1576,1609]],[[64623,64623],"mapped",[1576,1610]],[[64624,64624],"mapped",[1578,1585]],[[64625,64625],"mapped",[1578,1586]],[[64626,64626],"mapped",[1578,1605]],[[64627,64627],"mapped",[1578,1606]],[[64628,64628],"mapped",[1578,1609]],[[64629,64629],"mapped",[1578,1610]],[[64630,64630],"mapped",[1579,1585]],[[64631,64631],"mapped",[1579,1586]],[[64632,64632],"mapped",[1579,1605]],[[64633,64633],"mapped",[1579,1606]],[[64634,64634],"mapped",[1579,1609]],[[64635,64635],"mapped",[1579,1610]],[[64636,64636],"mapped",[1601,1609]],[[64637,64637],"mapped",[1601,1610]],[[64638,64638],"mapped",[1602,1609]],[[64639,64639],"mapped",[1602,1610]],[[64640,64640],"mapped",[1603,1575]],[[64641,64641],"mapped",[1603,1604]],[[64642,64642],"mapped",[1603,1605]],[[64643,64643],"mapped",[1603,1609]],[[64644,64644],"mapped",[1603,1610]],[[64645,64645],"mapped",[1604,1605]],[[64646,64646],"mapped",[1604,1609]],[[64647,64647],"mapped",[1604,1610]],[[64648,64648],"mapped",[1605,1575]],[[64649,64649],"mapped",[1605,1605]],[[64650,64650],"mapped",[1606,1585]],[[64651,64651],"mapped",[1606,1586]],[[64652,64652],"mapped",[1606,1605]],[[64653,64653],"mapped",[1606,1606]],[[64654,64654],"mapped",[1606,1609]],[[64655,64655],"mapped",[1606,1610]],[[64656,64656],"mapped",[1609,1648]],[[64657,64657],"mapped",[1610,1585]],[[64658,64658],"mapped",[1610,1586]],[[64659,64659],"mapped",[1610,1605]],[[64660,64660],"mapped",[1610,1606]],[[64661,64661],"mapped",[1610,1609]],[[64662,64662],"mapped",[1610,1610]],[[64663,64663],"mapped",[1574,1580]],[[64664,64664],"mapped",[1574,1581]],[[64665,64665],"mapped",[1574,1582]],[[64666,64666],"mapped",[1574,1605]],[[64667,64667],"mapped",[1574,1607]],[[64668,64668],"mapped",[1576,1580]],[[64669,64669],"mapped",[1576,1581]],[[64670,64670],"mapped",[1576,1582]],[[64671,64671],"mapped",[1576,1605]],[[64672,64672],"mapped",[1576,1607]],[[64673,64673],"mapped",[1578,1580]],[[64674,64674],"mapped",[1578,1581]],[[64675,64675],"mapped",[1578,1582]],[[64676,64676],"mapped",[1578,1605]],[[64677,64677],"mapped",[1578,1607]],[[64678,64678],"mapped",[1579,1605]],[[64679,64679],"mapped",[1580,1581]],[[64680,64680],"mapped",[1580,1605]],[[64681,64681],"mapped",[1581,1580]],[[64682,64682],"mapped",[1581,1605]],[[64683,64683],"mapped",[1582,1580]],[[64684,64684],"mapped",[1582,1605]],[[64685,64685],"mapped",[1587,1580]],[[64686,64686],"mapped",[1587,1581]],[[64687,64687],"mapped",[1587,1582]],[[64688,64688],"mapped",[1587,1605]],[[64689,64689],"mapped",[1589,1581]],[[64690,64690],"mapped",[1589,1582]],[[64691,64691],"mapped",[1589,1605]],[[64692,64692],"mapped",[1590,1580]],[[64693,64693],"mapped",[1590,1581]],[[64694,64694],"mapped",[1590,1582]],[[64695,64695],"mapped",[1590,1605]],[[64696,64696],"mapped",[1591,1581]],[[64697,64697],"mapped",[1592,1605]],[[64698,64698],"mapped",[1593,1580]],[[64699,64699],"mapped",[1593,1605]],[[64700,64700],"mapped",[1594,1580]],[[64701,64701],"mapped",[1594,1605]],[[64702,64702],"mapped",[1601,1580]],[[64703,64703],"mapped",[1601,1581]],[[64704,64704],"mapped",[1601,1582]],[[64705,64705],"mapped",[1601,1605]],[[64706,64706],"mapped",[1602,1581]],[[64707,64707],"mapped",[1602,1605]],[[64708,64708],"mapped",[1603,1580]],[[64709,64709],"mapped",[1603,1581]],[[64710,64710],"mapped",[1603,1582]],[[64711,64711],"mapped",[1603,1604]],[[64712,64712],"mapped",[1603,1605]],[[64713,64713],"mapped",[1604,1580]],[[64714,64714],"mapped",[1604,1581]],[[64715,64715],"mapped",[1604,1582]],[[64716,64716],"mapped",[1604,1605]],[[64717,64717],"mapped",[1604,1607]],[[64718,64718],"mapped",[1605,1580]],[[64719,64719],"mapped",[1605,1581]],[[64720,64720],"mapped",[1605,1582]],[[64721,64721],"mapped",[1605,1605]],[[64722,64722],"mapped",[1606,1580]],[[64723,64723],"mapped",[1606,1581]],[[64724,64724],"mapped",[1606,1582]],[[64725,64725],"mapped",[1606,1605]],[[64726,64726],"mapped",[1606,1607]],[[64727,64727],"mapped",[1607,1580]],[[64728,64728],"mapped",[1607,1605]],[[64729,64729],"mapped",[1607,1648]],[[64730,64730],"mapped",[1610,1580]],[[64731,64731],"mapped",[1610,1581]],[[64732,64732],"mapped",[1610,1582]],[[64733,64733],"mapped",[1610,1605]],[[64734,64734],"mapped",[1610,1607]],[[64735,64735],"mapped",[1574,1605]],[[64736,64736],"mapped",[1574,1607]],[[64737,64737],"mapped",[1576,1605]],[[64738,64738],"mapped",[1576,1607]],[[64739,64739],"mapped",[1578,1605]],[[64740,64740],"mapped",[1578,1607]],[[64741,64741],"mapped",[1579,1605]],[[64742,64742],"mapped",[1579,1607]],[[64743,64743],"mapped",[1587,1605]],[[64744,64744],"mapped",[1587,1607]],[[64745,64745],"mapped",[1588,1605]],[[64746,64746],"mapped",[1588,1607]],[[64747,64747],"mapped",[1603,1604]],[[64748,64748],"mapped",[1603,1605]],[[64749,64749],"mapped",[1604,1605]],[[64750,64750],"mapped",[1606,1605]],[[64751,64751],"mapped",[1606,1607]],[[64752,64752],"mapped",[1610,1605]],[[64753,64753],"mapped",[1610,1607]],[[64754,64754],"mapped",[1600,1614,1617]],[[64755,64755],"mapped",[1600,1615,1617]],[[64756,64756],"mapped",[1600,1616,1617]],[[64757,64757],"mapped",[1591,1609]],[[64758,64758],"mapped",[1591,1610]],[[64759,64759],"mapped",[1593,1609]],[[64760,64760],"mapped",[1593,1610]],[[64761,64761],"mapped",[1594,1609]],[[64762,64762],"mapped",[1594,1610]],[[64763,64763],"mapped",[1587,1609]],[[64764,64764],"mapped",[1587,1610]],[[64765,64765],"mapped",[1588,1609]],[[64766,64766],"mapped",[1588,1610]],[[64767,64767],"mapped",[1581,1609]],[[64768,64768],"mapped",[1581,1610]],[[64769,64769],"mapped",[1580,1609]],[[64770,64770],"mapped",[1580,1610]],[[64771,64771],"mapped",[1582,1609]],[[64772,64772],"mapped",[1582,1610]],[[64773,64773],"mapped",[1589,1609]],[[64774,64774],"mapped",[1589,1610]],[[64775,64775],"mapped",[1590,1609]],[[64776,64776],"mapped",[1590,1610]],[[64777,64777],"mapped",[1588,1580]],[[64778,64778],"mapped",[1588,1581]],[[64779,64779],"mapped",[1588,1582]],[[64780,64780],"mapped",[1588,1605]],[[64781,64781],"mapped",[1588,1585]],[[64782,64782],"mapped",[1587,1585]],[[64783,64783],"mapped",[1589,1585]],[[64784,64784],"mapped",[1590,1585]],[[64785,64785],"mapped",[1591,1609]],[[64786,64786],"mapped",[1591,1610]],[[64787,64787],"mapped",[1593,1609]],[[64788,64788],"mapped",[1593,1610]],[[64789,64789],"mapped",[1594,1609]],[[64790,64790],"mapped",[1594,1610]],[[64791,64791],"mapped",[1587,1609]],[[64792,64792],"mapped",[1587,1610]],[[64793,64793],"mapped",[1588,1609]],[[64794,64794],"mapped",[1588,1610]],[[64795,64795],"mapped",[1581,1609]],[[64796,64796],"mapped",[1581,1610]],[[64797,64797],"mapped",[1580,1609]],[[64798,64798],"mapped",[1580,1610]],[[64799,64799],"mapped",[1582,1609]],[[64800,64800],"mapped",[1582,1610]],[[64801,64801],"mapped",[1589,1609]],[[64802,64802],"mapped",[1589,1610]],[[64803,64803],"mapped",[1590,1609]],[[64804,64804],"mapped",[1590,1610]],[[64805,64805],"mapped",[1588,1580]],[[64806,64806],"mapped",[1588,1581]],[[64807,64807],"mapped",[1588,1582]],[[64808,64808],"mapped",[1588,1605]],[[64809,64809],"mapped",[1588,1585]],[[64810,64810],"mapped",[1587,1585]],[[64811,64811],"mapped",[1589,1585]],[[64812,64812],"mapped",[1590,1585]],[[64813,64813],"mapped",[1588,1580]],[[64814,64814],"mapped",[1588,1581]],[[64815,64815],"mapped",[1588,1582]],[[64816,64816],"mapped",[1588,1605]],[[64817,64817],"mapped",[1587,1607]],[[64818,64818],"mapped",[1588,1607]],[[64819,64819],"mapped",[1591,1605]],[[64820,64820],"mapped",[1587,1580]],[[64821,64821],"mapped",[1587,1581]],[[64822,64822],"mapped",[1587,1582]],[[64823,64823],"mapped",[1588,1580]],[[64824,64824],"mapped",[1588,1581]],[[64825,64825],"mapped",[1588,1582]],[[64826,64826],"mapped",[1591,1605]],[[64827,64827],"mapped",[1592,1605]],[[64828,64829],"mapped",[1575,1611]],[[64830,64831],"valid",[],"NV8"],[[64832,64847],"disallowed"],[[64848,64848],"mapped",[1578,1580,1605]],[[64849,64850],"mapped",[1578,1581,1580]],[[64851,64851],"mapped",[1578,1581,1605]],[[64852,64852],"mapped",[1578,1582,1605]],[[64853,64853],"mapped",[1578,1605,1580]],[[64854,64854],"mapped",[1578,1605,1581]],[[64855,64855],"mapped",[1578,1605,1582]],[[64856,64857],"mapped",[1580,1605,1581]],[[64858,64858],"mapped",[1581,1605,1610]],[[64859,64859],"mapped",[1581,1605,1609]],[[64860,64860],"mapped",[1587,1581,1580]],[[64861,64861],"mapped",[1587,1580,1581]],[[64862,64862],"mapped",[1587,1580,1609]],[[64863,64864],"mapped",[1587,1605,1581]],[[64865,64865],"mapped",[1587,1605,1580]],[[64866,64867],"mapped",[1587,1605,1605]],[[64868,64869],"mapped",[1589,1581,1581]],[[64870,64870],"mapped",[1589,1605,1605]],[[64871,64872],"mapped",[1588,1581,1605]],[[64873,64873],"mapped",[1588,1580,1610]],[[64874,64875],"mapped",[1588,1605,1582]],[[64876,64877],"mapped",[1588,1605,1605]],[[64878,64878],"mapped",[1590,1581,1609]],[[64879,64880],"mapped",[1590,1582,1605]],[[64881,64882],"mapped",[1591,1605,1581]],[[64883,64883],"mapped",[1591,1605,1605]],[[64884,64884],"mapped",[1591,1605,1610]],[[64885,64885],"mapped",[1593,1580,1605]],[[64886,64887],"mapped",[1593,1605,1605]],[[64888,64888],"mapped",[1593,1605,1609]],[[64889,64889],"mapped",[1594,1605,1605]],[[64890,64890],"mapped",[1594,1605,1610]],[[64891,64891],"mapped",[1594,1605,1609]],[[64892,64893],"mapped",[1601,1582,1605]],[[64894,64894],"mapped",[1602,1605,1581]],[[64895,64895],"mapped",[1602,1605,1605]],[[64896,64896],"mapped",[1604,1581,1605]],[[64897,64897],"mapped",[1604,1581,1610]],[[64898,64898],"mapped",[1604,1581,1609]],[[64899,64900],"mapped",[1604,1580,1580]],[[64901,64902],"mapped",[1604,1582,1605]],[[64903,64904],"mapped",[1604,1605,1581]],[[64905,64905],"mapped",[1605,1581,1580]],[[64906,64906],"mapped",[1605,1581,1605]],[[64907,64907],"mapped",[1605,1581,1610]],[[64908,64908],"mapped",[1605,1580,1581]],[[64909,64909],"mapped",[1605,1580,1605]],[[64910,64910],"mapped",[1605,1582,1580]],[[64911,64911],"mapped",[1605,1582,1605]],[[64912,64913],"disallowed"],[[64914,64914],"mapped",[1605,1580,1582]],[[64915,64915],"mapped",[1607,1605,1580]],[[64916,64916],"mapped",[1607,1605,1605]],[[64917,64917],"mapped",[1606,1581,1605]],[[64918,64918],"mapped",[1606,1581,1609]],[[64919,64920],"mapped",[1606,1580,1605]],[[64921,64921],"mapped",[1606,1580,1609]],[[64922,64922],"mapped",[1606,1605,1610]],[[64923,64923],"mapped",[1606,1605,1609]],[[64924,64925],"mapped",[1610,1605,1605]],[[64926,64926],"mapped",[1576,1582,1610]],[[64927,64927],"mapped",[1578,1580,1610]],[[64928,64928],"mapped",[1578,1580,1609]],[[64929,64929],"mapped",[1578,1582,1610]],[[64930,64930],"mapped",[1578,1582,1609]],[[64931,64931],"mapped",[1578,1605,1610]],[[64932,64932],"mapped",[1578,1605,1609]],[[64933,64933],"mapped",[1580,1605,1610]],[[64934,64934],"mapped",[1580,1581,1609]],[[64935,64935],"mapped",[1580,1605,1609]],[[64936,64936],"mapped",[1587,1582,1609]],[[64937,64937],"mapped",[1589,1581,1610]],[[64938,64938],"mapped",[1588,1581,1610]],[[64939,64939],"mapped",[1590,1581,1610]],[[64940,64940],"mapped",[1604,1580,1610]],[[64941,64941],"mapped",[1604,1605,1610]],[[64942,64942],"mapped",[1610,1581,1610]],[[64943,64943],"mapped",[1610,1580,1610]],[[64944,64944],"mapped",[1610,1605,1610]],[[64945,64945],"mapped",[1605,1605,1610]],[[64946,64946],"mapped",[1602,1605,1610]],[[64947,64947],"mapped",[1606,1581,1610]],[[64948,64948],"mapped",[1602,1605,1581]],[[64949,64949],"mapped",[1604,1581,1605]],[[64950,64950],"mapped",[1593,1605,1610]],[[64951,64951],"mapped",[1603,1605,1610]],[[64952,64952],"mapped",[1606,1580,1581]],[[64953,64953],"mapped",[1605,1582,1610]],[[64954,64954],"mapped",[1604,1580,1605]],[[64955,64955],"mapped",[1603,1605,1605]],[[64956,64956],"mapped",[1604,1580,1605]],[[64957,64957],"mapped",[1606,1580,1581]],[[64958,64958],"mapped",[1580,1581,1610]],[[64959,64959],"mapped",[1581,1580,1610]],[[64960,64960],"mapped",[1605,1580,1610]],[[64961,64961],"mapped",[1601,1605,1610]],[[64962,64962],"mapped",[1576,1581,1610]],[[64963,64963],"mapped",[1603,1605,1605]],[[64964,64964],"mapped",[1593,1580,1605]],[[64965,64965],"mapped",[1589,1605,1605]],[[64966,64966],"mapped",[1587,1582,1610]],[[64967,64967],"mapped",[1606,1580,1610]],[[64968,64975],"disallowed"],[[64976,65007],"disallowed"],[[65008,65008],"mapped",[1589,1604,1746]],[[65009,65009],"mapped",[1602,1604,1746]],[[65010,65010],"mapped",[1575,1604,1604,1607]],[[65011,65011],"mapped",[1575,1603,1576,1585]],[[65012,65012],"mapped",[1605,1581,1605,1583]],[[65013,65013],"mapped",[1589,1604,1593,1605]],[[65014,65014],"mapped",[1585,1587,1608,1604]],[[65015,65015],"mapped",[1593,1604,1610,1607]],[[65016,65016],"mapped",[1608,1587,1604,1605]],[[65017,65017],"mapped",[1589,1604,1609]],[[65018,65018],"disallowed_STD3_mapped",[1589,1604,1609,32,1575,1604,1604,1607,32,1593,1604,1610,1607,32,1608,1587,1604,1605]],[[65019,65019],"disallowed_STD3_mapped",[1580,1604,32,1580,1604,1575,1604,1607]],[[65020,65020],"mapped",[1585,1740,1575,1604]],[[65021,65021],"valid",[],"NV8"],[[65022,65023],"disallowed"],[[65024,65039],"ignored"],[[65040,65040],"disallowed_STD3_mapped",[44]],[[65041,65041],"mapped",[12289]],[[65042,65042],"disallowed"],[[65043,65043],"disallowed_STD3_mapped",[58]],[[65044,65044],"disallowed_STD3_mapped",[59]],[[65045,65045],"disallowed_STD3_mapped",[33]],[[65046,65046],"disallowed_STD3_mapped",[63]],[[65047,65047],"mapped",[12310]],[[65048,65048],"mapped",[12311]],[[65049,65049],"disallowed"],[[65050,65055],"disallowed"],[[65056,65059],"valid"],[[65060,65062],"valid"],[[65063,65069],"valid"],[[65070,65071],"valid"],[[65072,65072],"disallowed"],[[65073,65073],"mapped",[8212]],[[65074,65074],"mapped",[8211]],[[65075,65076],"disallowed_STD3_mapped",[95]],[[65077,65077],"disallowed_STD3_mapped",[40]],[[65078,65078],"disallowed_STD3_mapped",[41]],[[65079,65079],"disallowed_STD3_mapped",[123]],[[65080,65080],"disallowed_STD3_mapped",[125]],[[65081,65081],"mapped",[12308]],[[65082,65082],"mapped",[12309]],[[65083,65083],"mapped",[12304]],[[65084,65084],"mapped",[12305]],[[65085,65085],"mapped",[12298]],[[65086,65086],"mapped",[12299]],[[65087,65087],"mapped",[12296]],[[65088,65088],"mapped",[12297]],[[65089,65089],"mapped",[12300]],[[65090,65090],"mapped",[12301]],[[65091,65091],"mapped",[12302]],[[65092,65092],"mapped",[12303]],[[65093,65094],"valid",[],"NV8"],[[65095,65095],"disallowed_STD3_mapped",[91]],[[65096,65096],"disallowed_STD3_mapped",[93]],[[65097,65100],"disallowed_STD3_mapped",[32,773]],[[65101,65103],"disallowed_STD3_mapped",[95]],[[65104,65104],"disallowed_STD3_mapped",[44]],[[65105,65105],"mapped",[12289]],[[65106,65106],"disallowed"],[[65107,65107],"disallowed"],[[65108,65108],"disallowed_STD3_mapped",[59]],[[65109,65109],"disallowed_STD3_mapped",[58]],[[65110,65110],"disallowed_STD3_mapped",[63]],[[65111,65111],"disallowed_STD3_mapped",[33]],[[65112,65112],"mapped",[8212]],[[65113,65113],"disallowed_STD3_mapped",[40]],[[65114,65114],"disallowed_STD3_mapped",[41]],[[65115,65115],"disallowed_STD3_mapped",[123]],[[65116,65116],"disallowed_STD3_mapped",[125]],[[65117,65117],"mapped",[12308]],[[65118,65118],"mapped",[12309]],[[65119,65119],"disallowed_STD3_mapped",[35]],[[65120,65120],"disallowed_STD3_mapped",[38]],[[65121,65121],"disallowed_STD3_mapped",[42]],[[65122,65122],"disallowed_STD3_mapped",[43]],[[65123,65123],"mapped",[45]],[[65124,65124],"disallowed_STD3_mapped",[60]],[[65125,65125],"disallowed_STD3_mapped",[62]],[[65126,65126],"disallowed_STD3_mapped",[61]],[[65127,65127],"disallowed"],[[65128,65128],"disallowed_STD3_mapped",[92]],[[65129,65129],"disallowed_STD3_mapped",[36]],[[65130,65130],"disallowed_STD3_mapped",[37]],[[65131,65131],"disallowed_STD3_mapped",[64]],[[65132,65135],"disallowed"],[[65136,65136],"disallowed_STD3_mapped",[32,1611]],[[65137,65137],"mapped",[1600,1611]],[[65138,65138],"disallowed_STD3_mapped",[32,1612]],[[65139,65139],"valid"],[[65140,65140],"disallowed_STD3_mapped",[32,1613]],[[65141,65141],"disallowed"],[[65142,65142],"disallowed_STD3_mapped",[32,1614]],[[65143,65143],"mapped",[1600,1614]],[[65144,65144],"disallowed_STD3_mapped",[32,1615]],[[65145,65145],"mapped",[1600,1615]],[[65146,65146],"disallowed_STD3_mapped",[32,1616]],[[65147,65147],"mapped",[1600,1616]],[[65148,65148],"disallowed_STD3_mapped",[32,1617]],[[65149,65149],"mapped",[1600,1617]],[[65150,65150],"disallowed_STD3_mapped",[32,1618]],[[65151,65151],"mapped",[1600,1618]],[[65152,65152],"mapped",[1569]],[[65153,65154],"mapped",[1570]],[[65155,65156],"mapped",[1571]],[[65157,65158],"mapped",[1572]],[[65159,65160],"mapped",[1573]],[[65161,65164],"mapped",[1574]],[[65165,65166],"mapped",[1575]],[[65167,65170],"mapped",[1576]],[[65171,65172],"mapped",[1577]],[[65173,65176],"mapped",[1578]],[[65177,65180],"mapped",[1579]],[[65181,65184],"mapped",[1580]],[[65185,65188],"mapped",[1581]],[[65189,65192],"mapped",[1582]],[[65193,65194],"mapped",[1583]],[[65195,65196],"mapped",[1584]],[[65197,65198],"mapped",[1585]],[[65199,65200],"mapped",[1586]],[[65201,65204],"mapped",[1587]],[[65205,65208],"mapped",[1588]],[[65209,65212],"mapped",[1589]],[[65213,65216],"mapped",[1590]],[[65217,65220],"mapped",[1591]],[[65221,65224],"mapped",[1592]],[[65225,65228],"mapped",[1593]],[[65229,65232],"mapped",[1594]],[[65233,65236],"mapped",[1601]],[[65237,65240],"mapped",[1602]],[[65241,65244],"mapped",[1603]],[[65245,65248],"mapped",[1604]],[[65249,65252],"mapped",[1605]],[[65253,65256],"mapped",[1606]],[[65257,65260],"mapped",[1607]],[[65261,65262],"mapped",[1608]],[[65263,65264],"mapped",[1609]],[[65265,65268],"mapped",[1610]],[[65269,65270],"mapped",[1604,1570]],[[65271,65272],"mapped",[1604,1571]],[[65273,65274],"mapped",[1604,1573]],[[65275,65276],"mapped",[1604,1575]],[[65277,65278],"disallowed"],[[65279,65279],"ignored"],[[65280,65280],"disallowed"],[[65281,65281],"disallowed_STD3_mapped",[33]],[[65282,65282],"disallowed_STD3_mapped",[34]],[[65283,65283],"disallowed_STD3_mapped",[35]],[[65284,65284],"disallowed_STD3_mapped",[36]],[[65285,65285],"disallowed_STD3_mapped",[37]],[[65286,65286],"disallowed_STD3_mapped",[38]],[[65287,65287],"disallowed_STD3_mapped",[39]],[[65288,65288],"disallowed_STD3_mapped",[40]],[[65289,65289],"disallowed_STD3_mapped",[41]],[[65290,65290],"disallowed_STD3_mapped",[42]],[[65291,65291],"disallowed_STD3_mapped",[43]],[[65292,65292],"disallowed_STD3_mapped",[44]],[[65293,65293],"mapped",[45]],[[65294,65294],"mapped",[46]],[[65295,65295],"disallowed_STD3_mapped",[47]],[[65296,65296],"mapped",[48]],[[65297,65297],"mapped",[49]],[[65298,65298],"mapped",[50]],[[65299,65299],"mapped",[51]],[[65300,65300],"mapped",[52]],[[65301,65301],"mapped",[53]],[[65302,65302],"mapped",[54]],[[65303,65303],"mapped",[55]],[[65304,65304],"mapped",[56]],[[65305,65305],"mapped",[57]],[[65306,65306],"disallowed_STD3_mapped",[58]],[[65307,65307],"disallowed_STD3_mapped",[59]],[[65308,65308],"disallowed_STD3_mapped",[60]],[[65309,65309],"disallowed_STD3_mapped",[61]],[[65310,65310],"disallowed_STD3_mapped",[62]],[[65311,65311],"disallowed_STD3_mapped",[63]],[[65312,65312],"disallowed_STD3_mapped",[64]],[[65313,65313],"mapped",[97]],[[65314,65314],"mapped",[98]],[[65315,65315],"mapped",[99]],[[65316,65316],"mapped",[100]],[[65317,65317],"mapped",[101]],[[65318,65318],"mapped",[102]],[[65319,65319],"mapped",[103]],[[65320,65320],"mapped",[104]],[[65321,65321],"mapped",[105]],[[65322,65322],"mapped",[106]],[[65323,65323],"mapped",[107]],[[65324,65324],"mapped",[108]],[[65325,65325],"mapped",[109]],[[65326,65326],"mapped",[110]],[[65327,65327],"mapped",[111]],[[65328,65328],"mapped",[112]],[[65329,65329],"mapped",[113]],[[65330,65330],"mapped",[114]],[[65331,65331],"mapped",[115]],[[65332,65332],"mapped",[116]],[[65333,65333],"mapped",[117]],[[65334,65334],"mapped",[118]],[[65335,65335],"mapped",[119]],[[65336,65336],"mapped",[120]],[[65337,65337],"mapped",[121]],[[65338,65338],"mapped",[122]],[[65339,65339],"disallowed_STD3_mapped",[91]],[[65340,65340],"disallowed_STD3_mapped",[92]],[[65341,65341],"disallowed_STD3_mapped",[93]],[[65342,65342],"disallowed_STD3_mapped",[94]],[[65343,65343],"disallowed_STD3_mapped",[95]],[[65344,65344],"disallowed_STD3_mapped",[96]],[[65345,65345],"mapped",[97]],[[65346,65346],"mapped",[98]],[[65347,65347],"mapped",[99]],[[65348,65348],"mapped",[100]],[[65349,65349],"mapped",[101]],[[65350,65350],"mapped",[102]],[[65351,65351],"mapped",[103]],[[65352,65352],"mapped",[104]],[[65353,65353],"mapped",[105]],[[65354,65354],"mapped",[106]],[[65355,65355],"mapped",[107]],[[65356,65356],"mapped",[108]],[[65357,65357],"mapped",[109]],[[65358,65358],"mapped",[110]],[[65359,65359],"mapped",[111]],[[65360,65360],"mapped",[112]],[[65361,65361],"mapped",[113]],[[65362,65362],"mapped",[114]],[[65363,65363],"mapped",[115]],[[65364,65364],"mapped",[116]],[[65365,65365],"mapped",[117]],[[65366,65366],"mapped",[118]],[[65367,65367],"mapped",[119]],[[65368,65368],"mapped",[120]],[[65369,65369],"mapped",[121]],[[65370,65370],"mapped",[122]],[[65371,65371],"disallowed_STD3_mapped",[123]],[[65372,65372],"disallowed_STD3_mapped",[124]],[[65373,65373],"disallowed_STD3_mapped",[125]],[[65374,65374],"disallowed_STD3_mapped",[126]],[[65375,65375],"mapped",[10629]],[[65376,65376],"mapped",[10630]],[[65377,65377],"mapped",[46]],[[65378,65378],"mapped",[12300]],[[65379,65379],"mapped",[12301]],[[65380,65380],"mapped",[12289]],[[65381,65381],"mapped",[12539]],[[65382,65382],"mapped",[12530]],[[65383,65383],"mapped",[12449]],[[65384,65384],"mapped",[12451]],[[65385,65385],"mapped",[12453]],[[65386,65386],"mapped",[12455]],[[65387,65387],"mapped",[12457]],[[65388,65388],"mapped",[12515]],[[65389,65389],"mapped",[12517]],[[65390,65390],"mapped",[12519]],[[65391,65391],"mapped",[12483]],[[65392,65392],"mapped",[12540]],[[65393,65393],"mapped",[12450]],[[65394,65394],"mapped",[12452]],[[65395,65395],"mapped",[12454]],[[65396,65396],"mapped",[12456]],[[65397,65397],"mapped",[12458]],[[65398,65398],"mapped",[12459]],[[65399,65399],"mapped",[12461]],[[65400,65400],"mapped",[12463]],[[65401,65401],"mapped",[12465]],[[65402,65402],"mapped",[12467]],[[65403,65403],"mapped",[12469]],[[65404,65404],"mapped",[12471]],[[65405,65405],"mapped",[12473]],[[65406,65406],"mapped",[12475]],[[65407,65407],"mapped",[12477]],[[65408,65408],"mapped",[12479]],[[65409,65409],"mapped",[12481]],[[65410,65410],"mapped",[12484]],[[65411,65411],"mapped",[12486]],[[65412,65412],"mapped",[12488]],[[65413,65413],"mapped",[12490]],[[65414,65414],"mapped",[12491]],[[65415,65415],"mapped",[12492]],[[65416,65416],"mapped",[12493]],[[65417,65417],"mapped",[12494]],[[65418,65418],"mapped",[12495]],[[65419,65419],"mapped",[12498]],[[65420,65420],"mapped",[12501]],[[65421,65421],"mapped",[12504]],[[65422,65422],"mapped",[12507]],[[65423,65423],"mapped",[12510]],[[65424,65424],"mapped",[12511]],[[65425,65425],"mapped",[12512]],[[65426,65426],"mapped",[12513]],[[65427,65427],"mapped",[12514]],[[65428,65428],"mapped",[12516]],[[65429,65429],"mapped",[12518]],[[65430,65430],"mapped",[12520]],[[65431,65431],"mapped",[12521]],[[65432,65432],"mapped",[12522]],[[65433,65433],"mapped",[12523]],[[65434,65434],"mapped",[12524]],[[65435,65435],"mapped",[12525]],[[65436,65436],"mapped",[12527]],[[65437,65437],"mapped",[12531]],[[65438,65438],"mapped",[12441]],[[65439,65439],"mapped",[12442]],[[65440,65440],"disallowed"],[[65441,65441],"mapped",[4352]],[[65442,65442],"mapped",[4353]],[[65443,65443],"mapped",[4522]],[[65444,65444],"mapped",[4354]],[[65445,65445],"mapped",[4524]],[[65446,65446],"mapped",[4525]],[[65447,65447],"mapped",[4355]],[[65448,65448],"mapped",[4356]],[[65449,65449],"mapped",[4357]],[[65450,65450],"mapped",[4528]],[[65451,65451],"mapped",[4529]],[[65452,65452],"mapped",[4530]],[[65453,65453],"mapped",[4531]],[[65454,65454],"mapped",[4532]],[[65455,65455],"mapped",[4533]],[[65456,65456],"mapped",[4378]],[[65457,65457],"mapped",[4358]],[[65458,65458],"mapped",[4359]],[[65459,65459],"mapped",[4360]],[[65460,65460],"mapped",[4385]],[[65461,65461],"mapped",[4361]],[[65462,65462],"mapped",[4362]],[[65463,65463],"mapped",[4363]],[[65464,65464],"mapped",[4364]],[[65465,65465],"mapped",[4365]],[[65466,65466],"mapped",[4366]],[[65467,65467],"mapped",[4367]],[[65468,65468],"mapped",[4368]],[[65469,65469],"mapped",[4369]],[[65470,65470],"mapped",[4370]],[[65471,65473],"disallowed"],[[65474,65474],"mapped",[4449]],[[65475,65475],"mapped",[4450]],[[65476,65476],"mapped",[4451]],[[65477,65477],"mapped",[4452]],[[65478,65478],"mapped",[4453]],[[65479,65479],"mapped",[4454]],[[65480,65481],"disallowed"],[[65482,65482],"mapped",[4455]],[[65483,65483],"mapped",[4456]],[[65484,65484],"mapped",[4457]],[[65485,65485],"mapped",[4458]],[[65486,65486],"mapped",[4459]],[[65487,65487],"mapped",[4460]],[[65488,65489],"disallowed"],[[65490,65490],"mapped",[4461]],[[65491,65491],"mapped",[4462]],[[65492,65492],"mapped",[4463]],[[65493,65493],"mapped",[4464]],[[65494,65494],"mapped",[4465]],[[65495,65495],"mapped",[4466]],[[65496,65497],"disallowed"],[[65498,65498],"mapped",[4467]],[[65499,65499],"mapped",[4468]],[[65500,65500],"mapped",[4469]],[[65501,65503],"disallowed"],[[65504,65504],"mapped",[162]],[[65505,65505],"mapped",[163]],[[65506,65506],"mapped",[172]],[[65507,65507],"disallowed_STD3_mapped",[32,772]],[[65508,65508],"mapped",[166]],[[65509,65509],"mapped",[165]],[[65510,65510],"mapped",[8361]],[[65511,65511],"disallowed"],[[65512,65512],"mapped",[9474]],[[65513,65513],"mapped",[8592]],[[65514,65514],"mapped",[8593]],[[65515,65515],"mapped",[8594]],[[65516,65516],"mapped",[8595]],[[65517,65517],"mapped",[9632]],[[65518,65518],"mapped",[9675]],[[65519,65528],"disallowed"],[[65529,65531],"disallowed"],[[65532,65532],"disallowed"],[[65533,65533],"disallowed"],[[65534,65535],"disallowed"],[[65536,65547],"valid"],[[65548,65548],"disallowed"],[[65549,65574],"valid"],[[65575,65575],"disallowed"],[[65576,65594],"valid"],[[65595,65595],"disallowed"],[[65596,65597],"valid"],[[65598,65598],"disallowed"],[[65599,65613],"valid"],[[65614,65615],"disallowed"],[[65616,65629],"valid"],[[65630,65663],"disallowed"],[[65664,65786],"valid"],[[65787,65791],"disallowed"],[[65792,65794],"valid",[],"NV8"],[[65795,65798],"disallowed"],[[65799,65843],"valid",[],"NV8"],[[65844,65846],"disallowed"],[[65847,65855],"valid",[],"NV8"],[[65856,65930],"valid",[],"NV8"],[[65931,65932],"valid",[],"NV8"],[[65933,65935],"disallowed"],[[65936,65947],"valid",[],"NV8"],[[65948,65951],"disallowed"],[[65952,65952],"valid",[],"NV8"],[[65953,65999],"disallowed"],[[66000,66044],"valid",[],"NV8"],[[66045,66045],"valid"],[[66046,66175],"disallowed"],[[66176,66204],"valid"],[[66205,66207],"disallowed"],[[66208,66256],"valid"],[[66257,66271],"disallowed"],[[66272,66272],"valid"],[[66273,66299],"valid",[],"NV8"],[[66300,66303],"disallowed"],[[66304,66334],"valid"],[[66335,66335],"valid"],[[66336,66339],"valid",[],"NV8"],[[66340,66351],"disallowed"],[[66352,66368],"valid"],[[66369,66369],"valid",[],"NV8"],[[66370,66377],"valid"],[[66378,66378],"valid",[],"NV8"],[[66379,66383],"disallowed"],[[66384,66426],"valid"],[[66427,66431],"disallowed"],[[66432,66461],"valid"],[[66462,66462],"disallowed"],[[66463,66463],"valid",[],"NV8"],[[66464,66499],"valid"],[[66500,66503],"disallowed"],[[66504,66511],"valid"],[[66512,66517],"valid",[],"NV8"],[[66518,66559],"disallowed"],[[66560,66560],"mapped",[66600]],[[66561,66561],"mapped",[66601]],[[66562,66562],"mapped",[66602]],[[66563,66563],"mapped",[66603]],[[66564,66564],"mapped",[66604]],[[66565,66565],"mapped",[66605]],[[66566,66566],"mapped",[66606]],[[66567,66567],"mapped",[66607]],[[66568,66568],"mapped",[66608]],[[66569,66569],"mapped",[66609]],[[66570,66570],"mapped",[66610]],[[66571,66571],"mapped",[66611]],[[66572,66572],"mapped",[66612]],[[66573,66573],"mapped",[66613]],[[66574,66574],"mapped",[66614]],[[66575,66575],"mapped",[66615]],[[66576,66576],"mapped",[66616]],[[66577,66577],"mapped",[66617]],[[66578,66578],"mapped",[66618]],[[66579,66579],"mapped",[66619]],[[66580,66580],"mapped",[66620]],[[66581,66581],"mapped",[66621]],[[66582,66582],"mapped",[66622]],[[66583,66583],"mapped",[66623]],[[66584,66584],"mapped",[66624]],[[66585,66585],"mapped",[66625]],[[66586,66586],"mapped",[66626]],[[66587,66587],"mapped",[66627]],[[66588,66588],"mapped",[66628]],[[66589,66589],"mapped",[66629]],[[66590,66590],"mapped",[66630]],[[66591,66591],"mapped",[66631]],[[66592,66592],"mapped",[66632]],[[66593,66593],"mapped",[66633]],[[66594,66594],"mapped",[66634]],[[66595,66595],"mapped",[66635]],[[66596,66596],"mapped",[66636]],[[66597,66597],"mapped",[66637]],[[66598,66598],"mapped",[66638]],[[66599,66599],"mapped",[66639]],[[66600,66637],"valid"],[[66638,66717],"valid"],[[66718,66719],"disallowed"],[[66720,66729],"valid"],[[66730,66815],"disallowed"],[[66816,66855],"valid"],[[66856,66863],"disallowed"],[[66864,66915],"valid"],[[66916,66926],"disallowed"],[[66927,66927],"valid",[],"NV8"],[[66928,67071],"disallowed"],[[67072,67382],"valid"],[[67383,67391],"disallowed"],[[67392,67413],"valid"],[[67414,67423],"disallowed"],[[67424,67431],"valid"],[[67432,67583],"disallowed"],[[67584,67589],"valid"],[[67590,67591],"disallowed"],[[67592,67592],"valid"],[[67593,67593],"disallowed"],[[67594,67637],"valid"],[[67638,67638],"disallowed"],[[67639,67640],"valid"],[[67641,67643],"disallowed"],[[67644,67644],"valid"],[[67645,67646],"disallowed"],[[67647,67647],"valid"],[[67648,67669],"valid"],[[67670,67670],"disallowed"],[[67671,67679],"valid",[],"NV8"],[[67680,67702],"valid"],[[67703,67711],"valid",[],"NV8"],[[67712,67742],"valid"],[[67743,67750],"disallowed"],[[67751,67759],"valid",[],"NV8"],[[67760,67807],"disallowed"],[[67808,67826],"valid"],[[67827,67827],"disallowed"],[[67828,67829],"valid"],[[67830,67834],"disallowed"],[[67835,67839],"valid",[],"NV8"],[[67840,67861],"valid"],[[67862,67865],"valid",[],"NV8"],[[67866,67867],"valid",[],"NV8"],[[67868,67870],"disallowed"],[[67871,67871],"valid",[],"NV8"],[[67872,67897],"valid"],[[67898,67902],"disallowed"],[[67903,67903],"valid",[],"NV8"],[[67904,67967],"disallowed"],[[67968,68023],"valid"],[[68024,68027],"disallowed"],[[68028,68029],"valid",[],"NV8"],[[68030,68031],"valid"],[[68032,68047],"valid",[],"NV8"],[[68048,68049],"disallowed"],[[68050,68095],"valid",[],"NV8"],[[68096,68099],"valid"],[[68100,68100],"disallowed"],[[68101,68102],"valid"],[[68103,68107],"disallowed"],[[68108,68115],"valid"],[[68116,68116],"disallowed"],[[68117,68119],"valid"],[[68120,68120],"disallowed"],[[68121,68147],"valid"],[[68148,68151],"disallowed"],[[68152,68154],"valid"],[[68155,68158],"disallowed"],[[68159,68159],"valid"],[[68160,68167],"valid",[],"NV8"],[[68168,68175],"disallowed"],[[68176,68184],"valid",[],"NV8"],[[68185,68191],"disallowed"],[[68192,68220],"valid"],[[68221,68223],"valid",[],"NV8"],[[68224,68252],"valid"],[[68253,68255],"valid",[],"NV8"],[[68256,68287],"disallowed"],[[68288,68295],"valid"],[[68296,68296],"valid",[],"NV8"],[[68297,68326],"valid"],[[68327,68330],"disallowed"],[[68331,68342],"valid",[],"NV8"],[[68343,68351],"disallowed"],[[68352,68405],"valid"],[[68406,68408],"disallowed"],[[68409,68415],"valid",[],"NV8"],[[68416,68437],"valid"],[[68438,68439],"disallowed"],[[68440,68447],"valid",[],"NV8"],[[68448,68466],"valid"],[[68467,68471],"disallowed"],[[68472,68479],"valid",[],"NV8"],[[68480,68497],"valid"],[[68498,68504],"disallowed"],[[68505,68508],"valid",[],"NV8"],[[68509,68520],"disallowed"],[[68521,68527],"valid",[],"NV8"],[[68528,68607],"disallowed"],[[68608,68680],"valid"],[[68681,68735],"disallowed"],[[68736,68736],"mapped",[68800]],[[68737,68737],"mapped",[68801]],[[68738,68738],"mapped",[68802]],[[68739,68739],"mapped",[68803]],[[68740,68740],"mapped",[68804]],[[68741,68741],"mapped",[68805]],[[68742,68742],"mapped",[68806]],[[68743,68743],"mapped",[68807]],[[68744,68744],"mapped",[68808]],[[68745,68745],"mapped",[68809]],[[68746,68746],"mapped",[68810]],[[68747,68747],"mapped",[68811]],[[68748,68748],"mapped",[68812]],[[68749,68749],"mapped",[68813]],[[68750,68750],"mapped",[68814]],[[68751,68751],"mapped",[68815]],[[68752,68752],"mapped",[68816]],[[68753,68753],"mapped",[68817]],[[68754,68754],"mapped",[68818]],[[68755,68755],"mapped",[68819]],[[68756,68756],"mapped",[68820]],[[68757,68757],"mapped",[68821]],[[68758,68758],"mapped",[68822]],[[68759,68759],"mapped",[68823]],[[68760,68760],"mapped",[68824]],[[68761,68761],"mapped",[68825]],[[68762,68762],"mapped",[68826]],[[68763,68763],"mapped",[68827]],[[68764,68764],"mapped",[68828]],[[68765,68765],"mapped",[68829]],[[68766,68766],"mapped",[68830]],[[68767,68767],"mapped",[68831]],[[68768,68768],"mapped",[68832]],[[68769,68769],"mapped",[68833]],[[68770,68770],"mapped",[68834]],[[68771,68771],"mapped",[68835]],[[68772,68772],"mapped",[68836]],[[68773,68773],"mapped",[68837]],[[68774,68774],"mapped",[68838]],[[68775,68775],"mapped",[68839]],[[68776,68776],"mapped",[68840]],[[68777,68777],"mapped",[68841]],[[68778,68778],"mapped",[68842]],[[68779,68779],"mapped",[68843]],[[68780,68780],"mapped",[68844]],[[68781,68781],"mapped",[68845]],[[68782,68782],"mapped",[68846]],[[68783,68783],"mapped",[68847]],[[68784,68784],"mapped",[68848]],[[68785,68785],"mapped",[68849]],[[68786,68786],"mapped",[68850]],[[68787,68799],"disallowed"],[[68800,68850],"valid"],[[68851,68857],"disallowed"],[[68858,68863],"valid",[],"NV8"],[[68864,69215],"disallowed"],[[69216,69246],"valid",[],"NV8"],[[69247,69631],"disallowed"],[[69632,69702],"valid"],[[69703,69709],"valid",[],"NV8"],[[69710,69713],"disallowed"],[[69714,69733],"valid",[],"NV8"],[[69734,69743],"valid"],[[69744,69758],"disallowed"],[[69759,69759],"valid"],[[69760,69818],"valid"],[[69819,69820],"valid",[],"NV8"],[[69821,69821],"disallowed"],[[69822,69825],"valid",[],"NV8"],[[69826,69839],"disallowed"],[[69840,69864],"valid"],[[69865,69871],"disallowed"],[[69872,69881],"valid"],[[69882,69887],"disallowed"],[[69888,69940],"valid"],[[69941,69941],"disallowed"],[[69942,69951],"valid"],[[69952,69955],"valid",[],"NV8"],[[69956,69967],"disallowed"],[[69968,70003],"valid"],[[70004,70005],"valid",[],"NV8"],[[70006,70006],"valid"],[[70007,70015],"disallowed"],[[70016,70084],"valid"],[[70085,70088],"valid",[],"NV8"],[[70089,70089],"valid",[],"NV8"],[[70090,70092],"valid"],[[70093,70093],"valid",[],"NV8"],[[70094,70095],"disallowed"],[[70096,70105],"valid"],[[70106,70106],"valid"],[[70107,70107],"valid",[],"NV8"],[[70108,70108],"valid"],[[70109,70111],"valid",[],"NV8"],[[70112,70112],"disallowed"],[[70113,70132],"valid",[],"NV8"],[[70133,70143],"disallowed"],[[70144,70161],"valid"],[[70162,70162],"disallowed"],[[70163,70199],"valid"],[[70200,70205],"valid",[],"NV8"],[[70206,70271],"disallowed"],[[70272,70278],"valid"],[[70279,70279],"disallowed"],[[70280,70280],"valid"],[[70281,70281],"disallowed"],[[70282,70285],"valid"],[[70286,70286],"disallowed"],[[70287,70301],"valid"],[[70302,70302],"disallowed"],[[70303,70312],"valid"],[[70313,70313],"valid",[],"NV8"],[[70314,70319],"disallowed"],[[70320,70378],"valid"],[[70379,70383],"disallowed"],[[70384,70393],"valid"],[[70394,70399],"disallowed"],[[70400,70400],"valid"],[[70401,70403],"valid"],[[70404,70404],"disallowed"],[[70405,70412],"valid"],[[70413,70414],"disallowed"],[[70415,70416],"valid"],[[70417,70418],"disallowed"],[[70419,70440],"valid"],[[70441,70441],"disallowed"],[[70442,70448],"valid"],[[70449,70449],"disallowed"],[[70450,70451],"valid"],[[70452,70452],"disallowed"],[[70453,70457],"valid"],[[70458,70459],"disallowed"],[[70460,70468],"valid"],[[70469,70470],"disallowed"],[[70471,70472],"valid"],[[70473,70474],"disallowed"],[[70475,70477],"valid"],[[70478,70479],"disallowed"],[[70480,70480],"valid"],[[70481,70486],"disallowed"],[[70487,70487],"valid"],[[70488,70492],"disallowed"],[[70493,70499],"valid"],[[70500,70501],"disallowed"],[[70502,70508],"valid"],[[70509,70511],"disallowed"],[[70512,70516],"valid"],[[70517,70783],"disallowed"],[[70784,70853],"valid"],[[70854,70854],"valid",[],"NV8"],[[70855,70855],"valid"],[[70856,70863],"disallowed"],[[70864,70873],"valid"],[[70874,71039],"disallowed"],[[71040,71093],"valid"],[[71094,71095],"disallowed"],[[71096,71104],"valid"],[[71105,71113],"valid",[],"NV8"],[[71114,71127],"valid",[],"NV8"],[[71128,71133],"valid"],[[71134,71167],"disallowed"],[[71168,71232],"valid"],[[71233,71235],"valid",[],"NV8"],[[71236,71236],"valid"],[[71237,71247],"disallowed"],[[71248,71257],"valid"],[[71258,71295],"disallowed"],[[71296,71351],"valid"],[[71352,71359],"disallowed"],[[71360,71369],"valid"],[[71370,71423],"disallowed"],[[71424,71449],"valid"],[[71450,71452],"disallowed"],[[71453,71467],"valid"],[[71468,71471],"disallowed"],[[71472,71481],"valid"],[[71482,71487],"valid",[],"NV8"],[[71488,71839],"disallowed"],[[71840,71840],"mapped",[71872]],[[71841,71841],"mapped",[71873]],[[71842,71842],"mapped",[71874]],[[71843,71843],"mapped",[71875]],[[71844,71844],"mapped",[71876]],[[71845,71845],"mapped",[71877]],[[71846,71846],"mapped",[71878]],[[71847,71847],"mapped",[71879]],[[71848,71848],"mapped",[71880]],[[71849,71849],"mapped",[71881]],[[71850,71850],"mapped",[71882]],[[71851,71851],"mapped",[71883]],[[71852,71852],"mapped",[71884]],[[71853,71853],"mapped",[71885]],[[71854,71854],"mapped",[71886]],[[71855,71855],"mapped",[71887]],[[71856,71856],"mapped",[71888]],[[71857,71857],"mapped",[71889]],[[71858,71858],"mapped",[71890]],[[71859,71859],"mapped",[71891]],[[71860,71860],"mapped",[71892]],[[71861,71861],"mapped",[71893]],[[71862,71862],"mapped",[71894]],[[71863,71863],"mapped",[71895]],[[71864,71864],"mapped",[71896]],[[71865,71865],"mapped",[71897]],[[71866,71866],"mapped",[71898]],[[71867,71867],"mapped",[71899]],[[71868,71868],"mapped",[71900]],[[71869,71869],"mapped",[71901]],[[71870,71870],"mapped",[71902]],[[71871,71871],"mapped",[71903]],[[71872,71913],"valid"],[[71914,71922],"valid",[],"NV8"],[[71923,71934],"disallowed"],[[71935,71935],"valid"],[[71936,72383],"disallowed"],[[72384,72440],"valid"],[[72441,73727],"disallowed"],[[73728,74606],"valid"],[[74607,74648],"valid"],[[74649,74649],"valid"],[[74650,74751],"disallowed"],[[74752,74850],"valid",[],"NV8"],[[74851,74862],"valid",[],"NV8"],[[74863,74863],"disallowed"],[[74864,74867],"valid",[],"NV8"],[[74868,74868],"valid",[],"NV8"],[[74869,74879],"disallowed"],[[74880,75075],"valid"],[[75076,77823],"disallowed"],[[77824,78894],"valid"],[[78895,82943],"disallowed"],[[82944,83526],"valid"],[[83527,92159],"disallowed"],[[92160,92728],"valid"],[[92729,92735],"disallowed"],[[92736,92766],"valid"],[[92767,92767],"disallowed"],[[92768,92777],"valid"],[[92778,92781],"disallowed"],[[92782,92783],"valid",[],"NV8"],[[92784,92879],"disallowed"],[[92880,92909],"valid"],[[92910,92911],"disallowed"],[[92912,92916],"valid"],[[92917,92917],"valid",[],"NV8"],[[92918,92927],"disallowed"],[[92928,92982],"valid"],[[92983,92991],"valid",[],"NV8"],[[92992,92995],"valid"],[[92996,92997],"valid",[],"NV8"],[[92998,93007],"disallowed"],[[93008,93017],"valid"],[[93018,93018],"disallowed"],[[93019,93025],"valid",[],"NV8"],[[93026,93026],"disallowed"],[[93027,93047],"valid"],[[93048,93052],"disallowed"],[[93053,93071],"valid"],[[93072,93951],"disallowed"],[[93952,94020],"valid"],[[94021,94031],"disallowed"],[[94032,94078],"valid"],[[94079,94094],"disallowed"],[[94095,94111],"valid"],[[94112,110591],"disallowed"],[[110592,110593],"valid"],[[110594,113663],"disallowed"],[[113664,113770],"valid"],[[113771,113775],"disallowed"],[[113776,113788],"valid"],[[113789,113791],"disallowed"],[[113792,113800],"valid"],[[113801,113807],"disallowed"],[[113808,113817],"valid"],[[113818,113819],"disallowed"],[[113820,113820],"valid",[],"NV8"],[[113821,113822],"valid"],[[113823,113823],"valid",[],"NV8"],[[113824,113827],"ignored"],[[113828,118783],"disallowed"],[[118784,119029],"valid",[],"NV8"],[[119030,119039],"disallowed"],[[119040,119078],"valid",[],"NV8"],[[119079,119080],"disallowed"],[[119081,119081],"valid",[],"NV8"],[[119082,119133],"valid",[],"NV8"],[[119134,119134],"mapped",[119127,119141]],[[119135,119135],"mapped",[119128,119141]],[[119136,119136],"mapped",[119128,119141,119150]],[[119137,119137],"mapped",[119128,119141,119151]],[[119138,119138],"mapped",[119128,119141,119152]],[[119139,119139],"mapped",[119128,119141,119153]],[[119140,119140],"mapped",[119128,119141,119154]],[[119141,119154],"valid",[],"NV8"],[[119155,119162],"disallowed"],[[119163,119226],"valid",[],"NV8"],[[119227,119227],"mapped",[119225,119141]],[[119228,119228],"mapped",[119226,119141]],[[119229,119229],"mapped",[119225,119141,119150]],[[119230,119230],"mapped",[119226,119141,119150]],[[119231,119231],"mapped",[119225,119141,119151]],[[119232,119232],"mapped",[119226,119141,119151]],[[119233,119261],"valid",[],"NV8"],[[119262,119272],"valid",[],"NV8"],[[119273,119295],"disallowed"],[[119296,119365],"valid",[],"NV8"],[[119366,119551],"disallowed"],[[119552,119638],"valid",[],"NV8"],[[119639,119647],"disallowed"],[[119648,119665],"valid",[],"NV8"],[[119666,119807],"disallowed"],[[119808,119808],"mapped",[97]],[[119809,119809],"mapped",[98]],[[119810,119810],"mapped",[99]],[[119811,119811],"mapped",[100]],[[119812,119812],"mapped",[101]],[[119813,119813],"mapped",[102]],[[119814,119814],"mapped",[103]],[[119815,119815],"mapped",[104]],[[119816,119816],"mapped",[105]],[[119817,119817],"mapped",[106]],[[119818,119818],"mapped",[107]],[[119819,119819],"mapped",[108]],[[119820,119820],"mapped",[109]],[[119821,119821],"mapped",[110]],[[119822,119822],"mapped",[111]],[[119823,119823],"mapped",[112]],[[119824,119824],"mapped",[113]],[[119825,119825],"mapped",[114]],[[119826,119826],"mapped",[115]],[[119827,119827],"mapped",[116]],[[119828,119828],"mapped",[117]],[[119829,119829],"mapped",[118]],[[119830,119830],"mapped",[119]],[[119831,119831],"mapped",[120]],[[119832,119832],"mapped",[121]],[[119833,119833],"mapped",[122]],[[119834,119834],"mapped",[97]],[[119835,119835],"mapped",[98]],[[119836,119836],"mapped",[99]],[[119837,119837],"mapped",[100]],[[119838,119838],"mapped",[101]],[[119839,119839],"mapped",[102]],[[119840,119840],"mapped",[103]],[[119841,119841],"mapped",[104]],[[119842,119842],"mapped",[105]],[[119843,119843],"mapped",[106]],[[119844,119844],"mapped",[107]],[[119845,119845],"mapped",[108]],[[119846,119846],"mapped",[109]],[[119847,119847],"mapped",[110]],[[119848,119848],"mapped",[111]],[[119849,119849],"mapped",[112]],[[119850,119850],"mapped",[113]],[[119851,119851],"mapped",[114]],[[119852,119852],"mapped",[115]],[[119853,119853],"mapped",[116]],[[119854,119854],"mapped",[117]],[[119855,119855],"mapped",[118]],[[119856,119856],"mapped",[119]],[[119857,119857],"mapped",[120]],[[119858,119858],"mapped",[121]],[[119859,119859],"mapped",[122]],[[119860,119860],"mapped",[97]],[[119861,119861],"mapped",[98]],[[119862,119862],"mapped",[99]],[[119863,119863],"mapped",[100]],[[119864,119864],"mapped",[101]],[[119865,119865],"mapped",[102]],[[119866,119866],"mapped",[103]],[[119867,119867],"mapped",[104]],[[119868,119868],"mapped",[105]],[[119869,119869],"mapped",[106]],[[119870,119870],"mapped",[107]],[[119871,119871],"mapped",[108]],[[119872,119872],"mapped",[109]],[[119873,119873],"mapped",[110]],[[119874,119874],"mapped",[111]],[[119875,119875],"mapped",[112]],[[119876,119876],"mapped",[113]],[[119877,119877],"mapped",[114]],[[119878,119878],"mapped",[115]],[[119879,119879],"mapped",[116]],[[119880,119880],"mapped",[117]],[[119881,119881],"mapped",[118]],[[119882,119882],"mapped",[119]],[[119883,119883],"mapped",[120]],[[119884,119884],"mapped",[121]],[[119885,119885],"mapped",[122]],[[119886,119886],"mapped",[97]],[[119887,119887],"mapped",[98]],[[119888,119888],"mapped",[99]],[[119889,119889],"mapped",[100]],[[119890,119890],"mapped",[101]],[[119891,119891],"mapped",[102]],[[119892,119892],"mapped",[103]],[[119893,119893],"disallowed"],[[119894,119894],"mapped",[105]],[[119895,119895],"mapped",[106]],[[119896,119896],"mapped",[107]],[[119897,119897],"mapped",[108]],[[119898,119898],"mapped",[109]],[[119899,119899],"mapped",[110]],[[119900,119900],"mapped",[111]],[[119901,119901],"mapped",[112]],[[119902,119902],"mapped",[113]],[[119903,119903],"mapped",[114]],[[119904,119904],"mapped",[115]],[[119905,119905],"mapped",[116]],[[119906,119906],"mapped",[117]],[[119907,119907],"mapped",[118]],[[119908,119908],"mapped",[119]],[[119909,119909],"mapped",[120]],[[119910,119910],"mapped",[121]],[[119911,119911],"mapped",[122]],[[119912,119912],"mapped",[97]],[[119913,119913],"mapped",[98]],[[119914,119914],"mapped",[99]],[[119915,119915],"mapped",[100]],[[119916,119916],"mapped",[101]],[[119917,119917],"mapped",[102]],[[119918,119918],"mapped",[103]],[[119919,119919],"mapped",[104]],[[119920,119920],"mapped",[105]],[[119921,119921],"mapped",[106]],[[119922,119922],"mapped",[107]],[[119923,119923],"mapped",[108]],[[119924,119924],"mapped",[109]],[[119925,119925],"mapped",[110]],[[119926,119926],"mapped",[111]],[[119927,119927],"mapped",[112]],[[119928,119928],"mapped",[113]],[[119929,119929],"mapped",[114]],[[119930,119930],"mapped",[115]],[[119931,119931],"mapped",[116]],[[119932,119932],"mapped",[117]],[[119933,119933],"mapped",[118]],[[119934,119934],"mapped",[119]],[[119935,119935],"mapped",[120]],[[119936,119936],"mapped",[121]],[[119937,119937],"mapped",[122]],[[119938,119938],"mapped",[97]],[[119939,119939],"mapped",[98]],[[119940,119940],"mapped",[99]],[[119941,119941],"mapped",[100]],[[119942,119942],"mapped",[101]],[[119943,119943],"mapped",[102]],[[119944,119944],"mapped",[103]],[[119945,119945],"mapped",[104]],[[119946,119946],"mapped",[105]],[[119947,119947],"mapped",[106]],[[119948,119948],"mapped",[107]],[[119949,119949],"mapped",[108]],[[119950,119950],"mapped",[109]],[[119951,119951],"mapped",[110]],[[119952,119952],"mapped",[111]],[[119953,119953],"mapped",[112]],[[119954,119954],"mapped",[113]],[[119955,119955],"mapped",[114]],[[119956,119956],"mapped",[115]],[[119957,119957],"mapped",[116]],[[119958,119958],"mapped",[117]],[[119959,119959],"mapped",[118]],[[119960,119960],"mapped",[119]],[[119961,119961],"mapped",[120]],[[119962,119962],"mapped",[121]],[[119963,119963],"mapped",[122]],[[119964,119964],"mapped",[97]],[[119965,119965],"disallowed"],[[119966,119966],"mapped",[99]],[[119967,119967],"mapped",[100]],[[119968,119969],"disallowed"],[[119970,119970],"mapped",[103]],[[119971,119972],"disallowed"],[[119973,119973],"mapped",[106]],[[119974,119974],"mapped",[107]],[[119975,119976],"disallowed"],[[119977,119977],"mapped",[110]],[[119978,119978],"mapped",[111]],[[119979,119979],"mapped",[112]],[[119980,119980],"mapped",[113]],[[119981,119981],"disallowed"],[[119982,119982],"mapped",[115]],[[119983,119983],"mapped",[116]],[[119984,119984],"mapped",[117]],[[119985,119985],"mapped",[118]],[[119986,119986],"mapped",[119]],[[119987,119987],"mapped",[120]],[[119988,119988],"mapped",[121]],[[119989,119989],"mapped",[122]],[[119990,119990],"mapped",[97]],[[119991,119991],"mapped",[98]],[[119992,119992],"mapped",[99]],[[119993,119993],"mapped",[100]],[[119994,119994],"disallowed"],[[119995,119995],"mapped",[102]],[[119996,119996],"disallowed"],[[119997,119997],"mapped",[104]],[[119998,119998],"mapped",[105]],[[119999,119999],"mapped",[106]],[[120000,120000],"mapped",[107]],[[120001,120001],"mapped",[108]],[[120002,120002],"mapped",[109]],[[120003,120003],"mapped",[110]],[[120004,120004],"disallowed"],[[120005,120005],"mapped",[112]],[[120006,120006],"mapped",[113]],[[120007,120007],"mapped",[114]],[[120008,120008],"mapped",[115]],[[120009,120009],"mapped",[116]],[[120010,120010],"mapped",[117]],[[120011,120011],"mapped",[118]],[[120012,120012],"mapped",[119]],[[120013,120013],"mapped",[120]],[[120014,120014],"mapped",[121]],[[120015,120015],"mapped",[122]],[[120016,120016],"mapped",[97]],[[120017,120017],"mapped",[98]],[[120018,120018],"mapped",[99]],[[120019,120019],"mapped",[100]],[[120020,120020],"mapped",[101]],[[120021,120021],"mapped",[102]],[[120022,120022],"mapped",[103]],[[120023,120023],"mapped",[104]],[[120024,120024],"mapped",[105]],[[120025,120025],"mapped",[106]],[[120026,120026],"mapped",[107]],[[120027,120027],"mapped",[108]],[[120028,120028],"mapped",[109]],[[120029,120029],"mapped",[110]],[[120030,120030],"mapped",[111]],[[120031,120031],"mapped",[112]],[[120032,120032],"mapped",[113]],[[120033,120033],"mapped",[114]],[[120034,120034],"mapped",[115]],[[120035,120035],"mapped",[116]],[[120036,120036],"mapped",[117]],[[120037,120037],"mapped",[118]],[[120038,120038],"mapped",[119]],[[120039,120039],"mapped",[120]],[[120040,120040],"mapped",[121]],[[120041,120041],"mapped",[122]],[[120042,120042],"mapped",[97]],[[120043,120043],"mapped",[98]],[[120044,120044],"mapped",[99]],[[120045,120045],"mapped",[100]],[[120046,120046],"mapped",[101]],[[120047,120047],"mapped",[102]],[[120048,120048],"mapped",[103]],[[120049,120049],"mapped",[104]],[[120050,120050],"mapped",[105]],[[120051,120051],"mapped",[106]],[[120052,120052],"mapped",[107]],[[120053,120053],"mapped",[108]],[[120054,120054],"mapped",[109]],[[120055,120055],"mapped",[110]],[[120056,120056],"mapped",[111]],[[120057,120057],"mapped",[112]],[[120058,120058],"mapped",[113]],[[120059,120059],"mapped",[114]],[[120060,120060],"mapped",[115]],[[120061,120061],"mapped",[116]],[[120062,120062],"mapped",[117]],[[120063,120063],"mapped",[118]],[[120064,120064],"mapped",[119]],[[120065,120065],"mapped",[120]],[[120066,120066],"mapped",[121]],[[120067,120067],"mapped",[122]],[[120068,120068],"mapped",[97]],[[120069,120069],"mapped",[98]],[[120070,120070],"disallowed"],[[120071,120071],"mapped",[100]],[[120072,120072],"mapped",[101]],[[120073,120073],"mapped",[102]],[[120074,120074],"mapped",[103]],[[120075,120076],"disallowed"],[[120077,120077],"mapped",[106]],[[120078,120078],"mapped",[107]],[[120079,120079],"mapped",[108]],[[120080,120080],"mapped",[109]],[[120081,120081],"mapped",[110]],[[120082,120082],"mapped",[111]],[[120083,120083],"mapped",[112]],[[120084,120084],"mapped",[113]],[[120085,120085],"disallowed"],[[120086,120086],"mapped",[115]],[[120087,120087],"mapped",[116]],[[120088,120088],"mapped",[117]],[[120089,120089],"mapped",[118]],[[120090,120090],"mapped",[119]],[[120091,120091],"mapped",[120]],[[120092,120092],"mapped",[121]],[[120093,120093],"disallowed"],[[120094,120094],"mapped",[97]],[[120095,120095],"mapped",[98]],[[120096,120096],"mapped",[99]],[[120097,120097],"mapped",[100]],[[120098,120098],"mapped",[101]],[[120099,120099],"mapped",[102]],[[120100,120100],"mapped",[103]],[[120101,120101],"mapped",[104]],[[120102,120102],"mapped",[105]],[[120103,120103],"mapped",[106]],[[120104,120104],"mapped",[107]],[[120105,120105],"mapped",[108]],[[120106,120106],"mapped",[109]],[[120107,120107],"mapped",[110]],[[120108,120108],"mapped",[111]],[[120109,120109],"mapped",[112]],[[120110,120110],"mapped",[113]],[[120111,120111],"mapped",[114]],[[120112,120112],"mapped",[115]],[[120113,120113],"mapped",[116]],[[120114,120114],"mapped",[117]],[[120115,120115],"mapped",[118]],[[120116,120116],"mapped",[119]],[[120117,120117],"mapped",[120]],[[120118,120118],"mapped",[121]],[[120119,120119],"mapped",[122]],[[120120,120120],"mapped",[97]],[[120121,120121],"mapped",[98]],[[120122,120122],"disallowed"],[[120123,120123],"mapped",[100]],[[120124,120124],"mapped",[101]],[[120125,120125],"mapped",[102]],[[120126,120126],"mapped",[103]],[[120127,120127],"disallowed"],[[120128,120128],"mapped",[105]],[[120129,120129],"mapped",[106]],[[120130,120130],"mapped",[107]],[[120131,120131],"mapped",[108]],[[120132,120132],"mapped",[109]],[[120133,120133],"disallowed"],[[120134,120134],"mapped",[111]],[[120135,120137],"disallowed"],[[120138,120138],"mapped",[115]],[[120139,120139],"mapped",[116]],[[120140,120140],"mapped",[117]],[[120141,120141],"mapped",[118]],[[120142,120142],"mapped",[119]],[[120143,120143],"mapped",[120]],[[120144,120144],"mapped",[121]],[[120145,120145],"disallowed"],[[120146,120146],"mapped",[97]],[[120147,120147],"mapped",[98]],[[120148,120148],"mapped",[99]],[[120149,120149],"mapped",[100]],[[120150,120150],"mapped",[101]],[[120151,120151],"mapped",[102]],[[120152,120152],"mapped",[103]],[[120153,120153],"mapped",[104]],[[120154,120154],"mapped",[105]],[[120155,120155],"mapped",[106]],[[120156,120156],"mapped",[107]],[[120157,120157],"mapped",[108]],[[120158,120158],"mapped",[109]],[[120159,120159],"mapped",[110]],[[120160,120160],"mapped",[111]],[[120161,120161],"mapped",[112]],[[120162,120162],"mapped",[113]],[[120163,120163],"mapped",[114]],[[120164,120164],"mapped",[115]],[[120165,120165],"mapped",[116]],[[120166,120166],"mapped",[117]],[[120167,120167],"mapped",[118]],[[120168,120168],"mapped",[119]],[[120169,120169],"mapped",[120]],[[120170,120170],"mapped",[121]],[[120171,120171],"mapped",[122]],[[120172,120172],"mapped",[97]],[[120173,120173],"mapped",[98]],[[120174,120174],"mapped",[99]],[[120175,120175],"mapped",[100]],[[120176,120176],"mapped",[101]],[[120177,120177],"mapped",[102]],[[120178,120178],"mapped",[103]],[[120179,120179],"mapped",[104]],[[120180,120180],"mapped",[105]],[[120181,120181],"mapped",[106]],[[120182,120182],"mapped",[107]],[[120183,120183],"mapped",[108]],[[120184,120184],"mapped",[109]],[[120185,120185],"mapped",[110]],[[120186,120186],"mapped",[111]],[[120187,120187],"mapped",[112]],[[120188,120188],"mapped",[113]],[[120189,120189],"mapped",[114]],[[120190,120190],"mapped",[115]],[[120191,120191],"mapped",[116]],[[120192,120192],"mapped",[117]],[[120193,120193],"mapped",[118]],[[120194,120194],"mapped",[119]],[[120195,120195],"mapped",[120]],[[120196,120196],"mapped",[121]],[[120197,120197],"mapped",[122]],[[120198,120198],"mapped",[97]],[[120199,120199],"mapped",[98]],[[120200,120200],"mapped",[99]],[[120201,120201],"mapped",[100]],[[120202,120202],"mapped",[101]],[[120203,120203],"mapped",[102]],[[120204,120204],"mapped",[103]],[[120205,120205],"mapped",[104]],[[120206,120206],"mapped",[105]],[[120207,120207],"mapped",[106]],[[120208,120208],"mapped",[107]],[[120209,120209],"mapped",[108]],[[120210,120210],"mapped",[109]],[[120211,120211],"mapped",[110]],[[120212,120212],"mapped",[111]],[[120213,120213],"mapped",[112]],[[120214,120214],"mapped",[113]],[[120215,120215],"mapped",[114]],[[120216,120216],"mapped",[115]],[[120217,120217],"mapped",[116]],[[120218,120218],"mapped",[117]],[[120219,120219],"mapped",[118]],[[120220,120220],"mapped",[119]],[[120221,120221],"mapped",[120]],[[120222,120222],"mapped",[121]],[[120223,120223],"mapped",[122]],[[120224,120224],"mapped",[97]],[[120225,120225],"mapped",[98]],[[120226,120226],"mapped",[99]],[[120227,120227],"mapped",[100]],[[120228,120228],"mapped",[101]],[[120229,120229],"mapped",[102]],[[120230,120230],"mapped",[103]],[[120231,120231],"mapped",[104]],[[120232,120232],"mapped",[105]],[[120233,120233],"mapped",[106]],[[120234,120234],"mapped",[107]],[[120235,120235],"mapped",[108]],[[120236,120236],"mapped",[109]],[[120237,120237],"mapped",[110]],[[120238,120238],"mapped",[111]],[[120239,120239],"mapped",[112]],[[120240,120240],"mapped",[113]],[[120241,120241],"mapped",[114]],[[120242,120242],"mapped",[115]],[[120243,120243],"mapped",[116]],[[120244,120244],"mapped",[117]],[[120245,120245],"mapped",[118]],[[120246,120246],"mapped",[119]],[[120247,120247],"mapped",[120]],[[120248,120248],"mapped",[121]],[[120249,120249],"mapped",[122]],[[120250,120250],"mapped",[97]],[[120251,120251],"mapped",[98]],[[120252,120252],"mapped",[99]],[[120253,120253],"mapped",[100]],[[120254,120254],"mapped",[101]],[[120255,120255],"mapped",[102]],[[120256,120256],"mapped",[103]],[[120257,120257],"mapped",[104]],[[120258,120258],"mapped",[105]],[[120259,120259],"mapped",[106]],[[120260,120260],"mapped",[107]],[[120261,120261],"mapped",[108]],[[120262,120262],"mapped",[109]],[[120263,120263],"mapped",[110]],[[120264,120264],"mapped",[111]],[[120265,120265],"mapped",[112]],[[120266,120266],"mapped",[113]],[[120267,120267],"mapped",[114]],[[120268,120268],"mapped",[115]],[[120269,120269],"mapped",[116]],[[120270,120270],"mapped",[117]],[[120271,120271],"mapped",[118]],[[120272,120272],"mapped",[119]],[[120273,120273],"mapped",[120]],[[120274,120274],"mapped",[121]],[[120275,120275],"mapped",[122]],[[120276,120276],"mapped",[97]],[[120277,120277],"mapped",[98]],[[120278,120278],"mapped",[99]],[[120279,120279],"mapped",[100]],[[120280,120280],"mapped",[101]],[[120281,120281],"mapped",[102]],[[120282,120282],"mapped",[103]],[[120283,120283],"mapped",[104]],[[120284,120284],"mapped",[105]],[[120285,120285],"mapped",[106]],[[120286,120286],"mapped",[107]],[[120287,120287],"mapped",[108]],[[120288,120288],"mapped",[109]],[[120289,120289],"mapped",[110]],[[120290,120290],"mapped",[111]],[[120291,120291],"mapped",[112]],[[120292,120292],"mapped",[113]],[[120293,120293],"mapped",[114]],[[120294,120294],"mapped",[115]],[[120295,120295],"mapped",[116]],[[120296,120296],"mapped",[117]],[[120297,120297],"mapped",[118]],[[120298,120298],"mapped",[119]],[[120299,120299],"mapped",[120]],[[120300,120300],"mapped",[121]],[[120301,120301],"mapped",[122]],[[120302,120302],"mapped",[97]],[[120303,120303],"mapped",[98]],[[120304,120304],"mapped",[99]],[[120305,120305],"mapped",[100]],[[120306,120306],"mapped",[101]],[[120307,120307],"mapped",[102]],[[120308,120308],"mapped",[103]],[[120309,120309],"mapped",[104]],[[120310,120310],"mapped",[105]],[[120311,120311],"mapped",[106]],[[120312,120312],"mapped",[107]],[[120313,120313],"mapped",[108]],[[120314,120314],"mapped",[109]],[[120315,120315],"mapped",[110]],[[120316,120316],"mapped",[111]],[[120317,120317],"mapped",[112]],[[120318,120318],"mapped",[113]],[[120319,120319],"mapped",[114]],[[120320,120320],"mapped",[115]],[[120321,120321],"mapped",[116]],[[120322,120322],"mapped",[117]],[[120323,120323],"mapped",[118]],[[120324,120324],"mapped",[119]],[[120325,120325],"mapped",[120]],[[120326,120326],"mapped",[121]],[[120327,120327],"mapped",[122]],[[120328,120328],"mapped",[97]],[[120329,120329],"mapped",[98]],[[120330,120330],"mapped",[99]],[[120331,120331],"mapped",[100]],[[120332,120332],"mapped",[101]],[[120333,120333],"mapped",[102]],[[120334,120334],"mapped",[103]],[[120335,120335],"mapped",[104]],[[120336,120336],"mapped",[105]],[[120337,120337],"mapped",[106]],[[120338,120338],"mapped",[107]],[[120339,120339],"mapped",[108]],[[120340,120340],"mapped",[109]],[[120341,120341],"mapped",[110]],[[120342,120342],"mapped",[111]],[[120343,120343],"mapped",[112]],[[120344,120344],"mapped",[113]],[[120345,120345],"mapped",[114]],[[120346,120346],"mapped",[115]],[[120347,120347],"mapped",[116]],[[120348,120348],"mapped",[117]],[[120349,120349],"mapped",[118]],[[120350,120350],"mapped",[119]],[[120351,120351],"mapped",[120]],[[120352,120352],"mapped",[121]],[[120353,120353],"mapped",[122]],[[120354,120354],"mapped",[97]],[[120355,120355],"mapped",[98]],[[120356,120356],"mapped",[99]],[[120357,120357],"mapped",[100]],[[120358,120358],"mapped",[101]],[[120359,120359],"mapped",[102]],[[120360,120360],"mapped",[103]],[[120361,120361],"mapped",[104]],[[120362,120362],"mapped",[105]],[[120363,120363],"mapped",[106]],[[120364,120364],"mapped",[107]],[[120365,120365],"mapped",[108]],[[120366,120366],"mapped",[109]],[[120367,120367],"mapped",[110]],[[120368,120368],"mapped",[111]],[[120369,120369],"mapped",[112]],[[120370,120370],"mapped",[113]],[[120371,120371],"mapped",[114]],[[120372,120372],"mapped",[115]],[[120373,120373],"mapped",[116]],[[120374,120374],"mapped",[117]],[[120375,120375],"mapped",[118]],[[120376,120376],"mapped",[119]],[[120377,120377],"mapped",[120]],[[120378,120378],"mapped",[121]],[[120379,120379],"mapped",[122]],[[120380,120380],"mapped",[97]],[[120381,120381],"mapped",[98]],[[120382,120382],"mapped",[99]],[[120383,120383],"mapped",[100]],[[120384,120384],"mapped",[101]],[[120385,120385],"mapped",[102]],[[120386,120386],"mapped",[103]],[[120387,120387],"mapped",[104]],[[120388,120388],"mapped",[105]],[[120389,120389],"mapped",[106]],[[120390,120390],"mapped",[107]],[[120391,120391],"mapped",[108]],[[120392,120392],"mapped",[109]],[[120393,120393],"mapped",[110]],[[120394,120394],"mapped",[111]],[[120395,120395],"mapped",[112]],[[120396,120396],"mapped",[113]],[[120397,120397],"mapped",[114]],[[120398,120398],"mapped",[115]],[[120399,120399],"mapped",[116]],[[120400,120400],"mapped",[117]],[[120401,120401],"mapped",[118]],[[120402,120402],"mapped",[119]],[[120403,120403],"mapped",[120]],[[120404,120404],"mapped",[121]],[[120405,120405],"mapped",[122]],[[120406,120406],"mapped",[97]],[[120407,120407],"mapped",[98]],[[120408,120408],"mapped",[99]],[[120409,120409],"mapped",[100]],[[120410,120410],"mapped",[101]],[[120411,120411],"mapped",[102]],[[120412,120412],"mapped",[103]],[[120413,120413],"mapped",[104]],[[120414,120414],"mapped",[105]],[[120415,120415],"mapped",[106]],[[120416,120416],"mapped",[107]],[[120417,120417],"mapped",[108]],[[120418,120418],"mapped",[109]],[[120419,120419],"mapped",[110]],[[120420,120420],"mapped",[111]],[[120421,120421],"mapped",[112]],[[120422,120422],"mapped",[113]],[[120423,120423],"mapped",[114]],[[120424,120424],"mapped",[115]],[[120425,120425],"mapped",[116]],[[120426,120426],"mapped",[117]],[[120427,120427],"mapped",[118]],[[120428,120428],"mapped",[119]],[[120429,120429],"mapped",[120]],[[120430,120430],"mapped",[121]],[[120431,120431],"mapped",[122]],[[120432,120432],"mapped",[97]],[[120433,120433],"mapped",[98]],[[120434,120434],"mapped",[99]],[[120435,120435],"mapped",[100]],[[120436,120436],"mapped",[101]],[[120437,120437],"mapped",[102]],[[120438,120438],"mapped",[103]],[[120439,120439],"mapped",[104]],[[120440,120440],"mapped",[105]],[[120441,120441],"mapped",[106]],[[120442,120442],"mapped",[107]],[[120443,120443],"mapped",[108]],[[120444,120444],"mapped",[109]],[[120445,120445],"mapped",[110]],[[120446,120446],"mapped",[111]],[[120447,120447],"mapped",[112]],[[120448,120448],"mapped",[113]],[[120449,120449],"mapped",[114]],[[120450,120450],"mapped",[115]],[[120451,120451],"mapped",[116]],[[120452,120452],"mapped",[117]],[[120453,120453],"mapped",[118]],[[120454,120454],"mapped",[119]],[[120455,120455],"mapped",[120]],[[120456,120456],"mapped",[121]],[[120457,120457],"mapped",[122]],[[120458,120458],"mapped",[97]],[[120459,120459],"mapped",[98]],[[120460,120460],"mapped",[99]],[[120461,120461],"mapped",[100]],[[120462,120462],"mapped",[101]],[[120463,120463],"mapped",[102]],[[120464,120464],"mapped",[103]],[[120465,120465],"mapped",[104]],[[120466,120466],"mapped",[105]],[[120467,120467],"mapped",[106]],[[120468,120468],"mapped",[107]],[[120469,120469],"mapped",[108]],[[120470,120470],"mapped",[109]],[[120471,120471],"mapped",[110]],[[120472,120472],"mapped",[111]],[[120473,120473],"mapped",[112]],[[120474,120474],"mapped",[113]],[[120475,120475],"mapped",[114]],[[120476,120476],"mapped",[115]],[[120477,120477],"mapped",[116]],[[120478,120478],"mapped",[117]],[[120479,120479],"mapped",[118]],[[120480,120480],"mapped",[119]],[[120481,120481],"mapped",[120]],[[120482,120482],"mapped",[121]],[[120483,120483],"mapped",[122]],[[120484,120484],"mapped",[305]],[[120485,120485],"mapped",[567]],[[120486,120487],"disallowed"],[[120488,120488],"mapped",[945]],[[120489,120489],"mapped",[946]],[[120490,120490],"mapped",[947]],[[120491,120491],"mapped",[948]],[[120492,120492],"mapped",[949]],[[120493,120493],"mapped",[950]],[[120494,120494],"mapped",[951]],[[120495,120495],"mapped",[952]],[[120496,120496],"mapped",[953]],[[120497,120497],"mapped",[954]],[[120498,120498],"mapped",[955]],[[120499,120499],"mapped",[956]],[[120500,120500],"mapped",[957]],[[120501,120501],"mapped",[958]],[[120502,120502],"mapped",[959]],[[120503,120503],"mapped",[960]],[[120504,120504],"mapped",[961]],[[120505,120505],"mapped",[952]],[[120506,120506],"mapped",[963]],[[120507,120507],"mapped",[964]],[[120508,120508],"mapped",[965]],[[120509,120509],"mapped",[966]],[[120510,120510],"mapped",[967]],[[120511,120511],"mapped",[968]],[[120512,120512],"mapped",[969]],[[120513,120513],"mapped",[8711]],[[120514,120514],"mapped",[945]],[[120515,120515],"mapped",[946]],[[120516,120516],"mapped",[947]],[[120517,120517],"mapped",[948]],[[120518,120518],"mapped",[949]],[[120519,120519],"mapped",[950]],[[120520,120520],"mapped",[951]],[[120521,120521],"mapped",[952]],[[120522,120522],"mapped",[953]],[[120523,120523],"mapped",[954]],[[120524,120524],"mapped",[955]],[[120525,120525],"mapped",[956]],[[120526,120526],"mapped",[957]],[[120527,120527],"mapped",[958]],[[120528,120528],"mapped",[959]],[[120529,120529],"mapped",[960]],[[120530,120530],"mapped",[961]],[[120531,120532],"mapped",[963]],[[120533,120533],"mapped",[964]],[[120534,120534],"mapped",[965]],[[120535,120535],"mapped",[966]],[[120536,120536],"mapped",[967]],[[120537,120537],"mapped",[968]],[[120538,120538],"mapped",[969]],[[120539,120539],"mapped",[8706]],[[120540,120540],"mapped",[949]],[[120541,120541],"mapped",[952]],[[120542,120542],"mapped",[954]],[[120543,120543],"mapped",[966]],[[120544,120544],"mapped",[961]],[[120545,120545],"mapped",[960]],[[120546,120546],"mapped",[945]],[[120547,120547],"mapped",[946]],[[120548,120548],"mapped",[947]],[[120549,120549],"mapped",[948]],[[120550,120550],"mapped",[949]],[[120551,120551],"mapped",[950]],[[120552,120552],"mapped",[951]],[[120553,120553],"mapped",[952]],[[120554,120554],"mapped",[953]],[[120555,120555],"mapped",[954]],[[120556,120556],"mapped",[955]],[[120557,120557],"mapped",[956]],[[120558,120558],"mapped",[957]],[[120559,120559],"mapped",[958]],[[120560,120560],"mapped",[959]],[[120561,120561],"mapped",[960]],[[120562,120562],"mapped",[961]],[[120563,120563],"mapped",[952]],[[120564,120564],"mapped",[963]],[[120565,120565],"mapped",[964]],[[120566,120566],"mapped",[965]],[[120567,120567],"mapped",[966]],[[120568,120568],"mapped",[967]],[[120569,120569],"mapped",[968]],[[120570,120570],"mapped",[969]],[[120571,120571],"mapped",[8711]],[[120572,120572],"mapped",[945]],[[120573,120573],"mapped",[946]],[[120574,120574],"mapped",[947]],[[120575,120575],"mapped",[948]],[[120576,120576],"mapped",[949]],[[120577,120577],"mapped",[950]],[[120578,120578],"mapped",[951]],[[120579,120579],"mapped",[952]],[[120580,120580],"mapped",[953]],[[120581,120581],"mapped",[954]],[[120582,120582],"mapped",[955]],[[120583,120583],"mapped",[956]],[[120584,120584],"mapped",[957]],[[120585,120585],"mapped",[958]],[[120586,120586],"mapped",[959]],[[120587,120587],"mapped",[960]],[[120588,120588],"mapped",[961]],[[120589,120590],"mapped",[963]],[[120591,120591],"mapped",[964]],[[120592,120592],"mapped",[965]],[[120593,120593],"mapped",[966]],[[120594,120594],"mapped",[967]],[[120595,120595],"mapped",[968]],[[120596,120596],"mapped",[969]],[[120597,120597],"mapped",[8706]],[[120598,120598],"mapped",[949]],[[120599,120599],"mapped",[952]],[[120600,120600],"mapped",[954]],[[120601,120601],"mapped",[966]],[[120602,120602],"mapped",[961]],[[120603,120603],"mapped",[960]],[[120604,120604],"mapped",[945]],[[120605,120605],"mapped",[946]],[[120606,120606],"mapped",[947]],[[120607,120607],"mapped",[948]],[[120608,120608],"mapped",[949]],[[120609,120609],"mapped",[950]],[[120610,120610],"mapped",[951]],[[120611,120611],"mapped",[952]],[[120612,120612],"mapped",[953]],[[120613,120613],"mapped",[954]],[[120614,120614],"mapped",[955]],[[120615,120615],"mapped",[956]],[[120616,120616],"mapped",[957]],[[120617,120617],"mapped",[958]],[[120618,120618],"mapped",[959]],[[120619,120619],"mapped",[960]],[[120620,120620],"mapped",[961]],[[120621,120621],"mapped",[952]],[[120622,120622],"mapped",[963]],[[120623,120623],"mapped",[964]],[[120624,120624],"mapped",[965]],[[120625,120625],"mapped",[966]],[[120626,120626],"mapped",[967]],[[120627,120627],"mapped",[968]],[[120628,120628],"mapped",[969]],[[120629,120629],"mapped",[8711]],[[120630,120630],"mapped",[945]],[[120631,120631],"mapped",[946]],[[120632,120632],"mapped",[947]],[[120633,120633],"mapped",[948]],[[120634,120634],"mapped",[949]],[[120635,120635],"mapped",[950]],[[120636,120636],"mapped",[951]],[[120637,120637],"mapped",[952]],[[120638,120638],"mapped",[953]],[[120639,120639],"mapped",[954]],[[120640,120640],"mapped",[955]],[[120641,120641],"mapped",[956]],[[120642,120642],"mapped",[957]],[[120643,120643],"mapped",[958]],[[120644,120644],"mapped",[959]],[[120645,120645],"mapped",[960]],[[120646,120646],"mapped",[961]],[[120647,120648],"mapped",[963]],[[120649,120649],"mapped",[964]],[[120650,120650],"mapped",[965]],[[120651,120651],"mapped",[966]],[[120652,120652],"mapped",[967]],[[120653,120653],"mapped",[968]],[[120654,120654],"mapped",[969]],[[120655,120655],"mapped",[8706]],[[120656,120656],"mapped",[949]],[[120657,120657],"mapped",[952]],[[120658,120658],"mapped",[954]],[[120659,120659],"mapped",[966]],[[120660,120660],"mapped",[961]],[[120661,120661],"mapped",[960]],[[120662,120662],"mapped",[945]],[[120663,120663],"mapped",[946]],[[120664,120664],"mapped",[947]],[[120665,120665],"mapped",[948]],[[120666,120666],"mapped",[949]],[[120667,120667],"mapped",[950]],[[120668,120668],"mapped",[951]],[[120669,120669],"mapped",[952]],[[120670,120670],"mapped",[953]],[[120671,120671],"mapped",[954]],[[120672,120672],"mapped",[955]],[[120673,120673],"mapped",[956]],[[120674,120674],"mapped",[957]],[[120675,120675],"mapped",[958]],[[120676,120676],"mapped",[959]],[[120677,120677],"mapped",[960]],[[120678,120678],"mapped",[961]],[[120679,120679],"mapped",[952]],[[120680,120680],"mapped",[963]],[[120681,120681],"mapped",[964]],[[120682,120682],"mapped",[965]],[[120683,120683],"mapped",[966]],[[120684,120684],"mapped",[967]],[[120685,120685],"mapped",[968]],[[120686,120686],"mapped",[969]],[[120687,120687],"mapped",[8711]],[[120688,120688],"mapped",[945]],[[120689,120689],"mapped",[946]],[[120690,120690],"mapped",[947]],[[120691,120691],"mapped",[948]],[[120692,120692],"mapped",[949]],[[120693,120693],"mapped",[950]],[[120694,120694],"mapped",[951]],[[120695,120695],"mapped",[952]],[[120696,120696],"mapped",[953]],[[120697,120697],"mapped",[954]],[[120698,120698],"mapped",[955]],[[120699,120699],"mapped",[956]],[[120700,120700],"mapped",[957]],[[120701,120701],"mapped",[958]],[[120702,120702],"mapped",[959]],[[120703,120703],"mapped",[960]],[[120704,120704],"mapped",[961]],[[120705,120706],"mapped",[963]],[[120707,120707],"mapped",[964]],[[120708,120708],"mapped",[965]],[[120709,120709],"mapped",[966]],[[120710,120710],"mapped",[967]],[[120711,120711],"mapped",[968]],[[120712,120712],"mapped",[969]],[[120713,120713],"mapped",[8706]],[[120714,120714],"mapped",[949]],[[120715,120715],"mapped",[952]],[[120716,120716],"mapped",[954]],[[120717,120717],"mapped",[966]],[[120718,120718],"mapped",[961]],[[120719,120719],"mapped",[960]],[[120720,120720],"mapped",[945]],[[120721,120721],"mapped",[946]],[[120722,120722],"mapped",[947]],[[120723,120723],"mapped",[948]],[[120724,120724],"mapped",[949]],[[120725,120725],"mapped",[950]],[[120726,120726],"mapped",[951]],[[120727,120727],"mapped",[952]],[[120728,120728],"mapped",[953]],[[120729,120729],"mapped",[954]],[[120730,120730],"mapped",[955]],[[120731,120731],"mapped",[956]],[[120732,120732],"mapped",[957]],[[120733,120733],"mapped",[958]],[[120734,120734],"mapped",[959]],[[120735,120735],"mapped",[960]],[[120736,120736],"mapped",[961]],[[120737,120737],"mapped",[952]],[[120738,120738],"mapped",[963]],[[120739,120739],"mapped",[964]],[[120740,120740],"mapped",[965]],[[120741,120741],"mapped",[966]],[[120742,120742],"mapped",[967]],[[120743,120743],"mapped",[968]],[[120744,120744],"mapped",[969]],[[120745,120745],"mapped",[8711]],[[120746,120746],"mapped",[945]],[[120747,120747],"mapped",[946]],[[120748,120748],"mapped",[947]],[[120749,120749],"mapped",[948]],[[120750,120750],"mapped",[949]],[[120751,120751],"mapped",[950]],[[120752,120752],"mapped",[951]],[[120753,120753],"mapped",[952]],[[120754,120754],"mapped",[953]],[[120755,120755],"mapped",[954]],[[120756,120756],"mapped",[955]],[[120757,120757],"mapped",[956]],[[120758,120758],"mapped",[957]],[[120759,120759],"mapped",[958]],[[120760,120760],"mapped",[959]],[[120761,120761],"mapped",[960]],[[120762,120762],"mapped",[961]],[[120763,120764],"mapped",[963]],[[120765,120765],"mapped",[964]],[[120766,120766],"mapped",[965]],[[120767,120767],"mapped",[966]],[[120768,120768],"mapped",[967]],[[120769,120769],"mapped",[968]],[[120770,120770],"mapped",[969]],[[120771,120771],"mapped",[8706]],[[120772,120772],"mapped",[949]],[[120773,120773],"mapped",[952]],[[120774,120774],"mapped",[954]],[[120775,120775],"mapped",[966]],[[120776,120776],"mapped",[961]],[[120777,120777],"mapped",[960]],[[120778,120779],"mapped",[989]],[[120780,120781],"disallowed"],[[120782,120782],"mapped",[48]],[[120783,120783],"mapped",[49]],[[120784,120784],"mapped",[50]],[[120785,120785],"mapped",[51]],[[120786,120786],"mapped",[52]],[[120787,120787],"mapped",[53]],[[120788,120788],"mapped",[54]],[[120789,120789],"mapped",[55]],[[120790,120790],"mapped",[56]],[[120791,120791],"mapped",[57]],[[120792,120792],"mapped",[48]],[[120793,120793],"mapped",[49]],[[120794,120794],"mapped",[50]],[[120795,120795],"mapped",[51]],[[120796,120796],"mapped",[52]],[[120797,120797],"mapped",[53]],[[120798,120798],"mapped",[54]],[[120799,120799],"mapped",[55]],[[120800,120800],"mapped",[56]],[[120801,120801],"mapped",[57]],[[120802,120802],"mapped",[48]],[[120803,120803],"mapped",[49]],[[120804,120804],"mapped",[50]],[[120805,120805],"mapped",[51]],[[120806,120806],"mapped",[52]],[[120807,120807],"mapped",[53]],[[120808,120808],"mapped",[54]],[[120809,120809],"mapped",[55]],[[120810,120810],"mapped",[56]],[[120811,120811],"mapped",[57]],[[120812,120812],"mapped",[48]],[[120813,120813],"mapped",[49]],[[120814,120814],"mapped",[50]],[[120815,120815],"mapped",[51]],[[120816,120816],"mapped",[52]],[[120817,120817],"mapped",[53]],[[120818,120818],"mapped",[54]],[[120819,120819],"mapped",[55]],[[120820,120820],"mapped",[56]],[[120821,120821],"mapped",[57]],[[120822,120822],"mapped",[48]],[[120823,120823],"mapped",[49]],[[120824,120824],"mapped",[50]],[[120825,120825],"mapped",[51]],[[120826,120826],"mapped",[52]],[[120827,120827],"mapped",[53]],[[120828,120828],"mapped",[54]],[[120829,120829],"mapped",[55]],[[120830,120830],"mapped",[56]],[[120831,120831],"mapped",[57]],[[120832,121343],"valid",[],"NV8"],[[121344,121398],"valid"],[[121399,121402],"valid",[],"NV8"],[[121403,121452],"valid"],[[121453,121460],"valid",[],"NV8"],[[121461,121461],"valid"],[[121462,121475],"valid",[],"NV8"],[[121476,121476],"valid"],[[121477,121483],"valid",[],"NV8"],[[121484,121498],"disallowed"],[[121499,121503],"valid"],[[121504,121504],"disallowed"],[[121505,121519],"valid"],[[121520,124927],"disallowed"],[[124928,125124],"valid"],[[125125,125126],"disallowed"],[[125127,125135],"valid",[],"NV8"],[[125136,125142],"valid"],[[125143,126463],"disallowed"],[[126464,126464],"mapped",[1575]],[[126465,126465],"mapped",[1576]],[[126466,126466],"mapped",[1580]],[[126467,126467],"mapped",[1583]],[[126468,126468],"disallowed"],[[126469,126469],"mapped",[1608]],[[126470,126470],"mapped",[1586]],[[126471,126471],"mapped",[1581]],[[126472,126472],"mapped",[1591]],[[126473,126473],"mapped",[1610]],[[126474,126474],"mapped",[1603]],[[126475,126475],"mapped",[1604]],[[126476,126476],"mapped",[1605]],[[126477,126477],"mapped",[1606]],[[126478,126478],"mapped",[1587]],[[126479,126479],"mapped",[1593]],[[126480,126480],"mapped",[1601]],[[126481,126481],"mapped",[1589]],[[126482,126482],"mapped",[1602]],[[126483,126483],"mapped",[1585]],[[126484,126484],"mapped",[1588]],[[126485,126485],"mapped",[1578]],[[126486,126486],"mapped",[1579]],[[126487,126487],"mapped",[1582]],[[126488,126488],"mapped",[1584]],[[126489,126489],"mapped",[1590]],[[126490,126490],"mapped",[1592]],[[126491,126491],"mapped",[1594]],[[126492,126492],"mapped",[1646]],[[126493,126493],"mapped",[1722]],[[126494,126494],"mapped",[1697]],[[126495,126495],"mapped",[1647]],[[126496,126496],"disallowed"],[[126497,126497],"mapped",[1576]],[[126498,126498],"mapped",[1580]],[[126499,126499],"disallowed"],[[126500,126500],"mapped",[1607]],[[126501,126502],"disallowed"],[[126503,126503],"mapped",[1581]],[[126504,126504],"disallowed"],[[126505,126505],"mapped",[1610]],[[126506,126506],"mapped",[1603]],[[126507,126507],"mapped",[1604]],[[126508,126508],"mapped",[1605]],[[126509,126509],"mapped",[1606]],[[126510,126510],"mapped",[1587]],[[126511,126511],"mapped",[1593]],[[126512,126512],"mapped",[1601]],[[126513,126513],"mapped",[1589]],[[126514,126514],"mapped",[1602]],[[126515,126515],"disallowed"],[[126516,126516],"mapped",[1588]],[[126517,126517],"mapped",[1578]],[[126518,126518],"mapped",[1579]],[[126519,126519],"mapped",[1582]],[[126520,126520],"disallowed"],[[126521,126521],"mapped",[1590]],[[126522,126522],"disallowed"],[[126523,126523],"mapped",[1594]],[[126524,126529],"disallowed"],[[126530,126530],"mapped",[1580]],[[126531,126534],"disallowed"],[[126535,126535],"mapped",[1581]],[[126536,126536],"disallowed"],[[126537,126537],"mapped",[1610]],[[126538,126538],"disallowed"],[[126539,126539],"mapped",[1604]],[[126540,126540],"disallowed"],[[126541,126541],"mapped",[1606]],[[126542,126542],"mapped",[1587]],[[126543,126543],"mapped",[1593]],[[126544,126544],"disallowed"],[[126545,126545],"mapped",[1589]],[[126546,126546],"mapped",[1602]],[[126547,126547],"disallowed"],[[126548,126548],"mapped",[1588]],[[126549,126550],"disallowed"],[[126551,126551],"mapped",[1582]],[[126552,126552],"disallowed"],[[126553,126553],"mapped",[1590]],[[126554,126554],"disallowed"],[[126555,126555],"mapped",[1594]],[[126556,126556],"disallowed"],[[126557,126557],"mapped",[1722]],[[126558,126558],"disallowed"],[[126559,126559],"mapped",[1647]],[[126560,126560],"disallowed"],[[126561,126561],"mapped",[1576]],[[126562,126562],"mapped",[1580]],[[126563,126563],"disallowed"],[[126564,126564],"mapped",[1607]],[[126565,126566],"disallowed"],[[126567,126567],"mapped",[1581]],[[126568,126568],"mapped",[1591]],[[126569,126569],"mapped",[1610]],[[126570,126570],"mapped",[1603]],[[126571,126571],"disallowed"],[[126572,126572],"mapped",[1605]],[[126573,126573],"mapped",[1606]],[[126574,126574],"mapped",[1587]],[[126575,126575],"mapped",[1593]],[[126576,126576],"mapped",[1601]],[[126577,126577],"mapped",[1589]],[[126578,126578],"mapped",[1602]],[[126579,126579],"disallowed"],[[126580,126580],"mapped",[1588]],[[126581,126581],"mapped",[1578]],[[126582,126582],"mapped",[1579]],[[126583,126583],"mapped",[1582]],[[126584,126584],"disallowed"],[[126585,126585],"mapped",[1590]],[[126586,126586],"mapped",[1592]],[[126587,126587],"mapped",[1594]],[[126588,126588],"mapped",[1646]],[[126589,126589],"disallowed"],[[126590,126590],"mapped",[1697]],[[126591,126591],"disallowed"],[[126592,126592],"mapped",[1575]],[[126593,126593],"mapped",[1576]],[[126594,126594],"mapped",[1580]],[[126595,126595],"mapped",[1583]],[[126596,126596],"mapped",[1607]],[[126597,126597],"mapped",[1608]],[[126598,126598],"mapped",[1586]],[[126599,126599],"mapped",[1581]],[[126600,126600],"mapped",[1591]],[[126601,126601],"mapped",[1610]],[[126602,126602],"disallowed"],[[126603,126603],"mapped",[1604]],[[126604,126604],"mapped",[1605]],[[126605,126605],"mapped",[1606]],[[126606,126606],"mapped",[1587]],[[126607,126607],"mapped",[1593]],[[126608,126608],"mapped",[1601]],[[126609,126609],"mapped",[1589]],[[126610,126610],"mapped",[1602]],[[126611,126611],"mapped",[1585]],[[126612,126612],"mapped",[1588]],[[126613,126613],"mapped",[1578]],[[126614,126614],"mapped",[1579]],[[126615,126615],"mapped",[1582]],[[126616,126616],"mapped",[1584]],[[126617,126617],"mapped",[1590]],[[126618,126618],"mapped",[1592]],[[126619,126619],"mapped",[1594]],[[126620,126624],"disallowed"],[[126625,126625],"mapped",[1576]],[[126626,126626],"mapped",[1580]],[[126627,126627],"mapped",[1583]],[[126628,126628],"disallowed"],[[126629,126629],"mapped",[1608]],[[126630,126630],"mapped",[1586]],[[126631,126631],"mapped",[1581]],[[126632,126632],"mapped",[1591]],[[126633,126633],"mapped",[1610]],[[126634,126634],"disallowed"],[[126635,126635],"mapped",[1604]],[[126636,126636],"mapped",[1605]],[[126637,126637],"mapped",[1606]],[[126638,126638],"mapped",[1587]],[[126639,126639],"mapped",[1593]],[[126640,126640],"mapped",[1601]],[[126641,126641],"mapped",[1589]],[[126642,126642],"mapped",[1602]],[[126643,126643],"mapped",[1585]],[[126644,126644],"mapped",[1588]],[[126645,126645],"mapped",[1578]],[[126646,126646],"mapped",[1579]],[[126647,126647],"mapped",[1582]],[[126648,126648],"mapped",[1584]],[[126649,126649],"mapped",[1590]],[[126650,126650],"mapped",[1592]],[[126651,126651],"mapped",[1594]],[[126652,126703],"disallowed"],[[126704,126705],"valid",[],"NV8"],[[126706,126975],"disallowed"],[[126976,127019],"valid",[],"NV8"],[[127020,127023],"disallowed"],[[127024,127123],"valid",[],"NV8"],[[127124,127135],"disallowed"],[[127136,127150],"valid",[],"NV8"],[[127151,127152],"disallowed"],[[127153,127166],"valid",[],"NV8"],[[127167,127167],"valid",[],"NV8"],[[127168,127168],"disallowed"],[[127169,127183],"valid",[],"NV8"],[[127184,127184],"disallowed"],[[127185,127199],"valid",[],"NV8"],[[127200,127221],"valid",[],"NV8"],[[127222,127231],"disallowed"],[[127232,127232],"disallowed"],[[127233,127233],"disallowed_STD3_mapped",[48,44]],[[127234,127234],"disallowed_STD3_mapped",[49,44]],[[127235,127235],"disallowed_STD3_mapped",[50,44]],[[127236,127236],"disallowed_STD3_mapped",[51,44]],[[127237,127237],"disallowed_STD3_mapped",[52,44]],[[127238,127238],"disallowed_STD3_mapped",[53,44]],[[127239,127239],"disallowed_STD3_mapped",[54,44]],[[127240,127240],"disallowed_STD3_mapped",[55,44]],[[127241,127241],"disallowed_STD3_mapped",[56,44]],[[127242,127242],"disallowed_STD3_mapped",[57,44]],[[127243,127244],"valid",[],"NV8"],[[127245,127247],"disallowed"],[[127248,127248],"disallowed_STD3_mapped",[40,97,41]],[[127249,127249],"disallowed_STD3_mapped",[40,98,41]],[[127250,127250],"disallowed_STD3_mapped",[40,99,41]],[[127251,127251],"disallowed_STD3_mapped",[40,100,41]],[[127252,127252],"disallowed_STD3_mapped",[40,101,41]],[[127253,127253],"disallowed_STD3_mapped",[40,102,41]],[[127254,127254],"disallowed_STD3_mapped",[40,103,41]],[[127255,127255],"disallowed_STD3_mapped",[40,104,41]],[[127256,127256],"disallowed_STD3_mapped",[40,105,41]],[[127257,127257],"disallowed_STD3_mapped",[40,106,41]],[[127258,127258],"disallowed_STD3_mapped",[40,107,41]],[[127259,127259],"disallowed_STD3_mapped",[40,108,41]],[[127260,127260],"disallowed_STD3_mapped",[40,109,41]],[[127261,127261],"disallowed_STD3_mapped",[40,110,41]],[[127262,127262],"disallowed_STD3_mapped",[40,111,41]],[[127263,127263],"disallowed_STD3_mapped",[40,112,41]],[[127264,127264],"disallowed_STD3_mapped",[40,113,41]],[[127265,127265],"disallowed_STD3_mapped",[40,114,41]],[[127266,127266],"disallowed_STD3_mapped",[40,115,41]],[[127267,127267],"disallowed_STD3_mapped",[40,116,41]],[[127268,127268],"disallowed_STD3_mapped",[40,117,41]],[[127269,127269],"disallowed_STD3_mapped",[40,118,41]],[[127270,127270],"disallowed_STD3_mapped",[40,119,41]],[[127271,127271],"disallowed_STD3_mapped",[40,120,41]],[[127272,127272],"disallowed_STD3_mapped",[40,121,41]],[[127273,127273],"disallowed_STD3_mapped",[40,122,41]],[[127274,127274],"mapped",[12308,115,12309]],[[127275,127275],"mapped",[99]],[[127276,127276],"mapped",[114]],[[127277,127277],"mapped",[99,100]],[[127278,127278],"mapped",[119,122]],[[127279,127279],"disallowed"],[[127280,127280],"mapped",[97]],[[127281,127281],"mapped",[98]],[[127282,127282],"mapped",[99]],[[127283,127283],"mapped",[100]],[[127284,127284],"mapped",[101]],[[127285,127285],"mapped",[102]],[[127286,127286],"mapped",[103]],[[127287,127287],"mapped",[104]],[[127288,127288],"mapped",[105]],[[127289,127289],"mapped",[106]],[[127290,127290],"mapped",[107]],[[127291,127291],"mapped",[108]],[[127292,127292],"mapped",[109]],[[127293,127293],"mapped",[110]],[[127294,127294],"mapped",[111]],[[127295,127295],"mapped",[112]],[[127296,127296],"mapped",[113]],[[127297,127297],"mapped",[114]],[[127298,127298],"mapped",[115]],[[127299,127299],"mapped",[116]],[[127300,127300],"mapped",[117]],[[127301,127301],"mapped",[118]],[[127302,127302],"mapped",[119]],[[127303,127303],"mapped",[120]],[[127304,127304],"mapped",[121]],[[127305,127305],"mapped",[122]],[[127306,127306],"mapped",[104,118]],[[127307,127307],"mapped",[109,118]],[[127308,127308],"mapped",[115,100]],[[127309,127309],"mapped",[115,115]],[[127310,127310],"mapped",[112,112,118]],[[127311,127311],"mapped",[119,99]],[[127312,127318],"valid",[],"NV8"],[[127319,127319],"valid",[],"NV8"],[[127320,127326],"valid",[],"NV8"],[[127327,127327],"valid",[],"NV8"],[[127328,127337],"valid",[],"NV8"],[[127338,127338],"mapped",[109,99]],[[127339,127339],"mapped",[109,100]],[[127340,127343],"disallowed"],[[127344,127352],"valid",[],"NV8"],[[127353,127353],"valid",[],"NV8"],[[127354,127354],"valid",[],"NV8"],[[127355,127356],"valid",[],"NV8"],[[127357,127358],"valid",[],"NV8"],[[127359,127359],"valid",[],"NV8"],[[127360,127369],"valid",[],"NV8"],[[127370,127373],"valid",[],"NV8"],[[127374,127375],"valid",[],"NV8"],[[127376,127376],"mapped",[100,106]],[[127377,127386],"valid",[],"NV8"],[[127387,127461],"disallowed"],[[127462,127487],"valid",[],"NV8"],[[127488,127488],"mapped",[12411,12363]],[[127489,127489],"mapped",[12467,12467]],[[127490,127490],"mapped",[12469]],[[127491,127503],"disallowed"],[[127504,127504],"mapped",[25163]],[[127505,127505],"mapped",[23383]],[[127506,127506],"mapped",[21452]],[[127507,127507],"mapped",[12487]],[[127508,127508],"mapped",[20108]],[[127509,127509],"mapped",[22810]],[[127510,127510],"mapped",[35299]],[[127511,127511],"mapped",[22825]],[[127512,127512],"mapped",[20132]],[[127513,127513],"mapped",[26144]],[[127514,127514],"mapped",[28961]],[[127515,127515],"mapped",[26009]],[[127516,127516],"mapped",[21069]],[[127517,127517],"mapped",[24460]],[[127518,127518],"mapped",[20877]],[[127519,127519],"mapped",[26032]],[[127520,127520],"mapped",[21021]],[[127521,127521],"mapped",[32066]],[[127522,127522],"mapped",[29983]],[[127523,127523],"mapped",[36009]],[[127524,127524],"mapped",[22768]],[[127525,127525],"mapped",[21561]],[[127526,127526],"mapped",[28436]],[[127527,127527],"mapped",[25237]],[[127528,127528],"mapped",[25429]],[[127529,127529],"mapped",[19968]],[[127530,127530],"mapped",[19977]],[[127531,127531],"mapped",[36938]],[[127532,127532],"mapped",[24038]],[[127533,127533],"mapped",[20013]],[[127534,127534],"mapped",[21491]],[[127535,127535],"mapped",[25351]],[[127536,127536],"mapped",[36208]],[[127537,127537],"mapped",[25171]],[[127538,127538],"mapped",[31105]],[[127539,127539],"mapped",[31354]],[[127540,127540],"mapped",[21512]],[[127541,127541],"mapped",[28288]],[[127542,127542],"mapped",[26377]],[[127543,127543],"mapped",[26376]],[[127544,127544],"mapped",[30003]],[[127545,127545],"mapped",[21106]],[[127546,127546],"mapped",[21942]],[[127547,127551],"disallowed"],[[127552,127552],"mapped",[12308,26412,12309]],[[127553,127553],"mapped",[12308,19977,12309]],[[127554,127554],"mapped",[12308,20108,12309]],[[127555,127555],"mapped",[12308,23433,12309]],[[127556,127556],"mapped",[12308,28857,12309]],[[127557,127557],"mapped",[12308,25171,12309]],[[127558,127558],"mapped",[12308,30423,12309]],[[127559,127559],"mapped",[12308,21213,12309]],[[127560,127560],"mapped",[12308,25943,12309]],[[127561,127567],"disallowed"],[[127568,127568],"mapped",[24471]],[[127569,127569],"mapped",[21487]],[[127570,127743],"disallowed"],[[127744,127776],"valid",[],"NV8"],[[127777,127788],"valid",[],"NV8"],[[127789,127791],"valid",[],"NV8"],[[127792,127797],"valid",[],"NV8"],[[127798,127798],"valid",[],"NV8"],[[127799,127868],"valid",[],"NV8"],[[127869,127869],"valid",[],"NV8"],[[127870,127871],"valid",[],"NV8"],[[127872,127891],"valid",[],"NV8"],[[127892,127903],"valid",[],"NV8"],[[127904,127940],"valid",[],"NV8"],[[127941,127941],"valid",[],"NV8"],[[127942,127946],"valid",[],"NV8"],[[127947,127950],"valid",[],"NV8"],[[127951,127955],"valid",[],"NV8"],[[127956,127967],"valid",[],"NV8"],[[127968,127984],"valid",[],"NV8"],[[127985,127991],"valid",[],"NV8"],[[127992,127999],"valid",[],"NV8"],[[128000,128062],"valid",[],"NV8"],[[128063,128063],"valid",[],"NV8"],[[128064,128064],"valid",[],"NV8"],[[128065,128065],"valid",[],"NV8"],[[128066,128247],"valid",[],"NV8"],[[128248,128248],"valid",[],"NV8"],[[128249,128252],"valid",[],"NV8"],[[128253,128254],"valid",[],"NV8"],[[128255,128255],"valid",[],"NV8"],[[128256,128317],"valid",[],"NV8"],[[128318,128319],"valid",[],"NV8"],[[128320,128323],"valid",[],"NV8"],[[128324,128330],"valid",[],"NV8"],[[128331,128335],"valid",[],"NV8"],[[128336,128359],"valid",[],"NV8"],[[128360,128377],"valid",[],"NV8"],[[128378,128378],"disallowed"],[[128379,128419],"valid",[],"NV8"],[[128420,128420],"disallowed"],[[128421,128506],"valid",[],"NV8"],[[128507,128511],"valid",[],"NV8"],[[128512,128512],"valid",[],"NV8"],[[128513,128528],"valid",[],"NV8"],[[128529,128529],"valid",[],"NV8"],[[128530,128532],"valid",[],"NV8"],[[128533,128533],"valid",[],"NV8"],[[128534,128534],"valid",[],"NV8"],[[128535,128535],"valid",[],"NV8"],[[128536,128536],"valid",[],"NV8"],[[128537,128537],"valid",[],"NV8"],[[128538,128538],"valid",[],"NV8"],[[128539,128539],"valid",[],"NV8"],[[128540,128542],"valid",[],"NV8"],[[128543,128543],"valid",[],"NV8"],[[128544,128549],"valid",[],"NV8"],[[128550,128551],"valid",[],"NV8"],[[128552,128555],"valid",[],"NV8"],[[128556,128556],"valid",[],"NV8"],[[128557,128557],"valid",[],"NV8"],[[128558,128559],"valid",[],"NV8"],[[128560,128563],"valid",[],"NV8"],[[128564,128564],"valid",[],"NV8"],[[128565,128576],"valid",[],"NV8"],[[128577,128578],"valid",[],"NV8"],[[128579,128580],"valid",[],"NV8"],[[128581,128591],"valid",[],"NV8"],[[128592,128639],"valid",[],"NV8"],[[128640,128709],"valid",[],"NV8"],[[128710,128719],"valid",[],"NV8"],[[128720,128720],"valid",[],"NV8"],[[128721,128735],"disallowed"],[[128736,128748],"valid",[],"NV8"],[[128749,128751],"disallowed"],[[128752,128755],"valid",[],"NV8"],[[128756,128767],"disallowed"],[[128768,128883],"valid",[],"NV8"],[[128884,128895],"disallowed"],[[128896,128980],"valid",[],"NV8"],[[128981,129023],"disallowed"],[[129024,129035],"valid",[],"NV8"],[[129036,129039],"disallowed"],[[129040,129095],"valid",[],"NV8"],[[129096,129103],"disallowed"],[[129104,129113],"valid",[],"NV8"],[[129114,129119],"disallowed"],[[129120,129159],"valid",[],"NV8"],[[129160,129167],"disallowed"],[[129168,129197],"valid",[],"NV8"],[[129198,129295],"disallowed"],[[129296,129304],"valid",[],"NV8"],[[129305,129407],"disallowed"],[[129408,129412],"valid",[],"NV8"],[[129413,129471],"disallowed"],[[129472,129472],"valid",[],"NV8"],[[129473,131069],"disallowed"],[[131070,131071],"disallowed"],[[131072,173782],"valid"],[[173783,173823],"disallowed"],[[173824,177972],"valid"],[[177973,177983],"disallowed"],[[177984,178205],"valid"],[[178206,178207],"disallowed"],[[178208,183969],"valid"],[[183970,194559],"disallowed"],[[194560,194560],"mapped",[20029]],[[194561,194561],"mapped",[20024]],[[194562,194562],"mapped",[20033]],[[194563,194563],"mapped",[131362]],[[194564,194564],"mapped",[20320]],[[194565,194565],"mapped",[20398]],[[194566,194566],"mapped",[20411]],[[194567,194567],"mapped",[20482]],[[194568,194568],"mapped",[20602]],[[194569,194569],"mapped",[20633]],[[194570,194570],"mapped",[20711]],[[194571,194571],"mapped",[20687]],[[194572,194572],"mapped",[13470]],[[194573,194573],"mapped",[132666]],[[194574,194574],"mapped",[20813]],[[194575,194575],"mapped",[20820]],[[194576,194576],"mapped",[20836]],[[194577,194577],"mapped",[20855]],[[194578,194578],"mapped",[132380]],[[194579,194579],"mapped",[13497]],[[194580,194580],"mapped",[20839]],[[194581,194581],"mapped",[20877]],[[194582,194582],"mapped",[132427]],[[194583,194583],"mapped",[20887]],[[194584,194584],"mapped",[20900]],[[194585,194585],"mapped",[20172]],[[194586,194586],"mapped",[20908]],[[194587,194587],"mapped",[20917]],[[194588,194588],"mapped",[168415]],[[194589,194589],"mapped",[20981]],[[194590,194590],"mapped",[20995]],[[194591,194591],"mapped",[13535]],[[194592,194592],"mapped",[21051]],[[194593,194593],"mapped",[21062]],[[194594,194594],"mapped",[21106]],[[194595,194595],"mapped",[21111]],[[194596,194596],"mapped",[13589]],[[194597,194597],"mapped",[21191]],[[194598,194598],"mapped",[21193]],[[194599,194599],"mapped",[21220]],[[194600,194600],"mapped",[21242]],[[194601,194601],"mapped",[21253]],[[194602,194602],"mapped",[21254]],[[194603,194603],"mapped",[21271]],[[194604,194604],"mapped",[21321]],[[194605,194605],"mapped",[21329]],[[194606,194606],"mapped",[21338]],[[194607,194607],"mapped",[21363]],[[194608,194608],"mapped",[21373]],[[194609,194611],"mapped",[21375]],[[194612,194612],"mapped",[133676]],[[194613,194613],"mapped",[28784]],[[194614,194614],"mapped",[21450]],[[194615,194615],"mapped",[21471]],[[194616,194616],"mapped",[133987]],[[194617,194617],"mapped",[21483]],[[194618,194618],"mapped",[21489]],[[194619,194619],"mapped",[21510]],[[194620,194620],"mapped",[21662]],[[194621,194621],"mapped",[21560]],[[194622,194622],"mapped",[21576]],[[194623,194623],"mapped",[21608]],[[194624,194624],"mapped",[21666]],[[194625,194625],"mapped",[21750]],[[194626,194626],"mapped",[21776]],[[194627,194627],"mapped",[21843]],[[194628,194628],"mapped",[21859]],[[194629,194630],"mapped",[21892]],[[194631,194631],"mapped",[21913]],[[194632,194632],"mapped",[21931]],[[194633,194633],"mapped",[21939]],[[194634,194634],"mapped",[21954]],[[194635,194635],"mapped",[22294]],[[194636,194636],"mapped",[22022]],[[194637,194637],"mapped",[22295]],[[194638,194638],"mapped",[22097]],[[194639,194639],"mapped",[22132]],[[194640,194640],"mapped",[20999]],[[194641,194641],"mapped",[22766]],[[194642,194642],"mapped",[22478]],[[194643,194643],"mapped",[22516]],[[194644,194644],"mapped",[22541]],[[194645,194645],"mapped",[22411]],[[194646,194646],"mapped",[22578]],[[194647,194647],"mapped",[22577]],[[194648,194648],"mapped",[22700]],[[194649,194649],"mapped",[136420]],[[194650,194650],"mapped",[22770]],[[194651,194651],"mapped",[22775]],[[194652,194652],"mapped",[22790]],[[194653,194653],"mapped",[22810]],[[194654,194654],"mapped",[22818]],[[194655,194655],"mapped",[22882]],[[194656,194656],"mapped",[136872]],[[194657,194657],"mapped",[136938]],[[194658,194658],"mapped",[23020]],[[194659,194659],"mapped",[23067]],[[194660,194660],"mapped",[23079]],[[194661,194661],"mapped",[23000]],[[194662,194662],"mapped",[23142]],[[194663,194663],"mapped",[14062]],[[194664,194664],"disallowed"],[[194665,194665],"mapped",[23304]],[[194666,194667],"mapped",[23358]],[[194668,194668],"mapped",[137672]],[[194669,194669],"mapped",[23491]],[[194670,194670],"mapped",[23512]],[[194671,194671],"mapped",[23527]],[[194672,194672],"mapped",[23539]],[[194673,194673],"mapped",[138008]],[[194674,194674],"mapped",[23551]],[[194675,194675],"mapped",[23558]],[[194676,194676],"disallowed"],[[194677,194677],"mapped",[23586]],[[194678,194678],"mapped",[14209]],[[194679,194679],"mapped",[23648]],[[194680,194680],"mapped",[23662]],[[194681,194681],"mapped",[23744]],[[194682,194682],"mapped",[23693]],[[194683,194683],"mapped",[138724]],[[194684,194684],"mapped",[23875]],[[194685,194685],"mapped",[138726]],[[194686,194686],"mapped",[23918]],[[194687,194687],"mapped",[23915]],[[194688,194688],"mapped",[23932]],[[194689,194689],"mapped",[24033]],[[194690,194690],"mapped",[24034]],[[194691,194691],"mapped",[14383]],[[194692,194692],"mapped",[24061]],[[194693,194693],"mapped",[24104]],[[194694,194694],"mapped",[24125]],[[194695,194695],"mapped",[24169]],[[194696,194696],"mapped",[14434]],[[194697,194697],"mapped",[139651]],[[194698,194698],"mapped",[14460]],[[194699,194699],"mapped",[24240]],[[194700,194700],"mapped",[24243]],[[194701,194701],"mapped",[24246]],[[194702,194702],"mapped",[24266]],[[194703,194703],"mapped",[172946]],[[194704,194704],"mapped",[24318]],[[194705,194706],"mapped",[140081]],[[194707,194707],"mapped",[33281]],[[194708,194709],"mapped",[24354]],[[194710,194710],"mapped",[14535]],[[194711,194711],"mapped",[144056]],[[194712,194712],"mapped",[156122]],[[194713,194713],"mapped",[24418]],[[194714,194714],"mapped",[24427]],[[194715,194715],"mapped",[14563]],[[194716,194716],"mapped",[24474]],[[194717,194717],"mapped",[24525]],[[194718,194718],"mapped",[24535]],[[194719,194719],"mapped",[24569]],[[194720,194720],"mapped",[24705]],[[194721,194721],"mapped",[14650]],[[194722,194722],"mapped",[14620]],[[194723,194723],"mapped",[24724]],[[194724,194724],"mapped",[141012]],[[194725,194725],"mapped",[24775]],[[194726,194726],"mapped",[24904]],[[194727,194727],"mapped",[24908]],[[194728,194728],"mapped",[24910]],[[194729,194729],"mapped",[24908]],[[194730,194730],"mapped",[24954]],[[194731,194731],"mapped",[24974]],[[194732,194732],"mapped",[25010]],[[194733,194733],"mapped",[24996]],[[194734,194734],"mapped",[25007]],[[194735,194735],"mapped",[25054]],[[194736,194736],"mapped",[25074]],[[194737,194737],"mapped",[25078]],[[194738,194738],"mapped",[25104]],[[194739,194739],"mapped",[25115]],[[194740,194740],"mapped",[25181]],[[194741,194741],"mapped",[25265]],[[194742,194742],"mapped",[25300]],[[194743,194743],"mapped",[25424]],[[194744,194744],"mapped",[142092]],[[194745,194745],"mapped",[25405]],[[194746,194746],"mapped",[25340]],[[194747,194747],"mapped",[25448]],[[194748,194748],"mapped",[25475]],[[194749,194749],"mapped",[25572]],[[194750,194750],"mapped",[142321]],[[194751,194751],"mapped",[25634]],[[194752,194752],"mapped",[25541]],[[194753,194753],"mapped",[25513]],[[194754,194754],"mapped",[14894]],[[194755,194755],"mapped",[25705]],[[194756,194756],"mapped",[25726]],[[194757,194757],"mapped",[25757]],[[194758,194758],"mapped",[25719]],[[194759,194759],"mapped",[14956]],[[194760,194760],"mapped",[25935]],[[194761,194761],"mapped",[25964]],[[194762,194762],"mapped",[143370]],[[194763,194763],"mapped",[26083]],[[194764,194764],"mapped",[26360]],[[194765,194765],"mapped",[26185]],[[194766,194766],"mapped",[15129]],[[194767,194767],"mapped",[26257]],[[194768,194768],"mapped",[15112]],[[194769,194769],"mapped",[15076]],[[194770,194770],"mapped",[20882]],[[194771,194771],"mapped",[20885]],[[194772,194772],"mapped",[26368]],[[194773,194773],"mapped",[26268]],[[194774,194774],"mapped",[32941]],[[194775,194775],"mapped",[17369]],[[194776,194776],"mapped",[26391]],[[194777,194777],"mapped",[26395]],[[194778,194778],"mapped",[26401]],[[194779,194779],"mapped",[26462]],[[194780,194780],"mapped",[26451]],[[194781,194781],"mapped",[144323]],[[194782,194782],"mapped",[15177]],[[194783,194783],"mapped",[26618]],[[194784,194784],"mapped",[26501]],[[194785,194785],"mapped",[26706]],[[194786,194786],"mapped",[26757]],[[194787,194787],"mapped",[144493]],[[194788,194788],"mapped",[26766]],[[194789,194789],"mapped",[26655]],[[194790,194790],"mapped",[26900]],[[194791,194791],"mapped",[15261]],[[194792,194792],"mapped",[26946]],[[194793,194793],"mapped",[27043]],[[194794,194794],"mapped",[27114]],[[194795,194795],"mapped",[27304]],[[194796,194796],"mapped",[145059]],[[194797,194797],"mapped",[27355]],[[194798,194798],"mapped",[15384]],[[194799,194799],"mapped",[27425]],[[194800,194800],"mapped",[145575]],[[194801,194801],"mapped",[27476]],[[194802,194802],"mapped",[15438]],[[194803,194803],"mapped",[27506]],[[194804,194804],"mapped",[27551]],[[194805,194805],"mapped",[27578]],[[194806,194806],"mapped",[27579]],[[194807,194807],"mapped",[146061]],[[194808,194808],"mapped",[138507]],[[194809,194809],"mapped",[146170]],[[194810,194810],"mapped",[27726]],[[194811,194811],"mapped",[146620]],[[194812,194812],"mapped",[27839]],[[194813,194813],"mapped",[27853]],[[194814,194814],"mapped",[27751]],[[194815,194815],"mapped",[27926]],[[194816,194816],"mapped",[27966]],[[194817,194817],"mapped",[28023]],[[194818,194818],"mapped",[27969]],[[194819,194819],"mapped",[28009]],[[194820,194820],"mapped",[28024]],[[194821,194821],"mapped",[28037]],[[194822,194822],"mapped",[146718]],[[194823,194823],"mapped",[27956]],[[194824,194824],"mapped",[28207]],[[194825,194825],"mapped",[28270]],[[194826,194826],"mapped",[15667]],[[194827,194827],"mapped",[28363]],[[194828,194828],"mapped",[28359]],[[194829,194829],"mapped",[147153]],[[194830,194830],"mapped",[28153]],[[194831,194831],"mapped",[28526]],[[194832,194832],"mapped",[147294]],[[194833,194833],"mapped",[147342]],[[194834,194834],"mapped",[28614]],[[194835,194835],"mapped",[28729]],[[194836,194836],"mapped",[28702]],[[194837,194837],"mapped",[28699]],[[194838,194838],"mapped",[15766]],[[194839,194839],"mapped",[28746]],[[194840,194840],"mapped",[28797]],[[194841,194841],"mapped",[28791]],[[194842,194842],"mapped",[28845]],[[194843,194843],"mapped",[132389]],[[194844,194844],"mapped",[28997]],[[194845,194845],"mapped",[148067]],[[194846,194846],"mapped",[29084]],[[194847,194847],"disallowed"],[[194848,194848],"mapped",[29224]],[[194849,194849],"mapped",[29237]],[[194850,194850],"mapped",[29264]],[[194851,194851],"mapped",[149000]],[[194852,194852],"mapped",[29312]],[[194853,194853],"mapped",[29333]],[[194854,194854],"mapped",[149301]],[[194855,194855],"mapped",[149524]],[[194856,194856],"mapped",[29562]],[[194857,194857],"mapped",[29579]],[[194858,194858],"mapped",[16044]],[[194859,194859],"mapped",[29605]],[[194860,194861],"mapped",[16056]],[[194862,194862],"mapped",[29767]],[[194863,194863],"mapped",[29788]],[[194864,194864],"mapped",[29809]],[[194865,194865],"mapped",[29829]],[[194866,194866],"mapped",[29898]],[[194867,194867],"mapped",[16155]],[[194868,194868],"mapped",[29988]],[[194869,194869],"mapped",[150582]],[[194870,194870],"mapped",[30014]],[[194871,194871],"mapped",[150674]],[[194872,194872],"mapped",[30064]],[[194873,194873],"mapped",[139679]],[[194874,194874],"mapped",[30224]],[[194875,194875],"mapped",[151457]],[[194876,194876],"mapped",[151480]],[[194877,194877],"mapped",[151620]],[[194878,194878],"mapped",[16380]],[[194879,194879],"mapped",[16392]],[[194880,194880],"mapped",[30452]],[[194881,194881],"mapped",[151795]],[[194882,194882],"mapped",[151794]],[[194883,194883],"mapped",[151833]],[[194884,194884],"mapped",[151859]],[[194885,194885],"mapped",[30494]],[[194886,194887],"mapped",[30495]],[[194888,194888],"mapped",[30538]],[[194889,194889],"mapped",[16441]],[[194890,194890],"mapped",[30603]],[[194891,194891],"mapped",[16454]],[[194892,194892],"mapped",[16534]],[[194893,194893],"mapped",[152605]],[[194894,194894],"mapped",[30798]],[[194895,194895],"mapped",[30860]],[[194896,194896],"mapped",[30924]],[[194897,194897],"mapped",[16611]],[[194898,194898],"mapped",[153126]],[[194899,194899],"mapped",[31062]],[[194900,194900],"mapped",[153242]],[[194901,194901],"mapped",[153285]],[[194902,194902],"mapped",[31119]],[[194903,194903],"mapped",[31211]],[[194904,194904],"mapped",[16687]],[[194905,194905],"mapped",[31296]],[[194906,194906],"mapped",[31306]],[[194907,194907],"mapped",[31311]],[[194908,194908],"mapped",[153980]],[[194909,194910],"mapped",[154279]],[[194911,194911],"disallowed"],[[194912,194912],"mapped",[16898]],[[194913,194913],"mapped",[154539]],[[194914,194914],"mapped",[31686]],[[194915,194915],"mapped",[31689]],[[194916,194916],"mapped",[16935]],[[194917,194917],"mapped",[154752]],[[194918,194918],"mapped",[31954]],[[194919,194919],"mapped",[17056]],[[194920,194920],"mapped",[31976]],[[194921,194921],"mapped",[31971]],[[194922,194922],"mapped",[32000]],[[194923,194923],"mapped",[155526]],[[194924,194924],"mapped",[32099]],[[194925,194925],"mapped",[17153]],[[194926,194926],"mapped",[32199]],[[194927,194927],"mapped",[32258]],[[194928,194928],"mapped",[32325]],[[194929,194929],"mapped",[17204]],[[194930,194930],"mapped",[156200]],[[194931,194931],"mapped",[156231]],[[194932,194932],"mapped",[17241]],[[194933,194933],"mapped",[156377]],[[194934,194934],"mapped",[32634]],[[194935,194935],"mapped",[156478]],[[194936,194936],"mapped",[32661]],[[194937,194937],"mapped",[32762]],[[194938,194938],"mapped",[32773]],[[194939,194939],"mapped",[156890]],[[194940,194940],"mapped",[156963]],[[194941,194941],"mapped",[32864]],[[194942,194942],"mapped",[157096]],[[194943,194943],"mapped",[32880]],[[194944,194944],"mapped",[144223]],[[194945,194945],"mapped",[17365]],[[194946,194946],"mapped",[32946]],[[194947,194947],"mapped",[33027]],[[194948,194948],"mapped",[17419]],[[194949,194949],"mapped",[33086]],[[194950,194950],"mapped",[23221]],[[194951,194951],"mapped",[157607]],[[194952,194952],"mapped",[157621]],[[194953,194953],"mapped",[144275]],[[194954,194954],"mapped",[144284]],[[194955,194955],"mapped",[33281]],[[194956,194956],"mapped",[33284]],[[194957,194957],"mapped",[36766]],[[194958,194958],"mapped",[17515]],[[194959,194959],"mapped",[33425]],[[194960,194960],"mapped",[33419]],[[194961,194961],"mapped",[33437]],[[194962,194962],"mapped",[21171]],[[194963,194963],"mapped",[33457]],[[194964,194964],"mapped",[33459]],[[194965,194965],"mapped",[33469]],[[194966,194966],"mapped",[33510]],[[194967,194967],"mapped",[158524]],[[194968,194968],"mapped",[33509]],[[194969,194969],"mapped",[33565]],[[194970,194970],"mapped",[33635]],[[194971,194971],"mapped",[33709]],[[194972,194972],"mapped",[33571]],[[194973,194973],"mapped",[33725]],[[194974,194974],"mapped",[33767]],[[194975,194975],"mapped",[33879]],[[194976,194976],"mapped",[33619]],[[194977,194977],"mapped",[33738]],[[194978,194978],"mapped",[33740]],[[194979,194979],"mapped",[33756]],[[194980,194980],"mapped",[158774]],[[194981,194981],"mapped",[159083]],[[194982,194982],"mapped",[158933]],[[194983,194983],"mapped",[17707]],[[194984,194984],"mapped",[34033]],[[194985,194985],"mapped",[34035]],[[194986,194986],"mapped",[34070]],[[194987,194987],"mapped",[160714]],[[194988,194988],"mapped",[34148]],[[194989,194989],"mapped",[159532]],[[194990,194990],"mapped",[17757]],[[194991,194991],"mapped",[17761]],[[194992,194992],"mapped",[159665]],[[194993,194993],"mapped",[159954]],[[194994,194994],"mapped",[17771]],[[194995,194995],"mapped",[34384]],[[194996,194996],"mapped",[34396]],[[194997,194997],"mapped",[34407]],[[194998,194998],"mapped",[34409]],[[194999,194999],"mapped",[34473]],[[195000,195000],"mapped",[34440]],[[195001,195001],"mapped",[34574]],[[195002,195002],"mapped",[34530]],[[195003,195003],"mapped",[34681]],[[195004,195004],"mapped",[34600]],[[195005,195005],"mapped",[34667]],[[195006,195006],"mapped",[34694]],[[195007,195007],"disallowed"],[[195008,195008],"mapped",[34785]],[[195009,195009],"mapped",[34817]],[[195010,195010],"mapped",[17913]],[[195011,195011],"mapped",[34912]],[[195012,195012],"mapped",[34915]],[[195013,195013],"mapped",[161383]],[[195014,195014],"mapped",[35031]],[[195015,195015],"mapped",[35038]],[[195016,195016],"mapped",[17973]],[[195017,195017],"mapped",[35066]],[[195018,195018],"mapped",[13499]],[[195019,195019],"mapped",[161966]],[[195020,195020],"mapped",[162150]],[[195021,195021],"mapped",[18110]],[[195022,195022],"mapped",[18119]],[[195023,195023],"mapped",[35488]],[[195024,195024],"mapped",[35565]],[[195025,195025],"mapped",[35722]],[[195026,195026],"mapped",[35925]],[[195027,195027],"mapped",[162984]],[[195028,195028],"mapped",[36011]],[[195029,195029],"mapped",[36033]],[[195030,195030],"mapped",[36123]],[[195031,195031],"mapped",[36215]],[[195032,195032],"mapped",[163631]],[[195033,195033],"mapped",[133124]],[[195034,195034],"mapped",[36299]],[[195035,195035],"mapped",[36284]],[[195036,195036],"mapped",[36336]],[[195037,195037],"mapped",[133342]],[[195038,195038],"mapped",[36564]],[[195039,195039],"mapped",[36664]],[[195040,195040],"mapped",[165330]],[[195041,195041],"mapped",[165357]],[[195042,195042],"mapped",[37012]],[[195043,195043],"mapped",[37105]],[[195044,195044],"mapped",[37137]],[[195045,195045],"mapped",[165678]],[[195046,195046],"mapped",[37147]],[[195047,195047],"mapped",[37432]],[[195048,195048],"mapped",[37591]],[[195049,195049],"mapped",[37592]],[[195050,195050],"mapped",[37500]],[[195051,195051],"mapped",[37881]],[[195052,195052],"mapped",[37909]],[[195053,195053],"mapped",[166906]],[[195054,195054],"mapped",[38283]],[[195055,195055],"mapped",[18837]],[[195056,195056],"mapped",[38327]],[[195057,195057],"mapped",[167287]],[[195058,195058],"mapped",[18918]],[[195059,195059],"mapped",[38595]],[[195060,195060],"mapped",[23986]],[[195061,195061],"mapped",[38691]],[[195062,195062],"mapped",[168261]],[[195063,195063],"mapped",[168474]],[[195064,195064],"mapped",[19054]],[[195065,195065],"mapped",[19062]],[[195066,195066],"mapped",[38880]],[[195067,195067],"mapped",[168970]],[[195068,195068],"mapped",[19122]],[[195069,195069],"mapped",[169110]],[[195070,195071],"mapped",[38923]],[[195072,195072],"mapped",[38953]],[[195073,195073],"mapped",[169398]],[[195074,195074],"mapped",[39138]],[[195075,195075],"mapped",[19251]],[[195076,195076],"mapped",[39209]],[[195077,195077],"mapped",[39335]],[[195078,195078],"mapped",[39362]],[[195079,195079],"mapped",[39422]],[[195080,195080],"mapped",[19406]],[[195081,195081],"mapped",[170800]],[[195082,195082],"mapped",[39698]],[[195083,195083],"mapped",[40000]],[[195084,195084],"mapped",[40189]],[[195085,195085],"mapped",[19662]],[[195086,195086],"mapped",[19693]],[[195087,195087],"mapped",[40295]],[[195088,195088],"mapped",[172238]],[[195089,195089],"mapped",[19704]],[[195090,195090],"mapped",[172293]],[[195091,195091],"mapped",[172558]],[[195092,195092],"mapped",[172689]],[[195093,195093],"mapped",[40635]],[[195094,195094],"mapped",[19798]],[[195095,195095],"mapped",[40697]],[[195096,195096],"mapped",[40702]],[[195097,195097],"mapped",[40709]],[[195098,195098],"mapped",[40719]],[[195099,195099],"mapped",[40726]],[[195100,195100],"mapped",[40763]],[[195101,195101],"mapped",[173568]],[[195102,196605],"disallowed"],[[196606,196607],"disallowed"],[[196608,262141],"disallowed"],[[262142,262143],"disallowed"],[[262144,327677],"disallowed"],[[327678,327679],"disallowed"],[[327680,393213],"disallowed"],[[393214,393215],"disallowed"],[[393216,458749],"disallowed"],[[458750,458751],"disallowed"],[[458752,524285],"disallowed"],[[524286,524287],"disallowed"],[[524288,589821],"disallowed"],[[589822,589823],"disallowed"],[[589824,655357],"disallowed"],[[655358,655359],"disallowed"],[[655360,720893],"disallowed"],[[720894,720895],"disallowed"],[[720896,786429],"disallowed"],[[786430,786431],"disallowed"],[[786432,851965],"disallowed"],[[851966,851967],"disallowed"],[[851968,917501],"disallowed"],[[917502,917503],"disallowed"],[[917504,917504],"disallowed"],[[917505,917505],"disallowed"],[[917506,917535],"disallowed"],[[917536,917631],"disallowed"],[[917632,917759],"disallowed"],[[917760,917999],"ignored"],[[918000,983037],"disallowed"],[[983038,983039],"disallowed"],[[983040,1048573],"disallowed"],[[1048574,1048575],"disallowed"],[[1048576,1114109],"disallowed"],[[1114110,1114111],"disallowed"]]'); + const decodeText = __webpack_require__(494), RE_ENCODED = /%[a-fA-F0-9][a-fA-F0-9]/g, EncodedLookup = { + "%00": "\0", + "%01": "", + "%02": "", + "%03": "", + "%04": "", + "%05": "", + "%06": "", + "%07": "", + "%08": "\b", + "%09": "\t", + "%0a": "\n", + "%0A": "\n", + "%0b": "\v", + "%0B": "\v", + "%0c": "\f", + "%0C": "\f", + "%0d": "\r", + "%0D": "\r", + "%0e": "", + "%0E": "", + "%0f": "", + "%0F": "", + "%10": "", + "%11": "", + "%12": "", + "%13": "", + "%14": "", + "%15": "", + "%16": "", + "%17": "", + "%18": "", + "%19": "", + "%1a": "", + "%1A": "", + "%1b": "", + "%1B": "", + "%1c": "", + "%1C": "", + "%1d": "", + "%1D": "", + "%1e": "", + "%1E": "", + "%1f": "", + "%1F": "", + "%20": " ", + "%21": "!", + "%22": '"', + "%23": "#", + "%24": "$", + "%25": "%", + "%26": "&", + "%27": "'", + "%28": "(", + "%29": ")", + "%2a": "*", + "%2A": "*", + "%2b": "+", + "%2B": "+", + "%2c": ",", + "%2C": ",", + "%2d": "-", + "%2D": "-", + "%2e": ".", + "%2E": ".", + "%2f": "/", + "%2F": "/", + "%30": "0", + "%31": "1", + "%32": "2", + "%33": "3", + "%34": "4", + "%35": "5", + "%36": "6", + "%37": "7", + "%38": "8", + "%39": "9", + "%3a": ":", + "%3A": ":", + "%3b": ";", + "%3B": ";", + "%3c": "<", + "%3C": "<", + "%3d": "=", + "%3D": "=", + "%3e": ">", + "%3E": ">", + "%3f": "?", + "%3F": "?", + "%40": "@", + "%41": "A", + "%42": "B", + "%43": "C", + "%44": "D", + "%45": "E", + "%46": "F", + "%47": "G", + "%48": "H", + "%49": "I", + "%4a": "J", + "%4A": "J", + "%4b": "K", + "%4B": "K", + "%4c": "L", + "%4C": "L", + "%4d": "M", + "%4D": "M", + "%4e": "N", + "%4E": "N", + "%4f": "O", + "%4F": "O", + "%50": "P", + "%51": "Q", + "%52": "R", + "%53": "S", + "%54": "T", + "%55": "U", + "%56": "V", + "%57": "W", + "%58": "X", + "%59": "Y", + "%5a": "Z", + "%5A": "Z", + "%5b": "[", + "%5B": "[", + "%5c": "\\", + "%5C": "\\", + "%5d": "]", + "%5D": "]", + "%5e": "^", + "%5E": "^", + "%5f": "_", + "%5F": "_", + "%60": "`", + "%61": "a", + "%62": "b", + "%63": "c", + "%64": "d", + "%65": "e", + "%66": "f", + "%67": "g", + "%68": "h", + "%69": "i", + "%6a": "j", + "%6A": "j", + "%6b": "k", + "%6B": "k", + "%6c": "l", + "%6C": "l", + "%6d": "m", + "%6D": "m", + "%6e": "n", + "%6E": "n", + "%6f": "o", + "%6F": "o", + "%70": "p", + "%71": "q", + "%72": "r", + "%73": "s", + "%74": "t", + "%75": "u", + "%76": "v", + "%77": "w", + "%78": "x", + "%79": "y", + "%7a": "z", + "%7A": "z", + "%7b": "{", + "%7B": "{", + "%7c": "|", + "%7C": "|", + "%7d": "}", + "%7D": "}", + "%7e": "~", + "%7E": "~", + "%7f": "", + "%7F": "", + "%80": "€", + "%81": "", + "%82": "‚", + "%83": "ƒ", + "%84": "„", + "%85": "…", + "%86": "†", + "%87": "‡", + "%88": "ˆ", + "%89": "‰", + "%8a": "Š", + "%8A": "Š", + "%8b": "‹", + "%8B": "‹", + "%8c": "Œ", + "%8C": "Œ", + "%8d": "", + "%8D": "", + "%8e": "Ž", + "%8E": "Ž", + "%8f": "", + "%8F": "", + "%90": "", + "%91": "‘", + "%92": "’", + "%93": "“", + "%94": "”", + "%95": "•", + "%96": "–", + "%97": "—", + "%98": "˜", + "%99": "™", + "%9a": "š", + "%9A": "š", + "%9b": "›", + "%9B": "›", + "%9c": "œ", + "%9C": "œ", + "%9d": "", + "%9D": "", + "%9e": "ž", + "%9E": "ž", + "%9f": "Ÿ", + "%9F": "Ÿ", + "%a0": " ", + "%A0": " ", + "%a1": "¡", + "%A1": "¡", + "%a2": "¢", + "%A2": "¢", + "%a3": "£", + "%A3": "£", + "%a4": "¤", + "%A4": "¤", + "%a5": "¥", + "%A5": "¥", + "%a6": "¦", + "%A6": "¦", + "%a7": "§", + "%A7": "§", + "%a8": "¨", + "%A8": "¨", + "%a9": "©", + "%A9": "©", + "%aa": "ª", + "%Aa": "ª", + "%aA": "ª", + "%AA": "ª", + "%ab": "«", + "%Ab": "«", + "%aB": "«", + "%AB": "«", + "%ac": "¬", + "%Ac": "¬", + "%aC": "¬", + "%AC": "¬", + "%ad": "­", + "%Ad": "­", + "%aD": "­", + "%AD": "­", + "%ae": "®", + "%Ae": "®", + "%aE": "®", + "%AE": "®", + "%af": "¯", + "%Af": "¯", + "%aF": "¯", + "%AF": "¯", + "%b0": "°", + "%B0": "°", + "%b1": "±", + "%B1": "±", + "%b2": "²", + "%B2": "²", + "%b3": "³", + "%B3": "³", + "%b4": "´", + "%B4": "´", + "%b5": "µ", + "%B5": "µ", + "%b6": "¶", + "%B6": "¶", + "%b7": "·", + "%B7": "·", + "%b8": "¸", + "%B8": "¸", + "%b9": "¹", + "%B9": "¹", + "%ba": "º", + "%Ba": "º", + "%bA": "º", + "%BA": "º", + "%bb": "»", + "%Bb": "»", + "%bB": "»", + "%BB": "»", + "%bc": "¼", + "%Bc": "¼", + "%bC": "¼", + "%BC": "¼", + "%bd": "½", + "%Bd": "½", + "%bD": "½", + "%BD": "½", + "%be": "¾", + "%Be": "¾", + "%bE": "¾", + "%BE": "¾", + "%bf": "¿", + "%Bf": "¿", + "%bF": "¿", + "%BF": "¿", + "%c0": "À", + "%C0": "À", + "%c1": "Á", + "%C1": "Á", + "%c2": "Â", + "%C2": "Â", + "%c3": "Ã", + "%C3": "Ã", + "%c4": "Ä", + "%C4": "Ä", + "%c5": "Å", + "%C5": "Å", + "%c6": "Æ", + "%C6": "Æ", + "%c7": "Ç", + "%C7": "Ç", + "%c8": "È", + "%C8": "È", + "%c9": "É", + "%C9": "É", + "%ca": "Ê", + "%Ca": "Ê", + "%cA": "Ê", + "%CA": "Ê", + "%cb": "Ë", + "%Cb": "Ë", + "%cB": "Ë", + "%CB": "Ë", + "%cc": "Ì", + "%Cc": "Ì", + "%cC": "Ì", + "%CC": "Ì", + "%cd": "Í", + "%Cd": "Í", + "%cD": "Í", + "%CD": "Í", + "%ce": "Î", + "%Ce": "Î", + "%cE": "Î", + "%CE": "Î", + "%cf": "Ï", + "%Cf": "Ï", + "%cF": "Ï", + "%CF": "Ï", + "%d0": "Ð", + "%D0": "Ð", + "%d1": "Ñ", + "%D1": "Ñ", + "%d2": "Ò", + "%D2": "Ò", + "%d3": "Ó", + "%D3": "Ó", + "%d4": "Ô", + "%D4": "Ô", + "%d5": "Õ", + "%D5": "Õ", + "%d6": "Ö", + "%D6": "Ö", + "%d7": "×", + "%D7": "×", + "%d8": "Ø", + "%D8": "Ø", + "%d9": "Ù", + "%D9": "Ù", + "%da": "Ú", + "%Da": "Ú", + "%dA": "Ú", + "%DA": "Ú", + "%db": "Û", + "%Db": "Û", + "%dB": "Û", + "%DB": "Û", + "%dc": "Ü", + "%Dc": "Ü", + "%dC": "Ü", + "%DC": "Ü", + "%dd": "Ý", + "%Dd": "Ý", + "%dD": "Ý", + "%DD": "Ý", + "%de": "Þ", + "%De": "Þ", + "%dE": "Þ", + "%DE": "Þ", + "%df": "ß", + "%Df": "ß", + "%dF": "ß", + "%DF": "ß", + "%e0": "à", + "%E0": "à", + "%e1": "á", + "%E1": "á", + "%e2": "â", + "%E2": "â", + "%e3": "ã", + "%E3": "ã", + "%e4": "ä", + "%E4": "ä", + "%e5": "å", + "%E5": "å", + "%e6": "æ", + "%E6": "æ", + "%e7": "ç", + "%E7": "ç", + "%e8": "è", + "%E8": "è", + "%e9": "é", + "%E9": "é", + "%ea": "ê", + "%Ea": "ê", + "%eA": "ê", + "%EA": "ê", + "%eb": "ë", + "%Eb": "ë", + "%eB": "ë", + "%EB": "ë", + "%ec": "ì", + "%Ec": "ì", + "%eC": "ì", + "%EC": "ì", + "%ed": "í", + "%Ed": "í", + "%eD": "í", + "%ED": "í", + "%ee": "î", + "%Ee": "î", + "%eE": "î", + "%EE": "î", + "%ef": "ï", + "%Ef": "ï", + "%eF": "ï", + "%EF": "ï", + "%f0": "ð", + "%F0": "ð", + "%f1": "ñ", + "%F1": "ñ", + "%f2": "ò", + "%F2": "ò", + "%f3": "ó", + "%F3": "ó", + "%f4": "ô", + "%F4": "ô", + "%f5": "õ", + "%F5": "õ", + "%f6": "ö", + "%F6": "ö", + "%f7": "÷", + "%F7": "÷", + "%f8": "ø", + "%F8": "ø", + "%f9": "ù", + "%F9": "ù", + "%fa": "ú", + "%Fa": "ú", + "%fA": "ú", + "%FA": "ú", + "%fb": "û", + "%Fb": "û", + "%fB": "û", + "%FB": "û", + "%fc": "ü", + "%Fc": "ü", + "%fC": "ü", + "%FC": "ü", + "%fd": "ý", + "%Fd": "ý", + "%fD": "ý", + "%FD": "ý", + "%fe": "þ", + "%Fe": "þ", + "%fE": "þ", + "%FE": "þ", + "%ff": "ÿ", + "%Ff": "ÿ", + "%fF": "ÿ", + "%FF": "ÿ" + }; + function encodedReplacer(match) { + return EncodedLookup[match]; + } + module.exports = function(str) { + const res = []; + let state = 0, charset = "", inquote = !1, escaping = !1, p = 0, tmp = ""; + const len = str.length; + for (var i = 0; i < len; ++i) { + const char = str[i]; + if ("\\" === char && inquote) { + if (!escaping) { + escaping = !0; + continue; + } + escaping = !1; + } else if ('"' === char) { + if (!escaping) { + inquote ? (inquote = !1, state = 0) : inquote = !0; + continue; + } + escaping = !1; + } else { + if (escaping && inquote && (tmp += "\\"), escaping = !1, (2 === state || 3 === state) && "'" === char) { + 2 === state ? (state = 3, charset = tmp.substring(1)) : state = 1, tmp = ""; + continue; + } + if (0 === state && ("*" === char || "=" === char) && res.length) { + state = "*" === char ? 2 : 1, res[p] = [ tmp, void 0 ], tmp = ""; + continue; + } + if (!inquote && ";" === char) { + state = 0, charset ? (tmp.length && (tmp = decodeText(tmp.replace(RE_ENCODED, encodedReplacer), "binary", charset)), + charset = "") : tmp.length && (tmp = decodeText(tmp, "binary", "utf8")), void 0 === res[p] ? res[p] = tmp : res[p][1] = tmp, + tmp = "", ++p; + continue; + } + if (!inquote && (" " === char || "\t" === char)) continue; + } + tmp += char; + } + return charset && tmp.length ? tmp = decodeText(tmp.replace(RE_ENCODED, encodedReplacer), "binary", charset) : tmp && (tmp = decodeText(tmp, "binary", "utf8")), + void 0 === res[p] ? tmp && (res[p] = tmp) : res[p][1] = tmp, res; + }; } }, __webpack_module_cache__ = {}; function __webpack_require__(moduleId) { @@ -45622,6 +49740,19 @@ return __webpack_require__.d(getter, { a: getter }), getter; + }, getProto = Object.getPrototypeOf ? obj => Object.getPrototypeOf(obj) : obj => obj.__proto__, + __webpack_require__.t = function(value, mode) { + if (1 & mode && (value = this(value)), 8 & mode) return value; + if ("object" == typeof value && value) { + if (4 & mode && value.__esModule) return value; + if (16 & mode && "function" == typeof value.then) return value; + } + var ns = Object.create(null); + __webpack_require__.r(ns); + var def = {}; + leafPrototypes = leafPrototypes || [ null, getProto({}), getProto([]), getProto(getProto) ]; + for (var current = 2 & mode && value; "object" == typeof current && !~leafPrototypes.indexOf(current); current = getProto(current)) Object.getOwnPropertyNames(current).forEach((key => def[key] = () => value[key])); + return def.default = () => value, __webpack_require__.d(ns, def), ns; }, __webpack_require__.d = (exports, definition) => { for (var key in definition) __webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key) && Object.defineProperty(exports, key, { enumerable: !0, @@ -45634,6 +49765,6 @@ }), Object.defineProperty(exports, "__esModule", { value: !0 }); - }, __webpack_require__(6116); + }, __webpack_require__(1718); })())); //# sourceMappingURL=cache-action-entrypoint.js.map \ No newline at end of file diff --git a/dist/cache-action-entrypoint.js.LICENSE.txt b/dist/cache-action-entrypoint.js.LICENSE.txt index 32c1d4e..c250215 100644 --- a/dist/cache-action-entrypoint.js.LICENSE.txt +++ b/dist/cache-action-entrypoint.js.LICENSE.txt @@ -1,108 +1,3 @@ -/*! - * Copyright (c) 2015, Salesforce.com, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - * 3. Neither the name of Salesforce.com nor the names of its contributors may - * be used to endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ +/*! formdata-polyfill. MIT License. Jimmy Wärting */ -/*! - * Copyright (c) 2015-2020, Salesforce.com, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - * 3. Neither the name of Salesforce.com nor the names of its contributors may - * be used to endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -/*! - * Copyright (c) 2018, Salesforce.com, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - * 3. Neither the name of Salesforce.com nor the names of its contributors may - * be used to endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -/*! - * mime-db - * Copyright(c) 2014 Jonathan Ong - * Copyright(c) 2015-2022 Douglas Christopher Wilson - * MIT Licensed - */ - -/*! - * mime-types - * Copyright(c) 2014 Jonathan Ong - * Copyright(c) 2015 Douglas Christopher Wilson - * MIT Licensed - */ - -/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */ +/*! ws. MIT License. Einar Otto Stangvik */ diff --git a/dist/cache-action-entrypoint.js.map b/dist/cache-action-entrypoint.js.map index 4ee2f74..3c27e4e 100644 --- a/dist/cache-action-entrypoint.js.map +++ b/dist/cache-action-entrypoint.js.map @@ -1 +1 @@ -{"version":3,"file":"cache-action-entrypoint.js","mappings":";CAAA,SAA2CA,MAAMC;CAC1B,m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A,QACA,iBACA,UACA,QACA,sBACA,oBACA,6BACA,gBACA,sBACA,oBACA,gCACA,uBACA,oBACA,qBACA,cACA,iCACA,yBACA,iBACA,qBACA,YACA,qBACA,iBACA,uBACA,oBACA,gCACA,6BACA,qBACA,uBACA,2BACA,2BACA,mCACA,iCACA,+BACA,iCACA,8BACA,8BACA,4BACA,yBACA,0BACA,2BACA,6BACA,kBACA,kCACA,sBACA,iCACA,yBACA,8BACA,uCACA,6BACA,8BACA,8BACA,8BACA,yBACA,qBACA,2BACA,uBACA,iBACA,mBACA,mBACA,0BACA,8BACA,2BACA,+BACA,iBACA,2BACA,wBACA,iCACA,6BACA,mCACA,kBACA,8BACA,gBACA,yBAGWC,2CAA2C,EACtD,QACA,cACA,QACA,QACA,QACA,QACA,QACA,MACA,MACA,OACA,MACA,OACA,MACA,OACA,MACA,MACA,MACA,WACA,UACA,UACA,UACA,WACA,WACA,iBACA,aACA,gBACA,OACA,SACA,OACA,OACA,SACA,OACA,cASWC,iBAAiB,EAC5B,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA;GC/HK,SAASC,cAAcn2C;IAC5B,MAAMo2C,YAAY9qC,WAAWxN,MAAMkC;IAEnC,IAAInP,OAAOulD,UAAU7pC;IAMrB,OALA1b,OAAOA,QAAQ,KAEfA,OA2IO6jD,mBA3IO7jD,MA4IX6D,QAAQ,QAAQ,KAChBA,QAAQ,MAAM,OACdA,QAAQ,OAAO,OACfA,QAAQ,QAAQ;IA9InB0hD,UAAUnqC,QAAQpb,OAEXulD,UAAUvqD;AACnB;GA2BO,SAASwqD,qBACdC,kBACAC;IAQA,MAAMC,WAAWF,iBAAiBj7C,MAAM;IACxC,KAAK,MAAMoqB,WAAW+wB,UACpB,IAAI/wB,QAAQlrB,OAAO2J,WAAWqyC,WAC5B,OAAO9wB,QAAQlrB,OAAO+G,MAAMi1C,WAAW,SAAU;IAGrD,OAAO;AAC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qB,IAE1D,iCAA8C;IAClDz0B,MAAM;IACNg1C,YAAY;IACZC,WAAW;KACT,KAAK;MACHC,eAAe;;KAEjBC,SAAS;MACPC,YAAY;MACZF,eAAe;;;IAGnBI,iBAAiB,EAAC;IAClBC,eAAe,EAAC;IAChBC,kBAAkB,EAChB,SACA,WACA,SACA,eACA,UACA,SACA,iBACA,mBACA,eACA,qBACA,qBACA,SACA,aACA,QACA,kBACA,iBACA,gBACA,qBACA,qBACA,wBACA,0BACA,wBACA,iBACA,gBACA,Y9E06CyC;KAC3ChH,eAAe;KACfnd,QAAQ;MACN8B,cAAc;MACdD,aAAY;MACZD,gBAAgB;MAChBpzB,MAAM;OACJxC,MAAM;;;;I8E96CV8zB,QAAO;IACPsD,YAAY;MAERyjD,2BAAmD;IACvDl4E,MAAM;IACNg1C,YAAY;IACZC,WAAW;KACT,KAAK;MACHC,eAAe;;KAEjBC,SAAS;MACPC,YAAY;MACZF,eAAe;;;IAGnBG,aAAa;IACbC,iBAAiB,EAAC,kBAA6B;IAC/CC,eAAe,EAAC;IAChBC,kBAAkB,EAChB,SACA,WACA,eACA,SACA,iBACA,mBACA,eACA,qBACA,qBACA,SACA,aACA,QACA,iBACA,yBACA,2BACA,cACA,SACA,SACA;IAEFC,WAAW;IACXhhB;MAEI2jD,kCAA0D;IAC9Dp4E,MAAM;IACNg1C,YAAY;IACZC,WAAW;KACT,KAAK;MACHC,eAAe;;KAEjBC,SAAS;MACPC,YAAY;MACZF,eAAe;;;IAGnBI,iBAAiB,EAAC,kBAA6B;IAC/CC,eAAe,EAAC;IAChBC,kBAAkB,EAChB,SACA,WACA,SACA,eACA,SACA,iBACA,mBACA,eACA,qBACA,qBACA,SACA,aACA,QACA,iBACA,uBACA,yBACA,eACA,mBACA,kBACA,yBACA,yBACA,WACA,oBACA,SACA,gBACA;IAEFrkB,QAAO;IACPsD,YAAY;MAER6jD,oBAA4C;IAChDt4E,MAAM;IACNg1C,YAAY;IACZC,WAAW;KACT,KAAK;MACH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;;IAGnBG,aAAa;IACbC,iBAAiB,EACf,kBACA,QACA;IAEFC,eAAe,EAAC;IAChBC,kBAAkB,EAChB,SACA,WACA,eACA,SACA,eACA,qBACA,qBACA,iBACA,yBACA,2BACA,cACA;IAEFC,WAAW;IACXhhB,YAAU;MAENskD,iCAAyD;IAC7D/4E,MAAM;IACNg1C,YAAY;IACZC,WAAW;KACT,KAAK;MACHC,eAAe;;KAEjBC,SAAS;MACPC,YAAY;MACZF,eAAe;;;IAGnBI,iBAAiB,EACf,kBACA,QACA;IAEFC,eAAe,EAAC;IAChBC,kBAAkB,EAChB,SACA,WACA,SACA,eACA,SACA,eACA,qBACA,qBACA,iBACA,uBACA,yBACA,eACA,mBACA,kBACA,yBACA,WACA,oBACA;IAEFrkB,QAAO;IACPsD,YAAY;MAERwkD,+BAAuD;IAC3Dj5E,MAAM;IACNg1C,YAAY;IACZC,WAAW;KACT,KAAK;MACHC,eAAe;;KAEjBC,SAAS;MACPC,YAAY;MACZF,eAAe;;;IAGnBG,aAAa;IACbC,iBAAiB,EAAC,kBAA6B;IAC/CC,eAAe,EAAC;IAChBC,kBAAkB,EAChB,aACA,QACA,SACA,WACA,UACA,SACA,iBACA,mBACA,eACA,qBACA,qBACA,SACA,aACA,QACA,kBACA,iBACA,gBACA,qBACA,qBACA,wBACA,0BACA,wBACA,iBACA,MACA,gBACA,YACA,yBACA;IAEFrkB,QAAO;IACP9tB,aAAa;IACboyC,WAAW;IACXhhB,YAAY;MAER2kD,4BAAoD;IACxDp5E,MAAM;IACNg1C,YAAY;IACZC,WAAW;KACT,KAAK;MACHG,YAAY;MACZF,eAAe;;KAEjBC,SAAS;MACPC,YAAY;MACZF,eAAe;;;IAGnBI,iBAAiB,EACf,kBACA,UACA,Q/EwxC6C;KAC/C9G,eAAe;KACfnd,QAAQ;MACN8B,cAAc;MACdF,gBAAgB;MAChBG,WAAU;MACV4C,SAAS;MACTn2B,MAAM;OACJxC,MAAM;OACNw2B,eAAe,EAAC,aAAa,eA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xiH,IAAI,CAACjS,KAAK5K,SAAUuD,OAAO/F,UAAUmB,eAAe1C,KAAK2O,KAAK5K;CCClFq/H,oBAAoB3hH,IAAK7mB;EACH,sBAAXie,UAA0BA,OAAOs4C,eAC1C7pD,OAAO6I,eAAevV,SAASie,OAAOs4C,aAAa;GAAEzvD,OAAO;MAE7D4F,OAAO6I,eAAevV,SAAS,cAAc;GAAE8G,QAAO;;AAAO,ICFpC0hI,oBAAoB","sources":["webpack://cache-action-entrypoint/webpack/universalModuleDefinition","webpack://cache-action-entrypoint/../src/cache.ts","webpack://cache-action-entrypoint/../../src/internal/cacheHttpClient.ts","webpack://cache-action-entrypoint/../../src/internal/cacheUtils.ts","webpack://cache-action-entrypoint/../../src/internal/constants.ts","webpack://cache-action-entrypoint/../../src/internal/downloadUtils.ts","webpack://cache-action-entrypoint/../../src/internal/requestUtils.ts","webpack://cache-action-entrypoint/../../src/internal/tar.ts","webpack://cache-action-entrypoint/../src/options.ts","webpack://cache-action-entrypoint/../src/glob.ts","webpack://cache-action-entrypoint/../src/internal-glob-options-helper.ts","webpack://cache-action-entrypoint/../src/internal-globber.ts","webpack://cache-action-entrypoint/../src/internal-match-kind.ts","webpack://cache-action-entrypoint/../src/internal-path-helper.ts","webpack://cache-action-entrypoint/../src/internal-path.ts","webpack://cache-action-entrypoint/../src/internal-pattern-helper.ts","webpack://cache-action-entrypoint/../src/internal-pattern.ts","webpack://cache-action-entrypoint/../src/internal-search-state.ts","webpack://cache-action-entrypoint/../../node_modules/@actions/cache/node_modules/uuid/index.js","webpack://cache-action-entrypoint/../../node_modules/@actions/cache/node_modules/uuid/lib/bytesToUuid.js","webpack://cache-action-entrypoint/../../node_modules/@actions/cache/node_modules/uuid/lib/rng.js","webpack://cache-action-entrypoint/../../node_modules/@actions/cache/node_modules/uuid/v1.js","webpack://cache-action-entrypoint/../../node_modules/@actions/cache/node_modules/uuid/v4.js","webpack://cache-action-entrypoint/../src/command.ts","webpack://cache-action-entrypoint/../src/core.ts","webpack://cache-action-entrypoint/../src/file-command.ts","webpack://cache-action-entrypoint/../src/oidc-utils.ts","webpack://cache-action-entrypoint/../src/path-utils.ts","webpack://cache-action-entrypoint/../src/summary.ts","webpack://cache-action-entrypoint/../src/utils.ts","webpack://cache-action-entrypoint/../src/exec.ts","webpack://cache-action-entrypoint/../src/toolrunner.ts","webpack://cache-action-entrypoint/../src/internal-hash-files.ts","webpack://cache-action-entrypoint/../src/auth.ts","webpack://cache-action-entrypoint/../src/index.ts","webpack://cache-action-entrypoint/../src/proxy.ts","webpack://cache-action-entrypoint/../src/io-util.ts","webpack://cache-action-entrypoint/../src/io.ts","webpack://cache-action-entrypoint/../src/manifest.ts","webpack://cache-action-entrypoint/../src/retry-helper.ts","webpack://cache-action-entrypoint/../src/tool-cache.ts","webpack://cache-action-entrypoint/../../node_modules/@actions/tool-cache/node_modules/uuid/lib/bytesToUuid.js","webpack://cache-action-entrypoint/../../node_modules/@actions/tool-cache/node_modules/uuid/lib/rng.js","webpack://cache-action-entrypoint/../../node_modules/@actions/tool-cache/node_modules/uuid/v4.js","webpack://cache-action-entrypoint/../../node_modules/@azure/abort-controller/src/AbortController.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/abort-controller/src/AbortSignal.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/node_modules/form-data/lib/form_data.js","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/node_modules/form-data/lib/populate.js","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/node_modules/tough-cookie/lib/cookie.js","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/node_modules/tough-cookie/lib/memstore.js","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/node_modules/tough-cookie/lib/pathMatch.js","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/node_modules/tough-cookie/lib/permuteDomain.js","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/node_modules/tough-cookie/lib/pubsuffix-psl.js","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/node_modules/tough-cookie/lib/store.js","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/node_modules/tough-cookie/lib/utilHelper.js","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/node_modules/tough-cookie/lib/validators.js","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/node_modules/tough-cookie/lib/version.js","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/src/util/serializer.common.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/src/util/utils.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/src/url.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/src/util/sanitizer.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/src/util/inspect.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/src/restError.ts","webpack://cache-action-entrypoint/../../node_modules/tslib/tslib.es6.js","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/src/httpPipelineLogLevel.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-auth/src/tokenCredential.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/src/policies/requestPolicy.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/src/util/constants.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/src/policies/proxyPolicy.ts","webpack://cache-action-entrypoint/../../node_modules/@opentelemetry/api/src/platform/node/globalThis.ts","webpack://cache-action-entrypoint/../../node_modules/@opentelemetry/api/src/version.ts","webpack://cache-action-entrypoint/../../node_modules/@opentelemetry/api/src/internal/semver.ts","webpack://cache-action-entrypoint/../../node_modules/@opentelemetry/api/src/internal/global-utils.ts","webpack://cache-action-entrypoint/../../node_modules/@opentelemetry/api/src/context/context.ts","webpack://cache-action-entrypoint/../../node_modules/@opentelemetry/api/src/diag/types.ts","webpack://cache-action-entrypoint/../../node_modules/@opentelemetry/api/src/context/NoopContextManager.ts","webpack://cache-action-entrypoint/../../node_modules/@opentelemetry/api/src/diag/ComponentLogger.ts","webpack://cache-action-entrypoint/../../node_modules/@opentelemetry/api/src/trace/trace_flags.ts","webpack://cache-action-entrypoint/../../node_modules/@opentelemetry/api/src/api/diag.ts","webpack://cache-action-entrypoint/../../node_modules/@opentelemetry/api/src/diag/internal/logLevelLogger.ts","webpack://cache-action-entrypoint/../../node_modules/@opentelemetry/api/src/api/context.ts","webpack://cache-action-entrypoint/../../node_modules/@opentelemetry/api/src/trace/invalid-span-constants.ts","webpack://cache-action-entrypoint/../../node_modules/@opentelemetry/api/src/trace/NonRecordingSpan.ts","webpack://cache-action-entrypoint/../../node_modules/@opentelemetry/api/src/trace/context-utils.ts","webpack://cache-action-entrypoint/../../node_modules/@opentelemetry/api/src/trace/spancontext-utils.ts","webpack://cache-action-entrypoint/../../node_modules/@opentelemetry/api/src/trace/NoopTracer.ts","webpack://cache-action-entrypoint/../../node_modules/@opentelemetry/api/src/trace/ProxyTracer.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-tracing/src/interfaces.ts","webpack://cache-action-entrypoint/../../node_modules/@opentelemetry/api/src/trace/ProxyTracerProvider.ts","webpack://cache-action-entrypoint/../../node_modules/@opentelemetry/api/src/trace/NoopTracerProvider.ts","webpack://cache-action-entrypoint/../../node_modules/@opentelemetry/api/src/api/trace.ts","webpack://cache-action-entrypoint/../../node_modules/@opentelemetry/api/src/trace-api.ts","webpack://cache-action-entrypoint/../../node_modules/@opentelemetry/api/src/context-api.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/src/operationOptions.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/src/util/base64.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/src/serializer.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/generated/src/models/mappers.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/src/queryCollectionFormat.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/generated/src/models/parameters.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/generated/src/operations/service.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/generated/src/operations/container.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-tracing/src/createSpan.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-tracing/src/utils/traceParentHeader.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/logger/src/debug.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/logger/src/log.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/logger/src/index.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/src/log.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/src/policies/tracingPolicy.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/src/policies/keepAlivePolicy.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/src/policies/generateClientRequestIdPolicy.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/src/util/xml.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/src/policies/deserializationPolicy.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/src/policies/logPolicy.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/src/policies/disableResponseDecompressionPolicy.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/src/httpHeaders.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/src/webResource.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/log.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/utils/constants.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/utils/utils.common.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/policies/StorageBrowserPolicy.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/StorageBrowserPolicyFactory.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/policies/StorageRetryPolicy.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/StorageRetryPolicyFactory.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/policies/CredentialPolicy.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/policies/AnonymousCredentialPolicy.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/credentials/Credential.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/credentials/AnonymousCredential.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/policies/TelemetryPolicy.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/TelemetryPolicyFactory.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/src/proxyAgent.ts","webpack://cache-action-entrypoint/external node-commonjs \"zlib\"","webpack://cache-action-entrypoint/../../node_modules/node-fetch/lib/index.mjs","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/src/nodeFetchHttpClient.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/utils/cache.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-util/src/typeGuards.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-util/src/delay.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/policies/StorageBearerTokenChallengeAuthenticationPolicy.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/Pipeline.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/policies/StorageSharedKeyCredentialPolicy.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/credentials/StorageSharedKeyCredential.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/src/policies/redirectPolicy.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/src/util/exponentialBackoffStrategy.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/src/policies/exponentialRetryPolicy.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/src/operationParameter.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/src/policies/msRestUserAgentPolicy.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/src/policies/userAgentPolicy.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/src/policies/bearerTokenAuthenticationPolicy.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/src/httpClientCache.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/src/policies/rpRegistrationPolicy.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/src/policies/signingPolicy.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/src/policies/systemErrorRetryPolicy.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/src/util/throttlingRetryStrategy.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/src/policies/throttlingRetryPolicy.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/src/serviceClient.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-http/src/operationSpec.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/generated/src/storageClientContext.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/StorageClient.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/utils/tracing.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/sas/BlobSASPermissions.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/sas/ContainerSASPermissions.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/credentials/UserDelegationKeyCredential.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/sas/SasIPRange.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/sas/SASQueryParameters.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/sas/BlobSASSignatureValues.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/generated/src/operations/blob.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/BlobLeaseClient.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/utils/RetriableReadableStream.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/BlobDownloadResponse.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-internal-avro/src/AvroConstants.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-internal-avro/src/AvroParser.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-internal-avro/src/utils/utils.common.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-internal-avro/src/AvroReader.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-internal-avro/src/AvroReadable.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-internal-avro/src/AvroReadableFromStream.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/utils/BlobQuickQueryStream.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/BlobQueryResponse.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/generated/src/operations/appendBlob.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/generated/src/operations/blockBlob.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/generated/src/operations/pageBlob.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/models.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/PageBlobRangeResponse.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/core-lro/src/legacy/poller.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/pollers/BlobStartCopyFromUrlPoller.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/Range.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/utils/Batch.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-common/src/BuffersStream.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-common/src/PooledBuffer.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-common/src/BufferScheduler.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/utils/utils.node.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/Clients.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/BatchUtils.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/BatchResponseParser.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/utils/Mutex.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/BlobBatch.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/BlobBatchClient.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/ContainerClient.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/sas/AccountSASPermissions.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/sas/AccountSASResourceTypes.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/sas/AccountSASServices.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/sas/AccountSASSignatureValues.ts","webpack://cache-action-entrypoint/../../node_modules/@azure/storage-blob/src/BlobServiceClient.ts","webpack://cache-action-entrypoint/../../node_modules/asynckit/index.js","webpack://cache-action-entrypoint/../../node_modules/asynckit/lib/abort.js","webpack://cache-action-entrypoint/../../node_modules/asynckit/lib/async.js","webpack://cache-action-entrypoint/../../node_modules/asynckit/lib/defer.js","webpack://cache-action-entrypoint/../../node_modules/asynckit/lib/iterate.js","webpack://cache-action-entrypoint/../../node_modules/asynckit/lib/state.js","webpack://cache-action-entrypoint/../../node_modules/asynckit/lib/terminator.js","webpack://cache-action-entrypoint/../../node_modules/asynckit/parallel.js","webpack://cache-action-entrypoint/../../node_modules/asynckit/serial.js","webpack://cache-action-entrypoint/../../node_modules/asynckit/serialOrdered.js","webpack://cache-action-entrypoint/../../node_modules/balanced-match/index.js","webpack://cache-action-entrypoint/../../node_modules/brace-expansion/index.js","webpack://cache-action-entrypoint/../../node_modules/combined-stream/lib/combined_stream.js","webpack://cache-action-entrypoint/../../node_modules/concat-map/index.js","webpack://cache-action-entrypoint/../../node_modules/delayed-stream/lib/delayed_stream.js","webpack://cache-action-entrypoint/../../node_modules/java-properties/dist-node/index.js","webpack://cache-action-entrypoint/../../node_modules/mime-db/index.js","webpack://cache-action-entrypoint/../../node_modules/mime-types/index.js","webpack://cache-action-entrypoint/../../node_modules/minimatch/minimatch.js","webpack://cache-action-entrypoint/../../node_modules/psl/index.js","webpack://cache-action-entrypoint/../../node_modules/punycode/punycode.es6.js","webpack://cache-action-entrypoint/../../node_modules/querystringify/index.js","webpack://cache-action-entrypoint/../../node_modules/requires-port/index.js","webpack://cache-action-entrypoint/../../node_modules/sax/lib/sax.js","webpack://cache-action-entrypoint/../../node_modules/semver/semver.js","webpack://cache-action-entrypoint/../../node_modules/string-argv/index.js","webpack://cache-action-entrypoint/../../node_modules/tr46/index.js","webpack://cache-action-entrypoint/../../node_modules/tunnel/index.js","webpack://cache-action-entrypoint/../../node_modules/tunnel/lib/tunnel.js","webpack://cache-action-entrypoint/../../node_modules/universalify/index.js","webpack://cache-action-entrypoint/../../node_modules/url-parse/index.js","webpack://cache-action-entrypoint/../../node_modules/uuid/dist/esm-node/v1.js","webpack://cache-action-entrypoint/../../node_modules/uuid/dist/esm-node/parse.js","webpack://cache-action-entrypoint/../../node_modules/uuid/dist/esm-node/v35.js","webpack://cache-action-entrypoint/../../node_modules/uuid/dist/esm-node/md5.js","webpack://cache-action-entrypoint/../../node_modules/uuid/dist/esm-node/v3.js","webpack://cache-action-entrypoint/../../node_modules/uuid/dist/esm-node/sha1.js","webpack://cache-action-entrypoint/../../node_modules/uuid/dist/esm-node/v5.js","webpack://cache-action-entrypoint/../../node_modules/uuid/dist/esm-node/nil.js","webpack://cache-action-entrypoint/../../node_modules/uuid/dist/esm-node/version.js","webpack://cache-action-entrypoint/../../node_modules/uuid/dist/esm-node/rng.js","webpack://cache-action-entrypoint/../../node_modules/uuid/dist/esm-node/stringify.js","webpack://cache-action-entrypoint/../../node_modules/uuid/dist/esm-node/v4.js","webpack://cache-action-entrypoint/../../node_modules/uuid/dist/esm-node/regex.js","webpack://cache-action-entrypoint/../../node_modules/uuid/dist/esm-node/validate.js","webpack://cache-action-entrypoint/../../node_modules/webidl-conversions/lib/index.js","webpack://cache-action-entrypoint/../../node_modules/whatwg-url/lib/URL-impl.js","webpack://cache-action-entrypoint/../../node_modules/whatwg-url/lib/URL.js","webpack://cache-action-entrypoint/../../node_modules/whatwg-url/lib/public-api.js","webpack://cache-action-entrypoint/../../node_modules/whatwg-url/lib/url-state-machine.js","webpack://cache-action-entrypoint/../../node_modules/whatwg-url/lib/utils.js","webpack://cache-action-entrypoint/../../node_modules/xml2js/lib/bom.js","webpack://cache-action-entrypoint/../../node_modules/xml2js/lib/builder.js","webpack://cache-action-entrypoint/../../node_modules/xml2js/lib/defaults.js","webpack://cache-action-entrypoint/../../node_modules/xml2js/lib/parser.js","webpack://cache-action-entrypoint/../../node_modules/xml2js/lib/processors.js","webpack://cache-action-entrypoint/../../node_modules/xml2js/lib/xml2js.js","webpack://cache-action-entrypoint/../../node_modules/xmlbuilder/lib/DocumentPosition.js","webpack://cache-action-entrypoint/../../node_modules/xmlbuilder/lib/NodeType.js","webpack://cache-action-entrypoint/../../node_modules/xmlbuilder/lib/Utility.js","webpack://cache-action-entrypoint/../../node_modules/xmlbuilder/lib/WriterState.js","webpack://cache-action-entrypoint/../../node_modules/xmlbuilder/lib/XMLAttribute.js","webpack://cache-action-entrypoint/../../node_modules/xmlbuilder/lib/XMLCData.js","webpack://cache-action-entrypoint/../../node_modules/xmlbuilder/lib/XMLCharacterData.js","webpack://cache-action-entrypoint/../../node_modules/xmlbuilder/lib/XMLComment.js","webpack://cache-action-entrypoint/../../node_modules/xmlbuilder/lib/XMLDOMConfiguration.js","webpack://cache-action-entrypoint/../../node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js","webpack://cache-action-entrypoint/../../node_modules/xmlbuilder/lib/XMLDOMImplementation.js","webpack://cache-action-entrypoint/../../node_modules/xmlbuilder/lib/XMLDOMStringList.js","webpack://cache-action-entrypoint/../../node_modules/xmlbuilder/lib/XMLDTDAttList.js","webpack://cache-action-entrypoint/../../node_modules/xmlbuilder/lib/XMLDTDElement.js","webpack://cache-action-entrypoint/../../node_modules/xmlbuilder/lib/XMLDTDEntity.js","webpack://cache-action-entrypoint/../../node_modules/xmlbuilder/lib/XMLDTDNotation.js","webpack://cache-action-entrypoint/../../node_modules/xmlbuilder/lib/XMLDeclaration.js","webpack://cache-action-entrypoint/../../node_modules/xmlbuilder/lib/XMLDocType.js","webpack://cache-action-entrypoint/../../node_modules/xmlbuilder/lib/XMLDocument.js","webpack://cache-action-entrypoint/../../node_modules/xmlbuilder/lib/XMLDocumentCB.js","webpack://cache-action-entrypoint/../../node_modules/xmlbuilder/lib/XMLDummy.js","webpack://cache-action-entrypoint/../../node_modules/xmlbuilder/lib/XMLElement.js","webpack://cache-action-entrypoint/../../node_modules/xmlbuilder/lib/XMLNamedNodeMap.js","webpack://cache-action-entrypoint/../../node_modules/xmlbuilder/lib/XMLNode.js","webpack://cache-action-entrypoint/../../node_modules/xmlbuilder/lib/XMLNodeList.js","webpack://cache-action-entrypoint/../../node_modules/xmlbuilder/lib/XMLProcessingInstruction.js","webpack://cache-action-entrypoint/../../node_modules/xmlbuilder/lib/XMLRaw.js","webpack://cache-action-entrypoint/../../node_modules/xmlbuilder/lib/XMLStreamWriter.js","webpack://cache-action-entrypoint/../../node_modules/xmlbuilder/lib/XMLStringWriter.js","webpack://cache-action-entrypoint/../../node_modules/xmlbuilder/lib/XMLStringifier.js","webpack://cache-action-entrypoint/../../node_modules/xmlbuilder/lib/XMLText.js","webpack://cache-action-entrypoint/../../node_modules/xmlbuilder/lib/XMLWriterBase.js","webpack://cache-action-entrypoint/../../node_modules/xmlbuilder/lib/index.js","webpack://cache-action-entrypoint/../../../../../../../../../mnt/agent/work/88b0986a7186d029/atomicfu/src/commonMain/kotlin/kotlinx/atomicfu/Trace.common.kt","webpack://cache-action-entrypoint/../../../../../../../../../mnt/agent/work/88b0986a7186d029/atomicfu/src/jsMain/kotlin/kotlinx/atomicfu/AtomicFU.kt","webpack://cache-action-entrypoint/../../../../wrappers/actions-cache/src/main/kotlin/actions/cache/CacheExtensions.kt","webpack://cache-action-entrypoint/../../../../wrappers/actions-cache/src/main/kotlin/actions/cache/RestoreType.kt","webpack://cache-action-entrypoint/../../../../wrappers/actions-toolkit/src/main/kotlin/actions/core/ActionFailedException.kt","webpack://cache-action-entrypoint/../../../../wrappers/actions-toolkit/src/main/kotlin/actions/core/ActionsEnvironment.kt","webpack://cache-action-entrypoint/../../../../wrappers/actions-toolkit/src/main/kotlin/actions/core/ext/InputExtensions.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/src/kotlin/util/Standard.kt","webpack://cache-action-entrypoint/../../../../../../../../../Users/leonid.khachaturov/code/kotlin-wrappers-new/kotlin-js/src/jsMain/kotlin/js/core/jso.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/src/kotlin/text/Strings.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/common/src/generated/_Collections.kt","webpack://cache-action-entrypoint/../../../../wrappers/actions-toolkit/src/main/kotlin/actions/exec/ExecExtensions.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/jsMainSources/libraries/stdlib/js/src/kotlin/dynamic.kt","webpack://cache-action-entrypoint/../../../../wrappers/actions-toolkit/src/main/kotlin/actions/glob/removeFiles.kt","webpack://cache-action-entrypoint/../../../../../../../../../Users/leonid.khachaturov/code/kotlin-wrappers-new/kotlin-js/src/jsMain/kotlin/js/core/ReadonlyRecord.kt","webpack://cache-action-entrypoint/../../../../cache-action-entrypoint/src/main/kotlin/main.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/src/kotlin/collections/Maps.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/common/src/generated/_Arrays.kt","webpack://cache-action-entrypoint/../../../../cache-proxy/src/main/kotlin/com/github/burrunan/gradle/proxy/CacheProxy.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/src/kotlin/util/Result.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/src/kotlin/coroutines/Continuation.kt","webpack://cache-action-entrypoint/../../../../cache-service-mock/src/main/kotlin/com/github/burrunan/gradle/cache/HttpException.kt","webpack://cache-action-entrypoint/../../../../cache-service-mock/src/main/kotlin/com/github/burrunan/gradle/cache/HttpExtensions.kt","webpack://cache-action-entrypoint/../../../../gradle-launcher/src/main/kotlin/com/github/burrunan/launcher/GradleDistribution.kt","webpack://cache-action-entrypoint/../../../../gradle-launcher/src/main/kotlin/com/github/burrunan/launcher/GradleInstaller.kt","webpack://cache-action-entrypoint/../../../../gradle-launcher/src/main/kotlin/com/github/burrunan/launcher/GradleLauncher.kt","webpack://cache-action-entrypoint/../../../../gradle-launcher/src/main/kotlin/com/github/burrunan/launcher/GradleVersion.kt","webpack://cache-action-entrypoint/../../../../gradle-launcher/src/main/kotlin/com/github/burrunan/launcher/LaunchParams.kt","webpack://cache-action-entrypoint/../../../../gradle-launcher/src/main/kotlin/com/github/burrunan/launcher/internal/GradleError.kt","webpack://cache-action-entrypoint/../../../../gradle-launcher/src/main/kotlin/com/github/burrunan/launcher/internal/GradleErrorCollector.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/src/kotlin/collections/Collections.kt","webpack://cache-action-entrypoint/../../../../gradle-launcher/src/main/kotlin/com/github/burrunan/launcher/internal/GradleOutErrorCollector.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/src/kotlin/collections/MutableCollections.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/src/kotlin/text/StringBuilder.kt","webpack://cache-action-entrypoint/../../../../hashing/src/main/kotlin/com/github/burrunan/hashing/HashDetails.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/jsMainSources/libraries/stdlib/js/src/kotlin/text/string.kt","webpack://cache-action-entrypoint/../../../../hashing/src/main/kotlin/com/github/burrunan/hashing/diff.kt","webpack://cache-action-entrypoint/../../../../hashing/src/main/kotlin/com/github/burrunan/hashing/hashFiles.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/builtins/Library.kt","webpack://cache-action-entrypoint/../../../../wrappers/java-properties/src/main/kotlin/javaproperties/parseString.kt","webpack://cache-action-entrypoint/../../../../wrappers/js/src/main/kotlin/com/github/burrunan/formatBytes.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/runtime/long.kt","webpack://cache-action-entrypoint/../../../../layered-cache/src/main/kotlin/com/github/burrunan/gradle/GradleCacheAction.kt","webpack://cache-action-entrypoint/../../../../layered-cache/src/main/kotlin/com/github/burrunan/gradle/Parameters.kt","webpack://cache-action-entrypoint/../../../../layered-cache/src/main/kotlin/com/github/burrunan/gradle/cache/ActionsTriggerExtensions.kt","webpack://cache-action-entrypoint/../../../../layered-cache/src/main/kotlin/com/github/burrunan/gradle/cache/CompositeCache.kt","webpack://cache-action-entrypoint/../../../../layered-cache/src/main/kotlin/com/github/burrunan/gradle/cache/DefaultCache.kt","webpack://cache-action-entrypoint/../../../../layered-cache/src/main/kotlin/com/github/burrunan/gradle/cache/GradleGeneratedJarsCache.kt","webpack://cache-action-entrypoint/../../../../layered-cache/src/main/kotlin/com/github/burrunan/gradle/cache/LayeredCache.kt","webpack://cache-action-entrypoint/../../../../layered-cache/src/main/kotlin/com/github/burrunan/gradle/cache/MetadataFile.kt","webpack://cache-action-entrypoint/../../../../layered-cache/src/main/kotlin/com/github/burrunan/gradle/cache/dependenciesCache.kt","webpack://cache-action-entrypoint/../../../../layered-cache/src/main/kotlin/com/github/burrunan/gradle/cache/localBuildCache.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/src/generated/_ArraysJs.kt","webpack://cache-action-entrypoint/../../../../layered-cache/src/main/kotlin/com/github/burrunan/gradle/github/StateExtensions.kt","webpack://cache-action-entrypoint/../../../../wrappers/nodejs/src/main/kotlin/com/github/burrunan/wrappers/nodejs/FsExtensions.kt","webpack://cache-action-entrypoint/../../../../wrappers/nodejs/src/main/kotlin/com/github/burrunan/wrappers/nodejs/StreamExtensions.kt","webpack://cache-action-entrypoint/../../../../wrappers/octokit-webhooks/src/main/kotlin/octokit/ActionsTrigger.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/jsMainSources/libraries/stdlib/js/src/kotlin/js/math.polyfills.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/jsMainSources/libraries/stdlib/js/src/kotlin/ArrayBuffer.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/runtime/math.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/src/kotlin/coroutines/CoroutineContext.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/src/kotlin/coroutines/ContinuationInterceptor.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/jsMainSources/libraries/stdlib/js/src/kotlin/collections/InternalMap.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/src/kotlin/collections/Sequences.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/src/generated/_ComparisonsJs.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/common/src/generated/_Ranges.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/src/kotlin/util/Preconditions.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/common/src/generated/_Sequences.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/common/src/generated/_Sets.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/common/src/generated/_Strings.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/src/kotlin/collections/AbstractCollection.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/src/kotlin/collections/AbstractList.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/src/kotlin/collections/AbstractMap.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/src/kotlin/collections/AbstractSet.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/src/kotlin/collections/IndexedValue.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/src/kotlin/collections/Iterables.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/src/kotlin/collections/Iterators.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/src/kotlin/collections/MapWithDefault.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/src/kotlin/collections/Sets.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/src/kotlin/comparisons/Comparisons.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/src/kotlin/coroutines/CoroutineContextImpl.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/src/kotlin/coroutines/intrinsics/Intrinsics.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/src/kotlin/internal/progressionUtil.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/src/kotlin/ranges/PrimitiveRanges.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/src/kotlin/ranges/ProgressionIterators.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/src/kotlin/ranges/Progressions.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/src/kotlin/ranges/Ranges.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/src/kotlin/text/Appendable.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/src/kotlin/text/Char.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/jsMainSources/libraries/stdlib/js/src/kotlin/text/char.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/src/kotlin/text/Indent.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/src/kotlin/text/StringNumberConversions.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/jsMainSources/libraries/stdlib/js/src/kotlin/text/stringsCode.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/src/kotlin/util/DeepRecursive.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/src/kotlin/util/Lazy.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/src/kotlin/util/Tuples.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/unsigned/src/kotlin/UShort.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/jsMainSources/libraries/stdlib/js/runtime/primitiveCompanionObjects.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/jsMainSources/libraries/stdlib/js/src/kotlin/collections.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/runtime/kotlinHacks.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/jsMainSources/libraries/stdlib/js/src/kotlin/collections/AbstractMutableCollection.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/jsMainSources/libraries/stdlib/js/src/kotlin/collections/AbstractMutableList.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/jsMainSources/libraries/stdlib/js/src/kotlin/collections/AbstractMutableMap.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/jsMainSources/libraries/stdlib/js/src/kotlin/collections/AbstractMutableSet.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/jsMainSources/libraries/stdlib/js/src/kotlin/collections/ArrayList.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/jsMainSources/libraries/stdlib/js/src/kotlin/collections/ArraySorting.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/jsMainSources/libraries/stdlib/js/src/kotlin/collections/HashMap.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/jsMainSources/libraries/stdlib/js/src/kotlin/collections/HashSet.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/jsMainSources/libraries/stdlib/js/src/kotlin/collections/InternalHashCodeMap.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/jsMainSources/libraries/stdlib/js/src/kotlin/collections/LinkedHashMap.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/jsMainSources/libraries/stdlib/js/src/kotlin/collections/LinkedHashSet.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/jsMainSources/libraries/stdlib/js/src/kotlin/coroutines/SafeContinuationJs.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/jsMainSources/libraries/stdlib/js/src/kotlin/coroutines/cancellation/CancellationException.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/jsMainSources/libraries/stdlib/js/src/kotlin/coroutines/js/internal/EmptyContinuation.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/jsMainSources/libraries/stdlib/js/src/kotlin/math.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/jsMainSources/libraries/stdlib/js/src/kotlin/numbers.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/jsMainSources/libraries/stdlib/js/src/kotlin/reflect/KClassImpl.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/jsMainSources/libraries/stdlib/js/src/kotlin/reflect/primitives.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/jsMainSources/libraries/stdlib/js/src/kotlin/reflect/reflection.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/jsMainSources/libraries/stdlib/js/src/kotlin/text/StringBuilderJs.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/jsMainSources/libraries/stdlib/js/src/kotlin/text/numberConversions.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/jsMainSources/libraries/stdlib/js/src/kotlin/text/regex.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/jsMainSources/libraries/stdlib/js/src/kotlin/throwableExtensions.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/builtins/Char.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/builtins/Enum.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/runtime/BitMask.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/runtime/arrays.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/runtime/noPackageHacks.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/runtime/bitUtils.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/runtime/charSequence.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/src/kotlin/CharCode.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/runtime/collectionsHacks.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/runtime/compareTo.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/runtime/coreRuntime.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/runtime/coroutineInternalJS.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/runtime/hacks.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/runtime/longjs.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/runtime/numberConversion.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/runtime/rangeTo.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/runtime/reflectRuntime.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/runtime/typeCheckUtils.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/src/generated/_DigitChars.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/src/generated/_WhitespaceChars.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/src/kotlin/coroutines_13/CoroutineImpl.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/src/kotlin/coroutines_13/IntrinsicsJs.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/src/kotlin/exceptions.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/src/kotlin/jsOperators.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/src/kotlin/collections/PrimitiveIterators.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/jsMainSources/core/builtins/src/kotlin/Unit.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/jsMainSources/libraries/stdlib/js/src/kotlin/collections/EqualityComparator.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/jsMainSources/libraries/stdlib/js/src/kotlin/regexp.kt","webpack://cache-action-entrypoint/../../../../../../../../../Users/leonid.khachaturov/code/kotlin-wrappers-new/kotlin-actions-toolkit/src/jsMain/generated/actions/cache/restoreCache.kt","webpack://cache-action-entrypoint/../../../../../../../../../Users/leonid.khachaturov/code/kotlin-wrappers-new/kotlin-actions-toolkit/src/jsMain/generated/actions/cache/saveCache.kt","webpack://cache-action-entrypoint/../../../../../../../../../Users/leonid.khachaturov/code/kotlin-wrappers-new/kotlin-actions-toolkit/src/jsMain/generated/actions/exec/exec.kt","webpack://cache-action-entrypoint/../../../../../../../../../Users/leonid.khachaturov/code/kotlin-wrappers-new/kotlin-actions-toolkit/src/jsMain/generated/actions/glob/create.kt","webpack://cache-action-entrypoint/../../../../../../../../../Users/leonid.khachaturov/code/kotlin-wrappers-new/kotlin-actions-toolkit/src/jsMain/generated/actions/io/mkdirP.kt","webpack://cache-action-entrypoint/../../../../../../../../../Users/leonid.khachaturov/code/kotlin-wrappers-new/kotlin-actions-toolkit/src/jsMain/generated/actions/io/rmRF.kt","webpack://cache-action-entrypoint/../../../../../../../../../Users/leonid.khachaturov/code/kotlin-wrappers-new/kotlin-actions-toolkit/src/jsMain/generated/actions/tool/cache/cacheDir.kt","webpack://cache-action-entrypoint/../../../../../../../../../Users/leonid.khachaturov/code/kotlin-wrappers-new/kotlin-actions-toolkit/src/jsMain/generated/actions/tool/cache/downloadTool.kt","webpack://cache-action-entrypoint/../../../../../../../../../Users/leonid.khachaturov/code/kotlin-wrappers-new/kotlin-actions-toolkit/src/jsMain/generated/actions/tool/cache/extractZip.kt","webpack://cache-action-entrypoint/../../../../../../../../../Users/leonid.khachaturov/code/kotlin-wrappers-new/kotlin-js/src/jsMain/kotlin/js/core/Record.kt","webpack://cache-action-entrypoint/../../../../../../../../../Users/leonid.khachaturov/code/kotlin-wrappers-new/kotlin-js/src/jsMain/kotlin/js/core/recordOf.kt","webpack://cache-action-entrypoint/../../../../../../../../../Users/leonid.khachaturov/code/kotlin-wrappers-new/kotlin-node/src/jsMain/generated/node/fs/chmod.kt","webpack://cache-action-entrypoint/../../../../../../../../../Users/leonid.khachaturov/code/kotlin-wrappers-new/kotlin-node/src/jsMain/generated/node/fs/mkdir.kt","webpack://cache-action-entrypoint/../../../../../../../../../Users/leonid.khachaturov/code/kotlin-wrappers-new/kotlin-node/src/jsMain/generated/node/fs/readFile.kt","webpack://cache-action-entrypoint/../../../../../../../../../Users/leonid.khachaturov/code/kotlin-wrappers-new/kotlin-node/src/jsMain/generated/node/fs/rename.kt","webpack://cache-action-entrypoint/../../../../../../../../../Users/leonid.khachaturov/code/kotlin-wrappers-new/kotlin-node/src/jsMain/generated/node/fs/stat.kt","webpack://cache-action-entrypoint/../../../../../../../../../Users/leonid.khachaturov/code/kotlin-wrappers-new/kotlin-node/src/jsMain/generated/node/fs/unlink.kt","webpack://cache-action-entrypoint/../../../../../../../../../Users/leonid.khachaturov/code/kotlin-wrappers-new/kotlin-node/src/jsMain/generated/node/fs/writeFile.kt","webpack://cache-action-entrypoint/../../../../../../../../../Users/leonid.khachaturov/code/kotlin-wrappers-new/kotlin-node/src/jsMain/generated/node/stream/finished.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/core/commonMain/src/kotlinx/serialization/descriptors/SerialDescriptor.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/core/commonMain/src/kotlinx/serialization/encoding/Decoding.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/core/commonMain/src/kotlinx/serialization/encoding/Encoding.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/core/commonMain/src/kotlinx/serialization/internal/PluginHelperInterfaces.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/core/commonMain/src/kotlinx/serialization/PolymorphicSerializer.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/core/commonMain/src/kotlinx/serialization/SerializationExceptions.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/core/commonMain/src/kotlinx/serialization/descriptors/ContextAware.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/core/commonMain/src/kotlinx/serialization/descriptors/SerialDescriptors.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/core/commonMain/src/kotlinx/serialization/descriptors/SerialKinds.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/core/commonMain/src/kotlinx/serialization/internal/AbstractPolymorphicSerializer.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/core/commonMain/src/kotlinx/serialization/internal/CollectionDescriptors.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/core/commonMain/src/kotlinx/serialization/internal/CollectionSerializers.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/core/commonMain/src/kotlinx/serialization/internal/ElementMarker.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/core/commonMain/src/kotlinx/serialization/internal/JsonInternalDependencies.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/core/commonMain/src/kotlinx/serialization/internal/Platform.common.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/core/commonMain/src/kotlinx/serialization/internal/PluginExceptions.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/core/commonMain/src/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.kt","webpack://cache-action-entrypoint/../../../../../cache-action-entrypoint/build/compileSync/js/main/productionExecutable/kotlin/commonMainSources/libraries/stdlib/src/kotlin/util/HashCode.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/core/commonMain/src/kotlinx/serialization/internal/Primitives.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/core/commonMain/src/kotlinx/serialization/internal/Tagged.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/core/commonMain/src/kotlinx/serialization/modules/SerializersModule.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/core/commonMain/src/kotlinx/serialization/modules/SerializersModuleBuilders.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/core/jsMain/src/kotlinx/serialization/internal/Platform.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/core/commonMain/src/kotlinx/serialization/encoding/AbstractDecoder.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/core/commonMain/src/kotlinx/serialization/encoding/AbstractEncoder.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/formats/json/commonMain/src/kotlinx/serialization/json/Json.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/formats/json/commonMain/src/kotlinx/serialization/json/JsonConfiguration.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/formats/json/commonMain/src/kotlinx/serialization/json/JsonElement.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/formats/json/commonMain/src/kotlinx/serialization/json/JsonElementSerializers.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/formats/json/commonMain/src/kotlinx/serialization/json/internal/Composers.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/formats/json/commonMain/src/kotlinx/serialization/json/internal/JsonElementMarker.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/formats/json/commonMain/src/kotlinx/serialization/json/internal/JsonExceptions.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/formats/json/commonMain/src/kotlinx/serialization/json/internal/JsonNamesMap.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/formats/json/commonMain/src/kotlinx/serialization/json/internal/JsonPath.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/formats/json/commonMain/src/kotlinx/serialization/json/internal/JsonStreams.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/formats/json/commonMain/src/kotlinx/serialization/json/internal/JsonTreeReader.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/formats/json/commonMain/src/kotlinx/serialization/json/internal/lexer/AbstractJsonLexer.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/formats/json/commonMain/src/kotlinx/serialization/json/internal/Polymorphic.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/formats/json/commonMain/src/kotlinx/serialization/json/internal/TreeJsonEncoder.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/formats/json/commonMain/src/kotlinx/serialization/json/internal/SchemaCache.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/formats/json/commonMain/src/kotlinx/serialization/json/internal/StreamingJsonDecoder.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/formats/json/commonMain/src/kotlinx/serialization/json/internal/StreamingJsonEncoder.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/formats/json/commonMain/src/kotlinx/serialization/json/internal/StringOps.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/formats/json/commonMain/src/kotlinx/serialization/json/internal/TreeJsonDecoder.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/formats/json/commonMain/src/kotlinx/serialization/json/internal/WriteMode.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/formats/json/commonMain/src/kotlinx/serialization/json/internal/lexer/StringJsonLexer.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/formats/json/jsMain/src/kotlinx/serialization/json/JsonSchemaCache.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/formats/json/jsMain/src/kotlinx/serialization/json/internal/JsonToStringWriter.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/formats/json/jsMain/src/kotlinx/serialization/json/internal/createMapForCache.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/teamcity-agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/Job.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/teamcity-agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/AbstractCoroutine.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/teamcity-agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/Builders.common.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/teamcity-agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/CancellableContinuationImpl.kt","webpack://cache-action-entrypoint/../../../../../../../../../mnt/agent/work/88b0986a7186d029/atomicfu/src/commonMain/kotlin/kotlinx/atomicfu/AtomicFU.common.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/teamcity-agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/js/src/CompletionHandler.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/teamcity-agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/CompletionState.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/teamcity-agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/CoroutineDispatcher.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/teamcity-agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/CoroutineExceptionHandler.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/teamcity-agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/EventLoop.common.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/teamcity-agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/Exceptions.common.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/teamcity-agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/teamcity-agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/js/src/internal/LinkedList.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/teamcity-agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/js/src/internal/Synchronized.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/teamcity-agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/MainCoroutineDispatcher.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/teamcity-agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/Supervisor.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/teamcity-agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/Unconfined.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/teamcity-agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/ArrayQueue.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/teamcity-agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedContinuation.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/teamcity-agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/teamcity-agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/js/src/CoroutineContext.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/teamcity-agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/Scopes.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/teamcity-agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/Symbol.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/teamcity-agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/intrinsics/Cancellable.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/teamcity-agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/intrinsics/Undispatched.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/teamcity-agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/js/src/internal/ProbesSupport.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/teamcity-agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/js/src/CoroutineExceptionHandlerImpl.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/teamcity-agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/js/src/Debug.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/teamcity-agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/js/src/Dispatchers.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/teamcity-agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/js/src/EventLoop.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/teamcity-agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/js/src/Exceptions.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/teamcity-agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/js/src/JSDispatcher.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/teamcity-agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/CancellableContinuation.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/teamcity-agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/js/src/Promise.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/teamcity-agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/js/src/SchedulerTask.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/teamcity-agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/js/src/Window.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/teamcity-agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/js/src/internal/Concurrent.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/teamcity-agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/js/src/internal/StackTraceRecovery.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/teamcity-agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/js/src/internal/ThreadContext.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/teamcity-agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/js/src/internal/ThreadLocal.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/teamcity-agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/CoroutineScope.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/teamcity-agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/CoroutineStart.kt","webpack://cache-action-entrypoint/../../../../../../../../../opt/teamcity-agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/CompletionHandler.common.kt","webpack://cache-action-entrypoint/external node-commonjs \"assert\"","webpack://cache-action-entrypoint/external node-commonjs \"buffer\"","webpack://cache-action-entrypoint/external node-commonjs \"child_process\"","webpack://cache-action-entrypoint/external node-commonjs \"crypto\"","webpack://cache-action-entrypoint/external node-commonjs \"events\"","webpack://cache-action-entrypoint/external node-commonjs \"fs\"","webpack://cache-action-entrypoint/external node-commonjs \"http\"","webpack://cache-action-entrypoint/external node-commonjs \"https\"","webpack://cache-action-entrypoint/external node-commonjs \"net\"","webpack://cache-action-entrypoint/external node-commonjs \"node:crypto\"","webpack://cache-action-entrypoint/external node-commonjs \"node:fs\"","webpack://cache-action-entrypoint/external node-commonjs \"node:fs/promises\"","webpack://cache-action-entrypoint/external node-commonjs \"node:http\"","webpack://cache-action-entrypoint/external node-commonjs \"node:os\"","webpack://cache-action-entrypoint/external node-commonjs \"node:path\"","webpack://cache-action-entrypoint/external node-commonjs \"node:process\"","webpack://cache-action-entrypoint/external node-commonjs \"node:stream/promises\"","webpack://cache-action-entrypoint/external node-commonjs \"node:url\"","webpack://cache-action-entrypoint/external node-commonjs \"os\"","webpack://cache-action-entrypoint/external node-commonjs \"path\"","webpack://cache-action-entrypoint/external node-commonjs \"punycode\"","webpack://cache-action-entrypoint/external node-commonjs \"stream\"","webpack://cache-action-entrypoint/external node-commonjs \"string_decoder\"","webpack://cache-action-entrypoint/external node-commonjs \"timers\"","webpack://cache-action-entrypoint/external node-commonjs \"tls\"","webpack://cache-action-entrypoint/external node-commonjs \"url\"","webpack://cache-action-entrypoint/external node-commonjs \"util\"","webpack://cache-action-entrypoint/webpack/bootstrap","webpack://cache-action-entrypoint/webpack/runtime/compat get default export","webpack://cache-action-entrypoint/webpack/runtime/define property getters","webpack://cache-action-entrypoint/webpack/runtime/hasOwnProperty shorthand","webpack://cache-action-entrypoint/webpack/runtime/make namespace object","webpack://cache-action-entrypoint/webpack/startup"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"cache-action-entrypoint\"] = factory();\n\telse\n\t\troot[\"cache-action-entrypoint\"] = factory();\n})(this, () => {\nreturn ",null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"var v1 = require('./v1');\nvar v4 = require('./v4');\n\nvar uuid = v4;\nuuid.v1 = v1;\nuuid.v4 = v4;\n\nmodule.exports = uuid;\n","/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\nvar byteToHex = [];\nfor (var i = 0; i < 256; ++i) {\n byteToHex[i] = (i + 0x100).toString(16).substr(1);\n}\n\nfunction bytesToUuid(buf, offset) {\n var i = offset || 0;\n var bth = byteToHex;\n // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4\n return ([\n bth[buf[i++]], bth[buf[i++]],\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]],\n bth[buf[i++]], bth[buf[i++]],\n bth[buf[i++]], bth[buf[i++]]\n ]).join('');\n}\n\nmodule.exports = bytesToUuid;\n","// Unique ID creation requires a high quality random # generator. In node.js\n// this is pretty straight-forward - we use the crypto API.\n\nvar crypto = require('crypto');\n\nmodule.exports = function nodeRNG() {\n return crypto.randomBytes(16);\n};\n","var rng = require('./lib/rng');\nvar bytesToUuid = require('./lib/bytesToUuid');\n\n// **`v1()` - Generate time-based UUID**\n//\n// Inspired by https://github.com/LiosK/UUID.js\n// and http://docs.python.org/library/uuid.html\n\nvar _nodeId;\nvar _clockseq;\n\n// Previous uuid creation time\nvar _lastMSecs = 0;\nvar _lastNSecs = 0;\n\n// See https://github.com/uuidjs/uuid for API details\nfunction v1(options, buf, offset) {\n var i = buf && offset || 0;\n var b = buf || [];\n\n options = options || {};\n var node = options.node || _nodeId;\n var clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq;\n\n // node and clockseq need to be initialized to random values if they're not\n // specified. We do this lazily to minimize issues related to insufficient\n // system entropy. See #189\n if (node == null || clockseq == null) {\n var seedBytes = rng();\n if (node == null) {\n // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)\n node = _nodeId = [\n seedBytes[0] | 0x01,\n seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]\n ];\n }\n if (clockseq == null) {\n // Per 4.2.2, randomize (14 bit) clockseq\n clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff;\n }\n }\n\n // UUID timestamps are 100 nano-second units since the Gregorian epoch,\n // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so\n // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'\n // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.\n var msecs = options.msecs !== undefined ? options.msecs : new Date().getTime();\n\n // Per 4.2.1.2, use count of uuid's generated during the current clock\n // cycle to simulate higher resolution clock\n var nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1;\n\n // Time since last uuid creation (in msecs)\n var dt = (msecs - _lastMSecs) + (nsecs - _lastNSecs)/10000;\n\n // Per 4.2.1.2, Bump clockseq on clock regression\n if (dt < 0 && options.clockseq === undefined) {\n clockseq = clockseq + 1 & 0x3fff;\n }\n\n // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new\n // time interval\n if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {\n nsecs = 0;\n }\n\n // Per 4.2.1.2 Throw error if too many uuids are requested\n if (nsecs >= 10000) {\n throw new Error('uuid.v1(): Can\\'t create more than 10M uuids/sec');\n }\n\n _lastMSecs = msecs;\n _lastNSecs = nsecs;\n _clockseq = clockseq;\n\n // Per 4.1.4 - Convert from unix epoch to Gregorian epoch\n msecs += 12219292800000;\n\n // `time_low`\n var tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;\n b[i++] = tl >>> 24 & 0xff;\n b[i++] = tl >>> 16 & 0xff;\n b[i++] = tl >>> 8 & 0xff;\n b[i++] = tl & 0xff;\n\n // `time_mid`\n var tmh = (msecs / 0x100000000 * 10000) & 0xfffffff;\n b[i++] = tmh >>> 8 & 0xff;\n b[i++] = tmh & 0xff;\n\n // `time_high_and_version`\n b[i++] = tmh >>> 24 & 0xf | 0x10; // include version\n b[i++] = tmh >>> 16 & 0xff;\n\n // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)\n b[i++] = clockseq >>> 8 | 0x80;\n\n // `clock_seq_low`\n b[i++] = clockseq & 0xff;\n\n // `node`\n for (var n = 0; n < 6; ++n) {\n b[i + n] = node[n];\n }\n\n return buf ? buf : bytesToUuid(b);\n}\n\nmodule.exports = v1;\n","var rng = require('./lib/rng');\nvar bytesToUuid = require('./lib/bytesToUuid');\n\nfunction v4(options, buf, offset) {\n var i = buf && offset || 0;\n\n if (typeof(options) == 'string') {\n buf = options === 'binary' ? new Array(16) : null;\n options = null;\n }\n options = options || {};\n\n var rnds = options.random || (options.rng || rng)();\n\n // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n rnds[6] = (rnds[6] & 0x0f) | 0x40;\n rnds[8] = (rnds[8] & 0x3f) | 0x80;\n\n // Copy bytes to buffer, if provided\n if (buf) {\n for (var ii = 0; ii < 16; ++ii) {\n buf[i + ii] = rnds[ii];\n }\n }\n\n return buf || bytesToUuid(rnds);\n}\n\nmodule.exports = v4;\n",null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\nvar byteToHex = [];\nfor (var i = 0; i < 256; ++i) {\n byteToHex[i] = (i + 0x100).toString(16).substr(1);\n}\n\nfunction bytesToUuid(buf, offset) {\n var i = offset || 0;\n var bth = byteToHex;\n // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4\n return ([\n bth[buf[i++]], bth[buf[i++]],\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]],\n bth[buf[i++]], bth[buf[i++]],\n bth[buf[i++]], bth[buf[i++]]\n ]).join('');\n}\n\nmodule.exports = bytesToUuid;\n","// Unique ID creation requires a high quality random # generator. In node.js\n// this is pretty straight-forward - we use the crypto API.\n\nvar crypto = require('crypto');\n\nmodule.exports = function nodeRNG() {\n return crypto.randomBytes(16);\n};\n","var rng = require('./lib/rng');\nvar bytesToUuid = require('./lib/bytesToUuid');\n\nfunction v4(options, buf, offset) {\n var i = buf && offset || 0;\n\n if (typeof(options) == 'string') {\n buf = options === 'binary' ? new Array(16) : null;\n options = null;\n }\n options = options || {};\n\n var rnds = options.random || (options.rng || rng)();\n\n // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n rnds[6] = (rnds[6] & 0x0f) | 0x40;\n rnds[8] = (rnds[8] & 0x3f) | 0x80;\n\n // Copy bytes to buffer, if provided\n if (buf) {\n for (var ii = 0; ii < 16; ++ii) {\n buf[i + ii] = rnds[ii];\n }\n }\n\n return buf || bytesToUuid(rnds);\n}\n\nmodule.exports = v4;\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { AbortSignal, AbortSignalLike, abortSignal } from \"./AbortSignal\";\n\n/**\n * This error is thrown when an asynchronous operation has been aborted.\n * Check for this error by testing the `name` that the name property of the\n * error matches `\"AbortError\"`.\n *\n * @example\n * ```ts\n * const controller = new AbortController();\n * controller.abort();\n * try {\n * doAsyncWork(controller.signal)\n * } catch (e) {\n * if (e.name === 'AbortError') {\n * // handle abort error here.\n * }\n * }\n * ```\n */\nexport class AbortError extends Error {\n constructor(message?: string) {\n super(message);\n this.name = \"AbortError\";\n }\n}\n\n/**\n * An AbortController provides an AbortSignal and the associated controls to signal\n * that an asynchronous operation should be aborted.\n *\n * @example\n * Abort an operation when another event fires\n * ```ts\n * const controller = new AbortController();\n * const signal = controller.signal;\n * doAsyncWork(signal);\n * button.addEventListener('click', () => controller.abort());\n * ```\n *\n * @example\n * Share aborter cross multiple operations in 30s\n * ```ts\n * // Upload the same data to 2 different data centers at the same time,\n * // abort another when any of them is finished\n * const controller = AbortController.withTimeout(30 * 1000);\n * doAsyncWork(controller.signal).then(controller.abort);\n * doAsyncWork(controller.signal).then(controller.abort);\n *```\n *\n * @example\n * Cascaded aborting\n * ```ts\n * // All operations can't take more than 30 seconds\n * const aborter = Aborter.timeout(30 * 1000);\n *\n * // Following 2 operations can't take more than 25 seconds\n * await doAsyncWork(aborter.withTimeout(25 * 1000));\n * await doAsyncWork(aborter.withTimeout(25 * 1000));\n * ```\n */\nexport class AbortController {\n private _signal: AbortSignal;\n\n /**\n * @param parentSignals - The AbortSignals that will signal aborted on the AbortSignal associated with this controller.\n */\n constructor(parentSignals?: AbortSignalLike[]);\n /**\n * @param parentSignals - The AbortSignals that will signal aborted on the AbortSignal associated with this controller.\n */\n constructor(...parentSignals: AbortSignalLike[]);\n // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\n constructor(parentSignals?: any) {\n this._signal = new AbortSignal();\n\n if (!parentSignals) {\n return;\n }\n // coerce parentSignals into an array\n if (!Array.isArray(parentSignals)) {\n // eslint-disable-next-line prefer-rest-params\n parentSignals = arguments;\n }\n for (const parentSignal of parentSignals) {\n // if the parent signal has already had abort() called,\n // then call abort on this signal as well.\n if (parentSignal.aborted) {\n this.abort();\n } else {\n // when the parent signal aborts, this signal should as well.\n parentSignal.addEventListener(\"abort\", () => {\n this.abort();\n });\n }\n }\n }\n\n /**\n * The AbortSignal associated with this controller that will signal aborted\n * when the abort method is called on this controller.\n *\n * @readonly\n */\n public get signal(): AbortSignal {\n return this._signal;\n }\n\n /**\n * Signal that any operations passed this controller's associated abort signal\n * to cancel any remaining work and throw an `AbortError`.\n */\n abort(): void {\n abortSignal(this._signal);\n }\n\n /**\n * Creates a new AbortSignal instance that will abort after the provided ms.\n * @param ms - Elapsed time in milliseconds to trigger an abort.\n */\n public static timeout(ms: number): AbortSignal {\n const signal = new AbortSignal();\n const timer = setTimeout(abortSignal, ms, signal);\n // Prevent the active Timer from keeping the Node.js event loop active.\n if (typeof timer.unref === \"function\") {\n timer.unref();\n }\n return signal;\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\n// eslint-disable-next-line @typescript-eslint/triple-slash-reference\n/// \n\ntype AbortEventListener = (this: AbortSignalLike, ev?: any) => any;\n\nconst listenersMap = new WeakMap();\nconst abortedMap = new WeakMap();\n\n/**\n * Allows the request to be aborted upon firing of the \"abort\" event.\n * Compatible with the browser built-in AbortSignal and common polyfills.\n */\nexport interface AbortSignalLike {\n /**\n * Indicates if the signal has already been aborted.\n */\n readonly aborted: boolean;\n /**\n * Add new \"abort\" event listener, only support \"abort\" event.\n */\n addEventListener(\n type: \"abort\",\n listener: (this: AbortSignalLike, ev: any) => any,\n options?: any\n ): void;\n /**\n * Remove \"abort\" event listener, only support \"abort\" event.\n */\n removeEventListener(\n type: \"abort\",\n listener: (this: AbortSignalLike, ev: any) => any,\n options?: any\n ): void;\n}\n\n/**\n * An aborter instance implements AbortSignal interface, can abort HTTP requests.\n *\n * - Call AbortSignal.none to create a new AbortSignal instance that cannot be cancelled.\n * Use `AbortSignal.none` when you are required to pass a cancellation token but the operation\n * cannot or will not ever be cancelled.\n *\n * @example\n * Abort without timeout\n * ```ts\n * await doAsyncWork(AbortSignal.none);\n * ```\n */\nexport class AbortSignal implements AbortSignalLike {\n constructor() {\n listenersMap.set(this, []);\n abortedMap.set(this, false);\n }\n\n /**\n * Status of whether aborted or not.\n *\n * @readonly\n */\n public get aborted(): boolean {\n if (!abortedMap.has(this)) {\n throw new TypeError(\"Expected `this` to be an instance of AbortSignal.\");\n }\n\n return abortedMap.get(this)!;\n }\n\n /**\n * Creates a new AbortSignal instance that will never be aborted.\n *\n * @readonly\n */\n public static get none(): AbortSignal {\n return new AbortSignal();\n }\n\n /**\n * onabort event listener.\n */\n public onabort: ((ev?: Event) => any) | null = null;\n\n /**\n * Added new \"abort\" event listener, only support \"abort\" event.\n *\n * @param _type - Only support \"abort\" event\n * @param listener - The listener to be added\n */\n public addEventListener(\n // tslint:disable-next-line:variable-name\n _type: \"abort\",\n listener: (this: AbortSignalLike, ev: any) => any\n ): void {\n if (!listenersMap.has(this)) {\n throw new TypeError(\"Expected `this` to be an instance of AbortSignal.\");\n }\n\n const listeners = listenersMap.get(this)!;\n listeners.push(listener);\n }\n\n /**\n * Remove \"abort\" event listener, only support \"abort\" event.\n *\n * @param _type - Only support \"abort\" event\n * @param listener - The listener to be removed\n */\n public removeEventListener(\n // tslint:disable-next-line:variable-name\n _type: \"abort\",\n listener: (this: AbortSignalLike, ev: any) => any\n ): void {\n if (!listenersMap.has(this)) {\n throw new TypeError(\"Expected `this` to be an instance of AbortSignal.\");\n }\n\n const listeners = listenersMap.get(this)!;\n\n const index = listeners.indexOf(listener);\n if (index > -1) {\n listeners.splice(index, 1);\n }\n }\n\n /**\n * Dispatches a synthetic event to the AbortSignal.\n */\n dispatchEvent(_event: Event): boolean {\n throw new Error(\n \"This is a stub dispatchEvent implementation that should not be used. It only exists for type-checking purposes.\"\n );\n }\n}\n\n/**\n * Helper to trigger an abort event immediately, the onabort and all abort event listeners will be triggered.\n * Will try to trigger abort event for all linked AbortSignal nodes.\n *\n * - If there is a timeout, the timer will be cancelled.\n * - If aborted is true, nothing will happen.\n *\n * @internal\n */\n// eslint-disable-next-line @azure/azure-sdk/ts-use-interface-parameters\nexport function abortSignal(signal: AbortSignal): void {\n if (signal.aborted) {\n return;\n }\n\n if (signal.onabort) {\n signal.onabort.call(signal);\n }\n\n const listeners = listenersMap.get(signal)!;\n if (listeners) {\n // Create a copy of listeners so mutations to the array\n // (e.g. via removeListener calls) don't affect the listeners\n // we invoke.\n listeners.slice().forEach((listener) => {\n listener.call(signal, { type: \"abort\" });\n });\n }\n\n abortedMap.set(signal, true);\n}\n","var CombinedStream = require('combined-stream');\nvar util = require('util');\nvar path = require('path');\nvar http = require('http');\nvar https = require('https');\nvar parseUrl = require('url').parse;\nvar fs = require('fs');\nvar Stream = require('stream').Stream;\nvar mime = require('mime-types');\nvar asynckit = require('asynckit');\nvar populate = require('./populate.js');\n\n// Public API\nmodule.exports = FormData;\n\n// make it a Stream\nutil.inherits(FormData, CombinedStream);\n\n/**\n * Create readable \"multipart/form-data\" streams.\n * Can be used to submit forms\n * and file uploads to other web applications.\n *\n * @constructor\n * @param {Object} options - Properties to be added/overriden for FormData and CombinedStream\n */\nfunction FormData(options) {\n if (!(this instanceof FormData)) {\n return new FormData(options);\n }\n\n this._overheadLength = 0;\n this._valueLength = 0;\n this._valuesToMeasure = [];\n\n CombinedStream.call(this);\n\n options = options || {};\n for (var option in options) {\n this[option] = options[option];\n }\n}\n\nFormData.LINE_BREAK = '\\r\\n';\nFormData.DEFAULT_CONTENT_TYPE = 'application/octet-stream';\n\nFormData.prototype.append = function(field, value, options) {\n\n options = options || {};\n\n // allow filename as single option\n if (typeof options == 'string') {\n options = {filename: options};\n }\n\n var append = CombinedStream.prototype.append.bind(this);\n\n // all that streamy business can't handle numbers\n if (typeof value == 'number') {\n value = '' + value;\n }\n\n // https://github.com/felixge/node-form-data/issues/38\n if (util.isArray(value)) {\n // Please convert your array into string\n // the way web server expects it\n this._error(new Error('Arrays are not supported.'));\n return;\n }\n\n var header = this._multiPartHeader(field, value, options);\n var footer = this._multiPartFooter();\n\n append(header);\n append(value);\n append(footer);\n\n // pass along options.knownLength\n this._trackLength(header, value, options);\n};\n\nFormData.prototype._trackLength = function(header, value, options) {\n var valueLength = 0;\n\n // used w/ getLengthSync(), when length is known.\n // e.g. for streaming directly from a remote server,\n // w/ a known file a size, and not wanting to wait for\n // incoming file to finish to get its size.\n if (options.knownLength != null) {\n valueLength += +options.knownLength;\n } else if (Buffer.isBuffer(value)) {\n valueLength = value.length;\n } else if (typeof value === 'string') {\n valueLength = Buffer.byteLength(value);\n }\n\n this._valueLength += valueLength;\n\n // @check why add CRLF? does this account for custom/multiple CRLFs?\n this._overheadLength +=\n Buffer.byteLength(header) +\n FormData.LINE_BREAK.length;\n\n // empty or either doesn't have path or not an http response or not a stream\n if (!value || ( !value.path && !(value.readable && value.hasOwnProperty('httpVersion')) && !(value instanceof Stream))) {\n return;\n }\n\n // no need to bother with the length\n if (!options.knownLength) {\n this._valuesToMeasure.push(value);\n }\n};\n\nFormData.prototype._lengthRetriever = function(value, callback) {\n\n if (value.hasOwnProperty('fd')) {\n\n // take read range into a account\n // `end` = Infinity –> read file till the end\n //\n // TODO: Looks like there is bug in Node fs.createReadStream\n // it doesn't respect `end` options without `start` options\n // Fix it when node fixes it.\n // https://github.com/joyent/node/issues/7819\n if (value.end != undefined && value.end != Infinity && value.start != undefined) {\n\n // when end specified\n // no need to calculate range\n // inclusive, starts with 0\n callback(null, value.end + 1 - (value.start ? value.start : 0));\n\n // not that fast snoopy\n } else {\n // still need to fetch file size from fs\n fs.stat(value.path, function(err, stat) {\n\n var fileSize;\n\n if (err) {\n callback(err);\n return;\n }\n\n // update final size based on the range options\n fileSize = stat.size - (value.start ? value.start : 0);\n callback(null, fileSize);\n });\n }\n\n // or http response\n } else if (value.hasOwnProperty('httpVersion')) {\n callback(null, +value.headers['content-length']);\n\n // or request stream http://github.com/mikeal/request\n } else if (value.hasOwnProperty('httpModule')) {\n // wait till response come back\n value.on('response', function(response) {\n value.pause();\n callback(null, +response.headers['content-length']);\n });\n value.resume();\n\n // something else\n } else {\n callback('Unknown stream');\n }\n};\n\nFormData.prototype._multiPartHeader = function(field, value, options) {\n // custom header specified (as string)?\n // it becomes responsible for boundary\n // (e.g. to handle extra CRLFs on .NET servers)\n if (typeof options.header == 'string') {\n return options.header;\n }\n\n var contentDisposition = this._getContentDisposition(value, options);\n var contentType = this._getContentType(value, options);\n\n var contents = '';\n var headers = {\n // add custom disposition as third element or keep it two elements if not\n 'Content-Disposition': ['form-data', 'name=\"' + field + '\"'].concat(contentDisposition || []),\n // if no content type. allow it to be empty array\n 'Content-Type': [].concat(contentType || [])\n };\n\n // allow custom headers.\n if (typeof options.header == 'object') {\n populate(headers, options.header);\n }\n\n var header;\n for (var prop in headers) {\n if (!headers.hasOwnProperty(prop)) continue;\n header = headers[prop];\n\n // skip nullish headers.\n if (header == null) {\n continue;\n }\n\n // convert all headers to arrays.\n if (!Array.isArray(header)) {\n header = [header];\n }\n\n // add non-empty headers.\n if (header.length) {\n contents += prop + ': ' + header.join('; ') + FormData.LINE_BREAK;\n }\n }\n\n return '--' + this.getBoundary() + FormData.LINE_BREAK + contents + FormData.LINE_BREAK;\n};\n\nFormData.prototype._getContentDisposition = function(value, options) {\n\n var filename\n , contentDisposition\n ;\n\n if (typeof options.filepath === 'string') {\n // custom filepath for relative paths\n filename = path.normalize(options.filepath).replace(/\\\\/g, '/');\n } else if (options.filename || value.name || value.path) {\n // custom filename take precedence\n // formidable and the browser add a name property\n // fs- and request- streams have path property\n filename = path.basename(options.filename || value.name || value.path);\n } else if (value.readable && value.hasOwnProperty('httpVersion')) {\n // or try http response\n filename = path.basename(value.client._httpMessage.path || '');\n }\n\n if (filename) {\n contentDisposition = 'filename=\"' + filename + '\"';\n }\n\n return contentDisposition;\n};\n\nFormData.prototype._getContentType = function(value, options) {\n\n // use custom content-type above all\n var contentType = options.contentType;\n\n // or try `name` from formidable, browser\n if (!contentType && value.name) {\n contentType = mime.lookup(value.name);\n }\n\n // or try `path` from fs-, request- streams\n if (!contentType && value.path) {\n contentType = mime.lookup(value.path);\n }\n\n // or if it's http-reponse\n if (!contentType && value.readable && value.hasOwnProperty('httpVersion')) {\n contentType = value.headers['content-type'];\n }\n\n // or guess it from the filepath or filename\n if (!contentType && (options.filepath || options.filename)) {\n contentType = mime.lookup(options.filepath || options.filename);\n }\n\n // fallback to the default content type if `value` is not simple value\n if (!contentType && typeof value == 'object') {\n contentType = FormData.DEFAULT_CONTENT_TYPE;\n }\n\n return contentType;\n};\n\nFormData.prototype._multiPartFooter = function() {\n return function(next) {\n var footer = FormData.LINE_BREAK;\n\n var lastPart = (this._streams.length === 0);\n if (lastPart) {\n footer += this._lastBoundary();\n }\n\n next(footer);\n }.bind(this);\n};\n\nFormData.prototype._lastBoundary = function() {\n return '--' + this.getBoundary() + '--' + FormData.LINE_BREAK;\n};\n\nFormData.prototype.getHeaders = function(userHeaders) {\n var header;\n var formHeaders = {\n 'content-type': 'multipart/form-data; boundary=' + this.getBoundary()\n };\n\n for (header in userHeaders) {\n if (userHeaders.hasOwnProperty(header)) {\n formHeaders[header.toLowerCase()] = userHeaders[header];\n }\n }\n\n return formHeaders;\n};\n\nFormData.prototype.setBoundary = function(boundary) {\n this._boundary = boundary;\n};\n\nFormData.prototype.getBoundary = function() {\n if (!this._boundary) {\n this._generateBoundary();\n }\n\n return this._boundary;\n};\n\nFormData.prototype.getBuffer = function() {\n var dataBuffer = new Buffer.alloc( 0 );\n var boundary = this.getBoundary();\n\n // Create the form content. Add Line breaks to the end of data.\n for (var i = 0, len = this._streams.length; i < len; i++) {\n if (typeof this._streams[i] !== 'function') {\n\n // Add content to the buffer.\n if(Buffer.isBuffer(this._streams[i])) {\n dataBuffer = Buffer.concat( [dataBuffer, this._streams[i]]);\n }else {\n dataBuffer = Buffer.concat( [dataBuffer, Buffer.from(this._streams[i])]);\n }\n\n // Add break after content.\n if (typeof this._streams[i] !== 'string' || this._streams[i].substring( 2, boundary.length + 2 ) !== boundary) {\n dataBuffer = Buffer.concat( [dataBuffer, Buffer.from(FormData.LINE_BREAK)] );\n }\n }\n }\n\n // Add the footer and return the Buffer object.\n return Buffer.concat( [dataBuffer, Buffer.from(this._lastBoundary())] );\n};\n\nFormData.prototype._generateBoundary = function() {\n // This generates a 50 character boundary similar to those used by Firefox.\n // They are optimized for boyer-moore parsing.\n var boundary = '--------------------------';\n for (var i = 0; i < 24; i++) {\n boundary += Math.floor(Math.random() * 10).toString(16);\n }\n\n this._boundary = boundary;\n};\n\n// Note: getLengthSync DOESN'T calculate streams length\n// As workaround one can calculate file size manually\n// and add it as knownLength option\nFormData.prototype.getLengthSync = function() {\n var knownLength = this._overheadLength + this._valueLength;\n\n // Don't get confused, there are 3 \"internal\" streams for each keyval pair\n // so it basically checks if there is any value added to the form\n if (this._streams.length) {\n knownLength += this._lastBoundary().length;\n }\n\n // https://github.com/form-data/form-data/issues/40\n if (!this.hasKnownLength()) {\n // Some async length retrievers are present\n // therefore synchronous length calculation is false.\n // Please use getLength(callback) to get proper length\n this._error(new Error('Cannot calculate proper length in synchronous way.'));\n }\n\n return knownLength;\n};\n\n// Public API to check if length of added values is known\n// https://github.com/form-data/form-data/issues/196\n// https://github.com/form-data/form-data/issues/262\nFormData.prototype.hasKnownLength = function() {\n var hasKnownLength = true;\n\n if (this._valuesToMeasure.length) {\n hasKnownLength = false;\n }\n\n return hasKnownLength;\n};\n\nFormData.prototype.getLength = function(cb) {\n var knownLength = this._overheadLength + this._valueLength;\n\n if (this._streams.length) {\n knownLength += this._lastBoundary().length;\n }\n\n if (!this._valuesToMeasure.length) {\n process.nextTick(cb.bind(this, null, knownLength));\n return;\n }\n\n asynckit.parallel(this._valuesToMeasure, this._lengthRetriever, function(err, values) {\n if (err) {\n cb(err);\n return;\n }\n\n values.forEach(function(length) {\n knownLength += length;\n });\n\n cb(null, knownLength);\n });\n};\n\nFormData.prototype.submit = function(params, cb) {\n var request\n , options\n , defaults = {method: 'post'}\n ;\n\n // parse provided url if it's string\n // or treat it as options object\n if (typeof params == 'string') {\n\n params = parseUrl(params);\n options = populate({\n port: params.port,\n path: params.pathname,\n host: params.hostname,\n protocol: params.protocol\n }, defaults);\n\n // use custom params\n } else {\n\n options = populate(params, defaults);\n // if no port provided use default one\n if (!options.port) {\n options.port = options.protocol == 'https:' ? 443 : 80;\n }\n }\n\n // put that good code in getHeaders to some use\n options.headers = this.getHeaders(params.headers);\n\n // https if specified, fallback to http in any other case\n if (options.protocol == 'https:') {\n request = https.request(options);\n } else {\n request = http.request(options);\n }\n\n // get content length and fire away\n this.getLength(function(err, length) {\n if (err && err !== 'Unknown stream') {\n this._error(err);\n return;\n }\n\n // add content length\n if (length) {\n request.setHeader('Content-Length', length);\n }\n\n this.pipe(request);\n if (cb) {\n var onResponse;\n\n var callback = function (error, responce) {\n request.removeListener('error', callback);\n request.removeListener('response', onResponse);\n\n return cb.call(this, error, responce);\n };\n\n onResponse = callback.bind(this, null);\n\n request.on('error', callback);\n request.on('response', onResponse);\n }\n }.bind(this));\n\n return request;\n};\n\nFormData.prototype._error = function(err) {\n if (!this.error) {\n this.error = err;\n this.pause();\n this.emit('error', err);\n }\n};\n\nFormData.prototype.toString = function () {\n return '[object FormData]';\n};\n","// populates missing values\nmodule.exports = function(dst, src) {\n\n Object.keys(src).forEach(function(prop)\n {\n dst[prop] = dst[prop] || src[prop];\n });\n\n return dst;\n};\n","/*!\n * Copyright (c) 2015-2020, Salesforce.com, Inc.\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n *\n * 1. Redistributions of source code must retain the above copyright notice,\n * this list of conditions and the following disclaimer.\n *\n * 2. Redistributions in binary form must reproduce the above copyright notice,\n * this list of conditions and the following disclaimer in the documentation\n * and/or other materials provided with the distribution.\n *\n * 3. Neither the name of Salesforce.com nor the names of its contributors may\n * be used to endorse or promote products derived from this software without\n * specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE\n * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n * POSSIBILITY OF SUCH DAMAGE.\n */\n\"use strict\";\nconst punycode = require(\"punycode/\");\nconst urlParse = require(\"url-parse\");\nconst pubsuffix = require(\"./pubsuffix-psl\");\nconst Store = require(\"./store\").Store;\nconst MemoryCookieStore = require(\"./memstore\").MemoryCookieStore;\nconst pathMatch = require(\"./pathMatch\").pathMatch;\nconst validators = require(\"./validators.js\");\nconst VERSION = require(\"./version\");\nconst { fromCallback } = require(\"universalify\");\nconst { getCustomInspectSymbol } = require(\"./utilHelper\");\n\n// From RFC6265 S4.1.1\n// note that it excludes \\x3B \";\"\nconst COOKIE_OCTETS = /^[\\x21\\x23-\\x2B\\x2D-\\x3A\\x3C-\\x5B\\x5D-\\x7E]+$/;\n\nconst CONTROL_CHARS = /[\\x00-\\x1F]/;\n\n// From Chromium // '\\r', '\\n' and '\\0' should be treated as a terminator in\n// the \"relaxed\" mode, see:\n// https://github.com/ChromiumWebApps/chromium/blob/b3d3b4da8bb94c1b2e061600df106d590fda3620/net/cookies/parsed_cookie.cc#L60\nconst TERMINATORS = [\"\\n\", \"\\r\", \"\\0\"];\n\n// RFC6265 S4.1.1 defines path value as 'any CHAR except CTLs or \";\"'\n// Note ';' is \\x3B\nconst PATH_VALUE = /[\\x20-\\x3A\\x3C-\\x7E]+/;\n\n// date-time parsing constants (RFC6265 S5.1.1)\n\nconst DATE_DELIM = /[\\x09\\x20-\\x2F\\x3B-\\x40\\x5B-\\x60\\x7B-\\x7E]/;\n\nconst MONTH_TO_NUM = {\n jan: 0,\n feb: 1,\n mar: 2,\n apr: 3,\n may: 4,\n jun: 5,\n jul: 6,\n aug: 7,\n sep: 8,\n oct: 9,\n nov: 10,\n dec: 11\n};\n\nconst MAX_TIME = 2147483647000; // 31-bit max\nconst MIN_TIME = 0; // 31-bit min\nconst SAME_SITE_CONTEXT_VAL_ERR =\n 'Invalid sameSiteContext option for getCookies(); expected one of \"strict\", \"lax\", or \"none\"';\n\nfunction checkSameSiteContext(value) {\n validators.validate(validators.isNonEmptyString(value), value);\n const context = String(value).toLowerCase();\n if (context === \"none\" || context === \"lax\" || context === \"strict\") {\n return context;\n } else {\n return null;\n }\n}\n\nconst PrefixSecurityEnum = Object.freeze({\n SILENT: \"silent\",\n STRICT: \"strict\",\n DISABLED: \"unsafe-disabled\"\n});\n\n// Dumped from ip-regex@4.0.0, with the following changes:\n// * all capturing groups converted to non-capturing -- \"(?:)\"\n// * support for IPv6 Scoped Literal (\"%eth1\") removed\n// * lowercase hexadecimal only\nconst IP_REGEX_LOWERCASE = /(?:^(?:25[0-5]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){2}(?:(?::[a-fA-F\\\\d]{1,4}){0,3}:(?:25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]\\\\d|\\\\d)(?:\\\\.(?:25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]\\\\d|\\\\d)){3}|(?::[a-fA-F\\\\d]{1,4}){1,5}|:)|\n(?:[a-fA-F\\\\d]{1,4}:){1}(?:(?::[a-fA-F\\\\d]{1,4}){0,4}:(?:25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]\\\\d|\\\\d)(?:\\\\.(?:25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]\\\\d|\\\\d)){3}|(?::[a-fA-F\\\\d]{1,4}){1,6}|:)|\n(?::(?:(?::[a-fA-F\\\\d]{1,4}){0,5}:(?:25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]\\\\d|\\\\d)(?:\\\\.(?:25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]\\\\d|\\\\d)){3}|(?::[a-fA-F\\\\d]{1,4}){1,7}|:))\n)(?:%[0-9a-zA-Z]{1,})?\\\\]?\n`\n .replace(/\\s*\\/\\/.*$/gm, \"\")\n .replace(/\\n/g, \"\")\n .trim();\nconst IP_V6_REGEX_OBJECT = new RegExp(`^${IP_V6_REGEX}$`);\n\n/*\n * Parses a Natural number (i.e., non-negative integer) with either the\n * *DIGIT ( non-digit *OCTET )\n * or\n * *DIGIT\n * grammar (RFC6265 S5.1.1).\n *\n * The \"trailingOK\" boolean controls if the grammar accepts a\n * \"( non-digit *OCTET )\" trailer.\n */\nfunction parseDigits(token, minDigits, maxDigits, trailingOK) {\n let count = 0;\n while (count < token.length) {\n const c = token.charCodeAt(count);\n // \"non-digit = %x00-2F / %x3A-FF\"\n if (c <= 0x2f || c >= 0x3a) {\n break;\n }\n count++;\n }\n\n // constrain to a minimum and maximum number of digits.\n if (count < minDigits || count > maxDigits) {\n return null;\n }\n\n if (!trailingOK && count != token.length) {\n return null;\n }\n\n return parseInt(token.substr(0, count), 10);\n}\n\nfunction parseTime(token) {\n const parts = token.split(\":\");\n const result = [0, 0, 0];\n\n /* RF6256 S5.1.1:\n * time = hms-time ( non-digit *OCTET )\n * hms-time = time-field \":\" time-field \":\" time-field\n * time-field = 1*2DIGIT\n */\n\n if (parts.length !== 3) {\n return null;\n }\n\n for (let i = 0; i < 3; i++) {\n // \"time-field\" must be strictly \"1*2DIGIT\", HOWEVER, \"hms-time\" can be\n // followed by \"( non-digit *OCTET )\" so therefore the last time-field can\n // have a trailer\n const trailingOK = i == 2;\n const num = parseDigits(parts[i], 1, 2, trailingOK);\n if (num === null) {\n return null;\n }\n result[i] = num;\n }\n\n return result;\n}\n\nfunction parseMonth(token) {\n token = String(token)\n .substr(0, 3)\n .toLowerCase();\n const num = MONTH_TO_NUM[token];\n return num >= 0 ? num : null;\n}\n\n/*\n * RFC6265 S5.1.1 date parser (see RFC for full grammar)\n */\nfunction parseDate(str) {\n if (!str) {\n return;\n }\n\n /* RFC6265 S5.1.1:\n * 2. Process each date-token sequentially in the order the date-tokens\n * appear in the cookie-date\n */\n const tokens = str.split(DATE_DELIM);\n if (!tokens) {\n return;\n }\n\n let hour = null;\n let minute = null;\n let second = null;\n let dayOfMonth = null;\n let month = null;\n let year = null;\n\n for (let i = 0; i < tokens.length; i++) {\n const token = tokens[i].trim();\n if (!token.length) {\n continue;\n }\n\n let result;\n\n /* 2.1. If the found-time flag is not set and the token matches the time\n * production, set the found-time flag and set the hour- value,\n * minute-value, and second-value to the numbers denoted by the digits in\n * the date-token, respectively. Skip the remaining sub-steps and continue\n * to the next date-token.\n */\n if (second === null) {\n result = parseTime(token);\n if (result) {\n hour = result[0];\n minute = result[1];\n second = result[2];\n continue;\n }\n }\n\n /* 2.2. If the found-day-of-month flag is not set and the date-token matches\n * the day-of-month production, set the found-day-of- month flag and set\n * the day-of-month-value to the number denoted by the date-token. Skip\n * the remaining sub-steps and continue to the next date-token.\n */\n if (dayOfMonth === null) {\n // \"day-of-month = 1*2DIGIT ( non-digit *OCTET )\"\n result = parseDigits(token, 1, 2, true);\n if (result !== null) {\n dayOfMonth = result;\n continue;\n }\n }\n\n /* 2.3. If the found-month flag is not set and the date-token matches the\n * month production, set the found-month flag and set the month-value to\n * the month denoted by the date-token. Skip the remaining sub-steps and\n * continue to the next date-token.\n */\n if (month === null) {\n result = parseMonth(token);\n if (result !== null) {\n month = result;\n continue;\n }\n }\n\n /* 2.4. If the found-year flag is not set and the date-token matches the\n * year production, set the found-year flag and set the year-value to the\n * number denoted by the date-token. Skip the remaining sub-steps and\n * continue to the next date-token.\n */\n if (year === null) {\n // \"year = 2*4DIGIT ( non-digit *OCTET )\"\n result = parseDigits(token, 2, 4, true);\n if (result !== null) {\n year = result;\n /* From S5.1.1:\n * 3. If the year-value is greater than or equal to 70 and less\n * than or equal to 99, increment the year-value by 1900.\n * 4. If the year-value is greater than or equal to 0 and less\n * than or equal to 69, increment the year-value by 2000.\n */\n if (year >= 70 && year <= 99) {\n year += 1900;\n } else if (year >= 0 && year <= 69) {\n year += 2000;\n }\n }\n }\n }\n\n /* RFC 6265 S5.1.1\n * \"5. Abort these steps and fail to parse the cookie-date if:\n * * at least one of the found-day-of-month, found-month, found-\n * year, or found-time flags is not set,\n * * the day-of-month-value is less than 1 or greater than 31,\n * * the year-value is less than 1601,\n * * the hour-value is greater than 23,\n * * the minute-value is greater than 59, or\n * * the second-value is greater than 59.\n * (Note that leap seconds cannot be represented in this syntax.)\"\n *\n * So, in order as above:\n */\n if (\n dayOfMonth === null ||\n month === null ||\n year === null ||\n second === null ||\n dayOfMonth < 1 ||\n dayOfMonth > 31 ||\n year < 1601 ||\n hour > 23 ||\n minute > 59 ||\n second > 59\n ) {\n return;\n }\n\n return new Date(Date.UTC(year, month, dayOfMonth, hour, minute, second));\n}\n\nfunction formatDate(date) {\n validators.validate(validators.isDate(date), date);\n return date.toUTCString();\n}\n\n// S5.1.2 Canonicalized Host Names\nfunction canonicalDomain(str) {\n if (str == null) {\n return null;\n }\n str = str.trim().replace(/^\\./, \"\"); // S4.1.2.3 & S5.2.3: ignore leading .\n\n if (IP_V6_REGEX_OBJECT.test(str)) {\n str = str.replace(\"[\", \"\").replace(\"]\", \"\");\n }\n\n // convert to IDN if any non-ASCII characters\n if (punycode && /[^\\u0001-\\u007f]/.test(str)) {\n str = punycode.toASCII(str);\n }\n\n return str.toLowerCase();\n}\n\n// S5.1.3 Domain Matching\nfunction domainMatch(str, domStr, canonicalize) {\n if (str == null || domStr == null) {\n return null;\n }\n if (canonicalize !== false) {\n str = canonicalDomain(str);\n domStr = canonicalDomain(domStr);\n }\n\n /*\n * S5.1.3:\n * \"A string domain-matches a given domain string if at least one of the\n * following conditions hold:\"\n *\n * \" o The domain string and the string are identical. (Note that both the\n * domain string and the string will have been canonicalized to lower case at\n * this point)\"\n */\n if (str == domStr) {\n return true;\n }\n\n /* \" o All of the following [three] conditions hold:\" */\n\n /* \"* The domain string is a suffix of the string\" */\n const idx = str.lastIndexOf(domStr);\n if (idx <= 0) {\n return false; // it's a non-match (-1) or prefix (0)\n }\n\n // next, check it's a proper suffix\n // e.g., \"a.b.c\".indexOf(\"b.c\") === 2\n // 5 === 3+2\n if (str.length !== domStr.length + idx) {\n return false; // it's not a suffix\n }\n\n /* \" * The last character of the string that is not included in the\n * domain string is a %x2E (\".\") character.\" */\n if (str.substr(idx - 1, 1) !== \".\") {\n return false; // doesn't align on \".\"\n }\n\n /* \" * The string is a host name (i.e., not an IP address).\" */\n if (IP_REGEX_LOWERCASE.test(str)) {\n return false; // it's an IP address\n }\n\n return true;\n}\n\n// RFC6265 S5.1.4 Paths and Path-Match\n\n/*\n * \"The user agent MUST use an algorithm equivalent to the following algorithm\n * to compute the default-path of a cookie:\"\n *\n * Assumption: the path (and not query part or absolute uri) is passed in.\n */\nfunction defaultPath(path) {\n // \"2. If the uri-path is empty or if the first character of the uri-path is not\n // a %x2F (\"/\") character, output %x2F (\"/\") and skip the remaining steps.\n if (!path || path.substr(0, 1) !== \"/\") {\n return \"/\";\n }\n\n // \"3. If the uri-path contains no more than one %x2F (\"/\") character, output\n // %x2F (\"/\") and skip the remaining step.\"\n if (path === \"/\") {\n return path;\n }\n\n const rightSlash = path.lastIndexOf(\"/\");\n if (rightSlash === 0) {\n return \"/\";\n }\n\n // \"4. Output the characters of the uri-path from the first character up to,\n // but not including, the right-most %x2F (\"/\").\"\n return path.slice(0, rightSlash);\n}\n\nfunction trimTerminator(str) {\n if (validators.isEmptyString(str)) return str;\n for (let t = 0; t < TERMINATORS.length; t++) {\n const terminatorIdx = str.indexOf(TERMINATORS[t]);\n if (terminatorIdx !== -1) {\n str = str.substr(0, terminatorIdx);\n }\n }\n\n return str;\n}\n\nfunction parseCookiePair(cookiePair, looseMode) {\n cookiePair = trimTerminator(cookiePair);\n validators.validate(validators.isString(cookiePair), cookiePair);\n\n let firstEq = cookiePair.indexOf(\"=\");\n if (looseMode) {\n if (firstEq === 0) {\n // '=' is immediately at start\n cookiePair = cookiePair.substr(1);\n firstEq = cookiePair.indexOf(\"=\"); // might still need to split on '='\n }\n } else {\n // non-loose mode\n if (firstEq <= 0) {\n // no '=' or is at start\n return; // needs to have non-empty \"cookie-name\"\n }\n }\n\n let cookieName, cookieValue;\n if (firstEq <= 0) {\n cookieName = \"\";\n cookieValue = cookiePair.trim();\n } else {\n cookieName = cookiePair.substr(0, firstEq).trim();\n cookieValue = cookiePair.substr(firstEq + 1).trim();\n }\n\n if (CONTROL_CHARS.test(cookieName) || CONTROL_CHARS.test(cookieValue)) {\n return;\n }\n\n const c = new Cookie();\n c.key = cookieName;\n c.value = cookieValue;\n return c;\n}\n\nfunction parse(str, options) {\n if (!options || typeof options !== \"object\") {\n options = {};\n }\n\n if (validators.isEmptyString(str) || !validators.isString(str)) {\n return null;\n }\n\n str = str.trim();\n\n // We use a regex to parse the \"name-value-pair\" part of S5.2\n const firstSemi = str.indexOf(\";\"); // S5.2 step 1\n const cookiePair = firstSemi === -1 ? str : str.substr(0, firstSemi);\n const c = parseCookiePair(cookiePair, !!options.loose);\n if (!c) {\n return;\n }\n\n if (firstSemi === -1) {\n return c;\n }\n\n // S5.2.3 \"unparsed-attributes consist of the remainder of the set-cookie-string\n // (including the %x3B (\";\") in question).\" plus later on in the same section\n // \"discard the first \";\" and trim\".\n const unparsed = str.slice(firstSemi + 1).trim();\n\n // \"If the unparsed-attributes string is empty, skip the rest of these\n // steps.\"\n if (unparsed.length === 0) {\n return c;\n }\n\n /*\n * S5.2 says that when looping over the items \"[p]rocess the attribute-name\n * and attribute-value according to the requirements in the following\n * subsections\" for every item. Plus, for many of the individual attributes\n * in S5.3 it says to use the \"attribute-value of the last attribute in the\n * cookie-attribute-list\". Therefore, in this implementation, we overwrite\n * the previous value.\n */\n const cookie_avs = unparsed.split(\";\");\n while (cookie_avs.length) {\n const av = cookie_avs.shift().trim();\n if (av.length === 0) {\n // happens if \";;\" appears\n continue;\n }\n const av_sep = av.indexOf(\"=\");\n let av_key, av_value;\n\n if (av_sep === -1) {\n av_key = av;\n av_value = null;\n } else {\n av_key = av.substr(0, av_sep);\n av_value = av.substr(av_sep + 1);\n }\n\n av_key = av_key.trim().toLowerCase();\n\n if (av_value) {\n av_value = av_value.trim();\n }\n\n switch (av_key) {\n case \"expires\": // S5.2.1\n if (av_value) {\n const exp = parseDate(av_value);\n // \"If the attribute-value failed to parse as a cookie date, ignore the\n // cookie-av.\"\n if (exp) {\n // over and underflow not realistically a concern: V8's getTime() seems to\n // store something larger than a 32-bit time_t (even with 32-bit node)\n c.expires = exp;\n }\n }\n break;\n\n case \"max-age\": // S5.2.2\n if (av_value) {\n // \"If the first character of the attribute-value is not a DIGIT or a \"-\"\n // character ...[or]... If the remainder of attribute-value contains a\n // non-DIGIT character, ignore the cookie-av.\"\n if (/^-?[0-9]+$/.test(av_value)) {\n const delta = parseInt(av_value, 10);\n // \"If delta-seconds is less than or equal to zero (0), let expiry-time\n // be the earliest representable date and time.\"\n c.setMaxAge(delta);\n }\n }\n break;\n\n case \"domain\": // S5.2.3\n // \"If the attribute-value is empty, the behavior is undefined. However,\n // the user agent SHOULD ignore the cookie-av entirely.\"\n if (av_value) {\n // S5.2.3 \"Let cookie-domain be the attribute-value without the leading %x2E\n // (\".\") character.\"\n const domain = av_value.trim().replace(/^\\./, \"\");\n if (domain) {\n // \"Convert the cookie-domain to lower case.\"\n c.domain = domain.toLowerCase();\n }\n }\n break;\n\n case \"path\": // S5.2.4\n /*\n * \"If the attribute-value is empty or if the first character of the\n * attribute-value is not %x2F (\"/\"):\n * Let cookie-path be the default-path.\n * Otherwise:\n * Let cookie-path be the attribute-value.\"\n *\n * We'll represent the default-path as null since it depends on the\n * context of the parsing.\n */\n c.path = av_value && av_value[0] === \"/\" ? av_value : null;\n break;\n\n case \"secure\": // S5.2.5\n /*\n * \"If the attribute-name case-insensitively matches the string \"Secure\",\n * the user agent MUST append an attribute to the cookie-attribute-list\n * with an attribute-name of Secure and an empty attribute-value.\"\n */\n c.secure = true;\n break;\n\n case \"httponly\": // S5.2.6 -- effectively the same as 'secure'\n c.httpOnly = true;\n break;\n\n case \"samesite\": // RFC6265bis-02 S5.3.7\n const enforcement = av_value ? av_value.toLowerCase() : \"\";\n switch (enforcement) {\n case \"strict\":\n c.sameSite = \"strict\";\n break;\n case \"lax\":\n c.sameSite = \"lax\";\n break;\n case \"none\":\n c.sameSite = \"none\";\n break;\n default:\n c.sameSite = undefined;\n break;\n }\n break;\n\n default:\n c.extensions = c.extensions || [];\n c.extensions.push(av);\n break;\n }\n }\n\n return c;\n}\n\n/**\n * If the cookie-name begins with a case-sensitive match for the\n * string \"__Secure-\", abort these steps and ignore the cookie\n * entirely unless the cookie's secure-only-flag is true.\n * @param cookie\n * @returns boolean\n */\nfunction isSecurePrefixConditionMet(cookie) {\n validators.validate(validators.isObject(cookie), cookie);\n return !cookie.key.startsWith(\"__Secure-\") || cookie.secure;\n}\n\n/**\n * If the cookie-name begins with a case-sensitive match for the\n * string \"__Host-\", abort these steps and ignore the cookie\n * entirely unless the cookie meets all the following criteria:\n * 1. The cookie's secure-only-flag is true.\n * 2. The cookie's host-only-flag is true.\n * 3. The cookie-attribute-list contains an attribute with an\n * attribute-name of \"Path\", and the cookie's path is \"/\".\n * @param cookie\n * @returns boolean\n */\nfunction isHostPrefixConditionMet(cookie) {\n validators.validate(validators.isObject(cookie));\n return (\n !cookie.key.startsWith(\"__Host-\") ||\n (cookie.secure &&\n cookie.hostOnly &&\n cookie.path != null &&\n cookie.path === \"/\")\n );\n}\n\n// avoid the V8 deoptimization monster!\nfunction jsonParse(str) {\n let obj;\n try {\n obj = JSON.parse(str);\n } catch (e) {\n return e;\n }\n return obj;\n}\n\nfunction fromJSON(str) {\n if (!str || validators.isEmptyString(str)) {\n return null;\n }\n\n let obj;\n if (typeof str === \"string\") {\n obj = jsonParse(str);\n if (obj instanceof Error) {\n return null;\n }\n } else {\n // assume it's an Object\n obj = str;\n }\n\n const c = new Cookie();\n for (let i = 0; i < Cookie.serializableProperties.length; i++) {\n const prop = Cookie.serializableProperties[i];\n if (obj[prop] === undefined || obj[prop] === cookieDefaults[prop]) {\n continue; // leave as prototype default\n }\n\n if (prop === \"expires\" || prop === \"creation\" || prop === \"lastAccessed\") {\n if (obj[prop] === null) {\n c[prop] = null;\n } else {\n c[prop] = obj[prop] == \"Infinity\" ? \"Infinity\" : new Date(obj[prop]);\n }\n } else {\n c[prop] = obj[prop];\n }\n }\n\n return c;\n}\n\n/* Section 5.4 part 2:\n * \"* Cookies with longer paths are listed before cookies with\n * shorter paths.\n *\n * * Among cookies that have equal-length path fields, cookies with\n * earlier creation-times are listed before cookies with later\n * creation-times.\"\n */\n\nfunction cookieCompare(a, b) {\n validators.validate(validators.isObject(a), a);\n validators.validate(validators.isObject(b), b);\n let cmp = 0;\n\n // descending for length: b CMP a\n const aPathLen = a.path ? a.path.length : 0;\n const bPathLen = b.path ? b.path.length : 0;\n cmp = bPathLen - aPathLen;\n if (cmp !== 0) {\n return cmp;\n }\n\n // ascending for time: a CMP b\n const aTime = a.creation ? a.creation.getTime() : MAX_TIME;\n const bTime = b.creation ? b.creation.getTime() : MAX_TIME;\n cmp = aTime - bTime;\n if (cmp !== 0) {\n return cmp;\n }\n\n // break ties for the same millisecond (precision of JavaScript's clock)\n cmp = a.creationIndex - b.creationIndex;\n\n return cmp;\n}\n\n// Gives the permutation of all possible pathMatch()es of a given path. The\n// array is in longest-to-shortest order. Handy for indexing.\nfunction permutePath(path) {\n validators.validate(validators.isString(path));\n if (path === \"/\") {\n return [\"/\"];\n }\n const permutations = [path];\n while (path.length > 1) {\n const lindex = path.lastIndexOf(\"/\");\n if (lindex === 0) {\n break;\n }\n path = path.substr(0, lindex);\n permutations.push(path);\n }\n permutations.push(\"/\");\n return permutations;\n}\n\nfunction getCookieContext(url) {\n if (url instanceof Object) {\n return url;\n }\n // NOTE: decodeURI will throw on malformed URIs (see GH-32).\n // Therefore, we will just skip decoding for such URIs.\n try {\n url = decodeURI(url);\n } catch (err) {\n // Silently swallow error\n }\n\n return urlParse(url);\n}\n\nconst cookieDefaults = {\n // the order in which the RFC has them:\n key: \"\",\n value: \"\",\n expires: \"Infinity\",\n maxAge: null,\n domain: null,\n path: null,\n secure: false,\n httpOnly: false,\n extensions: null,\n // set by the CookieJar:\n hostOnly: null,\n pathIsDefault: null,\n creation: null,\n lastAccessed: null,\n sameSite: undefined\n};\n\nclass Cookie {\n constructor(options = {}) {\n const customInspectSymbol = getCustomInspectSymbol();\n if (customInspectSymbol) {\n this[customInspectSymbol] = this.inspect;\n }\n\n Object.assign(this, cookieDefaults, options);\n this.creation = this.creation || new Date();\n\n // used to break creation ties in cookieCompare():\n Object.defineProperty(this, \"creationIndex\", {\n configurable: false,\n enumerable: false, // important for assert.deepEqual checks\n writable: true,\n value: ++Cookie.cookiesCreated\n });\n }\n\n inspect() {\n const now = Date.now();\n const hostOnly = this.hostOnly != null ? this.hostOnly : \"?\";\n const createAge = this.creation\n ? `${now - this.creation.getTime()}ms`\n : \"?\";\n const accessAge = this.lastAccessed\n ? `${now - this.lastAccessed.getTime()}ms`\n : \"?\";\n return `Cookie=\"${this.toString()}; hostOnly=${hostOnly}; aAge=${accessAge}; cAge=${createAge}\"`;\n }\n\n toJSON() {\n const obj = {};\n\n for (const prop of Cookie.serializableProperties) {\n if (this[prop] === cookieDefaults[prop]) {\n continue; // leave as prototype default\n }\n\n if (\n prop === \"expires\" ||\n prop === \"creation\" ||\n prop === \"lastAccessed\"\n ) {\n if (this[prop] === null) {\n obj[prop] = null;\n } else {\n obj[prop] =\n this[prop] == \"Infinity\" // intentionally not ===\n ? \"Infinity\"\n : this[prop].toISOString();\n }\n } else if (prop === \"maxAge\") {\n if (this[prop] !== null) {\n // again, intentionally not ===\n obj[prop] =\n this[prop] == Infinity || this[prop] == -Infinity\n ? this[prop].toString()\n : this[prop];\n }\n } else {\n if (this[prop] !== cookieDefaults[prop]) {\n obj[prop] = this[prop];\n }\n }\n }\n\n return obj;\n }\n\n clone() {\n return fromJSON(this.toJSON());\n }\n\n validate() {\n if (!COOKIE_OCTETS.test(this.value)) {\n return false;\n }\n if (\n this.expires != Infinity &&\n !(this.expires instanceof Date) &&\n !parseDate(this.expires)\n ) {\n return false;\n }\n if (this.maxAge != null && this.maxAge <= 0) {\n return false; // \"Max-Age=\" non-zero-digit *DIGIT\n }\n if (this.path != null && !PATH_VALUE.test(this.path)) {\n return false;\n }\n\n const cdomain = this.cdomain();\n if (cdomain) {\n if (cdomain.match(/\\.$/)) {\n return false; // S4.1.2.3 suggests that this is bad. domainMatch() tests confirm this\n }\n const suffix = pubsuffix.getPublicSuffix(cdomain);\n if (suffix == null) {\n // it's a public suffix\n return false;\n }\n }\n return true;\n }\n\n setExpires(exp) {\n if (exp instanceof Date) {\n this.expires = exp;\n } else {\n this.expires = parseDate(exp) || \"Infinity\";\n }\n }\n\n setMaxAge(age) {\n if (age === Infinity || age === -Infinity) {\n this.maxAge = age.toString(); // so JSON.stringify() works\n } else {\n this.maxAge = age;\n }\n }\n\n cookieString() {\n let val = this.value;\n if (val == null) {\n val = \"\";\n }\n if (this.key === \"\") {\n return val;\n }\n return `${this.key}=${val}`;\n }\n\n // gives Set-Cookie header format\n toString() {\n let str = this.cookieString();\n\n if (this.expires != Infinity) {\n if (this.expires instanceof Date) {\n str += `; Expires=${formatDate(this.expires)}`;\n } else {\n str += `; Expires=${this.expires}`;\n }\n }\n\n if (this.maxAge != null && this.maxAge != Infinity) {\n str += `; Max-Age=${this.maxAge}`;\n }\n\n if (this.domain && !this.hostOnly) {\n str += `; Domain=${this.domain}`;\n }\n if (this.path) {\n str += `; Path=${this.path}`;\n }\n\n if (this.secure) {\n str += \"; Secure\";\n }\n if (this.httpOnly) {\n str += \"; HttpOnly\";\n }\n if (this.sameSite && this.sameSite !== \"none\") {\n const ssCanon = Cookie.sameSiteCanonical[this.sameSite.toLowerCase()];\n str += `; SameSite=${ssCanon ? ssCanon : this.sameSite}`;\n }\n if (this.extensions) {\n this.extensions.forEach(ext => {\n str += `; ${ext}`;\n });\n }\n\n return str;\n }\n\n // TTL() partially replaces the \"expiry-time\" parts of S5.3 step 3 (setCookie()\n // elsewhere)\n // S5.3 says to give the \"latest representable date\" for which we use Infinity\n // For \"expired\" we use 0\n TTL(now) {\n /* RFC6265 S4.1.2.2 If a cookie has both the Max-Age and the Expires\n * attribute, the Max-Age attribute has precedence and controls the\n * expiration date of the cookie.\n * (Concurs with S5.3 step 3)\n */\n if (this.maxAge != null) {\n return this.maxAge <= 0 ? 0 : this.maxAge * 1000;\n }\n\n let expires = this.expires;\n if (expires != Infinity) {\n if (!(expires instanceof Date)) {\n expires = parseDate(expires) || Infinity;\n }\n\n if (expires == Infinity) {\n return Infinity;\n }\n\n return expires.getTime() - (now || Date.now());\n }\n\n return Infinity;\n }\n\n // expiryTime() replaces the \"expiry-time\" parts of S5.3 step 3 (setCookie()\n // elsewhere)\n expiryTime(now) {\n if (this.maxAge != null) {\n const relativeTo = now || this.creation || new Date();\n const age = this.maxAge <= 0 ? -Infinity : this.maxAge * 1000;\n return relativeTo.getTime() + age;\n }\n\n if (this.expires == Infinity) {\n return Infinity;\n }\n return this.expires.getTime();\n }\n\n // expiryDate() replaces the \"expiry-time\" parts of S5.3 step 3 (setCookie()\n // elsewhere), except it returns a Date\n expiryDate(now) {\n const millisec = this.expiryTime(now);\n if (millisec == Infinity) {\n return new Date(MAX_TIME);\n } else if (millisec == -Infinity) {\n return new Date(MIN_TIME);\n } else {\n return new Date(millisec);\n }\n }\n\n // This replaces the \"persistent-flag\" parts of S5.3 step 3\n isPersistent() {\n return this.maxAge != null || this.expires != Infinity;\n }\n\n // Mostly S5.1.2 and S5.2.3:\n canonicalizedDomain() {\n if (this.domain == null) {\n return null;\n }\n return canonicalDomain(this.domain);\n }\n\n cdomain() {\n return this.canonicalizedDomain();\n }\n}\n\nCookie.cookiesCreated = 0;\nCookie.parse = parse;\nCookie.fromJSON = fromJSON;\nCookie.serializableProperties = Object.keys(cookieDefaults);\nCookie.sameSiteLevel = {\n strict: 3,\n lax: 2,\n none: 1\n};\n\nCookie.sameSiteCanonical = {\n strict: \"Strict\",\n lax: \"Lax\"\n};\n\nfunction getNormalizedPrefixSecurity(prefixSecurity) {\n if (prefixSecurity != null) {\n const normalizedPrefixSecurity = prefixSecurity.toLowerCase();\n /* The three supported options */\n switch (normalizedPrefixSecurity) {\n case PrefixSecurityEnum.STRICT:\n case PrefixSecurityEnum.SILENT:\n case PrefixSecurityEnum.DISABLED:\n return normalizedPrefixSecurity;\n }\n }\n /* Default is SILENT */\n return PrefixSecurityEnum.SILENT;\n}\n\nclass CookieJar {\n constructor(store, options = { rejectPublicSuffixes: true }) {\n if (typeof options === \"boolean\") {\n options = { rejectPublicSuffixes: options };\n }\n validators.validate(validators.isObject(options), options);\n this.rejectPublicSuffixes = options.rejectPublicSuffixes;\n this.enableLooseMode = !!options.looseMode;\n this.allowSpecialUseDomain =\n typeof options.allowSpecialUseDomain === \"boolean\"\n ? options.allowSpecialUseDomain\n : true;\n this.store = store || new MemoryCookieStore();\n this.prefixSecurity = getNormalizedPrefixSecurity(options.prefixSecurity);\n this._cloneSync = syncWrap(\"clone\");\n this._importCookiesSync = syncWrap(\"_importCookies\");\n this.getCookiesSync = syncWrap(\"getCookies\");\n this.getCookieStringSync = syncWrap(\"getCookieString\");\n this.getSetCookieStringsSync = syncWrap(\"getSetCookieStrings\");\n this.removeAllCookiesSync = syncWrap(\"removeAllCookies\");\n this.setCookieSync = syncWrap(\"setCookie\");\n this.serializeSync = syncWrap(\"serialize\");\n }\n\n setCookie(cookie, url, options, cb) {\n validators.validate(validators.isNonEmptyString(url), cb, options);\n let err;\n\n if (validators.isFunction(url)) {\n cb = url;\n return cb(new Error(\"No URL was specified\"));\n }\n\n const context = getCookieContext(url);\n if (validators.isFunction(options)) {\n cb = options;\n options = {};\n }\n\n validators.validate(validators.isFunction(cb), cb);\n\n if (\n !validators.isNonEmptyString(cookie) &&\n !validators.isObject(cookie) &&\n cookie instanceof String &&\n cookie.length == 0\n ) {\n return cb(null);\n }\n\n const host = canonicalDomain(context.hostname);\n const loose = options.loose || this.enableLooseMode;\n\n let sameSiteContext = null;\n if (options.sameSiteContext) {\n sameSiteContext = checkSameSiteContext(options.sameSiteContext);\n if (!sameSiteContext) {\n return cb(new Error(SAME_SITE_CONTEXT_VAL_ERR));\n }\n }\n\n // S5.3 step 1\n if (typeof cookie === \"string\" || cookie instanceof String) {\n cookie = Cookie.parse(cookie, { loose: loose });\n if (!cookie) {\n err = new Error(\"Cookie failed to parse\");\n return cb(options.ignoreError ? null : err);\n }\n } else if (!(cookie instanceof Cookie)) {\n // If you're seeing this error, and are passing in a Cookie object,\n // it *might* be a Cookie object from another loaded version of tough-cookie.\n err = new Error(\n \"First argument to setCookie must be a Cookie object or string\"\n );\n return cb(options.ignoreError ? null : err);\n }\n\n // S5.3 step 2\n const now = options.now || new Date(); // will assign later to save effort in the face of errors\n\n // S5.3 step 3: NOOP; persistent-flag and expiry-time is handled by getCookie()\n\n // S5.3 step 4: NOOP; domain is null by default\n\n // S5.3 step 5: public suffixes\n if (this.rejectPublicSuffixes && cookie.domain) {\n const suffix = pubsuffix.getPublicSuffix(cookie.cdomain(), {\n allowSpecialUseDomain: this.allowSpecialUseDomain,\n ignoreError: options.ignoreError\n });\n if (suffix == null && !IP_V6_REGEX_OBJECT.test(cookie.domain)) {\n // e.g. \"com\"\n err = new Error(\"Cookie has domain set to a public suffix\");\n return cb(options.ignoreError ? null : err);\n }\n }\n\n // S5.3 step 6:\n if (cookie.domain) {\n if (!domainMatch(host, cookie.cdomain(), false)) {\n err = new Error(\n `Cookie not in this host's domain. Cookie:${cookie.cdomain()} Request:${host}`\n );\n return cb(options.ignoreError ? null : err);\n }\n\n if (cookie.hostOnly == null) {\n // don't reset if already set\n cookie.hostOnly = false;\n }\n } else {\n cookie.hostOnly = true;\n cookie.domain = host;\n }\n\n //S5.2.4 If the attribute-value is empty or if the first character of the\n //attribute-value is not %x2F (\"/\"):\n //Let cookie-path be the default-path.\n if (!cookie.path || cookie.path[0] !== \"/\") {\n cookie.path = defaultPath(context.pathname);\n cookie.pathIsDefault = true;\n }\n\n // S5.3 step 8: NOOP; secure attribute\n // S5.3 step 9: NOOP; httpOnly attribute\n\n // S5.3 step 10\n if (options.http === false && cookie.httpOnly) {\n err = new Error(\"Cookie is HttpOnly and this isn't an HTTP API\");\n return cb(options.ignoreError ? null : err);\n }\n\n // 6252bis-02 S5.4 Step 13 & 14:\n if (\n cookie.sameSite !== \"none\" &&\n cookie.sameSite !== undefined &&\n sameSiteContext\n ) {\n // \"If the cookie's \"same-site-flag\" is not \"None\", and the cookie\n // is being set from a context whose \"site for cookies\" is not an\n // exact match for request-uri's host's registered domain, then\n // abort these steps and ignore the newly created cookie entirely.\"\n if (sameSiteContext === \"none\") {\n err = new Error(\n \"Cookie is SameSite but this is a cross-origin request\"\n );\n return cb(options.ignoreError ? null : err);\n }\n }\n\n /* 6265bis-02 S5.4 Steps 15 & 16 */\n const ignoreErrorForPrefixSecurity =\n this.prefixSecurity === PrefixSecurityEnum.SILENT;\n const prefixSecurityDisabled =\n this.prefixSecurity === PrefixSecurityEnum.DISABLED;\n /* If prefix checking is not disabled ...*/\n if (!prefixSecurityDisabled) {\n let errorFound = false;\n let errorMsg;\n /* Check secure prefix condition */\n if (!isSecurePrefixConditionMet(cookie)) {\n errorFound = true;\n errorMsg = \"Cookie has __Secure prefix but Secure attribute is not set\";\n } else if (!isHostPrefixConditionMet(cookie)) {\n /* Check host prefix condition */\n errorFound = true;\n errorMsg =\n \"Cookie has __Host prefix but either Secure or HostOnly attribute is not set or Path is not '/'\";\n }\n if (errorFound) {\n return cb(\n options.ignoreError || ignoreErrorForPrefixSecurity\n ? null\n : new Error(errorMsg)\n );\n }\n }\n\n const store = this.store;\n\n if (!store.updateCookie) {\n store.updateCookie = function(oldCookie, newCookie, cb) {\n this.putCookie(newCookie, cb);\n };\n }\n\n function withCookie(err, oldCookie) {\n if (err) {\n return cb(err);\n }\n\n const next = function(err) {\n if (err) {\n return cb(err);\n } else {\n cb(null, cookie);\n }\n };\n\n if (oldCookie) {\n // S5.3 step 11 - \"If the cookie store contains a cookie with the same name,\n // domain, and path as the newly created cookie:\"\n if (options.http === false && oldCookie.httpOnly) {\n // step 11.2\n err = new Error(\"old Cookie is HttpOnly and this isn't an HTTP API\");\n return cb(options.ignoreError ? null : err);\n }\n cookie.creation = oldCookie.creation; // step 11.3\n cookie.creationIndex = oldCookie.creationIndex; // preserve tie-breaker\n cookie.lastAccessed = now;\n // Step 11.4 (delete cookie) is implied by just setting the new one:\n store.updateCookie(oldCookie, cookie, next); // step 12\n } else {\n cookie.creation = cookie.lastAccessed = now;\n store.putCookie(cookie, next); // step 12\n }\n }\n\n store.findCookie(cookie.domain, cookie.path, cookie.key, withCookie);\n }\n\n // RFC6365 S5.4\n getCookies(url, options, cb) {\n validators.validate(validators.isNonEmptyString(url), cb, url);\n const context = getCookieContext(url);\n if (validators.isFunction(options)) {\n cb = options;\n options = {};\n }\n validators.validate(validators.isObject(options), cb, options);\n validators.validate(validators.isFunction(cb), cb);\n\n const host = canonicalDomain(context.hostname);\n const path = context.pathname || \"/\";\n\n let secure = options.secure;\n if (\n secure == null &&\n context.protocol &&\n (context.protocol == \"https:\" || context.protocol == \"wss:\")\n ) {\n secure = true;\n }\n\n let sameSiteLevel = 0;\n if (options.sameSiteContext) {\n const sameSiteContext = checkSameSiteContext(options.sameSiteContext);\n sameSiteLevel = Cookie.sameSiteLevel[sameSiteContext];\n if (!sameSiteLevel) {\n return cb(new Error(SAME_SITE_CONTEXT_VAL_ERR));\n }\n }\n\n let http = options.http;\n if (http == null) {\n http = true;\n }\n\n const now = options.now || Date.now();\n const expireCheck = options.expire !== false;\n const allPaths = !!options.allPaths;\n const store = this.store;\n\n function matchingCookie(c) {\n // \"Either:\n // The cookie's host-only-flag is true and the canonicalized\n // request-host is identical to the cookie's domain.\n // Or:\n // The cookie's host-only-flag is false and the canonicalized\n // request-host domain-matches the cookie's domain.\"\n if (c.hostOnly) {\n if (c.domain != host) {\n return false;\n }\n } else {\n if (!domainMatch(host, c.domain, false)) {\n return false;\n }\n }\n\n // \"The request-uri's path path-matches the cookie's path.\"\n if (!allPaths && !pathMatch(path, c.path)) {\n return false;\n }\n\n // \"If the cookie's secure-only-flag is true, then the request-uri's\n // scheme must denote a \"secure\" protocol\"\n if (c.secure && !secure) {\n return false;\n }\n\n // \"If the cookie's http-only-flag is true, then exclude the cookie if the\n // cookie-string is being generated for a \"non-HTTP\" API\"\n if (c.httpOnly && !http) {\n return false;\n }\n\n // RFC6265bis-02 S5.3.7\n if (sameSiteLevel) {\n const cookieLevel = Cookie.sameSiteLevel[c.sameSite || \"none\"];\n if (cookieLevel > sameSiteLevel) {\n // only allow cookies at or below the request level\n return false;\n }\n }\n\n // deferred from S5.3\n // non-RFC: allow retention of expired cookies by choice\n if (expireCheck && c.expiryTime() <= now) {\n store.removeCookie(c.domain, c.path, c.key, () => {}); // result ignored\n return false;\n }\n\n return true;\n }\n\n store.findCookies(\n host,\n allPaths ? null : path,\n this.allowSpecialUseDomain,\n (err, cookies) => {\n if (err) {\n return cb(err);\n }\n\n cookies = cookies.filter(matchingCookie);\n\n // sorting of S5.4 part 2\n if (options.sort !== false) {\n cookies = cookies.sort(cookieCompare);\n }\n\n // S5.4 part 3\n const now = new Date();\n for (const cookie of cookies) {\n cookie.lastAccessed = now;\n }\n // TODO persist lastAccessed\n\n cb(null, cookies);\n }\n );\n }\n\n getCookieString(...args) {\n const cb = args.pop();\n validators.validate(validators.isFunction(cb), cb);\n const next = function(err, cookies) {\n if (err) {\n cb(err);\n } else {\n cb(\n null,\n cookies\n .sort(cookieCompare)\n .map(c => c.cookieString())\n .join(\"; \")\n );\n }\n };\n args.push(next);\n this.getCookies.apply(this, args);\n }\n\n getSetCookieStrings(...args) {\n const cb = args.pop();\n validators.validate(validators.isFunction(cb), cb);\n const next = function(err, cookies) {\n if (err) {\n cb(err);\n } else {\n cb(\n null,\n cookies.map(c => {\n return c.toString();\n })\n );\n }\n };\n args.push(next);\n this.getCookies.apply(this, args);\n }\n\n serialize(cb) {\n validators.validate(validators.isFunction(cb), cb);\n let type = this.store.constructor.name;\n if (validators.isObject(type)) {\n type = null;\n }\n\n // update README.md \"Serialization Format\" if you change this, please!\n const serialized = {\n // The version of tough-cookie that serialized this jar. Generally a good\n // practice since future versions can make data import decisions based on\n // known past behavior. When/if this matters, use `semver`.\n version: `tough-cookie@${VERSION}`,\n\n // add the store type, to make humans happy:\n storeType: type,\n\n // CookieJar configuration:\n rejectPublicSuffixes: !!this.rejectPublicSuffixes,\n enableLooseMode: !!this.enableLooseMode,\n allowSpecialUseDomain: !!this.allowSpecialUseDomain,\n prefixSecurity: getNormalizedPrefixSecurity(this.prefixSecurity),\n\n // this gets filled from getAllCookies:\n cookies: []\n };\n\n if (\n !(\n this.store.getAllCookies &&\n typeof this.store.getAllCookies === \"function\"\n )\n ) {\n return cb(\n new Error(\n \"store does not support getAllCookies and cannot be serialized\"\n )\n );\n }\n\n this.store.getAllCookies((err, cookies) => {\n if (err) {\n return cb(err);\n }\n\n serialized.cookies = cookies.map(cookie => {\n // convert to serialized 'raw' cookies\n cookie = cookie instanceof Cookie ? cookie.toJSON() : cookie;\n\n // Remove the index so new ones get assigned during deserialization\n delete cookie.creationIndex;\n\n return cookie;\n });\n\n return cb(null, serialized);\n });\n }\n\n toJSON() {\n return this.serializeSync();\n }\n\n // use the class method CookieJar.deserialize instead of calling this directly\n _importCookies(serialized, cb) {\n let cookies = serialized.cookies;\n if (!cookies || !Array.isArray(cookies)) {\n return cb(new Error(\"serialized jar has no cookies array\"));\n }\n cookies = cookies.slice(); // do not modify the original\n\n const putNext = err => {\n if (err) {\n return cb(err);\n }\n\n if (!cookies.length) {\n return cb(err, this);\n }\n\n let cookie;\n try {\n cookie = fromJSON(cookies.shift());\n } catch (e) {\n return cb(e);\n }\n\n if (cookie === null) {\n return putNext(null); // skip this cookie\n }\n\n this.store.putCookie(cookie, putNext);\n };\n\n putNext();\n }\n\n clone(newStore, cb) {\n if (arguments.length === 1) {\n cb = newStore;\n newStore = null;\n }\n\n this.serialize((err, serialized) => {\n if (err) {\n return cb(err);\n }\n CookieJar.deserialize(serialized, newStore, cb);\n });\n }\n\n cloneSync(newStore) {\n if (arguments.length === 0) {\n return this._cloneSync();\n }\n if (!newStore.synchronous) {\n throw new Error(\n \"CookieJar clone destination store is not synchronous; use async API instead.\"\n );\n }\n return this._cloneSync(newStore);\n }\n\n removeAllCookies(cb) {\n validators.validate(validators.isFunction(cb), cb);\n const store = this.store;\n\n // Check that the store implements its own removeAllCookies(). The default\n // implementation in Store will immediately call the callback with a \"not\n // implemented\" Error.\n if (\n typeof store.removeAllCookies === \"function\" &&\n store.removeAllCookies !== Store.prototype.removeAllCookies\n ) {\n return store.removeAllCookies(cb);\n }\n\n store.getAllCookies((err, cookies) => {\n if (err) {\n return cb(err);\n }\n\n if (cookies.length === 0) {\n return cb(null);\n }\n\n let completedCount = 0;\n const removeErrors = [];\n\n function removeCookieCb(removeErr) {\n if (removeErr) {\n removeErrors.push(removeErr);\n }\n\n completedCount++;\n\n if (completedCount === cookies.length) {\n return cb(removeErrors.length ? removeErrors[0] : null);\n }\n }\n\n cookies.forEach(cookie => {\n store.removeCookie(\n cookie.domain,\n cookie.path,\n cookie.key,\n removeCookieCb\n );\n });\n });\n }\n\n static deserialize(strOrObj, store, cb) {\n if (arguments.length !== 3) {\n // store is optional\n cb = store;\n store = null;\n }\n validators.validate(validators.isFunction(cb), cb);\n\n let serialized;\n if (typeof strOrObj === \"string\") {\n serialized = jsonParse(strOrObj);\n if (serialized instanceof Error) {\n return cb(serialized);\n }\n } else {\n serialized = strOrObj;\n }\n\n const jar = new CookieJar(store, {\n rejectPublicSuffixes: serialized.rejectPublicSuffixes,\n looseMode: serialized.enableLooseMode,\n allowSpecialUseDomain: serialized.allowSpecialUseDomain,\n prefixSecurity: serialized.prefixSecurity\n });\n jar._importCookies(serialized, err => {\n if (err) {\n return cb(err);\n }\n cb(null, jar);\n });\n }\n\n static deserializeSync(strOrObj, store) {\n const serialized =\n typeof strOrObj === \"string\" ? JSON.parse(strOrObj) : strOrObj;\n const jar = new CookieJar(store, {\n rejectPublicSuffixes: serialized.rejectPublicSuffixes,\n looseMode: serialized.enableLooseMode\n });\n\n // catch this mistake early:\n if (!jar.store.synchronous) {\n throw new Error(\n \"CookieJar store is not synchronous; use async API instead.\"\n );\n }\n\n jar._importCookiesSync(serialized);\n return jar;\n }\n}\nCookieJar.fromJSON = CookieJar.deserializeSync;\n\n[\n \"_importCookies\",\n \"clone\",\n \"getCookies\",\n \"getCookieString\",\n \"getSetCookieStrings\",\n \"removeAllCookies\",\n \"serialize\",\n \"setCookie\"\n].forEach(name => {\n CookieJar.prototype[name] = fromCallback(CookieJar.prototype[name]);\n});\nCookieJar.deserialize = fromCallback(CookieJar.deserialize);\n\n// Use a closure to provide a true imperative API for synchronous stores.\nfunction syncWrap(method) {\n return function(...args) {\n if (!this.store.synchronous) {\n throw new Error(\n \"CookieJar store is not synchronous; use async API instead.\"\n );\n }\n\n let syncErr, syncResult;\n this[method](...args, (err, result) => {\n syncErr = err;\n syncResult = result;\n });\n\n if (syncErr) {\n throw syncErr;\n }\n return syncResult;\n };\n}\n\nexports.version = VERSION;\nexports.CookieJar = CookieJar;\nexports.Cookie = Cookie;\nexports.Store = Store;\nexports.MemoryCookieStore = MemoryCookieStore;\nexports.parseDate = parseDate;\nexports.formatDate = formatDate;\nexports.parse = parse;\nexports.fromJSON = fromJSON;\nexports.domainMatch = domainMatch;\nexports.defaultPath = defaultPath;\nexports.pathMatch = pathMatch;\nexports.getPublicSuffix = pubsuffix.getPublicSuffix;\nexports.cookieCompare = cookieCompare;\nexports.permuteDomain = require(\"./permuteDomain\").permuteDomain;\nexports.permutePath = permutePath;\nexports.canonicalDomain = canonicalDomain;\nexports.PrefixSecurityEnum = PrefixSecurityEnum;\nexports.ParameterError = validators.ParameterError;\n","/*!\n * Copyright (c) 2015, Salesforce.com, Inc.\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n *\n * 1. Redistributions of source code must retain the above copyright notice,\n * this list of conditions and the following disclaimer.\n *\n * 2. Redistributions in binary form must reproduce the above copyright notice,\n * this list of conditions and the following disclaimer in the documentation\n * and/or other materials provided with the distribution.\n *\n * 3. Neither the name of Salesforce.com nor the names of its contributors may\n * be used to endorse or promote products derived from this software without\n * specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE\n * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n * POSSIBILITY OF SUCH DAMAGE.\n */\n\"use strict\";\nconst { fromCallback } = require(\"universalify\");\nconst Store = require(\"./store\").Store;\nconst permuteDomain = require(\"./permuteDomain\").permuteDomain;\nconst pathMatch = require(\"./pathMatch\").pathMatch;\nconst { getCustomInspectSymbol, getUtilInspect } = require(\"./utilHelper\");\n\nclass MemoryCookieStore extends Store {\n constructor() {\n super();\n this.synchronous = true;\n this.idx = {};\n const customInspectSymbol = getCustomInspectSymbol();\n if (customInspectSymbol) {\n this[customInspectSymbol] = this.inspect;\n }\n }\n\n inspect() {\n const util = { inspect: getUtilInspect(inspectFallback) };\n return `{ idx: ${util.inspect(this.idx, false, 2)} }`;\n }\n\n findCookie(domain, path, key, cb) {\n if (!this.idx[domain]) {\n return cb(null, undefined);\n }\n if (!this.idx[domain][path]) {\n return cb(null, undefined);\n }\n return cb(null, this.idx[domain][path][key] || null);\n }\n findCookies(domain, path, allowSpecialUseDomain, cb) {\n const results = [];\n if (typeof allowSpecialUseDomain === \"function\") {\n cb = allowSpecialUseDomain;\n allowSpecialUseDomain = true;\n }\n if (!domain) {\n return cb(null, []);\n }\n\n let pathMatcher;\n if (!path) {\n // null means \"all paths\"\n pathMatcher = function matchAll(domainIndex) {\n for (const curPath in domainIndex) {\n const pathIndex = domainIndex[curPath];\n for (const key in pathIndex) {\n results.push(pathIndex[key]);\n }\n }\n };\n } else {\n pathMatcher = function matchRFC(domainIndex) {\n //NOTE: we should use path-match algorithm from S5.1.4 here\n //(see : https://github.com/ChromiumWebApps/chromium/blob/b3d3b4da8bb94c1b2e061600df106d590fda3620/net/cookies/canonical_cookie.cc#L299)\n Object.keys(domainIndex).forEach(cookiePath => {\n if (pathMatch(path, cookiePath)) {\n const pathIndex = domainIndex[cookiePath];\n for (const key in pathIndex) {\n results.push(pathIndex[key]);\n }\n }\n });\n };\n }\n\n const domains = permuteDomain(domain, allowSpecialUseDomain) || [domain];\n const idx = this.idx;\n domains.forEach(curDomain => {\n const domainIndex = idx[curDomain];\n if (!domainIndex) {\n return;\n }\n pathMatcher(domainIndex);\n });\n\n cb(null, results);\n }\n\n putCookie(cookie, cb) {\n if (!this.idx[cookie.domain]) {\n this.idx[cookie.domain] = {};\n }\n if (!this.idx[cookie.domain][cookie.path]) {\n this.idx[cookie.domain][cookie.path] = {};\n }\n this.idx[cookie.domain][cookie.path][cookie.key] = cookie;\n cb(null);\n }\n updateCookie(oldCookie, newCookie, cb) {\n // updateCookie() may avoid updating cookies that are identical. For example,\n // lastAccessed may not be important to some stores and an equality\n // comparison could exclude that field.\n this.putCookie(newCookie, cb);\n }\n removeCookie(domain, path, key, cb) {\n if (\n this.idx[domain] &&\n this.idx[domain][path] &&\n this.idx[domain][path][key]\n ) {\n delete this.idx[domain][path][key];\n }\n cb(null);\n }\n removeCookies(domain, path, cb) {\n if (this.idx[domain]) {\n if (path) {\n delete this.idx[domain][path];\n } else {\n delete this.idx[domain];\n }\n }\n return cb(null);\n }\n removeAllCookies(cb) {\n this.idx = {};\n return cb(null);\n }\n getAllCookies(cb) {\n const cookies = [];\n const idx = this.idx;\n\n const domains = Object.keys(idx);\n domains.forEach(domain => {\n const paths = Object.keys(idx[domain]);\n paths.forEach(path => {\n const keys = Object.keys(idx[domain][path]);\n keys.forEach(key => {\n if (key !== null) {\n cookies.push(idx[domain][path][key]);\n }\n });\n });\n });\n\n // Sort by creationIndex so deserializing retains the creation order.\n // When implementing your own store, this SHOULD retain the order too\n cookies.sort((a, b) => {\n return (a.creationIndex || 0) - (b.creationIndex || 0);\n });\n\n cb(null, cookies);\n }\n}\n\n[\n \"findCookie\",\n \"findCookies\",\n \"putCookie\",\n \"updateCookie\",\n \"removeCookie\",\n \"removeCookies\",\n \"removeAllCookies\",\n \"getAllCookies\"\n].forEach(name => {\n MemoryCookieStore.prototype[name] = fromCallback(\n MemoryCookieStore.prototype[name]\n );\n});\n\nexports.MemoryCookieStore = MemoryCookieStore;\n\nfunction inspectFallback(val) {\n const domains = Object.keys(val);\n if (domains.length === 0) {\n return \"{}\";\n }\n let result = \"{\\n\";\n Object.keys(val).forEach((domain, i) => {\n result += formatDomain(domain, val[domain]);\n if (i < domains.length - 1) {\n result += \",\";\n }\n result += \"\\n\";\n });\n result += \"}\";\n return result;\n}\n\nfunction formatDomain(domainName, domainValue) {\n const indent = \" \";\n let result = `${indent}'${domainName}': {\\n`;\n Object.keys(domainValue).forEach((path, i, paths) => {\n result += formatPath(path, domainValue[path]);\n if (i < paths.length - 1) {\n result += \",\";\n }\n result += \"\\n\";\n });\n result += `${indent}}`;\n return result;\n}\n\nfunction formatPath(pathName, pathValue) {\n const indent = \" \";\n let result = `${indent}'${pathName}': {\\n`;\n Object.keys(pathValue).forEach((cookieName, i, cookieNames) => {\n const cookie = pathValue[cookieName];\n result += ` ${cookieName}: ${cookie.inspect()}`;\n if (i < cookieNames.length - 1) {\n result += \",\";\n }\n result += \"\\n\";\n });\n result += `${indent}}`;\n return result;\n}\n\nexports.inspectFallback = inspectFallback;\n","/*!\n * Copyright (c) 2015, Salesforce.com, Inc.\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n *\n * 1. Redistributions of source code must retain the above copyright notice,\n * this list of conditions and the following disclaimer.\n *\n * 2. Redistributions in binary form must reproduce the above copyright notice,\n * this list of conditions and the following disclaimer in the documentation\n * and/or other materials provided with the distribution.\n *\n * 3. Neither the name of Salesforce.com nor the names of its contributors may\n * be used to endorse or promote products derived from this software without\n * specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE\n * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n * POSSIBILITY OF SUCH DAMAGE.\n */\n\"use strict\";\n/*\n * \"A request-path path-matches a given cookie-path if at least one of the\n * following conditions holds:\"\n */\nfunction pathMatch(reqPath, cookiePath) {\n // \"o The cookie-path and the request-path are identical.\"\n if (cookiePath === reqPath) {\n return true;\n }\n\n const idx = reqPath.indexOf(cookiePath);\n if (idx === 0) {\n // \"o The cookie-path is a prefix of the request-path, and the last\n // character of the cookie-path is %x2F (\"/\").\"\n if (cookiePath.substr(-1) === \"/\") {\n return true;\n }\n\n // \" o The cookie-path is a prefix of the request-path, and the first\n // character of the request-path that is not included in the cookie- path\n // is a %x2F (\"/\") character.\"\n if (reqPath.substr(cookiePath.length, 1) === \"/\") {\n return true;\n }\n }\n\n return false;\n}\n\nexports.pathMatch = pathMatch;\n","/*!\n * Copyright (c) 2015, Salesforce.com, Inc.\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n *\n * 1. Redistributions of source code must retain the above copyright notice,\n * this list of conditions and the following disclaimer.\n *\n * 2. Redistributions in binary form must reproduce the above copyright notice,\n * this list of conditions and the following disclaimer in the documentation\n * and/or other materials provided with the distribution.\n *\n * 3. Neither the name of Salesforce.com nor the names of its contributors may\n * be used to endorse or promote products derived from this software without\n * specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE\n * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n * POSSIBILITY OF SUCH DAMAGE.\n */\n\"use strict\";\nconst pubsuffix = require(\"./pubsuffix-psl\");\n\n// Gives the permutation of all possible domainMatch()es of a given domain. The\n// array is in shortest-to-longest order. Handy for indexing.\n\nfunction permuteDomain(domain, allowSpecialUseDomain) {\n const pubSuf = pubsuffix.getPublicSuffix(domain, {\n allowSpecialUseDomain: allowSpecialUseDomain\n });\n\n if (!pubSuf) {\n return null;\n }\n if (pubSuf == domain) {\n return [domain];\n }\n\n // Nuke trailing dot\n if (domain.slice(-1) == \".\") {\n domain = domain.slice(0, -1);\n }\n\n const prefix = domain.slice(0, -(pubSuf.length + 1)); // \".example.com\"\n const parts = prefix.split(\".\").reverse();\n let cur = pubSuf;\n const permutations = [cur];\n while (parts.length) {\n cur = `${parts.shift()}.${cur}`;\n permutations.push(cur);\n }\n return permutations;\n}\n\nexports.permuteDomain = permuteDomain;\n","/*!\n * Copyright (c) 2018, Salesforce.com, Inc.\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n *\n * 1. Redistributions of source code must retain the above copyright notice,\n * this list of conditions and the following disclaimer.\n *\n * 2. Redistributions in binary form must reproduce the above copyright notice,\n * this list of conditions and the following disclaimer in the documentation\n * and/or other materials provided with the distribution.\n *\n * 3. Neither the name of Salesforce.com nor the names of its contributors may\n * be used to endorse or promote products derived from this software without\n * specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE\n * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n * POSSIBILITY OF SUCH DAMAGE.\n */\n\"use strict\";\nconst psl = require(\"psl\");\n\n// RFC 6761\nconst SPECIAL_USE_DOMAINS = [\n \"local\",\n \"example\",\n \"invalid\",\n \"localhost\",\n \"test\"\n];\n\nconst SPECIAL_TREATMENT_DOMAINS = [\"localhost\", \"invalid\"];\n\nfunction getPublicSuffix(domain, options = {}) {\n const domainParts = domain.split(\".\");\n const topLevelDomain = domainParts[domainParts.length - 1];\n const allowSpecialUseDomain = !!options.allowSpecialUseDomain;\n const ignoreError = !!options.ignoreError;\n\n if (allowSpecialUseDomain && SPECIAL_USE_DOMAINS.includes(topLevelDomain)) {\n if (domainParts.length > 1) {\n const secondLevelDomain = domainParts[domainParts.length - 2];\n // In aforementioned example, the eTLD/pubSuf will be apple.localhost\n return `${secondLevelDomain}.${topLevelDomain}`;\n } else if (SPECIAL_TREATMENT_DOMAINS.includes(topLevelDomain)) {\n // For a single word special use domain, e.g. 'localhost' or 'invalid', per RFC 6761,\n // \"Application software MAY recognize {localhost/invalid} names as special, or\n // MAY pass them to name resolution APIs as they would for other domain names.\"\n return `${topLevelDomain}`;\n }\n }\n\n if (!ignoreError && SPECIAL_USE_DOMAINS.includes(topLevelDomain)) {\n throw new Error(\n `Cookie has domain set to the public suffix \"${topLevelDomain}\" which is a special use domain. To allow this, configure your CookieJar with {allowSpecialUseDomain:true, rejectPublicSuffixes: false}.`\n );\n }\n\n return psl.get(domain);\n}\n\nexports.getPublicSuffix = getPublicSuffix;\n","/*!\n * Copyright (c) 2015, Salesforce.com, Inc.\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n *\n * 1. Redistributions of source code must retain the above copyright notice,\n * this list of conditions and the following disclaimer.\n *\n * 2. Redistributions in binary form must reproduce the above copyright notice,\n * this list of conditions and the following disclaimer in the documentation\n * and/or other materials provided with the distribution.\n *\n * 3. Neither the name of Salesforce.com nor the names of its contributors may\n * be used to endorse or promote products derived from this software without\n * specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE\n * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n * POSSIBILITY OF SUCH DAMAGE.\n */\n\"use strict\";\n/*jshint unused:false */\n\nclass Store {\n constructor() {\n this.synchronous = false;\n }\n\n findCookie(domain, path, key, cb) {\n throw new Error(\"findCookie is not implemented\");\n }\n\n findCookies(domain, path, allowSpecialUseDomain, cb) {\n throw new Error(\"findCookies is not implemented\");\n }\n\n putCookie(cookie, cb) {\n throw new Error(\"putCookie is not implemented\");\n }\n\n updateCookie(oldCookie, newCookie, cb) {\n // recommended default implementation:\n // return this.putCookie(newCookie, cb);\n throw new Error(\"updateCookie is not implemented\");\n }\n\n removeCookie(domain, path, key, cb) {\n throw new Error(\"removeCookie is not implemented\");\n }\n\n removeCookies(domain, path, cb) {\n throw new Error(\"removeCookies is not implemented\");\n }\n\n removeAllCookies(cb) {\n throw new Error(\"removeAllCookies is not implemented\");\n }\n\n getAllCookies(cb) {\n throw new Error(\n \"getAllCookies is not implemented (therefore jar cannot be serialized)\"\n );\n }\n}\n\nexports.Store = Store;\n","function requireUtil() {\n try {\n // eslint-disable-next-line no-restricted-modules\n return require(\"util\");\n } catch (e) {\n return null;\n }\n}\n\n// for v10.12.0+\nfunction lookupCustomInspectSymbol() {\n return Symbol.for(\"nodejs.util.inspect.custom\");\n}\n\n// for older node environments\nfunction tryReadingCustomSymbolFromUtilInspect(options) {\n const _requireUtil = options.requireUtil || requireUtil;\n const util = _requireUtil();\n return util ? util.inspect.custom : null;\n}\n\nexports.getUtilInspect = function getUtilInspect(fallback, options = {}) {\n const _requireUtil = options.requireUtil || requireUtil;\n const util = _requireUtil();\n return function inspect(value, showHidden, depth) {\n return util ? util.inspect(value, showHidden, depth) : fallback(value);\n };\n};\n\nexports.getCustomInspectSymbol = function getCustomInspectSymbol(options = {}) {\n const _lookupCustomInspectSymbol =\n options.lookupCustomInspectSymbol || lookupCustomInspectSymbol;\n\n // get custom inspect symbol for node environments\n return (\n _lookupCustomInspectSymbol() ||\n tryReadingCustomSymbolFromUtilInspect(options)\n );\n};\n","/* ************************************************************************************\nExtracted from check-types.js\nhttps://gitlab.com/philbooth/check-types.js\n\nMIT License\n\nCopyright (c) 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 Phil Booth\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n************************************************************************************ */\n\"use strict\";\n\n/* Validation functions copied from check-types package - https://www.npmjs.com/package/check-types */\nfunction isFunction(data) {\n return typeof data === \"function\";\n}\n\nfunction isNonEmptyString(data) {\n return isString(data) && data !== \"\";\n}\n\nfunction isDate(data) {\n return isInstanceStrict(data, Date) && isInteger(data.getTime());\n}\n\nfunction isEmptyString(data) {\n return data === \"\" || (data instanceof String && data.toString() === \"\");\n}\n\nfunction isString(data) {\n return typeof data === \"string\" || data instanceof String;\n}\n\nfunction isObject(data) {\n return toString.call(data) === \"[object Object]\";\n}\nfunction isInstanceStrict(data, prototype) {\n try {\n return data instanceof prototype;\n } catch (error) {\n return false;\n }\n}\n\nfunction isInteger(data) {\n return typeof data === \"number\" && data % 1 === 0;\n}\n/* End validation functions */\n\nfunction validate(bool, cb, options) {\n if (!isFunction(cb)) {\n options = cb;\n cb = null;\n }\n if (!isObject(options)) options = { Error: \"Failed Check\" };\n if (!bool) {\n if (cb) {\n cb(new ParameterError(options));\n } else {\n throw new ParameterError(options);\n }\n }\n}\n\nclass ParameterError extends Error {\n constructor(...params) {\n super(...params);\n }\n}\n\nexports.ParameterError = ParameterError;\nexports.isFunction = isFunction;\nexports.isNonEmptyString = isNonEmptyString;\nexports.isDate = isDate;\nexports.isEmptyString = isEmptyString;\nexports.isString = isString;\nexports.isObject = isObject;\nexports.validate = validate;\n","// generated by genversion\nmodule.exports = '4.1.2'\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\n/**\n * Default key used to access the XML attributes.\n */\nexport const XML_ATTRKEY = \"$\";\n/**\n * Default key used to access the XML value content.\n */\nexport const XML_CHARKEY = \"_\";\n\n/**\n * Options to govern behavior of xml parser and builder.\n */\nexport interface SerializerOptions {\n /**\n * indicates the name of the root element in the resulting XML when building XML.\n */\n rootName?: string;\n /**\n * indicates whether the root element is to be included or not in the output when parsing XML.\n */\n includeRoot?: boolean;\n /**\n * key used to access the XML value content when parsing XML.\n */\n xmlCharKey?: string;\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { Constants } from \"./constants\";\nimport { HttpOperationResponse } from \"../httpOperationResponse\";\nimport { RestError } from \"../restError\";\nimport { WebResourceLike } from \"../webResource\";\nimport { XML_ATTRKEY } from \"./serializer.common\";\nimport { v4 as uuidv4 } from \"uuid\";\n\nconst validUuidRegex =\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/i;\n\n/**\n * A constant that indicates whether the environment is node.js or browser based.\n */\nexport const isNode =\n typeof process !== \"undefined\" &&\n !!process.version &&\n !!process.versions &&\n !!process.versions.node;\n\n/**\n * Checks if a parsed URL is HTTPS\n *\n * @param urlToCheck - The url to check\n * @returns True if the URL is HTTPS; false otherwise.\n */\nexport function urlIsHTTPS(urlToCheck: { protocol: string }): boolean {\n return urlToCheck.protocol.toLowerCase() === Constants.HTTPS;\n}\n\n/**\n * Encodes an URI.\n *\n * @param uri - The URI to be encoded.\n * @returns The encoded URI.\n */\nexport function encodeUri(uri: string): string {\n return encodeURIComponent(uri)\n .replace(/!/g, \"%21\")\n .replace(/\"/g, \"%27\")\n .replace(/\\(/g, \"%28\")\n .replace(/\\)/g, \"%29\")\n .replace(/\\*/g, \"%2A\");\n}\n\n/**\n * Returns a stripped version of the Http Response which only contains body,\n * headers and the status.\n *\n * @param response - The Http Response\n * @returns The stripped version of Http Response.\n */\nexport function stripResponse(response: HttpOperationResponse): any {\n const strippedResponse: any = {};\n strippedResponse.body = response.bodyAsText;\n strippedResponse.headers = response.headers;\n strippedResponse.status = response.status;\n return strippedResponse;\n}\n\n/**\n * Returns a stripped version of the Http Request that does not contain the\n * Authorization header.\n *\n * @param request - The Http Request object\n * @returns The stripped version of Http Request.\n */\nexport function stripRequest(request: WebResourceLike): WebResourceLike {\n const strippedRequest = request.clone();\n if (strippedRequest.headers) {\n strippedRequest.headers.remove(\"authorization\");\n }\n return strippedRequest;\n}\n\n/**\n * Validates the given uuid as a string\n *\n * @param uuid - The uuid as a string that needs to be validated\n * @returns True if the uuid is valid; false otherwise.\n */\nexport function isValidUuid(uuid: string): boolean {\n return validUuidRegex.test(uuid);\n}\n\n/**\n * Generated UUID\n *\n * @returns RFC4122 v4 UUID.\n */\nexport function generateUuid(): string {\n return uuidv4();\n}\n\n/**\n * Executes an array of promises sequentially. Inspiration of this method is here:\n * https://pouchdb.com/2015/05/18/we-have-a-problem-with-promises.html. An awesome blog on promises!\n *\n * @param promiseFactories - An array of promise factories(A function that return a promise)\n * @param kickstart - Input to the first promise that is used to kickstart the promise chain.\n * If not provided then the promise chain starts with undefined.\n * @returns A chain of resolved or rejected promises\n */\nexport function executePromisesSequentially(\n promiseFactories: Array,\n kickstart: unknown\n): Promise {\n let result = Promise.resolve(kickstart);\n promiseFactories.forEach((promiseFactory) => {\n result = result.then(promiseFactory);\n });\n return result;\n}\n\n/**\n * Service callback that is returned for REST requests initiated by the service client.\n */\nexport interface ServiceCallback {\n /**\n * A method that will be invoked as a callback to a service function.\n * @param err - The error occurred if any, while executing the request; otherwise null.\n * @param result - The deserialized response body if an error did not occur.\n * @param request - The raw/actual request sent to the server if an error did not occur.\n * @param response - The raw/actual response from the server if an error did not occur.\n */\n (\n err: Error | RestError | null,\n result?: TResult,\n request?: WebResourceLike,\n response?: HttpOperationResponse\n ): void;\n}\n\n/**\n * Converts a Promise to a callback.\n * @param promise - The Promise to be converted to a callback\n * @returns A function that takes the callback `(cb: Function) => void`\n * @deprecated generated code should instead depend on responseToBody\n */\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport function promiseToCallback(promise: Promise): (cb: Function) => void {\n if (typeof promise.then !== \"function\") {\n throw new Error(\"The provided input is not a Promise.\");\n }\n // eslint-disable-next-line @typescript-eslint/ban-types\n return (cb: Function): void => {\n promise\n .then((data: any) => {\n // eslint-disable-next-line promise/no-callback-in-promise\n return cb(undefined, data);\n })\n .catch((err: Error) => {\n // eslint-disable-next-line promise/no-callback-in-promise\n cb(err);\n });\n };\n}\n\n/**\n * Converts a Promise to a service callback.\n * @param promise - The Promise of HttpOperationResponse to be converted to a service callback\n * @returns A function that takes the service callback (cb: ServiceCallback): void\n */\nexport function promiseToServiceCallback(\n promise: Promise\n): (cb: ServiceCallback) => void {\n if (typeof promise.then !== \"function\") {\n throw new Error(\"The provided input is not a Promise.\");\n }\n return (cb: ServiceCallback): void => {\n promise\n .then((data: HttpOperationResponse) => {\n return process.nextTick(cb, undefined, data.parsedBody as T, data.request, data);\n })\n .catch((err: Error) => {\n process.nextTick(cb, err);\n });\n };\n}\n\nexport function prepareXMLRootList(\n obj: unknown,\n elementName: string,\n xmlNamespaceKey?: string,\n xmlNamespace?: string\n): { [s: string]: any } {\n if (!Array.isArray(obj)) {\n obj = [obj];\n }\n\n if (!xmlNamespaceKey || !xmlNamespace) {\n return { [elementName]: obj };\n }\n\n const result = { [elementName]: obj };\n result[XML_ATTRKEY] = { [xmlNamespaceKey]: xmlNamespace };\n return result;\n}\n\n/**\n * Applies the properties on the prototype of sourceCtors to the prototype of targetCtor\n * @param targetCtor - The target object on which the properties need to be applied.\n * @param sourceCtors - An array of source objects from which the properties need to be taken.\n */\nexport function applyMixins(targetCtorParam: unknown, sourceCtors: any[]): void {\n const castTargetCtorParam = targetCtorParam as {\n prototype: Record;\n };\n sourceCtors.forEach((sourceCtor) => {\n Object.getOwnPropertyNames(sourceCtor.prototype).forEach((name) => {\n castTargetCtorParam.prototype[name] = sourceCtor.prototype[name];\n });\n });\n}\n\nconst validateISODuration =\n /^(-|\\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;\n\n/**\n * Indicates whether the given string is in ISO 8601 format.\n * @param value - The value to be validated for ISO 8601 duration format.\n * @returns `true` if valid, `false` otherwise.\n */\nexport function isDuration(value: string): boolean {\n return validateISODuration.test(value);\n}\n\n/**\n * Replace all of the instances of searchValue in value with the provided replaceValue.\n * @param value - The value to search and replace in.\n * @param searchValue - The value to search for in the value argument.\n * @param replaceValue - The value to replace searchValue with in the value argument.\n * @returns The value where each instance of searchValue was replaced with replacedValue.\n */\nexport function replaceAll(\n value: string | undefined,\n searchValue: string,\n replaceValue: string\n): string | undefined {\n return !value || !searchValue ? value : value.split(searchValue).join(replaceValue || \"\");\n}\n\n/**\n * Determines whether the given entity is a basic/primitive type\n * (string, number, boolean, null, undefined).\n * @param value - Any entity\n * @returns true is it is primitive type, false otherwise.\n */\nexport function isPrimitiveType(value: unknown): boolean {\n return (typeof value !== \"object\" && typeof value !== \"function\") || value === null;\n}\n\nexport function getEnvironmentValue(name: string): string | undefined {\n if (process.env[name]) {\n return process.env[name];\n } else if (process.env[name.toLowerCase()]) {\n return process.env[name.toLowerCase()];\n }\n return undefined;\n}\n\n/**\n * @internal\n */\nexport type UnknownObject = { [s: string]: unknown };\n\n/**\n * @internal\n * @returns true when input is an object type that is not null, Array, RegExp, or Date.\n */\nexport function isObject(input: unknown): input is UnknownObject {\n return (\n typeof input === \"object\" &&\n input !== null &&\n !Array.isArray(input) &&\n !(input instanceof RegExp) &&\n !(input instanceof Date)\n );\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { replaceAll } from \"./util/utils\";\n\ntype URLQueryParseState = \"ParameterName\" | \"ParameterValue\";\n\n/**\n * A class that handles the query portion of a URLBuilder.\n */\nexport class URLQuery {\n private readonly _rawQuery: { [queryParameterName: string]: string | string[] } = {};\n\n /**\n * Get whether or not there any query parameters in this URLQuery.\n */\n public any(): boolean {\n return Object.keys(this._rawQuery).length > 0;\n }\n\n /**\n * Get the keys of the query string.\n */\n public keys(): string[] {\n return Object.keys(this._rawQuery);\n }\n\n /**\n * Set a query parameter with the provided name and value. If the parameterValue is undefined or\n * empty, then this will attempt to remove an existing query parameter with the provided\n * parameterName.\n */\n public set(parameterName: string, parameterValue: unknown): void {\n const caseParameterValue = parameterValue as {\n toString: () => string;\n };\n if (parameterName) {\n if (caseParameterValue !== undefined && caseParameterValue !== null) {\n const newValue = Array.isArray(caseParameterValue)\n ? caseParameterValue\n : caseParameterValue.toString();\n this._rawQuery[parameterName] = newValue;\n } else {\n delete this._rawQuery[parameterName];\n }\n }\n }\n\n /**\n * Get the value of the query parameter with the provided name. If no parameter exists with the\n * provided parameter name, then undefined will be returned.\n */\n public get(parameterName: string): string | string[] | undefined {\n return parameterName ? this._rawQuery[parameterName] : undefined;\n }\n\n /**\n * Get the string representation of this query. The return value will not start with a \"?\".\n */\n public toString(): string {\n let result = \"\";\n for (const parameterName in this._rawQuery) {\n if (result) {\n result += \"&\";\n }\n const parameterValue = this._rawQuery[parameterName];\n if (Array.isArray(parameterValue)) {\n const parameterStrings = [];\n for (const parameterValueElement of parameterValue) {\n parameterStrings.push(`${parameterName}=${parameterValueElement}`);\n }\n result += parameterStrings.join(\"&\");\n } else {\n result += `${parameterName}=${parameterValue}`;\n }\n }\n return result;\n }\n\n /**\n * Parse a URLQuery from the provided text.\n */\n public static parse(text: string): URLQuery {\n const result = new URLQuery();\n\n if (text) {\n if (text.startsWith(\"?\")) {\n text = text.substring(1);\n }\n\n let currentState: URLQueryParseState = \"ParameterName\";\n\n let parameterName = \"\";\n let parameterValue = \"\";\n for (let i = 0; i < text.length; ++i) {\n const currentCharacter: string = text[i];\n switch (currentState) {\n case \"ParameterName\":\n switch (currentCharacter) {\n case \"=\":\n currentState = \"ParameterValue\";\n break;\n\n case \"&\":\n parameterName = \"\";\n parameterValue = \"\";\n break;\n\n default:\n parameterName += currentCharacter;\n break;\n }\n break;\n\n case \"ParameterValue\":\n switch (currentCharacter) {\n case \"&\":\n result.set(parameterName, parameterValue);\n parameterName = \"\";\n parameterValue = \"\";\n currentState = \"ParameterName\";\n break;\n\n default:\n parameterValue += currentCharacter;\n break;\n }\n break;\n\n default:\n throw new Error(\"Unrecognized URLQuery parse state: \" + currentState);\n }\n }\n if (currentState === \"ParameterValue\") {\n result.set(parameterName, parameterValue);\n }\n }\n\n return result;\n }\n}\n\n/**\n * A class that handles creating, modifying, and parsing URLs.\n */\nexport class URLBuilder {\n private _scheme: string | undefined;\n private _host: string | undefined;\n private _port: string | undefined;\n private _path: string | undefined;\n private _query: URLQuery | undefined;\n\n /**\n * Set the scheme/protocol for this URL. If the provided scheme contains other parts of a URL\n * (such as a host, port, path, or query), those parts will be added to this URL as well.\n */\n public setScheme(scheme: string | undefined): void {\n if (!scheme) {\n this._scheme = undefined;\n } else {\n this.set(scheme, \"SCHEME\");\n }\n }\n\n /**\n * Get the scheme that has been set in this URL.\n */\n public getScheme(): string | undefined {\n return this._scheme;\n }\n\n /**\n * Set the host for this URL. If the provided host contains other parts of a URL (such as a\n * port, path, or query), those parts will be added to this URL as well.\n */\n public setHost(host: string | undefined): void {\n if (!host) {\n this._host = undefined;\n } else {\n this.set(host, \"SCHEME_OR_HOST\");\n }\n }\n\n /**\n * Get the host that has been set in this URL.\n */\n public getHost(): string | undefined {\n return this._host;\n }\n\n /**\n * Set the port for this URL. If the provided port contains other parts of a URL (such as a\n * path or query), those parts will be added to this URL as well.\n */\n public setPort(port: number | string | undefined): void {\n if (port === undefined || port === null || port === \"\") {\n this._port = undefined;\n } else {\n this.set(port.toString(), \"PORT\");\n }\n }\n\n /**\n * Get the port that has been set in this URL.\n */\n public getPort(): string | undefined {\n return this._port;\n }\n\n /**\n * Set the path for this URL. If the provided path contains a query, then it will be added to\n * this URL as well.\n */\n public setPath(path: string | undefined): void {\n if (!path) {\n this._path = undefined;\n } else {\n const schemeIndex = path.indexOf(\"://\");\n if (schemeIndex !== -1) {\n const schemeStart = path.lastIndexOf(\"/\", schemeIndex);\n // Make sure to only grab the URL part of the path before setting the state back to SCHEME\n // this will handle cases such as \"/a/b/c/https://microsoft.com\" => \"https://microsoft.com\"\n this.set(schemeStart === -1 ? path : path.substr(schemeStart + 1), \"SCHEME\");\n } else {\n this.set(path, \"PATH\");\n }\n }\n }\n\n /**\n * Append the provided path to this URL's existing path. If the provided path contains a query,\n * then it will be added to this URL as well.\n */\n public appendPath(path: string | undefined): void {\n if (path) {\n let currentPath: string | undefined = this.getPath();\n if (currentPath) {\n if (!currentPath.endsWith(\"/\")) {\n currentPath += \"/\";\n }\n\n if (path.startsWith(\"/\")) {\n path = path.substring(1);\n }\n\n path = currentPath + path;\n }\n this.set(path, \"PATH\");\n }\n }\n\n /**\n * Get the path that has been set in this URL.\n */\n public getPath(): string | undefined {\n return this._path;\n }\n\n /**\n * Set the query in this URL.\n */\n public setQuery(query: string | undefined): void {\n if (!query) {\n this._query = undefined;\n } else {\n this._query = URLQuery.parse(query);\n }\n }\n\n /**\n * Set a query parameter with the provided name and value in this URL's query. If the provided\n * query parameter value is undefined or empty, then the query parameter will be removed if it\n * existed.\n */\n public setQueryParameter(queryParameterName: string, queryParameterValue: unknown): void {\n if (queryParameterName) {\n if (!this._query) {\n this._query = new URLQuery();\n }\n this._query.set(queryParameterName, queryParameterValue);\n }\n }\n\n /**\n * Get the value of the query parameter with the provided query parameter name. If no query\n * parameter exists with the provided name, then undefined will be returned.\n */\n public getQueryParameterValue(queryParameterName: string): string | string[] | undefined {\n return this._query ? this._query.get(queryParameterName) : undefined;\n }\n\n /**\n * Get the query in this URL.\n */\n public getQuery(): string | undefined {\n return this._query ? this._query.toString() : undefined;\n }\n\n /**\n * Set the parts of this URL by parsing the provided text using the provided startState.\n */\n private set(text: string, startState: URLTokenizerState): void {\n const tokenizer = new URLTokenizer(text, startState);\n\n while (tokenizer.next()) {\n const token: URLToken | undefined = tokenizer.current();\n let tokenPath: string | undefined;\n if (token) {\n switch (token.type) {\n case \"SCHEME\":\n this._scheme = token.text || undefined;\n break;\n\n case \"HOST\":\n this._host = token.text || undefined;\n break;\n\n case \"PORT\":\n this._port = token.text || undefined;\n break;\n\n case \"PATH\":\n tokenPath = token.text || undefined;\n if (!this._path || this._path === \"/\" || tokenPath !== \"/\") {\n this._path = tokenPath;\n }\n break;\n\n case \"QUERY\":\n this._query = URLQuery.parse(token.text);\n break;\n\n default:\n throw new Error(`Unrecognized URLTokenType: ${token.type}`);\n }\n }\n }\n }\n\n /**\n * Serializes the URL as a string.\n * @returns the URL as a string.\n */\n public toString(): string {\n let result = \"\";\n\n if (this._scheme) {\n result += `${this._scheme}://`;\n }\n\n if (this._host) {\n result += this._host;\n }\n\n if (this._port) {\n result += `:${this._port}`;\n }\n\n if (this._path) {\n if (!this._path.startsWith(\"/\")) {\n result += \"/\";\n }\n result += this._path;\n }\n\n if (this._query && this._query.any()) {\n result += `?${this._query.toString()}`;\n }\n\n return result;\n }\n\n /**\n * If the provided searchValue is found in this URLBuilder, then replace it with the provided\n * replaceValue.\n */\n public replaceAll(searchValue: string, replaceValue: string): void {\n if (searchValue) {\n this.setScheme(replaceAll(this.getScheme(), searchValue, replaceValue));\n this.setHost(replaceAll(this.getHost(), searchValue, replaceValue));\n this.setPort(replaceAll(this.getPort(), searchValue, replaceValue));\n this.setPath(replaceAll(this.getPath(), searchValue, replaceValue));\n this.setQuery(replaceAll(this.getQuery(), searchValue, replaceValue));\n }\n }\n\n /**\n * Parses a given string URL into a new {@link URLBuilder}.\n */\n public static parse(text: string): URLBuilder {\n const result = new URLBuilder();\n result.set(text, \"SCHEME_OR_HOST\");\n return result;\n }\n}\n\ntype URLTokenizerState = \"SCHEME\" | \"SCHEME_OR_HOST\" | \"HOST\" | \"PORT\" | \"PATH\" | \"QUERY\" | \"DONE\";\n\ntype URLTokenType = \"SCHEME\" | \"HOST\" | \"PORT\" | \"PATH\" | \"QUERY\";\n\nexport class URLToken {\n public constructor(public readonly text: string, public readonly type: URLTokenType) {}\n\n public static scheme(text: string): URLToken {\n return new URLToken(text, \"SCHEME\");\n }\n\n public static host(text: string): URLToken {\n return new URLToken(text, \"HOST\");\n }\n\n public static port(text: string): URLToken {\n return new URLToken(text, \"PORT\");\n }\n\n public static path(text: string): URLToken {\n return new URLToken(text, \"PATH\");\n }\n\n public static query(text: string): URLToken {\n return new URLToken(text, \"QUERY\");\n }\n}\n\n/**\n * Get whether or not the provided character (single character string) is an alphanumeric (letter or\n * digit) character.\n */\nexport function isAlphaNumericCharacter(character: string): boolean {\n const characterCode: number = character.charCodeAt(0);\n return (\n (48 /* '0' */ <= characterCode && characterCode <= 57) /* '9' */ ||\n (65 /* 'A' */ <= characterCode && characterCode <= 90) /* 'Z' */ ||\n (97 /* 'a' */ <= characterCode && characterCode <= 122) /* 'z' */\n );\n}\n\n/**\n * A class that tokenizes URL strings.\n */\nexport class URLTokenizer {\n readonly _textLength: number;\n _currentState: URLTokenizerState;\n _currentIndex: number;\n _currentToken: URLToken | undefined;\n\n public constructor(readonly _text: string, state?: URLTokenizerState) {\n this._textLength = _text ? _text.length : 0;\n this._currentState = state !== undefined && state !== null ? state : \"SCHEME_OR_HOST\";\n this._currentIndex = 0;\n }\n\n /**\n * Get the current URLToken this URLTokenizer is pointing at, or undefined if the URLTokenizer\n * hasn't started or has finished tokenizing.\n */\n public current(): URLToken | undefined {\n return this._currentToken;\n }\n\n /**\n * Advance to the next URLToken and return whether or not a URLToken was found.\n */\n public next(): boolean {\n if (!hasCurrentCharacter(this)) {\n this._currentToken = undefined;\n } else {\n switch (this._currentState) {\n case \"SCHEME\":\n nextScheme(this);\n break;\n\n case \"SCHEME_OR_HOST\":\n nextSchemeOrHost(this);\n break;\n\n case \"HOST\":\n nextHost(this);\n break;\n\n case \"PORT\":\n nextPort(this);\n break;\n\n case \"PATH\":\n nextPath(this);\n break;\n\n case \"QUERY\":\n nextQuery(this);\n break;\n\n default:\n throw new Error(`Unrecognized URLTokenizerState: ${this._currentState}`);\n }\n }\n return !!this._currentToken;\n }\n}\n\n/**\n * Read the remaining characters from this Tokenizer's character stream.\n */\nfunction readRemaining(tokenizer: URLTokenizer): string {\n let result = \"\";\n if (tokenizer._currentIndex < tokenizer._textLength) {\n result = tokenizer._text.substring(tokenizer._currentIndex);\n tokenizer._currentIndex = tokenizer._textLength;\n }\n return result;\n}\n\n/**\n * Whether or not this URLTokenizer has a current character.\n */\nfunction hasCurrentCharacter(tokenizer: URLTokenizer): boolean {\n return tokenizer._currentIndex < tokenizer._textLength;\n}\n\n/**\n * Get the character in the text string at the current index.\n */\nfunction getCurrentCharacter(tokenizer: URLTokenizer): string {\n return tokenizer._text[tokenizer._currentIndex];\n}\n\n/**\n * Advance to the character in text that is \"step\" characters ahead. If no step value is provided,\n * then step will default to 1.\n */\nfunction nextCharacter(tokenizer: URLTokenizer, step?: number): void {\n if (hasCurrentCharacter(tokenizer)) {\n if (!step) {\n step = 1;\n }\n tokenizer._currentIndex += step;\n }\n}\n\n/**\n * Starting with the current character, peek \"charactersToPeek\" number of characters ahead in this\n * Tokenizer's stream of characters.\n */\nfunction peekCharacters(tokenizer: URLTokenizer, charactersToPeek: number): string {\n let endIndex: number = tokenizer._currentIndex + charactersToPeek;\n if (tokenizer._textLength < endIndex) {\n endIndex = tokenizer._textLength;\n }\n return tokenizer._text.substring(tokenizer._currentIndex, endIndex);\n}\n\n/**\n * Read characters from this Tokenizer until the end of the stream or until the provided condition\n * is false when provided the current character.\n */\nfunction readWhile(tokenizer: URLTokenizer, condition: (character: string) => boolean): string {\n let result = \"\";\n\n while (hasCurrentCharacter(tokenizer)) {\n const currentCharacter: string = getCurrentCharacter(tokenizer);\n if (!condition(currentCharacter)) {\n break;\n } else {\n result += currentCharacter;\n nextCharacter(tokenizer);\n }\n }\n\n return result;\n}\n\n/**\n * Read characters from this Tokenizer until a non-alphanumeric character or the end of the\n * character stream is reached.\n */\nfunction readWhileLetterOrDigit(tokenizer: URLTokenizer): string {\n return readWhile(tokenizer, (character: string) => isAlphaNumericCharacter(character));\n}\n\n/**\n * Read characters from this Tokenizer until one of the provided terminating characters is read or\n * the end of the character stream is reached.\n */\nfunction readUntilCharacter(tokenizer: URLTokenizer, ...terminatingCharacters: string[]): string {\n return readWhile(\n tokenizer,\n (character: string) => terminatingCharacters.indexOf(character) === -1\n );\n}\n\nfunction nextScheme(tokenizer: URLTokenizer): void {\n const scheme: string = readWhileLetterOrDigit(tokenizer);\n tokenizer._currentToken = URLToken.scheme(scheme);\n if (!hasCurrentCharacter(tokenizer)) {\n tokenizer._currentState = \"DONE\";\n } else {\n tokenizer._currentState = \"HOST\";\n }\n}\n\nfunction nextSchemeOrHost(tokenizer: URLTokenizer): void {\n const schemeOrHost: string = readUntilCharacter(tokenizer, \":\", \"/\", \"?\");\n if (!hasCurrentCharacter(tokenizer)) {\n tokenizer._currentToken = URLToken.host(schemeOrHost);\n tokenizer._currentState = \"DONE\";\n } else if (getCurrentCharacter(tokenizer) === \":\") {\n if (peekCharacters(tokenizer, 3) === \"://\") {\n tokenizer._currentToken = URLToken.scheme(schemeOrHost);\n tokenizer._currentState = \"HOST\";\n } else {\n tokenizer._currentToken = URLToken.host(schemeOrHost);\n tokenizer._currentState = \"PORT\";\n }\n } else {\n tokenizer._currentToken = URLToken.host(schemeOrHost);\n if (getCurrentCharacter(tokenizer) === \"/\") {\n tokenizer._currentState = \"PATH\";\n } else {\n tokenizer._currentState = \"QUERY\";\n }\n }\n}\n\nfunction nextHost(tokenizer: URLTokenizer): void {\n if (peekCharacters(tokenizer, 3) === \"://\") {\n nextCharacter(tokenizer, 3);\n }\n\n const host: string = readUntilCharacter(tokenizer, \":\", \"/\", \"?\");\n tokenizer._currentToken = URLToken.host(host);\n\n if (!hasCurrentCharacter(tokenizer)) {\n tokenizer._currentState = \"DONE\";\n } else if (getCurrentCharacter(tokenizer) === \":\") {\n tokenizer._currentState = \"PORT\";\n } else if (getCurrentCharacter(tokenizer) === \"/\") {\n tokenizer._currentState = \"PATH\";\n } else {\n tokenizer._currentState = \"QUERY\";\n }\n}\n\nfunction nextPort(tokenizer: URLTokenizer): void {\n if (getCurrentCharacter(tokenizer) === \":\") {\n nextCharacter(tokenizer);\n }\n\n const port: string = readUntilCharacter(tokenizer, \"/\", \"?\");\n tokenizer._currentToken = URLToken.port(port);\n\n if (!hasCurrentCharacter(tokenizer)) {\n tokenizer._currentState = \"DONE\";\n } else if (getCurrentCharacter(tokenizer) === \"/\") {\n tokenizer._currentState = \"PATH\";\n } else {\n tokenizer._currentState = \"QUERY\";\n }\n}\n\nfunction nextPath(tokenizer: URLTokenizer): void {\n const path: string = readUntilCharacter(tokenizer, \"?\");\n tokenizer._currentToken = URLToken.path(path);\n\n if (!hasCurrentCharacter(tokenizer)) {\n tokenizer._currentState = \"DONE\";\n } else {\n tokenizer._currentState = \"QUERY\";\n }\n}\n\nfunction nextQuery(tokenizer: URLTokenizer): void {\n if (getCurrentCharacter(tokenizer) === \"?\") {\n nextCharacter(tokenizer);\n }\n\n const query: string = readRemaining(tokenizer);\n tokenizer._currentToken = URLToken.query(query);\n tokenizer._currentState = \"DONE\";\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { URLBuilder, URLQuery } from \"../url\";\nimport { UnknownObject, isObject } from \"./utils\";\n\nexport interface SanitizerOptions {\n /**\n * Header names whose values will be logged when logging is enabled. Defaults to\n * Date, traceparent, x-ms-client-request-id, and x-ms-request id. Any headers\n * specified in this field will be added to that list. Any other values will\n * be written to logs as \"REDACTED\".\n */\n allowedHeaderNames?: string[];\n\n /**\n * Query string names whose values will be logged when logging is enabled. By default no\n * query string values are logged.\n */\n allowedQueryParameters?: string[];\n}\n\nconst RedactedString = \"REDACTED\";\n\nconst defaultAllowedHeaderNames = [\n \"x-ms-client-request-id\",\n \"x-ms-return-client-request-id\",\n \"x-ms-useragent\",\n \"x-ms-correlation-request-id\",\n \"x-ms-request-id\",\n \"client-request-id\",\n \"ms-cv\",\n \"return-client-request-id\",\n \"traceparent\",\n\n \"Access-Control-Allow-Credentials\",\n \"Access-Control-Allow-Headers\",\n \"Access-Control-Allow-Methods\",\n \"Access-Control-Allow-Origin\",\n \"Access-Control-Expose-Headers\",\n \"Access-Control-Max-Age\",\n \"Access-Control-Request-Headers\",\n \"Access-Control-Request-Method\",\n \"Origin\",\n\n \"Accept\",\n \"Accept-Encoding\",\n \"Cache-Control\",\n \"Connection\",\n \"Content-Length\",\n \"Content-Type\",\n \"Date\",\n \"ETag\",\n \"Expires\",\n \"If-Match\",\n \"If-Modified-Since\",\n \"If-None-Match\",\n \"If-Unmodified-Since\",\n \"Last-Modified\",\n \"Pragma\",\n \"Request-Id\",\n \"Retry-After\",\n \"Server\",\n \"Transfer-Encoding\",\n \"User-Agent\",\n \"WWW-Authenticate\",\n];\n\nconst defaultAllowedQueryParameters: string[] = [\"api-version\"];\n\nexport class Sanitizer {\n public allowedHeaderNames: Set;\n public allowedQueryParameters: Set;\n\n constructor({ allowedHeaderNames = [], allowedQueryParameters = [] }: SanitizerOptions = {}) {\n allowedHeaderNames = Array.isArray(allowedHeaderNames)\n ? defaultAllowedHeaderNames.concat(allowedHeaderNames)\n : defaultAllowedHeaderNames;\n\n allowedQueryParameters = Array.isArray(allowedQueryParameters)\n ? defaultAllowedQueryParameters.concat(allowedQueryParameters)\n : defaultAllowedQueryParameters;\n\n this.allowedHeaderNames = new Set(allowedHeaderNames.map((n) => n.toLowerCase()));\n this.allowedQueryParameters = new Set(allowedQueryParameters.map((p) => p.toLowerCase()));\n }\n\n public sanitize(obj: unknown): string {\n const seen = new Set();\n return JSON.stringify(\n obj,\n (key: string, value: unknown) => {\n // Ensure Errors include their interesting non-enumerable members\n if (value instanceof Error) {\n return {\n ...value,\n name: value.name,\n message: value.message,\n };\n }\n\n if (key === \"_headersMap\") {\n return this.sanitizeHeaders(value as UnknownObject);\n } else if (key === \"url\") {\n return this.sanitizeUrl(value as string);\n } else if (key === \"query\") {\n return this.sanitizeQuery(value as UnknownObject);\n } else if (key === \"body\") {\n // Don't log the request body\n return undefined;\n } else if (key === \"response\") {\n // Don't log response again\n return undefined;\n } else if (key === \"operationSpec\") {\n // When using sendOperationRequest, the request carries a massive\n // field with the autorest spec. No need to log it.\n return undefined;\n } else if (Array.isArray(value) || isObject(value)) {\n if (seen.has(value)) {\n return \"[Circular]\";\n }\n seen.add(value);\n }\n\n return value;\n },\n 2\n );\n }\n\n private sanitizeHeaders(value: UnknownObject): UnknownObject {\n return this.sanitizeObject(value, this.allowedHeaderNames, (v, k) => v[k].value);\n }\n\n private sanitizeQuery(value: UnknownObject): UnknownObject {\n return this.sanitizeObject(value, this.allowedQueryParameters, (v, k) => v[k]);\n }\n\n private sanitizeObject(\n value: UnknownObject,\n allowedKeys: Set,\n accessor: (value: any, key: string) => any\n ): UnknownObject {\n if (typeof value !== \"object\" || value === null) {\n return value;\n }\n\n const sanitized: UnknownObject = {};\n\n for (const k of Object.keys(value)) {\n if (allowedKeys.has(k.toLowerCase())) {\n sanitized[k] = accessor(value, k);\n } else {\n sanitized[k] = RedactedString;\n }\n }\n\n return sanitized;\n }\n\n private sanitizeUrl(value: string): string {\n if (typeof value !== \"string\" || value === null) {\n return value;\n }\n\n const urlBuilder = URLBuilder.parse(value);\n const queryString = urlBuilder.getQuery();\n\n if (!queryString) {\n return value;\n }\n\n const query = URLQuery.parse(queryString);\n for (const k of query.keys()) {\n if (!this.allowedQueryParameters.has(k.toLowerCase())) {\n query.set(k, RedactedString);\n }\n }\n\n urlBuilder.setQuery(query.toString());\n return urlBuilder.toString();\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { inspect } from \"util\";\n\nexport const custom = inspect.custom;\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { HttpOperationResponse } from \"./httpOperationResponse\";\nimport { Sanitizer } from \"./util/sanitizer\";\nimport { WebResourceLike } from \"./webResource\";\nimport { custom } from \"./util/inspect\";\n\nconst errorSanitizer = new Sanitizer();\n\n/**\n * An error resulting from an HTTP request to a service endpoint.\n */\nexport class RestError extends Error {\n /**\n * A constant string to identify errors that may arise when making an HTTP request that indicates an issue with the transport layer (e.g. the hostname of the URL cannot be resolved via DNS.)\n */\n static readonly REQUEST_SEND_ERROR: string = \"REQUEST_SEND_ERROR\";\n /**\n * A constant string to identify errors that may arise from parsing an incoming HTTP response. Usually indicates a malformed HTTP body, such as an encoded JSON payload that is incomplete.\n */\n static readonly PARSE_ERROR: string = \"PARSE_ERROR\";\n\n /**\n * The error code, if any. Can be one of the static error code properties (REQUEST_SEND_ERROR / PARSE_ERROR) or can be a string code from an underlying system call (E_NOENT).\n */\n code?: string;\n /**\n * The HTTP status code of the response, if one was returned.\n */\n statusCode?: number;\n /**\n * Outgoing request.\n */\n request?: WebResourceLike;\n /**\n * Incoming response.\n */\n response?: HttpOperationResponse;\n /**\n * Any additional details. In the case of deserialization errors, can be the processed response.\n */\n details?: unknown;\n constructor(\n message: string,\n code?: string,\n statusCode?: number,\n request?: WebResourceLike,\n response?: HttpOperationResponse\n ) {\n super(message);\n this.name = \"RestError\";\n this.code = code;\n this.statusCode = statusCode;\n this.request = request;\n this.response = response;\n\n Object.setPrototypeOf(this, RestError.prototype);\n }\n\n /**\n * Logging method for util.inspect in Node\n */\n [custom](): string {\n return `RestError: ${this.message} \\n ${errorSanitizer.sanitize(this)}`;\n }\n}\n","/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\r\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\r\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\r\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\r\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\r\n var _, done = false;\r\n for (var i = decorators.length - 1; i >= 0; i--) {\r\n var context = {};\r\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\r\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\r\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\r\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\r\n if (kind === \"accessor\") {\r\n if (result === void 0) continue;\r\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\r\n if (_ = accept(result.get)) descriptor.get = _;\r\n if (_ = accept(result.set)) descriptor.set = _;\r\n if (_ = accept(result.init)) initializers.push(_);\r\n }\r\n else if (_ = accept(result)) {\r\n if (kind === \"field\") initializers.push(_);\r\n else descriptor[key] = _;\r\n }\r\n }\r\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\r\n done = true;\r\n};\r\n\r\nexport function __runInitializers(thisArg, initializers, value) {\r\n var useValue = arguments.length > 2;\r\n for (var i = 0; i < initializers.length; i++) {\r\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\r\n }\r\n return useValue ? value : void 0;\r\n};\r\n\r\nexport function __propKey(x) {\r\n return typeof x === \"symbol\" ? x : \"\".concat(x);\r\n};\r\n\r\nexport function __setFunctionName(f, name, prefix) {\r\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\r\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\r\n};\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n 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;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\n/**\n * The different levels of logs that can be used with the HttpPipelineLogger.\n */\nexport enum HttpPipelineLogLevel {\n /**\n * A log level that indicates that no logs will be logged.\n */\n OFF,\n\n /**\n * An error log.\n */\n ERROR,\n\n /**\n * A warning log.\n */\n WARNING,\n\n /**\n * An information log.\n */\n INFO,\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport { TracingContext } from \"./tracing\";\n\n/**\n * Represents a credential capable of providing an authentication token.\n */\nexport interface TokenCredential {\n /**\n * Gets the token provided by this credential.\n *\n * This method is called automatically by Azure SDK client libraries. You may call this method\n * directly, but you must also handle token caching and token refreshing.\n *\n * @param scopes - The list of scopes for which the token will have access.\n * @param options - The options used to configure any requests this\n * TokenCredential implementation might make.\n */\n getToken(scopes: string | string[], options?: GetTokenOptions): Promise;\n}\n\n/**\n * Defines options for TokenCredential.getToken.\n */\nexport interface GetTokenOptions {\n /**\n * The signal which can be used to abort requests.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Options used when creating and sending HTTP requests for this operation.\n */\n requestOptions?: {\n /**\n * The number of milliseconds a request can take before automatically being terminated.\n */\n timeout?: number;\n };\n /**\n * Options used when tracing is enabled.\n */\n tracingOptions?: {\n /**\n * Tracing Context for the current request.\n */\n tracingContext?: TracingContext;\n };\n\n /**\n * Allows specifying a tenantId. Useful to handle challenges that provide tenant Id hints.\n */\n tenantId?: string;\n\n /**\n * Claim details to perform the Continuous Access Evaluation authentication flow\n */\n claims?: string;\n}\n\n/**\n * Represents an access token with an expiration time.\n */\nexport interface AccessToken {\n /**\n * The access token returned by the authentication service.\n */\n token: string;\n\n /**\n * The access token's expiration timestamp in milliseconds, UNIX epoch time.\n */\n expiresOnTimestamp: number;\n}\n\n/**\n * Tests an object to determine whether it implements TokenCredential.\n *\n * @param credential - The assumed TokenCredential to be tested.\n */\nexport function isTokenCredential(credential: unknown): credential is TokenCredential {\n // Check for an object with a 'getToken' function and possibly with\n // a 'signRequest' function. We do this check to make sure that\n // a ServiceClientCredentials implementor (like TokenClientCredentials\n // in ms-rest-nodeauth) doesn't get mistaken for a TokenCredential if\n // it doesn't actually implement TokenCredential also.\n const castCredential = credential as {\n getToken: unknown;\n signRequest: unknown;\n };\n return (\n castCredential &&\n typeof castCredential.getToken === \"function\" &&\n (castCredential.signRequest === undefined || castCredential.getToken.length > 0)\n );\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { HttpOperationResponse } from \"../httpOperationResponse\";\nimport { HttpPipelineLogLevel } from \"../httpPipelineLogLevel\";\nimport { HttpPipelineLogger } from \"../httpPipelineLogger\";\nimport { WebResourceLike } from \"../webResource\";\n\n/**\n * Creates a new RequestPolicy per-request that uses the provided nextPolicy.\n */\nexport type RequestPolicyFactory = {\n create(nextPolicy: RequestPolicy, options: RequestPolicyOptionsLike): RequestPolicy;\n};\n\n/**\n * The underlying structure of a request policy.\n */\nexport interface RequestPolicy {\n /**\n * A method that retrieves an {@link HttpOperationResponse} given a {@link WebResourceLike} describing the request to be made.\n * @param httpRequest - {@link WebResourceLike} describing the request to be made.\n */\n sendRequest(httpRequest: WebResourceLike): Promise;\n}\n\n/**\n * The base class from which all request policies derive.\n */\nexport abstract class BaseRequestPolicy implements RequestPolicy {\n /**\n * The main method to implement that manipulates a request/response.\n */\n protected constructor(\n /**\n * The next policy in the pipeline. Each policy is responsible for executing the next one if the request is to continue through the pipeline.\n */\n readonly _nextPolicy: RequestPolicy,\n /**\n * The options that can be passed to a given request policy.\n */\n readonly _options: RequestPolicyOptionsLike\n ) {}\n\n /**\n * Sends a network request based on the given web resource.\n * @param webResource - A {@link WebResourceLike} that describes a HTTP request to be made.\n */\n public abstract sendRequest(webResource: WebResourceLike): Promise;\n\n /**\n * Get whether or not a log with the provided log level should be logged.\n * @param logLevel - The log level of the log that will be logged.\n * @returns Whether or not a log with the provided log level should be logged.\n */\n public shouldLog(logLevel: HttpPipelineLogLevel): boolean {\n return this._options.shouldLog(logLevel);\n }\n\n /**\n * Attempt to log the provided message to the provided logger. If no logger was provided or if\n * the log level does not meat the logger's threshold, then nothing will be logged.\n * @param logLevel - The log level of this log.\n * @param message - The message of this log.\n */\n public log(logLevel: HttpPipelineLogLevel, message: string): void {\n this._options.log(logLevel, message);\n }\n}\n\n/**\n * Optional properties that can be used when creating a RequestPolicy.\n */\nexport interface RequestPolicyOptionsLike {\n /**\n * Get whether or not a log with the provided log level should be logged.\n * @param logLevel - The log level of the log that will be logged.\n * @returns Whether or not a log with the provided log level should be logged.\n */\n shouldLog(logLevel: HttpPipelineLogLevel): boolean;\n\n /**\n * Attempt to log the provided message to the provided logger. If no logger was provided or if\n * the log level does not meet the logger's threshold, then nothing will be logged.\n * @param logLevel - The log level of this log.\n * @param message - The message of this log.\n */\n log(logLevel: HttpPipelineLogLevel, message: string): void;\n}\n\n/**\n * Optional properties that can be used when creating a RequestPolicy.\n */\nexport class RequestPolicyOptions {\n constructor(private _logger?: HttpPipelineLogger) {}\n\n /**\n * Get whether or not a log with the provided log level should be logged.\n * @param logLevel - The log level of the log that will be logged.\n * @returns Whether or not a log with the provided log level should be logged.\n */\n public shouldLog(logLevel: HttpPipelineLogLevel): boolean {\n return (\n !!this._logger &&\n logLevel !== HttpPipelineLogLevel.OFF &&\n logLevel <= this._logger.minimumLogLevel\n );\n }\n\n /**\n * Attempt to log the provided message to the provided logger. If no logger was provided or if\n * the log level does not meet the logger's threshold, then nothing will be logged.\n * @param logLevel - The log level of this log.\n * @param message - The message of this log.\n */\n public log(logLevel: HttpPipelineLogLevel, message: string): void {\n if (this._logger && this.shouldLog(logLevel)) {\n this._logger.log(logLevel, message);\n }\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n/**\n * A set of constants used internally when processing requests.\n */\nexport const Constants = {\n /**\n * The core-http version\n */\n coreHttpVersion: \"2.3.1\",\n\n /**\n * Specifies HTTP.\n */\n HTTP: \"http:\",\n\n /**\n * Specifies HTTPS.\n */\n HTTPS: \"https:\",\n\n /**\n * Specifies HTTP Proxy.\n */\n HTTP_PROXY: \"HTTP_PROXY\",\n\n /**\n * Specifies HTTPS Proxy.\n */\n HTTPS_PROXY: \"HTTPS_PROXY\",\n\n /**\n * Specifies NO Proxy.\n */\n NO_PROXY: \"NO_PROXY\",\n\n /**\n * Specifies ALL Proxy.\n */\n ALL_PROXY: \"ALL_PROXY\",\n\n HttpConstants: {\n /**\n * Http Verbs\n */\n HttpVerbs: {\n PUT: \"PUT\",\n GET: \"GET\",\n DELETE: \"DELETE\",\n POST: \"POST\",\n MERGE: \"MERGE\",\n HEAD: \"HEAD\",\n PATCH: \"PATCH\",\n },\n\n StatusCodes: {\n TooManyRequests: 429,\n ServiceUnavailable: 503,\n },\n },\n\n /**\n * Defines constants for use with HTTP headers.\n */\n HeaderConstants: {\n /**\n * The Authorization header.\n */\n AUTHORIZATION: \"authorization\",\n\n AUTHORIZATION_SCHEME: \"Bearer\",\n\n /**\n * The Retry-After response-header field can be used with a 503 (Service\n * Unavailable) or 349 (Too Many Requests) responses to indicate how long\n * the service is expected to be unavailable to the requesting client.\n */\n RETRY_AFTER: \"Retry-After\",\n\n /**\n * The UserAgent header.\n */\n USER_AGENT: \"User-Agent\",\n },\n};\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n BaseRequestPolicy,\n RequestPolicy,\n RequestPolicyFactory,\n RequestPolicyOptions,\n} from \"./requestPolicy\";\nimport { Constants } from \"../util/constants\";\nimport { HttpOperationResponse } from \"../httpOperationResponse\";\nimport { ProxySettings } from \"../serviceClient\";\nimport { URLBuilder } from \"../url\";\nimport { WebResourceLike } from \"../webResource\";\nimport { getEnvironmentValue } from \"../util/utils\";\n\n/**\n * Stores the patterns specified in NO_PROXY environment variable.\n * @internal\n */\nexport const globalNoProxyList: string[] = [];\nlet noProxyListLoaded: boolean = false;\n\n/** A cache of whether a host should bypass the proxy. */\nconst globalBypassedMap: Map = new Map();\n\nfunction loadEnvironmentProxyValue(): string | undefined {\n if (!process) {\n return undefined;\n }\n\n const httpsProxy = getEnvironmentValue(Constants.HTTPS_PROXY);\n const allProxy = getEnvironmentValue(Constants.ALL_PROXY);\n const httpProxy = getEnvironmentValue(Constants.HTTP_PROXY);\n\n return httpsProxy || allProxy || httpProxy;\n}\n\n/**\n * Check whether the host of a given `uri` matches any pattern in the no proxy list.\n * If there's a match, any request sent to the same host shouldn't have the proxy settings set.\n * This implementation is a port of https://github.com/Azure/azure-sdk-for-net/blob/8cca811371159e527159c7eb65602477898683e2/sdk/core/Azure.Core/src/Pipeline/Internal/HttpEnvironmentProxy.cs#L210\n */\nfunction isBypassed(\n uri: string,\n noProxyList: string[],\n bypassedMap?: Map\n): boolean | undefined {\n if (noProxyList.length === 0) {\n return false;\n }\n const host = URLBuilder.parse(uri).getHost()!;\n if (bypassedMap?.has(host)) {\n return bypassedMap.get(host);\n }\n let isBypassedFlag = false;\n for (const pattern of noProxyList) {\n if (pattern[0] === \".\") {\n // This should match either domain it self or any subdomain or host\n // .foo.com will match foo.com it self or *.foo.com\n if (host.endsWith(pattern)) {\n isBypassedFlag = true;\n } else {\n if (host.length === pattern.length - 1 && host === pattern.slice(1)) {\n isBypassedFlag = true;\n }\n }\n } else {\n if (host === pattern) {\n isBypassedFlag = true;\n }\n }\n }\n bypassedMap?.set(host, isBypassedFlag);\n return isBypassedFlag;\n}\n\n/**\n * @internal\n */\nexport function loadNoProxy(): string[] {\n const noProxy = getEnvironmentValue(Constants.NO_PROXY);\n noProxyListLoaded = true;\n if (noProxy) {\n return noProxy\n .split(\",\")\n .map((item) => item.trim())\n .filter((item) => item.length);\n }\n\n return [];\n}\n\n/**\n * Converts a given URL of a proxy server into `ProxySettings` or attempts to retrieve `ProxySettings` from the current environment if one is not passed.\n * @param proxyUrl - URL of the proxy\n * @returns The default proxy settings, or undefined.\n */\nexport function getDefaultProxySettings(proxyUrl?: string): ProxySettings | undefined {\n if (!proxyUrl) {\n proxyUrl = loadEnvironmentProxyValue();\n if (!proxyUrl) {\n return undefined;\n }\n }\n\n const { username, password, urlWithoutAuth } = extractAuthFromUrl(proxyUrl);\n const parsedUrl = URLBuilder.parse(urlWithoutAuth);\n const schema = parsedUrl.getScheme() ? parsedUrl.getScheme() + \"://\" : \"\";\n return {\n host: schema + parsedUrl.getHost(),\n port: Number.parseInt(parsedUrl.getPort() || \"80\"),\n username,\n password,\n };\n}\n\n/**\n * A policy that allows one to apply proxy settings to all requests.\n * If not passed static settings, they will be retrieved from the HTTPS_PROXY\n * or HTTP_PROXY environment variables.\n * @param proxySettings - ProxySettings to use on each request.\n * @param options - additional settings, for example, custom NO_PROXY patterns\n */\nexport function proxyPolicy(\n proxySettings?: ProxySettings,\n options?: {\n /** a list of patterns to override those loaded from NO_PROXY environment variable. */\n customNoProxyList?: string[];\n }\n): RequestPolicyFactory {\n if (!proxySettings) {\n proxySettings = getDefaultProxySettings();\n }\n if (!noProxyListLoaded) {\n globalNoProxyList.push(...loadNoProxy());\n }\n return {\n create: (nextPolicy: RequestPolicy, requestPolicyOptions: RequestPolicyOptions) => {\n return new ProxyPolicy(\n nextPolicy,\n requestPolicyOptions,\n proxySettings!,\n options?.customNoProxyList\n );\n },\n };\n}\n\nfunction extractAuthFromUrl(url: string): {\n username?: string;\n password?: string;\n urlWithoutAuth: string;\n} {\n const atIndex = url.indexOf(\"@\");\n if (atIndex === -1) {\n return { urlWithoutAuth: url };\n }\n\n const schemeIndex = url.indexOf(\"://\");\n const authStart = schemeIndex !== -1 ? schemeIndex + 3 : 0;\n const auth = url.substring(authStart, atIndex);\n const colonIndex = auth.indexOf(\":\");\n const hasPassword = colonIndex !== -1;\n const username = hasPassword ? auth.substring(0, colonIndex) : auth;\n const password = hasPassword ? auth.substring(colonIndex + 1) : undefined;\n const urlWithoutAuth = url.substring(0, authStart) + url.substring(atIndex + 1);\n return {\n username,\n password,\n urlWithoutAuth,\n };\n}\n\nexport class ProxyPolicy extends BaseRequestPolicy {\n constructor(\n nextPolicy: RequestPolicy,\n options: RequestPolicyOptions,\n public proxySettings: ProxySettings,\n private customNoProxyList?: string[]\n ) {\n super(nextPolicy, options);\n }\n\n public sendRequest(request: WebResourceLike): Promise {\n if (\n !request.proxySettings &&\n !isBypassed(\n request.url,\n this.customNoProxyList ?? globalNoProxyList,\n this.customNoProxyList ? undefined : globalBypassedMap\n )\n ) {\n request.proxySettings = this.proxySettings;\n }\n return this._nextPolicy.sendRequest(request);\n }\n}\n","/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/** only globals that common to node and browsers are allowed */\n// eslint-disable-next-line node/no-unsupported-features/es-builtins\nexport const _globalThis = typeof globalThis === 'object' ? globalThis : global;\n","/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n// this is autogenerated file, see scripts/version-update.js\nexport const VERSION = '1.4.0';\n","/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { VERSION } from '../version';\n\nconst re = /^(\\d+)\\.(\\d+)\\.(\\d+)(-(.+))?$/;\n\n/**\n * Create a function to test an API version to see if it is compatible with the provided ownVersion.\n *\n * The returned function has the following semantics:\n * - Exact match is always compatible\n * - Major versions must match exactly\n * - 1.x package cannot use global 2.x package\n * - 2.x package cannot use global 1.x package\n * - The minor version of the API module requesting access to the global API must be less than or equal to the minor version of this API\n * - 1.3 package may use 1.4 global because the later global contains all functions 1.3 expects\n * - 1.4 package may NOT use 1.3 global because it may try to call functions which don't exist on 1.3\n * - If the major version is 0, the minor version is treated as the major and the patch is treated as the minor\n * - Patch and build tag differences are not considered at this time\n *\n * @param ownVersion version which should be checked against\n */\nexport function _makeCompatibilityCheck(\n ownVersion: string\n): (globalVersion: string) => boolean {\n const acceptedVersions = new Set([ownVersion]);\n const rejectedVersions = new Set();\n\n const myVersionMatch = ownVersion.match(re);\n if (!myVersionMatch) {\n // we cannot guarantee compatibility so we always return noop\n return () => false;\n }\n\n const ownVersionParsed = {\n major: +myVersionMatch[1],\n minor: +myVersionMatch[2],\n patch: +myVersionMatch[3],\n prerelease: myVersionMatch[4],\n };\n\n // if ownVersion has a prerelease tag, versions must match exactly\n if (ownVersionParsed.prerelease != null) {\n return function isExactmatch(globalVersion: string): boolean {\n return globalVersion === ownVersion;\n };\n }\n\n function _reject(v: string) {\n rejectedVersions.add(v);\n return false;\n }\n\n function _accept(v: string) {\n acceptedVersions.add(v);\n return true;\n }\n\n return function isCompatible(globalVersion: string): boolean {\n if (acceptedVersions.has(globalVersion)) {\n return true;\n }\n\n if (rejectedVersions.has(globalVersion)) {\n return false;\n }\n\n const globalVersionMatch = globalVersion.match(re);\n if (!globalVersionMatch) {\n // cannot parse other version\n // we cannot guarantee compatibility so we always noop\n return _reject(globalVersion);\n }\n\n const globalVersionParsed = {\n major: +globalVersionMatch[1],\n minor: +globalVersionMatch[2],\n patch: +globalVersionMatch[3],\n prerelease: globalVersionMatch[4],\n };\n\n // if globalVersion has a prerelease tag, versions must match exactly\n if (globalVersionParsed.prerelease != null) {\n return _reject(globalVersion);\n }\n\n // major versions must match\n if (ownVersionParsed.major !== globalVersionParsed.major) {\n return _reject(globalVersion);\n }\n\n if (ownVersionParsed.major === 0) {\n if (\n ownVersionParsed.minor === globalVersionParsed.minor &&\n ownVersionParsed.patch <= globalVersionParsed.patch\n ) {\n return _accept(globalVersion);\n }\n\n return _reject(globalVersion);\n }\n\n if (ownVersionParsed.minor <= globalVersionParsed.minor) {\n return _accept(globalVersion);\n }\n\n return _reject(globalVersion);\n };\n}\n\n/**\n * Test an API version to see if it is compatible with this API.\n *\n * - Exact match is always compatible\n * - Major versions must match exactly\n * - 1.x package cannot use global 2.x package\n * - 2.x package cannot use global 1.x package\n * - The minor version of the API module requesting access to the global API must be less than or equal to the minor version of this API\n * - 1.3 package may use 1.4 global because the later global contains all functions 1.3 expects\n * - 1.4 package may NOT use 1.3 global because it may try to call functions which don't exist on 1.3\n * - If the major version is 0, the minor version is treated as the major and the patch is treated as the minor\n * - Patch and build tag differences are not considered at this time\n *\n * @param version version of the API requesting an instance of the global API\n */\nexport const isCompatible = _makeCompatibilityCheck(VERSION);\n","/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { MeterProvider } from '../metrics/MeterProvider';\nimport { ContextManager } from '../context/types';\nimport { DiagLogger } from '../diag/types';\nimport { _globalThis } from '../platform';\nimport { TextMapPropagator } from '../propagation/TextMapPropagator';\nimport type { TracerProvider } from '../trace/tracer_provider';\nimport { VERSION } from '../version';\nimport { isCompatible } from './semver';\n\nconst major = VERSION.split('.')[0];\nconst GLOBAL_OPENTELEMETRY_API_KEY = Symbol.for(\n `opentelemetry.js.api.${major}`\n);\n\nconst _global = _globalThis as OTelGlobal;\n\nexport function registerGlobal(\n type: Type,\n instance: OTelGlobalAPI[Type],\n diag: DiagLogger,\n allowOverride = false\n): boolean {\n const api = (_global[GLOBAL_OPENTELEMETRY_API_KEY] = _global[\n GLOBAL_OPENTELEMETRY_API_KEY\n ] ?? {\n version: VERSION,\n });\n\n if (!allowOverride && api[type]) {\n // already registered an API of this type\n const err = new Error(\n `@opentelemetry/api: Attempted duplicate registration of API: ${type}`\n );\n diag.error(err.stack || err.message);\n return false;\n }\n\n if (api.version !== VERSION) {\n // All registered APIs must be of the same version exactly\n const err = new Error(\n '@opentelemetry/api: All API registration versions must match'\n );\n diag.error(err.stack || err.message);\n return false;\n }\n\n api[type] = instance;\n diag.debug(\n `@opentelemetry/api: Registered a global for ${type} v${VERSION}.`\n );\n\n return true;\n}\n\nexport function getGlobal(\n type: Type\n): OTelGlobalAPI[Type] | undefined {\n const globalVersion = _global[GLOBAL_OPENTELEMETRY_API_KEY]?.version;\n if (!globalVersion || !isCompatible(globalVersion)) {\n return;\n }\n return _global[GLOBAL_OPENTELEMETRY_API_KEY]?.[type];\n}\n\nexport function unregisterGlobal(type: keyof OTelGlobalAPI, diag: DiagLogger) {\n diag.debug(\n `@opentelemetry/api: Unregistering a global for ${type} v${VERSION}.`\n );\n const api = _global[GLOBAL_OPENTELEMETRY_API_KEY];\n\n if (api) {\n delete api[type];\n }\n}\n\ntype OTelGlobal = {\n [GLOBAL_OPENTELEMETRY_API_KEY]?: OTelGlobalAPI;\n};\n\ntype OTelGlobalAPI = {\n version: string;\n\n diag?: DiagLogger;\n trace?: TracerProvider;\n context?: ContextManager;\n metrics?: MeterProvider;\n propagation?: TextMapPropagator;\n};\n","/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Context } from './types';\n\n/** Get a key to uniquely identify a context value */\nexport function createContextKey(description: string) {\n // The specification states that for the same input, multiple calls should\n // return different keys. Due to the nature of the JS dependency management\n // system, this creates problems where multiple versions of some package\n // could hold different keys for the same property.\n //\n // Therefore, we use Symbol.for which returns the same key for the same input.\n return Symbol.for(description);\n}\n\nclass BaseContext implements Context {\n private _currentContext!: Map;\n\n /**\n * Construct a new context which inherits values from an optional parent context.\n *\n * @param parentContext a context from which to inherit values\n */\n constructor(parentContext?: Map) {\n // for minification\n const self = this;\n\n self._currentContext = parentContext ? new Map(parentContext) : new Map();\n\n self.getValue = (key: symbol) => self._currentContext.get(key);\n\n self.setValue = (key: symbol, value: unknown): Context => {\n const context = new BaseContext(self._currentContext);\n context._currentContext.set(key, value);\n return context;\n };\n\n self.deleteValue = (key: symbol): Context => {\n const context = new BaseContext(self._currentContext);\n context._currentContext.delete(key);\n return context;\n };\n }\n\n /**\n * Get a value from the context.\n *\n * @param key key which identifies a context value\n */\n public getValue!: (key: symbol) => unknown;\n\n /**\n * Create a new context which inherits from this context and has\n * the given key set to the given value.\n *\n * @param key context key for which to set the value\n * @param value value to set for the given key\n */\n public setValue!: (key: symbol, value: unknown) => Context;\n\n /**\n * Return a new context which inherits from this context but does\n * not contain a value for the given key.\n *\n * @param key context key for which to clear a value\n */\n public deleteValue!: (key: symbol) => Context;\n}\n\n/** The root context is used as the default parent context when there is no active context */\nexport const ROOT_CONTEXT: Context = new BaseContext();\n","/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport type DiagLogFunction = (message: string, ...args: unknown[]) => void;\n\n/**\n * Defines an internal diagnostic logger interface which is used to log internal diagnostic\n * messages, you can set the default diagnostic logger via the {@link DiagAPI} setLogger function.\n * API provided implementations include :-\n * - a No-Op {@link createNoopDiagLogger}\n * - a {@link DiagLogLevel} filtering wrapper {@link createLogLevelDiagLogger}\n * - a general Console {@link DiagConsoleLogger} version.\n */\nexport interface DiagLogger {\n /** Log an error scenario that was not expected and caused the requested operation to fail. */\n error: DiagLogFunction;\n\n /**\n * Log a warning scenario to inform the developer of an issues that should be investigated.\n * The requested operation may or may not have succeeded or completed.\n */\n warn: DiagLogFunction;\n\n /**\n * Log a general informational message, this should not affect functionality.\n * This is also the default logging level so this should NOT be used for logging\n * debugging level information.\n */\n info: DiagLogFunction;\n\n /**\n * Log a general debug message that can be useful for identifying a failure.\n * Information logged at this level may include diagnostic details that would\n * help identify a failure scenario.\n * For example: Logging the order of execution of async operations.\n */\n debug: DiagLogFunction;\n\n /**\n * Log a detailed (verbose) trace level logging that can be used to identify failures\n * where debug level logging would be insufficient, this level of tracing can include\n * input and output parameters and as such may include PII information passing through\n * the API. As such it is recommended that this level of tracing should not be enabled\n * in a production environment.\n */\n verbose: DiagLogFunction;\n}\n\n/**\n * Defines the available internal logging levels for the diagnostic logger, the numeric values\n * of the levels are defined to match the original values from the initial LogLevel to avoid\n * compatibility/migration issues for any implementation that assume the numeric ordering.\n */\nexport enum DiagLogLevel {\n /** Diagnostic Logging level setting to disable all logging (except and forced logs) */\n NONE = 0,\n\n /** Identifies an error scenario */\n ERROR = 30,\n\n /** Identifies a warning scenario */\n WARN = 50,\n\n /** General informational log message */\n INFO = 60,\n\n /** General debug log message */\n DEBUG = 70,\n\n /**\n * Detailed trace level logging should only be used for development, should only be set\n * in a development environment.\n */\n VERBOSE = 80,\n\n /** Used to set the logging level to include all logging */\n ALL = 9999,\n}\n\n/**\n * Defines options for ComponentLogger\n */\nexport interface ComponentLoggerOptions {\n namespace: string;\n}\n\nexport interface LoggerOptions {\n /**\n * The {@link DiagLogLevel} used to filter logs sent to the logger.\n *\n * @defaultValue DiagLogLevel.INFO\n */\n logLevel?: DiagLogLevel;\n\n /**\n * Setting this value to `true` will suppress the warning message normally emitted when registering a logger when another logger is already registered.\n */\n suppressOverrideMessage?: boolean;\n}\n\nexport interface DiagLoggerApi {\n /**\n * Set the global DiagLogger and DiagLogLevel.\n * If a global diag logger is already set, this will override it.\n *\n * @param logger - The {@link DiagLogger} instance to set as the default logger.\n * @param options - A {@link LoggerOptions} object. If not provided, default values will be set.\n * @returns `true` if the logger was successfully registered, else `false`\n */\n setLogger(logger: DiagLogger, options?: LoggerOptions): boolean;\n\n /**\n *\n * @param logger - The {@link DiagLogger} instance to set as the default logger.\n * @param logLevel - The {@link DiagLogLevel} used to filter logs sent to the logger. If not provided it will default to {@link DiagLogLevel.INFO}.\n * @returns `true` if the logger was successfully registered, else `false`\n */\n setLogger(logger: DiagLogger, logLevel?: DiagLogLevel): boolean;\n}\n","/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { ROOT_CONTEXT } from './context';\nimport * as types from './types';\n\nexport class NoopContextManager implements types.ContextManager {\n active(): types.Context {\n return ROOT_CONTEXT;\n }\n\n with ReturnType>(\n _context: types.Context,\n fn: F,\n thisArg?: ThisParameterType,\n ...args: A\n ): ReturnType {\n return fn.call(thisArg, ...args);\n }\n\n bind(_context: types.Context, target: T): T {\n return target;\n }\n\n enable(): this {\n return this;\n }\n\n disable(): this {\n return this;\n }\n}\n","/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { getGlobal } from '../internal/global-utils';\nimport { ComponentLoggerOptions, DiagLogger, DiagLogFunction } from './types';\n\n/**\n * Component Logger which is meant to be used as part of any component which\n * will add automatically additional namespace in front of the log message.\n * It will then forward all message to global diag logger\n * @example\n * const cLogger = diag.createComponentLogger({ namespace: '@opentelemetry/instrumentation-http' });\n * cLogger.debug('test');\n * // @opentelemetry/instrumentation-http test\n */\nexport class DiagComponentLogger implements DiagLogger {\n private _namespace: string;\n\n constructor(props: ComponentLoggerOptions) {\n this._namespace = props.namespace || 'DiagComponentLogger';\n }\n\n public debug(...args: any[]): void {\n return logProxy('debug', this._namespace, args);\n }\n\n public error(...args: any[]): void {\n return logProxy('error', this._namespace, args);\n }\n\n public info(...args: any[]): void {\n return logProxy('info', this._namespace, args);\n }\n\n public warn(...args: any[]): void {\n return logProxy('warn', this._namespace, args);\n }\n\n public verbose(...args: any[]): void {\n return logProxy('verbose', this._namespace, args);\n }\n}\n\nfunction logProxy(\n funcName: keyof DiagLogger,\n namespace: string,\n args: any\n): void {\n const logger = getGlobal('diag');\n // shortcut if logger not set\n if (!logger) {\n return;\n }\n\n args.unshift(namespace);\n return logger[funcName](...(args as Parameters));\n}\n","/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexport enum TraceFlags {\n /** Represents no flag set. */\n NONE = 0x0,\n /** Bit to represent whether trace is sampled in trace flags. */\n SAMPLED = 0x1 << 0,\n}\n","/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { DiagComponentLogger } from '../diag/ComponentLogger';\nimport { createLogLevelDiagLogger } from '../diag/internal/logLevelLogger';\nimport {\n ComponentLoggerOptions,\n DiagLogFunction,\n DiagLogger,\n DiagLoggerApi,\n DiagLogLevel,\n} from '../diag/types';\nimport {\n getGlobal,\n registerGlobal,\n unregisterGlobal,\n} from '../internal/global-utils';\n\nconst API_NAME = 'diag';\n\n/**\n * Singleton object which represents the entry point to the OpenTelemetry internal\n * diagnostic API\n */\nexport class DiagAPI implements DiagLogger, DiagLoggerApi {\n private static _instance?: DiagAPI;\n\n /** Get the singleton instance of the DiagAPI API */\n public static instance(): DiagAPI {\n if (!this._instance) {\n this._instance = new DiagAPI();\n }\n\n return this._instance;\n }\n\n /**\n * Private internal constructor\n * @private\n */\n private constructor() {\n function _logProxy(funcName: keyof DiagLogger): DiagLogFunction {\n return function (...args) {\n const logger = getGlobal('diag');\n // shortcut if logger not set\n if (!logger) return;\n return logger[funcName](...args);\n };\n }\n\n // Using self local variable for minification purposes as 'this' cannot be minified\n const self = this;\n\n // DiagAPI specific functions\n\n const setLogger: DiagLoggerApi['setLogger'] = (\n logger,\n optionsOrLogLevel = { logLevel: DiagLogLevel.INFO }\n ) => {\n if (logger === self) {\n // There isn't much we can do here.\n // Logging to the console might break the user application.\n // Try to log to self. If a logger was previously registered it will receive the log.\n const err = new Error(\n 'Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation'\n );\n self.error(err.stack ?? err.message);\n return false;\n }\n\n if (typeof optionsOrLogLevel === 'number') {\n optionsOrLogLevel = {\n logLevel: optionsOrLogLevel,\n };\n }\n\n const oldLogger = getGlobal('diag');\n const newLogger = createLogLevelDiagLogger(\n optionsOrLogLevel.logLevel ?? DiagLogLevel.INFO,\n logger\n );\n // There already is an logger registered. We'll let it know before overwriting it.\n if (oldLogger && !optionsOrLogLevel.suppressOverrideMessage) {\n const stack = new Error().stack ?? '';\n oldLogger.warn(`Current logger will be overwritten from ${stack}`);\n newLogger.warn(\n `Current logger will overwrite one already registered from ${stack}`\n );\n }\n\n return registerGlobal('diag', newLogger, self, true);\n };\n\n self.setLogger = setLogger;\n\n self.disable = () => {\n unregisterGlobal(API_NAME, self);\n };\n\n self.createComponentLogger = (options: ComponentLoggerOptions) => {\n return new DiagComponentLogger(options);\n };\n\n self.verbose = _logProxy('verbose');\n self.debug = _logProxy('debug');\n self.info = _logProxy('info');\n self.warn = _logProxy('warn');\n self.error = _logProxy('error');\n }\n\n public setLogger!: DiagLoggerApi['setLogger'];\n /**\n *\n */\n public createComponentLogger!: (\n options: ComponentLoggerOptions\n ) => DiagLogger;\n\n // DiagLogger implementation\n public verbose!: DiagLogFunction;\n public debug!: DiagLogFunction;\n public info!: DiagLogFunction;\n public warn!: DiagLogFunction;\n public error!: DiagLogFunction;\n\n /**\n * Unregister the global logger and return to Noop\n */\n public disable!: () => void;\n}\n","/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { DiagLogFunction, DiagLogger, DiagLogLevel } from '../types';\n\nexport function createLogLevelDiagLogger(\n maxLevel: DiagLogLevel,\n logger: DiagLogger\n): DiagLogger {\n if (maxLevel < DiagLogLevel.NONE) {\n maxLevel = DiagLogLevel.NONE;\n } else if (maxLevel > DiagLogLevel.ALL) {\n maxLevel = DiagLogLevel.ALL;\n }\n\n // In case the logger is null or undefined\n logger = logger || {};\n\n function _filterFunc(\n funcName: keyof DiagLogger,\n theLevel: DiagLogLevel\n ): DiagLogFunction {\n const theFunc = logger[funcName];\n\n if (typeof theFunc === 'function' && maxLevel >= theLevel) {\n return theFunc.bind(logger);\n }\n return function () {};\n }\n\n return {\n error: _filterFunc('error', DiagLogLevel.ERROR),\n warn: _filterFunc('warn', DiagLogLevel.WARN),\n info: _filterFunc('info', DiagLogLevel.INFO),\n debug: _filterFunc('debug', DiagLogLevel.DEBUG),\n verbose: _filterFunc('verbose', DiagLogLevel.VERBOSE),\n };\n}\n","/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { NoopContextManager } from '../context/NoopContextManager';\nimport { Context, ContextManager } from '../context/types';\nimport {\n getGlobal,\n registerGlobal,\n unregisterGlobal,\n} from '../internal/global-utils';\nimport { DiagAPI } from './diag';\n\nconst API_NAME = 'context';\nconst NOOP_CONTEXT_MANAGER = new NoopContextManager();\n\n/**\n * Singleton object which represents the entry point to the OpenTelemetry Context API\n */\nexport class ContextAPI {\n private static _instance?: ContextAPI;\n\n /** Empty private constructor prevents end users from constructing a new instance of the API */\n private constructor() {}\n\n /** Get the singleton instance of the Context API */\n public static getInstance(): ContextAPI {\n if (!this._instance) {\n this._instance = new ContextAPI();\n }\n\n return this._instance;\n }\n\n /**\n * Set the current context manager.\n *\n * @returns true if the context manager was successfully registered, else false\n */\n public setGlobalContextManager(contextManager: ContextManager): boolean {\n return registerGlobal(API_NAME, contextManager, DiagAPI.instance());\n }\n\n /**\n * Get the currently active context\n */\n public active(): Context {\n return this._getContextManager().active();\n }\n\n /**\n * Execute a function with an active context\n *\n * @param context context to be active during function execution\n * @param fn function to execute in a context\n * @param thisArg optional receiver to be used for calling fn\n * @param args optional arguments forwarded to fn\n */\n public with ReturnType>(\n context: Context,\n fn: F,\n thisArg?: ThisParameterType,\n ...args: A\n ): ReturnType {\n return this._getContextManager().with(context, fn, thisArg, ...args);\n }\n\n /**\n * Bind a context to a target function or event emitter\n *\n * @param context context to bind to the event emitter or function. Defaults to the currently active context\n * @param target function or event emitter to bind\n */\n public bind(context: Context, target: T): T {\n return this._getContextManager().bind(context, target);\n }\n\n private _getContextManager(): ContextManager {\n return getGlobal(API_NAME) || NOOP_CONTEXT_MANAGER;\n }\n\n /** Disable and remove the global context manager */\n public disable() {\n this._getContextManager().disable();\n unregisterGlobal(API_NAME, DiagAPI.instance());\n }\n}\n","/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { SpanContext } from './span_context';\nimport { TraceFlags } from './trace_flags';\n\nexport const INVALID_SPANID = '0000000000000000';\nexport const INVALID_TRACEID = '00000000000000000000000000000000';\nexport const INVALID_SPAN_CONTEXT: SpanContext = {\n traceId: INVALID_TRACEID,\n spanId: INVALID_SPANID,\n traceFlags: TraceFlags.NONE,\n};\n","/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Exception } from '../common/Exception';\nimport { TimeInput } from '../common/Time';\nimport { SpanAttributes } from './attributes';\nimport { INVALID_SPAN_CONTEXT } from './invalid-span-constants';\nimport { Span } from './span';\nimport { SpanContext } from './span_context';\nimport { SpanStatus } from './status';\n\n/**\n * The NonRecordingSpan is the default {@link Span} that is used when no Span\n * implementation is available. All operations are no-op including context\n * propagation.\n */\nexport class NonRecordingSpan implements Span {\n constructor(\n private readonly _spanContext: SpanContext = INVALID_SPAN_CONTEXT\n ) {}\n\n // Returns a SpanContext.\n spanContext(): SpanContext {\n return this._spanContext;\n }\n\n // By default does nothing\n setAttribute(_key: string, _value: unknown): this {\n return this;\n }\n\n // By default does nothing\n setAttributes(_attributes: SpanAttributes): this {\n return this;\n }\n\n // By default does nothing\n addEvent(_name: string, _attributes?: SpanAttributes): this {\n return this;\n }\n\n // By default does nothing\n setStatus(_status: SpanStatus): this {\n return this;\n }\n\n // By default does nothing\n updateName(_name: string): this {\n return this;\n }\n\n // By default does nothing\n end(_endTime?: TimeInput): void {}\n\n // isRecording always returns false for NonRecordingSpan.\n isRecording(): boolean {\n return false;\n }\n\n // By default does nothing\n recordException(_exception: Exception, _time?: TimeInput): void {}\n}\n","/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { createContextKey } from '../context/context';\nimport { Context } from '../context/types';\nimport { Span } from './span';\nimport { SpanContext } from './span_context';\nimport { NonRecordingSpan } from './NonRecordingSpan';\nimport { ContextAPI } from '../api/context';\n\n/**\n * span key\n */\nconst SPAN_KEY = createContextKey('OpenTelemetry Context Key SPAN');\n\n/**\n * Return the span if one exists\n *\n * @param context context to get span from\n */\nexport function getSpan(context: Context): Span | undefined {\n return (context.getValue(SPAN_KEY) as Span) || undefined;\n}\n\n/**\n * Gets the span from the current context, if one exists.\n */\nexport function getActiveSpan(): Span | undefined {\n return getSpan(ContextAPI.getInstance().active());\n}\n\n/**\n * Set the span on a context\n *\n * @param context context to use as parent\n * @param span span to set active\n */\nexport function setSpan(context: Context, span: Span): Context {\n return context.setValue(SPAN_KEY, span);\n}\n\n/**\n * Remove current span stored in the context\n *\n * @param context context to delete span from\n */\nexport function deleteSpan(context: Context): Context {\n return context.deleteValue(SPAN_KEY);\n}\n\n/**\n * Wrap span context in a NoopSpan and set as span in a new\n * context\n *\n * @param context context to set active span on\n * @param spanContext span context to be wrapped\n */\nexport function setSpanContext(\n context: Context,\n spanContext: SpanContext\n): Context {\n return setSpan(context, new NonRecordingSpan(spanContext));\n}\n\n/**\n * Get the span context of the span if it exists.\n *\n * @param context context to get values from\n */\nexport function getSpanContext(context: Context): SpanContext | undefined {\n return getSpan(context)?.spanContext();\n}\n","/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { INVALID_SPANID, INVALID_TRACEID } from './invalid-span-constants';\nimport { NonRecordingSpan } from './NonRecordingSpan';\nimport { Span } from './span';\nimport { SpanContext } from './span_context';\n\nconst VALID_TRACEID_REGEX = /^([0-9a-f]{32})$/i;\nconst VALID_SPANID_REGEX = /^[0-9a-f]{16}$/i;\n\nexport function isValidTraceId(traceId: string): boolean {\n return VALID_TRACEID_REGEX.test(traceId) && traceId !== INVALID_TRACEID;\n}\n\nexport function isValidSpanId(spanId: string): boolean {\n return VALID_SPANID_REGEX.test(spanId) && spanId !== INVALID_SPANID;\n}\n\n/**\n * Returns true if this {@link SpanContext} is valid.\n * @return true if this {@link SpanContext} is valid.\n */\nexport function isSpanContextValid(spanContext: SpanContext): boolean {\n return (\n isValidTraceId(spanContext.traceId) && isValidSpanId(spanContext.spanId)\n );\n}\n\n/**\n * Wrap the given {@link SpanContext} in a new non-recording {@link Span}\n *\n * @param spanContext span context to be wrapped\n * @returns a new non-recording {@link Span} with the provided context\n */\nexport function wrapSpanContext(spanContext: SpanContext): Span {\n return new NonRecordingSpan(spanContext);\n}\n","/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { ContextAPI } from '../api/context';\nimport { Context } from '../context/types';\nimport { getSpanContext, setSpan } from '../trace/context-utils';\nimport { NonRecordingSpan } from './NonRecordingSpan';\nimport { Span } from './span';\nimport { isSpanContextValid } from './spancontext-utils';\nimport { SpanOptions } from './SpanOptions';\nimport { SpanContext } from './span_context';\nimport { Tracer } from './tracer';\n\nconst contextApi = ContextAPI.getInstance();\n\n/**\n * No-op implementations of {@link Tracer}.\n */\nexport class NoopTracer implements Tracer {\n // startSpan starts a noop span.\n startSpan(\n name: string,\n options?: SpanOptions,\n context = contextApi.active()\n ): Span {\n const root = Boolean(options?.root);\n if (root) {\n return new NonRecordingSpan();\n }\n\n const parentFromContext = context && getSpanContext(context);\n\n if (\n isSpanContext(parentFromContext) &&\n isSpanContextValid(parentFromContext)\n ) {\n return new NonRecordingSpan(parentFromContext);\n } else {\n return new NonRecordingSpan();\n }\n }\n\n startActiveSpan ReturnType>(\n name: string,\n fn: F\n ): ReturnType;\n startActiveSpan ReturnType>(\n name: string,\n opts: SpanOptions | undefined,\n fn: F\n ): ReturnType;\n startActiveSpan ReturnType>(\n name: string,\n opts: SpanOptions | undefined,\n ctx: Context | undefined,\n fn: F\n ): ReturnType;\n startActiveSpan ReturnType>(\n name: string,\n arg2?: F | SpanOptions,\n arg3?: F | Context,\n arg4?: F\n ): ReturnType | undefined {\n let opts: SpanOptions | undefined;\n let ctx: Context | undefined;\n let fn: F;\n\n if (arguments.length < 2) {\n return;\n } else if (arguments.length === 2) {\n fn = arg2 as F;\n } else if (arguments.length === 3) {\n opts = arg2 as SpanOptions | undefined;\n fn = arg3 as F;\n } else {\n opts = arg2 as SpanOptions | undefined;\n ctx = arg3 as Context | undefined;\n fn = arg4 as F;\n }\n\n const parentContext = ctx ?? contextApi.active();\n const span = this.startSpan(name, opts, parentContext);\n const contextWithSpanSet = setSpan(parentContext, span);\n\n return contextApi.with(contextWithSpanSet, fn, undefined, span);\n }\n}\n\nfunction isSpanContext(spanContext: any): spanContext is SpanContext {\n return (\n typeof spanContext === 'object' &&\n typeof spanContext['spanId'] === 'string' &&\n typeof spanContext['traceId'] === 'string' &&\n typeof spanContext['traceFlags'] === 'number'\n );\n}\n","/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Context } from '../context/types';\nimport { NoopTracer } from './NoopTracer';\nimport { Span } from './span';\nimport { SpanOptions } from './SpanOptions';\nimport { Tracer } from './tracer';\nimport { TracerOptions } from './tracer_options';\n\nconst NOOP_TRACER = new NoopTracer();\n\n/**\n * Proxy tracer provided by the proxy tracer provider\n */\nexport class ProxyTracer implements Tracer {\n // When a real implementation is provided, this will be it\n private _delegate?: Tracer;\n\n constructor(\n private _provider: TracerDelegator,\n public readonly name: string,\n public readonly version?: string,\n public readonly options?: TracerOptions\n ) {}\n\n startSpan(name: string, options?: SpanOptions, context?: Context): Span {\n return this._getTracer().startSpan(name, options, context);\n }\n\n startActiveSpan unknown>(\n _name: string,\n _options: F | SpanOptions,\n _context?: F | Context,\n _fn?: F\n ): ReturnType {\n const tracer = this._getTracer();\n return Reflect.apply(tracer.startActiveSpan, tracer, arguments);\n }\n\n /**\n * Try to get a tracer from the proxy tracer provider.\n * If the proxy tracer provider has no delegate, return a noop tracer.\n */\n private _getTracer() {\n if (this._delegate) {\n return this._delegate;\n }\n\n const tracer = this._provider.getDelegateTracer(\n this.name,\n this.version,\n this.options\n );\n\n if (!tracer) {\n return NOOP_TRACER;\n }\n\n this._delegate = tracer;\n return this._delegate;\n }\n}\n\nexport interface TracerDelegator {\n getDelegateTracer(\n name: string,\n version?: string,\n options?: TracerOptions\n ): Tracer | undefined;\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { context as otContext, trace as otTrace } from \"@opentelemetry/api\";\n\n/**\n * A Tracer.\n */\nexport interface Tracer {\n /**\n * Starts a new {@link Span}. Start the span without setting it on context.\n *\n * This method does NOT modify the current Context.\n *\n * @param name - The name of the span\n * @param options - SpanOptions used for span creation\n * @param context - Context to use to extract parent\n * @returns The newly created span\n * @example\n * const span = tracer.startSpan('op');\n * span.setAttribute('key', 'value');\n * span.end();\n */\n startSpan(name: string, options?: SpanOptions, context?: Context): Span;\n}\n\n/**\n * TraceState.\n */\nexport interface TraceState {\n /**\n * Create a new TraceState which inherits from this TraceState and has the\n * given key set.\n * The new entry will always be added in the front of the list of states.\n *\n * @param key - key of the TraceState entry.\n * @param value - value of the TraceState entry.\n */\n set(key: string, value: string): TraceState;\n /**\n * Return a new TraceState which inherits from this TraceState but does not\n * contain the given key.\n *\n * @param key - the key for the TraceState entry to be removed.\n */\n unset(key: string): TraceState;\n /**\n * Returns the value to which the specified key is mapped, or `undefined` if\n * this map contains no mapping for the key.\n *\n * @param key - with which the specified value is to be associated.\n * @returns the value to which the specified key is mapped, or `undefined` if\n * this map contains no mapping for the key.\n */\n get(key: string): string | undefined;\n /**\n * Serializes the TraceState to a `list` as defined below. The `list` is a\n * series of `list-members` separated by commas `,`, and a list-member is a\n * key/value pair separated by an equals sign `=`. Spaces and horizontal tabs\n * surrounding `list-members` are ignored. There can be a maximum of 32\n * `list-members` in a `list`.\n *\n * @returns the serialized string.\n */\n serialize(): string;\n}\n\n/**\n * Represents high resolution time.\n */\nexport declare type HrTime = [number, number];\n\n/**\n * Used to represent a Time.\n */\nexport type TimeInput = HrTime | number | Date;\n\n/**\n * The status for a span.\n */\nexport interface SpanStatus {\n /** The status code of this message. */\n code: SpanStatusCode;\n /** A developer-facing error message. */\n message?: string;\n}\n\n/**\n * The kind of span.\n */\nexport enum SpanKind {\n /** Default value. Indicates that the span is used internally. */\n INTERNAL = 0,\n /**\n * Indicates that the span covers server-side handling of an RPC or other\n * remote request.\n */\n SERVER = 1,\n /**\n * Indicates that the span covers the client-side wrapper around an RPC or\n * other remote request.\n */\n CLIENT = 2,\n /**\n * Indicates that the span describes producer sending a message to a\n * broker. Unlike client and server, there is no direct critical path latency\n * relationship between producer and consumer spans.\n */\n PRODUCER = 3,\n /**\n * Indicates that the span describes consumer receiving a message from a\n * broker. Unlike client and server, there is no direct critical path latency\n * relationship between producer and consumer spans.\n */\n CONSUMER = 4\n}\n\n/**\n * An Exception for a Span.\n */\nexport declare type Exception =\n | ExceptionWithCode\n | ExceptionWithMessage\n | ExceptionWithName\n | string;\n\n/**\n * An Exception with a code.\n */\nexport interface ExceptionWithCode {\n /** The code. */\n code: string | number;\n /** The name. */\n name?: string;\n /** The message. */\n message?: string;\n /** The stack. */\n stack?: string;\n}\n\n/**\n * An Exception with a message.\n */\nexport interface ExceptionWithMessage {\n /** The code. */\n code?: string | number;\n /** The message. */\n message: string;\n /** The name. */\n name?: string;\n /** The stack. */\n stack?: string;\n}\n\n/**\n * An Exception with a name.\n */\nexport interface ExceptionWithName {\n /** The code. */\n code?: string | number;\n /** The message. */\n message?: string;\n /** The name. */\n name: string;\n /** The stack. */\n stack?: string;\n}\n\n/**\n * Return the span if one exists\n *\n * @param context - context to get span from\n */\nexport function getSpan(context: Context): Span | undefined {\n return otTrace.getSpan(context);\n}\n\n/**\n * Set the span on a context\n *\n * @param context - context to use as parent\n * @param span - span to set active\n */\nexport function setSpan(context: Context, span: Span): Context {\n return otTrace.setSpan(context, span);\n}\n\n/**\n * Wrap span context in a NoopSpan and set as span in a new\n * context\n *\n * @param context - context to set active span on\n * @param spanContext - span context to be wrapped\n */\nexport function setSpanContext(context: Context, spanContext: SpanContext): Context {\n return otTrace.setSpanContext(context, spanContext);\n}\n\n/**\n * Get the span context of the span if it exists.\n *\n * @param context - context to get values from\n */\nexport function getSpanContext(context: Context): SpanContext | undefined {\n return otTrace.getSpanContext(context);\n}\n\n/**\n * Singleton object which represents the entry point to the OpenTelemetry Context API\n */\nexport interface ContextAPI {\n /**\n * Get the currently active context\n */\n active(): Context;\n}\n\n/**\n * Returns true of the given {@link SpanContext} is valid.\n * A valid {@link SpanContext} is one which has a valid trace ID and span ID as per the spec.\n *\n * @param context - the {@link SpanContext} to validate.\n *\n * @returns true if the {@link SpanContext} is valid, false otherwise.\n */\nexport function isSpanContextValid(context: SpanContext): boolean {\n return otTrace.isSpanContextValid(context);\n}\n\n/**\n * Retrieves a tracer from the global tracer provider.\n */\nexport function getTracer(): Tracer;\n/**\n * Retrieves a tracer from the global tracer provider.\n */\nexport function getTracer(name: string, version?: string): Tracer;\nexport function getTracer(name?: string, version?: string): Tracer {\n return otTrace.getTracer(name || \"azure/core-tracing\", version);\n}\n\n/** Entrypoint for context API */\nexport const context: ContextAPI = otContext;\n\n/** SpanStatusCode */\nexport enum SpanStatusCode {\n /**\n * The default status.\n */\n UNSET = 0,\n /**\n * The operation has been validated by an Application developer or\n * Operator to have completed successfully.\n */\n OK = 1,\n /**\n * The operation contains an error.\n */\n ERROR = 2\n}\n\n/**\n * An interface that represents a span. A span represents a single operation\n * within a trace. Examples of span might include remote procedure calls or a\n * in-process function calls to sub-components. A Trace has a single, top-level\n * \"root\" Span that in turn may have zero or more child Spans, which in turn\n * may have children.\n *\n * Spans are created by the {@link Tracer.startSpan} method.\n */\nexport interface Span {\n /**\n * Returns the {@link SpanContext} object associated with this Span.\n *\n * Get an immutable, serializable identifier for this span that can be used\n * to create new child spans. Returned SpanContext is usable even after the\n * span ends.\n *\n * @returns the SpanContext object associated with this Span.\n */\n spanContext(): SpanContext;\n /**\n * Sets an attribute to the span.\n *\n * Sets a single Attribute with the key and value passed as arguments.\n *\n * @param key - the key for this attribute.\n * @param value - the value for this attribute. Setting a value null or\n * undefined is invalid and will result in undefined behavior.\n */\n setAttribute(key: string, value: SpanAttributeValue): this;\n /**\n * Sets attributes to the span.\n *\n * @param attributes - the attributes that will be added.\n * null or undefined attribute values\n * are invalid and will result in undefined behavior.\n */\n setAttributes(attributes: SpanAttributes): this;\n /**\n * Adds an event to the Span.\n *\n * @param name - the name of the event.\n * @param attributesOrStartTime - the attributes that will be added; these are\n * associated with this event. Can be also a start time\n * if type is TimeInput and 3rd param is undefined\n * @param startTime - start time of the event.\n */\n addEvent(\n name: string,\n attributesOrStartTime?: SpanAttributes | TimeInput,\n startTime?: TimeInput\n ): this;\n /**\n * Sets a status to the span. If used, this will override the default Span\n * status. Default is {@link SpanStatusCode.UNSET}. SetStatus overrides the value\n * of previous calls to SetStatus on the Span.\n *\n * @param status - the SpanStatus to set.\n */\n setStatus(status: SpanStatus): this;\n /**\n * Marks the end of Span execution.\n *\n * Call to End of a Span MUST not have any effects on child spans. Those may\n * still be running and can be ended later.\n *\n * Do not return `this`. The Span generally should not be used after it\n * is ended so chaining is not desired in this context.\n *\n * @param endTime - the time to set as Span's end time. If not provided,\n * use the current time as the span's end time.\n */\n end(endTime?: TimeInput): void;\n /**\n * Returns the flag whether this span will be recorded.\n *\n * @returns true if this Span is active and recording information like events\n * with the `AddEvent` operation and attributes using `setAttributes`.\n */\n isRecording(): boolean;\n\n /**\n * Sets exception as a span event\n * @param exception - the exception the only accepted values are string or Error\n * @param time - the time to set as Span's event time. If not provided,\n * use the current time.\n */\n recordException(exception: Exception, time?: TimeInput): void;\n\n /**\n * Updates the Span name.\n *\n * This will override the name provided via {@link Tracer.startSpan}.\n *\n * Upon this update, any sampling behavior based on Span name will depend on\n * the implementation.\n *\n * @param name - the Span name.\n */\n updateName(name: string): this;\n}\n\n/**\n * Shorthand enum for common traceFlags values inside SpanContext\n */\nexport const enum TraceFlags {\n /** No flag set. */\n NONE = 0x0,\n /** Caller is collecting trace information. */\n SAMPLED = 0x1\n}\n\n/**\n * A light interface that tries to be structurally compatible with OpenTelemetry\n */\nexport interface SpanContext {\n /**\n * UUID of a trace.\n */\n traceId: string;\n /**\n * UUID of a Span.\n */\n spanId: string;\n /**\n * https://www.w3.org/TR/trace-context/#trace-flags\n */\n traceFlags: number;\n /**\n * Tracing-system-specific info to propagate.\n *\n * The tracestate field value is a `list` as defined below. The `list` is a\n * series of `list-members` separated by commas `,`, and a list-member is a\n * key/value pair separated by an equals sign `=`. Spaces and horizontal tabs\n * surrounding `list-members` are ignored. There can be a maximum of 32\n * `list-members` in a `list`.\n * More Info: https://www.w3.org/TR/trace-context/#tracestate-field\n *\n * Examples:\n * Single tracing system (generic format):\n * tracestate: rojo=00f067aa0ba902b7\n * Multiple tracing systems (with different formatting):\n * tracestate: rojo=00f067aa0ba902b7,congo=t61rcWkgMzE\n */\n traceState?: TraceState;\n}\n\n/**\n * Used to specify a span that is linked to another.\n */\nexport interface Link {\n /** The {@link SpanContext} of a linked span. */\n context: SpanContext;\n\n /** A set of {@link SpanAttributes} on the link. */\n attributes?: SpanAttributes;\n}\n\n/**\n * Attributes for a Span.\n */\nexport interface SpanAttributes {\n /**\n * Attributes for a Span.\n */\n [attributeKey: string]: SpanAttributeValue | undefined;\n}\n/**\n * Attribute values may be any non-nullish primitive value except an object.\n *\n * null or undefined attribute values are invalid and will result in undefined behavior.\n */\nexport declare type SpanAttributeValue =\n | string\n | number\n | boolean\n | Array\n | Array\n | Array;\n\n/**\n * An interface that enables manual propagation of Spans\n */\nexport interface SpanOptions {\n /**\n * Attributes to set on the Span\n */\n attributes?: SpanAttributes;\n\n /** {@link Link}s span to other spans */\n links?: Link[];\n\n /**\n * The type of Span. Default to SpanKind.INTERNAL\n */\n kind?: SpanKind;\n\n /**\n * A manually specified start time for the created `Span` object.\n */\n startTime?: TimeInput;\n}\n\n/**\n * Tracing options to set on an operation.\n */\nexport interface OperationTracingOptions {\n /**\n * OpenTelemetry SpanOptions used to create a span when tracing is enabled.\n */\n spanOptions?: SpanOptions;\n\n /**\n * OpenTelemetry context to use for created Spans.\n */\n tracingContext?: Context;\n}\n\n/**\n * OpenTelemetry compatible interface for Context\n */\nexport interface Context {\n /**\n * Get a value from the context.\n *\n * @param key - key which identifies a context value\n */\n getValue(key: symbol): unknown;\n /**\n * Create a new context which inherits from this context and has\n * the given key set to the given value.\n *\n * @param key - context key for which to set the value\n * @param value - value to set for the given key\n */\n setValue(key: symbol, value: unknown): Context;\n /**\n * Return a new context which inherits from this context but does\n * not contain a value for the given key.\n *\n * @param key - context key for which to clear a value\n */\n deleteValue(key: symbol): Context;\n}\n","/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Tracer } from './tracer';\nimport { TracerProvider } from './tracer_provider';\nimport { ProxyTracer } from './ProxyTracer';\nimport { NoopTracerProvider } from './NoopTracerProvider';\nimport { TracerOptions } from './tracer_options';\n\nconst NOOP_TRACER_PROVIDER = new NoopTracerProvider();\n\n/**\n * Tracer provider which provides {@link ProxyTracer}s.\n *\n * Before a delegate is set, tracers provided are NoOp.\n * When a delegate is set, traces are provided from the delegate.\n * When a delegate is set after tracers have already been provided,\n * all tracers already provided will use the provided delegate implementation.\n */\nexport class ProxyTracerProvider implements TracerProvider {\n private _delegate?: TracerProvider;\n\n /**\n * Get a {@link ProxyTracer}\n */\n getTracer(name: string, version?: string, options?: TracerOptions): Tracer {\n return (\n this.getDelegateTracer(name, version, options) ??\n new ProxyTracer(this, name, version, options)\n );\n }\n\n getDelegate(): TracerProvider {\n return this._delegate ?? NOOP_TRACER_PROVIDER;\n }\n\n /**\n * Set the delegate tracer provider\n */\n setDelegate(delegate: TracerProvider) {\n this._delegate = delegate;\n }\n\n getDelegateTracer(\n name: string,\n version?: string,\n options?: TracerOptions\n ): Tracer | undefined {\n return this._delegate?.getTracer(name, version, options);\n }\n}\n","/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { NoopTracer } from './NoopTracer';\nimport { Tracer } from './tracer';\nimport { TracerOptions } from './tracer_options';\nimport { TracerProvider } from './tracer_provider';\n\n/**\n * An implementation of the {@link TracerProvider} which returns an impotent\n * Tracer for all calls to `getTracer`.\n *\n * All operations are no-op.\n */\nexport class NoopTracerProvider implements TracerProvider {\n getTracer(\n _name?: string,\n _version?: string,\n _options?: TracerOptions\n ): Tracer {\n return new NoopTracer();\n }\n}\n","/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n getGlobal,\n registerGlobal,\n unregisterGlobal,\n} from '../internal/global-utils';\nimport { ProxyTracerProvider } from '../trace/ProxyTracerProvider';\nimport {\n isSpanContextValid,\n wrapSpanContext,\n} from '../trace/spancontext-utils';\nimport { Tracer } from '../trace/tracer';\nimport { TracerProvider } from '../trace/tracer_provider';\nimport {\n deleteSpan,\n getActiveSpan,\n getSpan,\n getSpanContext,\n setSpan,\n setSpanContext,\n} from '../trace/context-utils';\nimport { DiagAPI } from './diag';\n\nconst API_NAME = 'trace';\n\n/**\n * Singleton object which represents the entry point to the OpenTelemetry Tracing API\n */\nexport class TraceAPI {\n private static _instance?: TraceAPI;\n\n private _proxyTracerProvider = new ProxyTracerProvider();\n\n /** Empty private constructor prevents end users from constructing a new instance of the API */\n private constructor() {}\n\n /** Get the singleton instance of the Trace API */\n public static getInstance(): TraceAPI {\n if (!this._instance) {\n this._instance = new TraceAPI();\n }\n\n return this._instance;\n }\n\n /**\n * Set the current global tracer.\n *\n * @returns true if the tracer provider was successfully registered, else false\n */\n public setGlobalTracerProvider(provider: TracerProvider): boolean {\n const success = registerGlobal(\n API_NAME,\n this._proxyTracerProvider,\n DiagAPI.instance()\n );\n if (success) {\n this._proxyTracerProvider.setDelegate(provider);\n }\n return success;\n }\n\n /**\n * Returns the global tracer provider.\n */\n public getTracerProvider(): TracerProvider {\n return getGlobal(API_NAME) || this._proxyTracerProvider;\n }\n\n /**\n * Returns a tracer from the global tracer provider.\n */\n public getTracer(name: string, version?: string): Tracer {\n return this.getTracerProvider().getTracer(name, version);\n }\n\n /** Remove the global tracer provider */\n public disable() {\n unregisterGlobal(API_NAME, DiagAPI.instance());\n this._proxyTracerProvider = new ProxyTracerProvider();\n }\n\n public wrapSpanContext = wrapSpanContext;\n\n public isSpanContextValid = isSpanContextValid;\n\n public deleteSpan = deleteSpan;\n\n public getSpan = getSpan;\n\n public getActiveSpan = getActiveSpan;\n\n public getSpanContext = getSpanContext;\n\n public setSpan = setSpan;\n\n public setSpanContext = setSpanContext;\n}\n","/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n// Split module-level variable definition into separate files to allow\n// tree-shaking on each api instance.\nimport { TraceAPI } from './api/trace';\n/** Entrypoint for trace API */\nexport const trace = TraceAPI.getInstance();\n","/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n// Split module-level variable definition into separate files to allow\n// tree-shaking on each api instance.\nimport { ContextAPI } from './api/context';\n/** Entrypoint for context API */\nexport const context = ContextAPI.getInstance();\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { RequestOptionsBase, TransferProgressEvent } from \"./webResource\";\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport { HttpOperationResponse } from \"./httpOperationResponse\";\nimport { OperationTracingOptions } from \"@azure/core-tracing\";\n\n/**\n * The base options type for all operations.\n */\nexport interface OperationOptions {\n /**\n * The signal which can be used to abort requests.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Options used when creating and sending HTTP requests for this operation.\n */\n requestOptions?: OperationRequestOptions;\n /**\n * Options used when tracing is enabled.\n */\n tracingOptions?: OperationTracingOptions;\n}\n\n/**\n * Options that allow configuring the handling of HTTP requests made by an SDK operation.\n */\nexport interface OperationRequestOptions {\n /**\n * User defined custom request headers that will be applied before the request is sent.\n */\n customHeaders?: { [key: string]: string };\n\n /**\n * The number of milliseconds a request can take before automatically being terminated.\n */\n timeout?: number;\n\n /**\n * Callback which fires upon upload progress.\n */\n onUploadProgress?: (progress: TransferProgressEvent) => void;\n\n /**\n * Callback which fires upon download progress.\n */\n onDownloadProgress?: (progress: TransferProgressEvent) => void;\n /**\n * Whether or not the HttpOperationResponse should be deserialized. If this is undefined, then the\n * HttpOperationResponse should be deserialized.\n */\n shouldDeserialize?: boolean | ((response: HttpOperationResponse) => boolean);\n}\n\n/**\n * Converts an OperationOptions to a RequestOptionsBase\n *\n * @param opts - OperationOptions object to convert to RequestOptionsBase\n */\nexport function operationOptionsToRequestOptionsBase(\n opts: T\n): RequestOptionsBase {\n const { requestOptions, tracingOptions, ...additionalOptions } = opts;\n\n let result: RequestOptionsBase = additionalOptions;\n\n if (requestOptions) {\n result = { ...result, ...requestOptions };\n }\n\n if (tracingOptions) {\n result.tracingContext = tracingOptions.tracingContext;\n // By passing spanOptions if they exist at runtime, we're backwards compatible with @azure/core-tracing@preview.13 and earlier.\n result.spanOptions = (tracingOptions as any)?.spanOptions;\n }\n\n return result;\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\n/**\n * Encodes a string in base64 format.\n * @param value - The string to encode\n */\nexport function encodeString(value: string): string {\n return Buffer.from(value).toString(\"base64\");\n}\n\n/**\n * Encodes a byte array in base64 format.\n * @param value - The Uint8Aray to encode\n */\nexport function encodeByteArray(value: Uint8Array): string {\n // Buffer.from accepts | -- the TypeScript definition is off here\n // https://nodejs.org/api/buffer.html#buffer_class_method_buffer_from_arraybuffer_byteoffset_length\n const bufferValue = value instanceof Buffer ? value : Buffer.from(value.buffer as ArrayBuffer);\n return bufferValue.toString(\"base64\");\n}\n\n/**\n * Decodes a base64 string into a byte array.\n * @param value - The base64 string to decode\n */\nexport function decodeString(value: string): Uint8Array {\n return Buffer.from(value, \"base64\");\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n/* eslint-disable eqeqeq */\n\nimport * as base64 from \"./util/base64\";\nimport * as utils from \"./util/utils\";\nimport { SerializerOptions, XML_ATTRKEY, XML_CHARKEY } from \"./util/serializer.common\";\n\n// This file contains utility code to serialize and deserialize network operations according to `OperationSpec` objects generated by AutoRest.TypeScript from OpenAPI specifications.\n\n/**\n * Used to map raw response objects to final shapes.\n * Helps packing and unpacking Dates and other encoded types that are not intrinsic to JSON.\n * Also allows pulling values from headers, as well as inserting default values and constants.\n */\nexport class Serializer {\n constructor(\n /**\n * The provided model mapper.\n */\n public readonly modelMappers: { [key: string]: any } = {},\n /**\n * Whether the contents are XML or not.\n */\n public readonly isXML?: boolean\n ) {}\n\n /**\n * Validates constraints, if any. This function will throw if the provided value does not respect those constraints.\n * @param mapper - The definition of data models.\n * @param value - The value.\n * @param objectName - Name of the object. Used in the error messages.\n * @deprecated Removing the constraints validation on client side.\n */\n validateConstraints(mapper: Mapper, value: unknown, objectName: string): void {\n const failValidation = (\n constraintName: keyof MapperConstraints,\n constraintValue: any\n ): Error => {\n throw new Error(\n `\"${objectName}\" with value \"${value}\" should satisfy the constraint \"${constraintName}\": ${constraintValue}.`\n );\n };\n if (mapper.constraints && value != undefined) {\n const valueAsNumber = value as number;\n const {\n ExclusiveMaximum,\n ExclusiveMinimum,\n InclusiveMaximum,\n InclusiveMinimum,\n MaxItems,\n MaxLength,\n MinItems,\n MinLength,\n MultipleOf,\n Pattern,\n UniqueItems,\n } = mapper.constraints;\n if (ExclusiveMaximum != undefined && valueAsNumber >= ExclusiveMaximum) {\n failValidation(\"ExclusiveMaximum\", ExclusiveMaximum);\n }\n if (ExclusiveMinimum != undefined && valueAsNumber <= ExclusiveMinimum) {\n failValidation(\"ExclusiveMinimum\", ExclusiveMinimum);\n }\n if (InclusiveMaximum != undefined && valueAsNumber > InclusiveMaximum) {\n failValidation(\"InclusiveMaximum\", InclusiveMaximum);\n }\n if (InclusiveMinimum != undefined && valueAsNumber < InclusiveMinimum) {\n failValidation(\"InclusiveMinimum\", InclusiveMinimum);\n }\n const valueAsArray = value as any[];\n if (MaxItems != undefined && valueAsArray.length > MaxItems) {\n failValidation(\"MaxItems\", MaxItems);\n }\n if (MaxLength != undefined && valueAsArray.length > MaxLength) {\n failValidation(\"MaxLength\", MaxLength);\n }\n if (MinItems != undefined && valueAsArray.length < MinItems) {\n failValidation(\"MinItems\", MinItems);\n }\n if (MinLength != undefined && valueAsArray.length < MinLength) {\n failValidation(\"MinLength\", MinLength);\n }\n if (MultipleOf != undefined && valueAsNumber % MultipleOf !== 0) {\n failValidation(\"MultipleOf\", MultipleOf);\n }\n if (Pattern) {\n const pattern: RegExp = typeof Pattern === \"string\" ? new RegExp(Pattern) : Pattern;\n if (typeof value !== \"string\" || value.match(pattern) === null) {\n failValidation(\"Pattern\", Pattern);\n }\n }\n if (\n UniqueItems &&\n valueAsArray.some((item: any, i: number, ar: Array) => ar.indexOf(item) !== i)\n ) {\n failValidation(\"UniqueItems\", UniqueItems);\n }\n }\n }\n\n /**\n * Serialize the given object based on its metadata defined in the mapper.\n *\n * @param mapper - The mapper which defines the metadata of the serializable object.\n * @param object - A valid Javascript object to be serialized.\n * @param objectName - Name of the serialized object.\n * @param options - additional options to deserialization.\n * @returns A valid serialized Javascript object.\n */\n serialize(\n mapper: Mapper,\n object: unknown,\n objectName?: string,\n options: SerializerOptions = {}\n ): any {\n const updatedOptions: Required = {\n rootName: options.rootName ?? \"\",\n includeRoot: options.includeRoot ?? false,\n xmlCharKey: options.xmlCharKey ?? XML_CHARKEY,\n };\n let payload: any = {};\n const mapperType = mapper.type.name as string;\n if (!objectName) {\n objectName = mapper.serializedName!;\n }\n if (mapperType.match(/^Sequence$/i) !== null) {\n payload = [];\n }\n\n if (mapper.isConstant) {\n object = mapper.defaultValue;\n }\n\n // This table of allowed values should help explain\n // the mapper.required and mapper.nullable properties.\n // X means \"neither undefined or null are allowed\".\n // || required\n // || true | false\n // nullable || ==========================\n // true || null | undefined/null\n // false || X | undefined\n // undefined || X | undefined/null\n\n const { required, nullable } = mapper;\n\n if (required && nullable && object === undefined) {\n throw new Error(`${objectName} cannot be undefined.`);\n }\n if (required && !nullable && object == undefined) {\n throw new Error(`${objectName} cannot be null or undefined.`);\n }\n if (!required && nullable === false && object === null) {\n throw new Error(`${objectName} cannot be null.`);\n }\n\n if (object == undefined) {\n payload = object;\n } else {\n if (mapperType.match(/^any$/i) !== null) {\n payload = object;\n } else if (mapperType.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i) !== null) {\n payload = serializeBasicTypes(mapperType, objectName, object);\n } else if (mapperType.match(/^Enum$/i) !== null) {\n const enumMapper: EnumMapper = mapper as EnumMapper;\n payload = serializeEnumType(objectName, enumMapper.type.allowedValues, object);\n } else if (\n mapperType.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i) !== null\n ) {\n payload = serializeDateTypes(mapperType, object, objectName);\n } else if (mapperType.match(/^ByteArray$/i) !== null) {\n payload = serializeByteArrayType(objectName, object as Uint8Array);\n } else if (mapperType.match(/^Base64Url$/i) !== null) {\n payload = serializeBase64UrlType(objectName, object as Uint8Array);\n } else if (mapperType.match(/^Sequence$/i) !== null) {\n payload = serializeSequenceType(\n this,\n mapper as SequenceMapper,\n object,\n objectName,\n Boolean(this.isXML),\n updatedOptions\n );\n } else if (mapperType.match(/^Dictionary$/i) !== null) {\n payload = serializeDictionaryType(\n this,\n mapper as DictionaryMapper,\n object,\n objectName,\n Boolean(this.isXML),\n updatedOptions\n );\n } else if (mapperType.match(/^Composite$/i) !== null) {\n payload = serializeCompositeType(\n this,\n mapper as CompositeMapper,\n object,\n objectName,\n Boolean(this.isXML),\n updatedOptions\n );\n }\n }\n return payload;\n }\n\n /**\n * Deserialize the given object based on its metadata defined in the mapper.\n *\n * @param mapper - The mapper which defines the metadata of the serializable object.\n * @param responseBody - A valid Javascript entity to be deserialized.\n * @param objectName - Name of the deserialized object.\n * @param options - Controls behavior of XML parser and builder.\n * @returns A valid deserialized Javascript object.\n */\n deserialize(\n mapper: Mapper,\n responseBody: unknown,\n objectName: string,\n options: SerializerOptions = {}\n ): any {\n const updatedOptions: Required = {\n rootName: options.rootName ?? \"\",\n includeRoot: options.includeRoot ?? false,\n xmlCharKey: options.xmlCharKey ?? XML_CHARKEY,\n };\n if (responseBody == undefined) {\n if (this.isXML && mapper.type.name === \"Sequence\" && !mapper.xmlIsWrapped) {\n // Edge case for empty XML non-wrapped lists. xml2js can't distinguish\n // between the list being empty versus being missing,\n // so let's do the more user-friendly thing and return an empty list.\n responseBody = [];\n }\n // specifically check for undefined as default value can be a falsey value `0, \"\", false, null`\n if (mapper.defaultValue !== undefined) {\n responseBody = mapper.defaultValue;\n }\n return responseBody;\n }\n\n let payload: any;\n const mapperType = mapper.type.name;\n if (!objectName) {\n objectName = mapper.serializedName!;\n }\n\n if (mapperType.match(/^Composite$/i) !== null) {\n payload = deserializeCompositeType(\n this,\n mapper as CompositeMapper,\n responseBody,\n objectName,\n updatedOptions\n );\n } else {\n if (this.isXML) {\n const xmlCharKey = updatedOptions.xmlCharKey;\n const castResponseBody = responseBody as Record;\n /**\n * If the mapper specifies this as a non-composite type value but the responseBody contains\n * both header (\"$\" i.e., XML_ATTRKEY) and body (\"#\" i.e., XML_CHARKEY) properties,\n * then just reduce the responseBody value to the body (\"#\" i.e., XML_CHARKEY) property.\n */\n if (\n castResponseBody[XML_ATTRKEY] != undefined &&\n castResponseBody[xmlCharKey] != undefined\n ) {\n responseBody = castResponseBody[xmlCharKey];\n }\n }\n\n if (mapperType.match(/^Number$/i) !== null) {\n payload = parseFloat(responseBody as string);\n if (isNaN(payload)) {\n payload = responseBody;\n }\n } else if (mapperType.match(/^Boolean$/i) !== null) {\n if (responseBody === \"true\") {\n payload = true;\n } else if (responseBody === \"false\") {\n payload = false;\n } else {\n payload = responseBody;\n }\n } else if (mapperType.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i) !== null) {\n payload = responseBody;\n } else if (mapperType.match(/^(Date|DateTime|DateTimeRfc1123)$/i) !== null) {\n payload = new Date(responseBody as string);\n } else if (mapperType.match(/^UnixTime$/i) !== null) {\n payload = unixTimeToDate(responseBody as number);\n } else if (mapperType.match(/^ByteArray$/i) !== null) {\n payload = base64.decodeString(responseBody as string);\n } else if (mapperType.match(/^Base64Url$/i) !== null) {\n payload = base64UrlToByteArray(responseBody as string);\n } else if (mapperType.match(/^Sequence$/i) !== null) {\n payload = deserializeSequenceType(\n this,\n mapper as SequenceMapper,\n responseBody,\n objectName,\n updatedOptions\n );\n } else if (mapperType.match(/^Dictionary$/i) !== null) {\n payload = deserializeDictionaryType(\n this,\n mapper as DictionaryMapper,\n responseBody,\n objectName,\n updatedOptions\n );\n }\n }\n\n if (mapper.isConstant) {\n payload = mapper.defaultValue;\n }\n\n return payload;\n }\n}\n\nfunction trimEnd(str: string, ch: string): string {\n let len = str.length;\n while (len - 1 >= 0 && str[len - 1] === ch) {\n --len;\n }\n return str.substr(0, len);\n}\n\nfunction bufferToBase64Url(buffer: any): string | undefined {\n if (!buffer) {\n return undefined;\n }\n if (!(buffer instanceof Uint8Array)) {\n throw new Error(`Please provide an input of type Uint8Array for converting to Base64Url.`);\n }\n // Uint8Array to Base64.\n const str = base64.encodeByteArray(buffer);\n // Base64 to Base64Url.\n return trimEnd(str, \"=\").replace(/\\+/g, \"-\").replace(/\\//g, \"_\");\n}\n\nfunction base64UrlToByteArray(str: string): Uint8Array | undefined {\n if (!str) {\n return undefined;\n }\n if (str && typeof str.valueOf() !== \"string\") {\n throw new Error(\"Please provide an input of type string for converting to Uint8Array\");\n }\n // Base64Url to Base64.\n str = str.replace(/-/g, \"+\").replace(/_/g, \"/\");\n // Base64 to Uint8Array.\n return base64.decodeString(str);\n}\n\nfunction splitSerializeName(prop: string | undefined): string[] {\n const classes: string[] = [];\n let partialclass = \"\";\n if (prop) {\n const subwords = prop.split(\".\");\n\n for (const item of subwords) {\n if (item.charAt(item.length - 1) === \"\\\\\") {\n partialclass += item.substr(0, item.length - 1) + \".\";\n } else {\n partialclass += item;\n classes.push(partialclass);\n partialclass = \"\";\n }\n }\n }\n\n return classes;\n}\n\nfunction dateToUnixTime(d: string | Date): number | undefined {\n if (!d) {\n return undefined;\n }\n\n if (typeof d.valueOf() === \"string\") {\n d = new Date(d as string);\n }\n return Math.floor((d as Date).getTime() / 1000);\n}\n\nfunction unixTimeToDate(n: number): Date | undefined {\n if (!n) {\n return undefined;\n }\n return new Date(n * 1000);\n}\n\nfunction serializeBasicTypes(typeName: string, objectName: string, value: any): any {\n if (value !== null && value !== undefined) {\n if (typeName.match(/^Number$/i) !== null) {\n if (typeof value !== \"number\") {\n throw new Error(`${objectName} with value ${value} must be of type number.`);\n }\n } else if (typeName.match(/^String$/i) !== null) {\n if (typeof value.valueOf() !== \"string\") {\n throw new Error(`${objectName} with value \"${value}\" must be of type string.`);\n }\n } else if (typeName.match(/^Uuid$/i) !== null) {\n if (!(typeof value.valueOf() === \"string\" && utils.isValidUuid(value))) {\n throw new Error(\n `${objectName} with value \"${value}\" must be of type string and a valid uuid.`\n );\n }\n } else if (typeName.match(/^Boolean$/i) !== null) {\n if (typeof value !== \"boolean\") {\n throw new Error(`${objectName} with value ${value} must be of type boolean.`);\n }\n } else if (typeName.match(/^Stream$/i) !== null) {\n const objectType = typeof value;\n if (\n objectType !== \"string\" &&\n objectType !== \"function\" &&\n !(value instanceof ArrayBuffer) &&\n !ArrayBuffer.isView(value) &&\n !((typeof Blob === \"function\" || typeof Blob === \"object\") && value instanceof Blob)\n ) {\n throw new Error(\n `${objectName} must be a string, Blob, ArrayBuffer, ArrayBufferView, or a function returning NodeJS.ReadableStream.`\n );\n }\n }\n }\n\n return value;\n}\n\nfunction serializeEnumType(objectName: string, allowedValues: Array, value: any): any {\n if (!allowedValues) {\n throw new Error(\n `Please provide a set of allowedValues to validate ${objectName} as an Enum Type.`\n );\n }\n const isPresent = allowedValues.some((item) => {\n if (typeof item.valueOf() === \"string\") {\n return item.toLowerCase() === value.toLowerCase();\n }\n return item === value;\n });\n if (!isPresent) {\n throw new Error(\n `${value} is not a valid value for ${objectName}. The valid values are: ${JSON.stringify(\n allowedValues\n )}.`\n );\n }\n return value;\n}\n\nfunction serializeByteArrayType(objectName: string, value: Uint8Array): string {\n let returnValue: string = \"\";\n if (value != undefined) {\n if (!(value instanceof Uint8Array)) {\n throw new Error(`${objectName} must be of type Uint8Array.`);\n }\n returnValue = base64.encodeByteArray(value);\n }\n return returnValue;\n}\n\nfunction serializeBase64UrlType(objectName: string, value: Uint8Array): string {\n let returnValue: string = \"\";\n if (value != undefined) {\n if (!(value instanceof Uint8Array)) {\n throw new Error(`${objectName} must be of type Uint8Array.`);\n }\n returnValue = bufferToBase64Url(value) || \"\";\n }\n return returnValue;\n}\n\nfunction serializeDateTypes(typeName: string, value: any, objectName: string): any {\n if (value != undefined) {\n if (typeName.match(/^Date$/i) !== null) {\n if (\n !(\n value instanceof Date ||\n (typeof value.valueOf() === \"string\" && !isNaN(Date.parse(value)))\n )\n ) {\n throw new Error(`${objectName} must be an instanceof Date or a string in ISO8601 format.`);\n }\n value =\n value instanceof Date\n ? value.toISOString().substring(0, 10)\n : new Date(value).toISOString().substring(0, 10);\n } else if (typeName.match(/^DateTime$/i) !== null) {\n if (\n !(\n value instanceof Date ||\n (typeof value.valueOf() === \"string\" && !isNaN(Date.parse(value)))\n )\n ) {\n throw new Error(`${objectName} must be an instanceof Date or a string in ISO8601 format.`);\n }\n value = value instanceof Date ? value.toISOString() : new Date(value).toISOString();\n } else if (typeName.match(/^DateTimeRfc1123$/i) !== null) {\n if (\n !(\n value instanceof Date ||\n (typeof value.valueOf() === \"string\" && !isNaN(Date.parse(value)))\n )\n ) {\n throw new Error(`${objectName} must be an instanceof Date or a string in RFC-1123 format.`);\n }\n value = value instanceof Date ? value.toUTCString() : new Date(value).toUTCString();\n } else if (typeName.match(/^UnixTime$/i) !== null) {\n if (\n !(\n value instanceof Date ||\n (typeof value.valueOf() === \"string\" && !isNaN(Date.parse(value)))\n )\n ) {\n throw new Error(\n `${objectName} must be an instanceof Date or a string in RFC-1123/ISO8601 format ` +\n `for it to be serialized in UnixTime/Epoch format.`\n );\n }\n value = dateToUnixTime(value);\n } else if (typeName.match(/^TimeSpan$/i) !== null) {\n if (!utils.isDuration(value)) {\n throw new Error(\n `${objectName} must be a string in ISO 8601 format. Instead was \"${value}\".`\n );\n }\n }\n }\n return value;\n}\n\nfunction serializeSequenceType(\n serializer: Serializer,\n mapper: SequenceMapper,\n object: any,\n objectName: string,\n isXml: boolean,\n options: Required\n): any[] {\n if (!Array.isArray(object)) {\n throw new Error(`${objectName} must be of type Array.`);\n }\n const elementType = mapper.type.element;\n if (!elementType || typeof elementType !== \"object\") {\n throw new Error(\n `element\" metadata for an Array must be defined in the ` +\n `mapper and it must of type \"object\" in ${objectName}.`\n );\n }\n const tempArray = [];\n for (let i = 0; i < object.length; i++) {\n const serializedValue = serializer.serialize(elementType, object[i], objectName, options);\n\n if (isXml && elementType.xmlNamespace) {\n const xmlnsKey = elementType.xmlNamespacePrefix\n ? `xmlns:${elementType.xmlNamespacePrefix}`\n : \"xmlns\";\n if (elementType.type.name === \"Composite\") {\n tempArray[i] = { ...serializedValue };\n tempArray[i][XML_ATTRKEY] = { [xmlnsKey]: elementType.xmlNamespace };\n } else {\n tempArray[i] = {};\n tempArray[i][options.xmlCharKey] = serializedValue;\n tempArray[i][XML_ATTRKEY] = { [xmlnsKey]: elementType.xmlNamespace };\n }\n } else {\n tempArray[i] = serializedValue;\n }\n }\n return tempArray;\n}\n\nfunction serializeDictionaryType(\n serializer: Serializer,\n mapper: DictionaryMapper,\n object: any,\n objectName: string,\n isXml: boolean,\n options: Required\n): { [key: string]: any } {\n if (typeof object !== \"object\") {\n throw new Error(`${objectName} must be of type object.`);\n }\n const valueType = mapper.type.value;\n if (!valueType || typeof valueType !== \"object\") {\n throw new Error(\n `\"value\" metadata for a Dictionary must be defined in the ` +\n `mapper and it must of type \"object\" in ${objectName}.`\n );\n }\n const tempDictionary: { [key: string]: any } = {};\n for (const key of Object.keys(object)) {\n const serializedValue = serializer.serialize(valueType, object[key], objectName, options);\n // If the element needs an XML namespace we need to add it within the $ property\n tempDictionary[key] = getXmlObjectValue(valueType, serializedValue, isXml, options);\n }\n\n // Add the namespace to the root element if needed\n if (isXml && mapper.xmlNamespace) {\n const xmlnsKey = mapper.xmlNamespacePrefix ? `xmlns:${mapper.xmlNamespacePrefix}` : \"xmlns\";\n\n const result = tempDictionary;\n result[XML_ATTRKEY] = { [xmlnsKey]: mapper.xmlNamespace };\n return result;\n }\n\n return tempDictionary;\n}\n\n/**\n * Resolves the additionalProperties property from a referenced mapper.\n * @param serializer - The serializer containing the entire set of mappers.\n * @param mapper - The composite mapper to resolve.\n * @param objectName - Name of the object being serialized.\n */\nfunction resolveAdditionalProperties(\n serializer: Serializer,\n mapper: CompositeMapper,\n objectName: string\n): SequenceMapper | BaseMapper | CompositeMapper | DictionaryMapper | EnumMapper | undefined {\n const additionalProperties = mapper.type.additionalProperties;\n\n if (!additionalProperties && mapper.type.className) {\n const modelMapper = resolveReferencedMapper(serializer, mapper, objectName);\n return modelMapper?.type.additionalProperties;\n }\n\n return additionalProperties;\n}\n\n/**\n * Finds the mapper referenced by `className`.\n * @param serializer - The serializer containing the entire set of mappers\n * @param mapper - The composite mapper to resolve\n * @param objectName - Name of the object being serialized\n */\nfunction resolveReferencedMapper(\n serializer: Serializer,\n mapper: CompositeMapper,\n objectName: string\n): CompositeMapper | undefined {\n const className = mapper.type.className;\n if (!className) {\n throw new Error(\n `Class name for model \"${objectName}\" is not provided in the mapper \"${JSON.stringify(\n mapper,\n undefined,\n 2\n )}\".`\n );\n }\n\n return serializer.modelMappers[className];\n}\n\n/**\n * Resolves a composite mapper's modelProperties.\n * @param serializer - The serializer containing the entire set of mappers\n * @param mapper - The composite mapper to resolve\n */\nfunction resolveModelProperties(\n serializer: Serializer,\n mapper: CompositeMapper,\n objectName: string\n): { [propertyName: string]: Mapper } {\n let modelProps = mapper.type.modelProperties;\n if (!modelProps) {\n const modelMapper = resolveReferencedMapper(serializer, mapper, objectName);\n if (!modelMapper) {\n throw new Error(`mapper() cannot be null or undefined for model \"${mapper.type.className}\".`);\n }\n modelProps = modelMapper?.type.modelProperties;\n if (!modelProps) {\n throw new Error(\n `modelProperties cannot be null or undefined in the ` +\n `mapper \"${JSON.stringify(modelMapper)}\" of type \"${\n mapper.type.className\n }\" for object \"${objectName}\".`\n );\n }\n }\n\n return modelProps;\n}\n\nfunction serializeCompositeType(\n serializer: Serializer,\n mapper: CompositeMapper,\n object: any,\n objectName: string,\n isXml: boolean,\n options: Required\n): any {\n if (getPolymorphicDiscriminatorRecursively(serializer, mapper)) {\n mapper = getPolymorphicMapper(serializer, mapper, object, \"clientName\");\n }\n\n if (object != undefined) {\n const payload: any = {};\n const modelProps = resolveModelProperties(serializer, mapper, objectName);\n for (const key of Object.keys(modelProps)) {\n const propertyMapper = modelProps[key];\n if (propertyMapper.readOnly) {\n continue;\n }\n\n let propName: string | undefined;\n let parentObject: any = payload;\n if (serializer.isXML) {\n if (propertyMapper.xmlIsWrapped) {\n propName = propertyMapper.xmlName;\n } else {\n propName = propertyMapper.xmlElementName || propertyMapper.xmlName;\n }\n } else {\n const paths = splitSerializeName(propertyMapper.serializedName!);\n propName = paths.pop();\n\n for (const pathName of paths) {\n const childObject = parentObject[pathName];\n if (\n childObject == undefined &&\n (object[key] != undefined || propertyMapper.defaultValue !== undefined)\n ) {\n parentObject[pathName] = {};\n }\n parentObject = parentObject[pathName];\n }\n }\n\n if (parentObject != undefined) {\n if (isXml && mapper.xmlNamespace) {\n const xmlnsKey = mapper.xmlNamespacePrefix\n ? `xmlns:${mapper.xmlNamespacePrefix}`\n : \"xmlns\";\n parentObject[XML_ATTRKEY] = {\n ...parentObject[XML_ATTRKEY],\n [xmlnsKey]: mapper.xmlNamespace,\n };\n }\n const propertyObjectName =\n propertyMapper.serializedName !== \"\"\n ? objectName + \".\" + propertyMapper.serializedName\n : objectName;\n\n let toSerialize = object[key];\n const polymorphicDiscriminator = getPolymorphicDiscriminatorRecursively(serializer, mapper);\n if (\n polymorphicDiscriminator &&\n polymorphicDiscriminator.clientName === key &&\n toSerialize == undefined\n ) {\n toSerialize = mapper.serializedName;\n }\n\n const serializedValue = serializer.serialize(\n propertyMapper,\n toSerialize,\n propertyObjectName,\n options\n );\n\n if (serializedValue !== undefined && propName != undefined) {\n const value = getXmlObjectValue(propertyMapper, serializedValue, isXml, options);\n if (isXml && propertyMapper.xmlIsAttribute) {\n // XML_ATTRKEY, i.e., $ is the key attributes are kept under in xml2js.\n // This keeps things simple while preventing name collision\n // with names in user documents.\n parentObject[XML_ATTRKEY] = parentObject[XML_ATTRKEY] || {};\n parentObject[XML_ATTRKEY][propName] = serializedValue;\n } else if (isXml && propertyMapper.xmlIsWrapped) {\n parentObject[propName] = { [propertyMapper.xmlElementName!]: value };\n } else {\n parentObject[propName] = value;\n }\n }\n }\n }\n\n const additionalPropertiesMapper = resolveAdditionalProperties(serializer, mapper, objectName);\n if (additionalPropertiesMapper) {\n const propNames = Object.keys(modelProps);\n for (const clientPropName in object) {\n const isAdditionalProperty = propNames.every((pn) => pn !== clientPropName);\n if (isAdditionalProperty) {\n payload[clientPropName] = serializer.serialize(\n additionalPropertiesMapper,\n object[clientPropName],\n objectName + '[\"' + clientPropName + '\"]',\n options\n );\n }\n }\n }\n\n return payload;\n }\n return object;\n}\n\nfunction getXmlObjectValue(\n propertyMapper: Mapper,\n serializedValue: any,\n isXml: boolean,\n options: Required\n): any {\n if (!isXml || !propertyMapper.xmlNamespace) {\n return serializedValue;\n }\n\n const xmlnsKey = propertyMapper.xmlNamespacePrefix\n ? `xmlns:${propertyMapper.xmlNamespacePrefix}`\n : \"xmlns\";\n const xmlNamespace = { [xmlnsKey]: propertyMapper.xmlNamespace };\n\n if ([\"Composite\"].includes(propertyMapper.type.name)) {\n if (serializedValue[XML_ATTRKEY]) {\n return serializedValue;\n } else {\n const result: any = { ...serializedValue };\n result[XML_ATTRKEY] = xmlNamespace;\n return result;\n }\n }\n const result: any = {};\n result[options.xmlCharKey] = serializedValue;\n result[XML_ATTRKEY] = xmlNamespace;\n return result;\n}\n\nfunction isSpecialXmlProperty(propertyName: string, options: Required): boolean {\n return [XML_ATTRKEY, options.xmlCharKey].includes(propertyName);\n}\n\nfunction deserializeCompositeType(\n serializer: Serializer,\n mapper: CompositeMapper,\n responseBody: any,\n objectName: string,\n options: Required\n): any {\n const xmlCharKey = options.xmlCharKey ?? XML_CHARKEY;\n if (getPolymorphicDiscriminatorRecursively(serializer, mapper)) {\n mapper = getPolymorphicMapper(serializer, mapper, responseBody, \"serializedName\");\n }\n\n const modelProps = resolveModelProperties(serializer, mapper, objectName);\n let instance: { [key: string]: any } = {};\n const handledPropertyNames: string[] = [];\n\n for (const key of Object.keys(modelProps)) {\n const propertyMapper = modelProps[key];\n const paths = splitSerializeName(modelProps[key].serializedName!);\n handledPropertyNames.push(paths[0]);\n const { serializedName, xmlName, xmlElementName } = propertyMapper;\n let propertyObjectName = objectName;\n if (serializedName !== \"\" && serializedName !== undefined) {\n propertyObjectName = objectName + \".\" + serializedName;\n }\n\n const headerCollectionPrefix = (propertyMapper as DictionaryMapper).headerCollectionPrefix;\n if (headerCollectionPrefix) {\n const dictionary: any = {};\n for (const headerKey of Object.keys(responseBody)) {\n if (headerKey.startsWith(headerCollectionPrefix)) {\n dictionary[headerKey.substring(headerCollectionPrefix.length)] = serializer.deserialize(\n (propertyMapper as DictionaryMapper).type.value,\n responseBody[headerKey],\n propertyObjectName,\n options\n );\n }\n\n handledPropertyNames.push(headerKey);\n }\n instance[key] = dictionary;\n } else if (serializer.isXML) {\n if (propertyMapper.xmlIsAttribute && responseBody[XML_ATTRKEY]) {\n instance[key] = serializer.deserialize(\n propertyMapper,\n responseBody[XML_ATTRKEY][xmlName!],\n propertyObjectName,\n options\n );\n } else if (propertyMapper.xmlIsMsText) {\n if (responseBody[xmlCharKey] !== undefined) {\n instance[key] = responseBody[xmlCharKey];\n } else if (typeof responseBody === \"string\") {\n // The special case where xml parser parses \"content\" into JSON of\n // `{ name: \"content\"}` instead of `{ name: { \"_\": \"content\" }}`\n instance[key] = responseBody;\n }\n } else {\n const propertyName = xmlElementName || xmlName || serializedName;\n if (propertyMapper.xmlIsWrapped) {\n /* a list of wrapped by \n For the xml example below\n \n ...\n ...\n \n the responseBody has\n {\n Cors: {\n CorsRule: [{...}, {...}]\n }\n }\n xmlName is \"Cors\" and xmlElementName is\"CorsRule\".\n */\n const wrapped = responseBody[xmlName!];\n const elementList = wrapped?.[xmlElementName!] ?? [];\n instance[key] = serializer.deserialize(\n propertyMapper,\n elementList,\n propertyObjectName,\n options\n );\n } else {\n const property = responseBody[propertyName!];\n instance[key] = serializer.deserialize(\n propertyMapper,\n property,\n propertyObjectName,\n options\n );\n }\n }\n } else {\n // deserialize the property if it is present in the provided responseBody instance\n let propertyInstance;\n let res = responseBody;\n // traversing the object step by step.\n for (const item of paths) {\n if (!res) break;\n res = res[item];\n }\n propertyInstance = res;\n const polymorphicDiscriminator = mapper.type.polymorphicDiscriminator;\n // checking that the model property name (key)(ex: \"fishtype\") and the\n // clientName of the polymorphicDiscriminator {metadata} (ex: \"fishtype\")\n // instead of the serializedName of the polymorphicDiscriminator (ex: \"fish.type\")\n // is a better approach. The generator is not consistent with escaping '\\.' in the\n // serializedName of the property (ex: \"fish\\.type\") that is marked as polymorphic discriminator\n // and the serializedName of the metadata polymorphicDiscriminator (ex: \"fish.type\"). However,\n // the clientName transformation of the polymorphicDiscriminator (ex: \"fishtype\") and\n // the transformation of model property name (ex: \"fishtype\") is done consistently.\n // Hence, it is a safer bet to rely on the clientName of the polymorphicDiscriminator.\n if (\n polymorphicDiscriminator &&\n key === polymorphicDiscriminator.clientName &&\n propertyInstance == undefined\n ) {\n propertyInstance = mapper.serializedName;\n }\n\n let serializedValue;\n // paging\n if (Array.isArray(responseBody[key]) && modelProps[key].serializedName === \"\") {\n propertyInstance = responseBody[key];\n const arrayInstance = serializer.deserialize(\n propertyMapper,\n propertyInstance,\n propertyObjectName,\n options\n );\n // Copy over any properties that have already been added into the instance, where they do\n // not exist on the newly de-serialized array\n for (const [k, v] of Object.entries(instance)) {\n if (!Object.prototype.hasOwnProperty.call(arrayInstance, k)) {\n arrayInstance[k] = v;\n }\n }\n instance = arrayInstance;\n } else if (propertyInstance !== undefined || propertyMapper.defaultValue !== undefined) {\n serializedValue = serializer.deserialize(\n propertyMapper,\n propertyInstance,\n propertyObjectName,\n options\n );\n instance[key] = serializedValue;\n }\n }\n }\n\n const additionalPropertiesMapper = mapper.type.additionalProperties;\n if (additionalPropertiesMapper) {\n const isAdditionalProperty = (responsePropName: string): boolean => {\n for (const clientPropName in modelProps) {\n const paths = splitSerializeName(modelProps[clientPropName].serializedName);\n if (paths[0] === responsePropName) {\n return false;\n }\n }\n return true;\n };\n\n for (const responsePropName in responseBody) {\n if (isAdditionalProperty(responsePropName)) {\n instance[responsePropName] = serializer.deserialize(\n additionalPropertiesMapper,\n responseBody[responsePropName],\n objectName + '[\"' + responsePropName + '\"]',\n options\n );\n }\n }\n } else if (responseBody) {\n for (const key of Object.keys(responseBody)) {\n if (\n instance[key] === undefined &&\n !handledPropertyNames.includes(key) &&\n !isSpecialXmlProperty(key, options)\n ) {\n instance[key] = responseBody[key];\n }\n }\n }\n\n return instance;\n}\n\nfunction deserializeDictionaryType(\n serializer: Serializer,\n mapper: DictionaryMapper,\n responseBody: any,\n objectName: string,\n options: Required\n): { [key: string]: any } {\n const value = mapper.type.value;\n if (!value || typeof value !== \"object\") {\n throw new Error(\n `\"value\" metadata for a Dictionary must be defined in the ` +\n `mapper and it must of type \"object\" in ${objectName}`\n );\n }\n if (responseBody) {\n const tempDictionary: { [key: string]: any } = {};\n for (const key of Object.keys(responseBody)) {\n tempDictionary[key] = serializer.deserialize(value, responseBody[key], objectName, options);\n }\n return tempDictionary;\n }\n return responseBody;\n}\n\nfunction deserializeSequenceType(\n serializer: Serializer,\n mapper: SequenceMapper,\n responseBody: any,\n objectName: string,\n options: Required\n): any[] {\n const element = mapper.type.element;\n if (!element || typeof element !== \"object\") {\n throw new Error(\n `element\" metadata for an Array must be defined in the ` +\n `mapper and it must of type \"object\" in ${objectName}`\n );\n }\n if (responseBody) {\n if (!Array.isArray(responseBody)) {\n // xml2js will interpret a single element array as just the element, so force it to be an array\n responseBody = [responseBody];\n }\n\n const tempArray = [];\n for (let i = 0; i < responseBody.length; i++) {\n tempArray[i] = serializer.deserialize(\n element,\n responseBody[i],\n `${objectName}[${i}]`,\n options\n );\n }\n return tempArray;\n }\n return responseBody;\n}\n\nfunction getPolymorphicMapper(\n serializer: Serializer,\n mapper: CompositeMapper,\n object: any,\n polymorphicPropertyName: \"clientName\" | \"serializedName\"\n): CompositeMapper {\n const polymorphicDiscriminator = getPolymorphicDiscriminatorRecursively(serializer, mapper);\n if (polymorphicDiscriminator) {\n const discriminatorName = polymorphicDiscriminator[polymorphicPropertyName];\n if (discriminatorName != undefined) {\n const discriminatorValue = object[discriminatorName];\n if (discriminatorValue != undefined) {\n const typeName = mapper.type.uberParent || mapper.type.className;\n const indexDiscriminator =\n discriminatorValue === typeName\n ? discriminatorValue\n : typeName + \".\" + discriminatorValue;\n const polymorphicMapper = serializer.modelMappers.discriminators[indexDiscriminator];\n if (polymorphicMapper) {\n mapper = polymorphicMapper;\n }\n }\n }\n }\n return mapper;\n}\n\nfunction getPolymorphicDiscriminatorRecursively(\n serializer: Serializer,\n mapper: CompositeMapper\n): PolymorphicDiscriminator | undefined {\n return (\n mapper.type.polymorphicDiscriminator ||\n getPolymorphicDiscriminatorSafely(serializer, mapper.type.uberParent) ||\n getPolymorphicDiscriminatorSafely(serializer, mapper.type.className)\n );\n}\n\nfunction getPolymorphicDiscriminatorSafely(serializer: Serializer, typeName?: string): any {\n return (\n typeName &&\n serializer.modelMappers[typeName] &&\n serializer.modelMappers[typeName].type.polymorphicDiscriminator\n );\n}\n\n/**\n * Description of various value constraints such as integer ranges and string regex.\n */\nexport interface MapperConstraints {\n /**\n * The value should be less than or equal to the `InclusiveMaximum` value.\n */\n InclusiveMaximum?: number;\n /**\n * The value should be less than the `ExclusiveMaximum` value.\n */\n ExclusiveMaximum?: number;\n /**\n * The value should be greater than or equal to the `InclusiveMinimum` value.\n */\n InclusiveMinimum?: number;\n /**\n * The value should be greater than the `InclusiveMinimum` value.\n */\n ExclusiveMinimum?: number;\n /**\n * The length should be smaller than the `MaxLength`.\n */\n MaxLength?: number;\n /**\n * The length should be bigger than the `MinLength`.\n */\n MinLength?: number;\n /**\n * The value must match the pattern.\n */\n Pattern?: RegExp;\n /**\n * The value must contain fewer items than the MaxItems value.\n */\n MaxItems?: number;\n /**\n * The value must contain more items than the `MinItems` value.\n */\n MinItems?: number;\n /**\n * The value must contain only unique items.\n */\n UniqueItems?: true;\n /**\n * The value should be exactly divisible by the `MultipleOf` value.\n */\n MultipleOf?: number;\n}\n\n/**\n * Type of the mapper. Includes known mappers.\n */\nexport type MapperType =\n | SimpleMapperType\n | CompositeMapperType\n | SequenceMapperType\n | DictionaryMapperType\n | EnumMapperType;\n\n/**\n * The type of a simple mapper.\n */\nexport interface SimpleMapperType {\n /**\n * Name of the type of the property.\n */\n name:\n | \"Base64Url\"\n | \"Boolean\"\n | \"ByteArray\"\n | \"Date\"\n | \"DateTime\"\n | \"DateTimeRfc1123\"\n | \"Object\"\n | \"Stream\"\n | \"String\"\n | \"TimeSpan\"\n | \"UnixTime\"\n | \"Uuid\"\n | \"Number\"\n | \"any\";\n}\n\n/**\n * Helps build a mapper that describes how to map a set of properties of an object based on other mappers.\n *\n * Only one of the following properties should be present: `className`, `modelProperties` and `additionalProperties`.\n */\nexport interface CompositeMapperType {\n /**\n * Name of the composite mapper type.\n */\n name: \"Composite\";\n\n /**\n * Use `className` to reference another type definition.\n */\n className?: string;\n\n /**\n * Use `modelProperties` when the reference to the other type has been resolved.\n */\n modelProperties?: { [propertyName: string]: Mapper };\n\n /**\n * Used when a model has `additionalProperties: true`. Allows the generic processing of unnamed model properties on the response object.\n */\n additionalProperties?: Mapper;\n\n /**\n * The name of the top-most parent scheme, the one that has no parents.\n */\n uberParent?: string;\n\n /**\n * A polymorphic discriminator.\n */\n polymorphicDiscriminator?: PolymorphicDiscriminator;\n}\n\n/**\n * Helps build a mapper that describes how to parse a sequence of mapped values.\n */\nexport interface SequenceMapperType {\n /**\n * Name of the sequence type mapper.\n */\n name: \"Sequence\";\n /**\n * The mapper to use to map each one of the properties of the sequence.\n */\n element: Mapper;\n}\n\n/**\n * Helps build a mapper that describes how to parse a dictionary of mapped values.\n */\nexport interface DictionaryMapperType {\n /**\n * Name of the sequence type mapper.\n */\n name: \"Dictionary\";\n /**\n * The mapper to use to map the value of each property in the dictionary.\n */\n value: Mapper;\n}\n\n/**\n * Helps build a mapper that describes how to parse an enum value.\n */\nexport interface EnumMapperType {\n /**\n * Name of the enum type mapper.\n */\n name: \"Enum\";\n /**\n * Values allowed by this mapper.\n */\n allowedValues: any[];\n}\n\n/**\n * The base definition of a mapper. Can be used for XML and plain JavaScript objects.\n */\nexport interface BaseMapper {\n /**\n * Name for the xml element\n */\n xmlName?: string;\n /**\n * Xml element namespace\n */\n xmlNamespace?: string;\n /**\n * Xml element namespace prefix\n */\n xmlNamespacePrefix?: string;\n /**\n * Determines if the current property should be serialized as an attribute of the parent xml element\n */\n xmlIsAttribute?: boolean;\n /**\n * Determines if the current property should be serialized as the inner content of the xml element\n */\n xmlIsMsText?: boolean;\n /**\n * Name for the xml elements when serializing an array\n */\n xmlElementName?: string;\n /**\n * Whether or not the current property should have a wrapping XML element\n */\n xmlIsWrapped?: boolean;\n /**\n * Whether or not the current property is readonly\n */\n readOnly?: boolean;\n /**\n * Whether or not the current property is a constant\n */\n isConstant?: boolean;\n /**\n * Whether or not the current property is required\n */\n required?: boolean;\n /**\n * Whether or not the current property allows mull as a value\n */\n nullable?: boolean;\n /**\n * The name to use when serializing\n */\n serializedName?: string;\n /**\n * Type of the mapper\n */\n type: MapperType;\n /**\n * Default value when one is not explicitly provided\n */\n defaultValue?: any;\n /**\n * Constraints to test the current value against\n */\n constraints?: MapperConstraints;\n}\n\n/**\n * Mappers are definitions of the data models used in the library.\n * These data models are part of the Operation or Client definitions in the responses or parameters.\n */\nexport type Mapper = BaseMapper | CompositeMapper | SequenceMapper | DictionaryMapper | EnumMapper;\n\n/**\n * Used to disambiguate discriminated type unions.\n * For example, if response can have many shapes but also includes a 'kind' field (or similar),\n * that field can be used to determine how to deserialize the response to the correct type.\n */\nexport interface PolymorphicDiscriminator {\n /**\n * Name of the discriminant property in the original JSON payload, e.g. `@odata.kind`.\n */\n serializedName: string;\n /**\n * Name to use on the resulting object instead of the original property name.\n * Useful since the JSON property could be difficult to work with.\n * For example: For a field received as `@odata.kind`, the final object could instead include a property simply named `kind`.\n */\n clientName: string;\n /**\n * It may contain any other property.\n */\n [key: string]: string;\n}\n\n/**\n * A mapper composed of other mappers.\n */\nexport interface CompositeMapper extends BaseMapper {\n /**\n * The type descriptor of the `CompositeMapper`.\n */\n type: CompositeMapperType;\n}\n\n/**\n * A mapper describing arrays.\n */\nexport interface SequenceMapper extends BaseMapper {\n /**\n * The type descriptor of the `SequenceMapper`.\n */\n type: SequenceMapperType;\n}\n\n/**\n * A mapper describing plain JavaScript objects used as key/value pairs.\n */\nexport interface DictionaryMapper extends BaseMapper {\n /**\n * The type descriptor of the `DictionaryMapper`.\n */\n type: DictionaryMapperType;\n /**\n * Optionally, a prefix to add to the header collection.\n */\n headerCollectionPrefix?: string;\n}\n\n/**\n * A mapper describing an enum value.\n */\nexport interface EnumMapper extends BaseMapper {\n /**\n * The type descriptor of the `EnumMapper`.\n */\n type: EnumMapperType;\n}\n\n/**\n * An interface representing an URL parameter value.\n */\nexport interface UrlParameterValue {\n /**\n * The URL value.\n */\n value: string;\n /**\n * Whether to keep or skip URL encoding.\n */\n skipUrlEncoding: boolean;\n}\n\n/**\n * Utility function that serializes an object that might contain binary information into a plain object, array or a string.\n */\nexport function serializeObject(toSerialize: unknown): any {\n const castToSerialize = toSerialize as Record;\n if (toSerialize == undefined) return undefined;\n if (toSerialize instanceof Uint8Array) {\n toSerialize = base64.encodeByteArray(toSerialize);\n return toSerialize;\n } else if (toSerialize instanceof Date) {\n return toSerialize.toISOString();\n } else if (Array.isArray(toSerialize)) {\n const array = [];\n for (let i = 0; i < toSerialize.length; i++) {\n array.push(serializeObject(toSerialize[i]));\n }\n return array;\n } else if (typeof toSerialize === \"object\") {\n const dictionary: { [key: string]: any } = {};\n for (const property in toSerialize) {\n dictionary[property] = serializeObject(castToSerialize[property]);\n }\n return dictionary;\n }\n return toSerialize;\n}\n\n/**\n * Utility function to create a K:V from a list of strings\n */\nfunction strEnum(o: Array): { [K in T]: K } {\n const result: any = {};\n for (const key of o) {\n result[key] = key;\n }\n return result;\n}\n\n/**\n * String enum containing the string types of property mappers.\n */\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const MapperType = strEnum([\n \"Base64Url\",\n \"Boolean\",\n \"ByteArray\",\n \"Composite\",\n \"Date\",\n \"DateTime\",\n \"DateTimeRfc1123\",\n \"Dictionary\",\n \"Enum\",\n \"Number\",\n \"Object\",\n \"Sequence\",\n \"String\",\n \"Stream\",\n \"TimeSpan\",\n \"UnixTime\",\n]);\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreHttp from \"@azure/core-http\";\n\nexport const BlobServiceProperties: coreHttp.CompositeMapper = {\n serializedName: \"BlobServiceProperties\",\n xmlName: \"StorageServiceProperties\",\n type: {\n name: \"Composite\",\n className: \"BlobServiceProperties\",\n modelProperties: {\n blobAnalyticsLogging: {\n serializedName: \"Logging\",\n xmlName: \"Logging\",\n type: {\n name: \"Composite\",\n className: \"Logging\"\n }\n },\n hourMetrics: {\n serializedName: \"HourMetrics\",\n xmlName: \"HourMetrics\",\n type: {\n name: \"Composite\",\n className: \"Metrics\"\n }\n },\n minuteMetrics: {\n serializedName: \"MinuteMetrics\",\n xmlName: \"MinuteMetrics\",\n type: {\n name: \"Composite\",\n className: \"Metrics\"\n }\n },\n cors: {\n serializedName: \"Cors\",\n xmlName: \"Cors\",\n xmlIsWrapped: true,\n xmlElementName: \"CorsRule\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"CorsRule\"\n }\n }\n }\n },\n defaultServiceVersion: {\n serializedName: \"DefaultServiceVersion\",\n xmlName: \"DefaultServiceVersion\",\n type: {\n name: \"String\"\n }\n },\n deleteRetentionPolicy: {\n serializedName: \"DeleteRetentionPolicy\",\n xmlName: \"DeleteRetentionPolicy\",\n type: {\n name: \"Composite\",\n className: \"RetentionPolicy\"\n }\n },\n staticWebsite: {\n serializedName: \"StaticWebsite\",\n xmlName: \"StaticWebsite\",\n type: {\n name: \"Composite\",\n className: \"StaticWebsite\"\n }\n }\n }\n }\n};\n\nexport const Logging: coreHttp.CompositeMapper = {\n serializedName: \"Logging\",\n type: {\n name: \"Composite\",\n className: \"Logging\",\n modelProperties: {\n version: {\n serializedName: \"Version\",\n required: true,\n xmlName: \"Version\",\n type: {\n name: \"String\"\n }\n },\n deleteProperty: {\n serializedName: \"Delete\",\n required: true,\n xmlName: \"Delete\",\n type: {\n name: \"Boolean\"\n }\n },\n read: {\n serializedName: \"Read\",\n required: true,\n xmlName: \"Read\",\n type: {\n name: \"Boolean\"\n }\n },\n write: {\n serializedName: \"Write\",\n required: true,\n xmlName: \"Write\",\n type: {\n name: \"Boolean\"\n }\n },\n retentionPolicy: {\n serializedName: \"RetentionPolicy\",\n xmlName: \"RetentionPolicy\",\n type: {\n name: \"Composite\",\n className: \"RetentionPolicy\"\n }\n }\n }\n }\n};\n\nexport const RetentionPolicy: coreHttp.CompositeMapper = {\n serializedName: \"RetentionPolicy\",\n type: {\n name: \"Composite\",\n className: \"RetentionPolicy\",\n modelProperties: {\n enabled: {\n serializedName: \"Enabled\",\n required: true,\n xmlName: \"Enabled\",\n type: {\n name: \"Boolean\"\n }\n },\n days: {\n constraints: {\n InclusiveMinimum: 1\n },\n serializedName: \"Days\",\n xmlName: \"Days\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const Metrics: coreHttp.CompositeMapper = {\n serializedName: \"Metrics\",\n type: {\n name: \"Composite\",\n className: \"Metrics\",\n modelProperties: {\n version: {\n serializedName: \"Version\",\n xmlName: \"Version\",\n type: {\n name: \"String\"\n }\n },\n enabled: {\n serializedName: \"Enabled\",\n required: true,\n xmlName: \"Enabled\",\n type: {\n name: \"Boolean\"\n }\n },\n includeAPIs: {\n serializedName: \"IncludeAPIs\",\n xmlName: \"IncludeAPIs\",\n type: {\n name: \"Boolean\"\n }\n },\n retentionPolicy: {\n serializedName: \"RetentionPolicy\",\n xmlName: \"RetentionPolicy\",\n type: {\n name: \"Composite\",\n className: \"RetentionPolicy\"\n }\n }\n }\n }\n};\n\nexport const CorsRule: coreHttp.CompositeMapper = {\n serializedName: \"CorsRule\",\n type: {\n name: \"Composite\",\n className: \"CorsRule\",\n modelProperties: {\n allowedOrigins: {\n serializedName: \"AllowedOrigins\",\n required: true,\n xmlName: \"AllowedOrigins\",\n type: {\n name: \"String\"\n }\n },\n allowedMethods: {\n serializedName: \"AllowedMethods\",\n required: true,\n xmlName: \"AllowedMethods\",\n type: {\n name: \"String\"\n }\n },\n allowedHeaders: {\n serializedName: \"AllowedHeaders\",\n required: true,\n xmlName: \"AllowedHeaders\",\n type: {\n name: \"String\"\n }\n },\n exposedHeaders: {\n serializedName: \"ExposedHeaders\",\n required: true,\n xmlName: \"ExposedHeaders\",\n type: {\n name: \"String\"\n }\n },\n maxAgeInSeconds: {\n constraints: {\n InclusiveMinimum: 0\n },\n serializedName: \"MaxAgeInSeconds\",\n required: true,\n xmlName: \"MaxAgeInSeconds\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const StaticWebsite: coreHttp.CompositeMapper = {\n serializedName: \"StaticWebsite\",\n type: {\n name: \"Composite\",\n className: \"StaticWebsite\",\n modelProperties: {\n enabled: {\n serializedName: \"Enabled\",\n required: true,\n xmlName: \"Enabled\",\n type: {\n name: \"Boolean\"\n }\n },\n indexDocument: {\n serializedName: \"IndexDocument\",\n xmlName: \"IndexDocument\",\n type: {\n name: \"String\"\n }\n },\n errorDocument404Path: {\n serializedName: \"ErrorDocument404Path\",\n xmlName: \"ErrorDocument404Path\",\n type: {\n name: \"String\"\n }\n },\n defaultIndexDocumentPath: {\n serializedName: \"DefaultIndexDocumentPath\",\n xmlName: \"DefaultIndexDocumentPath\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const StorageError: coreHttp.CompositeMapper = {\n serializedName: \"StorageError\",\n type: {\n name: \"Composite\",\n className: \"StorageError\",\n modelProperties: {\n message: {\n serializedName: \"Message\",\n xmlName: \"Message\",\n type: {\n name: \"String\"\n }\n },\n code: {\n serializedName: \"Code\",\n xmlName: \"Code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlobServiceStatistics: coreHttp.CompositeMapper = {\n serializedName: \"BlobServiceStatistics\",\n xmlName: \"StorageServiceStats\",\n type: {\n name: \"Composite\",\n className: \"BlobServiceStatistics\",\n modelProperties: {\n geoReplication: {\n serializedName: \"GeoReplication\",\n xmlName: \"GeoReplication\",\n type: {\n name: \"Composite\",\n className: \"GeoReplication\"\n }\n }\n }\n }\n};\n\nexport const GeoReplication: coreHttp.CompositeMapper = {\n serializedName: \"GeoReplication\",\n type: {\n name: \"Composite\",\n className: \"GeoReplication\",\n modelProperties: {\n status: {\n serializedName: \"Status\",\n required: true,\n xmlName: \"Status\",\n type: {\n name: \"Enum\",\n allowedValues: [\"live\", \"bootstrap\", \"unavailable\"]\n }\n },\n lastSyncOn: {\n serializedName: \"LastSyncTime\",\n required: true,\n xmlName: \"LastSyncTime\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n }\n }\n }\n};\n\nexport const ListContainersSegmentResponse: coreHttp.CompositeMapper = {\n serializedName: \"ListContainersSegmentResponse\",\n xmlName: \"EnumerationResults\",\n type: {\n name: \"Composite\",\n className: \"ListContainersSegmentResponse\",\n modelProperties: {\n serviceEndpoint: {\n serializedName: \"ServiceEndpoint\",\n required: true,\n xmlName: \"ServiceEndpoint\",\n xmlIsAttribute: true,\n type: {\n name: \"String\"\n }\n },\n prefix: {\n serializedName: \"Prefix\",\n xmlName: \"Prefix\",\n type: {\n name: \"String\"\n }\n },\n marker: {\n serializedName: \"Marker\",\n xmlName: \"Marker\",\n type: {\n name: \"String\"\n }\n },\n maxPageSize: {\n serializedName: \"MaxResults\",\n xmlName: \"MaxResults\",\n type: {\n name: \"Number\"\n }\n },\n containerItems: {\n serializedName: \"ContainerItems\",\n required: true,\n xmlName: \"Containers\",\n xmlIsWrapped: true,\n xmlElementName: \"Container\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ContainerItem\"\n }\n }\n }\n },\n continuationToken: {\n serializedName: \"NextMarker\",\n xmlName: \"NextMarker\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ContainerItem: coreHttp.CompositeMapper = {\n serializedName: \"ContainerItem\",\n xmlName: \"Container\",\n type: {\n name: \"Composite\",\n className: \"ContainerItem\",\n modelProperties: {\n name: {\n serializedName: \"Name\",\n required: true,\n xmlName: \"Name\",\n type: {\n name: \"String\"\n }\n },\n deleted: {\n serializedName: \"Deleted\",\n xmlName: \"Deleted\",\n type: {\n name: \"Boolean\"\n }\n },\n version: {\n serializedName: \"Version\",\n xmlName: \"Version\",\n type: {\n name: \"String\"\n }\n },\n properties: {\n serializedName: \"Properties\",\n xmlName: \"Properties\",\n type: {\n name: \"Composite\",\n className: \"ContainerProperties\"\n }\n },\n metadata: {\n serializedName: \"Metadata\",\n xmlName: \"Metadata\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n }\n }\n }\n};\n\nexport const ContainerProperties: coreHttp.CompositeMapper = {\n serializedName: \"ContainerProperties\",\n type: {\n name: \"Composite\",\n className: \"ContainerProperties\",\n modelProperties: {\n lastModified: {\n serializedName: \"Last-Modified\",\n required: true,\n xmlName: \"Last-Modified\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n etag: {\n serializedName: \"Etag\",\n required: true,\n xmlName: \"Etag\",\n type: {\n name: \"String\"\n }\n },\n leaseStatus: {\n serializedName: \"LeaseStatus\",\n xmlName: \"LeaseStatus\",\n type: {\n name: \"Enum\",\n allowedValues: [\"locked\", \"unlocked\"]\n }\n },\n leaseState: {\n serializedName: \"LeaseState\",\n xmlName: \"LeaseState\",\n type: {\n name: \"Enum\",\n allowedValues: [\n \"available\",\n \"leased\",\n \"expired\",\n \"breaking\",\n \"broken\"\n ]\n }\n },\n leaseDuration: {\n serializedName: \"LeaseDuration\",\n xmlName: \"LeaseDuration\",\n type: {\n name: \"Enum\",\n allowedValues: [\"infinite\", \"fixed\"]\n }\n },\n publicAccess: {\n serializedName: \"PublicAccess\",\n xmlName: \"PublicAccess\",\n type: {\n name: \"Enum\",\n allowedValues: [\"container\", \"blob\"]\n }\n },\n hasImmutabilityPolicy: {\n serializedName: \"HasImmutabilityPolicy\",\n xmlName: \"HasImmutabilityPolicy\",\n type: {\n name: \"Boolean\"\n }\n },\n hasLegalHold: {\n serializedName: \"HasLegalHold\",\n xmlName: \"HasLegalHold\",\n type: {\n name: \"Boolean\"\n }\n },\n defaultEncryptionScope: {\n serializedName: \"DefaultEncryptionScope\",\n xmlName: \"DefaultEncryptionScope\",\n type: {\n name: \"String\"\n }\n },\n preventEncryptionScopeOverride: {\n serializedName: \"DenyEncryptionScopeOverride\",\n xmlName: \"DenyEncryptionScopeOverride\",\n type: {\n name: \"Boolean\"\n }\n },\n deletedOn: {\n serializedName: \"DeletedTime\",\n xmlName: \"DeletedTime\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n remainingRetentionDays: {\n serializedName: \"RemainingRetentionDays\",\n xmlName: \"RemainingRetentionDays\",\n type: {\n name: \"Number\"\n }\n },\n isImmutableStorageWithVersioningEnabled: {\n serializedName: \"ImmutableStorageWithVersioningEnabled\",\n xmlName: \"ImmutableStorageWithVersioningEnabled\",\n type: {\n name: \"Boolean\"\n }\n }\n }\n }\n};\n\nexport const KeyInfo: coreHttp.CompositeMapper = {\n serializedName: \"KeyInfo\",\n type: {\n name: \"Composite\",\n className: \"KeyInfo\",\n modelProperties: {\n startsOn: {\n serializedName: \"Start\",\n required: true,\n xmlName: \"Start\",\n type: {\n name: \"String\"\n }\n },\n expiresOn: {\n serializedName: \"Expiry\",\n required: true,\n xmlName: \"Expiry\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const UserDelegationKey: coreHttp.CompositeMapper = {\n serializedName: \"UserDelegationKey\",\n type: {\n name: \"Composite\",\n className: \"UserDelegationKey\",\n modelProperties: {\n signedObjectId: {\n serializedName: \"SignedOid\",\n required: true,\n xmlName: \"SignedOid\",\n type: {\n name: \"String\"\n }\n },\n signedTenantId: {\n serializedName: \"SignedTid\",\n required: true,\n xmlName: \"SignedTid\",\n type: {\n name: \"String\"\n }\n },\n signedStartsOn: {\n serializedName: \"SignedStart\",\n required: true,\n xmlName: \"SignedStart\",\n type: {\n name: \"String\"\n }\n },\n signedExpiresOn: {\n serializedName: \"SignedExpiry\",\n required: true,\n xmlName: \"SignedExpiry\",\n type: {\n name: \"String\"\n }\n },\n signedService: {\n serializedName: \"SignedService\",\n required: true,\n xmlName: \"SignedService\",\n type: {\n name: \"String\"\n }\n },\n signedVersion: {\n serializedName: \"SignedVersion\",\n required: true,\n xmlName: \"SignedVersion\",\n type: {\n name: \"String\"\n }\n },\n value: {\n serializedName: \"Value\",\n required: true,\n xmlName: \"Value\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const FilterBlobSegment: coreHttp.CompositeMapper = {\n serializedName: \"FilterBlobSegment\",\n xmlName: \"EnumerationResults\",\n type: {\n name: \"Composite\",\n className: \"FilterBlobSegment\",\n modelProperties: {\n serviceEndpoint: {\n serializedName: \"ServiceEndpoint\",\n required: true,\n xmlName: \"ServiceEndpoint\",\n xmlIsAttribute: true,\n type: {\n name: \"String\"\n }\n },\n where: {\n serializedName: \"Where\",\n required: true,\n xmlName: \"Where\",\n type: {\n name: \"String\"\n }\n },\n blobs: {\n serializedName: \"Blobs\",\n required: true,\n xmlName: \"Blobs\",\n xmlIsWrapped: true,\n xmlElementName: \"Blob\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"FilterBlobItem\"\n }\n }\n }\n },\n continuationToken: {\n serializedName: \"NextMarker\",\n xmlName: \"NextMarker\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const FilterBlobItem: coreHttp.CompositeMapper = {\n serializedName: \"FilterBlobItem\",\n xmlName: \"Blob\",\n type: {\n name: \"Composite\",\n className: \"FilterBlobItem\",\n modelProperties: {\n name: {\n serializedName: \"Name\",\n required: true,\n xmlName: \"Name\",\n type: {\n name: \"String\"\n }\n },\n containerName: {\n serializedName: \"ContainerName\",\n required: true,\n xmlName: \"ContainerName\",\n type: {\n name: \"String\"\n }\n },\n tags: {\n serializedName: \"Tags\",\n xmlName: \"Tags\",\n type: {\n name: \"Composite\",\n className: \"BlobTags\"\n }\n }\n }\n }\n};\n\nexport const BlobTags: coreHttp.CompositeMapper = {\n serializedName: \"BlobTags\",\n xmlName: \"Tags\",\n type: {\n name: \"Composite\",\n className: \"BlobTags\",\n modelProperties: {\n blobTagSet: {\n serializedName: \"BlobTagSet\",\n required: true,\n xmlName: \"TagSet\",\n xmlIsWrapped: true,\n xmlElementName: \"Tag\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"BlobTag\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const BlobTag: coreHttp.CompositeMapper = {\n serializedName: \"BlobTag\",\n xmlName: \"Tag\",\n type: {\n name: \"Composite\",\n className: \"BlobTag\",\n modelProperties: {\n key: {\n serializedName: \"Key\",\n required: true,\n xmlName: \"Key\",\n type: {\n name: \"String\"\n }\n },\n value: {\n serializedName: \"Value\",\n required: true,\n xmlName: \"Value\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SignedIdentifier: coreHttp.CompositeMapper = {\n serializedName: \"SignedIdentifier\",\n xmlName: \"SignedIdentifier\",\n type: {\n name: \"Composite\",\n className: \"SignedIdentifier\",\n modelProperties: {\n id: {\n serializedName: \"Id\",\n required: true,\n xmlName: \"Id\",\n type: {\n name: \"String\"\n }\n },\n accessPolicy: {\n serializedName: \"AccessPolicy\",\n xmlName: \"AccessPolicy\",\n type: {\n name: \"Composite\",\n className: \"AccessPolicy\"\n }\n }\n }\n }\n};\n\nexport const AccessPolicy: coreHttp.CompositeMapper = {\n serializedName: \"AccessPolicy\",\n type: {\n name: \"Composite\",\n className: \"AccessPolicy\",\n modelProperties: {\n startsOn: {\n serializedName: \"Start\",\n xmlName: \"Start\",\n type: {\n name: \"String\"\n }\n },\n expiresOn: {\n serializedName: \"Expiry\",\n xmlName: \"Expiry\",\n type: {\n name: \"String\"\n }\n },\n permissions: {\n serializedName: \"Permission\",\n xmlName: \"Permission\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ListBlobsFlatSegmentResponse: coreHttp.CompositeMapper = {\n serializedName: \"ListBlobsFlatSegmentResponse\",\n xmlName: \"EnumerationResults\",\n type: {\n name: \"Composite\",\n className: \"ListBlobsFlatSegmentResponse\",\n modelProperties: {\n serviceEndpoint: {\n serializedName: \"ServiceEndpoint\",\n required: true,\n xmlName: \"ServiceEndpoint\",\n xmlIsAttribute: true,\n type: {\n name: \"String\"\n }\n },\n containerName: {\n serializedName: \"ContainerName\",\n required: true,\n xmlName: \"ContainerName\",\n xmlIsAttribute: true,\n type: {\n name: \"String\"\n }\n },\n prefix: {\n serializedName: \"Prefix\",\n xmlName: \"Prefix\",\n type: {\n name: \"String\"\n }\n },\n marker: {\n serializedName: \"Marker\",\n xmlName: \"Marker\",\n type: {\n name: \"String\"\n }\n },\n maxPageSize: {\n serializedName: \"MaxResults\",\n xmlName: \"MaxResults\",\n type: {\n name: \"Number\"\n }\n },\n segment: {\n serializedName: \"Segment\",\n xmlName: \"Blobs\",\n type: {\n name: \"Composite\",\n className: \"BlobFlatListSegment\"\n }\n },\n continuationToken: {\n serializedName: \"NextMarker\",\n xmlName: \"NextMarker\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlobFlatListSegment: coreHttp.CompositeMapper = {\n serializedName: \"BlobFlatListSegment\",\n xmlName: \"Blobs\",\n type: {\n name: \"Composite\",\n className: \"BlobFlatListSegment\",\n modelProperties: {\n blobItems: {\n serializedName: \"BlobItems\",\n required: true,\n xmlName: \"BlobItems\",\n xmlElementName: \"Blob\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"BlobItemInternal\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const BlobItemInternal: coreHttp.CompositeMapper = {\n serializedName: \"BlobItemInternal\",\n xmlName: \"Blob\",\n type: {\n name: \"Composite\",\n className: \"BlobItemInternal\",\n modelProperties: {\n name: {\n serializedName: \"Name\",\n xmlName: \"Name\",\n type: {\n name: \"Composite\",\n className: \"BlobName\"\n }\n },\n deleted: {\n serializedName: \"Deleted\",\n required: true,\n xmlName: \"Deleted\",\n type: {\n name: \"Boolean\"\n }\n },\n snapshot: {\n serializedName: \"Snapshot\",\n required: true,\n xmlName: \"Snapshot\",\n type: {\n name: \"String\"\n }\n },\n versionId: {\n serializedName: \"VersionId\",\n xmlName: \"VersionId\",\n type: {\n name: \"String\"\n }\n },\n isCurrentVersion: {\n serializedName: \"IsCurrentVersion\",\n xmlName: \"IsCurrentVersion\",\n type: {\n name: \"Boolean\"\n }\n },\n properties: {\n serializedName: \"Properties\",\n xmlName: \"Properties\",\n type: {\n name: \"Composite\",\n className: \"BlobPropertiesInternal\"\n }\n },\n metadata: {\n serializedName: \"Metadata\",\n xmlName: \"Metadata\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n blobTags: {\n serializedName: \"BlobTags\",\n xmlName: \"Tags\",\n type: {\n name: \"Composite\",\n className: \"BlobTags\"\n }\n },\n objectReplicationMetadata: {\n serializedName: \"ObjectReplicationMetadata\",\n xmlName: \"OrMetadata\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n hasVersionsOnly: {\n serializedName: \"HasVersionsOnly\",\n xmlName: \"HasVersionsOnly\",\n type: {\n name: \"Boolean\"\n }\n }\n }\n }\n};\n\nexport const BlobName: coreHttp.CompositeMapper = {\n serializedName: \"BlobName\",\n type: {\n name: \"Composite\",\n className: \"BlobName\",\n modelProperties: {\n encoded: {\n serializedName: \"Encoded\",\n xmlName: \"Encoded\",\n xmlIsAttribute: true,\n type: {\n name: \"Boolean\"\n }\n },\n content: {\n serializedName: \"content\",\n xmlName: \"content\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlobPropertiesInternal: coreHttp.CompositeMapper = {\n serializedName: \"BlobPropertiesInternal\",\n xmlName: \"Properties\",\n type: {\n name: \"Composite\",\n className: \"BlobPropertiesInternal\",\n modelProperties: {\n createdOn: {\n serializedName: \"Creation-Time\",\n xmlName: \"Creation-Time\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n lastModified: {\n serializedName: \"Last-Modified\",\n required: true,\n xmlName: \"Last-Modified\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n etag: {\n serializedName: \"Etag\",\n required: true,\n xmlName: \"Etag\",\n type: {\n name: \"String\"\n }\n },\n contentLength: {\n serializedName: \"Content-Length\",\n xmlName: \"Content-Length\",\n type: {\n name: \"Number\"\n }\n },\n contentType: {\n serializedName: \"Content-Type\",\n xmlName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n },\n contentEncoding: {\n serializedName: \"Content-Encoding\",\n xmlName: \"Content-Encoding\",\n type: {\n name: \"String\"\n }\n },\n contentLanguage: {\n serializedName: \"Content-Language\",\n xmlName: \"Content-Language\",\n type: {\n name: \"String\"\n }\n },\n contentMD5: {\n serializedName: \"Content-MD5\",\n xmlName: \"Content-MD5\",\n type: {\n name: \"ByteArray\"\n }\n },\n contentDisposition: {\n serializedName: \"Content-Disposition\",\n xmlName: \"Content-Disposition\",\n type: {\n name: \"String\"\n }\n },\n cacheControl: {\n serializedName: \"Cache-Control\",\n xmlName: \"Cache-Control\",\n type: {\n name: \"String\"\n }\n },\n blobSequenceNumber: {\n serializedName: \"x-ms-blob-sequence-number\",\n xmlName: \"x-ms-blob-sequence-number\",\n type: {\n name: \"Number\"\n }\n },\n blobType: {\n serializedName: \"BlobType\",\n xmlName: \"BlobType\",\n type: {\n name: \"Enum\",\n allowedValues: [\"BlockBlob\", \"PageBlob\", \"AppendBlob\"]\n }\n },\n leaseStatus: {\n serializedName: \"LeaseStatus\",\n xmlName: \"LeaseStatus\",\n type: {\n name: \"Enum\",\n allowedValues: [\"locked\", \"unlocked\"]\n }\n },\n leaseState: {\n serializedName: \"LeaseState\",\n xmlName: \"LeaseState\",\n type: {\n name: \"Enum\",\n allowedValues: [\n \"available\",\n \"leased\",\n \"expired\",\n \"breaking\",\n \"broken\"\n ]\n }\n },\n leaseDuration: {\n serializedName: \"LeaseDuration\",\n xmlName: \"LeaseDuration\",\n type: {\n name: \"Enum\",\n allowedValues: [\"infinite\", \"fixed\"]\n }\n },\n copyId: {\n serializedName: \"CopyId\",\n xmlName: \"CopyId\",\n type: {\n name: \"String\"\n }\n },\n copyStatus: {\n serializedName: \"CopyStatus\",\n xmlName: \"CopyStatus\",\n type: {\n name: \"Enum\",\n allowedValues: [\"pending\", \"success\", \"aborted\", \"failed\"]\n }\n },\n copySource: {\n serializedName: \"CopySource\",\n xmlName: \"CopySource\",\n type: {\n name: \"String\"\n }\n },\n copyProgress: {\n serializedName: \"CopyProgress\",\n xmlName: \"CopyProgress\",\n type: {\n name: \"String\"\n }\n },\n copyCompletedOn: {\n serializedName: \"CopyCompletionTime\",\n xmlName: \"CopyCompletionTime\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n copyStatusDescription: {\n serializedName: \"CopyStatusDescription\",\n xmlName: \"CopyStatusDescription\",\n type: {\n name: \"String\"\n }\n },\n serverEncrypted: {\n serializedName: \"ServerEncrypted\",\n xmlName: \"ServerEncrypted\",\n type: {\n name: \"Boolean\"\n }\n },\n incrementalCopy: {\n serializedName: \"IncrementalCopy\",\n xmlName: \"IncrementalCopy\",\n type: {\n name: \"Boolean\"\n }\n },\n destinationSnapshot: {\n serializedName: \"DestinationSnapshot\",\n xmlName: \"DestinationSnapshot\",\n type: {\n name: \"String\"\n }\n },\n deletedOn: {\n serializedName: \"DeletedTime\",\n xmlName: \"DeletedTime\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n remainingRetentionDays: {\n serializedName: \"RemainingRetentionDays\",\n xmlName: \"RemainingRetentionDays\",\n type: {\n name: \"Number\"\n }\n },\n accessTier: {\n serializedName: \"AccessTier\",\n xmlName: \"AccessTier\",\n type: {\n name: \"Enum\",\n allowedValues: [\n \"P4\",\n \"P6\",\n \"P10\",\n \"P15\",\n \"P20\",\n \"P30\",\n \"P40\",\n \"P50\",\n \"P60\",\n \"P70\",\n \"P80\",\n \"Hot\",\n \"Cool\",\n \"Archive\"\n ]\n }\n },\n accessTierInferred: {\n serializedName: \"AccessTierInferred\",\n xmlName: \"AccessTierInferred\",\n type: {\n name: \"Boolean\"\n }\n },\n archiveStatus: {\n serializedName: \"ArchiveStatus\",\n xmlName: \"ArchiveStatus\",\n type: {\n name: \"Enum\",\n allowedValues: [\n \"rehydrate-pending-to-hot\",\n \"rehydrate-pending-to-cool\"\n ]\n }\n },\n customerProvidedKeySha256: {\n serializedName: \"CustomerProvidedKeySha256\",\n xmlName: \"CustomerProvidedKeySha256\",\n type: {\n name: \"String\"\n }\n },\n encryptionScope: {\n serializedName: \"EncryptionScope\",\n xmlName: \"EncryptionScope\",\n type: {\n name: \"String\"\n }\n },\n accessTierChangedOn: {\n serializedName: \"AccessTierChangeTime\",\n xmlName: \"AccessTierChangeTime\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n tagCount: {\n serializedName: \"TagCount\",\n xmlName: \"TagCount\",\n type: {\n name: \"Number\"\n }\n },\n expiresOn: {\n serializedName: \"Expiry-Time\",\n xmlName: \"Expiry-Time\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n isSealed: {\n serializedName: \"Sealed\",\n xmlName: \"Sealed\",\n type: {\n name: \"Boolean\"\n }\n },\n rehydratePriority: {\n serializedName: \"RehydratePriority\",\n xmlName: \"RehydratePriority\",\n type: {\n name: \"Enum\",\n allowedValues: [\"High\", \"Standard\"]\n }\n },\n lastAccessedOn: {\n serializedName: \"LastAccessTime\",\n xmlName: \"LastAccessTime\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n immutabilityPolicyExpiresOn: {\n serializedName: \"ImmutabilityPolicyUntilDate\",\n xmlName: \"ImmutabilityPolicyUntilDate\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n immutabilityPolicyMode: {\n serializedName: \"ImmutabilityPolicyMode\",\n xmlName: \"ImmutabilityPolicyMode\",\n type: {\n name: \"Enum\",\n allowedValues: [\"Mutable\", \"Unlocked\", \"Locked\"]\n }\n },\n legalHold: {\n serializedName: \"LegalHold\",\n xmlName: \"LegalHold\",\n type: {\n name: \"Boolean\"\n }\n }\n }\n }\n};\n\nexport const ListBlobsHierarchySegmentResponse: coreHttp.CompositeMapper = {\n serializedName: \"ListBlobsHierarchySegmentResponse\",\n xmlName: \"EnumerationResults\",\n type: {\n name: \"Composite\",\n className: \"ListBlobsHierarchySegmentResponse\",\n modelProperties: {\n serviceEndpoint: {\n serializedName: \"ServiceEndpoint\",\n required: true,\n xmlName: \"ServiceEndpoint\",\n xmlIsAttribute: true,\n type: {\n name: \"String\"\n }\n },\n containerName: {\n serializedName: \"ContainerName\",\n required: true,\n xmlName: \"ContainerName\",\n xmlIsAttribute: true,\n type: {\n name: \"String\"\n }\n },\n prefix: {\n serializedName: \"Prefix\",\n xmlName: \"Prefix\",\n type: {\n name: \"String\"\n }\n },\n marker: {\n serializedName: \"Marker\",\n xmlName: \"Marker\",\n type: {\n name: \"String\"\n }\n },\n maxPageSize: {\n serializedName: \"MaxResults\",\n xmlName: \"MaxResults\",\n type: {\n name: \"Number\"\n }\n },\n delimiter: {\n serializedName: \"Delimiter\",\n xmlName: \"Delimiter\",\n type: {\n name: \"String\"\n }\n },\n segment: {\n serializedName: \"Segment\",\n xmlName: \"Blobs\",\n type: {\n name: \"Composite\",\n className: \"BlobHierarchyListSegment\"\n }\n },\n continuationToken: {\n serializedName: \"NextMarker\",\n xmlName: \"NextMarker\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlobHierarchyListSegment: coreHttp.CompositeMapper = {\n serializedName: \"BlobHierarchyListSegment\",\n xmlName: \"Blobs\",\n type: {\n name: \"Composite\",\n className: \"BlobHierarchyListSegment\",\n modelProperties: {\n blobPrefixes: {\n serializedName: \"BlobPrefixes\",\n xmlName: \"BlobPrefixes\",\n xmlElementName: \"BlobPrefix\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"BlobPrefix\"\n }\n }\n }\n },\n blobItems: {\n serializedName: \"BlobItems\",\n required: true,\n xmlName: \"BlobItems\",\n xmlElementName: \"Blob\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"BlobItemInternal\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const BlobPrefix: coreHttp.CompositeMapper = {\n serializedName: \"BlobPrefix\",\n type: {\n name: \"Composite\",\n className: \"BlobPrefix\",\n modelProperties: {\n name: {\n serializedName: \"Name\",\n xmlName: \"Name\",\n type: {\n name: \"Composite\",\n className: \"BlobName\"\n }\n }\n }\n }\n};\n\nexport const BlockLookupList: coreHttp.CompositeMapper = {\n serializedName: \"BlockLookupList\",\n xmlName: \"BlockList\",\n type: {\n name: \"Composite\",\n className: \"BlockLookupList\",\n modelProperties: {\n committed: {\n serializedName: \"Committed\",\n xmlName: \"Committed\",\n xmlElementName: \"Committed\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n uncommitted: {\n serializedName: \"Uncommitted\",\n xmlName: \"Uncommitted\",\n xmlElementName: \"Uncommitted\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n latest: {\n serializedName: \"Latest\",\n xmlName: \"Latest\",\n xmlElementName: \"Latest\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const BlockList: coreHttp.CompositeMapper = {\n serializedName: \"BlockList\",\n type: {\n name: \"Composite\",\n className: \"BlockList\",\n modelProperties: {\n committedBlocks: {\n serializedName: \"CommittedBlocks\",\n xmlName: \"CommittedBlocks\",\n xmlIsWrapped: true,\n xmlElementName: \"Block\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Block\"\n }\n }\n }\n },\n uncommittedBlocks: {\n serializedName: \"UncommittedBlocks\",\n xmlName: \"UncommittedBlocks\",\n xmlIsWrapped: true,\n xmlElementName: \"Block\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Block\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const Block: coreHttp.CompositeMapper = {\n serializedName: \"Block\",\n type: {\n name: \"Composite\",\n className: \"Block\",\n modelProperties: {\n name: {\n serializedName: \"Name\",\n required: true,\n xmlName: \"Name\",\n type: {\n name: \"String\"\n }\n },\n size: {\n serializedName: \"Size\",\n required: true,\n xmlName: \"Size\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const PageList: coreHttp.CompositeMapper = {\n serializedName: \"PageList\",\n type: {\n name: \"Composite\",\n className: \"PageList\",\n modelProperties: {\n pageRange: {\n serializedName: \"PageRange\",\n xmlName: \"PageRange\",\n xmlElementName: \"PageRange\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"PageRange\"\n }\n }\n }\n },\n clearRange: {\n serializedName: \"ClearRange\",\n xmlName: \"ClearRange\",\n xmlElementName: \"ClearRange\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ClearRange\"\n }\n }\n }\n },\n continuationToken: {\n serializedName: \"NextMarker\",\n xmlName: \"NextMarker\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PageRange: coreHttp.CompositeMapper = {\n serializedName: \"PageRange\",\n xmlName: \"PageRange\",\n type: {\n name: \"Composite\",\n className: \"PageRange\",\n modelProperties: {\n start: {\n serializedName: \"Start\",\n required: true,\n xmlName: \"Start\",\n type: {\n name: \"Number\"\n }\n },\n end: {\n serializedName: \"End\",\n required: true,\n xmlName: \"End\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const ClearRange: coreHttp.CompositeMapper = {\n serializedName: \"ClearRange\",\n xmlName: \"ClearRange\",\n type: {\n name: \"Composite\",\n className: \"ClearRange\",\n modelProperties: {\n start: {\n serializedName: \"Start\",\n required: true,\n xmlName: \"Start\",\n type: {\n name: \"Number\"\n }\n },\n end: {\n serializedName: \"End\",\n required: true,\n xmlName: \"End\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const QueryRequest: coreHttp.CompositeMapper = {\n serializedName: \"QueryRequest\",\n xmlName: \"QueryRequest\",\n type: {\n name: \"Composite\",\n className: \"QueryRequest\",\n modelProperties: {\n queryType: {\n serializedName: \"QueryType\",\n required: true,\n xmlName: \"QueryType\",\n type: {\n name: \"String\"\n }\n },\n expression: {\n serializedName: \"Expression\",\n required: true,\n xmlName: \"Expression\",\n type: {\n name: \"String\"\n }\n },\n inputSerialization: {\n serializedName: \"InputSerialization\",\n xmlName: \"InputSerialization\",\n type: {\n name: \"Composite\",\n className: \"QuerySerialization\"\n }\n },\n outputSerialization: {\n serializedName: \"OutputSerialization\",\n xmlName: \"OutputSerialization\",\n type: {\n name: \"Composite\",\n className: \"QuerySerialization\"\n }\n }\n }\n }\n};\n\nexport const QuerySerialization: coreHttp.CompositeMapper = {\n serializedName: \"QuerySerialization\",\n type: {\n name: \"Composite\",\n className: \"QuerySerialization\",\n modelProperties: {\n format: {\n serializedName: \"Format\",\n xmlName: \"Format\",\n type: {\n name: \"Composite\",\n className: \"QueryFormat\"\n }\n }\n }\n }\n};\n\nexport const QueryFormat: coreHttp.CompositeMapper = {\n serializedName: \"QueryFormat\",\n type: {\n name: \"Composite\",\n className: \"QueryFormat\",\n modelProperties: {\n type: {\n serializedName: \"Type\",\n required: true,\n xmlName: \"Type\",\n type: {\n name: \"Enum\",\n allowedValues: [\"delimited\", \"json\", \"arrow\", \"parquet\"]\n }\n },\n delimitedTextConfiguration: {\n serializedName: \"DelimitedTextConfiguration\",\n xmlName: \"DelimitedTextConfiguration\",\n type: {\n name: \"Composite\",\n className: \"DelimitedTextConfiguration\"\n }\n },\n jsonTextConfiguration: {\n serializedName: \"JsonTextConfiguration\",\n xmlName: \"JsonTextConfiguration\",\n type: {\n name: \"Composite\",\n className: \"JsonTextConfiguration\"\n }\n },\n arrowConfiguration: {\n serializedName: \"ArrowConfiguration\",\n xmlName: \"ArrowConfiguration\",\n type: {\n name: \"Composite\",\n className: \"ArrowConfiguration\"\n }\n },\n parquetTextConfiguration: {\n serializedName: \"ParquetTextConfiguration\",\n xmlName: \"ParquetTextConfiguration\",\n type: {\n name: \"any\"\n }\n }\n }\n }\n};\n\nexport const DelimitedTextConfiguration: coreHttp.CompositeMapper = {\n serializedName: \"DelimitedTextConfiguration\",\n xmlName: \"DelimitedTextConfiguration\",\n type: {\n name: \"Composite\",\n className: \"DelimitedTextConfiguration\",\n modelProperties: {\n columnSeparator: {\n serializedName: \"ColumnSeparator\",\n xmlName: \"ColumnSeparator\",\n type: {\n name: \"String\"\n }\n },\n fieldQuote: {\n serializedName: \"FieldQuote\",\n xmlName: \"FieldQuote\",\n type: {\n name: \"String\"\n }\n },\n recordSeparator: {\n serializedName: \"RecordSeparator\",\n xmlName: \"RecordSeparator\",\n type: {\n name: \"String\"\n }\n },\n escapeChar: {\n serializedName: \"EscapeChar\",\n xmlName: \"EscapeChar\",\n type: {\n name: \"String\"\n }\n },\n headersPresent: {\n serializedName: \"HeadersPresent\",\n xmlName: \"HasHeaders\",\n type: {\n name: \"Boolean\"\n }\n }\n }\n }\n};\n\nexport const JsonTextConfiguration: coreHttp.CompositeMapper = {\n serializedName: \"JsonTextConfiguration\",\n xmlName: \"JsonTextConfiguration\",\n type: {\n name: \"Composite\",\n className: \"JsonTextConfiguration\",\n modelProperties: {\n recordSeparator: {\n serializedName: \"RecordSeparator\",\n xmlName: \"RecordSeparator\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ArrowConfiguration: coreHttp.CompositeMapper = {\n serializedName: \"ArrowConfiguration\",\n xmlName: \"ArrowConfiguration\",\n type: {\n name: \"Composite\",\n className: \"ArrowConfiguration\",\n modelProperties: {\n schema: {\n serializedName: \"Schema\",\n required: true,\n xmlName: \"Schema\",\n xmlIsWrapped: true,\n xmlElementName: \"Field\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ArrowField\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ArrowField: coreHttp.CompositeMapper = {\n serializedName: \"ArrowField\",\n xmlName: \"Field\",\n type: {\n name: \"Composite\",\n className: \"ArrowField\",\n modelProperties: {\n type: {\n serializedName: \"Type\",\n required: true,\n xmlName: \"Type\",\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"Name\",\n xmlName: \"Name\",\n type: {\n name: \"String\"\n }\n },\n precision: {\n serializedName: \"Precision\",\n xmlName: \"Precision\",\n type: {\n name: \"Number\"\n }\n },\n scale: {\n serializedName: \"Scale\",\n xmlName: \"Scale\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const ServiceSetPropertiesHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Service_setPropertiesHeaders\",\n type: {\n name: \"Composite\",\n className: \"ServiceSetPropertiesHeaders\",\n modelProperties: {\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ServiceSetPropertiesExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Service_setPropertiesExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"ServiceSetPropertiesExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ServiceGetPropertiesHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Service_getPropertiesHeaders\",\n type: {\n name: \"Composite\",\n className: \"ServiceGetPropertiesHeaders\",\n modelProperties: {\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ServiceGetPropertiesExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Service_getPropertiesExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"ServiceGetPropertiesExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ServiceGetStatisticsHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Service_getStatisticsHeaders\",\n type: {\n name: \"Composite\",\n className: \"ServiceGetStatisticsHeaders\",\n modelProperties: {\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ServiceGetStatisticsExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Service_getStatisticsExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"ServiceGetStatisticsExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ServiceListContainersSegmentHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Service_listContainersSegmentHeaders\",\n type: {\n name: \"Composite\",\n className: \"ServiceListContainersSegmentHeaders\",\n modelProperties: {\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ServiceListContainersSegmentExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Service_listContainersSegmentExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"ServiceListContainersSegmentExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ServiceGetUserDelegationKeyHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Service_getUserDelegationKeyHeaders\",\n type: {\n name: \"Composite\",\n className: \"ServiceGetUserDelegationKeyHeaders\",\n modelProperties: {\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ServiceGetUserDelegationKeyExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Service_getUserDelegationKeyExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"ServiceGetUserDelegationKeyExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ServiceGetAccountInfoHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Service_getAccountInfoHeaders\",\n type: {\n name: \"Composite\",\n className: \"ServiceGetAccountInfoHeaders\",\n modelProperties: {\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n skuName: {\n serializedName: \"x-ms-sku-name\",\n xmlName: \"x-ms-sku-name\",\n type: {\n name: \"Enum\",\n allowedValues: [\n \"Standard_LRS\",\n \"Standard_GRS\",\n \"Standard_RAGRS\",\n \"Standard_ZRS\",\n \"Premium_LRS\"\n ]\n }\n },\n accountKind: {\n serializedName: \"x-ms-account-kind\",\n xmlName: \"x-ms-account-kind\",\n type: {\n name: \"Enum\",\n allowedValues: [\n \"Storage\",\n \"BlobStorage\",\n \"StorageV2\",\n \"FileStorage\",\n \"BlockBlobStorage\"\n ]\n }\n },\n isHierarchicalNamespaceEnabled: {\n serializedName: \"x-ms-is-hns-enabled\",\n xmlName: \"x-ms-is-hns-enabled\",\n type: {\n name: \"Boolean\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ServiceGetAccountInfoExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Service_getAccountInfoExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"ServiceGetAccountInfoExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ServiceSubmitBatchHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Service_submitBatchHeaders\",\n type: {\n name: \"Composite\",\n className: \"ServiceSubmitBatchHeaders\",\n modelProperties: {\n contentType: {\n serializedName: \"content-type\",\n xmlName: \"content-type\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ServiceSubmitBatchExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Service_submitBatchExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"ServiceSubmitBatchExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ServiceFilterBlobsHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Service_filterBlobsHeaders\",\n type: {\n name: \"Composite\",\n className: \"ServiceFilterBlobsHeaders\",\n modelProperties: {\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ServiceFilterBlobsExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Service_filterBlobsExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"ServiceFilterBlobsExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ContainerCreateHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Container_createHeaders\",\n type: {\n name: \"Composite\",\n className: \"ContainerCreateHeaders\",\n modelProperties: {\n etag: {\n serializedName: \"etag\",\n xmlName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last-modified\",\n xmlName: \"last-modified\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ContainerCreateExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Container_createExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"ContainerCreateExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ContainerGetPropertiesHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Container_getPropertiesHeaders\",\n type: {\n name: \"Composite\",\n className: \"ContainerGetPropertiesHeaders\",\n modelProperties: {\n metadata: {\n serializedName: \"x-ms-meta\",\n xmlName: \"x-ms-meta\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n },\n headerCollectionPrefix: \"x-ms-meta-\"\n },\n etag: {\n serializedName: \"etag\",\n xmlName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last-modified\",\n xmlName: \"last-modified\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n leaseDuration: {\n serializedName: \"x-ms-lease-duration\",\n xmlName: \"x-ms-lease-duration\",\n type: {\n name: \"Enum\",\n allowedValues: [\"infinite\", \"fixed\"]\n }\n },\n leaseState: {\n serializedName: \"x-ms-lease-state\",\n xmlName: \"x-ms-lease-state\",\n type: {\n name: \"Enum\",\n allowedValues: [\n \"available\",\n \"leased\",\n \"expired\",\n \"breaking\",\n \"broken\"\n ]\n }\n },\n leaseStatus: {\n serializedName: \"x-ms-lease-status\",\n xmlName: \"x-ms-lease-status\",\n type: {\n name: \"Enum\",\n allowedValues: [\"locked\", \"unlocked\"]\n }\n },\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n blobPublicAccess: {\n serializedName: \"x-ms-blob-public-access\",\n xmlName: \"x-ms-blob-public-access\",\n type: {\n name: \"Enum\",\n allowedValues: [\"container\", \"blob\"]\n }\n },\n hasImmutabilityPolicy: {\n serializedName: \"x-ms-has-immutability-policy\",\n xmlName: \"x-ms-has-immutability-policy\",\n type: {\n name: \"Boolean\"\n }\n },\n hasLegalHold: {\n serializedName: \"x-ms-has-legal-hold\",\n xmlName: \"x-ms-has-legal-hold\",\n type: {\n name: \"Boolean\"\n }\n },\n defaultEncryptionScope: {\n serializedName: \"x-ms-default-encryption-scope\",\n xmlName: \"x-ms-default-encryption-scope\",\n type: {\n name: \"String\"\n }\n },\n denyEncryptionScopeOverride: {\n serializedName: \"x-ms-deny-encryption-scope-override\",\n xmlName: \"x-ms-deny-encryption-scope-override\",\n type: {\n name: \"Boolean\"\n }\n },\n isImmutableStorageWithVersioningEnabled: {\n serializedName: \"x-ms-immutable-storage-with-versioning-enabled\",\n xmlName: \"x-ms-immutable-storage-with-versioning-enabled\",\n type: {\n name: \"Boolean\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ContainerGetPropertiesExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Container_getPropertiesExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"ContainerGetPropertiesExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ContainerDeleteHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Container_deleteHeaders\",\n type: {\n name: \"Composite\",\n className: \"ContainerDeleteHeaders\",\n modelProperties: {\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ContainerDeleteExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Container_deleteExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"ContainerDeleteExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ContainerSetMetadataHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Container_setMetadataHeaders\",\n type: {\n name: \"Composite\",\n className: \"ContainerSetMetadataHeaders\",\n modelProperties: {\n etag: {\n serializedName: \"etag\",\n xmlName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last-modified\",\n xmlName: \"last-modified\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ContainerSetMetadataExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Container_setMetadataExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"ContainerSetMetadataExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ContainerGetAccessPolicyHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Container_getAccessPolicyHeaders\",\n type: {\n name: \"Composite\",\n className: \"ContainerGetAccessPolicyHeaders\",\n modelProperties: {\n blobPublicAccess: {\n serializedName: \"x-ms-blob-public-access\",\n xmlName: \"x-ms-blob-public-access\",\n type: {\n name: \"Enum\",\n allowedValues: [\"container\", \"blob\"]\n }\n },\n etag: {\n serializedName: \"etag\",\n xmlName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last-modified\",\n xmlName: \"last-modified\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ContainerGetAccessPolicyExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Container_getAccessPolicyExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"ContainerGetAccessPolicyExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ContainerSetAccessPolicyHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Container_setAccessPolicyHeaders\",\n type: {\n name: \"Composite\",\n className: \"ContainerSetAccessPolicyHeaders\",\n modelProperties: {\n etag: {\n serializedName: \"etag\",\n xmlName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last-modified\",\n xmlName: \"last-modified\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ContainerSetAccessPolicyExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Container_setAccessPolicyExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"ContainerSetAccessPolicyExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ContainerRestoreHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Container_restoreHeaders\",\n type: {\n name: \"Composite\",\n className: \"ContainerRestoreHeaders\",\n modelProperties: {\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ContainerRestoreExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Container_restoreExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"ContainerRestoreExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ContainerRenameHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Container_renameHeaders\",\n type: {\n name: \"Composite\",\n className: \"ContainerRenameHeaders\",\n modelProperties: {\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ContainerRenameExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Container_renameExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"ContainerRenameExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ContainerSubmitBatchHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Container_submitBatchHeaders\",\n type: {\n name: \"Composite\",\n className: \"ContainerSubmitBatchHeaders\",\n modelProperties: {\n contentType: {\n serializedName: \"content-type\",\n xmlName: \"content-type\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ContainerSubmitBatchExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Container_submitBatchExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"ContainerSubmitBatchExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ContainerFilterBlobsHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Container_filterBlobsHeaders\",\n type: {\n name: \"Composite\",\n className: \"ContainerFilterBlobsHeaders\",\n modelProperties: {\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n }\n }\n }\n};\n\nexport const ContainerFilterBlobsExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Container_filterBlobsExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"ContainerFilterBlobsExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ContainerAcquireLeaseHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Container_acquireLeaseHeaders\",\n type: {\n name: \"Composite\",\n className: \"ContainerAcquireLeaseHeaders\",\n modelProperties: {\n etag: {\n serializedName: \"etag\",\n xmlName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last-modified\",\n xmlName: \"last-modified\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n leaseId: {\n serializedName: \"x-ms-lease-id\",\n xmlName: \"x-ms-lease-id\",\n type: {\n name: \"String\"\n }\n },\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n }\n }\n }\n};\n\nexport const ContainerAcquireLeaseExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Container_acquireLeaseExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"ContainerAcquireLeaseExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ContainerReleaseLeaseHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Container_releaseLeaseHeaders\",\n type: {\n name: \"Composite\",\n className: \"ContainerReleaseLeaseHeaders\",\n modelProperties: {\n etag: {\n serializedName: \"etag\",\n xmlName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last-modified\",\n xmlName: \"last-modified\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n }\n }\n }\n};\n\nexport const ContainerReleaseLeaseExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Container_releaseLeaseExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"ContainerReleaseLeaseExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ContainerRenewLeaseHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Container_renewLeaseHeaders\",\n type: {\n name: \"Composite\",\n className: \"ContainerRenewLeaseHeaders\",\n modelProperties: {\n etag: {\n serializedName: \"etag\",\n xmlName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last-modified\",\n xmlName: \"last-modified\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n leaseId: {\n serializedName: \"x-ms-lease-id\",\n xmlName: \"x-ms-lease-id\",\n type: {\n name: \"String\"\n }\n },\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n }\n }\n }\n};\n\nexport const ContainerRenewLeaseExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Container_renewLeaseExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"ContainerRenewLeaseExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ContainerBreakLeaseHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Container_breakLeaseHeaders\",\n type: {\n name: \"Composite\",\n className: \"ContainerBreakLeaseHeaders\",\n modelProperties: {\n etag: {\n serializedName: \"etag\",\n xmlName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last-modified\",\n xmlName: \"last-modified\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n leaseTime: {\n serializedName: \"x-ms-lease-time\",\n xmlName: \"x-ms-lease-time\",\n type: {\n name: \"Number\"\n }\n },\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n }\n }\n }\n};\n\nexport const ContainerBreakLeaseExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Container_breakLeaseExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"ContainerBreakLeaseExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ContainerChangeLeaseHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Container_changeLeaseHeaders\",\n type: {\n name: \"Composite\",\n className: \"ContainerChangeLeaseHeaders\",\n modelProperties: {\n etag: {\n serializedName: \"etag\",\n xmlName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last-modified\",\n xmlName: \"last-modified\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n leaseId: {\n serializedName: \"x-ms-lease-id\",\n xmlName: \"x-ms-lease-id\",\n type: {\n name: \"String\"\n }\n },\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n }\n }\n }\n};\n\nexport const ContainerChangeLeaseExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Container_changeLeaseExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"ContainerChangeLeaseExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ContainerListBlobFlatSegmentHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Container_listBlobFlatSegmentHeaders\",\n type: {\n name: \"Composite\",\n className: \"ContainerListBlobFlatSegmentHeaders\",\n modelProperties: {\n contentType: {\n serializedName: \"content-type\",\n xmlName: \"content-type\",\n type: {\n name: \"String\"\n }\n },\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ContainerListBlobFlatSegmentExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Container_listBlobFlatSegmentExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"ContainerListBlobFlatSegmentExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ContainerListBlobHierarchySegmentHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Container_listBlobHierarchySegmentHeaders\",\n type: {\n name: \"Composite\",\n className: \"ContainerListBlobHierarchySegmentHeaders\",\n modelProperties: {\n contentType: {\n serializedName: \"content-type\",\n xmlName: \"content-type\",\n type: {\n name: \"String\"\n }\n },\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ContainerListBlobHierarchySegmentExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Container_listBlobHierarchySegmentExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"ContainerListBlobHierarchySegmentExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ContainerGetAccountInfoHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Container_getAccountInfoHeaders\",\n type: {\n name: \"Composite\",\n className: \"ContainerGetAccountInfoHeaders\",\n modelProperties: {\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n skuName: {\n serializedName: \"x-ms-sku-name\",\n xmlName: \"x-ms-sku-name\",\n type: {\n name: \"Enum\",\n allowedValues: [\n \"Standard_LRS\",\n \"Standard_GRS\",\n \"Standard_RAGRS\",\n \"Standard_ZRS\",\n \"Premium_LRS\"\n ]\n }\n },\n accountKind: {\n serializedName: \"x-ms-account-kind\",\n xmlName: \"x-ms-account-kind\",\n type: {\n name: \"Enum\",\n allowedValues: [\n \"Storage\",\n \"BlobStorage\",\n \"StorageV2\",\n \"FileStorage\",\n \"BlockBlobStorage\"\n ]\n }\n }\n }\n }\n};\n\nexport const ContainerGetAccountInfoExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Container_getAccountInfoExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"ContainerGetAccountInfoExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlobDownloadHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_downloadHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobDownloadHeaders\",\n modelProperties: {\n lastModified: {\n serializedName: \"last-modified\",\n xmlName: \"last-modified\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n metadata: {\n serializedName: \"x-ms-meta\",\n xmlName: \"x-ms-meta\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n },\n headerCollectionPrefix: \"x-ms-meta-\"\n },\n objectReplicationPolicyId: {\n serializedName: \"x-ms-or-policy-id\",\n xmlName: \"x-ms-or-policy-id\",\n type: {\n name: \"String\"\n }\n },\n objectReplicationRules: {\n serializedName: \"x-ms-or\",\n xmlName: \"x-ms-or\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n },\n headerCollectionPrefix: \"x-ms-or-\"\n },\n contentLength: {\n serializedName: \"content-length\",\n xmlName: \"content-length\",\n type: {\n name: \"Number\"\n }\n },\n contentType: {\n serializedName: \"content-type\",\n xmlName: \"content-type\",\n type: {\n name: \"String\"\n }\n },\n contentRange: {\n serializedName: \"content-range\",\n xmlName: \"content-range\",\n type: {\n name: \"String\"\n }\n },\n etag: {\n serializedName: \"etag\",\n xmlName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n contentMD5: {\n serializedName: \"content-md5\",\n xmlName: \"content-md5\",\n type: {\n name: \"ByteArray\"\n }\n },\n contentEncoding: {\n serializedName: \"content-encoding\",\n xmlName: \"content-encoding\",\n type: {\n name: \"String\"\n }\n },\n cacheControl: {\n serializedName: \"cache-control\",\n xmlName: \"cache-control\",\n type: {\n name: \"String\"\n }\n },\n contentDisposition: {\n serializedName: \"content-disposition\",\n xmlName: \"content-disposition\",\n type: {\n name: \"String\"\n }\n },\n contentLanguage: {\n serializedName: \"content-language\",\n xmlName: \"content-language\",\n type: {\n name: \"String\"\n }\n },\n blobSequenceNumber: {\n serializedName: \"x-ms-blob-sequence-number\",\n xmlName: \"x-ms-blob-sequence-number\",\n type: {\n name: \"Number\"\n }\n },\n blobType: {\n serializedName: \"x-ms-blob-type\",\n xmlName: \"x-ms-blob-type\",\n type: {\n name: \"Enum\",\n allowedValues: [\"BlockBlob\", \"PageBlob\", \"AppendBlob\"]\n }\n },\n copyCompletedOn: {\n serializedName: \"x-ms-copy-completion-time\",\n xmlName: \"x-ms-copy-completion-time\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n copyStatusDescription: {\n serializedName: \"x-ms-copy-status-description\",\n xmlName: \"x-ms-copy-status-description\",\n type: {\n name: \"String\"\n }\n },\n copyId: {\n serializedName: \"x-ms-copy-id\",\n xmlName: \"x-ms-copy-id\",\n type: {\n name: \"String\"\n }\n },\n copyProgress: {\n serializedName: \"x-ms-copy-progress\",\n xmlName: \"x-ms-copy-progress\",\n type: {\n name: \"String\"\n }\n },\n copySource: {\n serializedName: \"x-ms-copy-source\",\n xmlName: \"x-ms-copy-source\",\n type: {\n name: \"String\"\n }\n },\n copyStatus: {\n serializedName: \"x-ms-copy-status\",\n xmlName: \"x-ms-copy-status\",\n type: {\n name: \"Enum\",\n allowedValues: [\"pending\", \"success\", \"aborted\", \"failed\"]\n }\n },\n leaseDuration: {\n serializedName: \"x-ms-lease-duration\",\n xmlName: \"x-ms-lease-duration\",\n type: {\n name: \"Enum\",\n allowedValues: [\"infinite\", \"fixed\"]\n }\n },\n leaseState: {\n serializedName: \"x-ms-lease-state\",\n xmlName: \"x-ms-lease-state\",\n type: {\n name: \"Enum\",\n allowedValues: [\n \"available\",\n \"leased\",\n \"expired\",\n \"breaking\",\n \"broken\"\n ]\n }\n },\n leaseStatus: {\n serializedName: \"x-ms-lease-status\",\n xmlName: \"x-ms-lease-status\",\n type: {\n name: \"Enum\",\n allowedValues: [\"locked\", \"unlocked\"]\n }\n },\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n versionId: {\n serializedName: \"x-ms-version-id\",\n xmlName: \"x-ms-version-id\",\n type: {\n name: \"String\"\n }\n },\n isCurrentVersion: {\n serializedName: \"x-ms-is-current-version\",\n xmlName: \"x-ms-is-current-version\",\n type: {\n name: \"Boolean\"\n }\n },\n acceptRanges: {\n serializedName: \"accept-ranges\",\n xmlName: \"accept-ranges\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n blobCommittedBlockCount: {\n serializedName: \"x-ms-blob-committed-block-count\",\n xmlName: \"x-ms-blob-committed-block-count\",\n type: {\n name: \"Number\"\n }\n },\n isServerEncrypted: {\n serializedName: \"x-ms-server-encrypted\",\n xmlName: \"x-ms-server-encrypted\",\n type: {\n name: \"Boolean\"\n }\n },\n encryptionKeySha256: {\n serializedName: \"x-ms-encryption-key-sha256\",\n xmlName: \"x-ms-encryption-key-sha256\",\n type: {\n name: \"String\"\n }\n },\n encryptionScope: {\n serializedName: \"x-ms-encryption-scope\",\n xmlName: \"x-ms-encryption-scope\",\n type: {\n name: \"String\"\n }\n },\n blobContentMD5: {\n serializedName: \"x-ms-blob-content-md5\",\n xmlName: \"x-ms-blob-content-md5\",\n type: {\n name: \"ByteArray\"\n }\n },\n tagCount: {\n serializedName: \"x-ms-tag-count\",\n xmlName: \"x-ms-tag-count\",\n type: {\n name: \"Number\"\n }\n },\n isSealed: {\n serializedName: \"x-ms-blob-sealed\",\n xmlName: \"x-ms-blob-sealed\",\n type: {\n name: \"Boolean\"\n }\n },\n lastAccessed: {\n serializedName: \"x-ms-last-access-time\",\n xmlName: \"x-ms-last-access-time\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n immutabilityPolicyExpiresOn: {\n serializedName: \"x-ms-immutability-policy-until-date\",\n xmlName: \"x-ms-immutability-policy-until-date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n immutabilityPolicyMode: {\n serializedName: \"x-ms-immutability-policy-mode\",\n xmlName: \"x-ms-immutability-policy-mode\",\n type: {\n name: \"Enum\",\n allowedValues: [\"Mutable\", \"Unlocked\", \"Locked\"]\n }\n },\n legalHold: {\n serializedName: \"x-ms-legal-hold\",\n xmlName: \"x-ms-legal-hold\",\n type: {\n name: \"Boolean\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n },\n contentCrc64: {\n serializedName: \"x-ms-content-crc64\",\n xmlName: \"x-ms-content-crc64\",\n type: {\n name: \"ByteArray\"\n }\n }\n }\n }\n};\n\nexport const BlobDownloadExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_downloadExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobDownloadExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlobGetPropertiesHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_getPropertiesHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobGetPropertiesHeaders\",\n modelProperties: {\n lastModified: {\n serializedName: \"last-modified\",\n xmlName: \"last-modified\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n createdOn: {\n serializedName: \"x-ms-creation-time\",\n xmlName: \"x-ms-creation-time\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n metadata: {\n serializedName: \"x-ms-meta\",\n xmlName: \"x-ms-meta\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n },\n headerCollectionPrefix: \"x-ms-meta-\"\n },\n objectReplicationPolicyId: {\n serializedName: \"x-ms-or-policy-id\",\n xmlName: \"x-ms-or-policy-id\",\n type: {\n name: \"String\"\n }\n },\n objectReplicationRules: {\n serializedName: \"x-ms-or\",\n xmlName: \"x-ms-or\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n },\n headerCollectionPrefix: \"x-ms-or-\"\n },\n blobType: {\n serializedName: \"x-ms-blob-type\",\n xmlName: \"x-ms-blob-type\",\n type: {\n name: \"Enum\",\n allowedValues: [\"BlockBlob\", \"PageBlob\", \"AppendBlob\"]\n }\n },\n copyCompletedOn: {\n serializedName: \"x-ms-copy-completion-time\",\n xmlName: \"x-ms-copy-completion-time\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n copyStatusDescription: {\n serializedName: \"x-ms-copy-status-description\",\n xmlName: \"x-ms-copy-status-description\",\n type: {\n name: \"String\"\n }\n },\n copyId: {\n serializedName: \"x-ms-copy-id\",\n xmlName: \"x-ms-copy-id\",\n type: {\n name: \"String\"\n }\n },\n copyProgress: {\n serializedName: \"x-ms-copy-progress\",\n xmlName: \"x-ms-copy-progress\",\n type: {\n name: \"String\"\n }\n },\n copySource: {\n serializedName: \"x-ms-copy-source\",\n xmlName: \"x-ms-copy-source\",\n type: {\n name: \"String\"\n }\n },\n copyStatus: {\n serializedName: \"x-ms-copy-status\",\n xmlName: \"x-ms-copy-status\",\n type: {\n name: \"Enum\",\n allowedValues: [\"pending\", \"success\", \"aborted\", \"failed\"]\n }\n },\n isIncrementalCopy: {\n serializedName: \"x-ms-incremental-copy\",\n xmlName: \"x-ms-incremental-copy\",\n type: {\n name: \"Boolean\"\n }\n },\n destinationSnapshot: {\n serializedName: \"x-ms-copy-destination-snapshot\",\n xmlName: \"x-ms-copy-destination-snapshot\",\n type: {\n name: \"String\"\n }\n },\n leaseDuration: {\n serializedName: \"x-ms-lease-duration\",\n xmlName: \"x-ms-lease-duration\",\n type: {\n name: \"Enum\",\n allowedValues: [\"infinite\", \"fixed\"]\n }\n },\n leaseState: {\n serializedName: \"x-ms-lease-state\",\n xmlName: \"x-ms-lease-state\",\n type: {\n name: \"Enum\",\n allowedValues: [\n \"available\",\n \"leased\",\n \"expired\",\n \"breaking\",\n \"broken\"\n ]\n }\n },\n leaseStatus: {\n serializedName: \"x-ms-lease-status\",\n xmlName: \"x-ms-lease-status\",\n type: {\n name: \"Enum\",\n allowedValues: [\"locked\", \"unlocked\"]\n }\n },\n contentLength: {\n serializedName: \"content-length\",\n xmlName: \"content-length\",\n type: {\n name: \"Number\"\n }\n },\n contentType: {\n serializedName: \"content-type\",\n xmlName: \"content-type\",\n type: {\n name: \"String\"\n }\n },\n etag: {\n serializedName: \"etag\",\n xmlName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n contentMD5: {\n serializedName: \"content-md5\",\n xmlName: \"content-md5\",\n type: {\n name: \"ByteArray\"\n }\n },\n contentEncoding: {\n serializedName: \"content-encoding\",\n xmlName: \"content-encoding\",\n type: {\n name: \"String\"\n }\n },\n contentDisposition: {\n serializedName: \"content-disposition\",\n xmlName: \"content-disposition\",\n type: {\n name: \"String\"\n }\n },\n contentLanguage: {\n serializedName: \"content-language\",\n xmlName: \"content-language\",\n type: {\n name: \"String\"\n }\n },\n cacheControl: {\n serializedName: \"cache-control\",\n xmlName: \"cache-control\",\n type: {\n name: \"String\"\n }\n },\n blobSequenceNumber: {\n serializedName: \"x-ms-blob-sequence-number\",\n xmlName: \"x-ms-blob-sequence-number\",\n type: {\n name: \"Number\"\n }\n },\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n acceptRanges: {\n serializedName: \"accept-ranges\",\n xmlName: \"accept-ranges\",\n type: {\n name: \"String\"\n }\n },\n blobCommittedBlockCount: {\n serializedName: \"x-ms-blob-committed-block-count\",\n xmlName: \"x-ms-blob-committed-block-count\",\n type: {\n name: \"Number\"\n }\n },\n isServerEncrypted: {\n serializedName: \"x-ms-server-encrypted\",\n xmlName: \"x-ms-server-encrypted\",\n type: {\n name: \"Boolean\"\n }\n },\n encryptionKeySha256: {\n serializedName: \"x-ms-encryption-key-sha256\",\n xmlName: \"x-ms-encryption-key-sha256\",\n type: {\n name: \"String\"\n }\n },\n encryptionScope: {\n serializedName: \"x-ms-encryption-scope\",\n xmlName: \"x-ms-encryption-scope\",\n type: {\n name: \"String\"\n }\n },\n accessTier: {\n serializedName: \"x-ms-access-tier\",\n xmlName: \"x-ms-access-tier\",\n type: {\n name: \"String\"\n }\n },\n accessTierInferred: {\n serializedName: \"x-ms-access-tier-inferred\",\n xmlName: \"x-ms-access-tier-inferred\",\n type: {\n name: \"Boolean\"\n }\n },\n archiveStatus: {\n serializedName: \"x-ms-archive-status\",\n xmlName: \"x-ms-archive-status\",\n type: {\n name: \"String\"\n }\n },\n accessTierChangedOn: {\n serializedName: \"x-ms-access-tier-change-time\",\n xmlName: \"x-ms-access-tier-change-time\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n versionId: {\n serializedName: \"x-ms-version-id\",\n xmlName: \"x-ms-version-id\",\n type: {\n name: \"String\"\n }\n },\n isCurrentVersion: {\n serializedName: \"x-ms-is-current-version\",\n xmlName: \"x-ms-is-current-version\",\n type: {\n name: \"Boolean\"\n }\n },\n tagCount: {\n serializedName: \"x-ms-tag-count\",\n xmlName: \"x-ms-tag-count\",\n type: {\n name: \"Number\"\n }\n },\n expiresOn: {\n serializedName: \"x-ms-expiry-time\",\n xmlName: \"x-ms-expiry-time\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n isSealed: {\n serializedName: \"x-ms-blob-sealed\",\n xmlName: \"x-ms-blob-sealed\",\n type: {\n name: \"Boolean\"\n }\n },\n rehydratePriority: {\n serializedName: \"x-ms-rehydrate-priority\",\n xmlName: \"x-ms-rehydrate-priority\",\n type: {\n name: \"Enum\",\n allowedValues: [\"High\", \"Standard\"]\n }\n },\n lastAccessed: {\n serializedName: \"x-ms-last-access-time\",\n xmlName: \"x-ms-last-access-time\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n immutabilityPolicyExpiresOn: {\n serializedName: \"x-ms-immutability-policy-until-date\",\n xmlName: \"x-ms-immutability-policy-until-date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n immutabilityPolicyMode: {\n serializedName: \"x-ms-immutability-policy-mode\",\n xmlName: \"x-ms-immutability-policy-mode\",\n type: {\n name: \"Enum\",\n allowedValues: [\"Mutable\", \"Unlocked\", \"Locked\"]\n }\n },\n legalHold: {\n serializedName: \"x-ms-legal-hold\",\n xmlName: \"x-ms-legal-hold\",\n type: {\n name: \"Boolean\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlobGetPropertiesExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_getPropertiesExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobGetPropertiesExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlobDeleteHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_deleteHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobDeleteHeaders\",\n modelProperties: {\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlobDeleteExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_deleteExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobDeleteExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlobUndeleteHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_undeleteHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobUndeleteHeaders\",\n modelProperties: {\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlobUndeleteExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_undeleteExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobUndeleteExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlobSetExpiryHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_setExpiryHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobSetExpiryHeaders\",\n modelProperties: {\n etag: {\n serializedName: \"etag\",\n xmlName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last-modified\",\n xmlName: \"last-modified\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n }\n }\n }\n};\n\nexport const BlobSetExpiryExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_setExpiryExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobSetExpiryExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlobSetHttpHeadersHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_setHttpHeadersHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobSetHttpHeadersHeaders\",\n modelProperties: {\n etag: {\n serializedName: \"etag\",\n xmlName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last-modified\",\n xmlName: \"last-modified\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n blobSequenceNumber: {\n serializedName: \"x-ms-blob-sequence-number\",\n xmlName: \"x-ms-blob-sequence-number\",\n type: {\n name: \"Number\"\n }\n },\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlobSetHttpHeadersExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_setHttpHeadersExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobSetHttpHeadersExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlobSetImmutabilityPolicyHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_setImmutabilityPolicyHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobSetImmutabilityPolicyHeaders\",\n modelProperties: {\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n immutabilityPolicyExpiry: {\n serializedName: \"x-ms-immutability-policy-until-date\",\n xmlName: \"x-ms-immutability-policy-until-date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n immutabilityPolicyMode: {\n serializedName: \"x-ms-immutability-policy-mode\",\n xmlName: \"x-ms-immutability-policy-mode\",\n type: {\n name: \"Enum\",\n allowedValues: [\"Mutable\", \"Unlocked\", \"Locked\"]\n }\n }\n }\n }\n};\n\nexport const BlobSetImmutabilityPolicyExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_setImmutabilityPolicyExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobSetImmutabilityPolicyExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlobDeleteImmutabilityPolicyHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_deleteImmutabilityPolicyHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobDeleteImmutabilityPolicyHeaders\",\n modelProperties: {\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n }\n }\n }\n};\n\nexport const BlobDeleteImmutabilityPolicyExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_deleteImmutabilityPolicyExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobDeleteImmutabilityPolicyExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlobSetLegalHoldHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_setLegalHoldHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobSetLegalHoldHeaders\",\n modelProperties: {\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n legalHold: {\n serializedName: \"x-ms-legal-hold\",\n xmlName: \"x-ms-legal-hold\",\n type: {\n name: \"Boolean\"\n }\n }\n }\n }\n};\n\nexport const BlobSetLegalHoldExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_setLegalHoldExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobSetLegalHoldExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlobSetMetadataHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_setMetadataHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobSetMetadataHeaders\",\n modelProperties: {\n etag: {\n serializedName: \"etag\",\n xmlName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last-modified\",\n xmlName: \"last-modified\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n versionId: {\n serializedName: \"x-ms-version-id\",\n xmlName: \"x-ms-version-id\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n isServerEncrypted: {\n serializedName: \"x-ms-request-server-encrypted\",\n xmlName: \"x-ms-request-server-encrypted\",\n type: {\n name: \"Boolean\"\n }\n },\n encryptionKeySha256: {\n serializedName: \"x-ms-encryption-key-sha256\",\n xmlName: \"x-ms-encryption-key-sha256\",\n type: {\n name: \"String\"\n }\n },\n encryptionScope: {\n serializedName: \"x-ms-encryption-scope\",\n xmlName: \"x-ms-encryption-scope\",\n type: {\n name: \"String\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlobSetMetadataExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_setMetadataExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobSetMetadataExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlobAcquireLeaseHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_acquireLeaseHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobAcquireLeaseHeaders\",\n modelProperties: {\n etag: {\n serializedName: \"etag\",\n xmlName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last-modified\",\n xmlName: \"last-modified\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n leaseId: {\n serializedName: \"x-ms-lease-id\",\n xmlName: \"x-ms-lease-id\",\n type: {\n name: \"String\"\n }\n },\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n }\n }\n }\n};\n\nexport const BlobAcquireLeaseExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_acquireLeaseExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobAcquireLeaseExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlobReleaseLeaseHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_releaseLeaseHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobReleaseLeaseHeaders\",\n modelProperties: {\n etag: {\n serializedName: \"etag\",\n xmlName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last-modified\",\n xmlName: \"last-modified\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n }\n }\n }\n};\n\nexport const BlobReleaseLeaseExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_releaseLeaseExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobReleaseLeaseExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlobRenewLeaseHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_renewLeaseHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobRenewLeaseHeaders\",\n modelProperties: {\n etag: {\n serializedName: \"etag\",\n xmlName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last-modified\",\n xmlName: \"last-modified\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n leaseId: {\n serializedName: \"x-ms-lease-id\",\n xmlName: \"x-ms-lease-id\",\n type: {\n name: \"String\"\n }\n },\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n }\n }\n }\n};\n\nexport const BlobRenewLeaseExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_renewLeaseExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobRenewLeaseExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlobChangeLeaseHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_changeLeaseHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobChangeLeaseHeaders\",\n modelProperties: {\n etag: {\n serializedName: \"etag\",\n xmlName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last-modified\",\n xmlName: \"last-modified\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n leaseId: {\n serializedName: \"x-ms-lease-id\",\n xmlName: \"x-ms-lease-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n }\n }\n }\n};\n\nexport const BlobChangeLeaseExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_changeLeaseExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobChangeLeaseExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlobBreakLeaseHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_breakLeaseHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobBreakLeaseHeaders\",\n modelProperties: {\n etag: {\n serializedName: \"etag\",\n xmlName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last-modified\",\n xmlName: \"last-modified\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n leaseTime: {\n serializedName: \"x-ms-lease-time\",\n xmlName: \"x-ms-lease-time\",\n type: {\n name: \"Number\"\n }\n },\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n }\n }\n }\n};\n\nexport const BlobBreakLeaseExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_breakLeaseExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobBreakLeaseExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlobCreateSnapshotHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_createSnapshotHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobCreateSnapshotHeaders\",\n modelProperties: {\n snapshot: {\n serializedName: \"x-ms-snapshot\",\n xmlName: \"x-ms-snapshot\",\n type: {\n name: \"String\"\n }\n },\n etag: {\n serializedName: \"etag\",\n xmlName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last-modified\",\n xmlName: \"last-modified\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n versionId: {\n serializedName: \"x-ms-version-id\",\n xmlName: \"x-ms-version-id\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n isServerEncrypted: {\n serializedName: \"x-ms-request-server-encrypted\",\n xmlName: \"x-ms-request-server-encrypted\",\n type: {\n name: \"Boolean\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlobCreateSnapshotExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_createSnapshotExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobCreateSnapshotExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlobStartCopyFromURLHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_startCopyFromURLHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobStartCopyFromURLHeaders\",\n modelProperties: {\n etag: {\n serializedName: \"etag\",\n xmlName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last-modified\",\n xmlName: \"last-modified\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n versionId: {\n serializedName: \"x-ms-version-id\",\n xmlName: \"x-ms-version-id\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n copyId: {\n serializedName: \"x-ms-copy-id\",\n xmlName: \"x-ms-copy-id\",\n type: {\n name: \"String\"\n }\n },\n copyStatus: {\n serializedName: \"x-ms-copy-status\",\n xmlName: \"x-ms-copy-status\",\n type: {\n name: \"Enum\",\n allowedValues: [\"pending\", \"success\", \"aborted\", \"failed\"]\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlobStartCopyFromURLExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_startCopyFromURLExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobStartCopyFromURLExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlobCopyFromURLHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_copyFromURLHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobCopyFromURLHeaders\",\n modelProperties: {\n etag: {\n serializedName: \"etag\",\n xmlName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last-modified\",\n xmlName: \"last-modified\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n versionId: {\n serializedName: \"x-ms-version-id\",\n xmlName: \"x-ms-version-id\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n copyId: {\n serializedName: \"x-ms-copy-id\",\n xmlName: \"x-ms-copy-id\",\n type: {\n name: \"String\"\n }\n },\n copyStatus: {\n defaultValue: \"success\",\n isConstant: true,\n serializedName: \"x-ms-copy-status\",\n type: {\n name: \"String\"\n }\n },\n contentMD5: {\n serializedName: \"content-md5\",\n xmlName: \"content-md5\",\n type: {\n name: \"ByteArray\"\n }\n },\n xMsContentCrc64: {\n serializedName: \"x-ms-content-crc64\",\n xmlName: \"x-ms-content-crc64\",\n type: {\n name: \"ByteArray\"\n }\n },\n encryptionScope: {\n serializedName: \"x-ms-encryption-scope\",\n xmlName: \"x-ms-encryption-scope\",\n type: {\n name: \"String\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlobCopyFromURLExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_copyFromURLExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobCopyFromURLExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlobAbortCopyFromURLHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_abortCopyFromURLHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobAbortCopyFromURLHeaders\",\n modelProperties: {\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlobAbortCopyFromURLExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_abortCopyFromURLExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobAbortCopyFromURLExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlobSetTierHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_setTierHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobSetTierHeaders\",\n modelProperties: {\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlobSetTierExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_setTierExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobSetTierExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlobGetAccountInfoHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_getAccountInfoHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobGetAccountInfoHeaders\",\n modelProperties: {\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n skuName: {\n serializedName: \"x-ms-sku-name\",\n xmlName: \"x-ms-sku-name\",\n type: {\n name: \"Enum\",\n allowedValues: [\n \"Standard_LRS\",\n \"Standard_GRS\",\n \"Standard_RAGRS\",\n \"Standard_ZRS\",\n \"Premium_LRS\"\n ]\n }\n },\n accountKind: {\n serializedName: \"x-ms-account-kind\",\n xmlName: \"x-ms-account-kind\",\n type: {\n name: \"Enum\",\n allowedValues: [\n \"Storage\",\n \"BlobStorage\",\n \"StorageV2\",\n \"FileStorage\",\n \"BlockBlobStorage\"\n ]\n }\n }\n }\n }\n};\n\nexport const BlobGetAccountInfoExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_getAccountInfoExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobGetAccountInfoExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlobQueryHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_queryHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobQueryHeaders\",\n modelProperties: {\n lastModified: {\n serializedName: \"last-modified\",\n xmlName: \"last-modified\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n metadata: {\n serializedName: \"x-ms-meta\",\n xmlName: \"x-ms-meta\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n contentLength: {\n serializedName: \"content-length\",\n xmlName: \"content-length\",\n type: {\n name: \"Number\"\n }\n },\n contentType: {\n serializedName: \"content-type\",\n xmlName: \"content-type\",\n type: {\n name: \"String\"\n }\n },\n contentRange: {\n serializedName: \"content-range\",\n xmlName: \"content-range\",\n type: {\n name: \"String\"\n }\n },\n etag: {\n serializedName: \"etag\",\n xmlName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n contentMD5: {\n serializedName: \"content-md5\",\n xmlName: \"content-md5\",\n type: {\n name: \"ByteArray\"\n }\n },\n contentEncoding: {\n serializedName: \"content-encoding\",\n xmlName: \"content-encoding\",\n type: {\n name: \"String\"\n }\n },\n cacheControl: {\n serializedName: \"cache-control\",\n xmlName: \"cache-control\",\n type: {\n name: \"String\"\n }\n },\n contentDisposition: {\n serializedName: \"content-disposition\",\n xmlName: \"content-disposition\",\n type: {\n name: \"String\"\n }\n },\n contentLanguage: {\n serializedName: \"content-language\",\n xmlName: \"content-language\",\n type: {\n name: \"String\"\n }\n },\n blobSequenceNumber: {\n serializedName: \"x-ms-blob-sequence-number\",\n xmlName: \"x-ms-blob-sequence-number\",\n type: {\n name: \"Number\"\n }\n },\n blobType: {\n serializedName: \"x-ms-blob-type\",\n xmlName: \"x-ms-blob-type\",\n type: {\n name: \"Enum\",\n allowedValues: [\"BlockBlob\", \"PageBlob\", \"AppendBlob\"]\n }\n },\n copyCompletionTime: {\n serializedName: \"x-ms-copy-completion-time\",\n xmlName: \"x-ms-copy-completion-time\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n copyStatusDescription: {\n serializedName: \"x-ms-copy-status-description\",\n xmlName: \"x-ms-copy-status-description\",\n type: {\n name: \"String\"\n }\n },\n copyId: {\n serializedName: \"x-ms-copy-id\",\n xmlName: \"x-ms-copy-id\",\n type: {\n name: \"String\"\n }\n },\n copyProgress: {\n serializedName: \"x-ms-copy-progress\",\n xmlName: \"x-ms-copy-progress\",\n type: {\n name: \"String\"\n }\n },\n copySource: {\n serializedName: \"x-ms-copy-source\",\n xmlName: \"x-ms-copy-source\",\n type: {\n name: \"String\"\n }\n },\n copyStatus: {\n serializedName: \"x-ms-copy-status\",\n xmlName: \"x-ms-copy-status\",\n type: {\n name: \"Enum\",\n allowedValues: [\"pending\", \"success\", \"aborted\", \"failed\"]\n }\n },\n leaseDuration: {\n serializedName: \"x-ms-lease-duration\",\n xmlName: \"x-ms-lease-duration\",\n type: {\n name: \"Enum\",\n allowedValues: [\"infinite\", \"fixed\"]\n }\n },\n leaseState: {\n serializedName: \"x-ms-lease-state\",\n xmlName: \"x-ms-lease-state\",\n type: {\n name: \"Enum\",\n allowedValues: [\n \"available\",\n \"leased\",\n \"expired\",\n \"breaking\",\n \"broken\"\n ]\n }\n },\n leaseStatus: {\n serializedName: \"x-ms-lease-status\",\n xmlName: \"x-ms-lease-status\",\n type: {\n name: \"Enum\",\n allowedValues: [\"locked\", \"unlocked\"]\n }\n },\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n acceptRanges: {\n serializedName: \"accept-ranges\",\n xmlName: \"accept-ranges\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n blobCommittedBlockCount: {\n serializedName: \"x-ms-blob-committed-block-count\",\n xmlName: \"x-ms-blob-committed-block-count\",\n type: {\n name: \"Number\"\n }\n },\n isServerEncrypted: {\n serializedName: \"x-ms-server-encrypted\",\n xmlName: \"x-ms-server-encrypted\",\n type: {\n name: \"Boolean\"\n }\n },\n encryptionKeySha256: {\n serializedName: \"x-ms-encryption-key-sha256\",\n xmlName: \"x-ms-encryption-key-sha256\",\n type: {\n name: \"String\"\n }\n },\n encryptionScope: {\n serializedName: \"x-ms-encryption-scope\",\n xmlName: \"x-ms-encryption-scope\",\n type: {\n name: \"String\"\n }\n },\n blobContentMD5: {\n serializedName: \"x-ms-blob-content-md5\",\n xmlName: \"x-ms-blob-content-md5\",\n type: {\n name: \"ByteArray\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n },\n contentCrc64: {\n serializedName: \"x-ms-content-crc64\",\n xmlName: \"x-ms-content-crc64\",\n type: {\n name: \"ByteArray\"\n }\n }\n }\n }\n};\n\nexport const BlobQueryExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_queryExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobQueryExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlobGetTagsHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_getTagsHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobGetTagsHeaders\",\n modelProperties: {\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlobGetTagsExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_getTagsExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobGetTagsExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlobSetTagsHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_setTagsHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobSetTagsHeaders\",\n modelProperties: {\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlobSetTagsExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"Blob_setTagsExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlobSetTagsExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PageBlobCreateHeaders: coreHttp.CompositeMapper = {\n serializedName: \"PageBlob_createHeaders\",\n type: {\n name: \"Composite\",\n className: \"PageBlobCreateHeaders\",\n modelProperties: {\n etag: {\n serializedName: \"etag\",\n xmlName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last-modified\",\n xmlName: \"last-modified\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n contentMD5: {\n serializedName: \"content-md5\",\n xmlName: \"content-md5\",\n type: {\n name: \"ByteArray\"\n }\n },\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n versionId: {\n serializedName: \"x-ms-version-id\",\n xmlName: \"x-ms-version-id\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n isServerEncrypted: {\n serializedName: \"x-ms-request-server-encrypted\",\n xmlName: \"x-ms-request-server-encrypted\",\n type: {\n name: \"Boolean\"\n }\n },\n encryptionKeySha256: {\n serializedName: \"x-ms-encryption-key-sha256\",\n xmlName: \"x-ms-encryption-key-sha256\",\n type: {\n name: \"String\"\n }\n },\n encryptionScope: {\n serializedName: \"x-ms-encryption-scope\",\n xmlName: \"x-ms-encryption-scope\",\n type: {\n name: \"String\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PageBlobCreateExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"PageBlob_createExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"PageBlobCreateExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PageBlobUploadPagesHeaders: coreHttp.CompositeMapper = {\n serializedName: \"PageBlob_uploadPagesHeaders\",\n type: {\n name: \"Composite\",\n className: \"PageBlobUploadPagesHeaders\",\n modelProperties: {\n etag: {\n serializedName: \"etag\",\n xmlName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last-modified\",\n xmlName: \"last-modified\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n contentMD5: {\n serializedName: \"content-md5\",\n xmlName: \"content-md5\",\n type: {\n name: \"ByteArray\"\n }\n },\n xMsContentCrc64: {\n serializedName: \"x-ms-content-crc64\",\n xmlName: \"x-ms-content-crc64\",\n type: {\n name: \"ByteArray\"\n }\n },\n blobSequenceNumber: {\n serializedName: \"x-ms-blob-sequence-number\",\n xmlName: \"x-ms-blob-sequence-number\",\n type: {\n name: \"Number\"\n }\n },\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n isServerEncrypted: {\n serializedName: \"x-ms-request-server-encrypted\",\n xmlName: \"x-ms-request-server-encrypted\",\n type: {\n name: \"Boolean\"\n }\n },\n encryptionKeySha256: {\n serializedName: \"x-ms-encryption-key-sha256\",\n xmlName: \"x-ms-encryption-key-sha256\",\n type: {\n name: \"String\"\n }\n },\n encryptionScope: {\n serializedName: \"x-ms-encryption-scope\",\n xmlName: \"x-ms-encryption-scope\",\n type: {\n name: \"String\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PageBlobUploadPagesExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"PageBlob_uploadPagesExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"PageBlobUploadPagesExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PageBlobClearPagesHeaders: coreHttp.CompositeMapper = {\n serializedName: \"PageBlob_clearPagesHeaders\",\n type: {\n name: \"Composite\",\n className: \"PageBlobClearPagesHeaders\",\n modelProperties: {\n etag: {\n serializedName: \"etag\",\n xmlName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last-modified\",\n xmlName: \"last-modified\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n contentMD5: {\n serializedName: \"content-md5\",\n xmlName: \"content-md5\",\n type: {\n name: \"ByteArray\"\n }\n },\n xMsContentCrc64: {\n serializedName: \"x-ms-content-crc64\",\n xmlName: \"x-ms-content-crc64\",\n type: {\n name: \"ByteArray\"\n }\n },\n blobSequenceNumber: {\n serializedName: \"x-ms-blob-sequence-number\",\n xmlName: \"x-ms-blob-sequence-number\",\n type: {\n name: \"Number\"\n }\n },\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PageBlobClearPagesExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"PageBlob_clearPagesExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"PageBlobClearPagesExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PageBlobUploadPagesFromURLHeaders: coreHttp.CompositeMapper = {\n serializedName: \"PageBlob_uploadPagesFromURLHeaders\",\n type: {\n name: \"Composite\",\n className: \"PageBlobUploadPagesFromURLHeaders\",\n modelProperties: {\n etag: {\n serializedName: \"etag\",\n xmlName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last-modified\",\n xmlName: \"last-modified\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n contentMD5: {\n serializedName: \"content-md5\",\n xmlName: \"content-md5\",\n type: {\n name: \"ByteArray\"\n }\n },\n xMsContentCrc64: {\n serializedName: \"x-ms-content-crc64\",\n xmlName: \"x-ms-content-crc64\",\n type: {\n name: \"ByteArray\"\n }\n },\n blobSequenceNumber: {\n serializedName: \"x-ms-blob-sequence-number\",\n xmlName: \"x-ms-blob-sequence-number\",\n type: {\n name: \"Number\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n isServerEncrypted: {\n serializedName: \"x-ms-request-server-encrypted\",\n xmlName: \"x-ms-request-server-encrypted\",\n type: {\n name: \"Boolean\"\n }\n },\n encryptionKeySha256: {\n serializedName: \"x-ms-encryption-key-sha256\",\n xmlName: \"x-ms-encryption-key-sha256\",\n type: {\n name: \"String\"\n }\n },\n encryptionScope: {\n serializedName: \"x-ms-encryption-scope\",\n xmlName: \"x-ms-encryption-scope\",\n type: {\n name: \"String\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PageBlobUploadPagesFromURLExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"PageBlob_uploadPagesFromURLExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"PageBlobUploadPagesFromURLExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PageBlobGetPageRangesHeaders: coreHttp.CompositeMapper = {\n serializedName: \"PageBlob_getPageRangesHeaders\",\n type: {\n name: \"Composite\",\n className: \"PageBlobGetPageRangesHeaders\",\n modelProperties: {\n lastModified: {\n serializedName: \"last-modified\",\n xmlName: \"last-modified\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n etag: {\n serializedName: \"etag\",\n xmlName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n blobContentLength: {\n serializedName: \"x-ms-blob-content-length\",\n xmlName: \"x-ms-blob-content-length\",\n type: {\n name: \"Number\"\n }\n },\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PageBlobGetPageRangesExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"PageBlob_getPageRangesExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"PageBlobGetPageRangesExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PageBlobGetPageRangesDiffHeaders: coreHttp.CompositeMapper = {\n serializedName: \"PageBlob_getPageRangesDiffHeaders\",\n type: {\n name: \"Composite\",\n className: \"PageBlobGetPageRangesDiffHeaders\",\n modelProperties: {\n lastModified: {\n serializedName: \"last-modified\",\n xmlName: \"last-modified\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n etag: {\n serializedName: \"etag\",\n xmlName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n blobContentLength: {\n serializedName: \"x-ms-blob-content-length\",\n xmlName: \"x-ms-blob-content-length\",\n type: {\n name: \"Number\"\n }\n },\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PageBlobGetPageRangesDiffExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"PageBlob_getPageRangesDiffExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"PageBlobGetPageRangesDiffExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PageBlobResizeHeaders: coreHttp.CompositeMapper = {\n serializedName: \"PageBlob_resizeHeaders\",\n type: {\n name: \"Composite\",\n className: \"PageBlobResizeHeaders\",\n modelProperties: {\n etag: {\n serializedName: \"etag\",\n xmlName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last-modified\",\n xmlName: \"last-modified\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n blobSequenceNumber: {\n serializedName: \"x-ms-blob-sequence-number\",\n xmlName: \"x-ms-blob-sequence-number\",\n type: {\n name: \"Number\"\n }\n },\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PageBlobResizeExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"PageBlob_resizeExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"PageBlobResizeExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PageBlobUpdateSequenceNumberHeaders: coreHttp.CompositeMapper = {\n serializedName: \"PageBlob_updateSequenceNumberHeaders\",\n type: {\n name: \"Composite\",\n className: \"PageBlobUpdateSequenceNumberHeaders\",\n modelProperties: {\n etag: {\n serializedName: \"etag\",\n xmlName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last-modified\",\n xmlName: \"last-modified\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n blobSequenceNumber: {\n serializedName: \"x-ms-blob-sequence-number\",\n xmlName: \"x-ms-blob-sequence-number\",\n type: {\n name: \"Number\"\n }\n },\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PageBlobUpdateSequenceNumberExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"PageBlob_updateSequenceNumberExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"PageBlobUpdateSequenceNumberExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PageBlobCopyIncrementalHeaders: coreHttp.CompositeMapper = {\n serializedName: \"PageBlob_copyIncrementalHeaders\",\n type: {\n name: \"Composite\",\n className: \"PageBlobCopyIncrementalHeaders\",\n modelProperties: {\n etag: {\n serializedName: \"etag\",\n xmlName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last-modified\",\n xmlName: \"last-modified\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n copyId: {\n serializedName: \"x-ms-copy-id\",\n xmlName: \"x-ms-copy-id\",\n type: {\n name: \"String\"\n }\n },\n copyStatus: {\n serializedName: \"x-ms-copy-status\",\n xmlName: \"x-ms-copy-status\",\n type: {\n name: \"Enum\",\n allowedValues: [\"pending\", \"success\", \"aborted\", \"failed\"]\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PageBlobCopyIncrementalExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"PageBlob_copyIncrementalExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"PageBlobCopyIncrementalExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AppendBlobCreateHeaders: coreHttp.CompositeMapper = {\n serializedName: \"AppendBlob_createHeaders\",\n type: {\n name: \"Composite\",\n className: \"AppendBlobCreateHeaders\",\n modelProperties: {\n etag: {\n serializedName: \"etag\",\n xmlName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last-modified\",\n xmlName: \"last-modified\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n contentMD5: {\n serializedName: \"content-md5\",\n xmlName: \"content-md5\",\n type: {\n name: \"ByteArray\"\n }\n },\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n versionId: {\n serializedName: \"x-ms-version-id\",\n xmlName: \"x-ms-version-id\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n isServerEncrypted: {\n serializedName: \"x-ms-request-server-encrypted\",\n xmlName: \"x-ms-request-server-encrypted\",\n type: {\n name: \"Boolean\"\n }\n },\n encryptionKeySha256: {\n serializedName: \"x-ms-encryption-key-sha256\",\n xmlName: \"x-ms-encryption-key-sha256\",\n type: {\n name: \"String\"\n }\n },\n encryptionScope: {\n serializedName: \"x-ms-encryption-scope\",\n xmlName: \"x-ms-encryption-scope\",\n type: {\n name: \"String\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AppendBlobCreateExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"AppendBlob_createExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"AppendBlobCreateExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AppendBlobAppendBlockHeaders: coreHttp.CompositeMapper = {\n serializedName: \"AppendBlob_appendBlockHeaders\",\n type: {\n name: \"Composite\",\n className: \"AppendBlobAppendBlockHeaders\",\n modelProperties: {\n etag: {\n serializedName: \"etag\",\n xmlName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last-modified\",\n xmlName: \"last-modified\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n contentMD5: {\n serializedName: \"content-md5\",\n xmlName: \"content-md5\",\n type: {\n name: \"ByteArray\"\n }\n },\n xMsContentCrc64: {\n serializedName: \"x-ms-content-crc64\",\n xmlName: \"x-ms-content-crc64\",\n type: {\n name: \"ByteArray\"\n }\n },\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n blobAppendOffset: {\n serializedName: \"x-ms-blob-append-offset\",\n xmlName: \"x-ms-blob-append-offset\",\n type: {\n name: \"String\"\n }\n },\n blobCommittedBlockCount: {\n serializedName: \"x-ms-blob-committed-block-count\",\n xmlName: \"x-ms-blob-committed-block-count\",\n type: {\n name: \"Number\"\n }\n },\n isServerEncrypted: {\n serializedName: \"x-ms-request-server-encrypted\",\n xmlName: \"x-ms-request-server-encrypted\",\n type: {\n name: \"Boolean\"\n }\n },\n encryptionKeySha256: {\n serializedName: \"x-ms-encryption-key-sha256\",\n xmlName: \"x-ms-encryption-key-sha256\",\n type: {\n name: \"String\"\n }\n },\n encryptionScope: {\n serializedName: \"x-ms-encryption-scope\",\n xmlName: \"x-ms-encryption-scope\",\n type: {\n name: \"String\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AppendBlobAppendBlockExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"AppendBlob_appendBlockExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"AppendBlobAppendBlockExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AppendBlobAppendBlockFromUrlHeaders: coreHttp.CompositeMapper = {\n serializedName: \"AppendBlob_appendBlockFromUrlHeaders\",\n type: {\n name: \"Composite\",\n className: \"AppendBlobAppendBlockFromUrlHeaders\",\n modelProperties: {\n etag: {\n serializedName: \"etag\",\n xmlName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last-modified\",\n xmlName: \"last-modified\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n contentMD5: {\n serializedName: \"content-md5\",\n xmlName: \"content-md5\",\n type: {\n name: \"ByteArray\"\n }\n },\n xMsContentCrc64: {\n serializedName: \"x-ms-content-crc64\",\n xmlName: \"x-ms-content-crc64\",\n type: {\n name: \"ByteArray\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n blobAppendOffset: {\n serializedName: \"x-ms-blob-append-offset\",\n xmlName: \"x-ms-blob-append-offset\",\n type: {\n name: \"String\"\n }\n },\n blobCommittedBlockCount: {\n serializedName: \"x-ms-blob-committed-block-count\",\n xmlName: \"x-ms-blob-committed-block-count\",\n type: {\n name: \"Number\"\n }\n },\n encryptionKeySha256: {\n serializedName: \"x-ms-encryption-key-sha256\",\n xmlName: \"x-ms-encryption-key-sha256\",\n type: {\n name: \"String\"\n }\n },\n encryptionScope: {\n serializedName: \"x-ms-encryption-scope\",\n xmlName: \"x-ms-encryption-scope\",\n type: {\n name: \"String\"\n }\n },\n isServerEncrypted: {\n serializedName: \"x-ms-request-server-encrypted\",\n xmlName: \"x-ms-request-server-encrypted\",\n type: {\n name: \"Boolean\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AppendBlobAppendBlockFromUrlExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"AppendBlob_appendBlockFromUrlExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"AppendBlobAppendBlockFromUrlExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AppendBlobSealHeaders: coreHttp.CompositeMapper = {\n serializedName: \"AppendBlob_sealHeaders\",\n type: {\n name: \"Composite\",\n className: \"AppendBlobSealHeaders\",\n modelProperties: {\n etag: {\n serializedName: \"etag\",\n xmlName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last-modified\",\n xmlName: \"last-modified\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n isSealed: {\n serializedName: \"x-ms-blob-sealed\",\n xmlName: \"x-ms-blob-sealed\",\n type: {\n name: \"Boolean\"\n }\n }\n }\n }\n};\n\nexport const AppendBlobSealExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"AppendBlob_sealExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"AppendBlobSealExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlockBlobUploadHeaders: coreHttp.CompositeMapper = {\n serializedName: \"BlockBlob_uploadHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlockBlobUploadHeaders\",\n modelProperties: {\n etag: {\n serializedName: \"etag\",\n xmlName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last-modified\",\n xmlName: \"last-modified\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n contentMD5: {\n serializedName: \"content-md5\",\n xmlName: \"content-md5\",\n type: {\n name: \"ByteArray\"\n }\n },\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n versionId: {\n serializedName: \"x-ms-version-id\",\n xmlName: \"x-ms-version-id\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n isServerEncrypted: {\n serializedName: \"x-ms-request-server-encrypted\",\n xmlName: \"x-ms-request-server-encrypted\",\n type: {\n name: \"Boolean\"\n }\n },\n encryptionKeySha256: {\n serializedName: \"x-ms-encryption-key-sha256\",\n xmlName: \"x-ms-encryption-key-sha256\",\n type: {\n name: \"String\"\n }\n },\n encryptionScope: {\n serializedName: \"x-ms-encryption-scope\",\n xmlName: \"x-ms-encryption-scope\",\n type: {\n name: \"String\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlockBlobUploadExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"BlockBlob_uploadExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlockBlobUploadExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlockBlobPutBlobFromUrlHeaders: coreHttp.CompositeMapper = {\n serializedName: \"BlockBlob_putBlobFromUrlHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlockBlobPutBlobFromUrlHeaders\",\n modelProperties: {\n etag: {\n serializedName: \"etag\",\n xmlName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last-modified\",\n xmlName: \"last-modified\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n contentMD5: {\n serializedName: \"content-md5\",\n xmlName: \"content-md5\",\n type: {\n name: \"ByteArray\"\n }\n },\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n versionId: {\n serializedName: \"x-ms-version-id\",\n xmlName: \"x-ms-version-id\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n isServerEncrypted: {\n serializedName: \"x-ms-request-server-encrypted\",\n xmlName: \"x-ms-request-server-encrypted\",\n type: {\n name: \"Boolean\"\n }\n },\n encryptionKeySha256: {\n serializedName: \"x-ms-encryption-key-sha256\",\n xmlName: \"x-ms-encryption-key-sha256\",\n type: {\n name: \"String\"\n }\n },\n encryptionScope: {\n serializedName: \"x-ms-encryption-scope\",\n xmlName: \"x-ms-encryption-scope\",\n type: {\n name: \"String\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlockBlobPutBlobFromUrlExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"BlockBlob_putBlobFromUrlExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlockBlobPutBlobFromUrlExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlockBlobStageBlockHeaders: coreHttp.CompositeMapper = {\n serializedName: \"BlockBlob_stageBlockHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlockBlobStageBlockHeaders\",\n modelProperties: {\n contentMD5: {\n serializedName: \"content-md5\",\n xmlName: \"content-md5\",\n type: {\n name: \"ByteArray\"\n }\n },\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n xMsContentCrc64: {\n serializedName: \"x-ms-content-crc64\",\n xmlName: \"x-ms-content-crc64\",\n type: {\n name: \"ByteArray\"\n }\n },\n isServerEncrypted: {\n serializedName: \"x-ms-request-server-encrypted\",\n xmlName: \"x-ms-request-server-encrypted\",\n type: {\n name: \"Boolean\"\n }\n },\n encryptionKeySha256: {\n serializedName: \"x-ms-encryption-key-sha256\",\n xmlName: \"x-ms-encryption-key-sha256\",\n type: {\n name: \"String\"\n }\n },\n encryptionScope: {\n serializedName: \"x-ms-encryption-scope\",\n xmlName: \"x-ms-encryption-scope\",\n type: {\n name: \"String\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlockBlobStageBlockExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"BlockBlob_stageBlockExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlockBlobStageBlockExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlockBlobStageBlockFromURLHeaders: coreHttp.CompositeMapper = {\n serializedName: \"BlockBlob_stageBlockFromURLHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlockBlobStageBlockFromURLHeaders\",\n modelProperties: {\n contentMD5: {\n serializedName: \"content-md5\",\n xmlName: \"content-md5\",\n type: {\n name: \"ByteArray\"\n }\n },\n xMsContentCrc64: {\n serializedName: \"x-ms-content-crc64\",\n xmlName: \"x-ms-content-crc64\",\n type: {\n name: \"ByteArray\"\n }\n },\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n isServerEncrypted: {\n serializedName: \"x-ms-request-server-encrypted\",\n xmlName: \"x-ms-request-server-encrypted\",\n type: {\n name: \"Boolean\"\n }\n },\n encryptionKeySha256: {\n serializedName: \"x-ms-encryption-key-sha256\",\n xmlName: \"x-ms-encryption-key-sha256\",\n type: {\n name: \"String\"\n }\n },\n encryptionScope: {\n serializedName: \"x-ms-encryption-scope\",\n xmlName: \"x-ms-encryption-scope\",\n type: {\n name: \"String\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlockBlobStageBlockFromURLExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"BlockBlob_stageBlockFromURLExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlockBlobStageBlockFromURLExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlockBlobCommitBlockListHeaders: coreHttp.CompositeMapper = {\n serializedName: \"BlockBlob_commitBlockListHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlockBlobCommitBlockListHeaders\",\n modelProperties: {\n etag: {\n serializedName: \"etag\",\n xmlName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last-modified\",\n xmlName: \"last-modified\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n contentMD5: {\n serializedName: \"content-md5\",\n xmlName: \"content-md5\",\n type: {\n name: \"ByteArray\"\n }\n },\n xMsContentCrc64: {\n serializedName: \"x-ms-content-crc64\",\n xmlName: \"x-ms-content-crc64\",\n type: {\n name: \"ByteArray\"\n }\n },\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n versionId: {\n serializedName: \"x-ms-version-id\",\n xmlName: \"x-ms-version-id\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n isServerEncrypted: {\n serializedName: \"x-ms-request-server-encrypted\",\n xmlName: \"x-ms-request-server-encrypted\",\n type: {\n name: \"Boolean\"\n }\n },\n encryptionKeySha256: {\n serializedName: \"x-ms-encryption-key-sha256\",\n xmlName: \"x-ms-encryption-key-sha256\",\n type: {\n name: \"String\"\n }\n },\n encryptionScope: {\n serializedName: \"x-ms-encryption-scope\",\n xmlName: \"x-ms-encryption-scope\",\n type: {\n name: \"String\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlockBlobCommitBlockListExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"BlockBlob_commitBlockListExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlockBlobCommitBlockListExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlockBlobGetBlockListHeaders: coreHttp.CompositeMapper = {\n serializedName: \"BlockBlob_getBlockListHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlockBlobGetBlockListHeaders\",\n modelProperties: {\n lastModified: {\n serializedName: \"last-modified\",\n xmlName: \"last-modified\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n etag: {\n serializedName: \"etag\",\n xmlName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n contentType: {\n serializedName: \"content-type\",\n xmlName: \"content-type\",\n type: {\n name: \"String\"\n }\n },\n blobContentLength: {\n serializedName: \"x-ms-blob-content-length\",\n xmlName: \"x-ms-blob-content-length\",\n type: {\n name: \"Number\"\n }\n },\n clientRequestId: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n },\n requestId: {\n serializedName: \"x-ms-request-id\",\n xmlName: \"x-ms-request-id\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"x-ms-version\",\n xmlName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n xmlName: \"date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n },\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlockBlobGetBlockListExceptionHeaders: coreHttp.CompositeMapper = {\n serializedName: \"BlockBlob_getBlockListExceptionHeaders\",\n type: {\n name: \"Composite\",\n className: \"BlockBlobGetBlockListExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n xmlName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\n/**\n * The format that will be used to join an array of values together for a query parameter value.\n */\nexport enum QueryCollectionFormat {\n /**\n * CSV: Each pair of segments joined by a single comma.\n */\n Csv = \",\",\n /**\n * SSV: Each pair of segments joined by a single space character.\n */\n Ssv = \" \",\n /**\n * TSV: Each pair of segments joined by a single tab character.\n */\n Tsv = \"\\t\",\n /**\n * Pipes: Each pair of segments joined by a single pipe character.\n */\n Pipes = \"|\",\n /**\n * Denotes this is an array of values that should be passed to the server in multiple key/value pairs, e.g. `?queryParam=value1&queryParam=value2`\n */\n Multi = \"Multi\",\n}\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter,\n QueryCollectionFormat\n} from \"@azure/core-http\";\nimport {\n BlobServiceProperties as BlobServicePropertiesMapper,\n KeyInfo as KeyInfoMapper,\n QueryRequest as QueryRequestMapper,\n BlobTags as BlobTagsMapper,\n BlockLookupList as BlockLookupListMapper\n} from \"../models/mappers\";\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/xml\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const blobServiceProperties: OperationParameter = {\n parameterPath: \"blobServiceProperties\",\n mapper: BlobServicePropertiesMapper\n};\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/xml\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const url: OperationURLParameter = {\n parameterPath: \"url\",\n mapper: {\n serializedName: \"url\",\n required: true,\n xmlName: \"url\",\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const restype: OperationQueryParameter = {\n parameterPath: \"restype\",\n mapper: {\n defaultValue: \"service\",\n isConstant: true,\n serializedName: \"restype\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const comp: OperationQueryParameter = {\n parameterPath: \"comp\",\n mapper: {\n defaultValue: \"properties\",\n isConstant: true,\n serializedName: \"comp\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const timeoutInSeconds: OperationQueryParameter = {\n parameterPath: [\"options\", \"timeoutInSeconds\"],\n mapper: {\n constraints: {\n InclusiveMinimum: 0\n },\n serializedName: \"timeout\",\n xmlName: \"timeout\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const version: OperationParameter = {\n parameterPath: \"version\",\n mapper: {\n defaultValue: \"2021-10-04\",\n isConstant: true,\n serializedName: \"x-ms-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const requestId: OperationParameter = {\n parameterPath: [\"options\", \"requestId\"],\n mapper: {\n serializedName: \"x-ms-client-request-id\",\n xmlName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const accept1: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/xml\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const comp1: OperationQueryParameter = {\n parameterPath: \"comp\",\n mapper: {\n defaultValue: \"stats\",\n isConstant: true,\n serializedName: \"comp\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const comp2: OperationQueryParameter = {\n parameterPath: \"comp\",\n mapper: {\n defaultValue: \"list\",\n isConstant: true,\n serializedName: \"comp\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const prefix: OperationQueryParameter = {\n parameterPath: [\"options\", \"prefix\"],\n mapper: {\n serializedName: \"prefix\",\n xmlName: \"prefix\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const marker: OperationQueryParameter = {\n parameterPath: [\"options\", \"marker\"],\n mapper: {\n serializedName: \"marker\",\n xmlName: \"marker\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const maxPageSize: OperationQueryParameter = {\n parameterPath: [\"options\", \"maxPageSize\"],\n mapper: {\n constraints: {\n InclusiveMinimum: 1\n },\n serializedName: \"maxresults\",\n xmlName: \"maxresults\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const include: OperationQueryParameter = {\n parameterPath: [\"options\", \"include\"],\n mapper: {\n serializedName: \"include\",\n xmlName: \"include\",\n xmlElementName: \"ListContainersIncludeType\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Enum\",\n allowedValues: [\"metadata\", \"deleted\", \"system\"]\n }\n }\n }\n },\n collectionFormat: QueryCollectionFormat.Csv\n};\n\nexport const keyInfo: OperationParameter = {\n parameterPath: \"keyInfo\",\n mapper: KeyInfoMapper\n};\n\nexport const comp3: OperationQueryParameter = {\n parameterPath: \"comp\",\n mapper: {\n defaultValue: \"userdelegationkey\",\n isConstant: true,\n serializedName: \"comp\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const restype1: OperationQueryParameter = {\n parameterPath: \"restype\",\n mapper: {\n defaultValue: \"account\",\n isConstant: true,\n serializedName: \"restype\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const body: OperationParameter = {\n parameterPath: \"body\",\n mapper: {\n serializedName: \"body\",\n required: true,\n xmlName: \"body\",\n type: {\n name: \"Stream\"\n }\n }\n};\n\nexport const comp4: OperationQueryParameter = {\n parameterPath: \"comp\",\n mapper: {\n defaultValue: \"batch\",\n isConstant: true,\n serializedName: \"comp\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const contentLength: OperationParameter = {\n parameterPath: \"contentLength\",\n mapper: {\n serializedName: \"Content-Length\",\n required: true,\n xmlName: \"Content-Length\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const multipartContentType: OperationParameter = {\n parameterPath: \"multipartContentType\",\n mapper: {\n serializedName: \"Content-Type\",\n required: true,\n xmlName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const comp5: OperationQueryParameter = {\n parameterPath: \"comp\",\n mapper: {\n defaultValue: \"blobs\",\n isConstant: true,\n serializedName: \"comp\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const where: OperationQueryParameter = {\n parameterPath: [\"options\", \"where\"],\n mapper: {\n serializedName: \"where\",\n xmlName: \"where\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const restype2: OperationQueryParameter = {\n parameterPath: \"restype\",\n mapper: {\n defaultValue: \"container\",\n isConstant: true,\n serializedName: \"restype\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const metadata: OperationParameter = {\n parameterPath: [\"options\", \"metadata\"],\n mapper: {\n serializedName: \"x-ms-meta\",\n xmlName: \"x-ms-meta\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n },\n headerCollectionPrefix: \"x-ms-meta-\"\n }\n};\n\nexport const access: OperationParameter = {\n parameterPath: [\"options\", \"access\"],\n mapper: {\n serializedName: \"x-ms-blob-public-access\",\n xmlName: \"x-ms-blob-public-access\",\n type: {\n name: \"Enum\",\n allowedValues: [\"container\", \"blob\"]\n }\n }\n};\n\nexport const defaultEncryptionScope: OperationParameter = {\n parameterPath: [\n \"options\",\n \"containerEncryptionScope\",\n \"defaultEncryptionScope\"\n ],\n mapper: {\n serializedName: \"x-ms-default-encryption-scope\",\n xmlName: \"x-ms-default-encryption-scope\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const preventEncryptionScopeOverride: OperationParameter = {\n parameterPath: [\n \"options\",\n \"containerEncryptionScope\",\n \"preventEncryptionScopeOverride\"\n ],\n mapper: {\n serializedName: \"x-ms-deny-encryption-scope-override\",\n xmlName: \"x-ms-deny-encryption-scope-override\",\n type: {\n name: \"Boolean\"\n }\n }\n};\n\nexport const leaseId: OperationParameter = {\n parameterPath: [\"options\", \"leaseAccessConditions\", \"leaseId\"],\n mapper: {\n serializedName: \"x-ms-lease-id\",\n xmlName: \"x-ms-lease-id\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const ifModifiedSince: OperationParameter = {\n parameterPath: [\"options\", \"modifiedAccessConditions\", \"ifModifiedSince\"],\n mapper: {\n serializedName: \"If-Modified-Since\",\n xmlName: \"If-Modified-Since\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n }\n};\n\nexport const ifUnmodifiedSince: OperationParameter = {\n parameterPath: [\"options\", \"modifiedAccessConditions\", \"ifUnmodifiedSince\"],\n mapper: {\n serializedName: \"If-Unmodified-Since\",\n xmlName: \"If-Unmodified-Since\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n }\n};\n\nexport const comp6: OperationQueryParameter = {\n parameterPath: \"comp\",\n mapper: {\n defaultValue: \"metadata\",\n isConstant: true,\n serializedName: \"comp\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const comp7: OperationQueryParameter = {\n parameterPath: \"comp\",\n mapper: {\n defaultValue: \"acl\",\n isConstant: true,\n serializedName: \"comp\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const containerAcl: OperationParameter = {\n parameterPath: [\"options\", \"containerAcl\"],\n mapper: {\n serializedName: \"containerAcl\",\n xmlName: \"SignedIdentifiers\",\n xmlIsWrapped: true,\n xmlElementName: \"SignedIdentifier\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"SignedIdentifier\"\n }\n }\n }\n }\n};\n\nexport const comp8: OperationQueryParameter = {\n parameterPath: \"comp\",\n mapper: {\n defaultValue: \"undelete\",\n isConstant: true,\n serializedName: \"comp\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const deletedContainerName: OperationParameter = {\n parameterPath: [\"options\", \"deletedContainerName\"],\n mapper: {\n serializedName: \"x-ms-deleted-container-name\",\n xmlName: \"x-ms-deleted-container-name\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const deletedContainerVersion: OperationParameter = {\n parameterPath: [\"options\", \"deletedContainerVersion\"],\n mapper: {\n serializedName: \"x-ms-deleted-container-version\",\n xmlName: \"x-ms-deleted-container-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const comp9: OperationQueryParameter = {\n parameterPath: \"comp\",\n mapper: {\n defaultValue: \"rename\",\n isConstant: true,\n serializedName: \"comp\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const sourceContainerName: OperationParameter = {\n parameterPath: \"sourceContainerName\",\n mapper: {\n serializedName: \"x-ms-source-container-name\",\n required: true,\n xmlName: \"x-ms-source-container-name\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const sourceLeaseId: OperationParameter = {\n parameterPath: [\"options\", \"sourceLeaseId\"],\n mapper: {\n serializedName: \"x-ms-source-lease-id\",\n xmlName: \"x-ms-source-lease-id\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const comp10: OperationQueryParameter = {\n parameterPath: \"comp\",\n mapper: {\n defaultValue: \"lease\",\n isConstant: true,\n serializedName: \"comp\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const action: OperationParameter = {\n parameterPath: \"action\",\n mapper: {\n defaultValue: \"acquire\",\n isConstant: true,\n serializedName: \"x-ms-lease-action\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const duration: OperationParameter = {\n parameterPath: [\"options\", \"duration\"],\n mapper: {\n serializedName: \"x-ms-lease-duration\",\n xmlName: \"x-ms-lease-duration\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const proposedLeaseId: OperationParameter = {\n parameterPath: [\"options\", \"proposedLeaseId\"],\n mapper: {\n serializedName: \"x-ms-proposed-lease-id\",\n xmlName: \"x-ms-proposed-lease-id\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const action1: OperationParameter = {\n parameterPath: \"action\",\n mapper: {\n defaultValue: \"release\",\n isConstant: true,\n serializedName: \"x-ms-lease-action\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const leaseId1: OperationParameter = {\n parameterPath: \"leaseId\",\n mapper: {\n serializedName: \"x-ms-lease-id\",\n required: true,\n xmlName: \"x-ms-lease-id\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const action2: OperationParameter = {\n parameterPath: \"action\",\n mapper: {\n defaultValue: \"renew\",\n isConstant: true,\n serializedName: \"x-ms-lease-action\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const action3: OperationParameter = {\n parameterPath: \"action\",\n mapper: {\n defaultValue: \"break\",\n isConstant: true,\n serializedName: \"x-ms-lease-action\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const breakPeriod: OperationParameter = {\n parameterPath: [\"options\", \"breakPeriod\"],\n mapper: {\n serializedName: \"x-ms-lease-break-period\",\n xmlName: \"x-ms-lease-break-period\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const action4: OperationParameter = {\n parameterPath: \"action\",\n mapper: {\n defaultValue: \"change\",\n isConstant: true,\n serializedName: \"x-ms-lease-action\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const proposedLeaseId1: OperationParameter = {\n parameterPath: \"proposedLeaseId\",\n mapper: {\n serializedName: \"x-ms-proposed-lease-id\",\n required: true,\n xmlName: \"x-ms-proposed-lease-id\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const include1: OperationQueryParameter = {\n parameterPath: [\"options\", \"include\"],\n mapper: {\n serializedName: \"include\",\n xmlName: \"include\",\n xmlElementName: \"ListBlobsIncludeItem\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Enum\",\n allowedValues: [\n \"copy\",\n \"deleted\",\n \"metadata\",\n \"snapshots\",\n \"uncommittedblobs\",\n \"versions\",\n \"tags\",\n \"immutabilitypolicy\",\n \"legalhold\",\n \"deletedwithversions\"\n ]\n }\n }\n }\n },\n collectionFormat: QueryCollectionFormat.Csv\n};\n\nexport const delimiter: OperationQueryParameter = {\n parameterPath: \"delimiter\",\n mapper: {\n serializedName: \"delimiter\",\n required: true,\n xmlName: \"delimiter\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const snapshot: OperationQueryParameter = {\n parameterPath: [\"options\", \"snapshot\"],\n mapper: {\n serializedName: \"snapshot\",\n xmlName: \"snapshot\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const versionId: OperationQueryParameter = {\n parameterPath: [\"options\", \"versionId\"],\n mapper: {\n serializedName: \"versionid\",\n xmlName: \"versionid\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const range: OperationParameter = {\n parameterPath: [\"options\", \"range\"],\n mapper: {\n serializedName: \"x-ms-range\",\n xmlName: \"x-ms-range\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const rangeGetContentMD5: OperationParameter = {\n parameterPath: [\"options\", \"rangeGetContentMD5\"],\n mapper: {\n serializedName: \"x-ms-range-get-content-md5\",\n xmlName: \"x-ms-range-get-content-md5\",\n type: {\n name: \"Boolean\"\n }\n }\n};\n\nexport const rangeGetContentCRC64: OperationParameter = {\n parameterPath: [\"options\", \"rangeGetContentCRC64\"],\n mapper: {\n serializedName: \"x-ms-range-get-content-crc64\",\n xmlName: \"x-ms-range-get-content-crc64\",\n type: {\n name: \"Boolean\"\n }\n }\n};\n\nexport const encryptionKey: OperationParameter = {\n parameterPath: [\"options\", \"cpkInfo\", \"encryptionKey\"],\n mapper: {\n serializedName: \"x-ms-encryption-key\",\n xmlName: \"x-ms-encryption-key\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const encryptionKeySha256: OperationParameter = {\n parameterPath: [\"options\", \"cpkInfo\", \"encryptionKeySha256\"],\n mapper: {\n serializedName: \"x-ms-encryption-key-sha256\",\n xmlName: \"x-ms-encryption-key-sha256\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const encryptionAlgorithm: OperationParameter = {\n parameterPath: [\"options\", \"cpkInfo\", \"encryptionAlgorithm\"],\n mapper: {\n serializedName: \"x-ms-encryption-algorithm\",\n xmlName: \"x-ms-encryption-algorithm\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const ifMatch: OperationParameter = {\n parameterPath: [\"options\", \"modifiedAccessConditions\", \"ifMatch\"],\n mapper: {\n serializedName: \"If-Match\",\n xmlName: \"If-Match\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const ifNoneMatch: OperationParameter = {\n parameterPath: [\"options\", \"modifiedAccessConditions\", \"ifNoneMatch\"],\n mapper: {\n serializedName: \"If-None-Match\",\n xmlName: \"If-None-Match\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const ifTags: OperationParameter = {\n parameterPath: [\"options\", \"modifiedAccessConditions\", \"ifTags\"],\n mapper: {\n serializedName: \"x-ms-if-tags\",\n xmlName: \"x-ms-if-tags\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const deleteSnapshots: OperationParameter = {\n parameterPath: [\"options\", \"deleteSnapshots\"],\n mapper: {\n serializedName: \"x-ms-delete-snapshots\",\n xmlName: \"x-ms-delete-snapshots\",\n type: {\n name: \"Enum\",\n allowedValues: [\"include\", \"only\"]\n }\n }\n};\n\nexport const blobDeleteType: OperationQueryParameter = {\n parameterPath: [\"options\", \"blobDeleteType\"],\n mapper: {\n serializedName: \"deletetype\",\n xmlName: \"deletetype\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const comp11: OperationQueryParameter = {\n parameterPath: \"comp\",\n mapper: {\n defaultValue: \"expiry\",\n isConstant: true,\n serializedName: \"comp\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const expiryOptions: OperationParameter = {\n parameterPath: \"expiryOptions\",\n mapper: {\n serializedName: \"x-ms-expiry-option\",\n required: true,\n xmlName: \"x-ms-expiry-option\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const expiresOn: OperationParameter = {\n parameterPath: [\"options\", \"expiresOn\"],\n mapper: {\n serializedName: \"x-ms-expiry-time\",\n xmlName: \"x-ms-expiry-time\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const blobCacheControl: OperationParameter = {\n parameterPath: [\"options\", \"blobHttpHeaders\", \"blobCacheControl\"],\n mapper: {\n serializedName: \"x-ms-blob-cache-control\",\n xmlName: \"x-ms-blob-cache-control\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const blobContentType: OperationParameter = {\n parameterPath: [\"options\", \"blobHttpHeaders\", \"blobContentType\"],\n mapper: {\n serializedName: \"x-ms-blob-content-type\",\n xmlName: \"x-ms-blob-content-type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const blobContentMD5: OperationParameter = {\n parameterPath: [\"options\", \"blobHttpHeaders\", \"blobContentMD5\"],\n mapper: {\n serializedName: \"x-ms-blob-content-md5\",\n xmlName: \"x-ms-blob-content-md5\",\n type: {\n name: \"ByteArray\"\n }\n }\n};\n\nexport const blobContentEncoding: OperationParameter = {\n parameterPath: [\"options\", \"blobHttpHeaders\", \"blobContentEncoding\"],\n mapper: {\n serializedName: \"x-ms-blob-content-encoding\",\n xmlName: \"x-ms-blob-content-encoding\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const blobContentLanguage: OperationParameter = {\n parameterPath: [\"options\", \"blobHttpHeaders\", \"blobContentLanguage\"],\n mapper: {\n serializedName: \"x-ms-blob-content-language\",\n xmlName: \"x-ms-blob-content-language\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const blobContentDisposition: OperationParameter = {\n parameterPath: [\"options\", \"blobHttpHeaders\", \"blobContentDisposition\"],\n mapper: {\n serializedName: \"x-ms-blob-content-disposition\",\n xmlName: \"x-ms-blob-content-disposition\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const comp12: OperationQueryParameter = {\n parameterPath: \"comp\",\n mapper: {\n defaultValue: \"immutabilityPolicies\",\n isConstant: true,\n serializedName: \"comp\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const immutabilityPolicyExpiry: OperationParameter = {\n parameterPath: [\"options\", \"immutabilityPolicyExpiry\"],\n mapper: {\n serializedName: \"x-ms-immutability-policy-until-date\",\n xmlName: \"x-ms-immutability-policy-until-date\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n }\n};\n\nexport const immutabilityPolicyMode: OperationParameter = {\n parameterPath: [\"options\", \"immutabilityPolicyMode\"],\n mapper: {\n serializedName: \"x-ms-immutability-policy-mode\",\n xmlName: \"x-ms-immutability-policy-mode\",\n type: {\n name: \"Enum\",\n allowedValues: [\"Mutable\", \"Unlocked\", \"Locked\"]\n }\n }\n};\n\nexport const comp13: OperationQueryParameter = {\n parameterPath: \"comp\",\n mapper: {\n defaultValue: \"legalhold\",\n isConstant: true,\n serializedName: \"comp\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const legalHold: OperationParameter = {\n parameterPath: \"legalHold\",\n mapper: {\n serializedName: \"x-ms-legal-hold\",\n required: true,\n xmlName: \"x-ms-legal-hold\",\n type: {\n name: \"Boolean\"\n }\n }\n};\n\nexport const encryptionScope: OperationParameter = {\n parameterPath: [\"options\", \"encryptionScope\"],\n mapper: {\n serializedName: \"x-ms-encryption-scope\",\n xmlName: \"x-ms-encryption-scope\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const comp14: OperationQueryParameter = {\n parameterPath: \"comp\",\n mapper: {\n defaultValue: \"snapshot\",\n isConstant: true,\n serializedName: \"comp\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const tier: OperationParameter = {\n parameterPath: [\"options\", \"tier\"],\n mapper: {\n serializedName: \"x-ms-access-tier\",\n xmlName: \"x-ms-access-tier\",\n type: {\n name: \"Enum\",\n allowedValues: [\n \"P4\",\n \"P6\",\n \"P10\",\n \"P15\",\n \"P20\",\n \"P30\",\n \"P40\",\n \"P50\",\n \"P60\",\n \"P70\",\n \"P80\",\n \"Hot\",\n \"Cool\",\n \"Archive\"\n ]\n }\n }\n};\n\nexport const rehydratePriority: OperationParameter = {\n parameterPath: [\"options\", \"rehydratePriority\"],\n mapper: {\n serializedName: \"x-ms-rehydrate-priority\",\n xmlName: \"x-ms-rehydrate-priority\",\n type: {\n name: \"Enum\",\n allowedValues: [\"High\", \"Standard\"]\n }\n }\n};\n\nexport const sourceIfModifiedSince: OperationParameter = {\n parameterPath: [\n \"options\",\n \"sourceModifiedAccessConditions\",\n \"sourceIfModifiedSince\"\n ],\n mapper: {\n serializedName: \"x-ms-source-if-modified-since\",\n xmlName: \"x-ms-source-if-modified-since\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n }\n};\n\nexport const sourceIfUnmodifiedSince: OperationParameter = {\n parameterPath: [\n \"options\",\n \"sourceModifiedAccessConditions\",\n \"sourceIfUnmodifiedSince\"\n ],\n mapper: {\n serializedName: \"x-ms-source-if-unmodified-since\",\n xmlName: \"x-ms-source-if-unmodified-since\",\n type: {\n name: \"DateTimeRfc1123\"\n }\n }\n};\n\nexport const sourceIfMatch: OperationParameter = {\n parameterPath: [\"options\", \"sourceModifiedAccessConditions\", \"sourceIfMatch\"],\n mapper: {\n serializedName: \"x-ms-source-if-match\",\n xmlName: \"x-ms-source-if-match\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const sourceIfNoneMatch: OperationParameter = {\n parameterPath: [\n \"options\",\n \"sourceModifiedAccessConditions\",\n \"sourceIfNoneMatch\"\n ],\n mapper: {\n serializedName: \"x-ms-source-if-none-match\",\n xmlName: \"x-ms-source-if-none-match\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const sourceIfTags: OperationParameter = {\n parameterPath: [\"options\", \"sourceModifiedAccessConditions\", \"sourceIfTags\"],\n mapper: {\n serializedName: \"x-ms-source-if-tags\",\n xmlName: \"x-ms-source-if-tags\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const copySource: OperationParameter = {\n parameterPath: \"copySource\",\n mapper: {\n serializedName: \"x-ms-copy-source\",\n required: true,\n xmlName: \"x-ms-copy-source\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const blobTagsString: OperationParameter = {\n parameterPath: [\"options\", \"blobTagsString\"],\n mapper: {\n serializedName: \"x-ms-tags\",\n xmlName: \"x-ms-tags\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const sealBlob: OperationParameter = {\n parameterPath: [\"options\", \"sealBlob\"],\n mapper: {\n serializedName: \"x-ms-seal-blob\",\n xmlName: \"x-ms-seal-blob\",\n type: {\n name: \"Boolean\"\n }\n }\n};\n\nexport const legalHold1: OperationParameter = {\n parameterPath: [\"options\", \"legalHold\"],\n mapper: {\n serializedName: \"x-ms-legal-hold\",\n xmlName: \"x-ms-legal-hold\",\n type: {\n name: \"Boolean\"\n }\n }\n};\n\nexport const xMsRequiresSync: OperationParameter = {\n parameterPath: \"xMsRequiresSync\",\n mapper: {\n defaultValue: \"true\",\n isConstant: true,\n serializedName: \"x-ms-requires-sync\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const sourceContentMD5: OperationParameter = {\n parameterPath: [\"options\", \"sourceContentMD5\"],\n mapper: {\n serializedName: \"x-ms-source-content-md5\",\n xmlName: \"x-ms-source-content-md5\",\n type: {\n name: \"ByteArray\"\n }\n }\n};\n\nexport const copySourceAuthorization: OperationParameter = {\n parameterPath: [\"options\", \"copySourceAuthorization\"],\n mapper: {\n serializedName: \"x-ms-copy-source-authorization\",\n xmlName: \"x-ms-copy-source-authorization\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const copySourceTags: OperationParameter = {\n parameterPath: [\"options\", \"copySourceTags\"],\n mapper: {\n serializedName: \"x-ms-copy-source-tag-option\",\n xmlName: \"x-ms-copy-source-tag-option\",\n type: {\n name: \"Enum\",\n allowedValues: [\"REPLACE\", \"COPY\"]\n }\n }\n};\n\nexport const comp15: OperationQueryParameter = {\n parameterPath: \"comp\",\n mapper: {\n defaultValue: \"copy\",\n isConstant: true,\n serializedName: \"comp\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const copyActionAbortConstant: OperationParameter = {\n parameterPath: \"copyActionAbortConstant\",\n mapper: {\n defaultValue: \"abort\",\n isConstant: true,\n serializedName: \"x-ms-copy-action\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const copyId: OperationQueryParameter = {\n parameterPath: \"copyId\",\n mapper: {\n serializedName: \"copyid\",\n required: true,\n xmlName: \"copyid\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const comp16: OperationQueryParameter = {\n parameterPath: \"comp\",\n mapper: {\n defaultValue: \"tier\",\n isConstant: true,\n serializedName: \"comp\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const tier1: OperationParameter = {\n parameterPath: \"tier\",\n mapper: {\n serializedName: \"x-ms-access-tier\",\n required: true,\n xmlName: \"x-ms-access-tier\",\n type: {\n name: \"Enum\",\n allowedValues: [\n \"P4\",\n \"P6\",\n \"P10\",\n \"P15\",\n \"P20\",\n \"P30\",\n \"P40\",\n \"P50\",\n \"P60\",\n \"P70\",\n \"P80\",\n \"Hot\",\n \"Cool\",\n \"Archive\"\n ]\n }\n }\n};\n\nexport const queryRequest: OperationParameter = {\n parameterPath: [\"options\", \"queryRequest\"],\n mapper: QueryRequestMapper\n};\n\nexport const comp17: OperationQueryParameter = {\n parameterPath: \"comp\",\n mapper: {\n defaultValue: \"query\",\n isConstant: true,\n serializedName: \"comp\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const comp18: OperationQueryParameter = {\n parameterPath: \"comp\",\n mapper: {\n defaultValue: \"tags\",\n isConstant: true,\n serializedName: \"comp\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const tags: OperationParameter = {\n parameterPath: [\"options\", \"tags\"],\n mapper: BlobTagsMapper\n};\n\nexport const transactionalContentMD5: OperationParameter = {\n parameterPath: [\"options\", \"transactionalContentMD5\"],\n mapper: {\n serializedName: \"Content-MD5\",\n xmlName: \"Content-MD5\",\n type: {\n name: \"ByteArray\"\n }\n }\n};\n\nexport const transactionalContentCrc64: OperationParameter = {\n parameterPath: [\"options\", \"transactionalContentCrc64\"],\n mapper: {\n serializedName: \"x-ms-content-crc64\",\n xmlName: \"x-ms-content-crc64\",\n type: {\n name: \"ByteArray\"\n }\n }\n};\n\nexport const blobType: OperationParameter = {\n parameterPath: \"blobType\",\n mapper: {\n defaultValue: \"PageBlob\",\n isConstant: true,\n serializedName: \"x-ms-blob-type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const blobContentLength: OperationParameter = {\n parameterPath: \"blobContentLength\",\n mapper: {\n serializedName: \"x-ms-blob-content-length\",\n required: true,\n xmlName: \"x-ms-blob-content-length\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const blobSequenceNumber: OperationParameter = {\n parameterPath: [\"options\", \"blobSequenceNumber\"],\n mapper: {\n serializedName: \"x-ms-blob-sequence-number\",\n xmlName: \"x-ms-blob-sequence-number\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const contentType1: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/octet-stream\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const body1: OperationParameter = {\n parameterPath: \"body\",\n mapper: {\n serializedName: \"body\",\n required: true,\n xmlName: \"body\",\n type: {\n name: \"Stream\"\n }\n }\n};\n\nexport const accept2: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/xml\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const comp19: OperationQueryParameter = {\n parameterPath: \"comp\",\n mapper: {\n defaultValue: \"page\",\n isConstant: true,\n serializedName: \"comp\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const pageWrite: OperationParameter = {\n parameterPath: \"pageWrite\",\n mapper: {\n defaultValue: \"update\",\n isConstant: true,\n serializedName: \"x-ms-page-write\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const ifSequenceNumberLessThanOrEqualTo: OperationParameter = {\n parameterPath: [\n \"options\",\n \"sequenceNumberAccessConditions\",\n \"ifSequenceNumberLessThanOrEqualTo\"\n ],\n mapper: {\n serializedName: \"x-ms-if-sequence-number-le\",\n xmlName: \"x-ms-if-sequence-number-le\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const ifSequenceNumberLessThan: OperationParameter = {\n parameterPath: [\n \"options\",\n \"sequenceNumberAccessConditions\",\n \"ifSequenceNumberLessThan\"\n ],\n mapper: {\n serializedName: \"x-ms-if-sequence-number-lt\",\n xmlName: \"x-ms-if-sequence-number-lt\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const ifSequenceNumberEqualTo: OperationParameter = {\n parameterPath: [\n \"options\",\n \"sequenceNumberAccessConditions\",\n \"ifSequenceNumberEqualTo\"\n ],\n mapper: {\n serializedName: \"x-ms-if-sequence-number-eq\",\n xmlName: \"x-ms-if-sequence-number-eq\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const pageWrite1: OperationParameter = {\n parameterPath: \"pageWrite\",\n mapper: {\n defaultValue: \"clear\",\n isConstant: true,\n serializedName: \"x-ms-page-write\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const sourceUrl: OperationParameter = {\n parameterPath: \"sourceUrl\",\n mapper: {\n serializedName: \"x-ms-copy-source\",\n required: true,\n xmlName: \"x-ms-copy-source\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const sourceRange: OperationParameter = {\n parameterPath: \"sourceRange\",\n mapper: {\n serializedName: \"x-ms-source-range\",\n required: true,\n xmlName: \"x-ms-source-range\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const sourceContentCrc64: OperationParameter = {\n parameterPath: [\"options\", \"sourceContentCrc64\"],\n mapper: {\n serializedName: \"x-ms-source-content-crc64\",\n xmlName: \"x-ms-source-content-crc64\",\n type: {\n name: \"ByteArray\"\n }\n }\n};\n\nexport const range1: OperationParameter = {\n parameterPath: \"range\",\n mapper: {\n serializedName: \"x-ms-range\",\n required: true,\n xmlName: \"x-ms-range\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const comp20: OperationQueryParameter = {\n parameterPath: \"comp\",\n mapper: {\n defaultValue: \"pagelist\",\n isConstant: true,\n serializedName: \"comp\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const prevsnapshot: OperationQueryParameter = {\n parameterPath: [\"options\", \"prevsnapshot\"],\n mapper: {\n serializedName: \"prevsnapshot\",\n xmlName: \"prevsnapshot\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const prevSnapshotUrl: OperationParameter = {\n parameterPath: [\"options\", \"prevSnapshotUrl\"],\n mapper: {\n serializedName: \"x-ms-previous-snapshot-url\",\n xmlName: \"x-ms-previous-snapshot-url\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const sequenceNumberAction: OperationParameter = {\n parameterPath: \"sequenceNumberAction\",\n mapper: {\n serializedName: \"x-ms-sequence-number-action\",\n required: true,\n xmlName: \"x-ms-sequence-number-action\",\n type: {\n name: \"Enum\",\n allowedValues: [\"max\", \"update\", \"increment\"]\n }\n }\n};\n\nexport const comp21: OperationQueryParameter = {\n parameterPath: \"comp\",\n mapper: {\n defaultValue: \"incrementalcopy\",\n isConstant: true,\n serializedName: \"comp\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const blobType1: OperationParameter = {\n parameterPath: \"blobType\",\n mapper: {\n defaultValue: \"AppendBlob\",\n isConstant: true,\n serializedName: \"x-ms-blob-type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const comp22: OperationQueryParameter = {\n parameterPath: \"comp\",\n mapper: {\n defaultValue: \"appendblock\",\n isConstant: true,\n serializedName: \"comp\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const maxSize: OperationParameter = {\n parameterPath: [\"options\", \"appendPositionAccessConditions\", \"maxSize\"],\n mapper: {\n serializedName: \"x-ms-blob-condition-maxsize\",\n xmlName: \"x-ms-blob-condition-maxsize\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const appendPosition: OperationParameter = {\n parameterPath: [\n \"options\",\n \"appendPositionAccessConditions\",\n \"appendPosition\"\n ],\n mapper: {\n serializedName: \"x-ms-blob-condition-appendpos\",\n xmlName: \"x-ms-blob-condition-appendpos\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const sourceRange1: OperationParameter = {\n parameterPath: [\"options\", \"sourceRange\"],\n mapper: {\n serializedName: \"x-ms-source-range\",\n xmlName: \"x-ms-source-range\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const comp23: OperationQueryParameter = {\n parameterPath: \"comp\",\n mapper: {\n defaultValue: \"seal\",\n isConstant: true,\n serializedName: \"comp\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const blobType2: OperationParameter = {\n parameterPath: \"blobType\",\n mapper: {\n defaultValue: \"BlockBlob\",\n isConstant: true,\n serializedName: \"x-ms-blob-type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const copySourceBlobProperties: OperationParameter = {\n parameterPath: [\"options\", \"copySourceBlobProperties\"],\n mapper: {\n serializedName: \"x-ms-copy-source-blob-properties\",\n xmlName: \"x-ms-copy-source-blob-properties\",\n type: {\n name: \"Boolean\"\n }\n }\n};\n\nexport const comp24: OperationQueryParameter = {\n parameterPath: \"comp\",\n mapper: {\n defaultValue: \"block\",\n isConstant: true,\n serializedName: \"comp\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const blockId: OperationQueryParameter = {\n parameterPath: \"blockId\",\n mapper: {\n serializedName: \"blockid\",\n required: true,\n xmlName: \"blockid\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const blocks: OperationParameter = {\n parameterPath: \"blocks\",\n mapper: BlockLookupListMapper\n};\n\nexport const comp25: OperationQueryParameter = {\n parameterPath: \"comp\",\n mapper: {\n defaultValue: \"blocklist\",\n isConstant: true,\n serializedName: \"comp\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const listType: OperationQueryParameter = {\n parameterPath: \"listType\",\n mapper: {\n defaultValue: \"committed\",\n serializedName: \"blocklisttype\",\n required: true,\n xmlName: \"blocklisttype\",\n type: {\n name: \"Enum\",\n allowedValues: [\"committed\", \"uncommitted\", \"all\"]\n }\n }\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreHttp from \"@azure/core-http\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { StorageClientContext } from \"../storageClientContext\";\nimport {\n BlobServiceProperties,\n ServiceSetPropertiesOptionalParams,\n ServiceSetPropertiesResponse,\n ServiceGetPropertiesOptionalParams,\n ServiceGetPropertiesResponse,\n ServiceGetStatisticsOptionalParams,\n ServiceGetStatisticsResponse,\n ServiceListContainersSegmentOptionalParams,\n ServiceListContainersSegmentResponse,\n KeyInfo,\n ServiceGetUserDelegationKeyOptionalParams,\n ServiceGetUserDelegationKeyResponse,\n ServiceGetAccountInfoResponse,\n ServiceSubmitBatchOptionalParams,\n ServiceSubmitBatchResponse,\n ServiceFilterBlobsOptionalParams,\n ServiceFilterBlobsResponse\n} from \"../models\";\n\n/** Class representing a Service. */\nexport class Service {\n private readonly client: StorageClientContext;\n\n /**\n * Initialize a new instance of the class Service class.\n * @param client Reference to the service client\n */\n constructor(client: StorageClientContext) {\n this.client = client;\n }\n\n /**\n * Sets properties for a storage account's Blob service endpoint, including properties for Storage\n * Analytics and CORS (Cross-Origin Resource Sharing) rules\n * @param blobServiceProperties The StorageService properties.\n * @param options The options parameters.\n */\n setProperties(\n blobServiceProperties: BlobServiceProperties,\n options?: ServiceSetPropertiesOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n blobServiceProperties,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n setPropertiesOperationSpec\n ) as Promise;\n }\n\n /**\n * gets the properties of a storage account's Blob service, including properties for Storage Analytics\n * and CORS (Cross-Origin Resource Sharing) rules.\n * @param options The options parameters.\n */\n getProperties(\n options?: ServiceGetPropertiesOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n getPropertiesOperationSpec\n ) as Promise;\n }\n\n /**\n * Retrieves statistics related to replication for the Blob service. It is only available on the\n * secondary location endpoint when read-access geo-redundant replication is enabled for the storage\n * account.\n * @param options The options parameters.\n */\n getStatistics(\n options?: ServiceGetStatisticsOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n getStatisticsOperationSpec\n ) as Promise;\n }\n\n /**\n * The List Containers Segment operation returns a list of the containers under the specified account\n * @param options The options parameters.\n */\n listContainersSegment(\n options?: ServiceListContainersSegmentOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n listContainersSegmentOperationSpec\n ) as Promise;\n }\n\n /**\n * Retrieves a user delegation key for the Blob service. This is only a valid operation when using\n * bearer token authentication.\n * @param keyInfo Key information\n * @param options The options parameters.\n */\n getUserDelegationKey(\n keyInfo: KeyInfo,\n options?: ServiceGetUserDelegationKeyOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n keyInfo,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n getUserDelegationKeyOperationSpec\n ) as Promise;\n }\n\n /**\n * Returns the sku name and account kind\n * @param options The options parameters.\n */\n getAccountInfo(\n options?: coreHttp.OperationOptions\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n getAccountInfoOperationSpec\n ) as Promise;\n }\n\n /**\n * The Batch operation allows multiple API calls to be embedded into a single HTTP request.\n * @param contentLength The length of the request.\n * @param multipartContentType Required. The value of this header must be multipart/mixed with a batch\n * boundary. Example header value: multipart/mixed; boundary=batch_\n * @param body Initial data\n * @param options The options parameters.\n */\n submitBatch(\n contentLength: number,\n multipartContentType: string,\n body: coreHttp.HttpRequestBody,\n options?: ServiceSubmitBatchOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n contentLength,\n multipartContentType,\n body,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n submitBatchOperationSpec\n ) as Promise;\n }\n\n /**\n * The Filter Blobs operation enables callers to list blobs across all containers whose tags match a\n * given search expression. Filter blobs searches across all containers within a storage account but\n * can be scoped within the expression to a single container.\n * @param options The options parameters.\n */\n filterBlobs(\n options?: ServiceFilterBlobsOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n filterBlobsOperationSpec\n ) as Promise;\n }\n}\n// Operation Specifications\nconst xmlSerializer = new coreHttp.Serializer(Mappers, /* isXml */ true);\n\nconst setPropertiesOperationSpec: coreHttp.OperationSpec = {\n path: \"/\",\n httpMethod: \"PUT\",\n responses: {\n 202: {\n headersMapper: Mappers.ServiceSetPropertiesHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ServiceSetPropertiesExceptionHeaders\n }\n },\n requestBody: Parameters.blobServiceProperties,\n queryParameters: [\n Parameters.restype,\n Parameters.comp,\n Parameters.timeoutInSeconds\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.version,\n Parameters.requestId\n ],\n isXML: true,\n contentType: \"application/xml; charset=utf-8\",\n mediaType: \"xml\",\n serializer: xmlSerializer\n};\nconst getPropertiesOperationSpec: coreHttp.OperationSpec = {\n path: \"/\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BlobServiceProperties,\n headersMapper: Mappers.ServiceGetPropertiesHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ServiceGetPropertiesExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.restype,\n Parameters.comp,\n Parameters.timeoutInSeconds\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst getStatisticsOperationSpec: coreHttp.OperationSpec = {\n path: \"/\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BlobServiceStatistics,\n headersMapper: Mappers.ServiceGetStatisticsHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ServiceGetStatisticsExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.restype,\n Parameters.timeoutInSeconds,\n Parameters.comp1\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst listContainersSegmentOperationSpec: coreHttp.OperationSpec = {\n path: \"/\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ListContainersSegmentResponse,\n headersMapper: Mappers.ServiceListContainersSegmentHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ServiceListContainersSegmentExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.comp2,\n Parameters.prefix,\n Parameters.marker,\n Parameters.maxPageSize,\n Parameters.include\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst getUserDelegationKeyOperationSpec: coreHttp.OperationSpec = {\n path: \"/\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.UserDelegationKey,\n headersMapper: Mappers.ServiceGetUserDelegationKeyHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ServiceGetUserDelegationKeyExceptionHeaders\n }\n },\n requestBody: Parameters.keyInfo,\n queryParameters: [\n Parameters.restype,\n Parameters.timeoutInSeconds,\n Parameters.comp3\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.version,\n Parameters.requestId\n ],\n isXML: true,\n contentType: \"application/xml; charset=utf-8\",\n mediaType: \"xml\",\n serializer: xmlSerializer\n};\nconst getAccountInfoOperationSpec: coreHttp.OperationSpec = {\n path: \"/\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n headersMapper: Mappers.ServiceGetAccountInfoHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ServiceGetAccountInfoExceptionHeaders\n }\n },\n queryParameters: [Parameters.comp, Parameters.restype1],\n urlParameters: [Parameters.url],\n headerParameters: [Parameters.version, Parameters.accept1],\n isXML: true,\n serializer: xmlSerializer\n};\nconst submitBatchOperationSpec: coreHttp.OperationSpec = {\n path: \"/\",\n httpMethod: \"POST\",\n responses: {\n 202: {\n bodyMapper: {\n type: { name: \"Stream\" },\n serializedName: \"parsedResponse\"\n },\n headersMapper: Mappers.ServiceSubmitBatchHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ServiceSubmitBatchExceptionHeaders\n }\n },\n requestBody: Parameters.body,\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp4],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.version,\n Parameters.requestId,\n Parameters.contentLength,\n Parameters.multipartContentType\n ],\n isXML: true,\n contentType: \"application/xml; charset=utf-8\",\n mediaType: \"xml\",\n serializer: xmlSerializer\n};\nconst filterBlobsOperationSpec: coreHttp.OperationSpec = {\n path: \"/\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.FilterBlobSegment,\n headersMapper: Mappers.ServiceFilterBlobsHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ServiceFilterBlobsExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.marker,\n Parameters.maxPageSize,\n Parameters.comp5,\n Parameters.where\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1\n ],\n isXML: true,\n serializer: xmlSerializer\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreHttp from \"@azure/core-http\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { StorageClientContext } from \"../storageClientContext\";\nimport {\n ContainerCreateOptionalParams,\n ContainerCreateResponse,\n ContainerGetPropertiesOptionalParams,\n ContainerGetPropertiesResponse,\n ContainerDeleteOptionalParams,\n ContainerDeleteResponse,\n ContainerSetMetadataOptionalParams,\n ContainerSetMetadataResponse,\n ContainerGetAccessPolicyOptionalParams,\n ContainerGetAccessPolicyResponse,\n ContainerSetAccessPolicyOptionalParams,\n ContainerSetAccessPolicyResponse,\n ContainerRestoreOptionalParams,\n ContainerRestoreResponse,\n ContainerRenameOptionalParams,\n ContainerRenameResponse,\n ContainerSubmitBatchOptionalParams,\n ContainerSubmitBatchResponse,\n ContainerFilterBlobsOptionalParams,\n ContainerFilterBlobsResponse,\n ContainerAcquireLeaseOptionalParams,\n ContainerAcquireLeaseResponse,\n ContainerReleaseLeaseOptionalParams,\n ContainerReleaseLeaseResponse,\n ContainerRenewLeaseOptionalParams,\n ContainerRenewLeaseResponse,\n ContainerBreakLeaseOptionalParams,\n ContainerBreakLeaseResponse,\n ContainerChangeLeaseOptionalParams,\n ContainerChangeLeaseResponse,\n ContainerListBlobFlatSegmentOptionalParams,\n ContainerListBlobFlatSegmentResponse,\n ContainerListBlobHierarchySegmentOptionalParams,\n ContainerListBlobHierarchySegmentResponse,\n ContainerGetAccountInfoResponse\n} from \"../models\";\n\n/** Class representing a Container. */\nexport class Container {\n private readonly client: StorageClientContext;\n\n /**\n * Initialize a new instance of the class Container class.\n * @param client Reference to the service client\n */\n constructor(client: StorageClientContext) {\n this.client = client;\n }\n\n /**\n * creates a new container under the specified account. If the container with the same name already\n * exists, the operation fails\n * @param options The options parameters.\n */\n create(\n options?: ContainerCreateOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n createOperationSpec\n ) as Promise;\n }\n\n /**\n * returns all user-defined metadata and system properties for the specified container. The data\n * returned does not include the container's list of blobs\n * @param options The options parameters.\n */\n getProperties(\n options?: ContainerGetPropertiesOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n getPropertiesOperationSpec\n ) as Promise;\n }\n\n /**\n * operation marks the specified container for deletion. The container and any blobs contained within\n * it are later deleted during garbage collection\n * @param options The options parameters.\n */\n delete(\n options?: ContainerDeleteOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n deleteOperationSpec\n ) as Promise;\n }\n\n /**\n * operation sets one or more user-defined name-value pairs for the specified container.\n * @param options The options parameters.\n */\n setMetadata(\n options?: ContainerSetMetadataOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n setMetadataOperationSpec\n ) as Promise;\n }\n\n /**\n * gets the permissions for the specified container. The permissions indicate whether container data\n * may be accessed publicly.\n * @param options The options parameters.\n */\n getAccessPolicy(\n options?: ContainerGetAccessPolicyOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n getAccessPolicyOperationSpec\n ) as Promise;\n }\n\n /**\n * sets the permissions for the specified container. The permissions indicate whether blobs in a\n * container may be accessed publicly.\n * @param options The options parameters.\n */\n setAccessPolicy(\n options?: ContainerSetAccessPolicyOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n setAccessPolicyOperationSpec\n ) as Promise;\n }\n\n /**\n * Restores a previously-deleted container.\n * @param options The options parameters.\n */\n restore(\n options?: ContainerRestoreOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n restoreOperationSpec\n ) as Promise;\n }\n\n /**\n * Renames an existing container.\n * @param sourceContainerName Required. Specifies the name of the container to rename.\n * @param options The options parameters.\n */\n rename(\n sourceContainerName: string,\n options?: ContainerRenameOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n sourceContainerName,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n renameOperationSpec\n ) as Promise;\n }\n\n /**\n * The Batch operation allows multiple API calls to be embedded into a single HTTP request.\n * @param contentLength The length of the request.\n * @param multipartContentType Required. The value of this header must be multipart/mixed with a batch\n * boundary. Example header value: multipart/mixed; boundary=batch_\n * @param body Initial data\n * @param options The options parameters.\n */\n submitBatch(\n contentLength: number,\n multipartContentType: string,\n body: coreHttp.HttpRequestBody,\n options?: ContainerSubmitBatchOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n contentLength,\n multipartContentType,\n body,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n submitBatchOperationSpec\n ) as Promise;\n }\n\n /**\n * The Filter Blobs operation enables callers to list blobs in a container whose tags match a given\n * search expression. Filter blobs searches within the given container.\n * @param options The options parameters.\n */\n filterBlobs(\n options?: ContainerFilterBlobsOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n filterBlobsOperationSpec\n ) as Promise;\n }\n\n /**\n * [Update] establishes and manages a lock on a container for delete operations. The lock duration can\n * be 15 to 60 seconds, or can be infinite\n * @param options The options parameters.\n */\n acquireLease(\n options?: ContainerAcquireLeaseOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n acquireLeaseOperationSpec\n ) as Promise;\n }\n\n /**\n * [Update] establishes and manages a lock on a container for delete operations. The lock duration can\n * be 15 to 60 seconds, or can be infinite\n * @param leaseId Specifies the current lease ID on the resource.\n * @param options The options parameters.\n */\n releaseLease(\n leaseId: string,\n options?: ContainerReleaseLeaseOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n leaseId,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n releaseLeaseOperationSpec\n ) as Promise;\n }\n\n /**\n * [Update] establishes and manages a lock on a container for delete operations. The lock duration can\n * be 15 to 60 seconds, or can be infinite\n * @param leaseId Specifies the current lease ID on the resource.\n * @param options The options parameters.\n */\n renewLease(\n leaseId: string,\n options?: ContainerRenewLeaseOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n leaseId,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n renewLeaseOperationSpec\n ) as Promise;\n }\n\n /**\n * [Update] establishes and manages a lock on a container for delete operations. The lock duration can\n * be 15 to 60 seconds, or can be infinite\n * @param options The options parameters.\n */\n breakLease(\n options?: ContainerBreakLeaseOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n breakLeaseOperationSpec\n ) as Promise;\n }\n\n /**\n * [Update] establishes and manages a lock on a container for delete operations. The lock duration can\n * be 15 to 60 seconds, or can be infinite\n * @param leaseId Specifies the current lease ID on the resource.\n * @param proposedLeaseId Proposed lease ID, in a GUID string format. The Blob service returns 400\n * (Invalid request) if the proposed lease ID is not in the correct format. See Guid Constructor\n * (String) for a list of valid GUID string formats.\n * @param options The options parameters.\n */\n changeLease(\n leaseId: string,\n proposedLeaseId: string,\n options?: ContainerChangeLeaseOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n leaseId,\n proposedLeaseId,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n changeLeaseOperationSpec\n ) as Promise;\n }\n\n /**\n * [Update] The List Blobs operation returns a list of the blobs under the specified container\n * @param options The options parameters.\n */\n listBlobFlatSegment(\n options?: ContainerListBlobFlatSegmentOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n listBlobFlatSegmentOperationSpec\n ) as Promise;\n }\n\n /**\n * [Update] The List Blobs operation returns a list of the blobs under the specified container\n * @param delimiter When the request includes this parameter, the operation returns a BlobPrefix\n * element in the response body that acts as a placeholder for all blobs whose names begin with the\n * same substring up to the appearance of the delimiter character. The delimiter may be a single\n * character or a string.\n * @param options The options parameters.\n */\n listBlobHierarchySegment(\n delimiter: string,\n options?: ContainerListBlobHierarchySegmentOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n delimiter,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n listBlobHierarchySegmentOperationSpec\n ) as Promise;\n }\n\n /**\n * Returns the sku name and account kind\n * @param options The options parameters.\n */\n getAccountInfo(\n options?: coreHttp.OperationOptions\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n getAccountInfoOperationSpec\n ) as Promise;\n }\n}\n// Operation Specifications\nconst xmlSerializer = new coreHttp.Serializer(Mappers, /* isXml */ true);\n\nconst createOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.ContainerCreateHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ContainerCreateExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.restype2],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.metadata,\n Parameters.access,\n Parameters.defaultEncryptionScope,\n Parameters.preventEncryptionScopeOverride\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst getPropertiesOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n headersMapper: Mappers.ContainerGetPropertiesHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ContainerGetPropertiesExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.restype2],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.leaseId\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst deleteOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}\",\n httpMethod: \"DELETE\",\n responses: {\n 202: {\n headersMapper: Mappers.ContainerDeleteHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ContainerDeleteExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.restype2],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst setMetadataOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.ContainerSetMetadataHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ContainerSetMetadataExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.restype2,\n Parameters.comp6\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.metadata,\n Parameters.leaseId,\n Parameters.ifModifiedSince\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst getAccessPolicyOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: {\n type: {\n name: \"Sequence\",\n element: {\n type: { name: \"Composite\", className: \"SignedIdentifier\" }\n }\n },\n serializedName: \"SignedIdentifiers\",\n xmlName: \"SignedIdentifiers\",\n xmlIsWrapped: true,\n xmlElementName: \"SignedIdentifier\"\n },\n headersMapper: Mappers.ContainerGetAccessPolicyHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ContainerGetAccessPolicyExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.restype2,\n Parameters.comp7\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.leaseId\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst setAccessPolicyOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.ContainerSetAccessPolicyHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ContainerSetAccessPolicyExceptionHeaders\n }\n },\n requestBody: Parameters.containerAcl,\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.restype2,\n Parameters.comp7\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.version,\n Parameters.requestId,\n Parameters.access,\n Parameters.leaseId,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince\n ],\n isXML: true,\n contentType: \"application/xml; charset=utf-8\",\n mediaType: \"xml\",\n serializer: xmlSerializer\n};\nconst restoreOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.ContainerRestoreHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ContainerRestoreExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.restype2,\n Parameters.comp8\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.deletedContainerName,\n Parameters.deletedContainerVersion\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst renameOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.ContainerRenameHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ContainerRenameExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.restype2,\n Parameters.comp9\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.sourceContainerName,\n Parameters.sourceLeaseId\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst submitBatchOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}\",\n httpMethod: \"POST\",\n responses: {\n 202: {\n bodyMapper: {\n type: { name: \"Stream\" },\n serializedName: \"parsedResponse\"\n },\n headersMapper: Mappers.ContainerSubmitBatchHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ContainerSubmitBatchExceptionHeaders\n }\n },\n requestBody: Parameters.body,\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.comp4,\n Parameters.restype2\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.version,\n Parameters.requestId,\n Parameters.contentLength,\n Parameters.multipartContentType\n ],\n isXML: true,\n contentType: \"application/xml; charset=utf-8\",\n mediaType: \"xml\",\n serializer: xmlSerializer\n};\nconst filterBlobsOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.FilterBlobSegment,\n headersMapper: Mappers.ContainerFilterBlobsHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ContainerFilterBlobsExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.marker,\n Parameters.maxPageSize,\n Parameters.comp5,\n Parameters.where,\n Parameters.restype2\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst acquireLeaseOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.ContainerAcquireLeaseHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ContainerAcquireLeaseExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.restype2,\n Parameters.comp10\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.action,\n Parameters.duration,\n Parameters.proposedLeaseId\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst releaseLeaseOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.ContainerReleaseLeaseHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ContainerReleaseLeaseExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.restype2,\n Parameters.comp10\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.action1,\n Parameters.leaseId1\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst renewLeaseOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.ContainerRenewLeaseHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ContainerRenewLeaseExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.restype2,\n Parameters.comp10\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.leaseId1,\n Parameters.action2\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst breakLeaseOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}\",\n httpMethod: \"PUT\",\n responses: {\n 202: {\n headersMapper: Mappers.ContainerBreakLeaseHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ContainerBreakLeaseExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.restype2,\n Parameters.comp10\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.action3,\n Parameters.breakPeriod\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst changeLeaseOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.ContainerChangeLeaseHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ContainerChangeLeaseExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.restype2,\n Parameters.comp10\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.leaseId1,\n Parameters.action4,\n Parameters.proposedLeaseId1\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst listBlobFlatSegmentOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ListBlobsFlatSegmentResponse,\n headersMapper: Mappers.ContainerListBlobFlatSegmentHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ContainerListBlobFlatSegmentExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.comp2,\n Parameters.prefix,\n Parameters.marker,\n Parameters.maxPageSize,\n Parameters.restype2,\n Parameters.include1\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst listBlobHierarchySegmentOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ListBlobsHierarchySegmentResponse,\n headersMapper: Mappers.ContainerListBlobHierarchySegmentHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ContainerListBlobHierarchySegmentExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.comp2,\n Parameters.prefix,\n Parameters.marker,\n Parameters.maxPageSize,\n Parameters.restype2,\n Parameters.include1,\n Parameters.delimiter\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst getAccountInfoOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n headersMapper: Mappers.ContainerGetAccountInfoHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ContainerGetAccountInfoExceptionHeaders\n }\n },\n queryParameters: [Parameters.comp, Parameters.restype1],\n urlParameters: [Parameters.url],\n headerParameters: [Parameters.version, Parameters.accept1],\n isXML: true,\n serializer: xmlSerializer\n};\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n OperationTracingOptions,\n Span,\n SpanOptions,\n SpanKind,\n setSpan,\n context as otContext,\n getTracer\n} from \"./interfaces\";\nimport { trace, INVALID_SPAN_CONTEXT } from \"@opentelemetry/api\";\n\n/**\n * Arguments for `createSpanFunction` that allow you to specify the\n * prefix for each created span as well as the `az.namespace` attribute.\n *\n * @hidden\n */\nexport interface CreateSpanFunctionArgs {\n /**\n * Package name prefix.\n *\n * NOTE: if this is empty no prefix will be applied to created Span names.\n */\n packagePrefix: string;\n /**\n * Service namespace\n *\n * NOTE: if this is empty no `az.namespace` attribute will be added to created Spans.\n */\n namespace: string;\n}\n\nexport function isTracingDisabled(): boolean {\n if (typeof process === \"undefined\") {\n // not supported in browser for now without polyfills\n return false;\n }\n\n const azureTracingDisabledValue = process.env.AZURE_TRACING_DISABLED?.toLowerCase();\n\n if (azureTracingDisabledValue === \"false\" || azureTracingDisabledValue === \"0\") {\n return false;\n }\n\n return Boolean(azureTracingDisabledValue);\n}\n\n/**\n * Creates a function that can be used to create spans using the global tracer.\n *\n * Usage:\n *\n * ```typescript\n * // once\n * const createSpan = createSpanFunction({ packagePrefix: \"Azure.Data.AppConfiguration\", namespace: \"Microsoft.AppConfiguration\" });\n *\n * // in each operation\n * const span = createSpan(\"deleteConfigurationSetting\", operationOptions);\n * // code...\n * span.end();\n * ```\n *\n * @hidden\n * @param args - allows configuration of the prefix for each span as well as the az.namespace field.\n */\nexport function createSpanFunction(args: CreateSpanFunctionArgs) {\n return function(\n operationName: string,\n operationOptions: T | undefined\n ): { span: Span; updatedOptions: T } {\n const tracer = getTracer();\n const tracingOptions = operationOptions?.tracingOptions || {};\n const spanOptions: SpanOptions = {\n kind: SpanKind.INTERNAL,\n ...tracingOptions.spanOptions\n };\n\n const spanName = args.packagePrefix ? `${args.packagePrefix}.${operationName}` : operationName;\n\n let span: Span;\n if (isTracingDisabled()) {\n span = trace.wrapSpanContext(INVALID_SPAN_CONTEXT);\n } else {\n span = tracer.startSpan(spanName, spanOptions, tracingOptions.tracingContext);\n }\n\n if (args.namespace) {\n span.setAttribute(\"az.namespace\", args.namespace);\n }\n\n let newSpanOptions = tracingOptions.spanOptions || {};\n\n if (span.isRecording() && args.namespace) {\n newSpanOptions = {\n ...tracingOptions.spanOptions,\n attributes: {\n ...spanOptions.attributes,\n \"az.namespace\": args.namespace\n }\n };\n }\n\n const newTracingOptions: Required = {\n ...tracingOptions,\n spanOptions: newSpanOptions,\n tracingContext: setSpan(tracingOptions.tracingContext || otContext.active(), span)\n };\n\n const newOperationOptions = {\n ...operationOptions,\n tracingOptions: newTracingOptions\n } as T & { tracingOptions: Required };\n\n return {\n span,\n updatedOptions: newOperationOptions\n };\n };\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { SpanContext, TraceFlags } from \"../interfaces\";\n\nconst VERSION = \"00\";\n\n/**\n * Generates a `SpanContext` given a `traceparent` header value.\n * @param traceParent - Serialized span context data as a `traceparent` header value.\n * @returns The `SpanContext` generated from the `traceparent` value.\n */\nexport function extractSpanContextFromTraceParentHeader(\n traceParentHeader: string\n): SpanContext | undefined {\n const parts = traceParentHeader.split(\"-\");\n\n if (parts.length !== 4) {\n return;\n }\n\n const [version, traceId, spanId, traceOptions] = parts;\n\n if (version !== VERSION) {\n return;\n }\n\n const traceFlags = parseInt(traceOptions, 16);\n\n const spanContext: SpanContext = {\n spanId,\n traceId,\n traceFlags\n };\n\n return spanContext;\n}\n\n/**\n * Generates a `traceparent` value given a span context.\n * @param spanContext - Contains context for a specific span.\n * @returns The `spanContext` represented as a `traceparent` value.\n */\nexport function getTraceParentHeader(spanContext: SpanContext): string | undefined {\n const missingFields: string[] = [];\n if (!spanContext.traceId) {\n missingFields.push(\"traceId\");\n }\n if (!spanContext.spanId) {\n missingFields.push(\"spanId\");\n }\n\n if (missingFields.length) {\n return;\n }\n\n const flags = spanContext.traceFlags || TraceFlags.NONE;\n const hexFlags = flags.toString(16);\n const traceFlags = hexFlags.length === 1 ? `0${hexFlags}` : hexFlags;\n\n // https://www.w3.org/TR/trace-context/#traceparent-header-field-values\n return `${VERSION}-${spanContext.traceId}-${spanContext.spanId}-${traceFlags}`;\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { log } from \"./log\";\n\n/**\n * A simple mechanism for enabling logging.\n * Intended to mimic the publicly available `debug` package.\n */\nexport interface Debug {\n /**\n * Creates a new logger with the given namespace.\n */\n (namespace: string): Debugger;\n /**\n * The default log method (defaults to console)\n */\n log: (...args: any[]) => void;\n /**\n * Enables a particular set of namespaces.\n * To enable multiple separate them with commas, e.g. \"info,debug\".\n * Supports wildcards, e.g. \"azure:*\"\n * Supports skip syntax, e.g. \"azure:*,-azure:storage:*\" will enable\n * everything under azure except for things under azure:storage.\n */\n enable: (namespaces: string) => void;\n /**\n * Checks if a particular namespace is enabled.\n */\n enabled: (namespace: string) => boolean;\n /**\n * Disables all logging, returns what was previously enabled.\n */\n disable: () => string;\n}\n\n/**\n * A log function that can be dynamically enabled and redirected.\n */\nexport interface Debugger {\n /**\n * Logs the given arguments to the `log` method.\n */\n (...args: any[]): void;\n /**\n * True if this logger is active and logging.\n */\n enabled: boolean;\n /**\n * Used to cleanup/remove this logger.\n */\n destroy: () => boolean;\n /**\n * The current log method. Can be overridden to redirect output.\n */\n log: (...args: any[]) => void;\n /**\n * The namespace of this logger.\n */\n namespace: string;\n /**\n * Extends this logger with a child namespace.\n * Namespaces are separated with a ':' character.\n */\n extend: (namespace: string) => Debugger;\n}\n\nconst debugEnvVariable =\n (typeof process !== \"undefined\" && process.env && process.env.DEBUG) || undefined;\n\nlet enabledString: string | undefined;\nlet enabledNamespaces: RegExp[] = [];\nlet skippedNamespaces: RegExp[] = [];\nconst debuggers: Debugger[] = [];\n\nif (debugEnvVariable) {\n enable(debugEnvVariable);\n}\n\nconst debugObj: Debug = Object.assign(\n (namespace: string): Debugger => {\n return createDebugger(namespace);\n },\n {\n enable,\n enabled,\n disable,\n log\n }\n);\n\nfunction enable(namespaces: string): void {\n enabledString = namespaces;\n enabledNamespaces = [];\n skippedNamespaces = [];\n const wildcard = /\\*/g;\n const namespaceList = namespaces.split(\",\").map((ns) => ns.trim().replace(wildcard, \".*?\"));\n for (const ns of namespaceList) {\n if (ns.startsWith(\"-\")) {\n skippedNamespaces.push(new RegExp(`^${ns.substr(1)}$`));\n } else {\n enabledNamespaces.push(new RegExp(`^${ns}$`));\n }\n }\n for (const instance of debuggers) {\n instance.enabled = enabled(instance.namespace);\n }\n}\n\nfunction enabled(namespace: string): boolean {\n if (namespace.endsWith(\"*\")) {\n return true;\n }\n\n for (const skipped of skippedNamespaces) {\n if (skipped.test(namespace)) {\n return false;\n }\n }\n for (const enabledNamespace of enabledNamespaces) {\n if (enabledNamespace.test(namespace)) {\n return true;\n }\n }\n return false;\n}\n\nfunction disable(): string {\n const result = enabledString || \"\";\n enable(\"\");\n return result;\n}\n\nfunction createDebugger(namespace: string): Debugger {\n const newDebugger: Debugger = Object.assign(debug, {\n enabled: enabled(namespace),\n destroy,\n log: debugObj.log,\n namespace,\n extend\n });\n\n function debug(...args: any[]): void {\n if (!newDebugger.enabled) {\n return;\n }\n if (args.length > 0) {\n args[0] = `${namespace} ${args[0]}`;\n }\n newDebugger.log(...args);\n }\n\n debuggers.push(newDebugger);\n\n return newDebugger;\n}\n\nfunction destroy(this: Debugger): boolean {\n const index = debuggers.indexOf(this);\n if (index >= 0) {\n debuggers.splice(index, 1);\n return true;\n }\n return false;\n}\n\nfunction extend(this: Debugger, namespace: string): Debugger {\n const newDebugger = createDebugger(`${this.namespace}:${namespace}`);\n newDebugger.log = this.log;\n return newDebugger;\n}\n\nexport default debugObj;\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport util from \"util\";\nimport { EOL } from \"os\";\n\nexport function log(message: unknown, ...args: any[]): void {\n process.stderr.write(`${util.format(message, ...args)}${EOL}`);\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport debug, { Debugger } from \"./debug\";\nexport { Debugger } from \"./debug\";\n\nconst registeredLoggers = new Set();\nconst logLevelFromEnv =\n (typeof process !== \"undefined\" && process.env && process.env.AZURE_LOG_LEVEL) || undefined;\n\nlet azureLogLevel: AzureLogLevel | undefined;\n\n/**\n * The AzureLogger provides a mechanism for overriding where logs are output to.\n * By default, logs are sent to stderr.\n * Override the `log` method to redirect logs to another location.\n */\nexport const AzureLogger: AzureClientLogger = debug(\"azure\");\nAzureLogger.log = (...args) => {\n debug.log(...args);\n};\n\n/**\n * The log levels supported by the logger.\n * The log levels in order of most verbose to least verbose are:\n * - verbose\n * - info\n * - warning\n * - error\n */\nexport type AzureLogLevel = \"verbose\" | \"info\" | \"warning\" | \"error\";\nconst AZURE_LOG_LEVELS = [\"verbose\", \"info\", \"warning\", \"error\"];\n\ntype AzureDebugger = Debugger & { level: AzureLogLevel };\n\n/**\n * An AzureClientLogger is a function that can log to an appropriate severity level.\n */\nexport type AzureClientLogger = Debugger;\n\nif (logLevelFromEnv) {\n // avoid calling setLogLevel because we don't want a mis-set environment variable to crash\n if (isAzureLogLevel(logLevelFromEnv)) {\n setLogLevel(logLevelFromEnv);\n } else {\n console.error(\n `AZURE_LOG_LEVEL set to unknown log level '${logLevelFromEnv}'; logging is not enabled. Acceptable values: ${AZURE_LOG_LEVELS.join(\n \", \"\n )}.`\n );\n }\n}\n\n/**\n * Immediately enables logging at the specified log level.\n * @param level - The log level to enable for logging.\n * Options from most verbose to least verbose are:\n * - verbose\n * - info\n * - warning\n * - error\n */\nexport function setLogLevel(level?: AzureLogLevel): void {\n if (level && !isAzureLogLevel(level)) {\n throw new Error(\n `Unknown log level '${level}'. Acceptable values: ${AZURE_LOG_LEVELS.join(\",\")}`\n );\n }\n azureLogLevel = level;\n\n const enabledNamespaces = [];\n for (const logger of registeredLoggers) {\n if (shouldEnable(logger)) {\n enabledNamespaces.push(logger.namespace);\n }\n }\n\n debug.enable(enabledNamespaces.join(\",\"));\n}\n\n/**\n * Retrieves the currently specified log level.\n */\nexport function getLogLevel(): AzureLogLevel | undefined {\n return azureLogLevel;\n}\n\nconst levelMap = {\n verbose: 400,\n info: 300,\n warning: 200,\n error: 100\n};\n\n/**\n * Defines the methods available on the SDK-facing logger.\n */\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport interface AzureLogger {\n /**\n * Used for failures the program is unlikely to recover from,\n * such as Out of Memory.\n */\n error: Debugger;\n /**\n * Used when a function fails to perform its intended task.\n * Usually this means the function will throw an exception.\n * Not used for self-healing events (e.g. automatic retry)\n */\n warning: Debugger;\n /**\n * Used when a function operates normally.\n */\n info: Debugger;\n /**\n * Used for detailed trbouleshooting scenarios. This is\n * intended for use by developers / system administrators\n * for diagnosing specific failures.\n */\n verbose: Debugger;\n}\n\n/**\n * Creates a logger for use by the Azure SDKs that inherits from `AzureLogger`.\n * @param namespace - The name of the SDK package.\n * @hidden\n */\nexport function createClientLogger(namespace: string): AzureLogger {\n const clientRootLogger: AzureClientLogger = AzureLogger.extend(namespace);\n patchLogMethod(AzureLogger, clientRootLogger);\n return {\n error: createLogger(clientRootLogger, \"error\"),\n warning: createLogger(clientRootLogger, \"warning\"),\n info: createLogger(clientRootLogger, \"info\"),\n verbose: createLogger(clientRootLogger, \"verbose\")\n };\n}\n\nfunction patchLogMethod(parent: AzureClientLogger, child: AzureClientLogger | AzureDebugger): void {\n child.log = (...args) => {\n parent.log(...args);\n };\n}\n\nfunction createLogger(parent: AzureClientLogger, level: AzureLogLevel): AzureDebugger {\n const logger: AzureDebugger = Object.assign(parent.extend(level), {\n level\n });\n\n patchLogMethod(parent, logger);\n\n if (shouldEnable(logger)) {\n const enabledNamespaces = debug.disable();\n debug.enable(enabledNamespaces + \",\" + logger.namespace);\n }\n\n registeredLoggers.add(logger);\n\n return logger;\n}\n\nfunction shouldEnable(logger: AzureDebugger): boolean {\n if (azureLogLevel && levelMap[logger.level] <= levelMap[azureLogLevel]) {\n return true;\n } else {\n return false;\n }\n}\n\nfunction isAzureLogLevel(logLevel: string): logLevel is AzureLogLevel {\n return AZURE_LOG_LEVELS.includes(logLevel as any);\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\nimport { createClientLogger } from \"@azure/logger\";\nexport const logger = createClientLogger(\"core-http\");\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n BaseRequestPolicy,\n RequestPolicy,\n RequestPolicyFactory,\n RequestPolicyOptions,\n} from \"./requestPolicy\";\nimport {\n Span,\n SpanKind,\n SpanStatusCode,\n createSpanFunction,\n getTraceParentHeader,\n isSpanContextValid,\n} from \"@azure/core-tracing\";\nimport { HttpOperationResponse } from \"../httpOperationResponse\";\nimport { WebResourceLike } from \"../webResource\";\nimport { logger } from \"../log\";\n\nconst createSpan = createSpanFunction({\n packagePrefix: \"\",\n namespace: \"\",\n});\n\n/**\n * Options to customize the tracing policy.\n */\nexport interface TracingPolicyOptions {\n /**\n * User agent used to better identify the outgoing requests traced by the tracing policy.\n */\n userAgent?: string;\n}\n\n/**\n * Creates a policy that wraps outgoing requests with a tracing span.\n * @param tracingOptions - Tracing options.\n * @returns An instance of the {@link TracingPolicy} class.\n */\nexport function tracingPolicy(tracingOptions: TracingPolicyOptions = {}): RequestPolicyFactory {\n return {\n create(nextPolicy: RequestPolicy, options: RequestPolicyOptions) {\n return new TracingPolicy(nextPolicy, options, tracingOptions);\n },\n };\n}\n\n/**\n * A policy that wraps outgoing requests with a tracing span.\n */\nexport class TracingPolicy extends BaseRequestPolicy {\n private userAgent?: string;\n\n constructor(\n nextPolicy: RequestPolicy,\n options: RequestPolicyOptions,\n tracingOptions: TracingPolicyOptions\n ) {\n super(nextPolicy, options);\n this.userAgent = tracingOptions.userAgent;\n }\n\n public async sendRequest(request: WebResourceLike): Promise {\n if (!request.tracingContext) {\n return this._nextPolicy.sendRequest(request);\n }\n\n const span = this.tryCreateSpan(request);\n\n if (!span) {\n return this._nextPolicy.sendRequest(request);\n }\n\n try {\n const response = await this._nextPolicy.sendRequest(request);\n this.tryProcessResponse(span, response);\n return response;\n } catch (err: any) {\n this.tryProcessError(span, err);\n throw err;\n }\n }\n\n tryCreateSpan(request: WebResourceLike): Span | undefined {\n try {\n // Passing spanOptions as part of tracingOptions to maintain compatibility @azure/core-tracing@preview.13 and earlier.\n // We can pass this as a separate parameter once we upgrade to the latest core-tracing.\n const { span } = createSpan(`HTTP ${request.method}`, {\n tracingOptions: {\n spanOptions: {\n ...(request as any).spanOptions,\n kind: SpanKind.CLIENT,\n },\n tracingContext: request.tracingContext,\n },\n });\n\n // If the span is not recording, don't do any more work.\n if (!span.isRecording()) {\n span.end();\n return undefined;\n }\n\n const namespaceFromContext = request.tracingContext?.getValue(Symbol.for(\"az.namespace\"));\n\n if (typeof namespaceFromContext === \"string\") {\n span.setAttribute(\"az.namespace\", namespaceFromContext);\n }\n\n span.setAttributes({\n \"http.method\": request.method,\n \"http.url\": request.url,\n requestId: request.requestId,\n });\n\n if (this.userAgent) {\n span.setAttribute(\"http.user_agent\", this.userAgent);\n }\n\n // set headers\n const spanContext = span.spanContext();\n const traceParentHeader = getTraceParentHeader(spanContext);\n if (traceParentHeader && isSpanContextValid(spanContext)) {\n request.headers.set(\"traceparent\", traceParentHeader);\n const traceState = spanContext.traceState && spanContext.traceState.serialize();\n // if tracestate is set, traceparent MUST be set, so only set tracestate after traceparent\n if (traceState) {\n request.headers.set(\"tracestate\", traceState);\n }\n }\n return span;\n } catch (error: any) {\n logger.warning(`Skipping creating a tracing span due to an error: ${error.message}`);\n return undefined;\n }\n }\n\n private tryProcessError(span: Span, err: any): void {\n try {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: err.message,\n });\n\n if (err.statusCode) {\n span.setAttribute(\"http.status_code\", err.statusCode);\n }\n span.end();\n } catch (error: any) {\n logger.warning(`Skipping tracing span processing due to an error: ${error.message}`);\n }\n }\n\n private tryProcessResponse(span: Span, response: HttpOperationResponse): void {\n try {\n span.setAttribute(\"http.status_code\", response.status);\n const serviceRequestId = response.headers.get(\"x-ms-request-id\");\n if (serviceRequestId) {\n span.setAttribute(\"serviceRequestId\", serviceRequestId);\n }\n span.setStatus({\n code: SpanStatusCode.OK,\n });\n span.end();\n } catch (error: any) {\n logger.warning(`Skipping tracing span processing due to an error: ${error.message}`);\n }\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n BaseRequestPolicy,\n RequestPolicy,\n RequestPolicyFactory,\n RequestPolicyOptions,\n} from \"./requestPolicy\";\nimport { HttpOperationResponse } from \"../httpOperationResponse\";\nimport { WebResourceLike } from \"../webResource\";\n\n/**\n * Options for how HTTP connections should be maintained for future\n * requests.\n */\nexport interface KeepAliveOptions {\n /**\n * When true, connections will be kept alive for multiple requests.\n * Defaults to true.\n */\n enable: boolean;\n}\n\n/**\n * By default, HTTP connections are maintained for future requests.\n */\nexport const DefaultKeepAliveOptions: KeepAliveOptions = {\n enable: true,\n};\n\n/**\n * Creates a policy that controls whether HTTP connections are maintained on future requests.\n * @param keepAliveOptions - Keep alive options. By default, HTTP connections are maintained for future requests.\n * @returns An instance of the {@link KeepAlivePolicy}\n */\nexport function keepAlivePolicy(keepAliveOptions?: KeepAliveOptions): RequestPolicyFactory {\n return {\n create: (nextPolicy: RequestPolicy, options: RequestPolicyOptions) => {\n return new KeepAlivePolicy(nextPolicy, options, keepAliveOptions || DefaultKeepAliveOptions);\n },\n };\n}\n\n/**\n * KeepAlivePolicy is a policy used to control keep alive settings for every request.\n */\nexport class KeepAlivePolicy extends BaseRequestPolicy {\n /**\n * Creates an instance of KeepAlivePolicy.\n *\n * @param nextPolicy -\n * @param options -\n * @param keepAliveOptions -\n */\n constructor(\n nextPolicy: RequestPolicy,\n options: RequestPolicyOptions,\n private readonly keepAliveOptions: KeepAliveOptions\n ) {\n super(nextPolicy, options);\n }\n\n /**\n * Sends out request.\n *\n * @param request -\n * @returns\n */\n public async sendRequest(request: WebResourceLike): Promise {\n request.keepAlive = this.keepAliveOptions.enable;\n return this._nextPolicy.sendRequest(request);\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n BaseRequestPolicy,\n RequestPolicy,\n RequestPolicyFactory,\n RequestPolicyOptions,\n} from \"./requestPolicy\";\nimport { HttpOperationResponse } from \"../httpOperationResponse\";\nimport { WebResourceLike } from \"../webResource\";\n\n/**\n * Creates a policy that assigns a unique request id to outgoing requests.\n * @param requestIdHeaderName - The name of the header to use when assigning the unique id to the request.\n */\nexport function generateClientRequestIdPolicy(\n requestIdHeaderName = \"x-ms-client-request-id\"\n): RequestPolicyFactory {\n return {\n create: (nextPolicy: RequestPolicy, options: RequestPolicyOptions) => {\n return new GenerateClientRequestIdPolicy(nextPolicy, options, requestIdHeaderName);\n },\n };\n}\n\nexport class GenerateClientRequestIdPolicy extends BaseRequestPolicy {\n constructor(\n nextPolicy: RequestPolicy,\n options: RequestPolicyOptions,\n private _requestIdHeaderName: string\n ) {\n super(nextPolicy, options);\n }\n\n public sendRequest(request: WebResourceLike): Promise {\n if (!request.headers.contains(this._requestIdHeaderName)) {\n request.headers.set(this._requestIdHeaderName, request.requestId);\n }\n return this._nextPolicy.sendRequest(request);\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport * as xml2js from \"xml2js\";\nimport { SerializerOptions, XML_ATTRKEY, XML_CHARKEY } from \"./serializer.common\";\n\n// Note: The reason we re-define all of the xml2js default settings (version 2.0) here is because the default settings object exposed\n// by the xm2js library is mutable. See https://github.com/Leonidas-from-XIV/node-xml2js/issues/536\n// By creating a new copy of the settings each time we instantiate the parser,\n// we are safeguarding against the possibility of the default settings being mutated elsewhere unintentionally.\nconst xml2jsDefaultOptionsV2: xml2js.OptionsV2 = {\n explicitCharkey: false,\n trim: false,\n normalize: false,\n normalizeTags: false,\n attrkey: XML_ATTRKEY,\n explicitArray: true,\n ignoreAttrs: false,\n mergeAttrs: false,\n explicitRoot: true,\n validator: undefined,\n xmlns: false,\n explicitChildren: false,\n preserveChildrenOrder: false,\n childkey: \"$$\",\n charsAsChildren: false,\n includeWhiteChars: false,\n async: false,\n strict: true,\n attrNameProcessors: undefined,\n attrValueProcessors: undefined,\n tagNameProcessors: undefined,\n valueProcessors: undefined,\n rootName: \"root\",\n xmldec: {\n version: \"1.0\",\n encoding: \"UTF-8\",\n standalone: true,\n },\n doctype: undefined,\n renderOpts: {\n pretty: true,\n indent: \" \",\n newline: \"\\n\",\n },\n headless: false,\n chunkSize: 10000,\n emptyTag: \"\",\n cdata: false,\n};\n\n// The xml2js settings for general XML parsing operations.\nconst xml2jsParserSettings: any = Object.assign({}, xml2jsDefaultOptionsV2);\nxml2jsParserSettings.explicitArray = false;\n\n// The xml2js settings for general XML building operations.\nconst xml2jsBuilderSettings: any = Object.assign({}, xml2jsDefaultOptionsV2);\nxml2jsBuilderSettings.explicitArray = false;\nxml2jsBuilderSettings.renderOpts = {\n pretty: false,\n};\n\n/**\n * Converts given JSON object to XML string\n * @param obj - JSON object to be converted into XML string\n * @param opts - Options that govern the parsing of given JSON object\n */\nexport function stringifyXML(obj: unknown, opts: SerializerOptions = {}): string {\n xml2jsBuilderSettings.rootName = opts.rootName;\n xml2jsBuilderSettings.charkey = opts.xmlCharKey ?? XML_CHARKEY;\n const builder = new xml2js.Builder(xml2jsBuilderSettings);\n return builder.buildObject(obj);\n}\n\n/**\n * Converts given XML string into JSON\n * @param str - String containing the XML content to be parsed into JSON\n * @param opts - Options that govern the parsing of given xml string\n */\nexport function parseXML(str: string, opts: SerializerOptions = {}): Promise {\n xml2jsParserSettings.explicitRoot = !!opts.includeRoot;\n xml2jsParserSettings.charkey = opts.xmlCharKey ?? XML_CHARKEY;\n const xmlParser = new xml2js.Parser(xml2jsParserSettings);\n return new Promise((resolve, reject) => {\n if (!str) {\n reject(new Error(\"Document is empty\"));\n } else {\n xmlParser.parseString(str, (err: any, res: any) => {\n if (err) {\n reject(err);\n } else {\n resolve(res);\n }\n });\n }\n });\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n BaseRequestPolicy,\n RequestPolicy,\n RequestPolicyFactory,\n RequestPolicyOptions,\n} from \"./requestPolicy\";\nimport { SerializerOptions, XML_CHARKEY } from \"../util/serializer.common\";\nimport { HttpOperationResponse } from \"../httpOperationResponse\";\nimport { MapperType } from \"../serializer\";\nimport { OperationResponse } from \"../operationResponse\";\nimport { OperationSpec } from \"../operationSpec\";\nimport { RestError } from \"../restError\";\nimport { WebResourceLike } from \"../webResource\";\nimport { parseXML } from \"../util/xml\";\n\n/**\n * Options to configure API response deserialization.\n */\nexport interface DeserializationOptions {\n /**\n * Configures the expected content types for the deserialization of\n * JSON and XML response bodies.\n */\n expectedContentTypes: DeserializationContentTypes;\n}\n\n/**\n * The content-types that will indicate that an operation response should be deserialized in a\n * particular way.\n */\nexport interface DeserializationContentTypes {\n /**\n * The content-types that indicate that an operation response should be deserialized as JSON.\n * Defaults to [ \"application/json\", \"text/json\" ].\n */\n json?: string[];\n\n /**\n * The content-types that indicate that an operation response should be deserialized as XML.\n * Defaults to [ \"application/xml\", \"application/atom+xml\" ].\n */\n xml?: string[];\n}\n\n/**\n * Create a new serialization RequestPolicyCreator that will serialized HTTP request bodies as they\n * pass through the HTTP pipeline.\n */\nexport function deserializationPolicy(\n deserializationContentTypes?: DeserializationContentTypes,\n parsingOptions?: SerializerOptions\n): RequestPolicyFactory {\n return {\n create: (nextPolicy: RequestPolicy, options: RequestPolicyOptions) => {\n return new DeserializationPolicy(\n nextPolicy,\n options,\n deserializationContentTypes,\n parsingOptions\n );\n },\n };\n}\n\nexport const defaultJsonContentTypes = [\"application/json\", \"text/json\"];\nexport const defaultXmlContentTypes = [\"application/xml\", \"application/atom+xml\"];\n\nexport const DefaultDeserializationOptions: DeserializationOptions = {\n expectedContentTypes: {\n json: defaultJsonContentTypes,\n xml: defaultXmlContentTypes,\n },\n};\n\n/**\n * A RequestPolicy that will deserialize HTTP response bodies and headers as they pass through the\n * HTTP pipeline.\n */\nexport class DeserializationPolicy extends BaseRequestPolicy {\n public readonly jsonContentTypes: string[];\n public readonly xmlContentTypes: string[];\n public readonly xmlCharKey: string;\n\n constructor(\n nextPolicy: RequestPolicy,\n requestPolicyOptions: RequestPolicyOptions,\n deserializationContentTypes?: DeserializationContentTypes,\n parsingOptions: SerializerOptions = {}\n ) {\n super(nextPolicy, requestPolicyOptions);\n\n this.jsonContentTypes =\n (deserializationContentTypes && deserializationContentTypes.json) || defaultJsonContentTypes;\n this.xmlContentTypes =\n (deserializationContentTypes && deserializationContentTypes.xml) || defaultXmlContentTypes;\n this.xmlCharKey = parsingOptions.xmlCharKey ?? XML_CHARKEY;\n }\n\n public async sendRequest(request: WebResourceLike): Promise {\n return this._nextPolicy.sendRequest(request).then((response: HttpOperationResponse) =>\n deserializeResponseBody(this.jsonContentTypes, this.xmlContentTypes, response, {\n xmlCharKey: this.xmlCharKey,\n })\n );\n }\n}\n\nfunction getOperationResponse(\n parsedResponse: HttpOperationResponse\n): undefined | OperationResponse {\n let result: OperationResponse | undefined;\n const request: WebResourceLike = parsedResponse.request;\n const operationSpec: OperationSpec | undefined = request.operationSpec;\n if (operationSpec) {\n const operationResponseGetter:\n | undefined\n | ((\n operationSpec: OperationSpec,\n response: HttpOperationResponse\n ) => undefined | OperationResponse) = request.operationResponseGetter;\n if (!operationResponseGetter) {\n result = operationSpec.responses[parsedResponse.status];\n } else {\n result = operationResponseGetter(operationSpec, parsedResponse);\n }\n }\n return result;\n}\n\nfunction shouldDeserializeResponse(parsedResponse: HttpOperationResponse): boolean {\n const shouldDeserialize: undefined | boolean | ((response: HttpOperationResponse) => boolean) =\n parsedResponse.request.shouldDeserialize;\n let result: boolean;\n if (shouldDeserialize === undefined) {\n result = true;\n } else if (typeof shouldDeserialize === \"boolean\") {\n result = shouldDeserialize;\n } else {\n result = shouldDeserialize(parsedResponse);\n }\n return result;\n}\n\n/**\n * Given a particular set of content types to parse as either JSON or XML, consumes the HTTP response to produce the result object defined by the request's {@link OperationSpec}.\n * @param jsonContentTypes - Response content types to parse the body as JSON.\n * @param xmlContentTypes - Response content types to parse the body as XML.\n * @param response - HTTP Response from the pipeline.\n * @param options - Options to the serializer, mostly for configuring the XML parser if needed.\n * @returns A parsed {@link HttpOperationResponse} object that can be returned by the {@link ServiceClient}.\n */\nexport function deserializeResponseBody(\n jsonContentTypes: string[],\n xmlContentTypes: string[],\n response: HttpOperationResponse,\n options: SerializerOptions = {}\n): Promise {\n const updatedOptions: Required = {\n rootName: options.rootName ?? \"\",\n includeRoot: options.includeRoot ?? false,\n xmlCharKey: options.xmlCharKey ?? XML_CHARKEY,\n };\n return parse(jsonContentTypes, xmlContentTypes, response, updatedOptions).then(\n (parsedResponse) => {\n if (!shouldDeserializeResponse(parsedResponse)) {\n return parsedResponse;\n }\n\n const operationSpec = parsedResponse.request.operationSpec;\n if (!operationSpec || !operationSpec.responses) {\n return parsedResponse;\n }\n\n const responseSpec = getOperationResponse(parsedResponse);\n\n const { error, shouldReturnResponse } = handleErrorResponse(\n parsedResponse,\n operationSpec,\n responseSpec\n );\n if (error) {\n throw error;\n } else if (shouldReturnResponse) {\n return parsedResponse;\n }\n\n // An operation response spec does exist for current status code, so\n // use it to deserialize the response.\n if (responseSpec) {\n if (responseSpec.bodyMapper) {\n let valueToDeserialize: any = parsedResponse.parsedBody;\n if (operationSpec.isXML && responseSpec.bodyMapper.type.name === MapperType.Sequence) {\n valueToDeserialize =\n typeof valueToDeserialize === \"object\"\n ? valueToDeserialize[responseSpec.bodyMapper.xmlElementName!]\n : [];\n }\n try {\n parsedResponse.parsedBody = operationSpec.serializer.deserialize(\n responseSpec.bodyMapper,\n valueToDeserialize,\n \"operationRes.parsedBody\",\n options\n );\n } catch (innerError: any) {\n const restError = new RestError(\n `Error ${innerError} occurred in deserializing the responseBody - ${parsedResponse.bodyAsText}`,\n undefined,\n parsedResponse.status,\n parsedResponse.request,\n parsedResponse\n );\n throw restError;\n }\n } else if (operationSpec.httpMethod === \"HEAD\") {\n // head methods never have a body, but we return a boolean to indicate presence/absence of the resource\n parsedResponse.parsedBody = response.status >= 200 && response.status < 300;\n }\n\n if (responseSpec.headersMapper) {\n parsedResponse.parsedHeaders = operationSpec.serializer.deserialize(\n responseSpec.headersMapper,\n parsedResponse.headers.toJson(),\n \"operationRes.parsedHeaders\",\n options\n );\n }\n }\n\n return parsedResponse;\n }\n );\n}\n\nfunction isOperationSpecEmpty(operationSpec: OperationSpec): boolean {\n const expectedStatusCodes = Object.keys(operationSpec.responses);\n return (\n expectedStatusCodes.length === 0 ||\n (expectedStatusCodes.length === 1 && expectedStatusCodes[0] === \"default\")\n );\n}\n\nfunction handleErrorResponse(\n parsedResponse: HttpOperationResponse,\n operationSpec: OperationSpec,\n responseSpec: OperationResponse | undefined\n): { error: RestError | null; shouldReturnResponse: boolean } {\n const isSuccessByStatus = 200 <= parsedResponse.status && parsedResponse.status < 300;\n const isExpectedStatusCode: boolean = isOperationSpecEmpty(operationSpec)\n ? isSuccessByStatus\n : !!responseSpec;\n\n if (isExpectedStatusCode) {\n if (responseSpec) {\n if (!responseSpec.isError) {\n return { error: null, shouldReturnResponse: false };\n }\n } else {\n return { error: null, shouldReturnResponse: false };\n }\n }\n\n const errorResponseSpec = responseSpec ?? operationSpec.responses.default;\n const streaming =\n parsedResponse.request.streamResponseStatusCodes?.has(parsedResponse.status) ||\n parsedResponse.request.streamResponseBody;\n const initialErrorMessage = streaming\n ? `Unexpected status code: ${parsedResponse.status}`\n : (parsedResponse.bodyAsText as string);\n\n const error = new RestError(\n initialErrorMessage,\n undefined,\n parsedResponse.status,\n parsedResponse.request,\n parsedResponse\n );\n\n // If the item failed but there's no error spec or default spec to deserialize the error,\n // we should fail so we just throw the parsed response\n if (!errorResponseSpec) {\n throw error;\n }\n\n const defaultBodyMapper = errorResponseSpec.bodyMapper;\n const defaultHeadersMapper = errorResponseSpec.headersMapper;\n\n try {\n // If error response has a body, try to deserialize it using default body mapper.\n // Then try to extract error code & message from it\n if (parsedResponse.parsedBody) {\n const parsedBody = parsedResponse.parsedBody;\n let parsedError;\n if (defaultBodyMapper) {\n let valueToDeserialize: any = parsedBody;\n if (operationSpec.isXML && defaultBodyMapper.type.name === MapperType.Sequence) {\n valueToDeserialize =\n typeof parsedBody === \"object\" ? parsedBody[defaultBodyMapper.xmlElementName!] : [];\n }\n parsedError = operationSpec.serializer.deserialize(\n defaultBodyMapper,\n valueToDeserialize,\n \"error.response.parsedBody\"\n );\n }\n\n const internalError: any = parsedBody.error || parsedError || parsedBody;\n error.code = internalError.code;\n if (internalError.message) {\n error.message = internalError.message;\n }\n\n if (defaultBodyMapper) {\n error.response!.parsedBody = parsedError;\n }\n }\n\n // If error response has headers, try to deserialize it using default header mapper\n if (parsedResponse.headers && defaultHeadersMapper) {\n error.response!.parsedHeaders = operationSpec.serializer.deserialize(\n defaultHeadersMapper,\n parsedResponse.headers.toJson(),\n \"operationRes.parsedHeaders\"\n );\n }\n } catch (defaultError: any) {\n error.message = `Error \"${defaultError.message}\" occurred in deserializing the responseBody - \"${parsedResponse.bodyAsText}\" for the default response.`;\n }\n\n return { error, shouldReturnResponse: false };\n}\n\nfunction parse(\n jsonContentTypes: string[],\n xmlContentTypes: string[],\n operationResponse: HttpOperationResponse,\n opts: Required\n): Promise {\n const errorHandler = (err: Error & { code: string }): Promise => {\n const msg = `Error \"${err}\" occurred while parsing the response body - ${operationResponse.bodyAsText}.`;\n const errCode = err.code || RestError.PARSE_ERROR;\n const e = new RestError(\n msg,\n errCode,\n operationResponse.status,\n operationResponse.request,\n operationResponse\n );\n return Promise.reject(e);\n };\n\n const streaming =\n operationResponse.request.streamResponseStatusCodes?.has(operationResponse.status) ||\n operationResponse.request.streamResponseBody;\n if (!streaming && operationResponse.bodyAsText) {\n const text = operationResponse.bodyAsText;\n const contentType: string = operationResponse.headers.get(\"Content-Type\") || \"\";\n const contentComponents: string[] = !contentType\n ? []\n : contentType.split(\";\").map((component) => component.toLowerCase());\n if (\n contentComponents.length === 0 ||\n contentComponents.some((component) => jsonContentTypes.indexOf(component) !== -1)\n ) {\n return new Promise((resolve) => {\n operationResponse.parsedBody = JSON.parse(text);\n resolve(operationResponse);\n }).catch(errorHandler);\n } else if (contentComponents.some((component) => xmlContentTypes.indexOf(component) !== -1)) {\n return parseXML(text, opts)\n .then((body) => {\n operationResponse.parsedBody = body;\n return operationResponse;\n })\n .catch(errorHandler);\n }\n }\n\n return Promise.resolve(operationResponse);\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n BaseRequestPolicy,\n RequestPolicy,\n RequestPolicyFactory,\n RequestPolicyOptions,\n} from \"./requestPolicy\";\nimport { Debugger } from \"@azure/logger\";\nimport { HttpOperationResponse } from \"../httpOperationResponse\";\nimport { Sanitizer } from \"../util/sanitizer\";\nimport { WebResourceLike } from \"../webResource\";\nimport { logger as coreLogger } from \"../log\";\n\n/**\n * Options to pass to the {@link logPolicy}.\n * By default only a set list of headers are logged, though this can be configured. Request and response bodies are never logged.\n */\nexport interface LogPolicyOptions {\n /**\n * Header names whose values will be logged when logging is enabled. Defaults to:\n * x-ms-client-request-id, x-ms-return-client-request-id, x-ms-useragent, x-ms-correlation-request-id,\n * x-ms-request-id, client-request-id, ms-cv, return-client-request-id, traceparent, Access-Control-Allow-Credentials,\n * Access-Control-Allow-Headers, Access-Control-Allow-Methods, Access-Control-Allow-Origin, Access-Control-Expose-Headers,\n * Access-Control-Max-Age, Access-Control-Request-Headers, Access-Control-Request-Method, Origin, Accept, Accept-Encoding,\n * Cache-Control, Connection, Content-Length, Content-Type, Date, ETag, Expires, If-Match, If-Modified-Since, If-None-Match,\n * If-Unmodified-Since, Last-Modified, Pragma, Request-Id, Retry-After, Server, Transfer-Encoding, and User-Agent.\n *\n * Any headers specified in this field will be added to that list.\n * Any other values will be written to logs as \"REDACTED\".\n */\n allowedHeaderNames?: string[];\n\n /**\n * Query string names whose values will be logged when logging is enabled. By default no\n * query string values are logged.\n */\n allowedQueryParameters?: string[];\n\n /**\n * The Debugger (logger) instance to use for writing pipeline logs.\n */\n logger?: Debugger;\n}\n\n/**\n * Creates a policy that logs information about the outgoing request and the incoming responses.\n * @param loggingOptions - Logging options.\n * @returns An instance of the {@link LogPolicy}\n */\nexport function logPolicy(loggingOptions: LogPolicyOptions = {}): RequestPolicyFactory {\n return {\n create: (nextPolicy: RequestPolicy, options: RequestPolicyOptions) => {\n return new LogPolicy(nextPolicy, options, loggingOptions);\n },\n };\n}\n\n/**\n * A policy that logs information about the outgoing request and the incoming responses.\n */\nexport class LogPolicy extends BaseRequestPolicy {\n logger: Debugger;\n sanitizer: Sanitizer;\n\n /**\n * Header names whose values will be logged when logging is enabled. Defaults to\n * Date, traceparent, x-ms-client-request-id, and x-ms-request id. Any headers\n * specified in this field will be added to that list. Any other values will\n * be written to logs as \"REDACTED\".\n * @deprecated Pass these into the constructor instead.\n */\n public get allowedHeaderNames(): Set {\n return this.sanitizer.allowedHeaderNames;\n }\n\n /**\n * Header names whose values will be logged when logging is enabled. Defaults to\n * Date, traceparent, x-ms-client-request-id, and x-ms-request id. Any headers\n * specified in this field will be added to that list. Any other values will\n * be written to logs as \"REDACTED\".\n * @deprecated Pass these into the constructor instead.\n */\n public set allowedHeaderNames(allowedHeaderNames: Set) {\n this.sanitizer.allowedHeaderNames = allowedHeaderNames;\n }\n\n /**\n * Query string names whose values will be logged when logging is enabled. By default no\n * query string values are logged.\n * @deprecated Pass these into the constructor instead.\n */\n public get allowedQueryParameters(): Set {\n return this.sanitizer.allowedQueryParameters;\n }\n\n /**\n * Query string names whose values will be logged when logging is enabled. By default no\n * query string values are logged.\n * @deprecated Pass these into the constructor instead.\n */\n public set allowedQueryParameters(allowedQueryParameters: Set) {\n this.sanitizer.allowedQueryParameters = allowedQueryParameters;\n }\n\n constructor(\n nextPolicy: RequestPolicy,\n options: RequestPolicyOptions,\n {\n logger = coreLogger.info,\n allowedHeaderNames = [],\n allowedQueryParameters = [],\n }: LogPolicyOptions = {}\n ) {\n super(nextPolicy, options);\n this.logger = logger;\n this.sanitizer = new Sanitizer({ allowedHeaderNames, allowedQueryParameters });\n }\n\n public sendRequest(request: WebResourceLike): Promise {\n if (!this.logger.enabled) return this._nextPolicy.sendRequest(request);\n\n this.logRequest(request);\n return this._nextPolicy.sendRequest(request).then((response) => this.logResponse(response));\n }\n\n private logRequest(request: WebResourceLike): void {\n this.logger(`Request: ${this.sanitizer.sanitize(request)}`);\n }\n\n private logResponse(response: HttpOperationResponse): HttpOperationResponse {\n this.logger(`Response status code: ${response.status}`);\n this.logger(`Headers: ${this.sanitizer.sanitize(response.headers)}`);\n return response;\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n BaseRequestPolicy,\n RequestPolicy,\n RequestPolicyFactory,\n RequestPolicyOptions,\n} from \"./requestPolicy\";\nimport { HttpOperationResponse } from \"../httpOperationResponse\";\nimport { WebResource } from \"../webResource\";\n\n/**\n * Returns a request policy factory that can be used to create an instance of\n * {@link DisableResponseDecompressionPolicy}.\n */\nexport function disableResponseDecompressionPolicy(): RequestPolicyFactory {\n return {\n create: (nextPolicy: RequestPolicy, options: RequestPolicyOptions) => {\n return new DisableResponseDecompressionPolicy(nextPolicy, options);\n },\n };\n}\n\n/**\n * A policy to disable response decompression according to Accept-Encoding header\n * https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Encoding\n */\nexport class DisableResponseDecompressionPolicy extends BaseRequestPolicy {\n /**\n * Creates an instance of DisableResponseDecompressionPolicy.\n *\n * @param nextPolicy -\n * @param options -\n */\n // The parent constructor is protected.\n /* eslint-disable-next-line @typescript-eslint/no-useless-constructor */\n constructor(nextPolicy: RequestPolicy, options: RequestPolicyOptions) {\n super(nextPolicy, options);\n }\n\n /**\n * Sends out request.\n *\n * @param request -\n * @returns\n */\n public async sendRequest(request: WebResource): Promise {\n request.decompressResponse = false;\n return this._nextPolicy.sendRequest(request);\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\n/**\n * A collection of HttpHeaders that can be sent with a HTTP request.\n */\nfunction getHeaderKey(headerName: string): string {\n return headerName.toLowerCase();\n}\n\n/**\n * An individual header within a HttpHeaders collection.\n */\nexport interface HttpHeader {\n /**\n * The name of the header.\n */\n name: string;\n\n /**\n * The value of the header.\n */\n value: string;\n}\n\n/**\n * A HttpHeaders collection represented as a simple JSON object.\n */\nexport type RawHttpHeaders = { [headerName: string]: string };\n\n/**\n * A collection of HTTP header key/value pairs.\n */\nexport interface HttpHeadersLike {\n /**\n * Set a header in this collection with the provided name and value. The name is\n * case-insensitive.\n * @param headerName - The name of the header to set. This value is case-insensitive.\n * @param headerValue - The value of the header to set.\n */\n set(headerName: string, headerValue: string | number): void;\n /**\n * Get the header value for the provided header name, or undefined if no header exists in this\n * collection with the provided name.\n * @param headerName - The name of the header.\n */\n get(headerName: string): string | undefined;\n /**\n * Get whether or not this header collection contains a header entry for the provided header name.\n */\n contains(headerName: string): boolean;\n /**\n * Remove the header with the provided headerName. Return whether or not the header existed and\n * was removed.\n * @param headerName - The name of the header to remove.\n */\n remove(headerName: string): boolean;\n /**\n * Get the headers that are contained this collection as an object.\n */\n rawHeaders(): RawHttpHeaders;\n /**\n * Get the headers that are contained in this collection as an array.\n */\n headersArray(): HttpHeader[];\n /**\n * Get the header names that are contained in this collection.\n */\n headerNames(): string[];\n /**\n * Get the header values that are contained in this collection.\n */\n headerValues(): string[];\n /**\n * Create a deep clone/copy of this HttpHeaders collection.\n */\n clone(): HttpHeadersLike;\n /**\n * Get the JSON object representation of this HTTP header collection.\n * The result is the same as `rawHeaders()`.\n */\n toJson(options?: { preserveCase?: boolean }): RawHttpHeaders;\n}\n\nexport function isHttpHeadersLike(object?: unknown): object is HttpHeadersLike {\n if (object && typeof object === \"object\") {\n const castObject = object as {\n rawHeaders: unknown;\n clone: unknown;\n get: unknown;\n set: unknown;\n contains: unknown;\n remove: unknown;\n headersArray: unknown;\n headerValues: unknown;\n headerNames: unknown;\n toJson: unknown;\n };\n if (\n typeof castObject.rawHeaders === \"function\" &&\n typeof castObject.clone === \"function\" &&\n typeof castObject.get === \"function\" &&\n typeof castObject.set === \"function\" &&\n typeof castObject.contains === \"function\" &&\n typeof castObject.remove === \"function\" &&\n typeof castObject.headersArray === \"function\" &&\n typeof castObject.headerValues === \"function\" &&\n typeof castObject.headerNames === \"function\" &&\n typeof castObject.toJson === \"function\"\n ) {\n return true;\n }\n }\n\n return false;\n}\n\n/**\n * A collection of HTTP header key/value pairs.\n */\nexport class HttpHeaders implements HttpHeadersLike {\n private readonly _headersMap: { [headerKey: string]: HttpHeader };\n\n constructor(rawHeaders?: RawHttpHeaders) {\n this._headersMap = {};\n if (rawHeaders) {\n for (const headerName in rawHeaders) {\n this.set(headerName, rawHeaders[headerName]);\n }\n }\n }\n\n /**\n * Set a header in this collection with the provided name and value. The name is\n * case-insensitive.\n * @param headerName - The name of the header to set. This value is case-insensitive.\n * @param headerValue - The value of the header to set.\n */\n public set(headerName: string, headerValue: string | number): void {\n this._headersMap[getHeaderKey(headerName)] = {\n name: headerName,\n value: headerValue.toString(),\n };\n }\n\n /**\n * Get the header value for the provided header name, or undefined if no header exists in this\n * collection with the provided name.\n * @param headerName - The name of the header.\n */\n public get(headerName: string): string | undefined {\n const header: HttpHeader = this._headersMap[getHeaderKey(headerName)];\n return !header ? undefined : header.value;\n }\n\n /**\n * Get whether or not this header collection contains a header entry for the provided header name.\n */\n public contains(headerName: string): boolean {\n return !!this._headersMap[getHeaderKey(headerName)];\n }\n\n /**\n * Remove the header with the provided headerName. Return whether or not the header existed and\n * was removed.\n * @param headerName - The name of the header to remove.\n */\n public remove(headerName: string): boolean {\n const result: boolean = this.contains(headerName);\n delete this._headersMap[getHeaderKey(headerName)];\n return result;\n }\n\n /**\n * Get the headers that are contained this collection as an object.\n */\n public rawHeaders(): RawHttpHeaders {\n return this.toJson({ preserveCase: true });\n }\n\n /**\n * Get the headers that are contained in this collection as an array.\n */\n public headersArray(): HttpHeader[] {\n const headers: HttpHeader[] = [];\n for (const headerKey in this._headersMap) {\n headers.push(this._headersMap[headerKey]);\n }\n return headers;\n }\n\n /**\n * Get the header names that are contained in this collection.\n */\n public headerNames(): string[] {\n const headerNames: string[] = [];\n const headers: HttpHeader[] = this.headersArray();\n for (let i = 0; i < headers.length; ++i) {\n headerNames.push(headers[i].name);\n }\n return headerNames;\n }\n\n /**\n * Get the header values that are contained in this collection.\n */\n public headerValues(): string[] {\n const headerValues: string[] = [];\n const headers: HttpHeader[] = this.headersArray();\n for (let i = 0; i < headers.length; ++i) {\n headerValues.push(headers[i].value);\n }\n return headerValues;\n }\n\n /**\n * Get the JSON object representation of this HTTP header collection.\n */\n public toJson(options: { preserveCase?: boolean } = {}): RawHttpHeaders {\n const result: RawHttpHeaders = {};\n if (options.preserveCase) {\n for (const headerKey in this._headersMap) {\n const header: HttpHeader = this._headersMap[headerKey];\n result[header.name] = header.value;\n }\n } else {\n for (const headerKey in this._headersMap) {\n const header: HttpHeader = this._headersMap[headerKey];\n result[getHeaderKey(header.name)] = header.value;\n }\n }\n return result;\n }\n\n /**\n * Get the string representation of this HTTP header collection.\n */\n public toString(): string {\n return JSON.stringify(this.toJson({ preserveCase: true }));\n }\n\n /**\n * Create a deep clone/copy of this HttpHeaders collection.\n */\n public clone(): HttpHeaders {\n const resultPreservingCasing: RawHttpHeaders = {};\n for (const headerKey in this._headersMap) {\n const header: HttpHeader = this._headersMap[headerKey];\n resultPreservingCasing[header.name] = header.value;\n }\n return new HttpHeaders(resultPreservingCasing);\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { Context, SpanOptions } from \"@azure/core-tracing\";\nimport { HttpHeaders, HttpHeadersLike, isHttpHeadersLike } from \"./httpHeaders\";\nimport { Mapper, Serializer } from \"./serializer\";\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport { HttpOperationResponse } from \"./httpOperationResponse\";\nimport { OperationResponse } from \"./operationResponse\";\nimport { OperationSpec } from \"./operationSpec\";\nimport { ProxySettings } from \"./serviceClient\";\nimport { SerializerOptions } from \"./util/serializer.common\";\nimport { generateUuid } from \"./util/utils\";\n\n/**\n * List of supported HTTP methods.\n */\nexport type HttpMethods =\n | \"GET\"\n | \"PUT\"\n | \"POST\"\n | \"DELETE\"\n | \"PATCH\"\n | \"HEAD\"\n | \"OPTIONS\"\n | \"TRACE\";\n\n/**\n * Possible HTTP request body types\n */\nexport type HttpRequestBody =\n | Blob\n | string\n | ArrayBuffer\n | ArrayBufferView\n | (() => NodeJS.ReadableStream);\n\n/**\n * Fired in response to upload or download progress.\n */\nexport type TransferProgressEvent = {\n /**\n * The number of bytes loaded so far.\n */\n loadedBytes: number;\n};\n\n/**\n * A description of a HTTP request to be made to a remote server.\n */\nexport interface WebResourceLike {\n /**\n * The URL being accessed by the request.\n */\n url: string;\n /**\n * The HTTP method to use when making the request.\n */\n method: HttpMethods;\n /**\n * The HTTP body contents of the request.\n */\n body?: any;\n /**\n * The HTTP headers to use when making the request.\n */\n headers: HttpHeadersLike;\n /**\n * Whether or not the body of the HttpOperationResponse should be treated as a stream.\n * @deprecated Use streamResponseStatusCodes property instead.\n */\n streamResponseBody?: boolean;\n /**\n * A list of response status codes whose corresponding HttpOperationResponse body should be treated as a stream.\n */\n streamResponseStatusCodes?: Set;\n /**\n * Whether or not the HttpOperationResponse should be deserialized. If this is undefined, then the\n * HttpOperationResponse should be deserialized.\n */\n shouldDeserialize?: boolean | ((response: HttpOperationResponse) => boolean);\n /**\n * A function that returns the proper OperationResponse for the given OperationSpec and\n * HttpOperationResponse combination. If this is undefined, then a simple status code lookup will\n * be used.\n */\n operationResponseGetter?: (\n operationSpec: OperationSpec,\n response: HttpOperationResponse\n ) => undefined | OperationResponse;\n /**\n * Form data, used to build the request body.\n */\n formData?: any;\n /**\n * A query string represented as an object.\n */\n query?: { [key: string]: any };\n /**\n * Used to parse the response.\n */\n operationSpec?: OperationSpec;\n /**\n * If credentials (cookies) should be sent along during an XHR.\n */\n withCredentials: boolean;\n /**\n * The number of milliseconds a request can take before automatically being terminated.\n * If the request is terminated, an `AbortError` is thrown.\n */\n timeout: number;\n /**\n * Proxy configuration.\n */\n proxySettings?: ProxySettings;\n /**\n * If the connection should be reused.\n */\n keepAlive?: boolean;\n /**\n * Whether or not to decompress response according to Accept-Encoding header (node-fetch only)\n */\n decompressResponse?: boolean;\n /**\n * A unique identifier for the request. Used for logging and tracing.\n */\n requestId: string;\n\n /**\n * Signal of an abort controller. Can be used to abort both sending a network request and waiting for a response.\n */\n abortSignal?: AbortSignalLike;\n\n /**\n * Callback which fires upon upload progress.\n */\n onUploadProgress?: (progress: TransferProgressEvent) => void;\n\n /** Callback which fires upon download progress. */\n onDownloadProgress?: (progress: TransferProgressEvent) => void;\n\n /**\n * Tracing: Context used when creating spans.\n */\n tracingContext?: Context;\n\n /**\n * Validates that the required properties such as method, url, headers[\"Content-Type\"],\n * headers[\"accept-language\"] are defined. It will throw an error if one of the above\n * mentioned properties are not defined.\n */\n validateRequestProperties(): void;\n\n /**\n * Sets options on the request.\n */\n prepare(options: RequestPrepareOptions): WebResourceLike;\n /**\n * Clone this request object.\n */\n clone(): WebResourceLike;\n}\n\nexport function isWebResourceLike(object: unknown): object is WebResourceLike {\n if (object && typeof object === \"object\") {\n const castObject = object as {\n url: unknown;\n method: unknown;\n headers: unknown;\n validateRequestProperties: unknown;\n prepare: unknown;\n clone: unknown;\n };\n if (\n typeof castObject.url === \"string\" &&\n typeof castObject.method === \"string\" &&\n typeof castObject.headers === \"object\" &&\n isHttpHeadersLike(castObject.headers) &&\n typeof castObject.validateRequestProperties === \"function\" &&\n typeof castObject.prepare === \"function\" &&\n typeof castObject.clone === \"function\"\n ) {\n return true;\n }\n }\n return false;\n}\n\n/**\n * Creates a new WebResource object.\n *\n * This class provides an abstraction over a REST call by being library / implementation agnostic and wrapping the necessary\n * properties to initiate a request.\n */\nexport class WebResource implements WebResourceLike {\n /**\n * URL of the outgoing request.\n */\n url: string;\n /**\n * HTTP method to use.\n */\n method: HttpMethods;\n /**\n * Request body.\n */\n body?: any;\n /**\n * HTTP headers.\n */\n headers: HttpHeadersLike;\n /**\n * Whether or not the body of the HttpOperationResponse should be treated as a stream.\n * @deprecated Use streamResponseStatusCodes property instead.\n */\n streamResponseBody?: boolean;\n /**\n * A list of status codes whose corresponding HttpOperationResponse body should be treated as a stream.\n */\n streamResponseStatusCodes?: Set;\n /**\n * Whether or not the HttpOperationResponse should be deserialized. If this is undefined, then the\n * HttpOperationResponse should be deserialized.\n */\n shouldDeserialize?: boolean | ((response: HttpOperationResponse) => boolean);\n /**\n * A function that returns the proper OperationResponse for the given OperationSpec and\n * HttpOperationResponse combination. If this is undefined, then a simple status code lookup will\n * be used.\n */\n operationResponseGetter?: (\n operationSpec: OperationSpec,\n response: HttpOperationResponse\n ) => undefined | OperationResponse;\n /**\n * Form data, used to build the request body.\n */\n formData?: any;\n /**\n * Query added to the URL.\n */\n query?: { [key: string]: any };\n /**\n * Specification of the HTTP request.\n */\n operationSpec?: OperationSpec;\n /**\n * Whether to send credentials (via cookies, authorization headers, or TLS client certificates) when making a request in the browser to a cross-site destination.\n */\n withCredentials: boolean;\n /**\n * How long to wait in milliseconds before aborting the request.\n */\n timeout: number;\n /**\n * What proxy to use, if necessary.\n */\n proxySettings?: ProxySettings;\n /**\n * Whether to keep the HTTP connections alive throughout requests.\n */\n keepAlive?: boolean;\n /**\n * Whether or not to decompress response according to Accept-Encoding header (node-fetch only)\n */\n decompressResponse?: boolean;\n /**\n * Unique identifier of the outgoing request.\n */\n requestId: string;\n\n /**\n * Signal of an abort controller. Can be used to abort both sending a network request and waiting for a response.\n */\n abortSignal?: AbortSignalLike;\n\n /**\n * Callback which fires upon upload progress.\n */\n onUploadProgress?: (progress: TransferProgressEvent) => void;\n\n /**\n * Callback which fires upon download progress.\n */\n onDownloadProgress?: (progress: TransferProgressEvent) => void;\n\n /**\n * Tracing: Options used to create a span when tracing is enabled.\n */\n spanOptions?: SpanOptions;\n\n /**\n * Tracing: Context used when creating Spans.\n */\n tracingContext?: Context;\n\n constructor(\n url?: string,\n method?: HttpMethods,\n body?: unknown,\n query?: { [key: string]: any },\n headers?: { [key: string]: any } | HttpHeadersLike,\n streamResponseBody?: boolean,\n withCredentials?: boolean,\n abortSignal?: AbortSignalLike,\n timeout?: number,\n onUploadProgress?: (progress: TransferProgressEvent) => void,\n onDownloadProgress?: (progress: TransferProgressEvent) => void,\n proxySettings?: ProxySettings,\n keepAlive?: boolean,\n decompressResponse?: boolean,\n streamResponseStatusCodes?: Set\n ) {\n this.streamResponseBody = streamResponseBody;\n this.streamResponseStatusCodes = streamResponseStatusCodes;\n this.url = url || \"\";\n this.method = method || \"GET\";\n this.headers = isHttpHeadersLike(headers) ? headers : new HttpHeaders(headers);\n this.body = body;\n this.query = query;\n this.formData = undefined;\n this.withCredentials = withCredentials || false;\n this.abortSignal = abortSignal;\n this.timeout = timeout || 0;\n this.onUploadProgress = onUploadProgress;\n this.onDownloadProgress = onDownloadProgress;\n this.proxySettings = proxySettings;\n this.keepAlive = keepAlive;\n this.decompressResponse = decompressResponse;\n this.requestId = this.headers.get(\"x-ms-client-request-id\") || generateUuid();\n }\n\n /**\n * Validates that the required properties such as method, url, headers[\"Content-Type\"],\n * headers[\"accept-language\"] are defined. It will throw an error if one of the above\n * mentioned properties are not defined.\n */\n validateRequestProperties(): void {\n if (!this.method) {\n throw new Error(\"WebResource.method is required.\");\n }\n if (!this.url) {\n throw new Error(\"WebResource.url is required.\");\n }\n }\n\n /**\n * Prepares the request.\n * @param options - Options to provide for preparing the request.\n * @returns Returns the prepared WebResource (HTTP Request) object that needs to be given to the request pipeline.\n */\n prepare(options: RequestPrepareOptions): WebResource {\n if (!options) {\n throw new Error(\"options object is required\");\n }\n\n if (\n options.method === undefined ||\n options.method === null ||\n typeof options.method.valueOf() !== \"string\"\n ) {\n throw new Error(\"options.method must be a string.\");\n }\n\n if (options.url && options.pathTemplate) {\n throw new Error(\n \"options.url and options.pathTemplate are mutually exclusive. Please provide exactly one of them.\"\n );\n }\n\n if (\n (options.pathTemplate === undefined ||\n options.pathTemplate === null ||\n typeof options.pathTemplate.valueOf() !== \"string\") &&\n (options.url === undefined ||\n options.url === null ||\n typeof options.url.valueOf() !== \"string\")\n ) {\n throw new Error(\"Please provide exactly one of options.pathTemplate or options.url.\");\n }\n\n // set the url if it is provided.\n if (options.url) {\n if (typeof options.url !== \"string\") {\n throw new Error('options.url must be of type \"string\".');\n }\n this.url = options.url;\n }\n\n // set the method\n if (options.method) {\n const validMethods = [\"GET\", \"PUT\", \"HEAD\", \"DELETE\", \"OPTIONS\", \"POST\", \"PATCH\", \"TRACE\"];\n if (validMethods.indexOf(options.method.toUpperCase()) === -1) {\n throw new Error(\n 'The provided method \"' +\n options.method +\n '\" is invalid. Supported HTTP methods are: ' +\n JSON.stringify(validMethods)\n );\n }\n }\n this.method = options.method.toUpperCase() as HttpMethods;\n\n // construct the url if path template is provided\n if (options.pathTemplate) {\n const { pathTemplate, pathParameters } = options;\n if (typeof pathTemplate !== \"string\") {\n throw new Error('options.pathTemplate must be of type \"string\".');\n }\n if (!options.baseUrl) {\n options.baseUrl = \"https://management.azure.com\";\n }\n const baseUrl = options.baseUrl;\n let url =\n baseUrl +\n (baseUrl.endsWith(\"/\") ? \"\" : \"/\") +\n (pathTemplate.startsWith(\"/\") ? pathTemplate.slice(1) : pathTemplate);\n const segments = url.match(/({[\\w-]*\\s*[\\w-]*})/gi);\n if (segments && segments.length) {\n if (!pathParameters) {\n throw new Error(\n `pathTemplate: ${pathTemplate} has been provided. Hence, options.pathParameters must also be provided.`\n );\n }\n segments.forEach(function (item) {\n const pathParamName = item.slice(1, -1);\n const pathParam = (pathParameters as { [key: string]: any })[pathParamName];\n if (\n pathParam === null ||\n pathParam === undefined ||\n !(typeof pathParam === \"string\" || typeof pathParam === \"object\")\n ) {\n const stringifiedPathParameters = JSON.stringify(pathParameters, undefined, 2);\n throw new Error(\n `pathTemplate: ${pathTemplate} contains the path parameter ${pathParamName}` +\n ` however, it is not present in parameters: ${stringifiedPathParameters}.` +\n `The value of the path parameter can either be a \"string\" of the form { ${pathParamName}: \"some sample value\" } or ` +\n `it can be an \"object\" of the form { \"${pathParamName}\": { value: \"some sample value\", skipUrlEncoding: true } }.`\n );\n }\n\n if (typeof pathParam.valueOf() === \"string\") {\n url = url.replace(item, encodeURIComponent(pathParam));\n }\n\n if (typeof pathParam.valueOf() === \"object\") {\n if (!pathParam.value) {\n throw new Error(\n `options.pathParameters[${pathParamName}] is of type \"object\" but it does not contain a \"value\" property.`\n );\n }\n if (pathParam.skipUrlEncoding) {\n url = url.replace(item, pathParam.value);\n } else {\n url = url.replace(item, encodeURIComponent(pathParam.value));\n }\n }\n });\n }\n this.url = url;\n }\n\n // append query parameters to the url if they are provided. They can be provided with pathTemplate or url option.\n if (options.queryParameters) {\n const queryParameters = options.queryParameters;\n if (typeof queryParameters !== \"object\") {\n throw new Error(\n `options.queryParameters must be of type object. It should be a JSON object ` +\n `of \"query-parameter-name\" as the key and the \"query-parameter-value\" as the value. ` +\n `The \"query-parameter-value\" may be fo type \"string\" or an \"object\" of the form { value: \"query-parameter-value\", skipUrlEncoding: true }.`\n );\n }\n // append question mark if it is not present in the url\n if (this.url && this.url.indexOf(\"?\") === -1) {\n this.url += \"?\";\n }\n // construct queryString\n const queryParams = [];\n // We need to populate this.query as a dictionary if the request is being used for Sway's validateRequest().\n this.query = {};\n for (const queryParamName in queryParameters) {\n const queryParam: any = queryParameters[queryParamName];\n if (queryParam) {\n if (typeof queryParam === \"string\") {\n queryParams.push(queryParamName + \"=\" + encodeURIComponent(queryParam));\n this.query[queryParamName] = encodeURIComponent(queryParam);\n } else if (typeof queryParam === \"object\") {\n if (!queryParam.value) {\n throw new Error(\n `options.queryParameters[${queryParamName}] is of type \"object\" but it does not contain a \"value\" property.`\n );\n }\n if (queryParam.skipUrlEncoding) {\n queryParams.push(queryParamName + \"=\" + queryParam.value);\n this.query[queryParamName] = queryParam.value;\n } else {\n queryParams.push(queryParamName + \"=\" + encodeURIComponent(queryParam.value));\n this.query[queryParamName] = encodeURIComponent(queryParam.value);\n }\n }\n }\n } // end-of-for\n // append the queryString\n this.url += queryParams.join(\"&\");\n }\n\n // add headers to the request if they are provided\n if (options.headers) {\n const headers = options.headers;\n for (const headerName of Object.keys(options.headers)) {\n this.headers.set(headerName, headers[headerName]);\n }\n }\n // ensure accept-language is set correctly\n if (!this.headers.get(\"accept-language\")) {\n this.headers.set(\"accept-language\", \"en-US\");\n }\n // ensure the request-id is set correctly\n if (!this.headers.get(\"x-ms-client-request-id\") && !options.disableClientRequestId) {\n this.headers.set(\"x-ms-client-request-id\", this.requestId);\n }\n\n // default\n if (!this.headers.get(\"Content-Type\")) {\n this.headers.set(\"Content-Type\", \"application/json; charset=utf-8\");\n }\n\n // set the request body. request.js automatically sets the Content-Length request header, so we need not set it explicitly\n this.body = options.body;\n if (options.body !== undefined && options.body !== null) {\n // body as a stream special case. set the body as-is and check for some special request headers specific to sending a stream.\n if (options.bodyIsStream) {\n if (!this.headers.get(\"Transfer-Encoding\")) {\n this.headers.set(\"Transfer-Encoding\", \"chunked\");\n }\n if (this.headers.get(\"Content-Type\") !== \"application/octet-stream\") {\n this.headers.set(\"Content-Type\", \"application/octet-stream\");\n }\n } else {\n if (options.serializationMapper) {\n this.body = new Serializer(options.mappers).serialize(\n options.serializationMapper,\n options.body,\n \"requestBody\"\n );\n }\n if (!options.disableJsonStringifyOnBody) {\n this.body = JSON.stringify(options.body);\n }\n }\n }\n\n if (options.spanOptions) {\n this.spanOptions = options.spanOptions;\n }\n\n if (options.tracingContext) {\n this.tracingContext = options.tracingContext;\n }\n\n this.abortSignal = options.abortSignal;\n this.onDownloadProgress = options.onDownloadProgress;\n this.onUploadProgress = options.onUploadProgress;\n\n return this;\n }\n\n /**\n * Clone this WebResource HTTP request object.\n * @returns The clone of this WebResource HTTP request object.\n */\n clone(): WebResource {\n const result = new WebResource(\n this.url,\n this.method,\n this.body,\n this.query,\n this.headers && this.headers.clone(),\n this.streamResponseBody,\n this.withCredentials,\n this.abortSignal,\n this.timeout,\n this.onUploadProgress,\n this.onDownloadProgress,\n this.proxySettings,\n this.keepAlive,\n this.decompressResponse,\n this.streamResponseStatusCodes\n );\n\n if (this.formData) {\n result.formData = this.formData;\n }\n\n if (this.operationSpec) {\n result.operationSpec = this.operationSpec;\n }\n\n if (this.shouldDeserialize) {\n result.shouldDeserialize = this.shouldDeserialize;\n }\n\n if (this.operationResponseGetter) {\n result.operationResponseGetter = this.operationResponseGetter;\n }\n\n return result;\n }\n}\n\n/**\n * Options to prepare an outgoing HTTP request.\n */\nexport interface RequestPrepareOptions {\n /**\n * The HTTP request method. Valid values are \"GET\", \"PUT\", \"HEAD\", \"DELETE\", \"OPTIONS\", \"POST\",\n * or \"PATCH\".\n */\n method: HttpMethods;\n /**\n * The request url. It may or may not have query parameters in it. Either provide the \"url\" or\n * provide the \"pathTemplate\" in the options object. Both the options are mutually exclusive.\n */\n url?: string;\n /**\n * A dictionary of query parameters to be appended to the url, where\n * the \"key\" is the \"query-parameter-name\" and the \"value\" is the \"query-parameter-value\".\n * The \"query-parameter-value\" can be of type \"string\" or it can be of type \"object\".\n * The \"object\" format should be used when you want to skip url encoding. While using the object format,\n * the object must have a property named value which provides the \"query-parameter-value\".\n * Example:\n * - query-parameter-value in \"object\" format: `{ \"query-parameter-name\": { value: \"query-parameter-value\", skipUrlEncoding: true } }`\n * - query-parameter-value in \"string\" format: `{ \"query-parameter-name\": \"query-parameter-value\"}`.\n * Note: \"If options.url already has some query parameters, then the value provided in options.queryParameters will be appended to the url.\n */\n queryParameters?: { [key: string]: any | ParameterValue };\n /**\n * The path template of the request url. Either provide the \"url\" or provide the \"pathTemplate\" in\n * the options object. Both the options are mutually exclusive.\n * Example: `/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}`\n */\n pathTemplate?: string;\n /**\n * The base url of the request. Default value is: \"https://management.azure.com\". This is\n * applicable only with pathTemplate. If you are providing options.url then it is expected that\n * you provide the complete url.\n */\n baseUrl?: string;\n /**\n * A dictionary of path parameters that need to be replaced with actual values in the pathTemplate.\n * Here the key is the \"path-parameter-name\" and the value is the \"path-parameter-value\".\n * The \"path-parameter-value\" can be of type \"string\" or it can be of type \"object\".\n * The \"object\" format should be used when you want to skip url encoding. While using the object format,\n * the object must have a property named value which provides the \"path-parameter-value\".\n * Example:\n * - path-parameter-value in \"object\" format: `{ \"path-parameter-name\": { value: \"path-parameter-value\", skipUrlEncoding: true } }`\n * - path-parameter-value in \"string\" format: `{ \"path-parameter-name\": \"path-parameter-value\" }`.\n */\n pathParameters?: { [key: string]: any | ParameterValue };\n /**\n * Form data, used to build the request body.\n */\n formData?: { [key: string]: any };\n /**\n * A dictionary of request headers that need to be applied to the request.\n * Here the key is the \"header-name\" and the value is the \"header-value\". The header-value MUST be of type string.\n * - ContentType must be provided with the key name as \"Content-Type\". Default value \"application/json; charset=utf-8\".\n * - \"Transfer-Encoding\" is set to \"chunked\" by default if \"options.bodyIsStream\" is set to true.\n * - \"Content-Type\" is set to \"application/octet-stream\" by default if \"options.bodyIsStream\" is set to true.\n * - \"accept-language\" by default is set to \"en-US\"\n * - \"x-ms-client-request-id\" by default is set to a new Guid. To not generate a guid for the request, please set options.disableClientRequestId to true\n */\n headers?: { [key: string]: any };\n /**\n * When set to true, instructs the client to not set \"x-ms-client-request-id\" header to a new Guid().\n */\n disableClientRequestId?: boolean;\n /**\n * The request body. It can be of any type. This value will be serialized if it is not a stream.\n */\n body?: any;\n /**\n * Provides information on how to serialize the request body.\n */\n serializationMapper?: Mapper;\n /**\n * A dictionary of mappers that may be used while [de]serialization.\n */\n mappers?: { [x: string]: any };\n /**\n * Provides information on how to deserialize the response body.\n */\n deserializationMapper?: Record;\n /**\n * Indicates whether this method should JSON.stringify() the request body. Default value: false.\n */\n disableJsonStringifyOnBody?: boolean;\n /**\n * Indicates whether the request body is a stream (useful for file upload scenarios).\n */\n bodyIsStream?: boolean;\n /**\n * Signal of an abort controller. Can be used to abort both sending a network request and waiting for a response.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Allows keeping track of the progress of uploading the outgoing request.\n */\n onUploadProgress?: (progress: TransferProgressEvent) => void;\n /**\n * Allows keeping track of the progress of downloading the incoming response.\n */\n onDownloadProgress?: (progress: TransferProgressEvent) => void;\n /**\n * Tracing: Options used to create a span when tracing is enabled.\n */\n spanOptions?: SpanOptions;\n /**\n * Tracing: Context used when creating spans.\n */\n tracingContext?: Context;\n}\n\n/**\n * The Parameter value provided for path or query parameters in RequestPrepareOptions\n */\nexport interface ParameterValue {\n /**\n * Value of the parameter.\n */\n value: any;\n /**\n * Disables URL encoding if set to true.\n */\n skipUrlEncoding: boolean;\n /**\n * Parameter values may contain any other property.\n */\n [key: string]: any;\n}\n\n/**\n * Describes the base structure of the options object that will be used in every operation.\n */\nexport interface RequestOptionsBase {\n /**\n * will be applied before the request is sent.\n */\n customHeaders?: { [key: string]: string };\n\n /**\n * Signal of an abort controller. Can be used to abort both sending a network request and waiting for a response.\n */\n abortSignal?: AbortSignalLike;\n\n /**\n * The number of milliseconds a request can take before automatically being terminated.\n * If the request is terminated, an `AbortError` is thrown.\n */\n timeout?: number;\n\n /**\n * Callback which fires upon upload progress.\n */\n onUploadProgress?: (progress: TransferProgressEvent) => void;\n\n /**\n * Callback which fires upon download progress.\n */\n onDownloadProgress?: (progress: TransferProgressEvent) => void;\n\n /**\n * Whether or not the HttpOperationResponse should be deserialized. If this is undefined, then the\n * HttpOperationResponse should be deserialized.\n */\n shouldDeserialize?: boolean | ((response: HttpOperationResponse) => boolean);\n\n /**\n * Tracing: Context used when creating spans.\n */\n tracingContext?: Context;\n\n /**\n * May contain other properties.\n */\n [key: string]: any;\n\n /**\n * Options to override XML parsing/building behavior.\n */\n serializerOptions?: SerializerOptions;\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { createClientLogger } from \"@azure/logger\";\n\n/**\n * The `@azure/logger` configuration for this package.\n */\nexport const logger = createClientLogger(\"storage-blob\");\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nexport const SDK_VERSION: string = \"12.12.0\";\nexport const SERVICE_VERSION: string = \"2021-10-04\";\n\nexport const BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES: number = 256 * 1024 * 1024; // 256MB\nexport const BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES: number = 4000 * 1024 * 1024; // 4000MB\nexport const BLOCK_BLOB_MAX_BLOCKS: number = 50000;\nexport const DEFAULT_BLOCK_BUFFER_SIZE_BYTES: number = 8 * 1024 * 1024; // 8MB\nexport const DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES: number = 4 * 1024 * 1024; // 4MB\nexport const DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS: number = 5;\n\nexport const REQUEST_TIMEOUT: number = 100 * 1000; // In ms\n/**\n * The OAuth scope to use with Azure Storage.\n */\nexport const StorageOAuthScopes: string | string[] = \"https://storage.azure.com/.default\";\n\nexport const URLConstants = {\n Parameters: {\n FORCE_BROWSER_NO_CACHE: \"_\",\n SIGNATURE: \"sig\",\n SNAPSHOT: \"snapshot\",\n VERSIONID: \"versionid\",\n TIMEOUT: \"timeout\",\n },\n};\n\nexport const HTTPURLConnection = {\n HTTP_ACCEPTED: 202,\n HTTP_CONFLICT: 409,\n HTTP_NOT_FOUND: 404,\n HTTP_PRECON_FAILED: 412,\n HTTP_RANGE_NOT_SATISFIABLE: 416,\n};\n\nexport const HeaderConstants = {\n AUTHORIZATION: \"Authorization\",\n AUTHORIZATION_SCHEME: \"Bearer\",\n CONTENT_ENCODING: \"Content-Encoding\",\n CONTENT_ID: \"Content-ID\",\n CONTENT_LANGUAGE: \"Content-Language\",\n CONTENT_LENGTH: \"Content-Length\",\n CONTENT_MD5: \"Content-Md5\",\n CONTENT_TRANSFER_ENCODING: \"Content-Transfer-Encoding\",\n CONTENT_TYPE: \"Content-Type\",\n COOKIE: \"Cookie\",\n DATE: \"date\",\n IF_MATCH: \"if-match\",\n IF_MODIFIED_SINCE: \"if-modified-since\",\n IF_NONE_MATCH: \"if-none-match\",\n IF_UNMODIFIED_SINCE: \"if-unmodified-since\",\n PREFIX_FOR_STORAGE: \"x-ms-\",\n RANGE: \"Range\",\n USER_AGENT: \"User-Agent\",\n X_MS_CLIENT_REQUEST_ID: \"x-ms-client-request-id\",\n X_MS_COPY_SOURCE: \"x-ms-copy-source\",\n X_MS_DATE: \"x-ms-date\",\n X_MS_ERROR_CODE: \"x-ms-error-code\",\n X_MS_VERSION: \"x-ms-version\",\n};\n\nexport const ETagNone = \"\";\nexport const ETagAny = \"*\";\n\nexport const SIZE_1_MB = 1 * 1024 * 1024;\nexport const BATCH_MAX_REQUEST = 256;\nexport const BATCH_MAX_PAYLOAD_IN_BYTES = 4 * SIZE_1_MB;\nexport const HTTP_LINE_ENDING = \"\\r\\n\";\nexport const HTTP_VERSION_1_1 = \"HTTP/1.1\";\n\nexport const EncryptionAlgorithmAES25 = \"AES256\";\n\nexport const DevelopmentConnectionString = `DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;`;\n\nexport const StorageBlobLoggingAllowedHeaderNames = [\n \"Access-Control-Allow-Origin\",\n \"Cache-Control\",\n \"Content-Length\",\n \"Content-Type\",\n \"Date\",\n \"Request-Id\",\n \"traceparent\",\n \"Transfer-Encoding\",\n \"User-Agent\",\n \"x-ms-client-request-id\",\n \"x-ms-date\",\n \"x-ms-error-code\",\n \"x-ms-request-id\",\n \"x-ms-return-client-request-id\",\n \"x-ms-version\",\n \"Accept-Ranges\",\n \"Content-Disposition\",\n \"Content-Encoding\",\n \"Content-Language\",\n \"Content-MD5\",\n \"Content-Range\",\n \"ETag\",\n \"Last-Modified\",\n \"Server\",\n \"Vary\",\n \"x-ms-content-crc64\",\n \"x-ms-copy-action\",\n \"x-ms-copy-completion-time\",\n \"x-ms-copy-id\",\n \"x-ms-copy-progress\",\n \"x-ms-copy-status\",\n \"x-ms-has-immutability-policy\",\n \"x-ms-has-legal-hold\",\n \"x-ms-lease-state\",\n \"x-ms-lease-status\",\n \"x-ms-range\",\n \"x-ms-request-server-encrypted\",\n \"x-ms-server-encrypted\",\n \"x-ms-snapshot\",\n \"x-ms-source-range\",\n \"If-Match\",\n \"If-Modified-Since\",\n \"If-None-Match\",\n \"If-Unmodified-Since\",\n \"x-ms-access-tier\",\n \"x-ms-access-tier-change-time\",\n \"x-ms-access-tier-inferred\",\n \"x-ms-account-kind\",\n \"x-ms-archive-status\",\n \"x-ms-blob-append-offset\",\n \"x-ms-blob-cache-control\",\n \"x-ms-blob-committed-block-count\",\n \"x-ms-blob-condition-appendpos\",\n \"x-ms-blob-condition-maxsize\",\n \"x-ms-blob-content-disposition\",\n \"x-ms-blob-content-encoding\",\n \"x-ms-blob-content-language\",\n \"x-ms-blob-content-length\",\n \"x-ms-blob-content-md5\",\n \"x-ms-blob-content-type\",\n \"x-ms-blob-public-access\",\n \"x-ms-blob-sequence-number\",\n \"x-ms-blob-type\",\n \"x-ms-copy-destination-snapshot\",\n \"x-ms-creation-time\",\n \"x-ms-default-encryption-scope\",\n \"x-ms-delete-snapshots\",\n \"x-ms-delete-type-permanent\",\n \"x-ms-deny-encryption-scope-override\",\n \"x-ms-encryption-algorithm\",\n \"x-ms-if-sequence-number-eq\",\n \"x-ms-if-sequence-number-le\",\n \"x-ms-if-sequence-number-lt\",\n \"x-ms-incremental-copy\",\n \"x-ms-lease-action\",\n \"x-ms-lease-break-period\",\n \"x-ms-lease-duration\",\n \"x-ms-lease-id\",\n \"x-ms-lease-time\",\n \"x-ms-page-write\",\n \"x-ms-proposed-lease-id\",\n \"x-ms-range-get-content-md5\",\n \"x-ms-rehydrate-priority\",\n \"x-ms-sequence-number-action\",\n \"x-ms-sku-name\",\n \"x-ms-source-content-md5\",\n \"x-ms-source-if-match\",\n \"x-ms-source-if-modified-since\",\n \"x-ms-source-if-none-match\",\n \"x-ms-source-if-unmodified-since\",\n \"x-ms-tag-count\",\n \"x-ms-encryption-key-sha256\",\n \"x-ms-if-tags\",\n \"x-ms-source-if-tags\",\n];\n\nexport const StorageBlobLoggingAllowedQueryParameters = [\n \"comp\",\n \"maxresults\",\n \"rscc\",\n \"rscd\",\n \"rsce\",\n \"rscl\",\n \"rsct\",\n \"se\",\n \"si\",\n \"sip\",\n \"sp\",\n \"spr\",\n \"sr\",\n \"srt\",\n \"ss\",\n \"st\",\n \"sv\",\n \"include\",\n \"marker\",\n \"prefix\",\n \"copyid\",\n \"restype\",\n \"blockid\",\n \"blocklisttype\",\n \"delimiter\",\n \"prevsnapshot\",\n \"ske\",\n \"skoid\",\n \"sks\",\n \"skt\",\n \"sktid\",\n \"skv\",\n \"snapshot\",\n];\n\nexport const BlobUsesCustomerSpecifiedEncryptionMsg = \"BlobUsesCustomerSpecifiedEncryption\";\nexport const BlobDoesNotUseCustomerSpecifiedEncryption =\n \"BlobDoesNotUseCustomerSpecifiedEncryption\";\n\n/// List of ports used for path style addressing.\n/// Path style addressing means that storage account is put in URI's Path segment in instead of in host.\nexport const PathStylePorts = [\n \"10000\",\n \"10001\",\n \"10002\",\n \"10003\",\n \"10004\",\n \"10100\",\n \"10101\",\n \"10102\",\n \"10103\",\n \"10104\",\n \"11000\",\n \"11001\",\n \"11002\",\n \"11003\",\n \"11004\",\n \"11100\",\n \"11101\",\n \"11102\",\n \"11103\",\n \"11104\",\n];\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport { HttpHeaders, isNode, URLBuilder, TokenCredential } from \"@azure/core-http\";\n\nimport {\n BlobQueryArrowConfiguration,\n BlobQueryCsvTextConfiguration,\n BlobQueryJsonTextConfiguration,\n BlobQueryParquetConfiguration,\n} from \"../Clients\";\nimport {\n QuerySerialization,\n BlobTags,\n BlobName,\n ListBlobsFlatSegmentResponse,\n ListBlobsHierarchySegmentResponse,\n BlobItemInternal,\n BlobPrefix,\n BlobType,\n LeaseStatusType,\n LeaseStateType,\n LeaseDurationType,\n CopyStatusType,\n AccessTier,\n ArchiveStatus,\n RehydratePriority,\n BlobImmutabilityPolicyMode,\n BlobTag,\n PageRange,\n ClearRange,\n BlobPropertiesInternal,\n} from \"../generated/src/models\";\nimport {\n DevelopmentConnectionString,\n HeaderConstants,\n PathStylePorts,\n URLConstants,\n} from \"./constants\";\nimport {\n Tags,\n ObjectReplicationPolicy,\n ObjectReplicationRule,\n ObjectReplicationStatus,\n HttpAuthorization,\n} from \"../models\";\nimport {\n ListBlobsFlatSegmentResponseModel,\n BlobItemInternal as BlobItemInternalModel,\n ListBlobsHierarchySegmentResponseModel,\n BlobPrefix as BlobPrefixModel,\n PageBlobGetPageRangesDiffResponseModel,\n PageRangeInfo,\n} from \"../generatedModels\";\n\n/**\n * Reserved URL characters must be properly escaped for Storage services like Blob or File.\n *\n * ## URL encode and escape strategy for JS SDKs\n *\n * When customers pass a URL string into XxxClient classes constructor, the URL string may already be URL encoded or not.\n * But before sending to Azure Storage server, the URL must be encoded. However, it's hard for a SDK to guess whether the URL\n * string has been encoded or not. We have 2 potential strategies, and chose strategy two for the XxxClient constructors.\n *\n * ### Strategy One: Assume the customer URL string is not encoded, and always encode URL string in SDK.\n *\n * This is what legacy V2 SDK does, simple and works for most of the cases.\n * - When customer URL string is \"http://account.blob.core.windows.net/con/b:\",\n * SDK will encode it to \"http://account.blob.core.windows.net/con/b%3A\" and send to server. A blob named \"b:\" will be created.\n * - When customer URL string is \"http://account.blob.core.windows.net/con/b%3A\",\n * SDK will encode it to \"http://account.blob.core.windows.net/con/b%253A\" and send to server. A blob named \"b%3A\" will be created.\n *\n * But this strategy will make it not possible to create a blob with \"?\" in it's name. Because when customer URL string is\n * \"http://account.blob.core.windows.net/con/blob?name\", the \"?name\" will be treated as URL paramter instead of blob name.\n * If customer URL string is \"http://account.blob.core.windows.net/con/blob%3Fname\", a blob named \"blob%3Fname\" will be created.\n * V2 SDK doesn't have this issue because it doesn't allow customer pass in a full URL, it accepts a separate blob name and encodeURIComponent for it.\n * We cannot accept a SDK cannot create a blob name with \"?\". So we implement strategy two:\n *\n * ### Strategy Two: SDK doesn't assume the URL has been encoded or not. It will just escape the special characters.\n *\n * This is what V10 Blob Go SDK does. It accepts a URL type in Go, and call url.EscapedPath() to escape the special chars unescaped.\n * - When customer URL string is \"http://account.blob.core.windows.net/con/b:\",\n * SDK will escape \":\" like \"http://account.blob.core.windows.net/con/b%3A\" and send to server. A blob named \"b:\" will be created.\n * - When customer URL string is \"http://account.blob.core.windows.net/con/b%3A\",\n * There is no special characters, so send \"http://account.blob.core.windows.net/con/b%3A\" to server. A blob named \"b:\" will be created.\n * - When customer URL string is \"http://account.blob.core.windows.net/con/b%253A\",\n * There is no special characters, so send \"http://account.blob.core.windows.net/con/b%253A\" to server. A blob named \"b%3A\" will be created.\n *\n * This strategy gives us flexibility to create with any special characters. But \"%\" will be treated as a special characters, if the URL string\n * is not encoded, there shouldn't a \"%\" in the URL string, otherwise the URL is not a valid URL.\n * If customer needs to create a blob with \"%\" in it's blob name, use \"%25\" instead of \"%\". Just like above 3rd sample.\n * And following URL strings are invalid:\n * - \"http://account.blob.core.windows.net/con/b%\"\n * - \"http://account.blob.core.windows.net/con/b%2\"\n * - \"http://account.blob.core.windows.net/con/b%G\"\n *\n * Another special character is \"?\", use \"%2F\" to represent a blob name with \"?\" in a URL string.\n *\n * ### Strategy for containerName, blobName or other specific XXXName parameters in methods such as `containerClient.getBlobClient(blobName)`\n *\n * We will apply strategy one, and call encodeURIComponent for these parameters like blobName. Because what customers passes in is a plain name instead of a URL.\n *\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/naming-and-referencing-containers--blobs--and-metadata\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/naming-and-referencing-shares--directories--files--and-metadata\n *\n * @param url -\n */\nexport function escapeURLPath(url: string): string {\n const urlParsed = URLBuilder.parse(url);\n\n let path = urlParsed.getPath();\n path = path || \"/\";\n\n path = escape(path);\n urlParsed.setPath(path);\n\n return urlParsed.toString();\n}\n\nexport interface ConnectionString {\n kind: \"AccountConnString\" | \"SASConnString\";\n url: string;\n accountName: string;\n accountKey?: any;\n accountSas?: string;\n proxyUri?: string; // Development Connection String may contain proxyUri\n}\n\nfunction getProxyUriFromDevConnString(connectionString: string): string {\n // Development Connection String\n // https://docs.microsoft.com/en-us/azure/storage/common/storage-configure-connection-string#connect-to-the-emulator-account-using-the-well-known-account-name-and-key\n let proxyUri = \"\";\n if (connectionString.search(\"DevelopmentStorageProxyUri=\") !== -1) {\n // CONNECTION_STRING=UseDevelopmentStorage=true;DevelopmentStorageProxyUri=http://myProxyUri\n const matchCredentials = connectionString.split(\";\");\n for (const element of matchCredentials) {\n if (element.trim().startsWith(\"DevelopmentStorageProxyUri=\")) {\n proxyUri = element.trim().match(\"DevelopmentStorageProxyUri=(.*)\")![1];\n }\n }\n }\n return proxyUri;\n}\n\nexport function getValueInConnString(\n connectionString: string,\n argument:\n | \"BlobEndpoint\"\n | \"AccountName\"\n | \"AccountKey\"\n | \"DefaultEndpointsProtocol\"\n | \"EndpointSuffix\"\n | \"SharedAccessSignature\"\n): string {\n const elements = connectionString.split(\";\");\n for (const element of elements) {\n if (element.trim().startsWith(argument)) {\n return element.trim().match(argument + \"=(.*)\")![1];\n }\n }\n return \"\";\n}\n\n/**\n * Extracts the parts of an Azure Storage account connection string.\n *\n * @param connectionString - Connection string.\n * @returns String key value pairs of the storage account's url and credentials.\n */\nexport function extractConnectionStringParts(connectionString: string): ConnectionString {\n let proxyUri = \"\";\n\n if (connectionString.startsWith(\"UseDevelopmentStorage=true\")) {\n // Development connection string\n proxyUri = getProxyUriFromDevConnString(connectionString);\n connectionString = DevelopmentConnectionString;\n }\n\n // Matching BlobEndpoint in the Account connection string\n let blobEndpoint = getValueInConnString(connectionString, \"BlobEndpoint\");\n // Slicing off '/' at the end if exists\n // (The methods that use `extractConnectionStringParts` expect the url to not have `/` at the end)\n blobEndpoint = blobEndpoint.endsWith(\"/\") ? blobEndpoint.slice(0, -1) : blobEndpoint;\n\n if (\n connectionString.search(\"DefaultEndpointsProtocol=\") !== -1 &&\n connectionString.search(\"AccountKey=\") !== -1\n ) {\n // Account connection string\n\n let defaultEndpointsProtocol = \"\";\n let accountName = \"\";\n let accountKey = Buffer.from(\"accountKey\", \"base64\");\n let endpointSuffix = \"\";\n\n // Get account name and key\n accountName = getValueInConnString(connectionString, \"AccountName\");\n accountKey = Buffer.from(getValueInConnString(connectionString, \"AccountKey\"), \"base64\");\n\n if (!blobEndpoint) {\n // BlobEndpoint is not present in the Account connection string\n // Can be obtained from `${defaultEndpointsProtocol}://${accountName}.blob.${endpointSuffix}`\n\n defaultEndpointsProtocol = getValueInConnString(connectionString, \"DefaultEndpointsProtocol\");\n const protocol = defaultEndpointsProtocol!.toLowerCase();\n if (protocol !== \"https\" && protocol !== \"http\") {\n throw new Error(\n \"Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'\"\n );\n }\n\n endpointSuffix = getValueInConnString(connectionString, \"EndpointSuffix\");\n if (!endpointSuffix) {\n throw new Error(\"Invalid EndpointSuffix in the provided Connection String\");\n }\n blobEndpoint = `${defaultEndpointsProtocol}://${accountName}.blob.${endpointSuffix}`;\n }\n\n if (!accountName) {\n throw new Error(\"Invalid AccountName in the provided Connection String\");\n } else if (accountKey.length === 0) {\n throw new Error(\"Invalid AccountKey in the provided Connection String\");\n }\n\n return {\n kind: \"AccountConnString\",\n url: blobEndpoint,\n accountName,\n accountKey,\n proxyUri,\n };\n } else {\n // SAS connection string\n\n const accountSas = getValueInConnString(connectionString, \"SharedAccessSignature\");\n const accountName = getAccountNameFromUrl(blobEndpoint);\n if (!blobEndpoint) {\n throw new Error(\"Invalid BlobEndpoint in the provided SAS Connection String\");\n } else if (!accountSas) {\n throw new Error(\"Invalid SharedAccessSignature in the provided SAS Connection String\");\n }\n\n return { kind: \"SASConnString\", url: blobEndpoint, accountName, accountSas };\n }\n}\n\n/**\n * Internal escape method implemented Strategy Two mentioned in escapeURL() description.\n *\n * @param text -\n */\nfunction escape(text: string): string {\n return encodeURIComponent(text)\n .replace(/%2F/g, \"/\") // Don't escape for \"/\"\n .replace(/'/g, \"%27\") // Escape for \"'\"\n .replace(/\\+/g, \"%20\")\n .replace(/%25/g, \"%\"); // Revert encoded \"%\"\n}\n\n/**\n * Append a string to URL path. Will remove duplicated \"/\" in front of the string\n * when URL path ends with a \"/\".\n *\n * @param url - Source URL string\n * @param name - String to be appended to URL\n * @returns An updated URL string\n */\nexport function appendToURLPath(url: string, name: string): string {\n const urlParsed = URLBuilder.parse(url);\n\n let path = urlParsed.getPath();\n path = path ? (path.endsWith(\"/\") ? `${path}${name}` : `${path}/${name}`) : name;\n urlParsed.setPath(path);\n\n return urlParsed.toString();\n}\n\n/**\n * Set URL parameter name and value. If name exists in URL parameters, old value\n * will be replaced by name key. If not provide value, the parameter will be deleted.\n *\n * @param url - Source URL string\n * @param name - Parameter name\n * @param value - Parameter value\n * @returns An updated URL string\n */\nexport function setURLParameter(url: string, name: string, value?: string): string {\n const urlParsed = URLBuilder.parse(url);\n urlParsed.setQueryParameter(name, value);\n return urlParsed.toString();\n}\n\n/**\n * Get URL parameter by name.\n *\n * @param url -\n * @param name -\n */\nexport function getURLParameter(url: string, name: string): string | string[] | undefined {\n const urlParsed = URLBuilder.parse(url);\n return urlParsed.getQueryParameterValue(name);\n}\n\n/**\n * Set URL host.\n *\n * @param url - Source URL string\n * @param host - New host string\n * @returns An updated URL string\n */\nexport function setURLHost(url: string, host: string): string {\n const urlParsed = URLBuilder.parse(url);\n urlParsed.setHost(host);\n return urlParsed.toString();\n}\n\n/**\n * Get URL path from an URL string.\n *\n * @param url - Source URL string\n */\nexport function getURLPath(url: string): string | undefined {\n const urlParsed = URLBuilder.parse(url);\n return urlParsed.getPath();\n}\n\n/**\n * Get URL scheme from an URL string.\n *\n * @param url - Source URL string\n */\nexport function getURLScheme(url: string): string | undefined {\n const urlParsed = URLBuilder.parse(url);\n return urlParsed.getScheme();\n}\n\n/**\n * Get URL path and query from an URL string.\n *\n * @param url - Source URL string\n */\nexport function getURLPathAndQuery(url: string): string | undefined {\n const urlParsed = URLBuilder.parse(url);\n const pathString = urlParsed.getPath();\n if (!pathString) {\n throw new RangeError(\"Invalid url without valid path.\");\n }\n\n let queryString = urlParsed.getQuery() || \"\";\n queryString = queryString.trim();\n if (queryString !== \"\") {\n queryString = queryString.startsWith(\"?\") ? queryString : `?${queryString}`; // Ensure query string start with '?'\n }\n\n return `${pathString}${queryString}`;\n}\n\n/**\n * Get URL query key value pairs from an URL string.\n *\n * @param url -\n */\nexport function getURLQueries(url: string): { [key: string]: string } {\n let queryString = URLBuilder.parse(url).getQuery();\n if (!queryString) {\n return {};\n }\n\n queryString = queryString.trim();\n queryString = queryString.startsWith(\"?\") ? queryString.substr(1) : queryString;\n\n let querySubStrings: string[] = queryString.split(\"&\");\n querySubStrings = querySubStrings.filter((value: string) => {\n const indexOfEqual = value.indexOf(\"=\");\n const lastIndexOfEqual = value.lastIndexOf(\"=\");\n return (\n indexOfEqual > 0 && indexOfEqual === lastIndexOfEqual && lastIndexOfEqual < value.length - 1\n );\n });\n\n const queries: { [key: string]: string } = {};\n for (const querySubString of querySubStrings) {\n const splitResults = querySubString.split(\"=\");\n const key: string = splitResults[0];\n const value: string = splitResults[1];\n queries[key] = value;\n }\n\n return queries;\n}\n\n/**\n * Append a string to URL query.\n *\n * @param url - Source URL string.\n * @param queryParts - String to be appended to the URL query.\n * @returns An updated URL string.\n */\nexport function appendToURLQuery(url: string, queryParts: string): string {\n const urlParsed = URLBuilder.parse(url);\n\n let query = urlParsed.getQuery();\n if (query) {\n query += \"&\" + queryParts;\n } else {\n query = queryParts;\n }\n\n urlParsed.setQuery(query);\n return urlParsed.toString();\n}\n\n/**\n * Rounds a date off to seconds.\n *\n * @param date -\n * @param withMilliseconds - If true, YYYY-MM-DDThh:mm:ss.fffffffZ will be returned;\n * If false, YYYY-MM-DDThh:mm:ssZ will be returned.\n * @returns Date string in ISO8061 format, with or without 7 milliseconds component\n */\nexport function truncatedISO8061Date(date: Date, withMilliseconds: boolean = true): string {\n // Date.toISOString() will return like \"2018-10-29T06:34:36.139Z\"\n const dateString = date.toISOString();\n\n return withMilliseconds\n ? dateString.substring(0, dateString.length - 1) + \"0000\" + \"Z\"\n : dateString.substring(0, dateString.length - 5) + \"Z\";\n}\n\n/**\n * Base64 encode.\n *\n * @param content -\n */\nexport function base64encode(content: string): string {\n return !isNode ? btoa(content) : Buffer.from(content).toString(\"base64\");\n}\n\n/**\n * Base64 decode.\n *\n * @param encodedString -\n */\nexport function base64decode(encodedString: string): string {\n return !isNode ? atob(encodedString) : Buffer.from(encodedString, \"base64\").toString();\n}\n\n/**\n * Generate a 64 bytes base64 block ID string.\n *\n * @param blockIndex -\n */\nexport function generateBlockID(blockIDPrefix: string, blockIndex: number): string {\n // To generate a 64 bytes base64 string, source string should be 48\n const maxSourceStringLength = 48;\n\n // A blob can have a maximum of 100,000 uncommitted blocks at any given time\n const maxBlockIndexLength = 6;\n\n const maxAllowedBlockIDPrefixLength = maxSourceStringLength - maxBlockIndexLength;\n\n if (blockIDPrefix.length > maxAllowedBlockIDPrefixLength) {\n blockIDPrefix = blockIDPrefix.slice(0, maxAllowedBlockIDPrefixLength);\n }\n const res =\n blockIDPrefix +\n padStart(blockIndex.toString(), maxSourceStringLength - blockIDPrefix.length, \"0\");\n return base64encode(res);\n}\n\n/**\n * Delay specified time interval.\n *\n * @param timeInMs -\n * @param aborter -\n * @param abortError -\n */\nexport async function delay(\n timeInMs: number,\n aborter?: AbortSignalLike,\n abortError?: Error\n): Promise {\n return new Promise((resolve, reject) => {\n /* eslint-disable-next-line prefer-const */\n let timeout: any;\n\n const abortHandler = () => {\n if (timeout !== undefined) {\n clearTimeout(timeout);\n }\n reject(abortError);\n };\n\n const resolveHandler = () => {\n if (aborter !== undefined) {\n aborter.removeEventListener(\"abort\", abortHandler);\n }\n resolve();\n };\n\n timeout = setTimeout(resolveHandler, timeInMs);\n\n if (aborter !== undefined) {\n aborter.addEventListener(\"abort\", abortHandler);\n }\n });\n}\n\n/**\n * String.prototype.padStart()\n *\n * @param currentString -\n * @param targetLength -\n * @param padString -\n */\nexport function padStart(\n currentString: string,\n targetLength: number,\n padString: string = \" \"\n): string {\n // @ts-expect-error: TS doesn't know this code needs to run downlevel sometimes\n if (String.prototype.padStart) {\n return currentString.padStart(targetLength, padString);\n }\n\n padString = padString || \" \";\n if (currentString.length > targetLength) {\n return currentString;\n } else {\n targetLength = targetLength - currentString.length;\n if (targetLength > padString.length) {\n padString += padString.repeat(targetLength / padString.length);\n }\n return padString.slice(0, targetLength) + currentString;\n }\n}\n\nexport function sanitizeURL(url: string): string {\n let safeURL: string = url;\n if (getURLParameter(safeURL, URLConstants.Parameters.SIGNATURE)) {\n safeURL = setURLParameter(safeURL, URLConstants.Parameters.SIGNATURE, \"*****\");\n }\n\n return safeURL;\n}\n\nexport function sanitizeHeaders(originalHeader: HttpHeaders): HttpHeaders {\n const headers: HttpHeaders = new HttpHeaders();\n for (const header of originalHeader.headersArray()) {\n if (header.name.toLowerCase() === HeaderConstants.AUTHORIZATION.toLowerCase()) {\n headers.set(header.name, \"*****\");\n } else if (header.name.toLowerCase() === HeaderConstants.X_MS_COPY_SOURCE) {\n headers.set(header.name, sanitizeURL(header.value));\n } else {\n headers.set(header.name, header.value);\n }\n }\n\n return headers;\n}\n/**\n * If two strings are equal when compared case insensitive.\n *\n * @param str1 -\n * @param str2 -\n */\nexport function iEqual(str1: string, str2: string): boolean {\n return str1.toLocaleLowerCase() === str2.toLocaleLowerCase();\n}\n\n/**\n * Extracts account name from the url\n * @param url - url to extract the account name from\n * @returns with the account name\n */\nexport function getAccountNameFromUrl(url: string): string {\n const parsedUrl: URLBuilder = URLBuilder.parse(url);\n let accountName;\n try {\n if (parsedUrl.getHost()!.split(\".\")[1] === \"blob\") {\n // `${defaultEndpointsProtocol}://${accountName}.blob.${endpointSuffix}`;\n accountName = parsedUrl.getHost()!.split(\".\")[0];\n } else if (isIpEndpointStyle(parsedUrl)) {\n // IPv4/IPv6 address hosts... Example - http://192.0.0.10:10001/devstoreaccount1/\n // Single word domain without a [dot] in the endpoint... Example - http://localhost:10001/devstoreaccount1/\n // .getPath() -> /devstoreaccount1/\n accountName = parsedUrl.getPath()!.split(\"/\")[1];\n } else {\n // Custom domain case: \"https://customdomain.com/containername/blob\".\n accountName = \"\";\n }\n return accountName;\n } catch (error: any) {\n throw new Error(\"Unable to extract accountName with provided information.\");\n }\n}\n\nexport function isIpEndpointStyle(parsedUrl: URLBuilder): boolean {\n if (parsedUrl.getHost() === undefined) {\n return false;\n }\n\n const host =\n parsedUrl.getHost()! + (parsedUrl.getPort() === undefined ? \"\" : \":\" + parsedUrl.getPort());\n\n // Case 1: Ipv6, use a broad regex to find out candidates whose host contains two ':'.\n // Case 2: localhost(:port), use broad regex to match port part.\n // Case 3: Ipv4, use broad regex which just check if host contains Ipv4.\n // For valid host please refer to https://man7.org/linux/man-pages/man7/hostname.7.html.\n return (\n /^.*:.*:.*$|^localhost(:[0-9]+)?$|^(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])(\\.(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])){3}(:[0-9]+)?$/.test(\n host\n ) ||\n (parsedUrl.getPort() !== undefined && PathStylePorts.includes(parsedUrl.getPort()!))\n );\n}\n\n/**\n * Convert Tags to encoded string.\n *\n * @param tags -\n */\nexport function toBlobTagsString(tags?: Tags): string | undefined {\n if (tags === undefined) {\n return undefined;\n }\n\n const tagPairs = [];\n for (const key in tags) {\n if (Object.prototype.hasOwnProperty.call(tags, key)) {\n const value = tags[key];\n tagPairs.push(`${encodeURIComponent(key)}=${encodeURIComponent(value)}`);\n }\n }\n\n return tagPairs.join(\"&\");\n}\n\n/**\n * Convert Tags type to BlobTags.\n *\n * @param tags -\n */\nexport function toBlobTags(tags?: Tags): BlobTags | undefined {\n if (tags === undefined) {\n return undefined;\n }\n\n const res: BlobTags = {\n blobTagSet: [],\n };\n\n for (const key in tags) {\n if (Object.prototype.hasOwnProperty.call(tags, key)) {\n const value = tags[key];\n res.blobTagSet.push({\n key,\n value,\n });\n }\n }\n return res;\n}\n\n/**\n * Covert BlobTags to Tags type.\n *\n * @param tags -\n */\nexport function toTags(tags?: BlobTags): Tags | undefined {\n if (tags === undefined) {\n return undefined;\n }\n\n const res: Tags = {};\n for (const blobTag of tags.blobTagSet) {\n res[blobTag.key] = blobTag.value;\n }\n return res;\n}\n\n/**\n * Convert BlobQueryTextConfiguration to QuerySerialization type.\n *\n * @param textConfiguration -\n */\nexport function toQuerySerialization(\n textConfiguration?:\n | BlobQueryJsonTextConfiguration\n | BlobQueryCsvTextConfiguration\n | BlobQueryArrowConfiguration\n | BlobQueryParquetConfiguration\n): QuerySerialization | undefined {\n if (textConfiguration === undefined) {\n return undefined;\n }\n\n switch (textConfiguration.kind) {\n case \"csv\":\n return {\n format: {\n type: \"delimited\",\n delimitedTextConfiguration: {\n columnSeparator: textConfiguration.columnSeparator || \",\",\n fieldQuote: textConfiguration.fieldQuote || \"\",\n recordSeparator: textConfiguration.recordSeparator,\n escapeChar: textConfiguration.escapeCharacter || \"\",\n headersPresent: textConfiguration.hasHeaders || false,\n },\n },\n };\n case \"json\":\n return {\n format: {\n type: \"json\",\n jsonTextConfiguration: {\n recordSeparator: textConfiguration.recordSeparator,\n },\n },\n };\n case \"arrow\":\n return {\n format: {\n type: \"arrow\",\n arrowConfiguration: {\n schema: textConfiguration.schema,\n },\n },\n };\n case \"parquet\":\n return {\n format: {\n type: \"parquet\",\n },\n };\n\n default:\n throw Error(\"Invalid BlobQueryTextConfiguration.\");\n }\n}\n\nexport function parseObjectReplicationRecord(\n objectReplicationRecord?: Record\n): ObjectReplicationPolicy[] | undefined {\n if (!objectReplicationRecord) {\n return undefined;\n }\n\n if (\"policy-id\" in objectReplicationRecord) {\n // If the dictionary contains a key with policy id, we are not required to do any parsing since\n // the policy id should already be stored in the ObjectReplicationDestinationPolicyId.\n return undefined;\n }\n\n const orProperties: ObjectReplicationPolicy[] = [];\n for (const key in objectReplicationRecord) {\n const ids = key.split(\"_\");\n const policyPrefix = \"or-\";\n if (ids[0].startsWith(policyPrefix)) {\n ids[0] = ids[0].substring(policyPrefix.length);\n }\n const rule: ObjectReplicationRule = {\n ruleId: ids[1],\n replicationStatus: objectReplicationRecord[key] as ObjectReplicationStatus,\n };\n const policyIndex = orProperties.findIndex((policy) => policy.policyId === ids[0]);\n if (policyIndex > -1) {\n orProperties[policyIndex].rules.push(rule);\n } else {\n orProperties.push({\n policyId: ids[0],\n rules: [rule],\n });\n }\n }\n return orProperties;\n}\n\n/**\n * Attach a TokenCredential to an object.\n *\n * @param thing -\n * @param credential -\n */\nexport function attachCredential(thing: T, credential: TokenCredential): T {\n (thing as any).credential = credential;\n return thing;\n}\n\nexport function httpAuthorizationToString(\n httpAuthorization?: HttpAuthorization\n): string | undefined {\n return httpAuthorization ? httpAuthorization.scheme + \" \" + httpAuthorization.value : undefined;\n}\n\nexport function BlobNameToString(name: BlobName): string {\n if (name.encoded) {\n return decodeURIComponent(name.content!);\n } else {\n return name.content!;\n }\n}\n\nexport function ConvertInternalResponseOfListBlobFlat(\n internalResponse: ListBlobsFlatSegmentResponse\n): ListBlobsFlatSegmentResponseModel {\n return {\n ...internalResponse,\n segment: {\n blobItems: internalResponse.segment.blobItems.map((blobItemInteral) => {\n const blobItem: BlobItemInternalModel = {\n ...blobItemInteral,\n name: BlobNameToString(blobItemInteral.name),\n };\n return blobItem;\n }),\n },\n };\n}\n\nexport function ConvertInternalResponseOfListBlobHierarchy(\n internalResponse: ListBlobsHierarchySegmentResponse\n): ListBlobsHierarchySegmentResponseModel {\n return {\n ...internalResponse,\n segment: {\n blobPrefixes: internalResponse.segment.blobPrefixes?.map((blobPrefixInternal) => {\n const blobPrefix: BlobPrefixModel = {\n name: BlobNameToString(blobPrefixInternal.name),\n };\n return blobPrefix;\n }),\n blobItems: internalResponse.segment.blobItems.map((blobItemInteral) => {\n const blobItem: BlobItemInternalModel = {\n ...blobItemInteral,\n name: BlobNameToString(blobItemInteral.name),\n };\n return blobItem;\n }),\n },\n };\n}\n\nfunction decodeBase64String(value: string): Uint8Array {\n if (isNode) {\n return Buffer.from(value, \"base64\");\n } else {\n const byteString = atob(value);\n const arr = new Uint8Array(byteString.length);\n for (let i = 0; i < byteString.length; i++) {\n arr[i] = byteString.charCodeAt(i);\n }\n return arr;\n }\n}\n\nfunction ParseBoolean(content: any) {\n if (content === undefined) return undefined;\n if (content === \"true\") return true;\n if (content === \"false\") return false;\n return undefined;\n}\n\nfunction ParseBlobName(blobNameInXML: any): BlobName {\n if (blobNameInXML[\"$\"] !== undefined && blobNameInXML[\"#\"] !== undefined) {\n return {\n encoded: ParseBoolean(blobNameInXML[\"$\"][\"Encoded\"]),\n content: blobNameInXML[\"#\"] as string,\n };\n } else {\n return {\n encoded: false,\n content: blobNameInXML as string,\n };\n }\n}\n\nfunction ParseBlobProperties(blobPropertiesInXML: any): BlobPropertiesInternal {\n const blobProperties = blobPropertiesInXML;\n if (blobPropertiesInXML[\"Creation-Time\"]) {\n blobProperties.createdOn = new Date(blobPropertiesInXML[\"Creation-Time\"] as string);\n delete blobProperties[\"Creation-Time\"];\n }\n\n if (blobPropertiesInXML[\"Last-Modified\"]) {\n blobProperties.lastModified = new Date(blobPropertiesInXML[\"Last-Modified\"] as string);\n delete blobProperties[\"Last-Modified\"];\n }\n\n if (blobPropertiesInXML[\"Etag\"]) {\n blobProperties.etag = blobPropertiesInXML[\"Etag\"] as string;\n delete blobProperties[\"Etag\"];\n }\n\n if (blobPropertiesInXML[\"Content-Length\"]) {\n blobProperties.contentLength = parseFloat(blobPropertiesInXML[\"Content-Length\"] as string);\n delete blobProperties[\"Content-Length\"];\n }\n\n if (blobPropertiesInXML[\"Content-Type\"]) {\n blobProperties.contentType = blobPropertiesInXML[\"Content-Type\"] as string;\n delete blobProperties[\"Content-Type\"];\n }\n\n if (blobPropertiesInXML[\"Content-Encoding\"]) {\n blobProperties.contentEncoding = blobPropertiesInXML[\"Content-Encoding\"] as string;\n delete blobProperties[\"Content-Encoding\"];\n }\n\n if (blobPropertiesInXML[\"Content-Language\"]) {\n blobProperties.contentLanguage = blobPropertiesInXML[\"Content-Language\"] as string;\n delete blobProperties[\"Content-Language\"];\n }\n\n if (blobPropertiesInXML[\"Content-MD5\"]) {\n blobProperties.contentMD5 = decodeBase64String(blobPropertiesInXML[\"Content-MD5\"] as string);\n delete blobProperties[\"Content-MD5\"];\n }\n\n if (blobPropertiesInXML[\"Content-Disposition\"]) {\n blobProperties.contentDisposition = blobPropertiesInXML[\"Content-Disposition\"] as string;\n delete blobProperties[\"Content-Disposition\"];\n }\n\n if (blobPropertiesInXML[\"Cache-Control\"]) {\n blobProperties.cacheControl = blobPropertiesInXML[\"Cache-Control\"] as string;\n delete blobProperties[\"Cache-Control\"];\n }\n\n if (blobPropertiesInXML[\"x-ms-blob-sequence-number\"]) {\n blobProperties.blobSequenceNumber = parseFloat(\n blobPropertiesInXML[\"x-ms-blob-sequence-number\"] as string\n );\n delete blobProperties[\"x-ms-blob-sequence-number\"];\n }\n\n if (blobPropertiesInXML[\"BlobType\"]) {\n blobProperties.blobType = blobPropertiesInXML[\"BlobType\"] as BlobType;\n delete blobProperties[\"BlobType\"];\n }\n\n if (blobPropertiesInXML[\"LeaseStatus\"]) {\n blobProperties.leaseStatus = blobPropertiesInXML[\"LeaseStatus\"] as LeaseStatusType;\n delete blobProperties[\"LeaseStatus\"];\n }\n\n if (blobPropertiesInXML[\"LeaseState\"]) {\n blobProperties.leaseState = blobPropertiesInXML[\"LeaseState\"] as LeaseStateType;\n delete blobProperties[\"LeaseState\"];\n }\n\n if (blobPropertiesInXML[\"LeaseDuration\"]) {\n blobProperties.leaseDuration = blobPropertiesInXML[\"LeaseDuration\"] as LeaseDurationType;\n delete blobProperties[\"LeaseDuration\"];\n }\n\n if (blobPropertiesInXML[\"CopyId\"]) {\n blobProperties.copyId = blobPropertiesInXML[\"CopyId\"] as string;\n delete blobProperties[\"CopyId\"];\n }\n\n if (blobPropertiesInXML[\"CopyStatus\"]) {\n blobProperties.copyStatus = blobPropertiesInXML[\"CopyStatus\"] as CopyStatusType;\n delete blobProperties[\"CopyStatus\"];\n }\n\n if (blobPropertiesInXML[\"CopySource\"]) {\n blobProperties.copySource = blobPropertiesInXML[\"CopySource\"] as string;\n delete blobProperties[\"CopySource\"];\n }\n\n if (blobPropertiesInXML[\"CopyProgress\"]) {\n blobProperties.copyProgress = blobPropertiesInXML[\"CopyProgress\"] as string;\n delete blobProperties[\"CopyProgress\"];\n }\n\n if (blobPropertiesInXML[\"CopyCompletionTime\"]) {\n blobProperties.copyCompletedOn = new Date(blobPropertiesInXML[\"CopyCompletionTime\"] as string);\n delete blobProperties[\"CopyCompletionTime\"];\n }\n\n if (blobPropertiesInXML[\"CopyStatusDescription\"]) {\n blobProperties.copyStatusDescription = blobPropertiesInXML[\"CopyStatusDescription\"] as string;\n delete blobProperties[\"CopyStatusDescription\"];\n }\n\n if (blobPropertiesInXML[\"ServerEncrypted\"]) {\n blobProperties.serverEncrypted = ParseBoolean(blobPropertiesInXML[\"ServerEncrypted\"]);\n delete blobProperties[\"ServerEncrypted\"];\n }\n\n if (blobPropertiesInXML[\"IncrementalCopy\"]) {\n blobProperties.incrementalCopy = ParseBoolean(blobPropertiesInXML[\"IncrementalCopy\"]);\n delete blobProperties[\"IncrementalCopy\"];\n }\n\n if (blobPropertiesInXML[\"DestinationSnapshot\"]) {\n blobProperties.destinationSnapshot = blobPropertiesInXML[\"DestinationSnapshot\"] as string;\n delete blobProperties[\"DestinationSnapshot\"];\n }\n\n if (blobPropertiesInXML[\"DeletedTime\"]) {\n blobProperties.deletedOn = new Date(blobPropertiesInXML[\"DeletedTime\"] as string);\n delete blobProperties[\"DeletedTime\"];\n }\n\n if (blobPropertiesInXML[\"RemainingRetentionDays\"]) {\n blobProperties.remainingRetentionDays = parseFloat(\n blobPropertiesInXML[\"RemainingRetentionDays\"] as string\n );\n delete blobProperties[\"RemainingRetentionDays\"];\n }\n\n if (blobPropertiesInXML[\"AccessTier\"]) {\n blobProperties.accessTier = blobPropertiesInXML[\"AccessTier\"] as AccessTier;\n delete blobProperties[\"AccessTier\"];\n }\n\n if (blobPropertiesInXML[\"AccessTierInferred\"]) {\n blobProperties.accessTierInferred = ParseBoolean(blobPropertiesInXML[\"AccessTierInferred\"]);\n delete blobProperties[\"AccessTierInferred\"];\n }\n\n if (blobPropertiesInXML[\"ArchiveStatus\"]) {\n blobProperties.archiveStatus = blobPropertiesInXML[\"ArchiveStatus\"] as ArchiveStatus;\n delete blobProperties[\"ArchiveStatus\"];\n }\n\n if (blobPropertiesInXML[\"CustomerProvidedKeySha256\"]) {\n blobProperties.customerProvidedKeySha256 = blobPropertiesInXML[\n \"CustomerProvidedKeySha256\"\n ] as string;\n delete blobProperties[\"CustomerProvidedKeySha256\"];\n }\n\n if (blobPropertiesInXML[\"EncryptionScope\"]) {\n blobProperties.encryptionScope = blobPropertiesInXML[\"EncryptionScope\"] as string;\n delete blobProperties[\"EncryptionScope\"];\n }\n\n if (blobPropertiesInXML[\"AccessTierChangeTime\"]) {\n blobProperties.accessTierChangedOn = new Date(\n blobPropertiesInXML[\"AccessTierChangeTime\"] as string\n );\n delete blobProperties[\"AccessTierChangeTime\"];\n }\n\n if (blobPropertiesInXML[\"TagCount\"]) {\n blobProperties.tagCount = parseFloat(blobPropertiesInXML[\"TagCount\"] as string);\n delete blobProperties[\"TagCount\"];\n }\n\n if (blobPropertiesInXML[\"Expiry-Time\"]) {\n blobProperties.expiresOn = new Date(blobPropertiesInXML[\"Expiry-Time\"] as string);\n delete blobProperties[\"Expiry-Time\"];\n }\n\n if (blobPropertiesInXML[\"Sealed\"]) {\n blobProperties.isSealed = ParseBoolean(blobPropertiesInXML[\"Sealed\"]);\n delete blobProperties[\"Sealed\"];\n }\n\n if (blobPropertiesInXML[\"RehydratePriority\"]) {\n blobProperties.rehydratePriority = blobPropertiesInXML[\n \"RehydratePriority\"\n ] as RehydratePriority;\n delete blobProperties[\"RehydratePriority\"];\n }\n\n if (blobPropertiesInXML[\"LastAccessTime\"]) {\n blobProperties.lastAccessedOn = new Date(blobPropertiesInXML[\"LastAccessTime\"] as string);\n delete blobProperties[\"LastAccessTime\"];\n }\n\n if (blobPropertiesInXML[\"ImmutabilityPolicyUntilDate\"]) {\n blobProperties.immutabilityPolicyExpiresOn = new Date(\n blobPropertiesInXML[\"ImmutabilityPolicyUntilDate\"] as string\n );\n delete blobProperties[\"ImmutabilityPolicyUntilDate\"];\n }\n\n if (blobPropertiesInXML[\"ImmutabilityPolicyMode\"]) {\n blobProperties.immutabilityPolicyMode = blobPropertiesInXML[\n \"ImmutabilityPolicyMode\"\n ] as BlobImmutabilityPolicyMode;\n delete blobProperties[\"ImmutabilityPolicyMode\"];\n }\n\n if (blobPropertiesInXML[\"LegalHold\"]) {\n blobProperties.legalHold = ParseBoolean(blobPropertiesInXML[\"LegalHold\"]);\n delete blobProperties[\"LegalHold\"];\n }\n\n return blobProperties;\n}\n\nfunction ParseBlobItem(blobInXML: any): BlobItemInternal {\n const blobItem = blobInXML;\n blobItem.properties = ParseBlobProperties(blobInXML[\"Properties\"]);\n delete blobItem[\"Properties\"];\n\n blobItem.name = ParseBlobName(blobInXML[\"Name\"]);\n delete blobItem[\"Name\"];\n blobItem.deleted = ParseBoolean(blobInXML[\"Deleted\"])!;\n delete blobItem[\"Deleted\"];\n\n if (blobInXML[\"Snapshot\"]) {\n blobItem.snapshot = blobInXML[\"Snapshot\"] as string;\n delete blobItem[\"Snapshot\"];\n }\n\n if (blobInXML[\"VersionId\"]) {\n blobItem.versionId = blobInXML[\"VersionId\"] as string;\n delete blobItem[\"VersionId\"];\n }\n\n if (blobInXML[\"IsCurrentVersion\"]) {\n blobItem.isCurrentVersion = ParseBoolean(blobInXML[\"IsCurrentVersion\"]);\n delete blobItem[\"IsCurrentVersion\"];\n }\n\n if (blobInXML[\"Metadata\"]) {\n blobItem.metadata = blobInXML[\"Metadata\"];\n delete blobItem[\"Metadata\"];\n }\n\n if (blobInXML[\"Tags\"]) {\n blobItem.blobTags = ParseBlobTags(blobInXML[\"Tags\"]);\n delete blobItem[\"Tags\"];\n }\n\n if (blobInXML[\"OrMetadata\"]) {\n blobItem.objectReplicationMetadata = blobInXML[\"OrMetadata\"];\n delete blobItem[\"OrMetadata\"];\n }\n\n if (blobInXML[\"HasVersionsOnly\"]) {\n blobItem.hasVersionsOnly = ParseBoolean(blobInXML[\"HasVersionsOnly\"]);\n delete blobItem[\"HasVersionsOnly\"];\n }\n return blobItem;\n}\n\nfunction ParseBlobPrefix(blobPrefixInXML: any): BlobPrefix {\n return {\n name: ParseBlobName(blobPrefixInXML[\"Name\"]),\n };\n}\n\nfunction ParseBlobTag(blobTagInXML: any): BlobTag {\n return {\n key: blobTagInXML[\"Key\"],\n value: blobTagInXML[\"Value\"],\n };\n}\n\nfunction ParseBlobTags(blobTagsInXML: any): BlobTags | undefined {\n if (\n blobTagsInXML === undefined ||\n blobTagsInXML[\"TagSet\"] === undefined ||\n blobTagsInXML[\"TagSet\"][\"Tag\"] === undefined\n ) {\n return undefined;\n }\n\n const blobTagSet = [];\n if (blobTagsInXML[\"TagSet\"][\"Tag\"] instanceof Array) {\n blobTagsInXML[\"TagSet\"][\"Tag\"].forEach((blobTagInXML: any) => {\n blobTagSet.push(ParseBlobTag(blobTagInXML));\n });\n } else {\n blobTagSet.push(ParseBlobTag(blobTagsInXML[\"TagSet\"][\"Tag\"]));\n }\n\n return { blobTagSet: blobTagSet };\n}\n\nexport function ProcessBlobItems(blobArrayInXML: any[]): BlobItemInternal[] {\n const blobItems = [];\n\n if (blobArrayInXML instanceof Array) {\n blobArrayInXML.forEach((blobInXML: any) => {\n blobItems.push(ParseBlobItem(blobInXML));\n });\n } else {\n blobItems.push(ParseBlobItem(blobArrayInXML));\n }\n\n return blobItems;\n}\n\nexport function ProcessBlobPrefixes(blobPrefixesInXML: any[]): BlobPrefix[] {\n const blobPrefixes = [];\n\n if (blobPrefixesInXML instanceof Array) {\n blobPrefixesInXML.forEach((blobPrefixInXML: any) => {\n blobPrefixes.push(ParseBlobPrefix(blobPrefixInXML));\n });\n } else {\n blobPrefixes.push(ParseBlobPrefix(blobPrefixesInXML));\n }\n\n return blobPrefixes;\n}\n\nexport function* ExtractPageRangeInfoItems(\n getPageRangesSegment: PageBlobGetPageRangesDiffResponseModel\n): IterableIterator {\n let pageRange: PageRange[] = [];\n let clearRange: ClearRange[] = [];\n\n if (getPageRangesSegment.pageRange) pageRange = getPageRangesSegment.pageRange;\n if (getPageRangesSegment.clearRange) clearRange = getPageRangesSegment.clearRange;\n\n let pageRangeIndex = 0;\n let clearRangeIndex = 0;\n\n while (pageRangeIndex < pageRange.length && clearRangeIndex < clearRange.length) {\n if (pageRange[pageRangeIndex].start < clearRange[clearRangeIndex].start) {\n yield {\n start: pageRange[pageRangeIndex].start,\n end: pageRange[pageRangeIndex].end,\n isClear: false,\n };\n ++pageRangeIndex;\n } else {\n yield {\n start: clearRange[clearRangeIndex].start,\n end: clearRange[clearRangeIndex].end,\n isClear: true,\n };\n ++clearRangeIndex;\n }\n }\n\n for (; pageRangeIndex < pageRange.length; ++pageRangeIndex) {\n yield {\n start: pageRange[pageRangeIndex].start,\n end: pageRange[pageRangeIndex].end,\n isClear: false,\n };\n }\n\n for (; clearRangeIndex < clearRange.length; ++clearRangeIndex) {\n yield {\n start: clearRange[clearRangeIndex].start,\n end: clearRange[clearRangeIndex].end,\n isClear: true,\n };\n }\n}\n\n/**\n * Escape the blobName but keep path separator ('/').\n */\nexport function EscapePath(blobName: string): string {\n const split = blobName.split(\"/\");\n for (let i = 0; i < split.length; i++) {\n split[i] = encodeURIComponent(split[i]);\n }\n return split.join(\"/\");\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n BaseRequestPolicy,\n HttpOperationResponse,\n isNode,\n RequestPolicy,\n RequestPolicyOptions,\n WebResource,\n} from \"@azure/core-http\";\n\nimport { HeaderConstants, URLConstants } from \"../utils/constants\";\nimport { setURLParameter } from \"../utils/utils.common\";\n\n/**\n * StorageBrowserPolicy will handle differences between Node.js and browser runtime, including:\n *\n * 1. Browsers cache GET/HEAD requests by adding conditional headers such as 'IF_MODIFIED_SINCE'.\n * StorageBrowserPolicy is a policy used to add a timestamp query to GET/HEAD request URL\n * thus avoid the browser cache.\n *\n * 2. Remove cookie header for security\n *\n * 3. Remove content-length header to avoid browsers warning\n */\nexport class StorageBrowserPolicy extends BaseRequestPolicy {\n /**\n * Creates an instance of StorageBrowserPolicy.\n * @param nextPolicy -\n * @param options -\n */\n // The base class has a protected constructor. Adding a public one to enable constructing of this class.\n /* eslint-disable-next-line @typescript-eslint/no-useless-constructor*/\n constructor(nextPolicy: RequestPolicy, options: RequestPolicyOptions) {\n super(nextPolicy, options);\n }\n\n /**\n * Sends out request.\n *\n * @param request -\n */\n public async sendRequest(request: WebResource): Promise {\n if (isNode) {\n return this._nextPolicy.sendRequest(request);\n }\n\n if (request.method.toUpperCase() === \"GET\" || request.method.toUpperCase() === \"HEAD\") {\n request.url = setURLParameter(\n request.url,\n URLConstants.Parameters.FORCE_BROWSER_NO_CACHE,\n new Date().getTime().toString()\n );\n }\n\n request.headers.remove(HeaderConstants.COOKIE);\n\n // According to XHR standards, content-length should be fully controlled by browsers\n request.headers.remove(HeaderConstants.CONTENT_LENGTH);\n\n return this._nextPolicy.sendRequest(request);\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { RequestPolicy, RequestPolicyFactory, RequestPolicyOptions } from \"@azure/core-http\";\nimport { StorageBrowserPolicy } from \"./policies/StorageBrowserPolicy\";\nexport { StorageBrowserPolicy };\n\n/**\n * StorageBrowserPolicyFactory is a factory class helping generating StorageBrowserPolicy objects.\n */\nexport class StorageBrowserPolicyFactory implements RequestPolicyFactory {\n /**\n * Creates a StorageBrowserPolicyFactory object.\n *\n * @param nextPolicy -\n * @param options -\n */\n public create(nextPolicy: RequestPolicy, options: RequestPolicyOptions): StorageBrowserPolicy {\n return new StorageBrowserPolicy(nextPolicy, options);\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { AbortError } from \"@azure/abort-controller\";\n\nimport {\n AbortSignalLike,\n BaseRequestPolicy,\n HttpOperationResponse,\n RequestPolicy,\n RequestPolicyFactory,\n RequestPolicyOptions,\n RestError,\n WebResource,\n} from \"@azure/core-http\";\n\nimport { StorageRetryOptions } from \"../StorageRetryPolicyFactory\";\nimport { URLConstants } from \"../utils/constants\";\nimport { delay, setURLHost, setURLParameter } from \"../utils/utils.common\";\nimport { logger } from \"../log\";\n\n/**\n * A factory method used to generated a RetryPolicy factory.\n *\n * @param retryOptions -\n */\nexport function NewRetryPolicyFactory(retryOptions?: StorageRetryOptions): RequestPolicyFactory {\n return {\n create: (nextPolicy: RequestPolicy, options: RequestPolicyOptions): StorageRetryPolicy => {\n return new StorageRetryPolicy(nextPolicy, options, retryOptions);\n },\n };\n}\n\n/**\n * RetryPolicy types.\n */\nexport enum StorageRetryPolicyType {\n /**\n * Exponential retry. Retry time delay grows exponentially.\n */\n EXPONENTIAL,\n /**\n * Linear retry. Retry time delay grows linearly.\n */\n FIXED,\n}\n\n// Default values of StorageRetryOptions\nconst DEFAULT_RETRY_OPTIONS: StorageRetryOptions = {\n maxRetryDelayInMs: 120 * 1000,\n maxTries: 4,\n retryDelayInMs: 4 * 1000,\n retryPolicyType: StorageRetryPolicyType.EXPONENTIAL,\n secondaryHost: \"\",\n tryTimeoutInMs: undefined, // Use server side default timeout strategy\n};\n\nconst RETRY_ABORT_ERROR = new AbortError(\"The operation was aborted.\");\n\n/**\n * Retry policy with exponential retry and linear retry implemented.\n */\nexport class StorageRetryPolicy extends BaseRequestPolicy {\n /**\n * RetryOptions.\n */\n private readonly retryOptions: StorageRetryOptions;\n\n /**\n * Creates an instance of RetryPolicy.\n *\n * @param nextPolicy -\n * @param options -\n * @param retryOptions -\n */\n constructor(\n nextPolicy: RequestPolicy,\n options: RequestPolicyOptions,\n retryOptions: StorageRetryOptions = DEFAULT_RETRY_OPTIONS\n ) {\n super(nextPolicy, options);\n\n // Initialize retry options\n this.retryOptions = {\n retryPolicyType: retryOptions.retryPolicyType\n ? retryOptions.retryPolicyType\n : DEFAULT_RETRY_OPTIONS.retryPolicyType,\n\n maxTries:\n retryOptions.maxTries && retryOptions.maxTries >= 1\n ? Math.floor(retryOptions.maxTries)\n : DEFAULT_RETRY_OPTIONS.maxTries,\n\n tryTimeoutInMs:\n retryOptions.tryTimeoutInMs && retryOptions.tryTimeoutInMs >= 0\n ? retryOptions.tryTimeoutInMs\n : DEFAULT_RETRY_OPTIONS.tryTimeoutInMs,\n\n retryDelayInMs:\n retryOptions.retryDelayInMs && retryOptions.retryDelayInMs >= 0\n ? Math.min(\n retryOptions.retryDelayInMs,\n retryOptions.maxRetryDelayInMs\n ? retryOptions.maxRetryDelayInMs\n : DEFAULT_RETRY_OPTIONS.maxRetryDelayInMs!\n )\n : DEFAULT_RETRY_OPTIONS.retryDelayInMs,\n\n maxRetryDelayInMs:\n retryOptions.maxRetryDelayInMs && retryOptions.maxRetryDelayInMs >= 0\n ? retryOptions.maxRetryDelayInMs\n : DEFAULT_RETRY_OPTIONS.maxRetryDelayInMs,\n\n secondaryHost: retryOptions.secondaryHost\n ? retryOptions.secondaryHost\n : DEFAULT_RETRY_OPTIONS.secondaryHost,\n };\n }\n\n /**\n * Sends request.\n *\n * @param request -\n */\n public async sendRequest(request: WebResource): Promise {\n return this.attemptSendRequest(request, false, 1);\n }\n\n /**\n * Decide and perform next retry. Won't mutate request parameter.\n *\n * @param request -\n * @param secondaryHas404 - If attempt was against the secondary & it returned a StatusNotFound (404), then\n * the resource was not found. This may be due to replication delay. So, in this\n * case, we'll never try the secondary again for this operation.\n * @param attempt - How many retries has been attempted to performed, starting from 1, which includes\n * the attempt will be performed by this method call.\n */\n protected async attemptSendRequest(\n request: WebResource,\n secondaryHas404: boolean,\n attempt: number\n ): Promise {\n const newRequest: WebResource = request.clone();\n\n const isPrimaryRetry =\n secondaryHas404 ||\n !this.retryOptions.secondaryHost ||\n !(request.method === \"GET\" || request.method === \"HEAD\" || request.method === \"OPTIONS\") ||\n attempt % 2 === 1;\n\n if (!isPrimaryRetry) {\n newRequest.url = setURLHost(newRequest.url, this.retryOptions.secondaryHost!);\n }\n\n // Set the server-side timeout query parameter \"timeout=[seconds]\"\n if (this.retryOptions.tryTimeoutInMs) {\n newRequest.url = setURLParameter(\n newRequest.url,\n URLConstants.Parameters.TIMEOUT,\n Math.floor(this.retryOptions.tryTimeoutInMs! / 1000).toString()\n );\n }\n\n let response: HttpOperationResponse | undefined;\n try {\n logger.info(`RetryPolicy: =====> Try=${attempt} ${isPrimaryRetry ? \"Primary\" : \"Secondary\"}`);\n response = await this._nextPolicy.sendRequest(newRequest);\n if (!this.shouldRetry(isPrimaryRetry, attempt, response)) {\n return response;\n }\n\n secondaryHas404 = secondaryHas404 || (!isPrimaryRetry && response.status === 404);\n } catch (err: any) {\n logger.error(`RetryPolicy: Caught error, message: ${err.message}, code: ${err.code}`);\n if (!this.shouldRetry(isPrimaryRetry, attempt, response, err)) {\n throw err;\n }\n }\n\n await this.delay(isPrimaryRetry, attempt, request.abortSignal);\n return this.attemptSendRequest(request, secondaryHas404, ++attempt);\n }\n\n /**\n * Decide whether to retry according to last HTTP response and retry counters.\n *\n * @param isPrimaryRetry -\n * @param attempt -\n * @param response -\n * @param err -\n */\n protected shouldRetry(\n isPrimaryRetry: boolean,\n attempt: number,\n response?: HttpOperationResponse,\n err?: RestError\n ): boolean {\n if (attempt >= this.retryOptions.maxTries!) {\n logger.info(\n `RetryPolicy: Attempt(s) ${attempt} >= maxTries ${this.retryOptions\n .maxTries!}, no further try.`\n );\n return false;\n }\n\n // Handle network failures, you may need to customize the list when you implement\n // your own http client\n const retriableErrors = [\n \"ETIMEDOUT\",\n \"ESOCKETTIMEDOUT\",\n \"ECONNREFUSED\",\n \"ECONNRESET\",\n \"ENOENT\",\n \"ENOTFOUND\",\n \"TIMEOUT\",\n \"EPIPE\",\n \"REQUEST_SEND_ERROR\", // For default xhr based http client provided in ms-rest-js\n ];\n if (err) {\n for (const retriableError of retriableErrors) {\n if (\n err.name.toUpperCase().includes(retriableError) ||\n err.message.toUpperCase().includes(retriableError) ||\n (err.code && err.code.toString().toUpperCase() === retriableError)\n ) {\n logger.info(`RetryPolicy: Network error ${retriableError} found, will retry.`);\n return true;\n }\n }\n }\n\n // If attempt was against the secondary & it returned a StatusNotFound (404), then\n // the resource was not found. This may be due to replication delay. So, in this\n // case, we'll never try the secondary again for this operation.\n if (response || err) {\n const statusCode = response ? response.status : err ? err.statusCode : 0;\n if (!isPrimaryRetry && statusCode === 404) {\n logger.info(`RetryPolicy: Secondary access with 404, will retry.`);\n return true;\n }\n\n // Server internal error or server timeout\n if (statusCode === 503 || statusCode === 500) {\n logger.info(`RetryPolicy: Will retry for status code ${statusCode}.`);\n return true;\n }\n }\n\n if (err?.code === \"PARSE_ERROR\" && err?.message.startsWith(`Error \"Error: Unclosed root tag`)) {\n logger.info(\n \"RetryPolicy: Incomplete XML response likely due to service timeout, will retry.\"\n );\n return true;\n }\n\n return false;\n }\n\n /**\n * Delay a calculated time between retries.\n *\n * @param isPrimaryRetry -\n * @param attempt -\n * @param abortSignal -\n */\n private async delay(isPrimaryRetry: boolean, attempt: number, abortSignal?: AbortSignalLike) {\n let delayTimeInMs: number = 0;\n\n if (isPrimaryRetry) {\n switch (this.retryOptions.retryPolicyType) {\n case StorageRetryPolicyType.EXPONENTIAL:\n delayTimeInMs = Math.min(\n (Math.pow(2, attempt - 1) - 1) * this.retryOptions.retryDelayInMs!,\n this.retryOptions.maxRetryDelayInMs!\n );\n break;\n case StorageRetryPolicyType.FIXED:\n delayTimeInMs = this.retryOptions.retryDelayInMs!;\n break;\n }\n } else {\n delayTimeInMs = Math.random() * 1000;\n }\n\n logger.info(`RetryPolicy: Delay for ${delayTimeInMs}ms`);\n return delay(delayTimeInMs, abortSignal, RETRY_ABORT_ERROR);\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { RequestPolicy, RequestPolicyFactory, RequestPolicyOptions } from \"@azure/core-http\";\nimport { StorageRetryPolicy, StorageRetryPolicyType } from \"./policies/StorageRetryPolicy\";\n\nexport { StorageRetryPolicyType, StorageRetryPolicy };\n\n/**\n * Storage Blob retry options interface.\n */\nexport interface StorageRetryOptions {\n /**\n * Optional. StorageRetryPolicyType, default is exponential retry policy.\n */\n readonly retryPolicyType?: StorageRetryPolicyType;\n\n /**\n * Optional. Max try number of attempts, default is 4.\n * A value of 1 means 1 try and no retries.\n * A value smaller than 1 means default retry number of attempts.\n */\n readonly maxTries?: number;\n\n /**\n * Optional. Indicates the maximum time in ms allowed for any single try of an HTTP request.\n * A value of zero or undefined means no default timeout on SDK client, Azure\n * Storage server's default timeout policy will be used.\n *\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/setting-timeouts-for-blob-service-operations\n */\n readonly tryTimeoutInMs?: number;\n\n /**\n * Optional. Specifies the amount of delay to use before retrying an operation (default is 4s or 4 * 1000ms).\n * The delay increases (exponentially or linearly) with each retry up to a maximum specified by\n * maxRetryDelayInMs. If you specify 0, then you must also specify 0 for maxRetryDelayInMs.\n */\n readonly retryDelayInMs?: number;\n\n /**\n * Optional. Specifies the maximum delay allowed before retrying an operation (default is 120s or 120 * 1000ms).\n * If you specify 0, then you must also specify 0 for retryDelayInMs.\n */\n readonly maxRetryDelayInMs?: number;\n\n /**\n * If a secondaryHost is specified, retries will be tried against this host. If secondaryHost is undefined\n * (the default) then operations are not retried against another host.\n *\n * NOTE: Before setting this field, make sure you understand the issues around\n * reading stale and potentially-inconsistent data at\n * {@link https://docs.microsoft.com/en-us/azure/storage/common/storage-designing-ha-apps-with-ragrs}\n */\n readonly secondaryHost?: string;\n}\n\n/**\n * StorageRetryPolicyFactory is a factory class helping generating {@link StorageRetryPolicy} objects.\n */\nexport class StorageRetryPolicyFactory implements RequestPolicyFactory {\n private retryOptions?: StorageRetryOptions;\n\n /**\n * Creates an instance of StorageRetryPolicyFactory.\n * @param retryOptions -\n */\n constructor(retryOptions?: StorageRetryOptions) {\n this.retryOptions = retryOptions;\n }\n\n /**\n * Creates a StorageRetryPolicy object.\n *\n * @param nextPolicy -\n * @param options -\n */\n public create(nextPolicy: RequestPolicy, options: RequestPolicyOptions): StorageRetryPolicy {\n return new StorageRetryPolicy(nextPolicy, options, this.retryOptions);\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { BaseRequestPolicy, HttpOperationResponse, WebResource } from \"@azure/core-http\";\n\n/**\n * Credential policy used to sign HTTP(S) requests before sending. This is an\n * abstract class.\n */\nexport abstract class CredentialPolicy extends BaseRequestPolicy {\n /**\n * Sends out request.\n *\n * @param request -\n */\n public sendRequest(request: WebResource): Promise {\n return this._nextPolicy.sendRequest(this.signRequest(request));\n }\n\n /**\n * Child classes must implement this method with request signing. This method\n * will be executed in {@link sendRequest}.\n *\n * @param request -\n */\n protected signRequest(request: WebResource): WebResource {\n // Child classes must override this method with request signing. This method\n // will be executed in sendRequest().\n return request;\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { RequestPolicy, RequestPolicyOptions } from \"@azure/core-http\";\n\nimport { CredentialPolicy } from \"./CredentialPolicy\";\n\n/**\n * AnonymousCredentialPolicy is used with HTTP(S) requests that read public resources\n * or for use with Shared Access Signatures (SAS).\n */\nexport class AnonymousCredentialPolicy extends CredentialPolicy {\n /**\n * Creates an instance of AnonymousCredentialPolicy.\n * @param nextPolicy -\n * @param options -\n */\n // The base class has a protected constructor. Adding a public one to enable constructing of this class.\n /* eslint-disable-next-line @typescript-eslint/no-useless-constructor*/\n constructor(nextPolicy: RequestPolicy, options: RequestPolicyOptions) {\n super(nextPolicy, options);\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { RequestPolicy, RequestPolicyFactory, RequestPolicyOptions } from \"@azure/core-http\";\nimport { CredentialPolicy } from \"../policies/CredentialPolicy\";\n\n/**\n * Credential is an abstract class for Azure Storage HTTP requests signing. This\n * class will host an credentialPolicyCreator factory which generates CredentialPolicy.\n */\nexport abstract class Credential implements RequestPolicyFactory {\n /**\n * Creates a RequestPolicy object.\n *\n * @param _nextPolicy -\n * @param _options -\n */\n public create(_nextPolicy: RequestPolicy, _options: RequestPolicyOptions): RequestPolicy {\n throw new Error(\"Method should be implemented in children classes.\");\n }\n}\n\n/**\n * A factory function that creates a new CredentialPolicy that uses the provided nextPolicy.\n */\nexport type CredentialPolicyCreator = (\n nextPolicy: RequestPolicy,\n options: RequestPolicyOptions\n) => CredentialPolicy;\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { RequestPolicy, RequestPolicyOptions } from \"@azure/core-http\";\n\nimport { AnonymousCredentialPolicy } from \"../policies/AnonymousCredentialPolicy\";\nimport { Credential } from \"./Credential\";\n\n/**\n * AnonymousCredential provides a credentialPolicyCreator member used to create\n * AnonymousCredentialPolicy objects. AnonymousCredentialPolicy is used with\n * HTTP(S) requests that read public resources or for use with Shared Access\n * Signatures (SAS).\n */\nexport class AnonymousCredential extends Credential {\n /**\n * Creates an {@link AnonymousCredentialPolicy} object.\n *\n * @param nextPolicy -\n * @param options -\n */\n public create(\n nextPolicy: RequestPolicy,\n options: RequestPolicyOptions\n ): AnonymousCredentialPolicy {\n return new AnonymousCredentialPolicy(nextPolicy, options);\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n BaseRequestPolicy,\n HttpHeaders,\n HttpOperationResponse,\n isNode,\n RequestPolicy,\n RequestPolicyOptions,\n WebResource,\n} from \"@azure/core-http\";\n\nimport { HeaderConstants } from \"../utils/constants\";\n\n/**\n * TelemetryPolicy is a policy used to tag user-agent header for every requests.\n */\nexport class TelemetryPolicy extends BaseRequestPolicy {\n /**\n * Telemetry string.\n */\n public readonly telemetry: string;\n\n /**\n * Creates an instance of TelemetryPolicy.\n * @param nextPolicy -\n * @param options -\n * @param telemetry -\n */\n constructor(nextPolicy: RequestPolicy, options: RequestPolicyOptions, telemetry: string) {\n super(nextPolicy, options);\n this.telemetry = telemetry;\n }\n\n /**\n * Sends out request.\n *\n * @param request -\n */\n public async sendRequest(request: WebResource): Promise {\n if (isNode) {\n if (!request.headers) {\n request.headers = new HttpHeaders();\n }\n if (!request.headers.get(HeaderConstants.USER_AGENT)) {\n request.headers.set(HeaderConstants.USER_AGENT, this.telemetry);\n }\n }\n\n return this._nextPolicy.sendRequest(request);\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n isNode,\n RequestPolicy,\n RequestPolicyFactory,\n RequestPolicyOptions,\n UserAgentOptions,\n} from \"@azure/core-http\";\nimport * as os from \"os\";\n\nimport { TelemetryPolicy } from \"./policies/TelemetryPolicy\";\nimport { SDK_VERSION } from \"./utils/constants\";\n\n/**\n * TelemetryPolicyFactory is a factory class helping generating {@link TelemetryPolicy} objects.\n */\nexport class TelemetryPolicyFactory implements RequestPolicyFactory {\n /**\n * @internal\n */\n public readonly telemetryString: string;\n\n /**\n * Creates an instance of TelemetryPolicyFactory.\n * @param telemetry -\n */\n constructor(telemetry?: UserAgentOptions) {\n const userAgentInfo: string[] = [];\n\n if (isNode) {\n if (telemetry) {\n const telemetryString = telemetry.userAgentPrefix || \"\";\n if (telemetryString.length > 0 && userAgentInfo.indexOf(telemetryString) === -1) {\n userAgentInfo.push(telemetryString);\n }\n }\n\n // e.g. azsdk-js-storageblob/10.0.0\n const libInfo = `azsdk-js-storageblob/${SDK_VERSION}`;\n if (userAgentInfo.indexOf(libInfo) === -1) {\n userAgentInfo.push(libInfo);\n }\n\n // e.g. (NODE-VERSION 4.9.1; Windows_NT 10.0.16299)\n let runtimeInfo = `(NODE-VERSION ${process.version})`;\n if (os) {\n runtimeInfo = `(NODE-VERSION ${process.version}; ${os.type()} ${os.release()})`;\n }\n if (userAgentInfo.indexOf(runtimeInfo) === -1) {\n userAgentInfo.push(runtimeInfo);\n }\n }\n\n this.telemetryString = userAgentInfo.join(\" \");\n }\n\n /**\n * Creates a TelemetryPolicy object.\n *\n * @param nextPolicy -\n * @param options -\n */\n public create(nextPolicy: RequestPolicy, options: RequestPolicyOptions): TelemetryPolicy {\n return new TelemetryPolicy(nextPolicy, options, this.telemetryString);\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport * as http from \"http\";\nimport * as https from \"https\";\nimport * as tunnel from \"tunnel\";\nimport { HttpHeadersLike } from \"./httpHeaders\";\nimport { ProxySettings } from \"./serviceClient\";\nimport { URLBuilder } from \"./url\";\n\nexport type ProxyAgent = { isHttps: boolean; agent: http.Agent | https.Agent };\nexport function createProxyAgent(\n requestUrl: string,\n proxySettings: ProxySettings,\n headers?: HttpHeadersLike\n): ProxyAgent {\n const host = URLBuilder.parse(proxySettings.host).getHost() as string;\n if (!host) {\n throw new Error(\"Expecting a non-empty host in proxy settings.\");\n }\n if (!isValidPort(proxySettings.port)) {\n throw new Error(\"Expecting a valid port number in the range of [0, 65535] in proxy settings.\");\n }\n const tunnelOptions: tunnel.HttpsOverHttpsOptions = {\n proxy: {\n host: host,\n port: proxySettings.port,\n headers: (headers && headers.rawHeaders()) || {},\n },\n };\n\n if (proxySettings.username && proxySettings.password) {\n tunnelOptions.proxy!.proxyAuth = `${proxySettings.username}:${proxySettings.password}`;\n } else if (proxySettings.username) {\n tunnelOptions.proxy!.proxyAuth = `${proxySettings.username}`;\n }\n\n const isRequestHttps = isUrlHttps(requestUrl);\n const isProxyHttps = isUrlHttps(proxySettings.host);\n\n const proxyAgent = {\n isHttps: isRequestHttps,\n agent: createTunnel(isRequestHttps, isProxyHttps, tunnelOptions),\n };\n\n return proxyAgent;\n}\n\nexport function isUrlHttps(url: string): boolean {\n const urlScheme = URLBuilder.parse(url).getScheme() || \"\";\n return urlScheme.toLowerCase() === \"https\";\n}\n\nexport function createTunnel(\n isRequestHttps: boolean,\n isProxyHttps: boolean,\n tunnelOptions: tunnel.HttpsOverHttpsOptions\n): http.Agent | https.Agent {\n if (isRequestHttps && isProxyHttps) {\n return tunnel.httpsOverHttps(tunnelOptions);\n } else if (isRequestHttps && !isProxyHttps) {\n return tunnel.httpsOverHttp(tunnelOptions);\n } else if (!isRequestHttps && isProxyHttps) {\n return tunnel.httpOverHttps(tunnelOptions);\n } else {\n return tunnel.httpOverHttp(tunnelOptions);\n }\n}\n\nfunction isValidPort(port: number): boolean {\n // any port in 0-65535 range is valid (RFC 793) even though almost all implementations\n // will reserve 0 for a specific purpose, and a range of numbers for ephemeral ports\n return 0 <= port && port <= 65535;\n}\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"zlib\");","import Stream from 'stream';\nimport http from 'http';\nimport Url from 'url';\nimport whatwgUrl from 'whatwg-url';\nimport https from 'https';\nimport zlib from 'zlib';\n\n// Based on https://github.com/tmpvar/jsdom/blob/aa85b2abf07766ff7bf5c1f6daafb3726f2f2db5/lib/jsdom/living/blob.js\n\n// fix for \"Readable\" isn't a named export issue\nconst Readable = Stream.Readable;\n\nconst BUFFER = Symbol('buffer');\nconst TYPE = Symbol('type');\n\nclass Blob {\n\tconstructor() {\n\t\tthis[TYPE] = '';\n\n\t\tconst blobParts = arguments[0];\n\t\tconst options = arguments[1];\n\n\t\tconst buffers = [];\n\t\tlet size = 0;\n\n\t\tif (blobParts) {\n\t\t\tconst a = blobParts;\n\t\t\tconst length = Number(a.length);\n\t\t\tfor (let i = 0; i < length; i++) {\n\t\t\t\tconst element = a[i];\n\t\t\t\tlet buffer;\n\t\t\t\tif (element instanceof Buffer) {\n\t\t\t\t\tbuffer = element;\n\t\t\t\t} else if (ArrayBuffer.isView(element)) {\n\t\t\t\t\tbuffer = Buffer.from(element.buffer, element.byteOffset, element.byteLength);\n\t\t\t\t} else if (element instanceof ArrayBuffer) {\n\t\t\t\t\tbuffer = Buffer.from(element);\n\t\t\t\t} else if (element instanceof Blob) {\n\t\t\t\t\tbuffer = element[BUFFER];\n\t\t\t\t} else {\n\t\t\t\t\tbuffer = Buffer.from(typeof element === 'string' ? element : String(element));\n\t\t\t\t}\n\t\t\t\tsize += buffer.length;\n\t\t\t\tbuffers.push(buffer);\n\t\t\t}\n\t\t}\n\n\t\tthis[BUFFER] = Buffer.concat(buffers);\n\n\t\tlet type = options && options.type !== undefined && String(options.type).toLowerCase();\n\t\tif (type && !/[^\\u0020-\\u007E]/.test(type)) {\n\t\t\tthis[TYPE] = type;\n\t\t}\n\t}\n\tget size() {\n\t\treturn this[BUFFER].length;\n\t}\n\tget type() {\n\t\treturn this[TYPE];\n\t}\n\ttext() {\n\t\treturn Promise.resolve(this[BUFFER].toString());\n\t}\n\tarrayBuffer() {\n\t\tconst buf = this[BUFFER];\n\t\tconst ab = buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength);\n\t\treturn Promise.resolve(ab);\n\t}\n\tstream() {\n\t\tconst readable = new Readable();\n\t\treadable._read = function () {};\n\t\treadable.push(this[BUFFER]);\n\t\treadable.push(null);\n\t\treturn readable;\n\t}\n\ttoString() {\n\t\treturn '[object Blob]';\n\t}\n\tslice() {\n\t\tconst size = this.size;\n\n\t\tconst start = arguments[0];\n\t\tconst end = arguments[1];\n\t\tlet relativeStart, relativeEnd;\n\t\tif (start === undefined) {\n\t\t\trelativeStart = 0;\n\t\t} else if (start < 0) {\n\t\t\trelativeStart = Math.max(size + start, 0);\n\t\t} else {\n\t\t\trelativeStart = Math.min(start, size);\n\t\t}\n\t\tif (end === undefined) {\n\t\t\trelativeEnd = size;\n\t\t} else if (end < 0) {\n\t\t\trelativeEnd = Math.max(size + end, 0);\n\t\t} else {\n\t\t\trelativeEnd = Math.min(end, size);\n\t\t}\n\t\tconst span = Math.max(relativeEnd - relativeStart, 0);\n\n\t\tconst buffer = this[BUFFER];\n\t\tconst slicedBuffer = buffer.slice(relativeStart, relativeStart + span);\n\t\tconst blob = new Blob([], { type: arguments[2] });\n\t\tblob[BUFFER] = slicedBuffer;\n\t\treturn blob;\n\t}\n}\n\nObject.defineProperties(Blob.prototype, {\n\tsize: { enumerable: true },\n\ttype: { enumerable: true },\n\tslice: { enumerable: true }\n});\n\nObject.defineProperty(Blob.prototype, Symbol.toStringTag, {\n\tvalue: 'Blob',\n\twritable: false,\n\tenumerable: false,\n\tconfigurable: true\n});\n\n/**\n * fetch-error.js\n *\n * FetchError interface for operational errors\n */\n\n/**\n * Create FetchError instance\n *\n * @param String message Error message for human\n * @param String type Error type for machine\n * @param String systemError For Node.js system error\n * @return FetchError\n */\nfunction FetchError(message, type, systemError) {\n Error.call(this, message);\n\n this.message = message;\n this.type = type;\n\n // when err.type is `system`, err.code contains system error code\n if (systemError) {\n this.code = this.errno = systemError.code;\n }\n\n // hide custom error implementation details from end-users\n Error.captureStackTrace(this, this.constructor);\n}\n\nFetchError.prototype = Object.create(Error.prototype);\nFetchError.prototype.constructor = FetchError;\nFetchError.prototype.name = 'FetchError';\n\nlet convert;\ntry {\n\tconvert = require('encoding').convert;\n} catch (e) {}\n\nconst INTERNALS = Symbol('Body internals');\n\n// fix an issue where \"PassThrough\" isn't a named export for node <10\nconst PassThrough = Stream.PassThrough;\n\n/**\n * Body mixin\n *\n * Ref: https://fetch.spec.whatwg.org/#body\n *\n * @param Stream body Readable stream\n * @param Object opts Response options\n * @return Void\n */\nfunction Body(body) {\n\tvar _this = this;\n\n\tvar _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n\t _ref$size = _ref.size;\n\n\tlet size = _ref$size === undefined ? 0 : _ref$size;\n\tvar _ref$timeout = _ref.timeout;\n\tlet timeout = _ref$timeout === undefined ? 0 : _ref$timeout;\n\n\tif (body == null) {\n\t\t// body is undefined or null\n\t\tbody = null;\n\t} else if (isURLSearchParams(body)) {\n\t\t// body is a URLSearchParams\n\t\tbody = Buffer.from(body.toString());\n\t} else if (isBlob(body)) ; else if (Buffer.isBuffer(body)) ; else if (Object.prototype.toString.call(body) === '[object ArrayBuffer]') {\n\t\t// body is ArrayBuffer\n\t\tbody = Buffer.from(body);\n\t} else if (ArrayBuffer.isView(body)) {\n\t\t// body is ArrayBufferView\n\t\tbody = Buffer.from(body.buffer, body.byteOffset, body.byteLength);\n\t} else if (body instanceof Stream) ; else {\n\t\t// none of the above\n\t\t// coerce to string then buffer\n\t\tbody = Buffer.from(String(body));\n\t}\n\tthis[INTERNALS] = {\n\t\tbody,\n\t\tdisturbed: false,\n\t\terror: null\n\t};\n\tthis.size = size;\n\tthis.timeout = timeout;\n\n\tif (body instanceof Stream) {\n\t\tbody.on('error', function (err) {\n\t\t\tconst error = err.name === 'AbortError' ? err : new FetchError(`Invalid response body while trying to fetch ${_this.url}: ${err.message}`, 'system', err);\n\t\t\t_this[INTERNALS].error = error;\n\t\t});\n\t}\n}\n\nBody.prototype = {\n\tget body() {\n\t\treturn this[INTERNALS].body;\n\t},\n\n\tget bodyUsed() {\n\t\treturn this[INTERNALS].disturbed;\n\t},\n\n\t/**\n * Decode response as ArrayBuffer\n *\n * @return Promise\n */\n\tarrayBuffer() {\n\t\treturn consumeBody.call(this).then(function (buf) {\n\t\t\treturn buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength);\n\t\t});\n\t},\n\n\t/**\n * Return raw response as Blob\n *\n * @return Promise\n */\n\tblob() {\n\t\tlet ct = this.headers && this.headers.get('content-type') || '';\n\t\treturn consumeBody.call(this).then(function (buf) {\n\t\t\treturn Object.assign(\n\t\t\t// Prevent copying\n\t\t\tnew Blob([], {\n\t\t\t\ttype: ct.toLowerCase()\n\t\t\t}), {\n\t\t\t\t[BUFFER]: buf\n\t\t\t});\n\t\t});\n\t},\n\n\t/**\n * Decode response as json\n *\n * @return Promise\n */\n\tjson() {\n\t\tvar _this2 = this;\n\n\t\treturn consumeBody.call(this).then(function (buffer) {\n\t\t\ttry {\n\t\t\t\treturn JSON.parse(buffer.toString());\n\t\t\t} catch (err) {\n\t\t\t\treturn Body.Promise.reject(new FetchError(`invalid json response body at ${_this2.url} reason: ${err.message}`, 'invalid-json'));\n\t\t\t}\n\t\t});\n\t},\n\n\t/**\n * Decode response as text\n *\n * @return Promise\n */\n\ttext() {\n\t\treturn consumeBody.call(this).then(function (buffer) {\n\t\t\treturn buffer.toString();\n\t\t});\n\t},\n\n\t/**\n * Decode response as buffer (non-spec api)\n *\n * @return Promise\n */\n\tbuffer() {\n\t\treturn consumeBody.call(this);\n\t},\n\n\t/**\n * Decode response as text, while automatically detecting the encoding and\n * trying to decode to UTF-8 (non-spec api)\n *\n * @return Promise\n */\n\ttextConverted() {\n\t\tvar _this3 = this;\n\n\t\treturn consumeBody.call(this).then(function (buffer) {\n\t\t\treturn convertBody(buffer, _this3.headers);\n\t\t});\n\t}\n};\n\n// In browsers, all properties are enumerable.\nObject.defineProperties(Body.prototype, {\n\tbody: { enumerable: true },\n\tbodyUsed: { enumerable: true },\n\tarrayBuffer: { enumerable: true },\n\tblob: { enumerable: true },\n\tjson: { enumerable: true },\n\ttext: { enumerable: true }\n});\n\nBody.mixIn = function (proto) {\n\tfor (const name of Object.getOwnPropertyNames(Body.prototype)) {\n\t\t// istanbul ignore else: future proof\n\t\tif (!(name in proto)) {\n\t\t\tconst desc = Object.getOwnPropertyDescriptor(Body.prototype, name);\n\t\t\tObject.defineProperty(proto, name, desc);\n\t\t}\n\t}\n};\n\n/**\n * Consume and convert an entire Body to a Buffer.\n *\n * Ref: https://fetch.spec.whatwg.org/#concept-body-consume-body\n *\n * @return Promise\n */\nfunction consumeBody() {\n\tvar _this4 = this;\n\n\tif (this[INTERNALS].disturbed) {\n\t\treturn Body.Promise.reject(new TypeError(`body used already for: ${this.url}`));\n\t}\n\n\tthis[INTERNALS].disturbed = true;\n\n\tif (this[INTERNALS].error) {\n\t\treturn Body.Promise.reject(this[INTERNALS].error);\n\t}\n\n\tlet body = this.body;\n\n\t// body is null\n\tif (body === null) {\n\t\treturn Body.Promise.resolve(Buffer.alloc(0));\n\t}\n\n\t// body is blob\n\tif (isBlob(body)) {\n\t\tbody = body.stream();\n\t}\n\n\t// body is buffer\n\tif (Buffer.isBuffer(body)) {\n\t\treturn Body.Promise.resolve(body);\n\t}\n\n\t// istanbul ignore if: should never happen\n\tif (!(body instanceof Stream)) {\n\t\treturn Body.Promise.resolve(Buffer.alloc(0));\n\t}\n\n\t// body is stream\n\t// get ready to actually consume the body\n\tlet accum = [];\n\tlet accumBytes = 0;\n\tlet abort = false;\n\n\treturn new Body.Promise(function (resolve, reject) {\n\t\tlet resTimeout;\n\n\t\t// allow timeout on slow response body\n\t\tif (_this4.timeout) {\n\t\t\tresTimeout = setTimeout(function () {\n\t\t\t\tabort = true;\n\t\t\t\treject(new FetchError(`Response timeout while trying to fetch ${_this4.url} (over ${_this4.timeout}ms)`, 'body-timeout'));\n\t\t\t}, _this4.timeout);\n\t\t}\n\n\t\t// handle stream errors\n\t\tbody.on('error', function (err) {\n\t\t\tif (err.name === 'AbortError') {\n\t\t\t\t// if the request was aborted, reject with this Error\n\t\t\t\tabort = true;\n\t\t\t\treject(err);\n\t\t\t} else {\n\t\t\t\t// other errors, such as incorrect content-encoding\n\t\t\t\treject(new FetchError(`Invalid response body while trying to fetch ${_this4.url}: ${err.message}`, 'system', err));\n\t\t\t}\n\t\t});\n\n\t\tbody.on('data', function (chunk) {\n\t\t\tif (abort || chunk === null) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (_this4.size && accumBytes + chunk.length > _this4.size) {\n\t\t\t\tabort = true;\n\t\t\t\treject(new FetchError(`content size at ${_this4.url} over limit: ${_this4.size}`, 'max-size'));\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\taccumBytes += chunk.length;\n\t\t\taccum.push(chunk);\n\t\t});\n\n\t\tbody.on('end', function () {\n\t\t\tif (abort) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tclearTimeout(resTimeout);\n\n\t\t\ttry {\n\t\t\t\tresolve(Buffer.concat(accum, accumBytes));\n\t\t\t} catch (err) {\n\t\t\t\t// handle streams that have accumulated too much data (issue #414)\n\t\t\t\treject(new FetchError(`Could not create Buffer from response body for ${_this4.url}: ${err.message}`, 'system', err));\n\t\t\t}\n\t\t});\n\t});\n}\n\n/**\n * Detect buffer encoding and convert to target encoding\n * ref: http://www.w3.org/TR/2011/WD-html5-20110113/parsing.html#determining-the-character-encoding\n *\n * @param Buffer buffer Incoming buffer\n * @param String encoding Target encoding\n * @return String\n */\nfunction convertBody(buffer, headers) {\n\tif (typeof convert !== 'function') {\n\t\tthrow new Error('The package `encoding` must be installed to use the textConverted() function');\n\t}\n\n\tconst ct = headers.get('content-type');\n\tlet charset = 'utf-8';\n\tlet res, str;\n\n\t// header\n\tif (ct) {\n\t\tres = /charset=([^;]*)/i.exec(ct);\n\t}\n\n\t// no charset in content type, peek at response body for at most 1024 bytes\n\tstr = buffer.slice(0, 1024).toString();\n\n\t// html5\n\tif (!res && str) {\n\t\tres = / 0 && arguments[0] !== undefined ? arguments[0] : undefined;\n\n\t\tthis[MAP] = Object.create(null);\n\n\t\tif (init instanceof Headers) {\n\t\t\tconst rawHeaders = init.raw();\n\t\t\tconst headerNames = Object.keys(rawHeaders);\n\n\t\t\tfor (const headerName of headerNames) {\n\t\t\t\tfor (const value of rawHeaders[headerName]) {\n\t\t\t\t\tthis.append(headerName, value);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\t// We don't worry about converting prop to ByteString here as append()\n\t\t// will handle it.\n\t\tif (init == null) ; else if (typeof init === 'object') {\n\t\t\tconst method = init[Symbol.iterator];\n\t\t\tif (method != null) {\n\t\t\t\tif (typeof method !== 'function') {\n\t\t\t\t\tthrow new TypeError('Header pairs must be iterable');\n\t\t\t\t}\n\n\t\t\t\t// sequence>\n\t\t\t\t// Note: per spec we have to first exhaust the lists then process them\n\t\t\t\tconst pairs = [];\n\t\t\t\tfor (const pair of init) {\n\t\t\t\t\tif (typeof pair !== 'object' || typeof pair[Symbol.iterator] !== 'function') {\n\t\t\t\t\t\tthrow new TypeError('Each header pair must be iterable');\n\t\t\t\t\t}\n\t\t\t\t\tpairs.push(Array.from(pair));\n\t\t\t\t}\n\n\t\t\t\tfor (const pair of pairs) {\n\t\t\t\t\tif (pair.length !== 2) {\n\t\t\t\t\t\tthrow new TypeError('Each header pair must be a name/value tuple');\n\t\t\t\t\t}\n\t\t\t\t\tthis.append(pair[0], pair[1]);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t// record\n\t\t\t\tfor (const key of Object.keys(init)) {\n\t\t\t\t\tconst value = init[key];\n\t\t\t\t\tthis.append(key, value);\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tthrow new TypeError('Provided initializer must be an object');\n\t\t}\n\t}\n\n\t/**\n * Return combined header value given name\n *\n * @param String name Header name\n * @return Mixed\n */\n\tget(name) {\n\t\tname = `${name}`;\n\t\tvalidateName(name);\n\t\tconst key = find(this[MAP], name);\n\t\tif (key === undefined) {\n\t\t\treturn null;\n\t\t}\n\n\t\treturn this[MAP][key].join(', ');\n\t}\n\n\t/**\n * Iterate over all headers\n *\n * @param Function callback Executed for each item with parameters (value, name, thisArg)\n * @param Boolean thisArg `this` context for callback function\n * @return Void\n */\n\tforEach(callback) {\n\t\tlet thisArg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;\n\n\t\tlet pairs = getHeaders(this);\n\t\tlet i = 0;\n\t\twhile (i < pairs.length) {\n\t\t\tvar _pairs$i = pairs[i];\n\t\t\tconst name = _pairs$i[0],\n\t\t\t value = _pairs$i[1];\n\n\t\t\tcallback.call(thisArg, value, name, this);\n\t\t\tpairs = getHeaders(this);\n\t\t\ti++;\n\t\t}\n\t}\n\n\t/**\n * Overwrite header values given name\n *\n * @param String name Header name\n * @param String value Header value\n * @return Void\n */\n\tset(name, value) {\n\t\tname = `${name}`;\n\t\tvalue = `${value}`;\n\t\tvalidateName(name);\n\t\tvalidateValue(value);\n\t\tconst key = find(this[MAP], name);\n\t\tthis[MAP][key !== undefined ? key : name] = [value];\n\t}\n\n\t/**\n * Append a value onto existing header\n *\n * @param String name Header name\n * @param String value Header value\n * @return Void\n */\n\tappend(name, value) {\n\t\tname = `${name}`;\n\t\tvalue = `${value}`;\n\t\tvalidateName(name);\n\t\tvalidateValue(value);\n\t\tconst key = find(this[MAP], name);\n\t\tif (key !== undefined) {\n\t\t\tthis[MAP][key].push(value);\n\t\t} else {\n\t\t\tthis[MAP][name] = [value];\n\t\t}\n\t}\n\n\t/**\n * Check for header name existence\n *\n * @param String name Header name\n * @return Boolean\n */\n\thas(name) {\n\t\tname = `${name}`;\n\t\tvalidateName(name);\n\t\treturn find(this[MAP], name) !== undefined;\n\t}\n\n\t/**\n * Delete all header values given name\n *\n * @param String name Header name\n * @return Void\n */\n\tdelete(name) {\n\t\tname = `${name}`;\n\t\tvalidateName(name);\n\t\tconst key = find(this[MAP], name);\n\t\tif (key !== undefined) {\n\t\t\tdelete this[MAP][key];\n\t\t}\n\t}\n\n\t/**\n * Return raw headers (non-spec api)\n *\n * @return Object\n */\n\traw() {\n\t\treturn this[MAP];\n\t}\n\n\t/**\n * Get an iterator on keys.\n *\n * @return Iterator\n */\n\tkeys() {\n\t\treturn createHeadersIterator(this, 'key');\n\t}\n\n\t/**\n * Get an iterator on values.\n *\n * @return Iterator\n */\n\tvalues() {\n\t\treturn createHeadersIterator(this, 'value');\n\t}\n\n\t/**\n * Get an iterator on entries.\n *\n * This is the default iterator of the Headers object.\n *\n * @return Iterator\n */\n\t[Symbol.iterator]() {\n\t\treturn createHeadersIterator(this, 'key+value');\n\t}\n}\nHeaders.prototype.entries = Headers.prototype[Symbol.iterator];\n\nObject.defineProperty(Headers.prototype, Symbol.toStringTag, {\n\tvalue: 'Headers',\n\twritable: false,\n\tenumerable: false,\n\tconfigurable: true\n});\n\nObject.defineProperties(Headers.prototype, {\n\tget: { enumerable: true },\n\tforEach: { enumerable: true },\n\tset: { enumerable: true },\n\tappend: { enumerable: true },\n\thas: { enumerable: true },\n\tdelete: { enumerable: true },\n\tkeys: { enumerable: true },\n\tvalues: { enumerable: true },\n\tentries: { enumerable: true }\n});\n\nfunction getHeaders(headers) {\n\tlet kind = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'key+value';\n\n\tconst keys = Object.keys(headers[MAP]).sort();\n\treturn keys.map(kind === 'key' ? function (k) {\n\t\treturn k.toLowerCase();\n\t} : kind === 'value' ? function (k) {\n\t\treturn headers[MAP][k].join(', ');\n\t} : function (k) {\n\t\treturn [k.toLowerCase(), headers[MAP][k].join(', ')];\n\t});\n}\n\nconst INTERNAL = Symbol('internal');\n\nfunction createHeadersIterator(target, kind) {\n\tconst iterator = Object.create(HeadersIteratorPrototype);\n\titerator[INTERNAL] = {\n\t\ttarget,\n\t\tkind,\n\t\tindex: 0\n\t};\n\treturn iterator;\n}\n\nconst HeadersIteratorPrototype = Object.setPrototypeOf({\n\tnext() {\n\t\t// istanbul ignore if\n\t\tif (!this || Object.getPrototypeOf(this) !== HeadersIteratorPrototype) {\n\t\t\tthrow new TypeError('Value of `this` is not a HeadersIterator');\n\t\t}\n\n\t\tvar _INTERNAL = this[INTERNAL];\n\t\tconst target = _INTERNAL.target,\n\t\t kind = _INTERNAL.kind,\n\t\t index = _INTERNAL.index;\n\n\t\tconst values = getHeaders(target, kind);\n\t\tconst len = values.length;\n\t\tif (index >= len) {\n\t\t\treturn {\n\t\t\t\tvalue: undefined,\n\t\t\t\tdone: true\n\t\t\t};\n\t\t}\n\n\t\tthis[INTERNAL].index = index + 1;\n\n\t\treturn {\n\t\t\tvalue: values[index],\n\t\t\tdone: false\n\t\t};\n\t}\n}, Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())));\n\nObject.defineProperty(HeadersIteratorPrototype, Symbol.toStringTag, {\n\tvalue: 'HeadersIterator',\n\twritable: false,\n\tenumerable: false,\n\tconfigurable: true\n});\n\n/**\n * Export the Headers object in a form that Node.js can consume.\n *\n * @param Headers headers\n * @return Object\n */\nfunction exportNodeCompatibleHeaders(headers) {\n\tconst obj = Object.assign({ __proto__: null }, headers[MAP]);\n\n\t// http.request() only supports string as Host header. This hack makes\n\t// specifying custom Host header possible.\n\tconst hostHeaderKey = find(headers[MAP], 'Host');\n\tif (hostHeaderKey !== undefined) {\n\t\tobj[hostHeaderKey] = obj[hostHeaderKey][0];\n\t}\n\n\treturn obj;\n}\n\n/**\n * Create a Headers object from an object of headers, ignoring those that do\n * not conform to HTTP grammar productions.\n *\n * @param Object obj Object of headers\n * @return Headers\n */\nfunction createHeadersLenient(obj) {\n\tconst headers = new Headers();\n\tfor (const name of Object.keys(obj)) {\n\t\tif (invalidTokenRegex.test(name)) {\n\t\t\tcontinue;\n\t\t}\n\t\tif (Array.isArray(obj[name])) {\n\t\t\tfor (const val of obj[name]) {\n\t\t\t\tif (invalidHeaderCharRegex.test(val)) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tif (headers[MAP][name] === undefined) {\n\t\t\t\t\theaders[MAP][name] = [val];\n\t\t\t\t} else {\n\t\t\t\t\theaders[MAP][name].push(val);\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (!invalidHeaderCharRegex.test(obj[name])) {\n\t\t\theaders[MAP][name] = [obj[name]];\n\t\t}\n\t}\n\treturn headers;\n}\n\nconst INTERNALS$1 = Symbol('Response internals');\n\n// fix an issue where \"STATUS_CODES\" aren't a named export for node <10\nconst STATUS_CODES = http.STATUS_CODES;\n\n/**\n * Response class\n *\n * @param Stream body Readable stream\n * @param Object opts Response options\n * @return Void\n */\nclass Response {\n\tconstructor() {\n\t\tlet body = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n\t\tlet opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n\t\tBody.call(this, body, opts);\n\n\t\tconst status = opts.status || 200;\n\t\tconst headers = new Headers(opts.headers);\n\n\t\tif (body != null && !headers.has('Content-Type')) {\n\t\t\tconst contentType = extractContentType(body);\n\t\t\tif (contentType) {\n\t\t\t\theaders.append('Content-Type', contentType);\n\t\t\t}\n\t\t}\n\n\t\tthis[INTERNALS$1] = {\n\t\t\turl: opts.url,\n\t\t\tstatus,\n\t\t\tstatusText: opts.statusText || STATUS_CODES[status],\n\t\t\theaders,\n\t\t\tcounter: opts.counter\n\t\t};\n\t}\n\n\tget url() {\n\t\treturn this[INTERNALS$1].url || '';\n\t}\n\n\tget status() {\n\t\treturn this[INTERNALS$1].status;\n\t}\n\n\t/**\n * Convenience property representing if the request ended normally\n */\n\tget ok() {\n\t\treturn this[INTERNALS$1].status >= 200 && this[INTERNALS$1].status < 300;\n\t}\n\n\tget redirected() {\n\t\treturn this[INTERNALS$1].counter > 0;\n\t}\n\n\tget statusText() {\n\t\treturn this[INTERNALS$1].statusText;\n\t}\n\n\tget headers() {\n\t\treturn this[INTERNALS$1].headers;\n\t}\n\n\t/**\n * Clone this response\n *\n * @return Response\n */\n\tclone() {\n\t\treturn new Response(clone(this), {\n\t\t\turl: this.url,\n\t\t\tstatus: this.status,\n\t\t\tstatusText: this.statusText,\n\t\t\theaders: this.headers,\n\t\t\tok: this.ok,\n\t\t\tredirected: this.redirected\n\t\t});\n\t}\n}\n\nBody.mixIn(Response.prototype);\n\nObject.defineProperties(Response.prototype, {\n\turl: { enumerable: true },\n\tstatus: { enumerable: true },\n\tok: { enumerable: true },\n\tredirected: { enumerable: true },\n\tstatusText: { enumerable: true },\n\theaders: { enumerable: true },\n\tclone: { enumerable: true }\n});\n\nObject.defineProperty(Response.prototype, Symbol.toStringTag, {\n\tvalue: 'Response',\n\twritable: false,\n\tenumerable: false,\n\tconfigurable: true\n});\n\nconst INTERNALS$2 = Symbol('Request internals');\nconst URL = Url.URL || whatwgUrl.URL;\n\n// fix an issue where \"format\", \"parse\" aren't a named export for node <10\nconst parse_url = Url.parse;\nconst format_url = Url.format;\n\n/**\n * Wrapper around `new URL` to handle arbitrary URLs\n *\n * @param {string} urlStr\n * @return {void}\n */\nfunction parseURL(urlStr) {\n\t/*\n \tCheck whether the URL is absolute or not\n \t\tScheme: https://tools.ietf.org/html/rfc3986#section-3.1\n \tAbsolute URL: https://tools.ietf.org/html/rfc3986#section-4.3\n */\n\tif (/^[a-zA-Z][a-zA-Z\\d+\\-.]*:/.exec(urlStr)) {\n\t\turlStr = new URL(urlStr).toString();\n\t}\n\n\t// Fallback to old implementation for arbitrary URLs\n\treturn parse_url(urlStr);\n}\n\nconst streamDestructionSupported = 'destroy' in Stream.Readable.prototype;\n\n/**\n * Check if a value is an instance of Request.\n *\n * @param Mixed input\n * @return Boolean\n */\nfunction isRequest(input) {\n\treturn typeof input === 'object' && typeof input[INTERNALS$2] === 'object';\n}\n\nfunction isAbortSignal(signal) {\n\tconst proto = signal && typeof signal === 'object' && Object.getPrototypeOf(signal);\n\treturn !!(proto && proto.constructor.name === 'AbortSignal');\n}\n\n/**\n * Request class\n *\n * @param Mixed input Url or Request instance\n * @param Object init Custom options\n * @return Void\n */\nclass Request {\n\tconstructor(input) {\n\t\tlet init = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n\t\tlet parsedURL;\n\n\t\t// normalize input\n\t\tif (!isRequest(input)) {\n\t\t\tif (input && input.href) {\n\t\t\t\t// in order to support Node.js' Url objects; though WHATWG's URL objects\n\t\t\t\t// will fall into this branch also (since their `toString()` will return\n\t\t\t\t// `href` property anyway)\n\t\t\t\tparsedURL = parseURL(input.href);\n\t\t\t} else {\n\t\t\t\t// coerce input to a string before attempting to parse\n\t\t\t\tparsedURL = parseURL(`${input}`);\n\t\t\t}\n\t\t\tinput = {};\n\t\t} else {\n\t\t\tparsedURL = parseURL(input.url);\n\t\t}\n\n\t\tlet method = init.method || input.method || 'GET';\n\t\tmethod = method.toUpperCase();\n\n\t\tif ((init.body != null || isRequest(input) && input.body !== null) && (method === 'GET' || method === 'HEAD')) {\n\t\t\tthrow new TypeError('Request with GET/HEAD method cannot have body');\n\t\t}\n\n\t\tlet inputBody = init.body != null ? init.body : isRequest(input) && input.body !== null ? clone(input) : null;\n\n\t\tBody.call(this, inputBody, {\n\t\t\ttimeout: init.timeout || input.timeout || 0,\n\t\t\tsize: init.size || input.size || 0\n\t\t});\n\n\t\tconst headers = new Headers(init.headers || input.headers || {});\n\n\t\tif (inputBody != null && !headers.has('Content-Type')) {\n\t\t\tconst contentType = extractContentType(inputBody);\n\t\t\tif (contentType) {\n\t\t\t\theaders.append('Content-Type', contentType);\n\t\t\t}\n\t\t}\n\n\t\tlet signal = isRequest(input) ? input.signal : null;\n\t\tif ('signal' in init) signal = init.signal;\n\n\t\tif (signal != null && !isAbortSignal(signal)) {\n\t\t\tthrow new TypeError('Expected signal to be an instanceof AbortSignal');\n\t\t}\n\n\t\tthis[INTERNALS$2] = {\n\t\t\tmethod,\n\t\t\tredirect: init.redirect || input.redirect || 'follow',\n\t\t\theaders,\n\t\t\tparsedURL,\n\t\t\tsignal\n\t\t};\n\n\t\t// node-fetch-only options\n\t\tthis.follow = init.follow !== undefined ? init.follow : input.follow !== undefined ? input.follow : 20;\n\t\tthis.compress = init.compress !== undefined ? init.compress : input.compress !== undefined ? input.compress : true;\n\t\tthis.counter = init.counter || input.counter || 0;\n\t\tthis.agent = init.agent || input.agent;\n\t}\n\n\tget method() {\n\t\treturn this[INTERNALS$2].method;\n\t}\n\n\tget url() {\n\t\treturn format_url(this[INTERNALS$2].parsedURL);\n\t}\n\n\tget headers() {\n\t\treturn this[INTERNALS$2].headers;\n\t}\n\n\tget redirect() {\n\t\treturn this[INTERNALS$2].redirect;\n\t}\n\n\tget signal() {\n\t\treturn this[INTERNALS$2].signal;\n\t}\n\n\t/**\n * Clone this request\n *\n * @return Request\n */\n\tclone() {\n\t\treturn new Request(this);\n\t}\n}\n\nBody.mixIn(Request.prototype);\n\nObject.defineProperty(Request.prototype, Symbol.toStringTag, {\n\tvalue: 'Request',\n\twritable: false,\n\tenumerable: false,\n\tconfigurable: true\n});\n\nObject.defineProperties(Request.prototype, {\n\tmethod: { enumerable: true },\n\turl: { enumerable: true },\n\theaders: { enumerable: true },\n\tredirect: { enumerable: true },\n\tclone: { enumerable: true },\n\tsignal: { enumerable: true }\n});\n\n/**\n * Convert a Request to Node.js http request options.\n *\n * @param Request A Request instance\n * @return Object The options object to be passed to http.request\n */\nfunction getNodeRequestOptions(request) {\n\tconst parsedURL = request[INTERNALS$2].parsedURL;\n\tconst headers = new Headers(request[INTERNALS$2].headers);\n\n\t// fetch step 1.3\n\tif (!headers.has('Accept')) {\n\t\theaders.set('Accept', '*/*');\n\t}\n\n\t// Basic fetch\n\tif (!parsedURL.protocol || !parsedURL.hostname) {\n\t\tthrow new TypeError('Only absolute URLs are supported');\n\t}\n\n\tif (!/^https?:$/.test(parsedURL.protocol)) {\n\t\tthrow new TypeError('Only HTTP(S) protocols are supported');\n\t}\n\n\tif (request.signal && request.body instanceof Stream.Readable && !streamDestructionSupported) {\n\t\tthrow new Error('Cancellation of streamed requests with AbortSignal is not supported in node < 8');\n\t}\n\n\t// HTTP-network-or-cache fetch steps 2.4-2.7\n\tlet contentLengthValue = null;\n\tif (request.body == null && /^(POST|PUT)$/i.test(request.method)) {\n\t\tcontentLengthValue = '0';\n\t}\n\tif (request.body != null) {\n\t\tconst totalBytes = getTotalBytes(request);\n\t\tif (typeof totalBytes === 'number') {\n\t\t\tcontentLengthValue = String(totalBytes);\n\t\t}\n\t}\n\tif (contentLengthValue) {\n\t\theaders.set('Content-Length', contentLengthValue);\n\t}\n\n\t// HTTP-network-or-cache fetch step 2.11\n\tif (!headers.has('User-Agent')) {\n\t\theaders.set('User-Agent', 'node-fetch/1.0 (+https://github.com/bitinn/node-fetch)');\n\t}\n\n\t// HTTP-network-or-cache fetch step 2.15\n\tif (request.compress && !headers.has('Accept-Encoding')) {\n\t\theaders.set('Accept-Encoding', 'gzip,deflate');\n\t}\n\n\tlet agent = request.agent;\n\tif (typeof agent === 'function') {\n\t\tagent = agent(parsedURL);\n\t}\n\n\tif (!headers.has('Connection') && !agent) {\n\t\theaders.set('Connection', 'close');\n\t}\n\n\t// HTTP-network fetch step 4.2\n\t// chunked encoding is handled by Node.js\n\n\treturn Object.assign({}, parsedURL, {\n\t\tmethod: request.method,\n\t\theaders: exportNodeCompatibleHeaders(headers),\n\t\tagent\n\t});\n}\n\n/**\n * abort-error.js\n *\n * AbortError interface for cancelled requests\n */\n\n/**\n * Create AbortError instance\n *\n * @param String message Error message for human\n * @return AbortError\n */\nfunction AbortError(message) {\n Error.call(this, message);\n\n this.type = 'aborted';\n this.message = message;\n\n // hide custom error implementation details from end-users\n Error.captureStackTrace(this, this.constructor);\n}\n\nAbortError.prototype = Object.create(Error.prototype);\nAbortError.prototype.constructor = AbortError;\nAbortError.prototype.name = 'AbortError';\n\nconst URL$1 = Url.URL || whatwgUrl.URL;\n\n// fix an issue where \"PassThrough\", \"resolve\" aren't a named export for node <10\nconst PassThrough$1 = Stream.PassThrough;\n\nconst isDomainOrSubdomain = function isDomainOrSubdomain(destination, original) {\n\tconst orig = new URL$1(original).hostname;\n\tconst dest = new URL$1(destination).hostname;\n\n\treturn orig === dest || orig[orig.length - dest.length - 1] === '.' && orig.endsWith(dest);\n};\n\n/**\n * isSameProtocol reports whether the two provided URLs use the same protocol.\n *\n * Both domains must already be in canonical form.\n * @param {string|URL} original\n * @param {string|URL} destination\n */\nconst isSameProtocol = function isSameProtocol(destination, original) {\n\tconst orig = new URL$1(original).protocol;\n\tconst dest = new URL$1(destination).protocol;\n\n\treturn orig === dest;\n};\n\n/**\n * Fetch function\n *\n * @param Mixed url Absolute url or Request instance\n * @param Object opts Fetch options\n * @return Promise\n */\nfunction fetch(url, opts) {\n\n\t// allow custom promise\n\tif (!fetch.Promise) {\n\t\tthrow new Error('native promise missing, set fetch.Promise to your favorite alternative');\n\t}\n\n\tBody.Promise = fetch.Promise;\n\n\t// wrap http.request into fetch\n\treturn new fetch.Promise(function (resolve, reject) {\n\t\t// build request object\n\t\tconst request = new Request(url, opts);\n\t\tconst options = getNodeRequestOptions(request);\n\n\t\tconst send = (options.protocol === 'https:' ? https : http).request;\n\t\tconst signal = request.signal;\n\n\t\tlet response = null;\n\n\t\tconst abort = function abort() {\n\t\t\tlet error = new AbortError('The user aborted a request.');\n\t\t\treject(error);\n\t\t\tif (request.body && request.body instanceof Stream.Readable) {\n\t\t\t\tdestroyStream(request.body, error);\n\t\t\t}\n\t\t\tif (!response || !response.body) return;\n\t\t\tresponse.body.emit('error', error);\n\t\t};\n\n\t\tif (signal && signal.aborted) {\n\t\t\tabort();\n\t\t\treturn;\n\t\t}\n\n\t\tconst abortAndFinalize = function abortAndFinalize() {\n\t\t\tabort();\n\t\t\tfinalize();\n\t\t};\n\n\t\t// send request\n\t\tconst req = send(options);\n\t\tlet reqTimeout;\n\n\t\tif (signal) {\n\t\t\tsignal.addEventListener('abort', abortAndFinalize);\n\t\t}\n\n\t\tfunction finalize() {\n\t\t\treq.abort();\n\t\t\tif (signal) signal.removeEventListener('abort', abortAndFinalize);\n\t\t\tclearTimeout(reqTimeout);\n\t\t}\n\n\t\tif (request.timeout) {\n\t\t\treq.once('socket', function (socket) {\n\t\t\t\treqTimeout = setTimeout(function () {\n\t\t\t\t\treject(new FetchError(`network timeout at: ${request.url}`, 'request-timeout'));\n\t\t\t\t\tfinalize();\n\t\t\t\t}, request.timeout);\n\t\t\t});\n\t\t}\n\n\t\treq.on('error', function (err) {\n\t\t\treject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err));\n\n\t\t\tif (response && response.body) {\n\t\t\t\tdestroyStream(response.body, err);\n\t\t\t}\n\n\t\t\tfinalize();\n\t\t});\n\n\t\tfixResponseChunkedTransferBadEnding(req, function (err) {\n\t\t\tif (signal && signal.aborted) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (response && response.body) {\n\t\t\t\tdestroyStream(response.body, err);\n\t\t\t}\n\t\t});\n\n\t\t/* c8 ignore next 18 */\n\t\tif (parseInt(process.version.substring(1)) < 14) {\n\t\t\t// Before Node.js 14, pipeline() does not fully support async iterators and does not always\n\t\t\t// properly handle when the socket close/end events are out of order.\n\t\t\treq.on('socket', function (s) {\n\t\t\t\ts.addListener('close', function (hadError) {\n\t\t\t\t\t// if a data listener is still present we didn't end cleanly\n\t\t\t\t\tconst hasDataListener = s.listenerCount('data') > 0;\n\n\t\t\t\t\t// if end happened before close but the socket didn't emit an error, do it now\n\t\t\t\t\tif (response && hasDataListener && !hadError && !(signal && signal.aborted)) {\n\t\t\t\t\t\tconst err = new Error('Premature close');\n\t\t\t\t\t\terr.code = 'ERR_STREAM_PREMATURE_CLOSE';\n\t\t\t\t\t\tresponse.body.emit('error', err);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t});\n\t\t}\n\n\t\treq.on('response', function (res) {\n\t\t\tclearTimeout(reqTimeout);\n\n\t\t\tconst headers = createHeadersLenient(res.headers);\n\n\t\t\t// HTTP fetch step 5\n\t\t\tif (fetch.isRedirect(res.statusCode)) {\n\t\t\t\t// HTTP fetch step 5.2\n\t\t\t\tconst location = headers.get('Location');\n\n\t\t\t\t// HTTP fetch step 5.3\n\t\t\t\tlet locationURL = null;\n\t\t\t\ttry {\n\t\t\t\t\tlocationURL = location === null ? null : new URL$1(location, request.url).toString();\n\t\t\t\t} catch (err) {\n\t\t\t\t\t// error here can only be invalid URL in Location: header\n\t\t\t\t\t// do not throw when options.redirect == manual\n\t\t\t\t\t// let the user extract the errorneous redirect URL\n\t\t\t\t\tif (request.redirect !== 'manual') {\n\t\t\t\t\t\treject(new FetchError(`uri requested responds with an invalid redirect URL: ${location}`, 'invalid-redirect'));\n\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// HTTP fetch step 5.5\n\t\t\t\tswitch (request.redirect) {\n\t\t\t\t\tcase 'error':\n\t\t\t\t\t\treject(new FetchError(`uri requested responds with a redirect, redirect mode is set to error: ${request.url}`, 'no-redirect'));\n\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\treturn;\n\t\t\t\t\tcase 'manual':\n\t\t\t\t\t\t// node-fetch-specific step: make manual redirect a bit easier to use by setting the Location header value to the resolved URL.\n\t\t\t\t\t\tif (locationURL !== null) {\n\t\t\t\t\t\t\t// handle corrupted header\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\theaders.set('Location', locationURL);\n\t\t\t\t\t\t\t} catch (err) {\n\t\t\t\t\t\t\t\t// istanbul ignore next: nodejs server prevent invalid response headers, we can't test this through normal request\n\t\t\t\t\t\t\t\treject(err);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'follow':\n\t\t\t\t\t\t// HTTP-redirect fetch step 2\n\t\t\t\t\t\tif (locationURL === null) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 5\n\t\t\t\t\t\tif (request.counter >= request.follow) {\n\t\t\t\t\t\t\treject(new FetchError(`maximum redirect reached at: ${request.url}`, 'max-redirect'));\n\t\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 6 (counter increment)\n\t\t\t\t\t\t// Create a new Request object.\n\t\t\t\t\t\tconst requestOpts = {\n\t\t\t\t\t\t\theaders: new Headers(request.headers),\n\t\t\t\t\t\t\tfollow: request.follow,\n\t\t\t\t\t\t\tcounter: request.counter + 1,\n\t\t\t\t\t\t\tagent: request.agent,\n\t\t\t\t\t\t\tcompress: request.compress,\n\t\t\t\t\t\t\tmethod: request.method,\n\t\t\t\t\t\t\tbody: request.body,\n\t\t\t\t\t\t\tsignal: request.signal,\n\t\t\t\t\t\t\ttimeout: request.timeout,\n\t\t\t\t\t\t\tsize: request.size\n\t\t\t\t\t\t};\n\n\t\t\t\t\t\tif (!isDomainOrSubdomain(request.url, locationURL) || !isSameProtocol(request.url, locationURL)) {\n\t\t\t\t\t\t\tfor (const name of ['authorization', 'www-authenticate', 'cookie', 'cookie2']) {\n\t\t\t\t\t\t\t\trequestOpts.headers.delete(name);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 9\n\t\t\t\t\t\tif (res.statusCode !== 303 && request.body && getTotalBytes(request) === null) {\n\t\t\t\t\t\t\treject(new FetchError('Cannot follow redirect with body being a readable stream', 'unsupported-redirect'));\n\t\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 11\n\t\t\t\t\t\tif (res.statusCode === 303 || (res.statusCode === 301 || res.statusCode === 302) && request.method === 'POST') {\n\t\t\t\t\t\t\trequestOpts.method = 'GET';\n\t\t\t\t\t\t\trequestOpts.body = undefined;\n\t\t\t\t\t\t\trequestOpts.headers.delete('content-length');\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 15\n\t\t\t\t\t\tresolve(fetch(new Request(locationURL, requestOpts)));\n\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// prepare response\n\t\t\tres.once('end', function () {\n\t\t\t\tif (signal) signal.removeEventListener('abort', abortAndFinalize);\n\t\t\t});\n\t\t\tlet body = res.pipe(new PassThrough$1());\n\n\t\t\tconst response_options = {\n\t\t\t\turl: request.url,\n\t\t\t\tstatus: res.statusCode,\n\t\t\t\tstatusText: res.statusMessage,\n\t\t\t\theaders: headers,\n\t\t\t\tsize: request.size,\n\t\t\t\ttimeout: request.timeout,\n\t\t\t\tcounter: request.counter\n\t\t\t};\n\n\t\t\t// HTTP-network fetch step 12.1.1.3\n\t\t\tconst codings = headers.get('Content-Encoding');\n\n\t\t\t// HTTP-network fetch step 12.1.1.4: handle content codings\n\n\t\t\t// in following scenarios we ignore compression support\n\t\t\t// 1. compression support is disabled\n\t\t\t// 2. HEAD request\n\t\t\t// 3. no Content-Encoding header\n\t\t\t// 4. no content response (204)\n\t\t\t// 5. content not modified response (304)\n\t\t\tif (!request.compress || request.method === 'HEAD' || codings === null || res.statusCode === 204 || res.statusCode === 304) {\n\t\t\t\tresponse = new Response(body, response_options);\n\t\t\t\tresolve(response);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// For Node v6+\n\t\t\t// Be less strict when decoding compressed responses, since sometimes\n\t\t\t// servers send slightly invalid responses that are still accepted\n\t\t\t// by common browsers.\n\t\t\t// Always using Z_SYNC_FLUSH is what cURL does.\n\t\t\tconst zlibOptions = {\n\t\t\t\tflush: zlib.Z_SYNC_FLUSH,\n\t\t\t\tfinishFlush: zlib.Z_SYNC_FLUSH\n\t\t\t};\n\n\t\t\t// for gzip\n\t\t\tif (codings == 'gzip' || codings == 'x-gzip') {\n\t\t\t\tbody = body.pipe(zlib.createGunzip(zlibOptions));\n\t\t\t\tresponse = new Response(body, response_options);\n\t\t\t\tresolve(response);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// for deflate\n\t\t\tif (codings == 'deflate' || codings == 'x-deflate') {\n\t\t\t\t// handle the infamous raw deflate response from old servers\n\t\t\t\t// a hack for old IIS and Apache servers\n\t\t\t\tconst raw = res.pipe(new PassThrough$1());\n\t\t\t\traw.once('data', function (chunk) {\n\t\t\t\t\t// see http://stackoverflow.com/questions/37519828\n\t\t\t\t\tif ((chunk[0] & 0x0F) === 0x08) {\n\t\t\t\t\t\tbody = body.pipe(zlib.createInflate());\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbody = body.pipe(zlib.createInflateRaw());\n\t\t\t\t\t}\n\t\t\t\t\tresponse = new Response(body, response_options);\n\t\t\t\t\tresolve(response);\n\t\t\t\t});\n\t\t\t\traw.on('end', function () {\n\t\t\t\t\t// some old IIS servers return zero-length OK deflate responses, so 'data' is never emitted.\n\t\t\t\t\tif (!response) {\n\t\t\t\t\t\tresponse = new Response(body, response_options);\n\t\t\t\t\t\tresolve(response);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// for br\n\t\t\tif (codings == 'br' && typeof zlib.createBrotliDecompress === 'function') {\n\t\t\t\tbody = body.pipe(zlib.createBrotliDecompress());\n\t\t\t\tresponse = new Response(body, response_options);\n\t\t\t\tresolve(response);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// otherwise, use response as-is\n\t\t\tresponse = new Response(body, response_options);\n\t\t\tresolve(response);\n\t\t});\n\n\t\twriteToStream(req, request);\n\t});\n}\nfunction fixResponseChunkedTransferBadEnding(request, errorCallback) {\n\tlet socket;\n\n\trequest.on('socket', function (s) {\n\t\tsocket = s;\n\t});\n\n\trequest.on('response', function (response) {\n\t\tconst headers = response.headers;\n\n\t\tif (headers['transfer-encoding'] === 'chunked' && !headers['content-length']) {\n\t\t\tresponse.once('close', function (hadError) {\n\t\t\t\t// if a data listener is still present we didn't end cleanly\n\t\t\t\tconst hasDataListener = socket.listenerCount('data') > 0;\n\n\t\t\t\tif (hasDataListener && !hadError) {\n\t\t\t\t\tconst err = new Error('Premature close');\n\t\t\t\t\terr.code = 'ERR_STREAM_PREMATURE_CLOSE';\n\t\t\t\t\terrorCallback(err);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t});\n}\n\nfunction destroyStream(stream, err) {\n\tif (stream.destroy) {\n\t\tstream.destroy(err);\n\t} else {\n\t\t// node < 8\n\t\tstream.emit('error', err);\n\t\tstream.end();\n\t}\n}\n\n/**\n * Redirect code matching\n *\n * @param Number code Status code\n * @return Boolean\n */\nfetch.isRedirect = function (code) {\n\treturn code === 301 || code === 302 || code === 303 || code === 307 || code === 308;\n};\n\n// expose Promise\nfetch.Promise = global.Promise;\n\nexport default fetch;\nexport { Headers, Request, Response, FetchError };\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport * as http from \"http\";\nimport * as https from \"https\";\nimport * as tough from \"tough-cookie\";\nimport { AbortController, AbortError } from \"@azure/abort-controller\";\nimport { HttpHeaders, HttpHeadersLike } from \"./httpHeaders\";\nimport { ProxyAgent, createProxyAgent, isUrlHttps } from \"./proxyAgent\";\nimport { Readable, Transform } from \"stream\";\nimport { TransferProgressEvent, WebResourceLike } from \"./webResource\";\nimport FormData from \"form-data\";\nimport { HttpClient } from \"./httpClient\";\nimport { HttpOperationResponse } from \"./httpOperationResponse\";\nimport { RestError } from \"./restError\";\nimport { logger } from \"./log\";\nimport node_fetch from \"node-fetch\";\n\ninterface AgentCache {\n httpAgent?: http.Agent;\n httpsAgent?: https.Agent;\n}\n\nfunction getCachedAgent(\n isHttps: boolean,\n agentCache: AgentCache\n): http.Agent | https.Agent | undefined {\n return isHttps ? agentCache.httpsAgent : agentCache.httpAgent;\n}\n\ninterface FetchError extends Error {\n code?: string;\n errno?: string;\n type?: string;\n}\n\n/**\n * String URLs used when calling to `fetch()`.\n */\nexport type CommonRequestInfo = string;\n\n/**\n * An object containing information about the outgoing HTTP request.\n */\nexport type CommonRequestInit = Omit & {\n body?: any;\n headers?: any;\n signal?: any;\n};\n\n/**\n * An object containing information about the incoming HTTP response.\n */\nexport type CommonResponse = Omit & {\n body: any;\n trailer: any;\n formData: any;\n};\n\nexport class ReportTransform extends Transform {\n private loadedBytes: number = 0;\n _transform(chunk: string | Buffer, _encoding: string, callback: (arg: any) => void): void {\n this.push(chunk);\n this.loadedBytes += chunk.length;\n this.progressCallback!({ loadedBytes: this.loadedBytes });\n callback(undefined);\n }\n\n constructor(private progressCallback: (progress: TransferProgressEvent) => void) {\n super();\n }\n}\n\nfunction isReadableStream(body: any): body is Readable {\n return body && typeof body.pipe === \"function\";\n}\n\nfunction isStreamComplete(stream: Readable, aborter?: AbortController): Promise {\n return new Promise((resolve) => {\n stream.once(\"close\", () => {\n aborter?.abort();\n resolve();\n });\n stream.once(\"end\", resolve);\n stream.once(\"error\", resolve);\n });\n}\n\n/**\n * Transforms a set of headers into the key/value pair defined by {@link HttpHeadersLike}\n */\nexport function parseHeaders(headers: Headers): HttpHeadersLike {\n const httpHeaders = new HttpHeaders();\n\n headers.forEach((value, key) => {\n httpHeaders.set(key, value);\n });\n\n return httpHeaders;\n}\n\n/**\n * An HTTP client that uses `node-fetch`.\n */\nexport class NodeFetchHttpClient implements HttpClient {\n /**\n * Provides minimum viable error handling and the logic that executes the abstract methods.\n * @param httpRequest - Object representing the outgoing HTTP request.\n * @returns An object representing the incoming HTTP response.\n */\n async sendRequest(httpRequest: WebResourceLike): Promise {\n if (!httpRequest && typeof httpRequest !== \"object\") {\n throw new Error(\n \"'httpRequest' (WebResourceLike) cannot be null or undefined and must be of type object.\"\n );\n }\n\n const abortController = new AbortController();\n let abortListener: ((event: any) => void) | undefined;\n if (httpRequest.abortSignal) {\n if (httpRequest.abortSignal.aborted) {\n throw new AbortError(\"The operation was aborted.\");\n }\n\n abortListener = (event: Event) => {\n if (event.type === \"abort\") {\n abortController.abort();\n }\n };\n httpRequest.abortSignal.addEventListener(\"abort\", abortListener);\n }\n\n if (httpRequest.timeout) {\n setTimeout(() => {\n abortController.abort();\n }, httpRequest.timeout);\n }\n\n if (httpRequest.formData) {\n const formData: any = httpRequest.formData;\n const requestForm = new FormData();\n const appendFormValue = (key: string, value: any): void => {\n // value function probably returns a stream so we can provide a fresh stream on each retry\n if (typeof value === \"function\") {\n value = value();\n }\n if (\n value &&\n Object.prototype.hasOwnProperty.call(value, \"value\") &&\n Object.prototype.hasOwnProperty.call(value, \"options\")\n ) {\n requestForm.append(key, value.value, value.options);\n } else {\n requestForm.append(key, value);\n }\n };\n for (const formKey of Object.keys(formData)) {\n const formValue = formData[formKey];\n if (Array.isArray(formValue)) {\n for (let j = 0; j < formValue.length; j++) {\n appendFormValue(formKey, formValue[j]);\n }\n } else {\n appendFormValue(formKey, formValue);\n }\n }\n\n httpRequest.body = requestForm;\n httpRequest.formData = undefined;\n const contentType = httpRequest.headers.get(\"Content-Type\");\n if (contentType && contentType.indexOf(\"multipart/form-data\") !== -1) {\n if (typeof requestForm.getBoundary === \"function\") {\n httpRequest.headers.set(\n \"Content-Type\",\n `multipart/form-data; boundary=${requestForm.getBoundary()}`\n );\n } else {\n // browser will automatically apply a suitable content-type header\n httpRequest.headers.remove(\"Content-Type\");\n }\n }\n }\n\n let body = httpRequest.body\n ? typeof httpRequest.body === \"function\"\n ? httpRequest.body()\n : httpRequest.body\n : undefined;\n if (httpRequest.onUploadProgress && httpRequest.body) {\n const onUploadProgress = httpRequest.onUploadProgress;\n const uploadReportStream = new ReportTransform(onUploadProgress);\n if (isReadableStream(body)) {\n body.pipe(uploadReportStream);\n } else {\n uploadReportStream.end(body);\n }\n\n body = uploadReportStream;\n }\n\n const platformSpecificRequestInit: Partial = await this.prepareRequest(\n httpRequest\n );\n\n const requestInit: RequestInit = {\n body: body,\n headers: httpRequest.headers.rawHeaders(),\n method: httpRequest.method,\n // the types for RequestInit are from the browser, which expects AbortSignal to\n // have `reason` and `throwIfAborted`, but these don't exist on our polyfill\n // for Node.\n signal: abortController.signal as any,\n redirect: \"manual\",\n ...platformSpecificRequestInit,\n };\n\n let operationResponse: HttpOperationResponse | undefined;\n try {\n const response: CommonResponse = await this.fetch(httpRequest.url, requestInit);\n\n const headers = parseHeaders(response.headers);\n\n const streaming =\n httpRequest.streamResponseStatusCodes?.has(response.status) ||\n httpRequest.streamResponseBody;\n\n operationResponse = {\n headers: headers,\n request: httpRequest,\n status: response.status,\n readableStreamBody: streaming\n ? (response.body as unknown as NodeJS.ReadableStream)\n : undefined,\n bodyAsText: !streaming ? await response.text() : undefined,\n };\n\n const onDownloadProgress = httpRequest.onDownloadProgress;\n if (onDownloadProgress) {\n const responseBody: ReadableStream | undefined = response.body || undefined;\n\n if (isReadableStream(responseBody)) {\n const downloadReportStream = new ReportTransform(onDownloadProgress);\n responseBody.pipe(downloadReportStream);\n operationResponse.readableStreamBody = downloadReportStream;\n } else {\n const length = parseInt(headers.get(\"Content-Length\")!) || undefined;\n if (length) {\n // Calling callback for non-stream response for consistency with browser\n onDownloadProgress({ loadedBytes: length });\n }\n }\n }\n\n await this.processRequest(operationResponse);\n\n return operationResponse;\n } catch (error: any) {\n const fetchError: FetchError = error;\n if (fetchError.code === \"ENOTFOUND\") {\n throw new RestError(\n fetchError.message,\n RestError.REQUEST_SEND_ERROR,\n undefined,\n httpRequest\n );\n } else if (fetchError.type === \"aborted\") {\n throw new AbortError(\"The operation was aborted.\");\n }\n\n throw fetchError;\n } finally {\n // clean up event listener\n if (httpRequest.abortSignal && abortListener) {\n let uploadStreamDone = Promise.resolve();\n if (isReadableStream(body)) {\n uploadStreamDone = isStreamComplete(body);\n }\n let downloadStreamDone = Promise.resolve();\n if (isReadableStream(operationResponse?.readableStreamBody)) {\n downloadStreamDone = isStreamComplete(\n operationResponse!.readableStreamBody,\n abortController\n );\n }\n\n Promise.all([uploadStreamDone, downloadStreamDone])\n .then(() => {\n httpRequest.abortSignal?.removeEventListener(\"abort\", abortListener!);\n return;\n })\n .catch((e) => {\n logger.warning(\"Error when cleaning up abortListener on httpRequest\", e);\n });\n }\n }\n }\n\n // a mapping of proxy settings string `${host}:${port}:${username}:${password}` to agent\n private proxyAgentMap: Map = new Map();\n private keepAliveAgents: AgentCache = {};\n\n private readonly cookieJar = new tough.CookieJar(undefined, { looseMode: true });\n\n private getOrCreateAgent(httpRequest: WebResourceLike): http.Agent | https.Agent {\n const isHttps = isUrlHttps(httpRequest.url);\n\n // At the moment, proxy settings and keepAlive are mutually\n // exclusive because the 'tunnel' library currently lacks the\n // ability to create a proxy with keepAlive turned on.\n if (httpRequest.proxySettings) {\n const { host, port, username, password } = httpRequest.proxySettings;\n const key = `${host}:${port}:${username}:${password}`;\n const proxyAgents = this.proxyAgentMap.get(key) ?? {};\n\n let agent = getCachedAgent(isHttps, proxyAgents);\n if (agent) {\n return agent;\n }\n\n const tunnel: ProxyAgent = createProxyAgent(\n httpRequest.url,\n httpRequest.proxySettings,\n httpRequest.headers\n );\n\n agent = tunnel.agent;\n if (tunnel.isHttps) {\n proxyAgents.httpsAgent = tunnel.agent as https.Agent;\n } else {\n proxyAgents.httpAgent = tunnel.agent;\n }\n this.proxyAgentMap.set(key, proxyAgents);\n\n return agent;\n } else if (httpRequest.keepAlive) {\n let agent = getCachedAgent(isHttps, this.keepAliveAgents);\n if (agent) {\n return agent;\n }\n\n const agentOptions: http.AgentOptions | https.AgentOptions = {\n keepAlive: httpRequest.keepAlive,\n };\n\n if (isHttps) {\n agent = this.keepAliveAgents.httpsAgent = new https.Agent(agentOptions);\n } else {\n agent = this.keepAliveAgents.httpAgent = new http.Agent(agentOptions);\n }\n\n return agent;\n } else {\n return isHttps ? https.globalAgent : http.globalAgent;\n }\n }\n\n /**\n * Uses `node-fetch` to perform the request.\n */\n // eslint-disable-next-line @azure/azure-sdk/ts-apisurface-standardized-verbs\n async fetch(input: CommonRequestInfo, init?: CommonRequestInit): Promise {\n return node_fetch(input, init) as unknown as Promise;\n }\n\n /**\n * Prepares a request based on the provided web resource.\n */\n async prepareRequest(httpRequest: WebResourceLike): Promise> {\n const requestInit: Partial = {};\n\n if (this.cookieJar && !httpRequest.headers.get(\"Cookie\")) {\n const cookieString = await new Promise((resolve, reject) => {\n this.cookieJar!.getCookieString(httpRequest.url, (err, cookie) => {\n if (err) {\n reject(err);\n } else {\n resolve(cookie);\n }\n });\n });\n\n httpRequest.headers.set(\"Cookie\", cookieString);\n }\n\n // Set the http(s) agent\n requestInit.agent = this.getOrCreateAgent(httpRequest);\n\n requestInit.compress = httpRequest.decompressResponse;\n\n return requestInit;\n }\n\n /**\n * Process an HTTP response. Handles persisting a cookie for subsequent requests if the response has a \"Set-Cookie\" header.\n */\n async processRequest(operationResponse: HttpOperationResponse): Promise {\n if (this.cookieJar) {\n const setCookieHeader = operationResponse.headers.get(\"Set-Cookie\");\n if (setCookieHeader !== undefined) {\n await new Promise((resolve, reject) => {\n this.cookieJar!.setCookie(\n setCookieHeader,\n operationResponse.request.url,\n { ignoreError: true },\n (err) => {\n if (err) {\n reject(err);\n } else {\n resolve();\n }\n }\n );\n });\n }\n }\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { DefaultHttpClient } from \"@azure/core-http\";\nimport { IHttpClient } from \"../Pipeline\";\n\nconst _defaultHttpClient = new DefaultHttpClient();\n\nexport function getCachedDefaultHttpClient(): IHttpClient {\n return _defaultHttpClient;\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\n/**\n * Helper TypeGuard that checks if something is defined or not.\n * @param thing - Anything\n */\nexport function isDefined(thing: T | undefined | null): thing is T {\n return typeof thing !== \"undefined\" && thing !== null;\n}\n\n/**\n * Helper TypeGuard that checks if the input is an object with the specified properties.\n * @param thing - Anything.\n * @param properties - The name of the properties that should appear in the object.\n */\nexport function isObjectWithProperties(\n thing: Thing,\n properties: PropertyName[]\n): thing is Thing & Record {\n if (!isDefined(thing) || typeof thing !== \"object\") {\n return false;\n }\n\n for (const property of properties) {\n if (!objectHasProperty(thing, property)) {\n return false;\n }\n }\n\n return true;\n}\n\n/**\n * Helper TypeGuard that checks if the input is an object with the specified property.\n * @param thing - Any object.\n * @param property - The name of the property that should appear in the object.\n */\nexport function objectHasProperty(\n thing: Thing,\n property: PropertyName\n): thing is Thing & Record {\n return (\n isDefined(thing) && typeof thing === \"object\" && property in (thing as Record)\n );\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { AbortError, AbortSignalLike } from \"@azure/abort-controller\";\nimport { isDefined } from \"./typeGuards\";\n\nconst StandardAbortMessage = \"The operation was aborted.\";\n\n/**\n * Options for support abort functionality for the delay method\n */\nexport interface DelayOptions {\n /**\n * The abortSignal associated with containing operation.\n */\n abortSignal?: AbortSignalLike;\n /**\n * The abort error message associated with containing operation.\n */\n abortErrorMsg?: string;\n}\n\n/**\n * A wrapper for setTimeout that resolves a promise after timeInMs milliseconds.\n * @param timeInMs - The number of milliseconds to be delayed.\n * @param options - The options for delay - currently abort options\n * @returns Promise that is resolved after timeInMs\n */\nexport function delay(timeInMs: number, options?: DelayOptions): Promise {\n return new Promise((resolve, reject) => {\n let timer: ReturnType | undefined = undefined;\n let onAborted: (() => void) | undefined = undefined;\n\n const rejectOnAbort = (): void => {\n return reject(new AbortError(options?.abortErrorMsg ?? StandardAbortMessage));\n };\n\n const removeListeners = (): void => {\n if (options?.abortSignal && onAborted) {\n options.abortSignal.removeEventListener(\"abort\", onAborted);\n }\n };\n\n onAborted = (): void => {\n if (isDefined(timer)) {\n clearTimeout(timer);\n }\n removeListeners();\n return rejectOnAbort();\n };\n\n if (options?.abortSignal && options.abortSignal.aborted) {\n return rejectOnAbort();\n }\n\n timer = setTimeout(() => {\n removeListeners();\n resolve();\n }, timeInMs);\n\n if (options?.abortSignal) {\n options.abortSignal.addEventListener(\"abort\", onAborted);\n }\n });\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { AccessToken, GetTokenOptions, TokenCredential, URLBuilder } from \"@azure/core-http\";\nimport {\n BaseRequestPolicy,\n RequestPolicy,\n RequestPolicyFactory,\n RequestPolicyOptions,\n} from \"@azure/core-http\";\nimport { HttpOperationResponse } from \"@azure/core-http\";\nimport { WebResourceLike } from \"@azure/core-http\";\nimport { delay } from \"@azure/core-http\";\n\n/**\n * A set of constants used internally when processing requests.\n */\nconst Constants = {\n DefaultScope: \"/.default\",\n /**\n * Defines constants for use with HTTP headers.\n */\n HeaderConstants: {\n /**\n * The Authorization header.\n */\n AUTHORIZATION: \"authorization\",\n },\n};\n\n// #region Access Token Cycler\n\n/**\n * A function that gets a promise of an access token and allows providing\n * options.\n *\n * @param options - the options to pass to the underlying token provider\n */\ntype AccessTokenGetter = (options: GetTokenOptions) => Promise;\n\ninterface TokenCyclerOptions {\n /**\n * The window of time before token expiration during which the token will be\n * considered unusable due to risk of the token expiring before sending the\n * request.\n *\n * This will only become meaningful if the refresh fails for over\n * (refreshWindow - forcedRefreshWindow) milliseconds.\n */\n forcedRefreshWindowInMs: number;\n /**\n * Interval in milliseconds to retry failed token refreshes.\n */\n retryIntervalInMs: number;\n /**\n * The window of time before token expiration during which\n * we will attempt to refresh the token.\n */\n refreshWindowInMs: number;\n}\n\n// Default options for the cycler if none are provided\nconst DEFAULT_CYCLER_OPTIONS: TokenCyclerOptions = {\n forcedRefreshWindowInMs: 1000, // Force waiting for a refresh 1s before the token expires\n retryIntervalInMs: 3000, // Allow refresh attempts every 3s\n refreshWindowInMs: 1000 * 60 * 2, // Start refreshing 2m before expiry\n};\n\n/**\n * Converts an an unreliable access token getter (which may resolve with null)\n * into an AccessTokenGetter by retrying the unreliable getter in a regular\n * interval.\n *\n * @param getAccessToken - a function that produces a promise of an access\n * token that may fail by returning null\n * @param retryIntervalInMs - the time (in milliseconds) to wait between retry\n * attempts\n * @param timeoutInMs - the timestamp after which the refresh attempt will fail,\n * throwing an exception\n * @returns - a promise that, if it resolves, will resolve with an access token\n */\nasync function beginRefresh(\n getAccessToken: () => Promise,\n retryIntervalInMs: number,\n timeoutInMs: number\n): Promise {\n // This wrapper handles exceptions gracefully as long as we haven't exceeded\n // the timeout.\n async function tryGetAccessToken(): Promise {\n if (Date.now() < timeoutInMs) {\n try {\n return await getAccessToken();\n } catch {\n return null;\n }\n } else {\n const finalToken = await getAccessToken();\n\n // Timeout is up, so throw if it's still null\n if (finalToken === null) {\n throw new Error(\"Failed to refresh access token.\");\n }\n\n return finalToken;\n }\n }\n\n let token: AccessToken | null = await tryGetAccessToken();\n\n while (token === null) {\n await delay(retryIntervalInMs);\n\n token = await tryGetAccessToken();\n }\n\n return token;\n}\n\n/**\n * Creates a token cycler from a credential, scopes, and optional settings.\n *\n * A token cycler represents a way to reliably retrieve a valid access token\n * from a TokenCredential. It will handle initializing the token, refreshing it\n * when it nears expiration, and synchronizes refresh attempts to avoid\n * concurrency hazards.\n *\n * @param credential - the underlying TokenCredential that provides the access\n * token\n * @param scopes - the scopes to request authorization for\n * @param tokenCyclerOptions - optionally override default settings for the cycler\n *\n * @returns - a function that reliably produces a valid access token\n */\nfunction createTokenCycler(\n credential: TokenCredential,\n scopes: string | string[],\n tokenCyclerOptions?: Partial\n): AccessTokenGetter {\n let refreshWorker: Promise | null = null;\n let token: AccessToken | null = null;\n\n const options = {\n ...DEFAULT_CYCLER_OPTIONS,\n ...tokenCyclerOptions,\n };\n\n /**\n * This little holder defines several predicates that we use to construct\n * the rules of refreshing the token.\n */\n const cycler = {\n /**\n * Produces true if a refresh job is currently in progress.\n */\n get isRefreshing(): boolean {\n return refreshWorker !== null;\n },\n /**\n * Produces true if the cycler SHOULD refresh (we are within the refresh\n * window and not already refreshing)\n */\n get shouldRefresh(): boolean {\n return (\n !cycler.isRefreshing &&\n (token?.expiresOnTimestamp ?? 0) - options.refreshWindowInMs < Date.now()\n );\n },\n /**\n * Produces true if the cycler MUST refresh (null or nearly-expired\n * token).\n */\n get mustRefresh(): boolean {\n return (\n token === null || token.expiresOnTimestamp - options.forcedRefreshWindowInMs < Date.now()\n );\n },\n };\n\n /**\n * Starts a refresh job or returns the existing job if one is already\n * running.\n */\n function refresh(getTokenOptions: GetTokenOptions): Promise {\n if (!cycler.isRefreshing) {\n // We bind `scopes` here to avoid passing it around a lot\n const tryGetAccessToken = (): Promise =>\n credential.getToken(scopes, getTokenOptions);\n\n // Take advantage of promise chaining to insert an assignment to `token`\n // before the refresh can be considered done.\n refreshWorker = beginRefresh(\n tryGetAccessToken,\n options.retryIntervalInMs,\n // If we don't have a token, then we should timeout immediately\n token?.expiresOnTimestamp ?? Date.now()\n )\n .then((_token) => {\n refreshWorker = null;\n token = _token;\n return token;\n })\n .catch((reason) => {\n // We also should reset the refresher if we enter a failed state. All\n // existing awaiters will throw, but subsequent requests will start a\n // new retry chain.\n refreshWorker = null;\n token = null;\n throw reason;\n });\n }\n\n return refreshWorker as Promise;\n }\n\n return async (tokenOptions: GetTokenOptions): Promise => {\n //\n // Simple rules:\n // - If we MUST refresh, then return the refresh task, blocking\n // the pipeline until a token is available.\n // - If we SHOULD refresh, then run refresh but don't return it\n // (we can still use the cached token).\n // - Return the token, since it's fine if we didn't return in\n // step 1.\n //\n\n if (cycler.mustRefresh) return refresh(tokenOptions);\n\n if (cycler.shouldRefresh) {\n refresh(tokenOptions);\n }\n\n return token as AccessToken;\n };\n}\n/**\n * We will retrieve the challenge only if the response status code was 401,\n * and if the response contained the header \"WWW-Authenticate\" with a non-empty value.\n */\nfunction getChallenge(response: HttpOperationResponse): string | undefined {\n const challenge = response.headers.get(\"WWW-Authenticate\");\n if (response.status === 401 && challenge) {\n return challenge;\n }\n return;\n}\n\n/**\n * Challenge structure\n */\ninterface Challenge {\n authorization_uri: string;\n resource_id: string;\n}\n\n/**\n * Converts: `Bearer a=\"b\" c=\"d\"`.\n * Into: `[ { a: 'b', c: 'd' }]`.\n *\n * @internal\n */\nfunction parseChallenge(challenge: string): any {\n const bearerChallenge = challenge.slice(\"Bearer \".length);\n const challengeParts = `${bearerChallenge.trim()} `.split(\" \").filter((x) => x);\n const keyValuePairs = challengeParts.map((keyValue) =>\n (([key, value]) => ({ [key]: value }))(keyValue.trim().split(\"=\"))\n );\n // Key-value pairs to plain object:\n return keyValuePairs.reduce((a, b) => ({ ...a, ...b }), {});\n}\n\n// #endregion\n\n/**\n * Creates a new factory for a RequestPolicy that applies a bearer token to\n * the requests' `Authorization` headers.\n *\n * @param credential - The TokenCredential implementation that can supply the bearer token.\n * @param scopes - The scopes for which the bearer token applies.\n */\n\nexport function storageBearerTokenChallengeAuthenticationPolicy(\n credential: TokenCredential,\n scopes: string | string[]\n): RequestPolicyFactory {\n // This simple function encapsulates the entire process of reliably retrieving the token\n let getToken = createTokenCycler(credential, scopes);\n\n class StorageBearerTokenChallengeAuthenticationPolicy extends BaseRequestPolicy {\n public constructor(nextPolicy: RequestPolicy, options: RequestPolicyOptions) {\n super(nextPolicy, options);\n }\n\n public async sendRequest(webResource: WebResourceLike): Promise {\n if (!webResource.url.toLowerCase().startsWith(\"https://\")) {\n throw new Error(\n \"Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.\"\n );\n }\n\n const getTokenInternal = getToken;\n const token = (\n await getTokenInternal({\n abortSignal: webResource.abortSignal,\n tracingOptions: {\n tracingContext: webResource.tracingContext,\n },\n })\n ).token;\n webResource.headers.set(Constants.HeaderConstants.AUTHORIZATION, `Bearer ${token}`);\n\n const response = await this._nextPolicy.sendRequest(webResource);\n\n if (response?.status === 401) {\n const challenge = getChallenge(response);\n if (challenge) {\n const challengeInfo: Challenge = parseChallenge(challenge);\n const challengeScopes = challengeInfo.resource_id + Constants.DefaultScope;\n const parsedAuthUri = URLBuilder.parse(challengeInfo.authorization_uri);\n const pathSegments = parsedAuthUri.getPath()!.split(\"/\");\n const tenantId = pathSegments[1];\n const getTokenForChallenge = createTokenCycler(credential, challengeScopes);\n\n const tokenForChallenge = (\n await getTokenForChallenge({\n abortSignal: webResource.abortSignal,\n tracingOptions: {\n tracingContext: webResource.tracingContext,\n },\n tenantId: tenantId,\n })\n ).token;\n\n getToken = getTokenForChallenge;\n webResource.headers.set(\n Constants.HeaderConstants.AUTHORIZATION,\n `Bearer ${tokenForChallenge}`\n );\n return this._nextPolicy.sendRequest(webResource);\n }\n }\n\n return response;\n }\n }\n\n return {\n create: (nextPolicy: RequestPolicy, options: RequestPolicyOptions) => {\n return new StorageBearerTokenChallengeAuthenticationPolicy(nextPolicy, options);\n },\n };\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n BaseRequestPolicy,\n deserializationPolicy,\n disableResponseDecompressionPolicy,\n HttpClient as IHttpClient,\n HttpHeaders,\n HttpOperationResponse,\n HttpRequestBody,\n RequestPolicy,\n RequestPolicyFactory,\n RequestPolicyOptions,\n ServiceClientOptions,\n WebResource,\n proxyPolicy,\n isNode,\n TokenCredential,\n isTokenCredential,\n tracingPolicy,\n logPolicy,\n ProxyOptions,\n keepAlivePolicy,\n KeepAliveOptions,\n generateClientRequestIdPolicy,\n UserAgentOptions,\n} from \"@azure/core-http\";\n\nimport { logger } from \"./log\";\nimport { StorageBrowserPolicyFactory } from \"./StorageBrowserPolicyFactory\";\nimport { StorageRetryOptions, StorageRetryPolicyFactory } from \"./StorageRetryPolicyFactory\";\nimport { StorageSharedKeyCredential } from \"./credentials/StorageSharedKeyCredential\";\nimport { AnonymousCredential } from \"./credentials/AnonymousCredential\";\nimport {\n StorageOAuthScopes,\n StorageBlobLoggingAllowedHeaderNames,\n StorageBlobLoggingAllowedQueryParameters,\n} from \"./utils/constants\";\nimport { TelemetryPolicyFactory } from \"./TelemetryPolicyFactory\";\nimport { getCachedDefaultHttpClient } from \"./utils/cache\";\nimport { attachCredential } from \"./utils/utils.common\";\nimport { storageBearerTokenChallengeAuthenticationPolicy } from \"./policies/StorageBearerTokenChallengeAuthenticationPolicy\";\n\n// Export following interfaces and types for customers who want to implement their\n// own RequestPolicy or HTTPClient\nexport {\n BaseRequestPolicy,\n StorageOAuthScopes,\n deserializationPolicy,\n IHttpClient,\n HttpHeaders,\n HttpRequestBody,\n HttpOperationResponse,\n WebResource,\n RequestPolicyFactory,\n RequestPolicy,\n RequestPolicyOptions,\n};\n\n/**\n * Option interface for Pipeline constructor.\n */\nexport interface PipelineOptions {\n /**\n * Optional. Configures the HTTP client to send requests and receive responses.\n */\n httpClient?: IHttpClient;\n}\n\n/**\n * An interface for the {@link Pipeline} class containing HTTP request policies.\n * You can create a default Pipeline by calling {@link newPipeline}.\n * Or you can create a Pipeline with your own policies by the constructor of Pipeline.\n *\n * Refer to {@link newPipeline} and provided policies before implementing your\n * customized Pipeline.\n */\nexport interface PipelineLike {\n /**\n * A list of chained request policy factories.\n */\n readonly factories: RequestPolicyFactory[];\n /**\n * Configures pipeline logger and HTTP client.\n */\n readonly options: PipelineOptions;\n /**\n * Transfer Pipeline object to ServiceClientOptions object which is required by\n * ServiceClient constructor.\n *\n * @returns The ServiceClientOptions object from this Pipeline.\n */\n toServiceClientOptions(): ServiceClientOptions;\n}\n\n/**\n * A helper to decide if a given argument satisfies the Pipeline contract\n * @param pipeline - An argument that may be a Pipeline\n * @returns true when the argument satisfies the Pipeline contract\n */\nexport function isPipelineLike(pipeline: unknown): pipeline is PipelineLike {\n if (!pipeline || typeof pipeline !== \"object\") {\n return false;\n }\n\n const castPipeline = pipeline as PipelineLike;\n\n return (\n Array.isArray(castPipeline.factories) &&\n typeof castPipeline.options === \"object\" &&\n typeof castPipeline.toServiceClientOptions === \"function\"\n );\n}\n\n/**\n * A Pipeline class containing HTTP request policies.\n * You can create a default Pipeline by calling {@link newPipeline}.\n * Or you can create a Pipeline with your own policies by the constructor of Pipeline.\n *\n * Refer to {@link newPipeline} and provided policies before implementing your\n * customized Pipeline.\n */\nexport class Pipeline implements PipelineLike {\n /**\n * A list of chained request policy factories.\n */\n public readonly factories: RequestPolicyFactory[];\n /**\n * Configures pipeline logger and HTTP client.\n */\n public readonly options: PipelineOptions;\n\n /**\n * Creates an instance of Pipeline. Customize HTTPClient by implementing IHttpClient interface.\n *\n * @param factories -\n * @param options -\n */\n constructor(factories: RequestPolicyFactory[], options: PipelineOptions = {}) {\n this.factories = factories;\n // when options.httpClient is not specified, passing in a DefaultHttpClient instance to\n // avoid each client creating its own http client.\n this.options = {\n ...options,\n httpClient: options.httpClient || getCachedDefaultHttpClient(),\n };\n }\n\n /**\n * Transfer Pipeline object to ServiceClientOptions object which is required by\n * ServiceClient constructor.\n *\n * @returns The ServiceClientOptions object from this Pipeline.\n */\n public toServiceClientOptions(): ServiceClientOptions {\n return {\n httpClient: this.options.httpClient,\n requestPolicyFactories: this.factories,\n };\n }\n}\n\n/**\n * Options interface for the {@link newPipeline} function.\n */\nexport interface StoragePipelineOptions {\n /**\n * Options to configure a proxy for outgoing requests.\n */\n proxyOptions?: ProxyOptions;\n /**\n * Options for adding user agent details to outgoing requests.\n */\n userAgentOptions?: UserAgentOptions;\n /**\n * Configures the built-in retry policy behavior.\n */\n retryOptions?: StorageRetryOptions;\n /**\n * Keep alive configurations. Default keep-alive is enabled.\n */\n keepAliveOptions?: KeepAliveOptions;\n /**\n * Configures the HTTP client to send requests and receive responses.\n */\n httpClient?: IHttpClient;\n /**\n * The audience used to retrieve an AAD token.\n */\n audience?: string | string[];\n}\n\n/**\n * Creates a new Pipeline object with Credential provided.\n *\n * @param credential - Such as AnonymousCredential, StorageSharedKeyCredential or any credential from the `@azure/identity` package to authenticate requests to the service. You can also provide an object that implements the TokenCredential interface. If not specified, AnonymousCredential is used.\n * @param pipelineOptions - Optional. Options.\n * @returns A new Pipeline object.\n */\nexport function newPipeline(\n credential?: StorageSharedKeyCredential | AnonymousCredential | TokenCredential,\n pipelineOptions: StoragePipelineOptions = {}\n): Pipeline {\n if (credential === undefined) {\n credential = new AnonymousCredential();\n }\n\n // Order is important. Closer to the API at the top & closer to the network at the bottom.\n // The credential's policy factory must appear close to the wire so it can sign any\n // changes made by other factories (like UniqueRequestIDPolicyFactory)\n\n const telemetryPolicy = new TelemetryPolicyFactory(pipelineOptions.userAgentOptions);\n const factories: RequestPolicyFactory[] = [\n tracingPolicy({ userAgent: telemetryPolicy.telemetryString }),\n keepAlivePolicy(pipelineOptions.keepAliveOptions),\n telemetryPolicy,\n generateClientRequestIdPolicy(),\n new StorageBrowserPolicyFactory(),\n new StorageRetryPolicyFactory(pipelineOptions.retryOptions), // Retry policy should be above any policy that throws retryable errors\n // Default deserializationPolicy is provided by protocol layer\n // Use customized XML char key of \"#\" so we could deserialize metadata\n // with \"_\" key\n deserializationPolicy(undefined, { xmlCharKey: \"#\" }),\n logPolicy({\n logger: logger.info,\n allowedHeaderNames: StorageBlobLoggingAllowedHeaderNames,\n allowedQueryParameters: StorageBlobLoggingAllowedQueryParameters,\n }),\n ];\n\n if (isNode) {\n // policies only available in Node.js runtime, not in browsers\n factories.push(proxyPolicy(pipelineOptions.proxyOptions));\n factories.push(disableResponseDecompressionPolicy());\n }\n factories.push(\n isTokenCredential(credential)\n ? attachCredential(\n storageBearerTokenChallengeAuthenticationPolicy(\n credential,\n pipelineOptions.audience ?? StorageOAuthScopes\n ),\n credential\n )\n : credential\n );\n\n return new Pipeline(factories, pipelineOptions);\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { RequestPolicy, RequestPolicyOptions, WebResource } from \"@azure/core-http\";\nimport { StorageSharedKeyCredential } from \"../credentials/StorageSharedKeyCredential\";\nimport { HeaderConstants } from \"../utils/constants\";\nimport { getURLPath, getURLQueries } from \"../utils/utils.common\";\nimport { CredentialPolicy } from \"./CredentialPolicy\";\n\n/**\n * StorageSharedKeyCredentialPolicy is a policy used to sign HTTP request with a shared key.\n */\nexport class StorageSharedKeyCredentialPolicy extends CredentialPolicy {\n /**\n * Reference to StorageSharedKeyCredential which generates StorageSharedKeyCredentialPolicy\n */\n private readonly factory: StorageSharedKeyCredential;\n\n /**\n * Creates an instance of StorageSharedKeyCredentialPolicy.\n * @param nextPolicy -\n * @param options -\n * @param factory -\n */\n constructor(\n nextPolicy: RequestPolicy,\n options: RequestPolicyOptions,\n factory: StorageSharedKeyCredential\n ) {\n super(nextPolicy, options);\n this.factory = factory;\n }\n\n /**\n * Signs request.\n *\n * @param request -\n */\n protected signRequest(request: WebResource): WebResource {\n request.headers.set(HeaderConstants.X_MS_DATE, new Date().toUTCString());\n\n if (\n request.body &&\n (typeof request.body === \"string\" || (request.body as Buffer) !== undefined) &&\n request.body.length > 0\n ) {\n request.headers.set(HeaderConstants.CONTENT_LENGTH, Buffer.byteLength(request.body));\n }\n\n const stringToSign: string =\n [\n request.method.toUpperCase(),\n this.getHeaderValueToSign(request, HeaderConstants.CONTENT_LANGUAGE),\n this.getHeaderValueToSign(request, HeaderConstants.CONTENT_ENCODING),\n this.getHeaderValueToSign(request, HeaderConstants.CONTENT_LENGTH),\n this.getHeaderValueToSign(request, HeaderConstants.CONTENT_MD5),\n this.getHeaderValueToSign(request, HeaderConstants.CONTENT_TYPE),\n this.getHeaderValueToSign(request, HeaderConstants.DATE),\n this.getHeaderValueToSign(request, HeaderConstants.IF_MODIFIED_SINCE),\n this.getHeaderValueToSign(request, HeaderConstants.IF_MATCH),\n this.getHeaderValueToSign(request, HeaderConstants.IF_NONE_MATCH),\n this.getHeaderValueToSign(request, HeaderConstants.IF_UNMODIFIED_SINCE),\n this.getHeaderValueToSign(request, HeaderConstants.RANGE),\n ].join(\"\\n\") +\n \"\\n\" +\n this.getCanonicalizedHeadersString(request) +\n this.getCanonicalizedResourceString(request);\n\n const signature: string = this.factory.computeHMACSHA256(stringToSign);\n request.headers.set(\n HeaderConstants.AUTHORIZATION,\n `SharedKey ${this.factory.accountName}:${signature}`\n );\n\n // console.log(`[URL]:${request.url}`);\n // console.log(`[HEADERS]:${request.headers.toString()}`);\n // console.log(`[STRING TO SIGN]:${JSON.stringify(stringToSign)}`);\n // console.log(`[KEY]: ${request.headers.get(HeaderConstants.AUTHORIZATION)}`);\n return request;\n }\n\n /**\n * Retrieve header value according to shared key sign rules.\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/authenticate-with-shared-key\n *\n * @param request -\n * @param headerName -\n */\n private getHeaderValueToSign(request: WebResource, headerName: string): string {\n const value = request.headers.get(headerName);\n\n if (!value) {\n return \"\";\n }\n\n // When using version 2015-02-21 or later, if Content-Length is zero, then\n // set the Content-Length part of the StringToSign to an empty string.\n // https://docs.microsoft.com/en-us/rest/api/storageservices/authenticate-with-shared-key\n if (headerName === HeaderConstants.CONTENT_LENGTH && value === \"0\") {\n return \"\";\n }\n\n return value;\n }\n\n /**\n * To construct the CanonicalizedHeaders portion of the signature string, follow these steps:\n * 1. Retrieve all headers for the resource that begin with x-ms-, including the x-ms-date header.\n * 2. Convert each HTTP header name to lowercase.\n * 3. Sort the headers lexicographically by header name, in ascending order.\n * Each header may appear only once in the string.\n * 4. Replace any linear whitespace in the header value with a single space.\n * 5. Trim any whitespace around the colon in the header.\n * 6. Finally, append a new-line character to each canonicalized header in the resulting list.\n * Construct the CanonicalizedHeaders string by concatenating all headers in this list into a single string.\n *\n * @param request -\n */\n private getCanonicalizedHeadersString(request: WebResource): string {\n let headersArray = request.headers.headersArray().filter((value) => {\n return value.name.toLowerCase().startsWith(HeaderConstants.PREFIX_FOR_STORAGE);\n });\n\n headersArray.sort((a, b): number => {\n return a.name.toLowerCase().localeCompare(b.name.toLowerCase());\n });\n\n // Remove duplicate headers\n headersArray = headersArray.filter((value, index, array) => {\n if (index > 0 && value.name.toLowerCase() === array[index - 1].name.toLowerCase()) {\n return false;\n }\n return true;\n });\n\n let canonicalizedHeadersStringToSign: string = \"\";\n headersArray.forEach((header) => {\n canonicalizedHeadersStringToSign += `${header.name\n .toLowerCase()\n .trimRight()}:${header.value.trimLeft()}\\n`;\n });\n\n return canonicalizedHeadersStringToSign;\n }\n\n /**\n * Retrieves the webResource canonicalized resource string.\n *\n * @param request -\n */\n private getCanonicalizedResourceString(request: WebResource): string {\n const path = getURLPath(request.url) || \"/\";\n\n let canonicalizedResourceString: string = \"\";\n canonicalizedResourceString += `/${this.factory.accountName}${path}`;\n\n const queries = getURLQueries(request.url);\n const lowercaseQueries: { [key: string]: string } = {};\n if (queries) {\n const queryKeys: string[] = [];\n for (const key in queries) {\n if (Object.prototype.hasOwnProperty.call(queries, key)) {\n const lowercaseKey = key.toLowerCase();\n lowercaseQueries[lowercaseKey] = queries[key];\n queryKeys.push(lowercaseKey);\n }\n }\n\n queryKeys.sort();\n for (const key of queryKeys) {\n canonicalizedResourceString += `\\n${key}:${decodeURIComponent(lowercaseQueries[key])}`;\n }\n }\n\n return canonicalizedResourceString;\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { createHmac } from \"crypto\";\nimport { RequestPolicy, RequestPolicyOptions } from \"@azure/core-http\";\n\nimport { StorageSharedKeyCredentialPolicy } from \"../policies/StorageSharedKeyCredentialPolicy\";\nimport { Credential } from \"./Credential\";\n\n/**\n * ONLY AVAILABLE IN NODE.JS RUNTIME.\n *\n * StorageSharedKeyCredential for account key authorization of Azure Storage service.\n */\nexport class StorageSharedKeyCredential extends Credential {\n /**\n * Azure Storage account name; readonly.\n */\n public readonly accountName: string;\n\n /**\n * Azure Storage account key; readonly.\n */\n private readonly accountKey: Buffer;\n\n /**\n * Creates an instance of StorageSharedKeyCredential.\n * @param accountName -\n * @param accountKey -\n */\n constructor(accountName: string, accountKey: string) {\n super();\n this.accountName = accountName;\n this.accountKey = Buffer.from(accountKey, \"base64\");\n }\n\n /**\n * Creates a StorageSharedKeyCredentialPolicy object.\n *\n * @param nextPolicy -\n * @param options -\n */\n public create(\n nextPolicy: RequestPolicy,\n options: RequestPolicyOptions\n ): StorageSharedKeyCredentialPolicy {\n return new StorageSharedKeyCredentialPolicy(nextPolicy, options, this);\n }\n\n /**\n * Generates a hash signature for an HTTP request or for a SAS.\n *\n * @param stringToSign -\n */\n public computeHMACSHA256(stringToSign: string): string {\n return createHmac(\"sha256\", this.accountKey).update(stringToSign, \"utf8\").digest(\"base64\");\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n BaseRequestPolicy,\n RequestPolicy,\n RequestPolicyFactory,\n RequestPolicyOptions,\n} from \"./requestPolicy\";\nimport { HttpOperationResponse } from \"../httpOperationResponse\";\nimport { URLBuilder } from \"../url\";\nimport { WebResourceLike } from \"../webResource\";\n\n/**\n * Methods that are allowed to follow redirects 301 and 302\n */\nconst allowedRedirect = [\"GET\", \"HEAD\"];\n\n/**\n * Options for how redirect responses are handled.\n */\nexport interface RedirectOptions {\n /**\n * When true, redirect responses are followed. Defaults to true.\n */\n handleRedirects: boolean;\n\n /**\n * The maximum number of times the redirect URL will be tried before\n * failing. Defaults to 20.\n */\n maxRetries?: number;\n}\n\nexport const DefaultRedirectOptions: RedirectOptions = {\n handleRedirects: true,\n maxRetries: 20,\n};\n\n/**\n * Creates a redirect policy, which sends a repeats the request to a new destination if a response arrives with a \"location\" header, and a status code between 300 and 307.\n * @param maximumRetries - Maximum number of redirects to follow.\n * @returns An instance of the {@link RedirectPolicy}\n */\nexport function redirectPolicy(maximumRetries = 20): RequestPolicyFactory {\n return {\n create: (nextPolicy: RequestPolicy, options: RequestPolicyOptions) => {\n return new RedirectPolicy(nextPolicy, options, maximumRetries);\n },\n };\n}\n\n/**\n * Resends the request to a new destination if a response arrives with a \"location\" header, and a status code between 300 and 307.\n */\nexport class RedirectPolicy extends BaseRequestPolicy {\n constructor(nextPolicy: RequestPolicy, options: RequestPolicyOptions, readonly maxRetries = 20) {\n super(nextPolicy, options);\n }\n\n public sendRequest(request: WebResourceLike): Promise {\n return this._nextPolicy\n .sendRequest(request)\n .then((response) => handleRedirect(this, response, 0));\n }\n}\n\nfunction handleRedirect(\n policy: RedirectPolicy,\n response: HttpOperationResponse,\n currentRetries: number\n): Promise {\n const { request, status } = response;\n const locationHeader = response.headers.get(\"location\");\n if (\n locationHeader &&\n (status === 300 ||\n (status === 301 && allowedRedirect.includes(request.method)) ||\n (status === 302 && allowedRedirect.includes(request.method)) ||\n (status === 303 && request.method === \"POST\") ||\n status === 307) &&\n (!policy.maxRetries || currentRetries < policy.maxRetries)\n ) {\n const builder = URLBuilder.parse(request.url);\n builder.setPath(locationHeader);\n request.url = builder.toString();\n\n // POST request with Status code 303 should be converted into a\n // redirected GET request if the redirect url is present in the location header\n if (status === 303) {\n request.method = \"GET\";\n delete request.body;\n }\n\n return policy._nextPolicy\n .sendRequest(request)\n .then((res) => handleRedirect(policy, res, currentRetries + 1));\n }\n\n return Promise.resolve(response);\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { HttpOperationResponse } from \"..\";\n\nexport const DEFAULT_CLIENT_RETRY_COUNT = 3;\n// intervals are in ms\nexport const DEFAULT_CLIENT_RETRY_INTERVAL = 1000 * 30;\nexport const DEFAULT_CLIENT_MAX_RETRY_INTERVAL = 1000 * 90;\nexport const DEFAULT_CLIENT_MIN_RETRY_INTERVAL = 1000 * 3;\n\nexport function isNumber(n: unknown): n is number {\n return typeof n === \"number\";\n}\nexport interface RetryData {\n retryCount: number;\n retryInterval: number;\n error?: RetryError;\n}\n\nexport interface RetryError extends Error {\n message: string;\n code?: string;\n innerError?: RetryError;\n}\n\n/**\n * @internal\n * Determines if the operation should be retried.\n *\n * @param retryLimit - Specifies the max number of retries.\n * @param predicate - Initial chekck on whether to retry based on given responses or errors\n * @param retryData - The retry data.\n * @returns True if the operation qualifies for a retry; false otherwise.\n */\nexport function shouldRetry(\n retryLimit: number,\n predicate: (response?: HttpOperationResponse, error?: RetryError) => boolean,\n retryData: RetryData,\n response?: HttpOperationResponse,\n error?: RetryError\n): boolean {\n if (!predicate(response, error)) {\n return false;\n }\n\n return retryData.retryCount < retryLimit;\n}\n\n/**\n * @internal\n * Updates the retry data for the next attempt.\n *\n * @param retryOptions - specifies retry interval, and its lower bound and upper bound.\n * @param retryData - The retry data.\n * @param err - The operation\"s error, if any.\n */\nexport function updateRetryData(\n retryOptions: { retryInterval: number; minRetryInterval: number; maxRetryInterval: number },\n retryData: RetryData = { retryCount: 0, retryInterval: 0 },\n err?: RetryError\n): RetryData {\n if (err) {\n if (retryData.error) {\n err.innerError = retryData.error;\n }\n\n retryData.error = err;\n }\n\n // Adjust retry count\n retryData.retryCount++;\n\n // Adjust retry interval\n let incrementDelta = Math.pow(2, retryData.retryCount - 1) - 1;\n const boundedRandDelta =\n retryOptions.retryInterval * 0.8 +\n Math.floor(Math.random() * (retryOptions.retryInterval * 0.4));\n incrementDelta *= boundedRandDelta;\n\n retryData.retryInterval = Math.min(\n retryOptions.minRetryInterval + incrementDelta,\n retryOptions.maxRetryInterval\n );\n\n return retryData;\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n BaseRequestPolicy,\n RequestPolicy,\n RequestPolicyFactory,\n RequestPolicyOptions,\n} from \"./requestPolicy\";\nimport {\n DEFAULT_CLIENT_MAX_RETRY_INTERVAL,\n DEFAULT_CLIENT_RETRY_COUNT,\n DEFAULT_CLIENT_RETRY_INTERVAL,\n RetryData,\n RetryError,\n isNumber,\n shouldRetry,\n updateRetryData,\n} from \"../util/exponentialBackoffStrategy\";\nimport { Constants } from \"../util/constants\";\nimport { HttpOperationResponse } from \"../httpOperationResponse\";\nimport { RestError } from \"../restError\";\nimport { WebResourceLike } from \"../webResource\";\nimport { delay } from \"@azure/core-util\";\nimport { logger } from \"../log\";\n\n/**\n * Policy that retries the request as many times as configured for as long as the max retry time interval specified, each retry waiting longer to begin than the last time.\n * @param retryCount - Maximum number of retries.\n * @param retryInterval - Base time between retries.\n * @param maxRetryInterval - Maximum time to wait between retries.\n */\nexport function exponentialRetryPolicy(\n retryCount?: number,\n retryInterval?: number,\n maxRetryInterval?: number\n): RequestPolicyFactory {\n return {\n create: (nextPolicy: RequestPolicy, options: RequestPolicyOptions) => {\n return new ExponentialRetryPolicy(\n nextPolicy,\n options,\n retryCount,\n retryInterval,\n maxRetryInterval\n );\n },\n };\n}\n\n/**\n * Describes the Retry Mode type. Currently supporting only Exponential.\n */\nexport enum RetryMode {\n /**\n * Currently supported retry mode.\n * Each time a retry happens, it will take exponentially more time than the last time.\n */\n Exponential,\n}\n\n/**\n * Options that control how to retry failed requests.\n */\nexport interface RetryOptions {\n /**\n * The maximum number of retry attempts. Defaults to 3.\n */\n maxRetries?: number;\n\n /**\n * The amount of delay in milliseconds between retry attempts. Defaults to 30000\n * (30 seconds). The delay increases exponentially with each retry up to a maximum\n * specified by maxRetryDelayInMs.\n */\n retryDelayInMs?: number;\n\n /**\n * The maximum delay in milliseconds allowed before retrying an operation. Defaults\n * to 90000 (90 seconds).\n */\n maxRetryDelayInMs?: number;\n\n /**\n * Currently supporting only Exponential mode.\n */\n mode?: RetryMode;\n}\n\nexport const DefaultRetryOptions: RetryOptions = {\n maxRetries: DEFAULT_CLIENT_RETRY_COUNT,\n retryDelayInMs: DEFAULT_CLIENT_RETRY_INTERVAL,\n maxRetryDelayInMs: DEFAULT_CLIENT_MAX_RETRY_INTERVAL,\n};\n\n/**\n * Instantiates a new \"ExponentialRetryPolicyFilter\" instance.\n */\nexport class ExponentialRetryPolicy extends BaseRequestPolicy {\n /**\n * The client retry count.\n */\n retryCount: number;\n /**\n * The client retry interval in milliseconds.\n */\n retryInterval: number;\n /**\n * The maximum retry interval in milliseconds.\n */\n maxRetryInterval: number;\n\n /**\n * @param nextPolicy - The next RequestPolicy in the pipeline chain.\n * @param options - The options for this RequestPolicy.\n * @param retryCount - The client retry count.\n * @param retryInterval - The client retry interval, in milliseconds.\n * @param minRetryInterval - The minimum retry interval, in milliseconds.\n * @param maxRetryInterval - The maximum retry interval, in milliseconds.\n */\n constructor(\n nextPolicy: RequestPolicy,\n options: RequestPolicyOptions,\n retryCount?: number,\n retryInterval?: number,\n maxRetryInterval?: number\n ) {\n super(nextPolicy, options);\n this.retryCount = isNumber(retryCount) ? retryCount : DEFAULT_CLIENT_RETRY_COUNT;\n this.retryInterval = isNumber(retryInterval) ? retryInterval : DEFAULT_CLIENT_RETRY_INTERVAL;\n this.maxRetryInterval = isNumber(maxRetryInterval)\n ? maxRetryInterval\n : DEFAULT_CLIENT_MAX_RETRY_INTERVAL;\n }\n\n public sendRequest(request: WebResourceLike): Promise {\n return this._nextPolicy\n .sendRequest(request.clone())\n .then((response) => retry(this, request, response))\n .catch((error) => retry(this, request, error.response, undefined, error));\n }\n}\n\nasync function retry(\n policy: ExponentialRetryPolicy,\n request: WebResourceLike,\n response?: HttpOperationResponse,\n retryData?: RetryData,\n requestError?: RetryError\n): Promise {\n function shouldPolicyRetry(responseParam?: HttpOperationResponse): boolean {\n const statusCode = responseParam?.status;\n if (statusCode === 503 && response?.headers.get(Constants.HeaderConstants.RETRY_AFTER)) {\n return false;\n }\n\n if (\n statusCode === undefined ||\n (statusCode < 500 && statusCode !== 408) ||\n statusCode === 501 ||\n statusCode === 505\n ) {\n return false;\n }\n return true;\n }\n\n retryData = updateRetryData(\n {\n retryInterval: policy.retryInterval,\n minRetryInterval: 0,\n maxRetryInterval: policy.maxRetryInterval,\n },\n retryData,\n requestError\n );\n\n const isAborted: boolean | undefined = request.abortSignal && request.abortSignal.aborted;\n if (!isAborted && shouldRetry(policy.retryCount, shouldPolicyRetry, retryData, response)) {\n logger.info(`Retrying request in ${retryData.retryInterval}`);\n try {\n await delay(retryData.retryInterval);\n const res = await policy._nextPolicy.sendRequest(request.clone());\n return retry(policy, request, res, retryData);\n } catch (err: any) {\n return retry(policy, request, response, retryData, err);\n }\n } else if (isAborted || requestError || !response) {\n // If the operation failed in the end, return all errors instead of just the last one\n const err =\n retryData.error ||\n new RestError(\n \"Failed to send the request.\",\n RestError.REQUEST_SEND_ERROR,\n response && response.status,\n response && response.request,\n response\n );\n throw err;\n } else {\n return response;\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { Mapper } from \"./serializer\";\nimport { QueryCollectionFormat } from \"./queryCollectionFormat\";\n\n/**\n * A path which describes how to access a particular property in a given object data source. May be a single property name, an array that denotes nested property names, or a set of multiple named properties with paths in the case of complex object values.\n */\nexport type ParameterPath = string | string[] | { [propertyName: string]: ParameterPath };\n\n/**\n * A common interface that all Operation parameter's extend.\n */\nexport interface OperationParameter {\n /**\n * The path to this parameter's value in OperationArguments or the object that contains paths for\n * each property's value in OperationArguments.\n */\n parameterPath: ParameterPath;\n\n /**\n * The mapper that defines how to validate and serialize this parameter's value.\n */\n mapper: Mapper;\n}\n\n/**\n * A parameter for an operation that will be substituted into the operation's request URL.\n */\nexport interface OperationURLParameter extends OperationParameter {\n /**\n * Whether or not to skip encoding the URL parameter's value before adding it to the URL.\n */\n skipEncoding?: boolean;\n}\n\n/**\n * A parameter for an operation that will be added as a query parameter to the operation's HTTP\n * request.\n */\nexport interface OperationQueryParameter extends OperationParameter {\n /**\n * Whether or not to skip encoding the query parameter's value before adding it to the URL.\n */\n skipEncoding?: boolean;\n\n /**\n * If this query parameter's value is a collection, what type of format should the value be\n * converted to.\n */\n collectionFormat?: QueryCollectionFormat;\n}\n\n/**\n * Get the path to this parameter's value as a dotted string (a.b.c).\n * @param parameter - The parameter to get the path string for.\n * @returns The path to this parameter's value as a dotted string.\n */\nexport function getPathStringFromParameter(parameter: OperationParameter): string {\n return getPathStringFromParameterPath(parameter.parameterPath, parameter.mapper);\n}\n\nexport function getPathStringFromParameterPath(\n parameterPath: ParameterPath,\n mapper: Mapper\n): string {\n let result: string;\n if (typeof parameterPath === \"string\") {\n result = parameterPath;\n } else if (Array.isArray(parameterPath)) {\n result = parameterPath.join(\".\");\n } else {\n result = mapper.serializedName!;\n }\n return result;\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport * as os from \"os\";\nimport { Constants } from \"../util/constants\";\nimport { TelemetryInfo } from \"./userAgentPolicy\";\n\nexport function getDefaultUserAgentKey(): string {\n return Constants.HeaderConstants.USER_AGENT;\n}\n\nexport function getPlatformSpecificData(): TelemetryInfo[] {\n const runtimeInfo = {\n key: \"Node\",\n value: process.version,\n };\n\n const osInfo = {\n key: \"OS\",\n value: `(${os.arch()}-${os.type()}-${os.release()})`,\n };\n\n return [runtimeInfo, osInfo];\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n BaseRequestPolicy,\n RequestPolicy,\n RequestPolicyFactory,\n RequestPolicyOptions,\n} from \"./requestPolicy\";\nimport { getDefaultUserAgentKey, getPlatformSpecificData } from \"./msRestUserAgentPolicy\";\nimport { Constants } from \"../util/constants\";\nimport { HttpHeaders } from \"../httpHeaders\";\nimport { HttpOperationResponse } from \"../httpOperationResponse\";\nimport { WebResourceLike } from \"../webResource\";\n\n/**\n * Telemetry information. Key/value pairs to include inside the User-Agent string.\n */\nexport type TelemetryInfo = { key?: string; value?: string };\n\n/**\n * Options for adding user agent details to outgoing requests.\n */\nexport interface UserAgentOptions {\n /**\n * String prefix to add to the user agent for outgoing requests.\n * Defaults to an empty string.\n */\n userAgentPrefix?: string;\n}\n\nfunction getRuntimeInfo(): TelemetryInfo[] {\n const msRestRuntime = {\n key: \"core-http\",\n value: Constants.coreHttpVersion,\n };\n\n return [msRestRuntime];\n}\n\nfunction getUserAgentString(\n telemetryInfo: TelemetryInfo[],\n keySeparator = \" \",\n valueSeparator = \"/\"\n): string {\n return telemetryInfo\n .map((info) => {\n const value = info.value ? `${valueSeparator}${info.value}` : \"\";\n return `${info.key}${value}`;\n })\n .join(keySeparator);\n}\n\nexport const getDefaultUserAgentHeaderName = getDefaultUserAgentKey;\n\n/**\n * The default approach to generate user agents.\n * Uses static information from this package, plus system information available from the runtime.\n */\nexport function getDefaultUserAgentValue(): string {\n const runtimeInfo = getRuntimeInfo();\n const platformSpecificData = getPlatformSpecificData();\n const userAgent = getUserAgentString(runtimeInfo.concat(platformSpecificData));\n return userAgent;\n}\n\n/**\n * Returns a policy that adds the user agent header to outgoing requests based on the given {@link TelemetryInfo}.\n * @param userAgentData - Telemetry information.\n * @returns A new {@link UserAgentPolicy}.\n */\nexport function userAgentPolicy(userAgentData?: TelemetryInfo): RequestPolicyFactory {\n const key: string =\n !userAgentData || userAgentData.key === undefined || userAgentData.key === null\n ? getDefaultUserAgentKey()\n : userAgentData.key;\n const value: string =\n !userAgentData || userAgentData.value === undefined || userAgentData.value === null\n ? getDefaultUserAgentValue()\n : userAgentData.value;\n\n return {\n create: (nextPolicy: RequestPolicy, options: RequestPolicyOptions) => {\n return new UserAgentPolicy(nextPolicy, options, key, value);\n },\n };\n}\n\n/**\n * A policy that adds the user agent header to outgoing requests based on the given {@link TelemetryInfo}.\n */\nexport class UserAgentPolicy extends BaseRequestPolicy {\n constructor(\n readonly _nextPolicy: RequestPolicy,\n readonly _options: RequestPolicyOptions,\n protected headerKey: string,\n protected headerValue: string\n ) {\n super(_nextPolicy, _options);\n }\n\n sendRequest(request: WebResourceLike): Promise {\n this.addUserAgentHeader(request);\n return this._nextPolicy.sendRequest(request);\n }\n\n /**\n * Adds the user agent header to the outgoing request.\n */\n addUserAgentHeader(request: WebResourceLike): void {\n if (!request.headers) {\n request.headers = new HttpHeaders();\n }\n\n if (!request.headers.get(this.headerKey) && this.headerValue) {\n request.headers.set(this.headerKey, this.headerValue);\n }\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { AccessToken, GetTokenOptions, TokenCredential } from \"@azure/core-auth\";\nimport {\n BaseRequestPolicy,\n RequestPolicy,\n RequestPolicyFactory,\n RequestPolicyOptions,\n} from \"../policies/requestPolicy\";\nimport { Constants } from \"../util/constants\";\nimport { HttpOperationResponse } from \"../httpOperationResponse\";\nimport { WebResourceLike } from \"../webResource\";\nimport { delay } from \"@azure/core-util\";\n\n// #region Access Token Cycler\n\n/**\n * A function that gets a promise of an access token and allows providing\n * options.\n *\n * @param options - the options to pass to the underlying token provider\n */\ntype AccessTokenGetter = (options: GetTokenOptions) => Promise;\n\ninterface TokenCyclerOptions {\n /**\n * The window of time before token expiration during which the token will be\n * considered unusable due to risk of the token expiring before sending the\n * request.\n *\n * This will only become meaningful if the refresh fails for over\n * (refreshWindow - forcedRefreshWindow) milliseconds.\n */\n forcedRefreshWindowInMs: number;\n /**\n * Interval in milliseconds to retry failed token refreshes.\n */\n retryIntervalInMs: number;\n /**\n * The window of time before token expiration during which\n * we will attempt to refresh the token.\n */\n refreshWindowInMs: number;\n}\n\n// Default options for the cycler if none are provided\nexport const DEFAULT_CYCLER_OPTIONS: TokenCyclerOptions = {\n forcedRefreshWindowInMs: 1000, // Force waiting for a refresh 1s before the token expires\n retryIntervalInMs: 3000, // Allow refresh attempts every 3s\n refreshWindowInMs: 1000 * 60 * 2, // Start refreshing 2m before expiry\n};\n\n/**\n * Converts an an unreliable access token getter (which may resolve with null)\n * into an AccessTokenGetter by retrying the unreliable getter in a regular\n * interval.\n *\n * @param getAccessToken - a function that produces a promise of an access\n * token that may fail by returning null\n * @param retryIntervalInMs - the time (in milliseconds) to wait between retry\n * attempts\n * @param timeoutInMs - the timestamp after which the refresh attempt will fail,\n * throwing an exception\n * @returns - a promise that, if it resolves, will resolve with an access token\n */\nasync function beginRefresh(\n getAccessToken: () => Promise,\n retryIntervalInMs: number,\n timeoutInMs: number\n): Promise {\n // This wrapper handles exceptions gracefully as long as we haven't exceeded\n // the timeout.\n async function tryGetAccessToken(): Promise {\n if (Date.now() < timeoutInMs) {\n try {\n return await getAccessToken();\n } catch {\n return null;\n }\n } else {\n const finalToken = await getAccessToken();\n\n // Timeout is up, so throw if it's still null\n if (finalToken === null) {\n throw new Error(\"Failed to refresh access token.\");\n }\n\n return finalToken;\n }\n }\n\n let token: AccessToken | null = await tryGetAccessToken();\n\n while (token === null) {\n await delay(retryIntervalInMs);\n\n token = await tryGetAccessToken();\n }\n\n return token;\n}\n\n/**\n * Creates a token cycler from a credential, scopes, and optional settings.\n *\n * A token cycler represents a way to reliably retrieve a valid access token\n * from a TokenCredential. It will handle initializing the token, refreshing it\n * when it nears expiration, and synchronizes refresh attempts to avoid\n * concurrency hazards.\n *\n * @param credential - the underlying TokenCredential that provides the access\n * token\n * @param scopes - the scopes to request authorization for\n * @param tokenCyclerOptions - optionally override default settings for the cycler\n *\n * @returns - a function that reliably produces a valid access token\n */\nfunction createTokenCycler(\n credential: TokenCredential,\n scopes: string | string[],\n tokenCyclerOptions?: Partial\n): AccessTokenGetter {\n let refreshWorker: Promise | null = null;\n let token: AccessToken | null = null;\n\n const options = {\n ...DEFAULT_CYCLER_OPTIONS,\n ...tokenCyclerOptions,\n };\n\n /**\n * This little holder defines several predicates that we use to construct\n * the rules of refreshing the token.\n */\n const cycler = {\n /**\n * Produces true if a refresh job is currently in progress.\n */\n get isRefreshing(): boolean {\n return refreshWorker !== null;\n },\n /**\n * Produces true if the cycler SHOULD refresh (we are within the refresh\n * window and not already refreshing)\n */\n get shouldRefresh(): boolean {\n return (\n !cycler.isRefreshing &&\n (token?.expiresOnTimestamp ?? 0) - options.refreshWindowInMs < Date.now()\n );\n },\n /**\n * Produces true if the cycler MUST refresh (null or nearly-expired\n * token).\n */\n get mustRefresh(): boolean {\n return (\n token === null || token.expiresOnTimestamp - options.forcedRefreshWindowInMs < Date.now()\n );\n },\n };\n\n /**\n * Starts a refresh job or returns the existing job if one is already\n * running.\n */\n function refresh(getTokenOptions: GetTokenOptions): Promise {\n if (!cycler.isRefreshing) {\n // We bind `scopes` here to avoid passing it around a lot\n const tryGetAccessToken = (): Promise =>\n credential.getToken(scopes, getTokenOptions);\n\n // Take advantage of promise chaining to insert an assignment to `token`\n // before the refresh can be considered done.\n refreshWorker = beginRefresh(\n tryGetAccessToken,\n options.retryIntervalInMs,\n // If we don't have a token, then we should timeout immediately\n token?.expiresOnTimestamp ?? Date.now()\n )\n .then((_token) => {\n refreshWorker = null;\n token = _token;\n return token;\n })\n .catch((reason) => {\n // We also should reset the refresher if we enter a failed state. All\n // existing awaiters will throw, but subsequent requests will start a\n // new retry chain.\n refreshWorker = null;\n token = null;\n throw reason;\n });\n }\n\n return refreshWorker as Promise;\n }\n\n return async (tokenOptions: GetTokenOptions): Promise => {\n //\n // Simple rules:\n // - If we MUST refresh, then return the refresh task, blocking\n // the pipeline until a token is available.\n // - If we SHOULD refresh, then run refresh but don't return it\n // (we can still use the cached token).\n // - Return the token, since it's fine if we didn't return in\n // step 1.\n //\n\n if (cycler.mustRefresh) return refresh(tokenOptions);\n\n if (cycler.shouldRefresh) {\n refresh(tokenOptions);\n }\n\n return token as AccessToken;\n };\n}\n\n// #endregion\n\n/**\n * Creates a new factory for a RequestPolicy that applies a bearer token to\n * the requests' `Authorization` headers.\n *\n * @param credential - The TokenCredential implementation that can supply the bearer token.\n * @param scopes - The scopes for which the bearer token applies.\n */\nexport function bearerTokenAuthenticationPolicy(\n credential: TokenCredential,\n scopes: string | string[]\n): RequestPolicyFactory {\n // This simple function encapsulates the entire process of reliably retrieving the token\n const getToken = createTokenCycler(credential, scopes /* , options */);\n\n class BearerTokenAuthenticationPolicy extends BaseRequestPolicy {\n public constructor(nextPolicy: RequestPolicy, options: RequestPolicyOptions) {\n super(nextPolicy, options);\n }\n\n public async sendRequest(webResource: WebResourceLike): Promise {\n if (!webResource.url.toLowerCase().startsWith(\"https://\")) {\n throw new Error(\n \"Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.\"\n );\n }\n\n const { token } = await getToken({\n abortSignal: webResource.abortSignal,\n tracingOptions: {\n tracingContext: webResource.tracingContext,\n },\n });\n webResource.headers.set(Constants.HeaderConstants.AUTHORIZATION, `Bearer ${token}`);\n return this._nextPolicy.sendRequest(webResource);\n }\n }\n\n return {\n create: (nextPolicy: RequestPolicy, options: RequestPolicyOptions) => {\n return new BearerTokenAuthenticationPolicy(nextPolicy, options);\n },\n };\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { DefaultHttpClient } from \"./defaultHttpClient\";\nimport { HttpClient } from \"./httpClient\";\n\nlet cachedHttpClient: HttpClient | undefined;\n\nexport function getCachedDefaultHttpClient(): HttpClient {\n if (!cachedHttpClient) {\n cachedHttpClient = new DefaultHttpClient();\n }\n\n return cachedHttpClient;\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport * as utils from \"../util/utils\";\nimport {\n BaseRequestPolicy,\n RequestPolicy,\n RequestPolicyFactory,\n RequestPolicyOptions,\n} from \"./requestPolicy\";\nimport { HttpOperationResponse } from \"../httpOperationResponse\";\nimport { WebResourceLike } from \"../webResource\";\nimport { delay } from \"@azure/core-util\";\n\nexport function rpRegistrationPolicy(retryTimeout = 30): RequestPolicyFactory {\n return {\n create: (nextPolicy: RequestPolicy, options: RequestPolicyOptions) => {\n return new RPRegistrationPolicy(nextPolicy, options, retryTimeout);\n },\n };\n}\n\nexport class RPRegistrationPolicy extends BaseRequestPolicy {\n constructor(\n nextPolicy: RequestPolicy,\n options: RequestPolicyOptions,\n readonly _retryTimeout = 30\n ) {\n super(nextPolicy, options);\n }\n\n public sendRequest(request: WebResourceLike): Promise {\n return this._nextPolicy\n .sendRequest(request.clone())\n .then((response) => registerIfNeeded(this, request, response));\n }\n}\n\nfunction registerIfNeeded(\n policy: RPRegistrationPolicy,\n request: WebResourceLike,\n response: HttpOperationResponse\n): Promise {\n if (response.status === 409) {\n const rpName = checkRPNotRegisteredError(response.bodyAsText as string);\n if (rpName) {\n const urlPrefix = extractSubscriptionUrl(request.url);\n return (\n registerRP(policy, urlPrefix, rpName, request)\n // Autoregistration of ${provider} failed for some reason. We will not return this error\n // instead will return the initial response with 409 status code back to the user.\n // do nothing here as we are returning the original response at the end of this method.\n .catch(() => false)\n .then((registrationStatus) => {\n if (registrationStatus) {\n // Retry the original request. We have to change the x-ms-client-request-id\n // otherwise Azure endpoint will return the initial 409 (cached) response.\n request.headers.set(\"x-ms-client-request-id\", utils.generateUuid());\n return policy._nextPolicy.sendRequest(request.clone());\n }\n return response;\n })\n );\n }\n }\n\n return Promise.resolve(response);\n}\n\n/**\n * Reuses the headers of the original request and url (if specified).\n * @param originalRequest - The original request\n * @param reuseUrlToo - Should the url from the original request be reused as well. Default false.\n * @returns A new request object with desired headers.\n */\nfunction getRequestEssentials(\n originalRequest: WebResourceLike,\n reuseUrlToo = false\n): WebResourceLike {\n const reqOptions: WebResourceLike = originalRequest.clone();\n if (reuseUrlToo) {\n reqOptions.url = originalRequest.url;\n }\n\n // We have to change the x-ms-client-request-id otherwise Azure endpoint\n // will return the initial 409 (cached) response.\n reqOptions.headers.set(\"x-ms-client-request-id\", utils.generateUuid());\n\n // Set content-type to application/json\n reqOptions.headers.set(\"Content-Type\", \"application/json; charset=utf-8\");\n\n return reqOptions;\n}\n\n/**\n * Validates the error code and message associated with 409 response status code. If it matches to that of\n * RP not registered then it returns the name of the RP else returns undefined.\n * @param body - The response body received after making the original request.\n * @returns The name of the RP if condition is satisfied else undefined.\n */\nfunction checkRPNotRegisteredError(body: string): string {\n let result, responseBody;\n if (body) {\n try {\n responseBody = JSON.parse(body);\n } catch (err: any) {\n // do nothing;\n }\n if (\n responseBody &&\n responseBody.error &&\n responseBody.error.message &&\n responseBody.error.code &&\n responseBody.error.code === \"MissingSubscriptionRegistration\"\n ) {\n const matchRes = responseBody.error.message.match(/.*'(.*)'/i);\n if (matchRes) {\n result = matchRes.pop();\n }\n }\n }\n return result;\n}\n\n/**\n * Extracts the first part of the URL, just after subscription:\n * https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/\n * @param url - The original request url\n * @returns The url prefix as explained above.\n */\nfunction extractSubscriptionUrl(url: string): string {\n let result;\n const matchRes = url.match(/.*\\/subscriptions\\/[a-f0-9-]+\\//gi);\n if (matchRes && matchRes[0]) {\n result = matchRes[0];\n } else {\n throw new Error(`Unable to extract subscriptionId from the given url - ${url}.`);\n }\n return result;\n}\n\n/**\n * Registers the given provider.\n * @param policy - The RPRegistrationPolicy this function is being called against.\n * @param urlPrefix - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/\n * @param provider - The provider name to be registered.\n * @param originalRequest - The original request sent by the user that returned a 409 response\n * with a message that the provider is not registered.\n */\nasync function registerRP(\n policy: RPRegistrationPolicy,\n urlPrefix: string,\n provider: string,\n originalRequest: WebResourceLike\n): Promise {\n const postUrl = `${urlPrefix}providers/${provider}/register?api-version=2016-02-01`;\n const getUrl = `${urlPrefix}providers/${provider}?api-version=2016-02-01`;\n const reqOptions = getRequestEssentials(originalRequest);\n reqOptions.method = \"POST\";\n reqOptions.url = postUrl;\n\n const response = await policy._nextPolicy.sendRequest(reqOptions);\n if (response.status !== 200) {\n throw new Error(`Autoregistration of ${provider} failed. Please try registering manually.`);\n }\n return getRegistrationStatus(policy, getUrl, originalRequest);\n}\n\n/**\n * Polls the registration status of the provider that was registered. Polling happens at an interval of 30 seconds.\n * Polling will happen till the registrationState property of the response body is \"Registered\".\n * @param policy - The RPRegistrationPolicy this function is being called against.\n * @param url - The request url for polling\n * @param originalRequest - The original request sent by the user that returned a 409 response\n * with a message that the provider is not registered.\n * @returns True if RP Registration is successful.\n */\nasync function getRegistrationStatus(\n policy: RPRegistrationPolicy,\n url: string,\n originalRequest: WebResourceLike\n): Promise {\n const reqOptions: any = getRequestEssentials(originalRequest);\n reqOptions.url = url;\n reqOptions.method = \"GET\";\n\n const res = await policy._nextPolicy.sendRequest(reqOptions);\n const obj = res.parsedBody;\n if (res.parsedBody && obj.registrationState && obj.registrationState === \"Registered\") {\n return true;\n } else {\n await delay(policy._retryTimeout * 1000);\n return getRegistrationStatus(policy, url, originalRequest);\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n BaseRequestPolicy,\n RequestPolicy,\n RequestPolicyFactory,\n RequestPolicyOptions,\n} from \"./requestPolicy\";\nimport { HttpOperationResponse } from \"../httpOperationResponse\";\nimport { ServiceClientCredentials } from \"../credentials/serviceClientCredentials\";\nimport { WebResourceLike } from \"../webResource\";\n\n/**\n * Creates a policy that signs outgoing requests by calling to the provided `authenticationProvider`'s `signRequest` method.\n * @param authenticationProvider - The authentication provider.\n * @returns An instance of the {@link SigningPolicy}.\n */\nexport function signingPolicy(\n authenticationProvider: ServiceClientCredentials\n): RequestPolicyFactory {\n return {\n create: (nextPolicy: RequestPolicy, options: RequestPolicyOptions) => {\n return new SigningPolicy(nextPolicy, options, authenticationProvider);\n },\n };\n}\n\n/**\n * A policy that signs outgoing requests by calling to the provided `authenticationProvider`'s `signRequest` method.\n */\nexport class SigningPolicy extends BaseRequestPolicy {\n constructor(\n nextPolicy: RequestPolicy,\n options: RequestPolicyOptions,\n public authenticationProvider: ServiceClientCredentials\n ) {\n super(nextPolicy, options);\n }\n\n signRequest(request: WebResourceLike): Promise {\n return this.authenticationProvider.signRequest(request);\n }\n\n public sendRequest(request: WebResourceLike): Promise {\n return this.signRequest(request).then((nextRequest) =>\n this._nextPolicy.sendRequest(nextRequest)\n );\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n BaseRequestPolicy,\n RequestPolicy,\n RequestPolicyFactory,\n RequestPolicyOptions,\n} from \"./requestPolicy\";\nimport {\n DEFAULT_CLIENT_MAX_RETRY_INTERVAL,\n DEFAULT_CLIENT_MIN_RETRY_INTERVAL,\n DEFAULT_CLIENT_RETRY_COUNT,\n DEFAULT_CLIENT_RETRY_INTERVAL,\n RetryData,\n RetryError,\n isNumber,\n shouldRetry,\n updateRetryData,\n} from \"../util/exponentialBackoffStrategy\";\nimport { HttpOperationResponse } from \"../httpOperationResponse\";\nimport { WebResourceLike } from \"../webResource\";\nimport { delay } from \"@azure/core-util\";\n\n/**\n * A policy that retries when there's a system error, identified by the codes \"ETIMEDOUT\", \"ESOCKETTIMEDOUT\", \"ECONNREFUSED\", \"ECONNRESET\" or \"ENOENT\".\n * @param retryCount - Maximum number of retries.\n * @param retryInterval - The client retry interval, in milliseconds.\n * @param minRetryInterval - The minimum retry interval, in milliseconds.\n * @param maxRetryInterval - The maximum retry interval, in milliseconds.\n * @returns An instance of the {@link SystemErrorRetryPolicy}\n */\nexport function systemErrorRetryPolicy(\n retryCount?: number,\n retryInterval?: number,\n minRetryInterval?: number,\n maxRetryInterval?: number\n): RequestPolicyFactory {\n return {\n create: (nextPolicy: RequestPolicy, options: RequestPolicyOptions) => {\n return new SystemErrorRetryPolicy(\n nextPolicy,\n options,\n retryCount,\n retryInterval,\n minRetryInterval,\n maxRetryInterval\n );\n },\n };\n}\n\n/**\n * A policy that retries when there's a system error, identified by the codes \"ETIMEDOUT\", \"ESOCKETTIMEDOUT\", \"ECONNREFUSED\", \"ECONNRESET\" or \"ENOENT\".\n * @param retryCount - The client retry count.\n * @param retryInterval - The client retry interval, in milliseconds.\n * @param minRetryInterval - The minimum retry interval, in milliseconds.\n * @param maxRetryInterval - The maximum retry interval, in milliseconds.\n */\nexport class SystemErrorRetryPolicy extends BaseRequestPolicy {\n retryCount: number;\n retryInterval: number;\n minRetryInterval: number;\n maxRetryInterval: number;\n\n constructor(\n nextPolicy: RequestPolicy,\n options: RequestPolicyOptions,\n retryCount?: number,\n retryInterval?: number,\n minRetryInterval?: number,\n maxRetryInterval?: number\n ) {\n super(nextPolicy, options);\n this.retryCount = isNumber(retryCount) ? retryCount : DEFAULT_CLIENT_RETRY_COUNT;\n this.retryInterval = isNumber(retryInterval) ? retryInterval : DEFAULT_CLIENT_RETRY_INTERVAL;\n this.minRetryInterval = isNumber(minRetryInterval)\n ? minRetryInterval\n : DEFAULT_CLIENT_MIN_RETRY_INTERVAL;\n this.maxRetryInterval = isNumber(maxRetryInterval)\n ? maxRetryInterval\n : DEFAULT_CLIENT_MAX_RETRY_INTERVAL;\n }\n\n public sendRequest(request: WebResourceLike): Promise {\n return this._nextPolicy\n .sendRequest(request.clone())\n .catch((error) => retry(this, request, error.response, error));\n }\n}\n\nasync function retry(\n policy: SystemErrorRetryPolicy,\n request: WebResourceLike,\n operationResponse: HttpOperationResponse,\n err?: RetryError,\n retryData?: RetryData\n): Promise {\n retryData = updateRetryData(policy, retryData, err);\n\n function shouldPolicyRetry(_response?: HttpOperationResponse, error?: RetryError): boolean {\n if (\n error &&\n error.code &&\n (error.code === \"ETIMEDOUT\" ||\n error.code === \"ESOCKETTIMEDOUT\" ||\n error.code === \"ECONNREFUSED\" ||\n error.code === \"ECONNRESET\" ||\n error.code === \"ENOENT\")\n ) {\n return true;\n }\n return false;\n }\n\n if (shouldRetry(policy.retryCount, shouldPolicyRetry, retryData, operationResponse, err)) {\n // If previous operation ended with an error and the policy allows a retry, do that\n try {\n await delay(retryData.retryInterval);\n return policy._nextPolicy.sendRequest(request.clone());\n } catch (nestedErr: any) {\n return retry(policy, request, operationResponse, nestedErr, retryData);\n }\n } else {\n if (err) {\n // If the operation failed in the end, return all errors instead of just the last one\n return Promise.reject(retryData.error);\n }\n return operationResponse;\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\n/**\n * Maximum number of retries for the throttling retry policy\n */\nexport const DEFAULT_CLIENT_MAX_RETRY_COUNT = 3;\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n BaseRequestPolicy,\n RequestPolicy,\n RequestPolicyFactory,\n RequestPolicyOptions,\n} from \"./requestPolicy\";\nimport { AbortError } from \"@azure/abort-controller\";\nimport { Constants } from \"../util/constants\";\nimport { DEFAULT_CLIENT_MAX_RETRY_COUNT } from \"../util/throttlingRetryStrategy\";\nimport { HttpOperationResponse } from \"../httpOperationResponse\";\nimport { WebResourceLike } from \"../webResource\";\nimport { delay } from \"@azure/core-util\";\n\ntype ResponseHandler = (\n httpRequest: WebResourceLike,\n response: HttpOperationResponse\n) => Promise;\nconst StatusCodes = Constants.HttpConstants.StatusCodes;\n\n/**\n * Creates a policy that re-sends the request if the response indicates the request failed because of throttling reasons.\n * For example, if the response contains a `Retry-After` header, it will retry sending the request based on the value of that header.\n *\n * To learn more, please refer to\n * https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-request-limits,\n * https://docs.microsoft.com/en-us/azure/azure-subscription-service-limits and\n * https://docs.microsoft.com/en-us/azure/virtual-machines/troubleshooting/troubleshooting-throttling-errors\n * @returns\n */\nexport function throttlingRetryPolicy(): RequestPolicyFactory {\n return {\n create: (nextPolicy: RequestPolicy, options: RequestPolicyOptions) => {\n return new ThrottlingRetryPolicy(nextPolicy, options);\n },\n };\n}\n\nconst StandardAbortMessage = \"The operation was aborted.\";\n\n/**\n * Creates a policy that re-sends the request if the response indicates the request failed because of throttling reasons.\n * For example, if the response contains a `Retry-After` header, it will retry sending the request based on the value of that header.\n *\n * To learn more, please refer to\n * https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-request-limits,\n * https://docs.microsoft.com/en-us/azure/azure-subscription-service-limits and\n * https://docs.microsoft.com/en-us/azure/virtual-machines/troubleshooting/troubleshooting-throttling-errors\n */\nexport class ThrottlingRetryPolicy extends BaseRequestPolicy {\n private _handleResponse: ResponseHandler;\n private numberOfRetries = 0;\n\n constructor(\n nextPolicy: RequestPolicy,\n options: RequestPolicyOptions,\n _handleResponse?: ResponseHandler\n ) {\n super(nextPolicy, options);\n this._handleResponse = _handleResponse || this._defaultResponseHandler;\n }\n\n public async sendRequest(httpRequest: WebResourceLike): Promise {\n const response = await this._nextPolicy.sendRequest(httpRequest.clone());\n if (\n response.status !== StatusCodes.TooManyRequests &&\n response.status !== StatusCodes.ServiceUnavailable\n ) {\n return response;\n } else {\n return this._handleResponse(httpRequest, response);\n }\n }\n\n private async _defaultResponseHandler(\n httpRequest: WebResourceLike,\n httpResponse: HttpOperationResponse\n ): Promise {\n const retryAfterHeader: string | undefined = httpResponse.headers.get(\n Constants.HeaderConstants.RETRY_AFTER\n );\n\n if (retryAfterHeader) {\n const delayInMs: number | undefined =\n ThrottlingRetryPolicy.parseRetryAfterHeader(retryAfterHeader);\n if (delayInMs) {\n this.numberOfRetries += 1;\n\n await delay(delayInMs, {\n abortSignal: httpRequest.abortSignal,\n abortErrorMsg: StandardAbortMessage,\n });\n\n if (httpRequest.abortSignal?.aborted) {\n throw new AbortError(StandardAbortMessage);\n }\n\n if (this.numberOfRetries < DEFAULT_CLIENT_MAX_RETRY_COUNT) {\n return this.sendRequest(httpRequest);\n } else {\n return this._nextPolicy.sendRequest(httpRequest);\n }\n }\n }\n\n return httpResponse;\n }\n\n public static parseRetryAfterHeader(headerValue: string): number | undefined {\n const retryAfterInSeconds = Number(headerValue);\n if (Number.isNaN(retryAfterInSeconds)) {\n return ThrottlingRetryPolicy.parseDateRetryAfterHeader(headerValue);\n } else {\n return retryAfterInSeconds * 1000;\n }\n }\n\n public static parseDateRetryAfterHeader(headerValue: string): number | undefined {\n try {\n const now: number = Date.now();\n const date: number = Date.parse(headerValue);\n const diff = date - now;\n\n return Number.isNaN(diff) ? undefined : diff;\n } catch (error: any) {\n return undefined;\n }\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport * as utils from \"./util/utils\";\nimport { CompositeMapper, DictionaryMapper, Mapper, MapperType, Serializer } from \"./serializer\";\nimport {\n DefaultDeserializationOptions,\n DeserializationContentTypes,\n deserializationPolicy,\n} from \"./policies/deserializationPolicy\";\nimport { DefaultKeepAliveOptions, keepAlivePolicy } from \"./policies/keepAlivePolicy\";\nimport { DefaultRedirectOptions, redirectPolicy } from \"./policies/redirectPolicy\";\nimport { DefaultRetryOptions, exponentialRetryPolicy } from \"./policies/exponentialRetryPolicy\";\nimport { HttpOperationResponse, RestResponse } from \"./httpOperationResponse\";\nimport { LogPolicyOptions, logPolicy } from \"./policies/logPolicy\";\nimport {\n OperationParameter,\n ParameterPath,\n getPathStringFromParameter,\n getPathStringFromParameterPath,\n} from \"./operationParameter\";\nimport { OperationSpec, getStreamResponseStatusCodes } from \"./operationSpec\";\nimport {\n RequestOptionsBase,\n RequestPrepareOptions,\n WebResource,\n WebResourceLike,\n isWebResourceLike,\n} from \"./webResource\";\nimport {\n RequestPolicy,\n RequestPolicyFactory,\n RequestPolicyOptions,\n} from \"./policies/requestPolicy\";\nimport { SerializerOptions, XML_ATTRKEY, XML_CHARKEY } from \"./util/serializer.common\";\nimport { ServiceCallback, isNode } from \"./util/utils\";\nimport { TokenCredential, isTokenCredential } from \"@azure/core-auth\";\nimport {\n getDefaultUserAgentHeaderName,\n getDefaultUserAgentValue,\n userAgentPolicy,\n} from \"./policies/userAgentPolicy\";\nimport { HttpClient } from \"./httpClient\";\nimport { HttpPipelineLogger } from \"./httpPipelineLogger\";\nimport { InternalPipelineOptions } from \"./pipelineOptions\";\nimport { OperationArguments } from \"./operationArguments\";\nimport { OperationResponse } from \"./operationResponse\";\nimport { QueryCollectionFormat } from \"./queryCollectionFormat\";\nimport { ServiceClientCredentials } from \"./credentials/serviceClientCredentials\";\nimport { URLBuilder } from \"./url\";\nimport { bearerTokenAuthenticationPolicy } from \"./policies/bearerTokenAuthenticationPolicy\";\nimport { disableResponseDecompressionPolicy } from \"./policies/disableResponseDecompressionPolicy\";\nimport { generateClientRequestIdPolicy } from \"./policies/generateClientRequestIdPolicy\";\nimport { getCachedDefaultHttpClient } from \"./httpClientCache\";\nimport { logger } from \"./log\";\nimport { ndJsonPolicy } from \"./policies/ndJsonPolicy\";\nimport { proxyPolicy } from \"./policies/proxyPolicy\";\nimport { rpRegistrationPolicy } from \"./policies/rpRegistrationPolicy\";\nimport { signingPolicy } from \"./policies/signingPolicy\";\nimport { stringifyXML } from \"./util/xml\";\nimport { systemErrorRetryPolicy } from \"./policies/systemErrorRetryPolicy\";\nimport { throttlingRetryPolicy } from \"./policies/throttlingRetryPolicy\";\nimport { tracingPolicy } from \"./policies/tracingPolicy\";\n\n/**\n * Options to configure a proxy for outgoing requests (Node.js only).\n */\nexport interface ProxySettings {\n /**\n * The proxy's host address.\n */\n host: string;\n\n /**\n * The proxy host's port.\n */\n port: number;\n\n /**\n * The user name to authenticate with the proxy, if required.\n */\n username?: string;\n\n /**\n * The password to authenticate with the proxy, if required.\n */\n password?: string;\n}\n\n/**\n * An alias of {@link ProxySettings} for future use.\n */\nexport type ProxyOptions = ProxySettings;\n\n/**\n * Options to be provided while creating the client.\n */\nexport interface ServiceClientOptions {\n /**\n * An array of factories which get called to create the RequestPolicy pipeline used to send a HTTP\n * request on the wire, or a function that takes in the defaultRequestPolicyFactories and returns\n * the requestPolicyFactories that will be used.\n */\n requestPolicyFactories?:\n | RequestPolicyFactory[]\n | ((defaultRequestPolicyFactories: RequestPolicyFactory[]) => void | RequestPolicyFactory[]);\n /**\n * The HttpClient that will be used to send HTTP requests.\n */\n httpClient?: HttpClient;\n /**\n * The HttpPipelineLogger that can be used to debug RequestPolicies within the HTTP pipeline.\n */\n httpPipelineLogger?: HttpPipelineLogger;\n /**\n * If set to true, turn off the default retry policy.\n */\n noRetryPolicy?: boolean;\n /**\n * Gets or sets the retry timeout in seconds for AutomaticRPRegistration. Default value is 30.\n */\n rpRegistrationRetryTimeout?: number;\n /**\n * Whether or not to generate a client request ID header for each HTTP request.\n */\n generateClientRequestIdHeader?: boolean;\n /**\n * Whether to include credentials in CORS requests in the browser.\n * See https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/withCredentials for more information.\n */\n withCredentials?: boolean;\n /**\n * If specified, a GenerateRequestIdPolicy will be added to the HTTP pipeline that will add a\n * header to all outgoing requests with this header name and a random UUID as the request ID.\n */\n clientRequestIdHeaderName?: string;\n /**\n * The content-types that will be associated with JSON or XML serialization.\n */\n deserializationContentTypes?: DeserializationContentTypes;\n /**\n * The header name to use for the telemetry header while sending the request. If this is not\n * specified, then \"User-Agent\" will be used when running on Node.js and \"x-ms-useragent\" will\n * be used when running in a browser.\n */\n userAgentHeaderName?: string | ((defaultUserAgentHeaderName: string) => string);\n /**\n * The string to be set to the telemetry header while sending the request, or a function that\n * takes in the default user-agent string and returns the user-agent string that will be used.\n */\n userAgent?: string | ((defaultUserAgent: string) => string);\n /**\n * Proxy settings which will be used for every HTTP request (Node.js only).\n */\n proxySettings?: ProxySettings;\n /**\n * If specified, will be used to build the BearerTokenAuthenticationPolicy.\n */\n credentialScopes?: string | string[];\n}\n\n/**\n * ServiceClient sends service requests and receives responses.\n */\nexport class ServiceClient {\n /**\n * If specified, this is the base URI that requests will be made against for this ServiceClient.\n * If it is not specified, then all OperationSpecs must contain a baseUrl property.\n */\n protected baseUri?: string;\n\n /**\n * The default request content type for the service.\n * Used if no requestContentType is present on an OperationSpec.\n */\n protected requestContentType?: string;\n\n /**\n * The HTTP client that will be used to send requests.\n */\n private readonly _httpClient: HttpClient;\n private readonly _requestPolicyOptions: RequestPolicyOptions;\n\n private readonly _requestPolicyFactories: RequestPolicyFactory[];\n private readonly _withCredentials: boolean;\n\n /**\n * The ServiceClient constructor\n * @param credentials - The credentials used for authentication with the service.\n * @param options - The service client options that govern the behavior of the client.\n */\n constructor(\n credentials?: TokenCredential | ServiceClientCredentials,\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-options */\n options?: ServiceClientOptions\n ) {\n if (!options) {\n options = {};\n }\n\n this._withCredentials = options.withCredentials || false;\n this._httpClient = options.httpClient || getCachedDefaultHttpClient();\n this._requestPolicyOptions = new RequestPolicyOptions(options.httpPipelineLogger);\n\n let requestPolicyFactories: RequestPolicyFactory[];\n if (Array.isArray(options.requestPolicyFactories)) {\n logger.info(\"ServiceClient: using custom request policies\");\n requestPolicyFactories = options.requestPolicyFactories;\n } else {\n let authPolicyFactory: RequestPolicyFactory | undefined = undefined;\n if (isTokenCredential(credentials)) {\n logger.info(\n \"ServiceClient: creating bearer token authentication policy from provided credentials\"\n );\n // Create a wrapped RequestPolicyFactory here so that we can provide the\n // correct scope to the BearerTokenAuthenticationPolicy at the first time\n // one is requested. This is needed because generated ServiceClient\n // implementations do not set baseUri until after ServiceClient's constructor\n // is finished, leaving baseUri empty at the time when it is needed to\n // build the correct scope name.\n const wrappedPolicyFactory: () => RequestPolicyFactory = () => {\n let bearerTokenPolicyFactory: RequestPolicyFactory | undefined = undefined;\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n const serviceClient = this;\n const serviceClientOptions = options;\n return {\n create(nextPolicy: RequestPolicy, createOptions: RequestPolicyOptions): RequestPolicy {\n const credentialScopes = getCredentialScopes(\n serviceClientOptions,\n serviceClient.baseUri\n );\n\n if (!credentialScopes) {\n throw new Error(\n `When using credential, the ServiceClient must contain a baseUri or a credentialScopes in ServiceClientOptions. Unable to create a bearerTokenAuthenticationPolicy`\n );\n }\n\n if (bearerTokenPolicyFactory === undefined || bearerTokenPolicyFactory === null) {\n bearerTokenPolicyFactory = bearerTokenAuthenticationPolicy(\n credentials,\n credentialScopes\n );\n }\n\n return bearerTokenPolicyFactory.create(nextPolicy, createOptions);\n },\n };\n };\n\n authPolicyFactory = wrappedPolicyFactory();\n } else if (credentials && typeof credentials.signRequest === \"function\") {\n logger.info(\"ServiceClient: creating signing policy from provided credentials\");\n authPolicyFactory = signingPolicy(credentials);\n } else if (credentials !== undefined && credentials !== null) {\n throw new Error(\"The credentials argument must implement the TokenCredential interface\");\n }\n\n logger.info(\"ServiceClient: using default request policies\");\n requestPolicyFactories = createDefaultRequestPolicyFactories(authPolicyFactory, options);\n if (options.requestPolicyFactories) {\n // options.requestPolicyFactories can also be a function that manipulates\n // the default requestPolicyFactories array\n const newRequestPolicyFactories: void | RequestPolicyFactory[] =\n options.requestPolicyFactories(requestPolicyFactories);\n if (newRequestPolicyFactories) {\n requestPolicyFactories = newRequestPolicyFactories;\n }\n }\n }\n this._requestPolicyFactories = requestPolicyFactories;\n }\n\n /**\n * Send the provided httpRequest.\n */\n sendRequest(options: RequestPrepareOptions | WebResourceLike): Promise {\n if (options === null || options === undefined || typeof options !== \"object\") {\n throw new Error(\"options cannot be null or undefined and it must be of type object.\");\n }\n\n let httpRequest: WebResourceLike;\n try {\n if (isWebResourceLike(options)) {\n options.validateRequestProperties();\n httpRequest = options;\n } else {\n httpRequest = new WebResource();\n httpRequest = httpRequest.prepare(options);\n }\n } catch (error: any) {\n return Promise.reject(error);\n }\n\n let httpPipeline: RequestPolicy = this._httpClient;\n if (this._requestPolicyFactories && this._requestPolicyFactories.length > 0) {\n for (let i = this._requestPolicyFactories.length - 1; i >= 0; --i) {\n httpPipeline = this._requestPolicyFactories[i].create(\n httpPipeline,\n this._requestPolicyOptions\n );\n }\n }\n return httpPipeline.sendRequest(httpRequest);\n }\n\n /**\n * Send an HTTP request that is populated using the provided OperationSpec.\n * @param operationArguments - The arguments that the HTTP request's templated values will be populated from.\n * @param operationSpec - The OperationSpec to use to populate the httpRequest.\n * @param callback - The callback to call when the response is received.\n */\n async sendOperationRequest(\n operationArguments: OperationArguments,\n operationSpec: OperationSpec,\n callback?: ServiceCallback\n ): Promise {\n if (typeof operationArguments.options === \"function\") {\n callback = operationArguments.options;\n operationArguments.options = undefined;\n }\n\n const serializerOptions = operationArguments.options?.serializerOptions;\n const httpRequest: WebResourceLike = new WebResource();\n\n let result: Promise;\n try {\n const baseUri: string | undefined = operationSpec.baseUrl || this.baseUri;\n if (!baseUri) {\n throw new Error(\n \"If operationSpec.baseUrl is not specified, then the ServiceClient must have a baseUri string property that contains the base URL to use.\"\n );\n }\n\n httpRequest.method = operationSpec.httpMethod;\n httpRequest.operationSpec = operationSpec;\n\n const requestUrl: URLBuilder = URLBuilder.parse(baseUri);\n if (operationSpec.path) {\n requestUrl.appendPath(operationSpec.path);\n }\n if (operationSpec.urlParameters && operationSpec.urlParameters.length > 0) {\n for (const urlParameter of operationSpec.urlParameters) {\n let urlParameterValue: string = getOperationArgumentValueFromParameter(\n this,\n operationArguments,\n urlParameter,\n operationSpec.serializer\n );\n urlParameterValue = operationSpec.serializer.serialize(\n urlParameter.mapper,\n urlParameterValue,\n getPathStringFromParameter(urlParameter),\n serializerOptions\n );\n if (!urlParameter.skipEncoding) {\n urlParameterValue = encodeURIComponent(urlParameterValue);\n }\n requestUrl.replaceAll(\n `{${urlParameter.mapper.serializedName || getPathStringFromParameter(urlParameter)}}`,\n urlParameterValue\n );\n }\n }\n if (operationSpec.queryParameters && operationSpec.queryParameters.length > 0) {\n for (const queryParameter of operationSpec.queryParameters) {\n let queryParameterValue: any = getOperationArgumentValueFromParameter(\n this,\n operationArguments,\n queryParameter,\n operationSpec.serializer\n );\n if (queryParameterValue !== undefined && queryParameterValue !== null) {\n queryParameterValue = operationSpec.serializer.serialize(\n queryParameter.mapper,\n queryParameterValue,\n getPathStringFromParameter(queryParameter),\n serializerOptions\n );\n if (\n queryParameter.collectionFormat !== undefined &&\n queryParameter.collectionFormat !== null\n ) {\n if (queryParameter.collectionFormat === QueryCollectionFormat.Multi) {\n if (queryParameterValue.length === 0) {\n // The collection is empty, no need to try serializing the current queryParam\n continue;\n } else {\n for (const index in queryParameterValue) {\n const item = queryParameterValue[index];\n queryParameterValue[index] =\n item === undefined || item === null ? \"\" : item.toString();\n }\n }\n } else if (\n queryParameter.collectionFormat === QueryCollectionFormat.Ssv ||\n queryParameter.collectionFormat === QueryCollectionFormat.Tsv\n ) {\n queryParameterValue = queryParameterValue.join(queryParameter.collectionFormat);\n }\n }\n if (!queryParameter.skipEncoding) {\n if (Array.isArray(queryParameterValue)) {\n for (const index in queryParameterValue) {\n if (\n queryParameterValue[index] !== undefined &&\n queryParameterValue[index] !== null\n ) {\n queryParameterValue[index] = encodeURIComponent(queryParameterValue[index]);\n }\n }\n } else {\n queryParameterValue = encodeURIComponent(queryParameterValue);\n }\n }\n if (\n queryParameter.collectionFormat !== undefined &&\n queryParameter.collectionFormat !== null &&\n queryParameter.collectionFormat !== QueryCollectionFormat.Multi &&\n queryParameter.collectionFormat !== QueryCollectionFormat.Ssv &&\n queryParameter.collectionFormat !== QueryCollectionFormat.Tsv\n ) {\n queryParameterValue = queryParameterValue.join(queryParameter.collectionFormat);\n }\n requestUrl.setQueryParameter(\n queryParameter.mapper.serializedName || getPathStringFromParameter(queryParameter),\n queryParameterValue\n );\n }\n }\n }\n httpRequest.url = requestUrl.toString();\n\n const contentType = operationSpec.contentType || this.requestContentType;\n if (contentType && operationSpec.requestBody) {\n httpRequest.headers.set(\"Content-Type\", contentType);\n }\n\n if (operationSpec.headerParameters) {\n for (const headerParameter of operationSpec.headerParameters) {\n let headerValue: any = getOperationArgumentValueFromParameter(\n this,\n operationArguments,\n headerParameter,\n operationSpec.serializer\n );\n if (headerValue !== undefined && headerValue !== null) {\n headerValue = operationSpec.serializer.serialize(\n headerParameter.mapper,\n headerValue,\n getPathStringFromParameter(headerParameter),\n serializerOptions\n );\n const headerCollectionPrefix = (headerParameter.mapper as DictionaryMapper)\n .headerCollectionPrefix;\n if (headerCollectionPrefix) {\n for (const key of Object.keys(headerValue)) {\n httpRequest.headers.set(headerCollectionPrefix + key, headerValue[key]);\n }\n } else {\n httpRequest.headers.set(\n headerParameter.mapper.serializedName ||\n getPathStringFromParameter(headerParameter),\n headerValue\n );\n }\n }\n }\n }\n\n const options: RequestOptionsBase | undefined = operationArguments.options;\n if (options) {\n if (options.customHeaders) {\n for (const customHeaderName in options.customHeaders) {\n httpRequest.headers.set(customHeaderName, options.customHeaders[customHeaderName]);\n }\n }\n\n if (options.abortSignal) {\n httpRequest.abortSignal = options.abortSignal;\n }\n\n if (options.timeout) {\n httpRequest.timeout = options.timeout;\n }\n\n if (options.onUploadProgress) {\n httpRequest.onUploadProgress = options.onUploadProgress;\n }\n\n if (options.onDownloadProgress) {\n httpRequest.onDownloadProgress = options.onDownloadProgress;\n }\n\n if (options.spanOptions) {\n // By passing spanOptions if they exist at runtime, we're backwards compatible with @azure/core-tracing@preview.13 and earlier.\n (httpRequest as any).spanOptions = options.spanOptions;\n }\n\n if (options.tracingContext) {\n httpRequest.tracingContext = options.tracingContext;\n }\n\n if (options.shouldDeserialize !== undefined && options.shouldDeserialize !== null) {\n httpRequest.shouldDeserialize = options.shouldDeserialize;\n }\n }\n\n httpRequest.withCredentials = this._withCredentials;\n\n serializeRequestBody(this, httpRequest, operationArguments, operationSpec);\n\n if (httpRequest.streamResponseStatusCodes === undefined) {\n httpRequest.streamResponseStatusCodes = getStreamResponseStatusCodes(operationSpec);\n }\n\n let rawResponse: HttpOperationResponse;\n let sendRequestError;\n try {\n rawResponse = await this.sendRequest(httpRequest);\n } catch (error: any) {\n sendRequestError = error;\n }\n if (sendRequestError) {\n if (sendRequestError.response) {\n sendRequestError.details = flattenResponse(\n sendRequestError.response,\n operationSpec.responses[sendRequestError.statusCode] ||\n operationSpec.responses[\"default\"]\n );\n }\n result = Promise.reject(sendRequestError);\n } else {\n result = Promise.resolve(\n flattenResponse(rawResponse!, operationSpec.responses[rawResponse!.status])\n );\n }\n } catch (error: any) {\n result = Promise.reject(error);\n }\n\n const cb = callback;\n if (cb) {\n result\n .then((res) => cb(null, res._response.parsedBody, res._response.request, res._response))\n .catch((err) => cb(err));\n }\n\n return result;\n }\n}\n\nexport function serializeRequestBody(\n serviceClient: ServiceClient,\n httpRequest: WebResourceLike,\n operationArguments: OperationArguments,\n operationSpec: OperationSpec\n): void {\n const serializerOptions = operationArguments.options?.serializerOptions ?? {};\n const updatedOptions: Required = {\n rootName: serializerOptions.rootName ?? \"\",\n includeRoot: serializerOptions.includeRoot ?? false,\n xmlCharKey: serializerOptions.xmlCharKey ?? XML_CHARKEY,\n };\n\n const xmlCharKey = serializerOptions.xmlCharKey;\n if (operationSpec.requestBody && operationSpec.requestBody.mapper) {\n httpRequest.body = getOperationArgumentValueFromParameter(\n serviceClient,\n operationArguments,\n operationSpec.requestBody,\n operationSpec.serializer\n );\n\n const bodyMapper = operationSpec.requestBody.mapper;\n const { required, xmlName, xmlElementName, serializedName, xmlNamespace, xmlNamespacePrefix } =\n bodyMapper;\n const typeName = bodyMapper.type.name;\n\n try {\n if ((httpRequest.body !== undefined && httpRequest.body !== null) || required) {\n const requestBodyParameterPathString: string = getPathStringFromParameter(\n operationSpec.requestBody\n );\n httpRequest.body = operationSpec.serializer.serialize(\n bodyMapper,\n httpRequest.body,\n requestBodyParameterPathString,\n updatedOptions\n );\n\n const isStream = typeName === MapperType.Stream;\n\n if (operationSpec.isXML) {\n const xmlnsKey = xmlNamespacePrefix ? `xmlns:${xmlNamespacePrefix}` : \"xmlns\";\n const value = getXmlValueWithNamespace(\n xmlNamespace,\n xmlnsKey,\n typeName,\n httpRequest.body,\n updatedOptions\n );\n if (typeName === MapperType.Sequence) {\n httpRequest.body = stringifyXML(\n utils.prepareXMLRootList(\n value,\n xmlElementName || xmlName || serializedName!,\n xmlnsKey,\n xmlNamespace\n ),\n {\n rootName: xmlName || serializedName,\n xmlCharKey,\n }\n );\n } else if (!isStream) {\n httpRequest.body = stringifyXML(value, {\n rootName: xmlName || serializedName,\n xmlCharKey,\n });\n }\n } else if (\n typeName === MapperType.String &&\n (operationSpec.contentType?.match(\"text/plain\") || operationSpec.mediaType === \"text\")\n ) {\n // the String serializer has validated that request body is a string\n // so just send the string.\n return;\n } else if (!isStream) {\n httpRequest.body = JSON.stringify(httpRequest.body);\n }\n }\n } catch (error: any) {\n throw new Error(\n `Error \"${error.message}\" occurred in serializing the payload - ${JSON.stringify(\n serializedName,\n undefined,\n \" \"\n )}.`\n );\n }\n } else if (operationSpec.formDataParameters && operationSpec.formDataParameters.length > 0) {\n httpRequest.formData = {};\n for (const formDataParameter of operationSpec.formDataParameters) {\n const formDataParameterValue: any = getOperationArgumentValueFromParameter(\n serviceClient,\n operationArguments,\n formDataParameter,\n operationSpec.serializer\n );\n if (formDataParameterValue !== undefined && formDataParameterValue !== null) {\n const formDataParameterPropertyName: string =\n formDataParameter.mapper.serializedName || getPathStringFromParameter(formDataParameter);\n httpRequest.formData[formDataParameterPropertyName] = operationSpec.serializer.serialize(\n formDataParameter.mapper,\n formDataParameterValue,\n getPathStringFromParameter(formDataParameter),\n updatedOptions\n );\n }\n }\n }\n}\n\n/**\n * Adds an xml namespace to the xml serialized object if needed, otherwise it just returns the value itself\n */\nfunction getXmlValueWithNamespace(\n xmlNamespace: string | undefined,\n xmlnsKey: string,\n typeName: string,\n serializedValue: any,\n options: Required\n): any {\n // Composite and Sequence schemas already got their root namespace set during serialization\n // We just need to add xmlns to the other schema types\n if (xmlNamespace && ![\"Composite\", \"Sequence\", \"Dictionary\"].includes(typeName)) {\n const result: any = {};\n result[options.xmlCharKey] = serializedValue;\n result[XML_ATTRKEY] = { [xmlnsKey]: xmlNamespace };\n return result;\n }\n\n return serializedValue;\n}\n\nfunction getValueOrFunctionResult(\n value: undefined | string | ((defaultValue: string) => string),\n defaultValueCreator: () => string\n): string {\n let result: string;\n if (typeof value === \"string\") {\n result = value;\n } else {\n result = defaultValueCreator();\n if (typeof value === \"function\") {\n result = value(result);\n }\n }\n return result;\n}\n\nfunction createDefaultRequestPolicyFactories(\n authPolicyFactory: RequestPolicyFactory | undefined,\n options: ServiceClientOptions\n): RequestPolicyFactory[] {\n const factories: RequestPolicyFactory[] = [];\n\n if (options.generateClientRequestIdHeader) {\n factories.push(generateClientRequestIdPolicy(options.clientRequestIdHeaderName));\n }\n\n if (authPolicyFactory) {\n factories.push(authPolicyFactory);\n }\n\n const userAgentHeaderName: string = getValueOrFunctionResult(\n options.userAgentHeaderName,\n getDefaultUserAgentHeaderName\n );\n const userAgentHeaderValue: string = getValueOrFunctionResult(\n options.userAgent,\n getDefaultUserAgentValue\n );\n if (userAgentHeaderName && userAgentHeaderValue) {\n factories.push(userAgentPolicy({ key: userAgentHeaderName, value: userAgentHeaderValue }));\n }\n factories.push(redirectPolicy());\n factories.push(rpRegistrationPolicy(options.rpRegistrationRetryTimeout));\n\n if (!options.noRetryPolicy) {\n factories.push(exponentialRetryPolicy());\n factories.push(systemErrorRetryPolicy());\n factories.push(throttlingRetryPolicy());\n }\n\n factories.push(deserializationPolicy(options.deserializationContentTypes));\n\n if (isNode) {\n factories.push(proxyPolicy(options.proxySettings));\n }\n\n factories.push(logPolicy({ logger: logger.info }));\n\n return factories;\n}\n\n/**\n * Creates an HTTP pipeline based on the given options.\n * @param pipelineOptions - Defines options that are used to configure policies in the HTTP pipeline for an SDK client.\n * @param authPolicyFactory - An optional authentication policy factory to use for signing requests.\n * @returns A set of options that can be passed to create a new {@link ServiceClient}.\n */\nexport function createPipelineFromOptions(\n pipelineOptions: InternalPipelineOptions,\n authPolicyFactory?: RequestPolicyFactory\n): ServiceClientOptions {\n const requestPolicyFactories: RequestPolicyFactory[] = [];\n\n if (pipelineOptions.sendStreamingJson) {\n requestPolicyFactories.push(ndJsonPolicy());\n }\n\n let userAgentValue = undefined;\n if (pipelineOptions.userAgentOptions && pipelineOptions.userAgentOptions.userAgentPrefix) {\n const userAgentInfo: string[] = [];\n userAgentInfo.push(pipelineOptions.userAgentOptions.userAgentPrefix);\n\n // Add the default user agent value if it isn't already specified\n // by the userAgentPrefix option.\n const defaultUserAgentInfo = getDefaultUserAgentValue();\n if (userAgentInfo.indexOf(defaultUserAgentInfo) === -1) {\n userAgentInfo.push(defaultUserAgentInfo);\n }\n\n userAgentValue = userAgentInfo.join(\" \");\n }\n\n const keepAliveOptions = {\n ...DefaultKeepAliveOptions,\n ...pipelineOptions.keepAliveOptions,\n };\n\n const retryOptions = {\n ...DefaultRetryOptions,\n ...pipelineOptions.retryOptions,\n };\n\n const redirectOptions = {\n ...DefaultRedirectOptions,\n ...pipelineOptions.redirectOptions,\n };\n\n if (isNode) {\n requestPolicyFactories.push(proxyPolicy(pipelineOptions.proxyOptions));\n }\n\n const deserializationOptions = {\n ...DefaultDeserializationOptions,\n ...pipelineOptions.deserializationOptions,\n };\n\n const loggingOptions: LogPolicyOptions = {\n ...pipelineOptions.loggingOptions,\n };\n\n requestPolicyFactories.push(\n tracingPolicy({ userAgent: userAgentValue }),\n keepAlivePolicy(keepAliveOptions),\n userAgentPolicy({ value: userAgentValue }),\n generateClientRequestIdPolicy(),\n deserializationPolicy(deserializationOptions.expectedContentTypes),\n throttlingRetryPolicy(),\n systemErrorRetryPolicy(),\n exponentialRetryPolicy(\n retryOptions.maxRetries,\n retryOptions.retryDelayInMs,\n retryOptions.maxRetryDelayInMs\n )\n );\n\n if (redirectOptions.handleRedirects) {\n requestPolicyFactories.push(redirectPolicy(redirectOptions.maxRetries));\n }\n\n if (authPolicyFactory) {\n requestPolicyFactories.push(authPolicyFactory);\n }\n\n requestPolicyFactories.push(logPolicy(loggingOptions));\n\n if (isNode && pipelineOptions.decompressResponse === false) {\n requestPolicyFactories.push(disableResponseDecompressionPolicy());\n }\n\n return {\n httpClient: pipelineOptions.httpClient,\n requestPolicyFactories,\n };\n}\n\nexport type PropertyParent = { [propertyName: string]: any };\n\n/**\n * Get the property parent for the property at the provided path when starting with the provided\n * parent object.\n */\nexport function getPropertyParent(parent: PropertyParent, propertyPath: string[]): PropertyParent {\n if (parent && propertyPath) {\n const propertyPathLength: number = propertyPath.length;\n for (let i = 0; i < propertyPathLength - 1; ++i) {\n const propertyName: string = propertyPath[i];\n if (!parent[propertyName]) {\n parent[propertyName] = {};\n }\n parent = parent[propertyName];\n }\n }\n return parent;\n}\n\nfunction getOperationArgumentValueFromParameter(\n serviceClient: ServiceClient,\n operationArguments: OperationArguments,\n parameter: OperationParameter,\n serializer: Serializer\n): any {\n return getOperationArgumentValueFromParameterPath(\n serviceClient,\n operationArguments,\n parameter.parameterPath,\n parameter.mapper,\n serializer\n );\n}\n\nexport function getOperationArgumentValueFromParameterPath(\n serviceClient: ServiceClient,\n operationArguments: OperationArguments,\n parameterPath: ParameterPath,\n parameterMapper: Mapper,\n serializer: Serializer\n): any {\n let value: any;\n if (typeof parameterPath === \"string\") {\n parameterPath = [parameterPath];\n }\n const serializerOptions = operationArguments.options?.serializerOptions;\n if (Array.isArray(parameterPath)) {\n if (parameterPath.length > 0) {\n if (parameterMapper.isConstant) {\n value = parameterMapper.defaultValue;\n } else {\n let propertySearchResult: PropertySearchResult = getPropertyFromParameterPath(\n operationArguments,\n parameterPath\n );\n if (!propertySearchResult.propertyFound) {\n propertySearchResult = getPropertyFromParameterPath(serviceClient, parameterPath);\n }\n\n let useDefaultValue = false;\n if (!propertySearchResult.propertyFound) {\n useDefaultValue =\n parameterMapper.required ||\n (parameterPath[0] === \"options\" && parameterPath.length === 2);\n }\n value = useDefaultValue ? parameterMapper.defaultValue : propertySearchResult.propertyValue;\n }\n\n // Serialize just for validation purposes.\n const parameterPathString: string = getPathStringFromParameterPath(\n parameterPath,\n parameterMapper\n );\n serializer.serialize(parameterMapper, value, parameterPathString, serializerOptions);\n }\n } else {\n if (parameterMapper.required) {\n value = {};\n }\n\n for (const propertyName in parameterPath) {\n const propertyMapper: Mapper = (parameterMapper as CompositeMapper).type.modelProperties![\n propertyName\n ];\n const propertyPath: ParameterPath = parameterPath[propertyName];\n const propertyValue: any = getOperationArgumentValueFromParameterPath(\n serviceClient,\n operationArguments,\n propertyPath,\n propertyMapper,\n serializer\n );\n // Serialize just for validation purposes.\n const propertyPathString: string = getPathStringFromParameterPath(\n propertyPath,\n propertyMapper\n );\n serializer.serialize(propertyMapper, propertyValue, propertyPathString, serializerOptions);\n if (propertyValue !== undefined && propertyValue !== null) {\n if (!value) {\n value = {};\n }\n value[propertyName] = propertyValue;\n }\n }\n }\n return value;\n}\n\ninterface PropertySearchResult {\n propertyValue?: any;\n propertyFound: boolean;\n}\n\nfunction getPropertyFromParameterPath(\n parent: { [parameterName: string]: any },\n parameterPath: string[]\n): PropertySearchResult {\n const result: PropertySearchResult = { propertyFound: false };\n let i = 0;\n for (; i < parameterPath.length; ++i) {\n const parameterPathPart: string = parameterPath[i];\n // Make sure to check inherited properties too, so don't use hasOwnProperty().\n if (parent !== undefined && parent !== null && parameterPathPart in parent) {\n parent = parent[parameterPathPart];\n } else {\n break;\n }\n }\n if (i === parameterPath.length) {\n result.propertyValue = parent;\n result.propertyFound = true;\n }\n return result;\n}\n\n/**\n * Parses an {@link HttpOperationResponse} into a normalized HTTP response object ({@link RestResponse}).\n * @param _response - Wrapper object for http response.\n * @param responseSpec - Mappers for how to parse the response properties.\n * @returns - A normalized response object.\n */\nexport function flattenResponse(\n _response: HttpOperationResponse,\n responseSpec: OperationResponse | undefined\n): RestResponse {\n const parsedHeaders = _response.parsedHeaders;\n const bodyMapper = responseSpec && responseSpec.bodyMapper;\n\n const addOperationResponse = >(\n obj: T\n ): T & {\n _response: HttpOperationResponse;\n } => {\n return Object.defineProperty(obj, \"_response\", {\n value: _response,\n }) as T & {\n _response: HttpOperationResponse;\n };\n };\n\n if (bodyMapper) {\n const typeName = bodyMapper.type.name;\n if (typeName === \"Stream\") {\n return addOperationResponse({\n ...parsedHeaders,\n blobBody: _response.blobBody,\n readableStreamBody: _response.readableStreamBody,\n });\n }\n\n const modelProperties =\n (typeName === \"Composite\" && (bodyMapper as CompositeMapper).type.modelProperties) || {};\n const isPageableResponse = Object.keys(modelProperties).some(\n (k) => modelProperties[k].serializedName === \"\"\n );\n if (typeName === \"Sequence\" || isPageableResponse) {\n const arrayResponse = [...(_response.parsedBody || [])] as RestResponse & any[];\n\n for (const key of Object.keys(modelProperties)) {\n if (modelProperties[key].serializedName) {\n arrayResponse[key] = _response.parsedBody[key];\n }\n }\n\n if (parsedHeaders) {\n for (const key of Object.keys(parsedHeaders)) {\n arrayResponse[key] = parsedHeaders[key];\n }\n }\n addOperationResponse(arrayResponse);\n return arrayResponse;\n }\n\n if (typeName === \"Composite\" || typeName === \"Dictionary\") {\n return addOperationResponse({\n ...parsedHeaders,\n ..._response.parsedBody,\n });\n }\n }\n\n if (\n bodyMapper ||\n _response.request.method === \"HEAD\" ||\n utils.isPrimitiveType(_response.parsedBody)\n ) {\n // primitive body types and HEAD booleans\n return addOperationResponse({\n ...parsedHeaders,\n body: _response.parsedBody,\n });\n }\n\n return addOperationResponse({\n ...parsedHeaders,\n ..._response.parsedBody,\n });\n}\n\nfunction getCredentialScopes(\n options?: ServiceClientOptions,\n baseUri?: string\n): string | string[] | undefined {\n if (options?.credentialScopes) {\n const scopes = options.credentialScopes;\n return Array.isArray(scopes)\n ? scopes.map((scope) => new URL(scope).toString())\n : new URL(scopes).toString();\n }\n\n if (baseUri) {\n return `${baseUri}/.default`;\n }\n return undefined;\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { MapperType, Serializer } from \"./serializer\";\nimport {\n OperationParameter,\n OperationQueryParameter,\n OperationURLParameter,\n} from \"./operationParameter\";\nimport { HttpMethods } from \"./webResource\";\nimport { OperationResponse } from \"./operationResponse\";\n\n/**\n * A specification that defines how to perform a particular service operation over HTTP, including how to properly serialize request information into and deserialize response information into an object payload returnable by the {@link ServiceClient}.\n */\nexport interface OperationSpec {\n /**\n * The serializer to use in this operation.\n */\n readonly serializer: Serializer;\n\n /**\n * The HTTP method that should be used by requests for this operation.\n */\n readonly httpMethod: HttpMethods;\n\n /**\n * The URL that was provided in the service's specification. This will still have all of the URL\n * template variables in it. If this is not provided when the OperationSpec is created, then it\n * will be populated by a \"baseUri\" property on the ServiceClient.\n */\n readonly baseUrl?: string;\n\n /**\n * The fixed path for this operation's URL. This will still have all of the URL template variables\n * in it.\n */\n readonly path?: string;\n\n /**\n * The content type of the request body. This value will be used as the \"Content-Type\" header if\n * it is provided.\n */\n readonly contentType?: string;\n\n /**\n * The media type of the request body.\n * This value can be used to aide in serialization if it is provided.\n */\n readonly mediaType?:\n | \"json\"\n | \"xml\"\n | \"form\"\n | \"binary\"\n | \"multipart\"\n | \"text\"\n | \"unknown\"\n | string;\n /**\n * The parameter that will be used to construct the HTTP request's body.\n */\n readonly requestBody?: OperationParameter;\n\n /**\n * Whether or not this operation uses XML request and response bodies.\n */\n readonly isXML?: boolean;\n\n /**\n * The parameters to the operation method that will be substituted into the constructed URL.\n */\n readonly urlParameters?: ReadonlyArray;\n\n /**\n * The parameters to the operation method that will be added to the constructed URL's query.\n */\n readonly queryParameters?: ReadonlyArray;\n\n /**\n * The parameters to the operation method that will be converted to headers on the operation's\n * HTTP request.\n */\n readonly headerParameters?: ReadonlyArray;\n\n /**\n * The parameters to the operation method that will be used to create a formdata body for the\n * operation's HTTP request.\n */\n readonly formDataParameters?: ReadonlyArray;\n\n /**\n * The different types of responses that this operation can return based on what status code is\n * returned.\n */\n readonly responses: { [responseCode: string]: OperationResponse };\n}\n\n/**\n * Gets the list of status codes for streaming responses.\n * @internal\n */\nexport function getStreamResponseStatusCodes(operationSpec: OperationSpec): Set {\n const result = new Set();\n for (const statusCode in operationSpec.responses) {\n const operationResponse = operationSpec.responses[statusCode];\n if (\n operationResponse.bodyMapper &&\n operationResponse.bodyMapper.type.name === MapperType.Stream\n ) {\n result.add(Number(statusCode));\n }\n }\n return result;\n}\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreHttp from \"@azure/core-http\";\nimport { StorageClientOptionalParams } from \"./models\";\n\nconst packageName = \"azure-storage-blob\";\nconst packageVersion = \"12.12.0\";\n\nexport class StorageClientContext extends coreHttp.ServiceClient {\n url: string;\n version: string;\n\n /**\n * Initializes a new instance of the StorageClientContext class.\n * @param url The URL of the service account, container, or blob that is the target of the desired\n * operation.\n * @param options The parameter options\n */\n constructor(url: string, options?: StorageClientOptionalParams) {\n if (url === undefined) {\n throw new Error(\"'url' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n\n if (!options.userAgent) {\n const defaultUserAgent = coreHttp.getDefaultUserAgentValue();\n options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;\n }\n\n super(undefined, options);\n\n this.requestContentType = \"application/json; charset=utf-8\";\n\n this.baseUri = options.endpoint || \"{url}\";\n\n // Parameter assignments\n this.url = url;\n\n // Assigning values to Constant parameters\n this.version = options.version || \"2021-10-04\";\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { StorageClientContext } from \"./generated/src/storageClientContext\";\nimport { PipelineLike } from \"./Pipeline\";\nimport { escapeURLPath, getURLScheme, iEqual, getAccountNameFromUrl } from \"./utils/utils.common\";\nimport { AnonymousCredential } from \"./credentials/AnonymousCredential\";\nimport { StorageSharedKeyCredential } from \"./credentials/StorageSharedKeyCredential\";\nimport { TokenCredential, isTokenCredential, isNode } from \"@azure/core-http\";\nimport { OperationTracingOptions } from \"@azure/core-tracing\";\n\n/**\n * An interface for options common to every remote operation.\n */\nexport interface CommonOptions {\n /**\n * Options to configure spans created when tracing is enabled.\n */\n tracingOptions?: OperationTracingOptions;\n}\n\n/**\n * A StorageClient represents a based URL class for {@link BlobServiceClient}, {@link ContainerClient}\n * and etc.\n */\nexport abstract class StorageClient {\n /**\n * Encoded URL string value.\n */\n public readonly url: string;\n public readonly accountName: string;\n /**\n * Request policy pipeline.\n *\n * @internal\n */\n protected readonly pipeline: PipelineLike;\n /**\n * Such as AnonymousCredential, StorageSharedKeyCredential or any credential from the `@azure/identity` package to authenticate requests to the service. You can also provide an object that implements the TokenCredential interface. If not specified, AnonymousCredential is used.\n */\n public readonly credential: StorageSharedKeyCredential | AnonymousCredential | TokenCredential;\n /**\n * StorageClient is a reference to protocol layer operations entry, which is\n * generated by AutoRest generator.\n */\n protected readonly storageClientContext: StorageClientContext;\n /**\n */\n protected readonly isHttps: boolean;\n\n /**\n * Creates an instance of StorageClient.\n * @param url - url to resource\n * @param pipeline - request policy pipeline.\n */\n protected constructor(url: string, pipeline: PipelineLike) {\n // URL should be encoded and only once, protocol layer shouldn't encode URL again\n this.url = escapeURLPath(url);\n this.accountName = getAccountNameFromUrl(url);\n this.pipeline = pipeline;\n this.storageClientContext = new StorageClientContext(\n this.url,\n pipeline.toServiceClientOptions()\n );\n\n this.isHttps = iEqual(getURLScheme(this.url) || \"\", \"https\");\n\n this.credential = new AnonymousCredential();\n for (const factory of this.pipeline.factories) {\n if (\n (isNode && factory instanceof StorageSharedKeyCredential) ||\n factory instanceof AnonymousCredential\n ) {\n this.credential = factory;\n } else if (isTokenCredential((factory as any).credential)) {\n // Only works if the factory has been attached a \"credential\" property.\n // We do that in newPipeline() when using TokenCredential.\n this.credential = (factory as any).credential;\n }\n }\n\n // Override protocol layer's default content-type\n const storageClientContext = this.storageClientContext as any;\n storageClientContext.requestContentType = undefined;\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { OperationOptions, RequestOptionsBase } from \"@azure/core-http\";\nimport { createSpanFunction } from \"@azure/core-tracing\";\n\n/**\n * Creates a span using the global tracer.\n * @internal\n */\nexport const createSpan = createSpanFunction({\n packagePrefix: \"Azure.Storage.Blob\",\n namespace: \"Microsoft.Storage\",\n});\n\n/**\n * @internal\n *\n * Adapt the tracing options from OperationOptions to what they need to be for\n * RequestOptionsBase (when we update to later OpenTelemetry versions this is now\n * two separate fields, not just one).\n */\nexport function convertTracingToRequestOptionsBase(\n options?: OperationOptions\n): Pick {\n return {\n // By passing spanOptions if they exist at runtime, we're backwards compatible with @azure/core-tracing@preview.13 and earlier.\n spanOptions: (options?.tracingOptions as any)?.spanOptions,\n tracingContext: options?.tracingOptions?.tracingContext,\n };\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\n/**\n * ONLY AVAILABLE IN NODE.JS RUNTIME.\n *\n * This is a helper class to construct a string representing the permissions granted by a ServiceSAS to a blob. Setting\n * a value to true means that any SAS which uses these permissions will grant permissions for that operation. Once all\n * the values are set, this should be serialized with toString and set as the permissions field on a\n * {@link BlobSASSignatureValues} object. It is possible to construct the permissions string without this class, but\n * the order of the permissions is particular and this class guarantees correctness.\n */\nexport class BlobSASPermissions {\n /**\n * Creates a {@link BlobSASPermissions} from the specified permissions string. This method will throw an\n * Error if it encounters a character that does not correspond to a valid permission.\n *\n * @param permissions -\n */\n public static parse(permissions: string): BlobSASPermissions {\n const blobSASPermissions = new BlobSASPermissions();\n\n for (const char of permissions) {\n switch (char) {\n case \"r\":\n blobSASPermissions.read = true;\n break;\n case \"a\":\n blobSASPermissions.add = true;\n break;\n case \"c\":\n blobSASPermissions.create = true;\n break;\n case \"w\":\n blobSASPermissions.write = true;\n break;\n case \"d\":\n blobSASPermissions.delete = true;\n break;\n case \"x\":\n blobSASPermissions.deleteVersion = true;\n break;\n case \"t\":\n blobSASPermissions.tag = true;\n break;\n case \"m\":\n blobSASPermissions.move = true;\n break;\n case \"e\":\n blobSASPermissions.execute = true;\n break;\n case \"i\":\n blobSASPermissions.setImmutabilityPolicy = true;\n break;\n case \"y\":\n blobSASPermissions.permanentDelete = true;\n break;\n default:\n throw new RangeError(`Invalid permission: ${char}`);\n }\n }\n\n return blobSASPermissions;\n }\n\n /**\n * Creates a {@link BlobSASPermissions} from a raw object which contains same keys as it\n * and boolean values for them.\n *\n * @param permissionLike -\n */\n public static from(permissionLike: BlobSASPermissionsLike): BlobSASPermissions {\n const blobSASPermissions = new BlobSASPermissions();\n if (permissionLike.read) {\n blobSASPermissions.read = true;\n }\n if (permissionLike.add) {\n blobSASPermissions.add = true;\n }\n if (permissionLike.create) {\n blobSASPermissions.create = true;\n }\n if (permissionLike.write) {\n blobSASPermissions.write = true;\n }\n if (permissionLike.delete) {\n blobSASPermissions.delete = true;\n }\n if (permissionLike.deleteVersion) {\n blobSASPermissions.deleteVersion = true;\n }\n if (permissionLike.tag) {\n blobSASPermissions.tag = true;\n }\n if (permissionLike.move) {\n blobSASPermissions.move = true;\n }\n if (permissionLike.execute) {\n blobSASPermissions.execute = true;\n }\n if (permissionLike.setImmutabilityPolicy) {\n blobSASPermissions.setImmutabilityPolicy = true;\n }\n if (permissionLike.permanentDelete) {\n blobSASPermissions.permanentDelete = true;\n }\n return blobSASPermissions;\n }\n\n /**\n * Specifies Read access granted.\n */\n public read: boolean = false;\n\n /**\n * Specifies Add access granted.\n */\n public add: boolean = false;\n\n /**\n * Specifies Create access granted.\n */\n public create: boolean = false;\n\n /**\n * Specifies Write access granted.\n */\n public write: boolean = false;\n\n /**\n * Specifies Delete access granted.\n */\n public delete: boolean = false;\n\n /**\n * Specifies Delete version access granted.\n */\n public deleteVersion: boolean = false;\n\n /**\n * Specfies Tag access granted.\n */\n public tag: boolean = false;\n\n /**\n * Specifies Move access granted.\n */\n public move: boolean = false;\n\n /**\n * Specifies Execute access granted.\n */\n public execute: boolean = false;\n\n /**\n * Specifies SetImmutabilityPolicy access granted.\n */\n public setImmutabilityPolicy: boolean = false;\n\n /**\n * Specifies that Permanent Delete is permitted.\n */\n public permanentDelete: boolean = false;\n\n /**\n * Converts the given permissions to a string. Using this method will guarantee the permissions are in an\n * order accepted by the service.\n *\n * @returns A string which represents the BlobSASPermissions\n */\n public toString(): string {\n const permissions: string[] = [];\n if (this.read) {\n permissions.push(\"r\");\n }\n if (this.add) {\n permissions.push(\"a\");\n }\n if (this.create) {\n permissions.push(\"c\");\n }\n if (this.write) {\n permissions.push(\"w\");\n }\n if (this.delete) {\n permissions.push(\"d\");\n }\n if (this.deleteVersion) {\n permissions.push(\"x\");\n }\n if (this.tag) {\n permissions.push(\"t\");\n }\n if (this.move) {\n permissions.push(\"m\");\n }\n if (this.execute) {\n permissions.push(\"e\");\n }\n if (this.setImmutabilityPolicy) {\n permissions.push(\"i\");\n }\n if (this.permanentDelete) {\n permissions.push(\"y\");\n }\n return permissions.join(\"\");\n }\n}\n\n/**\n * A type that looks like a Blob SAS permission.\n * Used in {@link BlobSASPermissions} to parse SAS permissions from raw objects.\n */\nexport interface BlobSASPermissionsLike {\n /**\n * Specifies Read access granted.\n */\n read?: boolean;\n\n /**\n * Specifies Add access granted.\n */\n add?: boolean;\n\n /**\n * Specifies Create access granted.\n */\n create?: boolean;\n\n /**\n * Specifies Write access granted.\n */\n write?: boolean;\n\n /**\n * Specifies Delete access granted.\n */\n delete?: boolean;\n\n /**\n * Specifies Delete version access granted.\n */\n deleteVersion?: boolean;\n\n /**\n * Specfies Tag access granted.\n */\n tag?: boolean;\n\n /**\n * Specifies Move access granted.\n */\n move?: boolean;\n\n /**\n * Specifies Execute access granted.\n */\n execute?: boolean;\n\n /**\n * Specifies SetImmutabilityPolicy access granted.\n */\n setImmutabilityPolicy?: boolean;\n\n /**\n * Specifies that Permanent Delete is permitted.\n */\n permanentDelete?: boolean;\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\n/**\n * This is a helper class to construct a string representing the permissions granted by a ServiceSAS to a container.\n * Setting a value to true means that any SAS which uses these permissions will grant permissions for that operation.\n * Once all the values are set, this should be serialized with toString and set as the permissions field on a\n * {@link BlobSASSignatureValues} object. It is possible to construct the permissions string without this class, but\n * the order of the permissions is particular and this class guarantees correctness.\n */\nexport class ContainerSASPermissions {\n /**\n * Creates an {@link ContainerSASPermissions} from the specified permissions string. This method will throw an\n * Error if it encounters a character that does not correspond to a valid permission.\n *\n * @param permissions -\n */\n public static parse(permissions: string): ContainerSASPermissions {\n const containerSASPermissions = new ContainerSASPermissions();\n\n for (const char of permissions) {\n switch (char) {\n case \"r\":\n containerSASPermissions.read = true;\n break;\n case \"a\":\n containerSASPermissions.add = true;\n break;\n case \"c\":\n containerSASPermissions.create = true;\n break;\n case \"w\":\n containerSASPermissions.write = true;\n break;\n case \"d\":\n containerSASPermissions.delete = true;\n break;\n case \"l\":\n containerSASPermissions.list = true;\n break;\n case \"t\":\n containerSASPermissions.tag = true;\n break;\n case \"x\":\n containerSASPermissions.deleteVersion = true;\n break;\n case \"m\":\n containerSASPermissions.move = true;\n break;\n case \"e\":\n containerSASPermissions.execute = true;\n break;\n case \"i\":\n containerSASPermissions.setImmutabilityPolicy = true;\n break;\n case \"y\":\n containerSASPermissions.permanentDelete = true;\n break;\n case \"f\":\n containerSASPermissions.filterByTags = true;\n break;\n default:\n throw new RangeError(`Invalid permission ${char}`);\n }\n }\n\n return containerSASPermissions;\n }\n\n /**\n * Creates a {@link ContainerSASPermissions} from a raw object which contains same keys as it\n * and boolean values for them.\n *\n * @param permissionLike -\n */\n public static from(permissionLike: ContainerSASPermissionsLike): ContainerSASPermissions {\n const containerSASPermissions = new ContainerSASPermissions();\n if (permissionLike.read) {\n containerSASPermissions.read = true;\n }\n if (permissionLike.add) {\n containerSASPermissions.add = true;\n }\n if (permissionLike.create) {\n containerSASPermissions.create = true;\n }\n if (permissionLike.write) {\n containerSASPermissions.write = true;\n }\n if (permissionLike.delete) {\n containerSASPermissions.delete = true;\n }\n if (permissionLike.list) {\n containerSASPermissions.list = true;\n }\n if (permissionLike.deleteVersion) {\n containerSASPermissions.deleteVersion = true;\n }\n if (permissionLike.tag) {\n containerSASPermissions.tag = true;\n }\n if (permissionLike.move) {\n containerSASPermissions.move = true;\n }\n if (permissionLike.execute) {\n containerSASPermissions.execute = true;\n }\n if (permissionLike.setImmutabilityPolicy) {\n containerSASPermissions.setImmutabilityPolicy = true;\n }\n if (permissionLike.permanentDelete) {\n containerSASPermissions.permanentDelete = true;\n }\n if (permissionLike.filterByTags) {\n containerSASPermissions.filterByTags = true;\n }\n return containerSASPermissions;\n }\n\n /**\n * Specifies Read access granted.\n */\n public read: boolean = false;\n\n /**\n * Specifies Add access granted.\n */\n public add: boolean = false;\n\n /**\n * Specifies Create access granted.\n */\n public create: boolean = false;\n\n /**\n * Specifies Write access granted.\n */\n public write: boolean = false;\n\n /**\n * Specifies Delete access granted.\n */\n public delete: boolean = false;\n\n /**\n * Specifies Delete version access granted.\n */\n public deleteVersion: boolean = false;\n\n /**\n * Specifies List access granted.\n */\n public list: boolean = false;\n\n /**\n * Specfies Tag access granted.\n */\n public tag: boolean = false;\n\n /**\n * Specifies Move access granted.\n */\n public move: boolean = false;\n\n /**\n * Specifies Execute access granted.\n */\n public execute: boolean = false;\n\n /**\n * Specifies SetImmutabilityPolicy access granted.\n */\n public setImmutabilityPolicy: boolean = false;\n\n /**\n * Specifies that Permanent Delete is permitted.\n */\n public permanentDelete: boolean = false;\n\n /**\n * Specifies that Filter Blobs by Tags is permitted.\n */\n public filterByTags: boolean = false;\n\n /**\n * Converts the given permissions to a string. Using this method will guarantee the permissions are in an\n * order accepted by the service.\n *\n * The order of the characters should be as specified here to ensure correctness.\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas\n *\n */\n public toString(): string {\n const permissions: string[] = [];\n if (this.read) {\n permissions.push(\"r\");\n }\n if (this.add) {\n permissions.push(\"a\");\n }\n if (this.create) {\n permissions.push(\"c\");\n }\n if (this.write) {\n permissions.push(\"w\");\n }\n if (this.delete) {\n permissions.push(\"d\");\n }\n if (this.deleteVersion) {\n permissions.push(\"x\");\n }\n if (this.list) {\n permissions.push(\"l\");\n }\n if (this.tag) {\n permissions.push(\"t\");\n }\n if (this.move) {\n permissions.push(\"m\");\n }\n if (this.execute) {\n permissions.push(\"e\");\n }\n if (this.setImmutabilityPolicy) {\n permissions.push(\"i\");\n }\n if (this.permanentDelete) {\n permissions.push(\"y\");\n }\n if (this.filterByTags) {\n permissions.push(\"f\");\n }\n return permissions.join(\"\");\n }\n}\n\n/**\n * A type that looks like a Container SAS permission.\n * Used in {@link ContainerSASPermissions} to parse SAS permissions from raw objects.\n */\nexport interface ContainerSASPermissionsLike {\n /**\n * Specifies Read access granted.\n */\n read?: boolean;\n\n /**\n * Specifies Add access granted.\n */\n add?: boolean;\n\n /**\n * Specifies Create access granted.\n */\n create?: boolean;\n\n /**\n * Specifies Write access granted.\n */\n write?: boolean;\n\n /**\n * Specifies Delete access granted.\n */\n delete?: boolean;\n\n /**\n * Specifies Delete version access granted.\n */\n deleteVersion?: boolean;\n\n /**\n * Specifies List access granted.\n */\n list?: boolean;\n\n /**\n * Specfies Tag access granted.\n */\n tag?: boolean;\n\n /**\n * Specifies Move access granted.\n */\n move?: boolean;\n\n /**\n * Specifies Execute access granted.\n */\n execute?: boolean;\n\n /**\n * Specifies SetImmutabilityPolicy access granted.\n */\n setImmutabilityPolicy?: boolean;\n\n /**\n * Specifies that Permanent Delete is permitted.\n */\n permanentDelete?: boolean;\n\n /**\n * Specifies that Filter Blobs by Tags is permitted.\n */\n filterByTags?: boolean;\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { createHmac } from \"crypto\";\nimport { UserDelegationKey } from \"../BlobServiceClient\";\n\n/**\n * ONLY AVAILABLE IN NODE.JS RUNTIME.\n *\n * UserDelegationKeyCredential is only used for generation of user delegation SAS.\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/create-user-delegation-sas\n */\nexport class UserDelegationKeyCredential {\n /**\n * Azure Storage account name; readonly.\n */\n public readonly accountName: string;\n\n /**\n * Azure Storage user delegation key; readonly.\n */\n public readonly userDelegationKey: UserDelegationKey;\n\n /**\n * Key value in Buffer type.\n */\n private readonly key: Buffer;\n\n /**\n * Creates an instance of UserDelegationKeyCredential.\n * @param accountName -\n * @param userDelegationKey -\n */\n constructor(accountName: string, userDelegationKey: UserDelegationKey) {\n this.accountName = accountName;\n this.userDelegationKey = userDelegationKey;\n this.key = Buffer.from(userDelegationKey.value, \"base64\");\n }\n\n /**\n * Generates a hash signature for an HTTP request or for a SAS.\n *\n * @param stringToSign -\n */\n public computeHMACSHA256(stringToSign: string): string {\n // console.log(`stringToSign: ${JSON.stringify(stringToSign)}`);\n\n return createHmac(\"sha256\", this.key).update(stringToSign, \"utf8\").digest(\"base64\");\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\n/**\n * Allowed IP range for a SAS.\n */\nexport interface SasIPRange {\n /**\n * Starting IP address in the IP range.\n * If end IP doesn't provide, start IP will the only IP allowed.\n */\n start: string;\n /**\n * Optional. IP address that ends the IP range.\n * If not provided, start IP will the only IP allowed.\n */\n end?: string;\n}\n\n/**\n * Generate SasIPRange format string. For example:\n *\n * \"8.8.8.8\" or \"1.1.1.1-255.255.255.255\"\n *\n * @param ipRange -\n */\nexport function ipRangeToString(ipRange: SasIPRange): string {\n return ipRange.end ? `${ipRange.start}-${ipRange.end}` : ipRange.start;\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { SasIPRange, ipRangeToString } from \"./SasIPRange\";\nimport { truncatedISO8061Date } from \"../utils/utils.common\";\nimport { UserDelegationKey } from \"../BlobServiceClient\";\n\n/**\n * Protocols for generated SAS.\n */\nexport enum SASProtocol {\n /**\n * Protocol that allows HTTPS only\n */\n Https = \"https\",\n\n /**\n * Protocol that allows both HTTPS and HTTP\n */\n HttpsAndHttp = \"https,http\",\n}\n\n/**\n * Options to construct {@link SASQueryParameters}.\n */\nexport interface SASQueryParametersOptions {\n /**\n * Optional only when identifier is provided.\n * Please refer to {@link AccountSASPermissions}, {@link BlobSASPermissions}, or {@link ContainerSASPermissions} for\n * more details.\n */\n permissions?: string;\n /**\n * Optional. The storage services being accessed (only for Account SAS). Please refer to {@link AccountSASServices}\n * for more details.\n */\n services?: string;\n /**\n * Optional. The storage resource types being accessed (only for Account SAS). Please refer to\n * {@link AccountSASResourceTypes} for more details.\n */\n resourceTypes?: string;\n /**\n * Optional. The allowed HTTP protocol(s).\n */\n protocol?: SASProtocol;\n /**\n * Optional. The start time for this SAS token.\n */\n startsOn?: Date;\n /**\n * Optional only when identifier is provided. The expiry time for this SAS token.\n */\n expiresOn?: Date;\n /**\n * Optional. IP ranges allowed in this SAS.\n */\n ipRange?: SasIPRange;\n /**\n * Optional. The signed identifier (only for {@link BlobSASSignatureValues}).\n *\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/establishing-a-stored-access-policy\n */\n identifier?: string;\n /**\n * Optional. Encryption scope to use when sending requests authorized with this SAS URI.\n */\n encryptionScope?: string;\n /**\n * Optional. Specifies which resources are accessible via the SAS (only for {@link BlobSASSignatureValues}).\n * @see https://docs.microsoft.com/rest/api/storageservices/create-service-sas#specifying-the-signed-resource-blob-service-only\n */\n resource?: string;\n /**\n * Value for cache-control header in Blob/File Service SAS.\n */\n cacheControl?: string;\n /**\n * Value for content-disposition header in Blob/File Service SAS.\n */\n contentDisposition?: string;\n /**\n * Value for content-encoding header in Blob/File Service SAS.\n */\n contentEncoding?: string;\n /**\n * Value for content-length header in Blob/File Service SAS.\n */\n contentLanguage?: string;\n /**\n * Value for content-type header in Blob/File Service SAS.\n */\n contentType?: string;\n /**\n * User delegation key properties.\n */\n userDelegationKey?: UserDelegationKey;\n /**\n * Authorized AAD Object ID in GUID format. The AAD Object ID of a user authorized by the owner of the User Delegation Key\n * to perform the action granted by the SAS. The Azure Storage service will ensure that the owner of the user delegation key\n * has the required permissions before granting access but no additional permission check for the user specified in\n * this value will be performed. This cannot be used in conjuction with {@link signedUnauthorizedUserObjectId}.\n * This is only used for User Delegation SAS.\n */\n preauthorizedAgentObjectId?: string;\n /**\n * A GUID value that will be logged in the storage diagnostic logs and can be used to correlate SAS generation with storage resource access.\n * This is only used for User Delegation SAS.\n */\n correlationId?: string;\n}\n\n/**\n * Represents the components that make up an Azure Storage SAS' query parameters. This type is not constructed directly\n * by the user; it is only generated by the {@link AccountSASSignatureValues} and {@link BlobSASSignatureValues}\n * types. Once generated, it can be encoded into a {@link String} and appended to a URL directly (though caution should\n * be taken here in case there are existing query parameters, which might affect the appropriate means of appending\n * these query parameters).\n *\n * NOTE: Instances of this class are immutable.\n */\nexport class SASQueryParameters {\n /**\n * The storage API version.\n */\n public readonly version: string;\n\n /**\n * Optional. The allowed HTTP protocol(s).\n */\n public readonly protocol?: SASProtocol;\n\n /**\n * Optional. The start time for this SAS token.\n */\n public readonly startsOn?: Date;\n\n /**\n * Optional only when identifier is provided. The expiry time for this SAS token.\n */\n public readonly expiresOn?: Date;\n\n /**\n * Optional only when identifier is provided.\n * Please refer to {@link AccountSASPermissions}, {@link BlobSASPermissions}, or {@link ContainerSASPermissions} for\n * more details.\n */\n public readonly permissions?: string;\n\n /**\n * Optional. The storage services being accessed (only for Account SAS). Please refer to {@link AccountSASServices}\n * for more details.\n */\n public readonly services?: string;\n\n /**\n * Optional. The storage resource types being accessed (only for Account SAS). Please refer to\n * {@link AccountSASResourceTypes} for more details.\n */\n public readonly resourceTypes?: string;\n\n /**\n * Optional. The signed identifier (only for {@link BlobSASSignatureValues}).\n *\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/establishing-a-stored-access-policy\n */\n public readonly identifier?: string;\n\n /**\n * Optional. Encryption scope to use when sending requests authorized with this SAS URI.\n */\n public readonly encryptionScope?: string;\n\n /**\n * Optional. Specifies which resources are accessible via the SAS (only for {@link BlobSASSignatureValues}).\n * @see https://docs.microsoft.com/rest/api/storageservices/create-service-sas#specifying-the-signed-resource-blob-service-only\n */\n public readonly resource?: string;\n\n /**\n * The signature for the SAS token.\n */\n public readonly signature: string;\n\n /**\n * Value for cache-control header in Blob/File Service SAS.\n */\n public readonly cacheControl?: string;\n\n /**\n * Value for content-disposition header in Blob/File Service SAS.\n */\n public readonly contentDisposition?: string;\n\n /**\n * Value for content-encoding header in Blob/File Service SAS.\n */\n public readonly contentEncoding?: string;\n\n /**\n * Value for content-length header in Blob/File Service SAS.\n */\n public readonly contentLanguage?: string;\n\n /**\n * Value for content-type header in Blob/File Service SAS.\n */\n public readonly contentType?: string;\n\n /**\n * Inner value of getter ipRange.\n */\n private readonly ipRangeInner?: SasIPRange;\n\n /**\n * The Azure Active Directory object ID in GUID format.\n * Property of user delegation key.\n */\n private readonly signedOid?: string;\n\n /**\n * The Azure Active Directory tenant ID in GUID format.\n * Property of user delegation key.\n */\n private readonly signedTenantId?: string;\n\n /**\n * The date-time the key is active.\n * Property of user delegation key.\n */\n private readonly signedStartsOn?: Date;\n\n /**\n * The date-time the key expires.\n * Property of user delegation key.\n */\n private readonly signedExpiresOn?: Date;\n\n /**\n * Abbreviation of the Azure Storage service that accepts the user delegation key.\n * Property of user delegation key.\n */\n private readonly signedService?: string;\n\n /**\n * The service version that created the user delegation key.\n * Property of user delegation key.\n */\n private readonly signedVersion?: string;\n\n /**\n * Authorized AAD Object ID in GUID format. The AAD Object ID of a user authorized by the owner of the User Delegation Key\n * to perform the action granted by the SAS. The Azure Storage service will ensure that the owner of the user delegation key\n * has the required permissions before granting access but no additional permission check for the user specified in\n * this value will be performed. This is only used for User Delegation SAS.\n */\n public readonly preauthorizedAgentObjectId?: string;\n\n /**\n * A GUID value that will be logged in the storage diagnostic logs and can be used to correlate SAS generation with storage resource access.\n * This is only used for User Delegation SAS.\n */\n public readonly correlationId?: string;\n\n /**\n * Optional. IP range allowed for this SAS.\n *\n * @readonly\n */\n public get ipRange(): SasIPRange | undefined {\n if (this.ipRangeInner) {\n return {\n end: this.ipRangeInner.end,\n start: this.ipRangeInner.start,\n };\n }\n return undefined;\n }\n\n /**\n * Creates an instance of SASQueryParameters.\n *\n * @param version - Representing the storage version\n * @param signature - Representing the signature for the SAS token\n * @param permissions - Representing the storage permissions\n * @param services - Representing the storage services being accessed (only for Account SAS)\n * @param resourceTypes - Representing the storage resource types being accessed (only for Account SAS)\n * @param protocol - Representing the allowed HTTP protocol(s)\n * @param startsOn - Representing the start time for this SAS token\n * @param expiresOn - Representing the expiry time for this SAS token\n * @param ipRange - Representing the range of valid IP addresses for this SAS token\n * @param identifier - Representing the signed identifier (only for Service SAS)\n * @param resource - Representing the storage container or blob (only for Service SAS)\n * @param cacheControl - Representing the cache-control header (only for Blob/File Service SAS)\n * @param contentDisposition - Representing the content-disposition header (only for Blob/File Service SAS)\n * @param contentEncoding - Representing the content-encoding header (only for Blob/File Service SAS)\n * @param contentLanguage - Representing the content-language header (only for Blob/File Service SAS)\n * @param contentType - Representing the content-type header (only for Blob/File Service SAS)\n * @param userDelegationKey - Representing the user delegation key properties\n * @param preauthorizedAgentObjectId - Representing the authorized AAD Object ID (only for User Delegation SAS)\n * @param correlationId - Representing the correlation ID (only for User Delegation SAS)\n * @param encryptionScope -\n */\n constructor(\n version: string,\n signature: string,\n permissions?: string,\n services?: string,\n resourceTypes?: string,\n protocol?: SASProtocol,\n startsOn?: Date,\n expiresOn?: Date,\n ipRange?: SasIPRange,\n identifier?: string,\n resource?: string,\n cacheControl?: string,\n contentDisposition?: string,\n contentEncoding?: string,\n contentLanguage?: string,\n contentType?: string,\n userDelegationKey?: UserDelegationKey,\n preauthorizedAgentObjectId?: string,\n correlationId?: string,\n encryptionScope?: string\n );\n\n /**\n * Creates an instance of SASQueryParameters.\n *\n * @param version - Representing the storage version\n * @param signature - Representing the signature for the SAS token\n * @param options - Optional. Options to construct the SASQueryParameters.\n */\n constructor(version: string, signature: string, options?: SASQueryParametersOptions);\n\n constructor(\n version: string,\n signature: string,\n permissionsOrOptions?: string | SASQueryParametersOptions,\n services?: string,\n resourceTypes?: string,\n protocol?: SASProtocol,\n startsOn?: Date,\n expiresOn?: Date,\n ipRange?: SasIPRange,\n identifier?: string,\n resource?: string,\n cacheControl?: string,\n contentDisposition?: string,\n contentEncoding?: string,\n contentLanguage?: string,\n contentType?: string,\n userDelegationKey?: UserDelegationKey,\n preauthorizedAgentObjectId?: string,\n correlationId?: string,\n encryptionScope?: string\n ) {\n this.version = version;\n this.signature = signature;\n\n if (permissionsOrOptions !== undefined && typeof permissionsOrOptions !== \"string\") {\n // SASQueryParametersOptions\n this.permissions = permissionsOrOptions.permissions;\n this.services = permissionsOrOptions.services;\n this.resourceTypes = permissionsOrOptions.resourceTypes;\n this.protocol = permissionsOrOptions.protocol;\n this.startsOn = permissionsOrOptions.startsOn;\n this.expiresOn = permissionsOrOptions.expiresOn;\n this.ipRangeInner = permissionsOrOptions.ipRange;\n this.identifier = permissionsOrOptions.identifier;\n this.encryptionScope = permissionsOrOptions.encryptionScope;\n this.resource = permissionsOrOptions.resource;\n this.cacheControl = permissionsOrOptions.cacheControl;\n this.contentDisposition = permissionsOrOptions.contentDisposition;\n this.contentEncoding = permissionsOrOptions.contentEncoding;\n this.contentLanguage = permissionsOrOptions.contentLanguage;\n this.contentType = permissionsOrOptions.contentType;\n\n if (permissionsOrOptions.userDelegationKey) {\n this.signedOid = permissionsOrOptions.userDelegationKey.signedObjectId;\n this.signedTenantId = permissionsOrOptions.userDelegationKey.signedTenantId;\n this.signedStartsOn = permissionsOrOptions.userDelegationKey.signedStartsOn;\n this.signedExpiresOn = permissionsOrOptions.userDelegationKey.signedExpiresOn;\n this.signedService = permissionsOrOptions.userDelegationKey.signedService;\n this.signedVersion = permissionsOrOptions.userDelegationKey.signedVersion;\n\n this.preauthorizedAgentObjectId = permissionsOrOptions.preauthorizedAgentObjectId;\n this.correlationId = permissionsOrOptions.correlationId;\n }\n } else {\n this.services = services;\n this.resourceTypes = resourceTypes;\n this.expiresOn = expiresOn;\n this.permissions = permissionsOrOptions;\n this.protocol = protocol;\n this.startsOn = startsOn;\n this.ipRangeInner = ipRange;\n this.encryptionScope = encryptionScope;\n this.identifier = identifier;\n this.resource = resource;\n this.cacheControl = cacheControl;\n this.contentDisposition = contentDisposition;\n this.contentEncoding = contentEncoding;\n this.contentLanguage = contentLanguage;\n this.contentType = contentType;\n\n if (userDelegationKey) {\n this.signedOid = userDelegationKey.signedObjectId;\n this.signedTenantId = userDelegationKey.signedTenantId;\n this.signedStartsOn = userDelegationKey.signedStartsOn;\n this.signedExpiresOn = userDelegationKey.signedExpiresOn;\n this.signedService = userDelegationKey.signedService;\n this.signedVersion = userDelegationKey.signedVersion;\n\n this.preauthorizedAgentObjectId = preauthorizedAgentObjectId;\n this.correlationId = correlationId;\n }\n }\n }\n\n /**\n * Encodes all SAS query parameters into a string that can be appended to a URL.\n *\n */\n public toString(): string {\n const params: string[] = [\n \"sv\",\n \"ss\",\n \"srt\",\n \"spr\",\n \"st\",\n \"se\",\n \"sip\",\n \"si\",\n \"ses\",\n \"skoid\", // Signed object ID\n \"sktid\", // Signed tenant ID\n \"skt\", // Signed key start time\n \"ske\", // Signed key expiry time\n \"sks\", // Signed key service\n \"skv\", // Signed key version\n \"sr\",\n \"sp\",\n \"sig\",\n \"rscc\",\n \"rscd\",\n \"rsce\",\n \"rscl\",\n \"rsct\",\n \"saoid\",\n \"scid\",\n ];\n const queries: string[] = [];\n\n for (const param of params) {\n switch (param) {\n case \"sv\":\n this.tryAppendQueryParameter(queries, param, this.version);\n break;\n case \"ss\":\n this.tryAppendQueryParameter(queries, param, this.services);\n break;\n case \"srt\":\n this.tryAppendQueryParameter(queries, param, this.resourceTypes);\n break;\n case \"spr\":\n this.tryAppendQueryParameter(queries, param, this.protocol);\n break;\n case \"st\":\n this.tryAppendQueryParameter(\n queries,\n param,\n this.startsOn ? truncatedISO8061Date(this.startsOn, false) : undefined\n );\n break;\n case \"se\":\n this.tryAppendQueryParameter(\n queries,\n param,\n this.expiresOn ? truncatedISO8061Date(this.expiresOn, false) : undefined\n );\n break;\n case \"sip\":\n this.tryAppendQueryParameter(\n queries,\n param,\n this.ipRange ? ipRangeToString(this.ipRange) : undefined\n );\n break;\n case \"si\":\n this.tryAppendQueryParameter(queries, param, this.identifier);\n break;\n case \"ses\":\n this.tryAppendQueryParameter(queries, param, this.encryptionScope);\n break;\n case \"skoid\": // Signed object ID\n this.tryAppendQueryParameter(queries, param, this.signedOid);\n break;\n case \"sktid\": // Signed tenant ID\n this.tryAppendQueryParameter(queries, param, this.signedTenantId);\n break;\n case \"skt\": // Signed key start time\n this.tryAppendQueryParameter(\n queries,\n param,\n this.signedStartsOn ? truncatedISO8061Date(this.signedStartsOn, false) : undefined\n );\n break;\n case \"ske\": // Signed key expiry time\n this.tryAppendQueryParameter(\n queries,\n param,\n this.signedExpiresOn ? truncatedISO8061Date(this.signedExpiresOn, false) : undefined\n );\n break;\n case \"sks\": // Signed key service\n this.tryAppendQueryParameter(queries, param, this.signedService);\n break;\n case \"skv\": // Signed key version\n this.tryAppendQueryParameter(queries, param, this.signedVersion);\n break;\n case \"sr\":\n this.tryAppendQueryParameter(queries, param, this.resource);\n break;\n case \"sp\":\n this.tryAppendQueryParameter(queries, param, this.permissions);\n break;\n case \"sig\":\n this.tryAppendQueryParameter(queries, param, this.signature);\n break;\n case \"rscc\":\n this.tryAppendQueryParameter(queries, param, this.cacheControl);\n break;\n case \"rscd\":\n this.tryAppendQueryParameter(queries, param, this.contentDisposition);\n break;\n case \"rsce\":\n this.tryAppendQueryParameter(queries, param, this.contentEncoding);\n break;\n case \"rscl\":\n this.tryAppendQueryParameter(queries, param, this.contentLanguage);\n break;\n case \"rsct\":\n this.tryAppendQueryParameter(queries, param, this.contentType);\n break;\n case \"saoid\":\n this.tryAppendQueryParameter(queries, param, this.preauthorizedAgentObjectId);\n break;\n case \"scid\":\n this.tryAppendQueryParameter(queries, param, this.correlationId);\n break;\n }\n }\n return queries.join(\"&\");\n }\n\n /**\n * A private helper method used to filter and append query key/value pairs into an array.\n *\n * @param queries -\n * @param key -\n * @param value -\n */\n private tryAppendQueryParameter(queries: string[], key: string, value?: string): void {\n if (!value) {\n return;\n }\n\n key = encodeURIComponent(key);\n value = encodeURIComponent(value);\n if (key.length > 0 && value.length > 0) {\n queries.push(`${key}=${value}`);\n }\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\nimport { BlobSASPermissions } from \"./BlobSASPermissions\";\nimport { UserDelegationKey } from \"../BlobServiceClient\";\nimport { ContainerSASPermissions } from \"./ContainerSASPermissions\";\nimport { StorageSharedKeyCredential } from \"../credentials/StorageSharedKeyCredential\";\nimport { UserDelegationKeyCredential } from \"../credentials/UserDelegationKeyCredential\";\nimport { ipRangeToString, SasIPRange } from \"./SasIPRange\";\nimport { SASProtocol, SASQueryParameters } from \"./SASQueryParameters\";\nimport { SERVICE_VERSION } from \"../utils/constants\";\nimport { truncatedISO8061Date } from \"../utils/utils.common\";\n\n/**\n * ONLY AVAILABLE IN NODE.JS RUNTIME.\n *\n * BlobSASSignatureValues is used to help generating Blob service SAS tokens for containers or blobs.\n */\nexport interface BlobSASSignatureValues {\n /**\n * The version of the service this SAS will target. If not specified, it will default to the version targeted by the\n * library.\n */\n version?: string;\n\n /**\n * Optional. SAS protocols, HTTPS only or HTTPSandHTTP\n */\n protocol?: SASProtocol;\n\n /**\n * Optional. When the SAS will take effect.\n */\n startsOn?: Date;\n\n /**\n * Optional only when identifier is provided. The time after which the SAS will no longer work.\n */\n expiresOn?: Date;\n\n /**\n * Optional only when identifier is provided.\n * Please refer to either {@link ContainerSASPermissions} or {@link BlobSASPermissions} depending on the resource\n * being accessed for help constructing the permissions string.\n */\n permissions?: BlobSASPermissions | ContainerSASPermissions;\n\n /**\n * Optional. IP ranges allowed in this SAS.\n */\n ipRange?: SasIPRange;\n\n /**\n * The name of the container the SAS user may access.\n */\n containerName: string;\n\n /**\n * Optional. The blob name of the SAS user may access. Required if snapshotTime or versionId is provided.\n */\n blobName?: string;\n\n /**\n * Optional. Snapshot timestamp string the SAS user may access. Only supported from API version 2018-11-09.\n */\n snapshotTime?: string;\n\n /**\n * Optional. VersionId of the blob version the SAS user may access. Only supported from API version 2019-10-10.\n */\n versionId?: string;\n\n /**\n * Optional. The name of the access policy on the container this SAS references if any.\n *\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/establishing-a-stored-access-policy\n */\n identifier?: string;\n\n /**\n * Optional. Encryption scope to use when sending requests authorized with this SAS URI.\n */\n encryptionScope?: string;\n\n /**\n * Optional. The cache-control header for the SAS.\n */\n cacheControl?: string;\n\n /**\n * Optional. The content-disposition header for the SAS.\n */\n contentDisposition?: string;\n\n /**\n * Optional. The content-encoding header for the SAS.\n */\n contentEncoding?: string;\n\n /**\n * Optional. The content-language header for the SAS.\n */\n contentLanguage?: string;\n\n /**\n * Optional. The content-type header for the SAS.\n */\n contentType?: string;\n\n /**\n * Optional. Beginning in version 2020-02-10, specifies the Authorized AAD Object ID in GUID format. The AAD Object ID of a user\n * authorized by the owner of the user delegation key to perform the action granted by the SAS. The Azure Storage service will\n * ensure that the owner of the user delegation key has the required permissions before granting access but no additional permission\n * check for the user specified in this value will be performed. This is only used for User Delegation SAS.\n */\n preauthorizedAgentObjectId?: string;\n\n /**\n * Optional. Beginning in version 2020-02-10, this is a GUID value that will be logged in the storage diagnostic logs and can be used to\n * correlate SAS generation with storage resource access. This is only used for User Delegation SAS.\n */\n correlationId?: string;\n}\n\n/**\n * ONLY AVAILABLE IN NODE.JS RUNTIME.\n *\n * Creates an instance of SASQueryParameters.\n *\n * Only accepts required settings needed to create a SAS. For optional settings please\n * set corresponding properties directly, such as permissions, startsOn and identifier.\n *\n * WARNING: When identifier is not provided, permissions and expiresOn are required.\n * You MUST assign value to identifier or expiresOn & permissions manually if you initial with\n * this constructor.\n *\n * Fill in the required details before running the following snippets.\n *\n * Example usage:\n *\n * ```js\n * // Generate service level SAS for a container\n * const containerSAS = generateBlobSASQueryParameters({\n * containerName, // Required\n * permissions: ContainerSASPermissions.parse(\"racwdl\"), // Required\n * startsOn: new Date(), // Optional\n * expiresOn: new Date(new Date().valueOf() + 86400), // Required. Date type\n * ipRange: { start: \"0.0.0.0\", end: \"255.255.255.255\" }, // Optional\n * protocol: SASProtocol.HttpsAndHttp, // Optional\n * version: \"2016-05-31\" // Optional\n * },\n * sharedKeyCredential // StorageSharedKeyCredential - `new StorageSharedKeyCredential(account, accountKey)`\n * ).toString();\n * ```\n *\n * Example using an identifier:\n *\n * ```js\n * // Generate service level SAS for a container with identifier\n * // startsOn & permissions are optional when identifier is provided\n * const identifier = \"unique-id\";\n * await containerClient.setAccessPolicy(undefined, [\n * {\n * accessPolicy: {\n * expiresOn: new Date(new Date().valueOf() + 86400), // Date type\n * permissions: ContainerSASPermissions.parse(\"racwdl\").toString(),\n * startsOn: new Date() // Date type\n * },\n * id: identifier\n * }\n * ]);\n *\n * const containerSAS = generateBlobSASQueryParameters(\n * {\n * containerName, // Required\n * identifier // Required\n * },\n * sharedKeyCredential // StorageSharedKeyCredential - `new StorageSharedKeyCredential(account, accountKey)`\n * ).toString();\n * ```\n *\n * Example using a blob name:\n *\n * ```js\n * // Generate service level SAS for a blob\n * const blobSAS = generateBlobSASQueryParameters({\n * containerName, // Required\n * blobName, // Required\n * permissions: BlobSASPermissions.parse(\"racwd\"), // Required\n * startsOn: new Date(), // Optional\n * expiresOn: new Date(new Date().valueOf() + 86400), // Required. Date type\n * cacheControl: \"cache-control-override\", // Optional\n * contentDisposition: \"content-disposition-override\", // Optional\n * contentEncoding: \"content-encoding-override\", // Optional\n * contentLanguage: \"content-language-override\", // Optional\n * contentType: \"content-type-override\", // Optional\n * ipRange: { start: \"0.0.0.0\", end: \"255.255.255.255\" }, // Optional\n * protocol: SASProtocol.HttpsAndHttp, // Optional\n * version: \"2016-05-31\" // Optional\n * },\n * sharedKeyCredential // StorageSharedKeyCredential - `new StorageSharedKeyCredential(account, accountKey)`\n * ).toString();\n * ```\n *\n * @param blobSASSignatureValues -\n * @param sharedKeyCredential -\n */\nexport function generateBlobSASQueryParameters(\n blobSASSignatureValues: BlobSASSignatureValues,\n sharedKeyCredential: StorageSharedKeyCredential\n): SASQueryParameters;\n\n/**\n * ONLY AVAILABLE IN NODE.JS RUNTIME.\n *\n * Creates an instance of SASQueryParameters.\n * WARNING: identifier will be ignored when generating user delegation SAS, permissions and expiresOn are required.\n *\n * Example usage:\n *\n * ```js\n * // Generate user delegation SAS for a container\n * const userDelegationKey = await blobServiceClient.getUserDelegationKey(startsOn, expiresOn);\n * const containerSAS = generateBlobSASQueryParameters({\n * containerName, // Required\n * permissions: ContainerSASPermissions.parse(\"racwdl\"), // Required\n * startsOn, // Optional. Date type\n * expiresOn, // Required. Date type\n * ipRange: { start: \"0.0.0.0\", end: \"255.255.255.255\" }, // Optional\n * protocol: SASProtocol.HttpsAndHttp, // Optional\n * version: \"2018-11-09\" // Must greater than or equal to 2018-11-09 to generate user delegation SAS\n * },\n * userDelegationKey, // UserDelegationKey\n * accountName\n * ).toString();\n * ```\n *\n * @param blobSASSignatureValues -\n * @param userDelegationKey - Return value of `blobServiceClient.getUserDelegationKey()`\n * @param accountName -\n */\nexport function generateBlobSASQueryParameters(\n blobSASSignatureValues: BlobSASSignatureValues,\n userDelegationKey: UserDelegationKey,\n accountName: string\n): SASQueryParameters;\n\nexport function generateBlobSASQueryParameters(\n blobSASSignatureValues: BlobSASSignatureValues,\n sharedKeyCredentialOrUserDelegationKey: StorageSharedKeyCredential | UserDelegationKey,\n accountName?: string\n): SASQueryParameters {\n const version = blobSASSignatureValues.version ? blobSASSignatureValues.version : SERVICE_VERSION;\n\n const sharedKeyCredential =\n sharedKeyCredentialOrUserDelegationKey instanceof StorageSharedKeyCredential\n ? sharedKeyCredentialOrUserDelegationKey\n : undefined;\n let userDelegationKeyCredential: UserDelegationKeyCredential | undefined;\n\n if (sharedKeyCredential === undefined && accountName !== undefined) {\n userDelegationKeyCredential = new UserDelegationKeyCredential(\n accountName,\n sharedKeyCredentialOrUserDelegationKey as UserDelegationKey\n );\n }\n\n if (sharedKeyCredential === undefined && userDelegationKeyCredential === undefined) {\n throw TypeError(\"Invalid sharedKeyCredential, userDelegationKey or accountName.\");\n }\n\n // Version 2020-12-06 adds support for encryptionscope in SAS.\n if (version >= \"2020-12-06\") {\n if (sharedKeyCredential !== undefined) {\n return generateBlobSASQueryParameters20201206(blobSASSignatureValues, sharedKeyCredential);\n } else {\n return generateBlobSASQueryParametersUDK20201206(\n blobSASSignatureValues,\n userDelegationKeyCredential!\n );\n }\n }\n\n // Version 2019-12-12 adds support for the blob tags permission.\n // Version 2018-11-09 adds support for the signed resource and signed blob snapshot time fields.\n // https://docs.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas#constructing-the-signature-string\n if (version >= \"2018-11-09\") {\n if (sharedKeyCredential !== undefined) {\n return generateBlobSASQueryParameters20181109(blobSASSignatureValues, sharedKeyCredential);\n } else {\n // Version 2020-02-10 delegation SAS signature construction includes preauthorizedAgentObjectId, agentObjectId, correlationId.\n if (version >= \"2020-02-10\") {\n return generateBlobSASQueryParametersUDK20200210(\n blobSASSignatureValues,\n userDelegationKeyCredential!\n );\n } else {\n return generateBlobSASQueryParametersUDK20181109(\n blobSASSignatureValues,\n userDelegationKeyCredential!\n );\n }\n }\n }\n\n if (version >= \"2015-04-05\") {\n if (sharedKeyCredential !== undefined) {\n return generateBlobSASQueryParameters20150405(blobSASSignatureValues, sharedKeyCredential);\n } else {\n throw new RangeError(\n \"'version' must be >= '2018-11-09' when generating user delegation SAS using user delegation key.\"\n );\n }\n }\n\n throw new RangeError(\"'version' must be >= '2015-04-05'.\");\n}\n\n/**\n * ONLY AVAILABLE IN NODE.JS RUNTIME.\n * IMPLEMENTATION FOR API VERSION FROM 2015-04-05 AND BEFORE 2018-11-09.\n *\n * Creates an instance of SASQueryParameters.\n *\n * Only accepts required settings needed to create a SAS. For optional settings please\n * set corresponding properties directly, such as permissions, startsOn and identifier.\n *\n * WARNING: When identifier is not provided, permissions and expiresOn are required.\n * You MUST assign value to identifier or expiresOn & permissions manually if you initial with\n * this constructor.\n *\n * @param blobSASSignatureValues -\n * @param sharedKeyCredential -\n */\nfunction generateBlobSASQueryParameters20150405(\n blobSASSignatureValues: BlobSASSignatureValues,\n sharedKeyCredential: StorageSharedKeyCredential\n): SASQueryParameters {\n blobSASSignatureValues = SASSignatureValuesSanityCheckAndAutofill(blobSASSignatureValues);\n\n if (\n !blobSASSignatureValues.identifier &&\n !(blobSASSignatureValues.permissions && blobSASSignatureValues.expiresOn)\n ) {\n throw new RangeError(\n \"Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.\"\n );\n }\n\n let resource: string = \"c\";\n if (blobSASSignatureValues.blobName) {\n resource = \"b\";\n }\n\n // Calling parse and toString guarantees the proper ordering and throws on invalid characters.\n let verifiedPermissions: string | undefined;\n if (blobSASSignatureValues.permissions) {\n if (blobSASSignatureValues.blobName) {\n verifiedPermissions = BlobSASPermissions.parse(\n blobSASSignatureValues.permissions.toString()\n ).toString();\n } else {\n verifiedPermissions = ContainerSASPermissions.parse(\n blobSASSignatureValues.permissions.toString()\n ).toString();\n }\n }\n\n // Signature is generated on the un-url-encoded values.\n const stringToSign = [\n verifiedPermissions ? verifiedPermissions : \"\",\n blobSASSignatureValues.startsOn\n ? truncatedISO8061Date(blobSASSignatureValues.startsOn, false)\n : \"\",\n blobSASSignatureValues.expiresOn\n ? truncatedISO8061Date(blobSASSignatureValues.expiresOn, false)\n : \"\",\n getCanonicalName(\n sharedKeyCredential.accountName,\n blobSASSignatureValues.containerName,\n blobSASSignatureValues.blobName\n ),\n blobSASSignatureValues.identifier,\n blobSASSignatureValues.ipRange ? ipRangeToString(blobSASSignatureValues.ipRange) : \"\",\n blobSASSignatureValues.protocol ? blobSASSignatureValues.protocol : \"\",\n blobSASSignatureValues.version,\n blobSASSignatureValues.cacheControl ? blobSASSignatureValues.cacheControl : \"\",\n blobSASSignatureValues.contentDisposition ? blobSASSignatureValues.contentDisposition : \"\",\n blobSASSignatureValues.contentEncoding ? blobSASSignatureValues.contentEncoding : \"\",\n blobSASSignatureValues.contentLanguage ? blobSASSignatureValues.contentLanguage : \"\",\n blobSASSignatureValues.contentType ? blobSASSignatureValues.contentType : \"\",\n ].join(\"\\n\");\n\n const signature = sharedKeyCredential.computeHMACSHA256(stringToSign);\n\n return new SASQueryParameters(\n blobSASSignatureValues.version!,\n signature,\n verifiedPermissions,\n undefined,\n undefined,\n blobSASSignatureValues.protocol,\n blobSASSignatureValues.startsOn,\n blobSASSignatureValues.expiresOn,\n blobSASSignatureValues.ipRange,\n blobSASSignatureValues.identifier,\n resource,\n blobSASSignatureValues.cacheControl,\n blobSASSignatureValues.contentDisposition,\n blobSASSignatureValues.contentEncoding,\n blobSASSignatureValues.contentLanguage,\n blobSASSignatureValues.contentType\n );\n}\n\n/**\n * ONLY AVAILABLE IN NODE.JS RUNTIME.\n * IMPLEMENTATION FOR API VERSION FROM 2018-11-09.\n *\n * Creates an instance of SASQueryParameters.\n *\n * Only accepts required settings needed to create a SAS. For optional settings please\n * set corresponding properties directly, such as permissions, startsOn and identifier.\n *\n * WARNING: When identifier is not provided, permissions and expiresOn are required.\n * You MUST assign value to identifier or expiresOn & permissions manually if you initial with\n * this constructor.\n *\n * @param blobSASSignatureValues -\n * @param sharedKeyCredential -\n */\nfunction generateBlobSASQueryParameters20181109(\n blobSASSignatureValues: BlobSASSignatureValues,\n sharedKeyCredential: StorageSharedKeyCredential\n): SASQueryParameters {\n blobSASSignatureValues = SASSignatureValuesSanityCheckAndAutofill(blobSASSignatureValues);\n\n if (\n !blobSASSignatureValues.identifier &&\n !(blobSASSignatureValues.permissions && blobSASSignatureValues.expiresOn)\n ) {\n throw new RangeError(\n \"Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.\"\n );\n }\n\n let resource: string = \"c\";\n let timestamp = blobSASSignatureValues.snapshotTime;\n if (blobSASSignatureValues.blobName) {\n resource = \"b\";\n if (blobSASSignatureValues.snapshotTime) {\n resource = \"bs\";\n } else if (blobSASSignatureValues.versionId) {\n resource = \"bv\";\n timestamp = blobSASSignatureValues.versionId;\n }\n }\n\n // Calling parse and toString guarantees the proper ordering and throws on invalid characters.\n let verifiedPermissions: string | undefined;\n if (blobSASSignatureValues.permissions) {\n if (blobSASSignatureValues.blobName) {\n verifiedPermissions = BlobSASPermissions.parse(\n blobSASSignatureValues.permissions.toString()\n ).toString();\n } else {\n verifiedPermissions = ContainerSASPermissions.parse(\n blobSASSignatureValues.permissions.toString()\n ).toString();\n }\n }\n\n // Signature is generated on the un-url-encoded values.\n const stringToSign = [\n verifiedPermissions ? verifiedPermissions : \"\",\n blobSASSignatureValues.startsOn\n ? truncatedISO8061Date(blobSASSignatureValues.startsOn, false)\n : \"\",\n blobSASSignatureValues.expiresOn\n ? truncatedISO8061Date(blobSASSignatureValues.expiresOn, false)\n : \"\",\n getCanonicalName(\n sharedKeyCredential.accountName,\n blobSASSignatureValues.containerName,\n blobSASSignatureValues.blobName\n ),\n blobSASSignatureValues.identifier,\n blobSASSignatureValues.ipRange ? ipRangeToString(blobSASSignatureValues.ipRange) : \"\",\n blobSASSignatureValues.protocol ? blobSASSignatureValues.protocol : \"\",\n blobSASSignatureValues.version,\n resource,\n timestamp,\n blobSASSignatureValues.cacheControl ? blobSASSignatureValues.cacheControl : \"\",\n blobSASSignatureValues.contentDisposition ? blobSASSignatureValues.contentDisposition : \"\",\n blobSASSignatureValues.contentEncoding ? blobSASSignatureValues.contentEncoding : \"\",\n blobSASSignatureValues.contentLanguage ? blobSASSignatureValues.contentLanguage : \"\",\n blobSASSignatureValues.contentType ? blobSASSignatureValues.contentType : \"\",\n ].join(\"\\n\");\n\n const signature = sharedKeyCredential.computeHMACSHA256(stringToSign);\n\n return new SASQueryParameters(\n blobSASSignatureValues.version!,\n signature,\n verifiedPermissions,\n undefined,\n undefined,\n blobSASSignatureValues.protocol,\n blobSASSignatureValues.startsOn,\n blobSASSignatureValues.expiresOn,\n blobSASSignatureValues.ipRange,\n blobSASSignatureValues.identifier,\n resource,\n blobSASSignatureValues.cacheControl,\n blobSASSignatureValues.contentDisposition,\n blobSASSignatureValues.contentEncoding,\n blobSASSignatureValues.contentLanguage,\n blobSASSignatureValues.contentType\n );\n}\n\n/**\n * ONLY AVAILABLE IN NODE.JS RUNTIME.\n * IMPLEMENTATION FOR API VERSION FROM 2020-12-06.\n *\n * Creates an instance of SASQueryParameters.\n *\n * Only accepts required settings needed to create a SAS. For optional settings please\n * set corresponding properties directly, such as permissions, startsOn and identifier.\n *\n * WARNING: When identifier is not provided, permissions and expiresOn are required.\n * You MUST assign value to identifier or expiresOn & permissions manually if you initial with\n * this constructor.\n *\n * @param blobSASSignatureValues -\n * @param sharedKeyCredential -\n */\nfunction generateBlobSASQueryParameters20201206(\n blobSASSignatureValues: BlobSASSignatureValues,\n sharedKeyCredential: StorageSharedKeyCredential\n): SASQueryParameters {\n blobSASSignatureValues = SASSignatureValuesSanityCheckAndAutofill(blobSASSignatureValues);\n\n if (\n !blobSASSignatureValues.identifier &&\n !(blobSASSignatureValues.permissions && blobSASSignatureValues.expiresOn)\n ) {\n throw new RangeError(\n \"Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.\"\n );\n }\n\n let resource: string = \"c\";\n let timestamp = blobSASSignatureValues.snapshotTime;\n if (blobSASSignatureValues.blobName) {\n resource = \"b\";\n if (blobSASSignatureValues.snapshotTime) {\n resource = \"bs\";\n } else if (blobSASSignatureValues.versionId) {\n resource = \"bv\";\n timestamp = blobSASSignatureValues.versionId;\n }\n }\n\n // Calling parse and toString guarantees the proper ordering and throws on invalid characters.\n let verifiedPermissions: string | undefined;\n if (blobSASSignatureValues.permissions) {\n if (blobSASSignatureValues.blobName) {\n verifiedPermissions = BlobSASPermissions.parse(\n blobSASSignatureValues.permissions.toString()\n ).toString();\n } else {\n verifiedPermissions = ContainerSASPermissions.parse(\n blobSASSignatureValues.permissions.toString()\n ).toString();\n }\n }\n\n // Signature is generated on the un-url-encoded values.\n const stringToSign = [\n verifiedPermissions ? verifiedPermissions : \"\",\n blobSASSignatureValues.startsOn\n ? truncatedISO8061Date(blobSASSignatureValues.startsOn, false)\n : \"\",\n blobSASSignatureValues.expiresOn\n ? truncatedISO8061Date(blobSASSignatureValues.expiresOn, false)\n : \"\",\n getCanonicalName(\n sharedKeyCredential.accountName,\n blobSASSignatureValues.containerName,\n blobSASSignatureValues.blobName\n ),\n blobSASSignatureValues.identifier,\n blobSASSignatureValues.ipRange ? ipRangeToString(blobSASSignatureValues.ipRange) : \"\",\n blobSASSignatureValues.protocol ? blobSASSignatureValues.protocol : \"\",\n blobSASSignatureValues.version,\n resource,\n timestamp,\n blobSASSignatureValues.encryptionScope,\n blobSASSignatureValues.cacheControl ? blobSASSignatureValues.cacheControl : \"\",\n blobSASSignatureValues.contentDisposition ? blobSASSignatureValues.contentDisposition : \"\",\n blobSASSignatureValues.contentEncoding ? blobSASSignatureValues.contentEncoding : \"\",\n blobSASSignatureValues.contentLanguage ? blobSASSignatureValues.contentLanguage : \"\",\n blobSASSignatureValues.contentType ? blobSASSignatureValues.contentType : \"\",\n ].join(\"\\n\");\n\n const signature = sharedKeyCredential.computeHMACSHA256(stringToSign);\n\n return new SASQueryParameters(\n blobSASSignatureValues.version!,\n signature,\n verifiedPermissions,\n undefined,\n undefined,\n blobSASSignatureValues.protocol,\n blobSASSignatureValues.startsOn,\n blobSASSignatureValues.expiresOn,\n blobSASSignatureValues.ipRange,\n blobSASSignatureValues.identifier,\n resource,\n blobSASSignatureValues.cacheControl,\n blobSASSignatureValues.contentDisposition,\n blobSASSignatureValues.contentEncoding,\n blobSASSignatureValues.contentLanguage,\n blobSASSignatureValues.contentType,\n undefined,\n undefined,\n undefined,\n blobSASSignatureValues.encryptionScope\n );\n}\n\n/**\n * ONLY AVAILABLE IN NODE.JS RUNTIME.\n * IMPLEMENTATION FOR API VERSION FROM 2018-11-09.\n *\n * Creates an instance of SASQueryParameters.\n *\n * Only accepts required settings needed to create a SAS. For optional settings please\n * set corresponding properties directly, such as permissions, startsOn.\n *\n * WARNING: identifier will be ignored, permissions and expiresOn are required.\n *\n * @param blobSASSignatureValues -\n * @param userDelegationKeyCredential -\n */\nfunction generateBlobSASQueryParametersUDK20181109(\n blobSASSignatureValues: BlobSASSignatureValues,\n userDelegationKeyCredential: UserDelegationKeyCredential\n): SASQueryParameters {\n blobSASSignatureValues = SASSignatureValuesSanityCheckAndAutofill(blobSASSignatureValues);\n\n // Stored access policies are not supported for a user delegation SAS.\n if (!blobSASSignatureValues.permissions || !blobSASSignatureValues.expiresOn) {\n throw new RangeError(\n \"Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.\"\n );\n }\n\n let resource: string = \"c\";\n let timestamp = blobSASSignatureValues.snapshotTime;\n if (blobSASSignatureValues.blobName) {\n resource = \"b\";\n if (blobSASSignatureValues.snapshotTime) {\n resource = \"bs\";\n } else if (blobSASSignatureValues.versionId) {\n resource = \"bv\";\n timestamp = blobSASSignatureValues.versionId;\n }\n }\n\n // Calling parse and toString guarantees the proper ordering and throws on invalid characters.\n let verifiedPermissions: string | undefined;\n if (blobSASSignatureValues.permissions) {\n if (blobSASSignatureValues.blobName) {\n verifiedPermissions = BlobSASPermissions.parse(\n blobSASSignatureValues.permissions.toString()\n ).toString();\n } else {\n verifiedPermissions = ContainerSASPermissions.parse(\n blobSASSignatureValues.permissions.toString()\n ).toString();\n }\n }\n\n // Signature is generated on the un-url-encoded values.\n const stringToSign = [\n verifiedPermissions ? verifiedPermissions : \"\",\n blobSASSignatureValues.startsOn\n ? truncatedISO8061Date(blobSASSignatureValues.startsOn, false)\n : \"\",\n blobSASSignatureValues.expiresOn\n ? truncatedISO8061Date(blobSASSignatureValues.expiresOn, false)\n : \"\",\n getCanonicalName(\n userDelegationKeyCredential.accountName,\n blobSASSignatureValues.containerName,\n blobSASSignatureValues.blobName\n ),\n userDelegationKeyCredential.userDelegationKey.signedObjectId,\n userDelegationKeyCredential.userDelegationKey.signedTenantId,\n userDelegationKeyCredential.userDelegationKey.signedStartsOn\n ? truncatedISO8061Date(userDelegationKeyCredential.userDelegationKey.signedStartsOn, false)\n : \"\",\n userDelegationKeyCredential.userDelegationKey.signedExpiresOn\n ? truncatedISO8061Date(userDelegationKeyCredential.userDelegationKey.signedExpiresOn, false)\n : \"\",\n userDelegationKeyCredential.userDelegationKey.signedService,\n userDelegationKeyCredential.userDelegationKey.signedVersion,\n blobSASSignatureValues.ipRange ? ipRangeToString(blobSASSignatureValues.ipRange) : \"\",\n blobSASSignatureValues.protocol ? blobSASSignatureValues.protocol : \"\",\n blobSASSignatureValues.version,\n resource,\n timestamp,\n blobSASSignatureValues.cacheControl,\n blobSASSignatureValues.contentDisposition,\n blobSASSignatureValues.contentEncoding,\n blobSASSignatureValues.contentLanguage,\n blobSASSignatureValues.contentType,\n ].join(\"\\n\");\n\n const signature = userDelegationKeyCredential.computeHMACSHA256(stringToSign);\n return new SASQueryParameters(\n blobSASSignatureValues.version!,\n signature,\n verifiedPermissions,\n undefined,\n undefined,\n blobSASSignatureValues.protocol,\n blobSASSignatureValues.startsOn,\n blobSASSignatureValues.expiresOn,\n blobSASSignatureValues.ipRange,\n blobSASSignatureValues.identifier,\n resource,\n blobSASSignatureValues.cacheControl,\n blobSASSignatureValues.contentDisposition,\n blobSASSignatureValues.contentEncoding,\n blobSASSignatureValues.contentLanguage,\n blobSASSignatureValues.contentType,\n userDelegationKeyCredential.userDelegationKey\n );\n}\n\n/**\n * ONLY AVAILABLE IN NODE.JS RUNTIME.\n * IMPLEMENTATION FOR API VERSION FROM 2020-02-10.\n *\n * Creates an instance of SASQueryParameters.\n *\n * Only accepts required settings needed to create a SAS. For optional settings please\n * set corresponding properties directly, such as permissions, startsOn.\n *\n * WARNING: identifier will be ignored, permissions and expiresOn are required.\n *\n * @param blobSASSignatureValues -\n * @param userDelegationKeyCredential -\n */\nfunction generateBlobSASQueryParametersUDK20200210(\n blobSASSignatureValues: BlobSASSignatureValues,\n userDelegationKeyCredential: UserDelegationKeyCredential\n): SASQueryParameters {\n blobSASSignatureValues = SASSignatureValuesSanityCheckAndAutofill(blobSASSignatureValues);\n\n // Stored access policies are not supported for a user delegation SAS.\n if (!blobSASSignatureValues.permissions || !blobSASSignatureValues.expiresOn) {\n throw new RangeError(\n \"Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.\"\n );\n }\n\n let resource: string = \"c\";\n let timestamp = blobSASSignatureValues.snapshotTime;\n if (blobSASSignatureValues.blobName) {\n resource = \"b\";\n if (blobSASSignatureValues.snapshotTime) {\n resource = \"bs\";\n } else if (blobSASSignatureValues.versionId) {\n resource = \"bv\";\n timestamp = blobSASSignatureValues.versionId;\n }\n }\n\n // Calling parse and toString guarantees the proper ordering and throws on invalid characters.\n let verifiedPermissions: string | undefined;\n if (blobSASSignatureValues.permissions) {\n if (blobSASSignatureValues.blobName) {\n verifiedPermissions = BlobSASPermissions.parse(\n blobSASSignatureValues.permissions.toString()\n ).toString();\n } else {\n verifiedPermissions = ContainerSASPermissions.parse(\n blobSASSignatureValues.permissions.toString()\n ).toString();\n }\n }\n\n // Signature is generated on the un-url-encoded values.\n const stringToSign = [\n verifiedPermissions ? verifiedPermissions : \"\",\n blobSASSignatureValues.startsOn\n ? truncatedISO8061Date(blobSASSignatureValues.startsOn, false)\n : \"\",\n blobSASSignatureValues.expiresOn\n ? truncatedISO8061Date(blobSASSignatureValues.expiresOn, false)\n : \"\",\n getCanonicalName(\n userDelegationKeyCredential.accountName,\n blobSASSignatureValues.containerName,\n blobSASSignatureValues.blobName\n ),\n userDelegationKeyCredential.userDelegationKey.signedObjectId,\n userDelegationKeyCredential.userDelegationKey.signedTenantId,\n userDelegationKeyCredential.userDelegationKey.signedStartsOn\n ? truncatedISO8061Date(userDelegationKeyCredential.userDelegationKey.signedStartsOn, false)\n : \"\",\n userDelegationKeyCredential.userDelegationKey.signedExpiresOn\n ? truncatedISO8061Date(userDelegationKeyCredential.userDelegationKey.signedExpiresOn, false)\n : \"\",\n userDelegationKeyCredential.userDelegationKey.signedService,\n userDelegationKeyCredential.userDelegationKey.signedVersion,\n blobSASSignatureValues.preauthorizedAgentObjectId,\n undefined, // agentObjectId\n blobSASSignatureValues.correlationId,\n blobSASSignatureValues.ipRange ? ipRangeToString(blobSASSignatureValues.ipRange) : \"\",\n blobSASSignatureValues.protocol ? blobSASSignatureValues.protocol : \"\",\n blobSASSignatureValues.version,\n resource,\n timestamp,\n blobSASSignatureValues.cacheControl,\n blobSASSignatureValues.contentDisposition,\n blobSASSignatureValues.contentEncoding,\n blobSASSignatureValues.contentLanguage,\n blobSASSignatureValues.contentType,\n ].join(\"\\n\");\n\n const signature = userDelegationKeyCredential.computeHMACSHA256(stringToSign);\n return new SASQueryParameters(\n blobSASSignatureValues.version!,\n signature,\n verifiedPermissions,\n undefined,\n undefined,\n blobSASSignatureValues.protocol,\n blobSASSignatureValues.startsOn,\n blobSASSignatureValues.expiresOn,\n blobSASSignatureValues.ipRange,\n blobSASSignatureValues.identifier,\n resource,\n blobSASSignatureValues.cacheControl,\n blobSASSignatureValues.contentDisposition,\n blobSASSignatureValues.contentEncoding,\n blobSASSignatureValues.contentLanguage,\n blobSASSignatureValues.contentType,\n userDelegationKeyCredential.userDelegationKey,\n blobSASSignatureValues.preauthorizedAgentObjectId,\n blobSASSignatureValues.correlationId\n );\n}\n\n/**\n * ONLY AVAILABLE IN NODE.JS RUNTIME.\n * IMPLEMENTATION FOR API VERSION FROM 2020-12-06.\n *\n * Creates an instance of SASQueryParameters.\n *\n * Only accepts required settings needed to create a SAS. For optional settings please\n * set corresponding properties directly, such as permissions, startsOn.\n *\n * WARNING: identifier will be ignored, permissions and expiresOn are required.\n *\n * @param blobSASSignatureValues -\n * @param userDelegationKeyCredential -\n */\nfunction generateBlobSASQueryParametersUDK20201206(\n blobSASSignatureValues: BlobSASSignatureValues,\n userDelegationKeyCredential: UserDelegationKeyCredential\n): SASQueryParameters {\n blobSASSignatureValues = SASSignatureValuesSanityCheckAndAutofill(blobSASSignatureValues);\n\n // Stored access policies are not supported for a user delegation SAS.\n if (!blobSASSignatureValues.permissions || !blobSASSignatureValues.expiresOn) {\n throw new RangeError(\n \"Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.\"\n );\n }\n\n let resource: string = \"c\";\n let timestamp = blobSASSignatureValues.snapshotTime;\n if (blobSASSignatureValues.blobName) {\n resource = \"b\";\n if (blobSASSignatureValues.snapshotTime) {\n resource = \"bs\";\n } else if (blobSASSignatureValues.versionId) {\n resource = \"bv\";\n timestamp = blobSASSignatureValues.versionId;\n }\n }\n\n // Calling parse and toString guarantees the proper ordering and throws on invalid characters.\n let verifiedPermissions: string | undefined;\n if (blobSASSignatureValues.permissions) {\n if (blobSASSignatureValues.blobName) {\n verifiedPermissions = BlobSASPermissions.parse(\n blobSASSignatureValues.permissions.toString()\n ).toString();\n } else {\n verifiedPermissions = ContainerSASPermissions.parse(\n blobSASSignatureValues.permissions.toString()\n ).toString();\n }\n }\n\n // Signature is generated on the un-url-encoded values.\n const stringToSign = [\n verifiedPermissions ? verifiedPermissions : \"\",\n blobSASSignatureValues.startsOn\n ? truncatedISO8061Date(blobSASSignatureValues.startsOn, false)\n : \"\",\n blobSASSignatureValues.expiresOn\n ? truncatedISO8061Date(blobSASSignatureValues.expiresOn, false)\n : \"\",\n getCanonicalName(\n userDelegationKeyCredential.accountName,\n blobSASSignatureValues.containerName,\n blobSASSignatureValues.blobName\n ),\n userDelegationKeyCredential.userDelegationKey.signedObjectId,\n userDelegationKeyCredential.userDelegationKey.signedTenantId,\n userDelegationKeyCredential.userDelegationKey.signedStartsOn\n ? truncatedISO8061Date(userDelegationKeyCredential.userDelegationKey.signedStartsOn, false)\n : \"\",\n userDelegationKeyCredential.userDelegationKey.signedExpiresOn\n ? truncatedISO8061Date(userDelegationKeyCredential.userDelegationKey.signedExpiresOn, false)\n : \"\",\n userDelegationKeyCredential.userDelegationKey.signedService,\n userDelegationKeyCredential.userDelegationKey.signedVersion,\n blobSASSignatureValues.preauthorizedAgentObjectId,\n undefined, // agentObjectId\n blobSASSignatureValues.correlationId,\n blobSASSignatureValues.ipRange ? ipRangeToString(blobSASSignatureValues.ipRange) : \"\",\n blobSASSignatureValues.protocol ? blobSASSignatureValues.protocol : \"\",\n blobSASSignatureValues.version,\n resource,\n timestamp,\n blobSASSignatureValues.encryptionScope,\n blobSASSignatureValues.cacheControl,\n blobSASSignatureValues.contentDisposition,\n blobSASSignatureValues.contentEncoding,\n blobSASSignatureValues.contentLanguage,\n blobSASSignatureValues.contentType,\n ].join(\"\\n\");\n\n const signature = userDelegationKeyCredential.computeHMACSHA256(stringToSign);\n return new SASQueryParameters(\n blobSASSignatureValues.version!,\n signature,\n verifiedPermissions,\n undefined,\n undefined,\n blobSASSignatureValues.protocol,\n blobSASSignatureValues.startsOn,\n blobSASSignatureValues.expiresOn,\n blobSASSignatureValues.ipRange,\n blobSASSignatureValues.identifier,\n resource,\n blobSASSignatureValues.cacheControl,\n blobSASSignatureValues.contentDisposition,\n blobSASSignatureValues.contentEncoding,\n blobSASSignatureValues.contentLanguage,\n blobSASSignatureValues.contentType,\n userDelegationKeyCredential.userDelegationKey,\n blobSASSignatureValues.preauthorizedAgentObjectId,\n blobSASSignatureValues.correlationId,\n blobSASSignatureValues.encryptionScope\n );\n}\n\nfunction getCanonicalName(accountName: string, containerName: string, blobName?: string): string {\n // Container: \"/blob/account/containerName\"\n // Blob: \"/blob/account/containerName/blobName\"\n const elements: string[] = [`/blob/${accountName}/${containerName}`];\n if (blobName) {\n elements.push(`/${blobName}`);\n }\n return elements.join(\"\");\n}\n\nfunction SASSignatureValuesSanityCheckAndAutofill(\n blobSASSignatureValues: BlobSASSignatureValues\n): BlobSASSignatureValues {\n const version = blobSASSignatureValues.version ? blobSASSignatureValues.version : SERVICE_VERSION;\n if (blobSASSignatureValues.snapshotTime && version < \"2018-11-09\") {\n throw RangeError(\"'version' must be >= '2018-11-09' when providing 'snapshotTime'.\");\n }\n if (blobSASSignatureValues.blobName === undefined && blobSASSignatureValues.snapshotTime) {\n throw RangeError(\"Must provide 'blobName' when providing 'snapshotTime'.\");\n }\n\n if (blobSASSignatureValues.versionId && version < \"2019-10-10\") {\n throw RangeError(\"'version' must be >= '2019-10-10' when providing 'versionId'.\");\n }\n if (blobSASSignatureValues.blobName === undefined && blobSASSignatureValues.versionId) {\n throw RangeError(\"Must provide 'blobName' when providing 'versionId'.\");\n }\n\n if (\n blobSASSignatureValues.permissions &&\n blobSASSignatureValues.permissions.setImmutabilityPolicy &&\n version < \"2020-08-04\"\n ) {\n throw RangeError(\"'version' must be >= '2020-08-04' when provided 'i' permission.\");\n }\n\n if (\n blobSASSignatureValues.permissions &&\n blobSASSignatureValues.permissions.deleteVersion &&\n version < \"2019-10-10\"\n ) {\n throw RangeError(\"'version' must be >= '2019-10-10' when providing 'x' permission.\");\n }\n\n if (\n blobSASSignatureValues.permissions &&\n blobSASSignatureValues.permissions.permanentDelete &&\n version < \"2019-10-10\"\n ) {\n throw RangeError(\"'version' must be >= '2019-10-10' when providing 'y' permission.\");\n }\n\n if (\n blobSASSignatureValues.permissions &&\n blobSASSignatureValues.permissions.tag &&\n version < \"2019-12-12\"\n ) {\n throw RangeError(\"'version' must be >= '2019-12-12' when providing 't' permission.\");\n }\n\n if (\n version < \"2020-02-10\" &&\n blobSASSignatureValues.permissions &&\n (blobSASSignatureValues.permissions.move || blobSASSignatureValues.permissions.execute)\n ) {\n throw RangeError(\"'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.\");\n }\n\n if (\n version < \"2021-04-10\" &&\n blobSASSignatureValues.permissions &&\n (blobSASSignatureValues.permissions as ContainerSASPermissions).filterByTags\n ) {\n throw RangeError(\"'version' must be >= '2021-04-10' when providing the 'f' permission.\");\n }\n\n if (\n version < \"2020-02-10\" &&\n (blobSASSignatureValues.preauthorizedAgentObjectId || blobSASSignatureValues.correlationId)\n ) {\n throw RangeError(\n \"'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.\"\n );\n }\n\n if (blobSASSignatureValues.encryptionScope && version < \"2020-12-06\") {\n throw RangeError(\"'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.\");\n }\n\n blobSASSignatureValues.version = version;\n return blobSASSignatureValues;\n}\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreHttp from \"@azure/core-http\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { StorageClientContext } from \"../storageClientContext\";\nimport {\n BlobDownloadOptionalParams,\n BlobDownloadResponse,\n BlobGetPropertiesOptionalParams,\n BlobGetPropertiesResponse,\n BlobDeleteOptionalParams,\n BlobDeleteResponse,\n BlobUndeleteOptionalParams,\n BlobUndeleteResponse,\n BlobExpiryOptions,\n BlobSetExpiryOptionalParams,\n BlobSetExpiryResponse,\n BlobSetHttpHeadersOptionalParams,\n BlobSetHttpHeadersResponse,\n BlobSetImmutabilityPolicyOptionalParams,\n BlobSetImmutabilityPolicyResponse,\n BlobDeleteImmutabilityPolicyOptionalParams,\n BlobDeleteImmutabilityPolicyResponse,\n BlobSetLegalHoldOptionalParams,\n BlobSetLegalHoldResponse,\n BlobSetMetadataOptionalParams,\n BlobSetMetadataResponse,\n BlobAcquireLeaseOptionalParams,\n BlobAcquireLeaseResponse,\n BlobReleaseLeaseOptionalParams,\n BlobReleaseLeaseResponse,\n BlobRenewLeaseOptionalParams,\n BlobRenewLeaseResponse,\n BlobChangeLeaseOptionalParams,\n BlobChangeLeaseResponse,\n BlobBreakLeaseOptionalParams,\n BlobBreakLeaseResponse,\n BlobCreateSnapshotOptionalParams,\n BlobCreateSnapshotResponse,\n BlobStartCopyFromURLOptionalParams,\n BlobStartCopyFromURLResponse,\n BlobCopyFromURLOptionalParams,\n BlobCopyFromURLResponse,\n BlobAbortCopyFromURLOptionalParams,\n BlobAbortCopyFromURLResponse,\n AccessTier,\n BlobSetTierOptionalParams,\n BlobSetTierResponse,\n BlobGetAccountInfoResponse,\n BlobQueryOptionalParams,\n BlobQueryResponse,\n BlobGetTagsOptionalParams,\n BlobGetTagsResponse,\n BlobSetTagsOptionalParams,\n BlobSetTagsResponse\n} from \"../models\";\n\n/** Class representing a Blob. */\nexport class Blob {\n private readonly client: StorageClientContext;\n\n /**\n * Initialize a new instance of the class Blob class.\n * @param client Reference to the service client\n */\n constructor(client: StorageClientContext) {\n this.client = client;\n }\n\n /**\n * The Download operation reads or downloads a blob from the system, including its metadata and\n * properties. You can also call Download to read a snapshot.\n * @param options The options parameters.\n */\n download(\n options?: BlobDownloadOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n downloadOperationSpec\n ) as Promise;\n }\n\n /**\n * The Get Properties operation returns all user-defined metadata, standard HTTP properties, and system\n * properties for the blob. It does not return the content of the blob.\n * @param options The options parameters.\n */\n getProperties(\n options?: BlobGetPropertiesOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n getPropertiesOperationSpec\n ) as Promise;\n }\n\n /**\n * If the storage account's soft delete feature is disabled then, when a blob is deleted, it is\n * permanently removed from the storage account. If the storage account's soft delete feature is\n * enabled, then, when a blob is deleted, it is marked for deletion and becomes inaccessible\n * immediately. However, the blob service retains the blob or snapshot for the number of days specified\n * by the DeleteRetentionPolicy section of [Storage service properties]\n * (Set-Blob-Service-Properties.md). After the specified number of days has passed, the blob's data is\n * permanently removed from the storage account. Note that you continue to be charged for the\n * soft-deleted blob's storage until it is permanently removed. Use the List Blobs API and specify the\n * \"include=deleted\" query parameter to discover which blobs and snapshots have been soft deleted. You\n * can then use the Undelete Blob API to restore a soft-deleted blob. All other operations on a\n * soft-deleted blob or snapshot causes the service to return an HTTP status code of 404\n * (ResourceNotFound).\n * @param options The options parameters.\n */\n delete(options?: BlobDeleteOptionalParams): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n deleteOperationSpec\n ) as Promise;\n }\n\n /**\n * Undelete a blob that was previously soft deleted\n * @param options The options parameters.\n */\n undelete(\n options?: BlobUndeleteOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n undeleteOperationSpec\n ) as Promise;\n }\n\n /**\n * Sets the time a blob will expire and be deleted.\n * @param expiryOptions Required. Indicates mode of the expiry time\n * @param options The options parameters.\n */\n setExpiry(\n expiryOptions: BlobExpiryOptions,\n options?: BlobSetExpiryOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n expiryOptions,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n setExpiryOperationSpec\n ) as Promise;\n }\n\n /**\n * The Set HTTP Headers operation sets system properties on the blob\n * @param options The options parameters.\n */\n setHttpHeaders(\n options?: BlobSetHttpHeadersOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n setHttpHeadersOperationSpec\n ) as Promise;\n }\n\n /**\n * The Set Immutability Policy operation sets the immutability policy on the blob\n * @param options The options parameters.\n */\n setImmutabilityPolicy(\n options?: BlobSetImmutabilityPolicyOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n setImmutabilityPolicyOperationSpec\n ) as Promise;\n }\n\n /**\n * The Delete Immutability Policy operation deletes the immutability policy on the blob\n * @param options The options parameters.\n */\n deleteImmutabilityPolicy(\n options?: BlobDeleteImmutabilityPolicyOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n deleteImmutabilityPolicyOperationSpec\n ) as Promise;\n }\n\n /**\n * The Set Legal Hold operation sets a legal hold on the blob.\n * @param legalHold Specified if a legal hold should be set on the blob.\n * @param options The options parameters.\n */\n setLegalHold(\n legalHold: boolean,\n options?: BlobSetLegalHoldOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n legalHold,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n setLegalHoldOperationSpec\n ) as Promise;\n }\n\n /**\n * The Set Blob Metadata operation sets user-defined metadata for the specified blob as one or more\n * name-value pairs\n * @param options The options parameters.\n */\n setMetadata(\n options?: BlobSetMetadataOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n setMetadataOperationSpec\n ) as Promise;\n }\n\n /**\n * [Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete\n * operations\n * @param options The options parameters.\n */\n acquireLease(\n options?: BlobAcquireLeaseOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n acquireLeaseOperationSpec\n ) as Promise;\n }\n\n /**\n * [Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete\n * operations\n * @param leaseId Specifies the current lease ID on the resource.\n * @param options The options parameters.\n */\n releaseLease(\n leaseId: string,\n options?: BlobReleaseLeaseOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n leaseId,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n releaseLeaseOperationSpec\n ) as Promise;\n }\n\n /**\n * [Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete\n * operations\n * @param leaseId Specifies the current lease ID on the resource.\n * @param options The options parameters.\n */\n renewLease(\n leaseId: string,\n options?: BlobRenewLeaseOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n leaseId,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n renewLeaseOperationSpec\n ) as Promise;\n }\n\n /**\n * [Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete\n * operations\n * @param leaseId Specifies the current lease ID on the resource.\n * @param proposedLeaseId Proposed lease ID, in a GUID string format. The Blob service returns 400\n * (Invalid request) if the proposed lease ID is not in the correct format. See Guid Constructor\n * (String) for a list of valid GUID string formats.\n * @param options The options parameters.\n */\n changeLease(\n leaseId: string,\n proposedLeaseId: string,\n options?: BlobChangeLeaseOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n leaseId,\n proposedLeaseId,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n changeLeaseOperationSpec\n ) as Promise;\n }\n\n /**\n * [Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete\n * operations\n * @param options The options parameters.\n */\n breakLease(\n options?: BlobBreakLeaseOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n breakLeaseOperationSpec\n ) as Promise;\n }\n\n /**\n * The Create Snapshot operation creates a read-only snapshot of a blob\n * @param options The options parameters.\n */\n createSnapshot(\n options?: BlobCreateSnapshotOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n createSnapshotOperationSpec\n ) as Promise;\n }\n\n /**\n * The Start Copy From URL operation copies a blob or an internet resource to a new blob.\n * @param copySource Specifies the name of the source page blob snapshot. This value is a URL of up to\n * 2 KB in length that specifies a page blob snapshot. The value should be URL-encoded as it would\n * appear in a request URI. The source blob must either be public or must be authenticated via a shared\n * access signature.\n * @param options The options parameters.\n */\n startCopyFromURL(\n copySource: string,\n options?: BlobStartCopyFromURLOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n copySource,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n startCopyFromURLOperationSpec\n ) as Promise;\n }\n\n /**\n * The Copy From URL operation copies a blob or an internet resource to a new blob. It will not return\n * a response until the copy is complete.\n * @param copySource Specifies the name of the source page blob snapshot. This value is a URL of up to\n * 2 KB in length that specifies a page blob snapshot. The value should be URL-encoded as it would\n * appear in a request URI. The source blob must either be public or must be authenticated via a shared\n * access signature.\n * @param options The options parameters.\n */\n copyFromURL(\n copySource: string,\n options?: BlobCopyFromURLOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n copySource,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n copyFromURLOperationSpec\n ) as Promise;\n }\n\n /**\n * The Abort Copy From URL operation aborts a pending Copy From URL operation, and leaves a destination\n * blob with zero length and full metadata.\n * @param copyId The copy identifier provided in the x-ms-copy-id header of the original Copy Blob\n * operation.\n * @param options The options parameters.\n */\n abortCopyFromURL(\n copyId: string,\n options?: BlobAbortCopyFromURLOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n copyId,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n abortCopyFromURLOperationSpec\n ) as Promise;\n }\n\n /**\n * The Set Tier operation sets the tier on a blob. The operation is allowed on a page blob in a premium\n * storage account and on a block blob in a blob storage account (locally redundant storage only). A\n * premium page blob's tier determines the allowed size, IOPS, and bandwidth of the blob. A block\n * blob's tier determines Hot/Cool/Archive storage type. This operation does not update the blob's\n * ETag.\n * @param tier Indicates the tier to be set on the blob.\n * @param options The options parameters.\n */\n setTier(\n tier: AccessTier,\n options?: BlobSetTierOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n tier,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n setTierOperationSpec\n ) as Promise;\n }\n\n /**\n * Returns the sku name and account kind\n * @param options The options parameters.\n */\n getAccountInfo(\n options?: coreHttp.OperationOptions\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n getAccountInfoOperationSpec\n ) as Promise;\n }\n\n /**\n * The Query operation enables users to select/project on blob data by providing simple query\n * expressions.\n * @param options The options parameters.\n */\n query(options?: BlobQueryOptionalParams): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n queryOperationSpec\n ) as Promise;\n }\n\n /**\n * The Get Tags operation enables users to get the tags associated with a blob.\n * @param options The options parameters.\n */\n getTags(options?: BlobGetTagsOptionalParams): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n getTagsOperationSpec\n ) as Promise;\n }\n\n /**\n * The Set Tags operation enables users to set tags on a blob.\n * @param options The options parameters.\n */\n setTags(options?: BlobSetTagsOptionalParams): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n setTagsOperationSpec\n ) as Promise;\n }\n}\n// Operation Specifications\nconst xmlSerializer = new coreHttp.Serializer(Mappers, /* isXml */ true);\n\nconst downloadOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}/{blob}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: {\n type: { name: \"Stream\" },\n serializedName: \"parsedResponse\"\n },\n headersMapper: Mappers.BlobDownloadHeaders\n },\n 206: {\n bodyMapper: {\n type: { name: \"Stream\" },\n serializedName: \"parsedResponse\"\n },\n headersMapper: Mappers.BlobDownloadHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.BlobDownloadExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.snapshot,\n Parameters.versionId\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.range,\n Parameters.rangeGetContentMD5,\n Parameters.rangeGetContentCRC64,\n Parameters.encryptionKey,\n Parameters.encryptionKeySha256,\n Parameters.encryptionAlgorithm,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.ifTags\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst getPropertiesOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}/{blob}\",\n httpMethod: \"HEAD\",\n responses: {\n 200: {\n headersMapper: Mappers.BlobGetPropertiesHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.BlobGetPropertiesExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.snapshot,\n Parameters.versionId\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.encryptionKey,\n Parameters.encryptionKeySha256,\n Parameters.encryptionAlgorithm,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.ifTags\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst deleteOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}/{blob}\",\n httpMethod: \"DELETE\",\n responses: {\n 202: {\n headersMapper: Mappers.BlobDeleteHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.BlobDeleteExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.snapshot,\n Parameters.versionId,\n Parameters.blobDeleteType\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.ifTags,\n Parameters.deleteSnapshots\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst undeleteOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}/{blob}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.BlobUndeleteHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.BlobUndeleteExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp8],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst setExpiryOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}/{blob}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.BlobSetExpiryHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.BlobSetExpiryExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp11],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.expiryOptions,\n Parameters.expiresOn\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst setHttpHeadersOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}/{blob}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.BlobSetHttpHeadersHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.BlobSetHttpHeadersExceptionHeaders\n }\n },\n queryParameters: [Parameters.comp, Parameters.timeoutInSeconds],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.ifTags,\n Parameters.blobCacheControl,\n Parameters.blobContentType,\n Parameters.blobContentMD5,\n Parameters.blobContentEncoding,\n Parameters.blobContentLanguage,\n Parameters.blobContentDisposition\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst setImmutabilityPolicyOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}/{blob}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.BlobSetImmutabilityPolicyHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.BlobSetImmutabilityPolicyExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp12],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.ifUnmodifiedSince,\n Parameters.immutabilityPolicyExpiry,\n Parameters.immutabilityPolicyMode\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst deleteImmutabilityPolicyOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}/{blob}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.BlobDeleteImmutabilityPolicyHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.BlobDeleteImmutabilityPolicyExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp12],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst setLegalHoldOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}/{blob}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.BlobSetLegalHoldHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.BlobSetLegalHoldExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp13],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.legalHold\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst setMetadataOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}/{blob}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.BlobSetMetadataHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.BlobSetMetadataExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp6],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.metadata,\n Parameters.leaseId,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.encryptionKey,\n Parameters.encryptionKeySha256,\n Parameters.encryptionAlgorithm,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.ifTags,\n Parameters.encryptionScope\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst acquireLeaseOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}/{blob}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.BlobAcquireLeaseHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.BlobAcquireLeaseExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp10],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.action,\n Parameters.duration,\n Parameters.proposedLeaseId,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.ifTags\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst releaseLeaseOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}/{blob}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.BlobReleaseLeaseHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.BlobReleaseLeaseExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp10],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.action1,\n Parameters.leaseId1,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.ifTags\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst renewLeaseOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}/{blob}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.BlobRenewLeaseHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.BlobRenewLeaseExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp10],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.leaseId1,\n Parameters.action2,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.ifTags\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst changeLeaseOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}/{blob}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.BlobChangeLeaseHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.BlobChangeLeaseExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp10],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.leaseId1,\n Parameters.action4,\n Parameters.proposedLeaseId1,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.ifTags\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst breakLeaseOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}/{blob}\",\n httpMethod: \"PUT\",\n responses: {\n 202: {\n headersMapper: Mappers.BlobBreakLeaseHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.BlobBreakLeaseExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp10],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.action3,\n Parameters.breakPeriod,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.ifTags\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst createSnapshotOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}/{blob}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.BlobCreateSnapshotHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.BlobCreateSnapshotExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp14],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.metadata,\n Parameters.leaseId,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.encryptionKey,\n Parameters.encryptionKeySha256,\n Parameters.encryptionAlgorithm,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.ifTags,\n Parameters.encryptionScope\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst startCopyFromURLOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}/{blob}\",\n httpMethod: \"PUT\",\n responses: {\n 202: {\n headersMapper: Mappers.BlobStartCopyFromURLHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.BlobStartCopyFromURLExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.metadata,\n Parameters.leaseId,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.ifTags,\n Parameters.immutabilityPolicyExpiry,\n Parameters.immutabilityPolicyMode,\n Parameters.tier,\n Parameters.rehydratePriority,\n Parameters.sourceIfModifiedSince,\n Parameters.sourceIfUnmodifiedSince,\n Parameters.sourceIfMatch,\n Parameters.sourceIfNoneMatch,\n Parameters.sourceIfTags,\n Parameters.copySource,\n Parameters.blobTagsString,\n Parameters.sealBlob,\n Parameters.legalHold1\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst copyFromURLOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}/{blob}\",\n httpMethod: \"PUT\",\n responses: {\n 202: {\n headersMapper: Mappers.BlobCopyFromURLHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.BlobCopyFromURLExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.metadata,\n Parameters.leaseId,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.ifTags,\n Parameters.immutabilityPolicyExpiry,\n Parameters.immutabilityPolicyMode,\n Parameters.encryptionScope,\n Parameters.tier,\n Parameters.sourceIfModifiedSince,\n Parameters.sourceIfUnmodifiedSince,\n Parameters.sourceIfMatch,\n Parameters.sourceIfNoneMatch,\n Parameters.copySource,\n Parameters.blobTagsString,\n Parameters.legalHold1,\n Parameters.xMsRequiresSync,\n Parameters.sourceContentMD5,\n Parameters.copySourceAuthorization,\n Parameters.copySourceTags\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst abortCopyFromURLOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}/{blob}\",\n httpMethod: \"PUT\",\n responses: {\n 204: {\n headersMapper: Mappers.BlobAbortCopyFromURLHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.BlobAbortCopyFromURLExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.comp15,\n Parameters.copyId\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.copyActionAbortConstant\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst setTierOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}/{blob}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.BlobSetTierHeaders\n },\n 202: {\n headersMapper: Mappers.BlobSetTierHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.BlobSetTierExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.snapshot,\n Parameters.versionId,\n Parameters.comp16\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.ifTags,\n Parameters.rehydratePriority,\n Parameters.tier1\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst getAccountInfoOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}/{blob}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n headersMapper: Mappers.BlobGetAccountInfoHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.BlobGetAccountInfoExceptionHeaders\n }\n },\n queryParameters: [Parameters.comp, Parameters.restype1],\n urlParameters: [Parameters.url],\n headerParameters: [Parameters.version, Parameters.accept1],\n isXML: true,\n serializer: xmlSerializer\n};\nconst queryOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}/{blob}\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: {\n type: { name: \"Stream\" },\n serializedName: \"parsedResponse\"\n },\n headersMapper: Mappers.BlobQueryHeaders\n },\n 206: {\n bodyMapper: {\n type: { name: \"Stream\" },\n serializedName: \"parsedResponse\"\n },\n headersMapper: Mappers.BlobQueryHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.BlobQueryExceptionHeaders\n }\n },\n requestBody: Parameters.queryRequest,\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.snapshot,\n Parameters.comp17\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.version,\n Parameters.requestId,\n Parameters.leaseId,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.encryptionKey,\n Parameters.encryptionKeySha256,\n Parameters.encryptionAlgorithm,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.ifTags\n ],\n isXML: true,\n contentType: \"application/xml; charset=utf-8\",\n mediaType: \"xml\",\n serializer: xmlSerializer\n};\nconst getTagsOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}/{blob}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BlobTags,\n headersMapper: Mappers.BlobGetTagsHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.BlobGetTagsExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.snapshot,\n Parameters.versionId,\n Parameters.comp18\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.ifTags\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst setTagsOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}/{blob}\",\n httpMethod: \"PUT\",\n responses: {\n 204: {\n headersMapper: Mappers.BlobSetTagsHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.BlobSetTagsExceptionHeaders\n }\n },\n requestBody: Parameters.tags,\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.versionId,\n Parameters.comp18\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.version,\n Parameters.requestId,\n Parameters.leaseId,\n Parameters.ifTags,\n Parameters.transactionalContentMD5,\n Parameters.transactionalContentCrc64\n ],\n isXML: true,\n contentType: \"application/xml; charset=utf-8\",\n mediaType: \"xml\",\n serializer: xmlSerializer\n};\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\nimport { generateUuid, HttpResponse } from \"@azure/core-http\";\nimport { StorageClientContext } from \"./generated/src/index\";\nimport { ContainerBreakLeaseOptionalParams } from \"./generatedModels\";\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport { SpanStatusCode } from \"@azure/core-tracing\";\nimport { Blob as StorageBlob, Container } from \"./generated/src/operations\";\nimport { ModifiedAccessConditions } from \"./models\";\nimport { CommonOptions } from \"./StorageClient\";\nimport { ETagNone } from \"./utils/constants\";\nimport { convertTracingToRequestOptionsBase, createSpan } from \"./utils/tracing\";\nimport { BlobClient } from \"./Clients\";\nimport { ContainerClient } from \"./ContainerClient\";\n\n/**\n * The details for a specific lease.\n */\nexport interface Lease {\n /**\n * The ETag contains a value that you can use to\n * perform operations conditionally. If the request version is 2011-08-18 or\n * newer, the ETag value will be in quotes.\n */\n etag?: string;\n /**\n * Returns the date and time the container was\n * last modified. Any operation that modifies the blob, including an update\n * of the blob's metadata or properties, changes the last-modified time of\n * the blob.\n */\n lastModified?: Date;\n /**\n * Uniquely identifies a container's lease\n */\n leaseId?: string;\n /**\n * Approximate time remaining in the lease\n * period, in seconds.\n */\n leaseTime?: number;\n /**\n * This header uniquely identifies the request\n * that was made and can be used for troubleshooting the request.\n */\n requestId?: string;\n /**\n * Indicates the version of the Blob service used\n * to execute the request. This header is returned for requests made against\n * version 2009-09-19 and above.\n */\n version?: string;\n /**\n * UTC date/time value generated by the service that\n * indicates the time at which the response was initiated\n */\n date?: Date;\n /**\n * Error code if any associated with the response that returned\n * the Lease information.\n */\n errorCode?: string;\n}\n\n/**\n * Contains the response data for operations that create, modify, or delete a lease.\n *\n * See {@link BlobLeaseClient}.\n */\nexport type LeaseOperationResponse = Lease & {\n /**\n * The underlying HTTP response.\n */\n _response: HttpResponse & {\n /**\n * The parsed HTTP response headers.\n */\n parsedHeaders: Lease;\n };\n};\n\n/**\n * Configures lease operations.\n */\nexport interface LeaseOperationOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Conditions to meet when changing the lease.\n */\n conditions?: ModifiedAccessConditions;\n}\n\n/**\n * A client that manages leases for a {@link ContainerClient} or a {@link BlobClient}.\n */\nexport class BlobLeaseClient {\n private _leaseId: string;\n private _url: string;\n private _containerOrBlobOperation: Container | StorageBlob;\n private _isContainer: boolean;\n\n /**\n * Gets the lease Id.\n *\n * @readonly\n */\n public get leaseId(): string {\n return this._leaseId;\n }\n\n /**\n * Gets the url.\n *\n * @readonly\n */\n public get url(): string {\n return this._url;\n }\n\n /**\n * Creates an instance of BlobLeaseClient.\n * @param client - The client to make the lease operation requests.\n * @param leaseId - Initial proposed lease id.\n */\n constructor(client: ContainerClient | BlobClient, leaseId?: string) {\n const clientContext = new StorageClientContext(\n client.url,\n (client as any).pipeline.toServiceClientOptions()\n );\n this._url = client.url;\n\n if ((client as BlobClient).name === undefined) {\n this._isContainer = true;\n this._containerOrBlobOperation = new Container(clientContext);\n } else {\n this._isContainer = false;\n this._containerOrBlobOperation = new StorageBlob(clientContext);\n }\n\n if (!leaseId) {\n leaseId = generateUuid();\n }\n this._leaseId = leaseId;\n }\n\n /**\n * Establishes and manages a lock on a container for delete operations, or on a blob\n * for write and delete operations.\n * The lock duration can be 15 to 60 seconds, or can be infinite.\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/lease-container\n * and\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/lease-blob\n *\n * @param duration - Must be between 15 to 60 seconds, or infinite (-1)\n * @param options - option to configure lease management operations.\n * @returns Response data for acquire lease operation.\n */\n public async acquireLease(\n duration: number,\n options: LeaseOperationOptions = {}\n ): Promise {\n const { span, updatedOptions } = createSpan(\"BlobLeaseClient-acquireLease\", options);\n\n if (\n this._isContainer &&\n ((options.conditions?.ifMatch && options.conditions?.ifMatch !== ETagNone) ||\n (options.conditions?.ifNoneMatch && options.conditions?.ifNoneMatch !== ETagNone) ||\n options.conditions?.tagConditions)\n ) {\n throw new RangeError(\n \"The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.\"\n );\n }\n\n try {\n return await this._containerOrBlobOperation.acquireLease({\n abortSignal: options.abortSignal,\n duration,\n modifiedAccessConditions: {\n ...options.conditions,\n ifTags: options.conditions?.tagConditions,\n },\n proposedLeaseId: this._leaseId,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * To change the ID of the lease.\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/lease-container\n * and\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/lease-blob\n *\n * @param proposedLeaseId - the proposed new lease Id.\n * @param options - option to configure lease management operations.\n * @returns Response data for change lease operation.\n */\n public async changeLease(\n proposedLeaseId: string,\n options: LeaseOperationOptions = {}\n ): Promise {\n const { span, updatedOptions } = createSpan(\"BlobLeaseClient-changeLease\", options);\n\n if (\n this._isContainer &&\n ((options.conditions?.ifMatch && options.conditions?.ifMatch !== ETagNone) ||\n (options.conditions?.ifNoneMatch && options.conditions?.ifNoneMatch !== ETagNone) ||\n options.conditions?.tagConditions)\n ) {\n throw new RangeError(\n \"The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.\"\n );\n }\n\n try {\n const response = await this._containerOrBlobOperation.changeLease(\n this._leaseId,\n proposedLeaseId,\n {\n abortSignal: options.abortSignal,\n modifiedAccessConditions: {\n ...options.conditions,\n ifTags: options.conditions?.tagConditions,\n },\n ...convertTracingToRequestOptionsBase(updatedOptions),\n }\n );\n this._leaseId = proposedLeaseId;\n return response;\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * To free the lease if it is no longer needed so that another client may\n * immediately acquire a lease against the container or the blob.\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/lease-container\n * and\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/lease-blob\n *\n * @param options - option to configure lease management operations.\n * @returns Response data for release lease operation.\n */\n public async releaseLease(options: LeaseOperationOptions = {}): Promise {\n const { span, updatedOptions } = createSpan(\"BlobLeaseClient-releaseLease\", options);\n\n if (\n this._isContainer &&\n ((options.conditions?.ifMatch && options.conditions?.ifMatch !== ETagNone) ||\n (options.conditions?.ifNoneMatch && options.conditions?.ifNoneMatch !== ETagNone) ||\n options.conditions?.tagConditions)\n ) {\n throw new RangeError(\n \"The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.\"\n );\n }\n\n try {\n return await this._containerOrBlobOperation.releaseLease(this._leaseId, {\n abortSignal: options.abortSignal,\n modifiedAccessConditions: {\n ...options.conditions,\n ifTags: options.conditions?.tagConditions,\n },\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * To renew the lease.\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/lease-container\n * and\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/lease-blob\n *\n * @param options - Optional option to configure lease management operations.\n * @returns Response data for renew lease operation.\n */\n public async renewLease(options: LeaseOperationOptions = {}): Promise {\n const { span, updatedOptions } = createSpan(\"BlobLeaseClient-renewLease\", options);\n\n if (\n this._isContainer &&\n ((options.conditions?.ifMatch && options.conditions?.ifMatch !== ETagNone) ||\n (options.conditions?.ifNoneMatch && options.conditions?.ifNoneMatch !== ETagNone) ||\n options.conditions?.tagConditions)\n ) {\n throw new RangeError(\n \"The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.\"\n );\n }\n\n try {\n return await this._containerOrBlobOperation.renewLease(this._leaseId, {\n abortSignal: options.abortSignal,\n modifiedAccessConditions: {\n ...options.conditions,\n ifTags: options.conditions?.tagConditions,\n },\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * To end the lease but ensure that another client cannot acquire a new lease\n * until the current lease period has expired.\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/lease-container\n * and\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/lease-blob\n *\n * @param breakPeriod - Break period\n * @param options - Optional options to configure lease management operations.\n * @returns Response data for break lease operation.\n */\n public async breakLease(\n breakPeriod: number,\n options: LeaseOperationOptions = {}\n ): Promise {\n const { span, updatedOptions } = createSpan(\"BlobLeaseClient-breakLease\", options);\n\n if (\n this._isContainer &&\n ((options.conditions?.ifMatch && options.conditions?.ifMatch !== ETagNone) ||\n (options.conditions?.ifNoneMatch && options.conditions?.ifNoneMatch !== ETagNone) ||\n options.conditions?.tagConditions)\n ) {\n throw new RangeError(\n \"The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.\"\n );\n }\n\n try {\n const operationOptions: ContainerBreakLeaseOptionalParams = {\n abortSignal: options.abortSignal,\n breakPeriod,\n modifiedAccessConditions: {\n ...options.conditions,\n ifTags: options.conditions?.tagConditions,\n },\n ...convertTracingToRequestOptionsBase(updatedOptions),\n };\n return await this._containerOrBlobOperation.breakLease(operationOptions);\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { TransferProgressEvent } from \"@azure/core-http\";\nimport { Readable } from \"stream\";\n\nexport type ReadableStreamGetter = (offset: number) => Promise;\n\nexport interface RetriableReadableStreamOptions {\n /**\n * Max retry count (greater than or equal to 0), undefined or invalid value means no retry\n */\n maxRetryRequests?: number;\n\n /**\n * Read progress event handler\n */\n onProgress?: (progress: TransferProgressEvent) => void;\n\n /**\n * Debug purpose only. Used to inject an unexpected end to existing internal stream,\n * to test stream retry works well or not.\n *\n * When assign it to true, for next incoming \"data\" event of internal stream,\n * RetriableReadableStream will try to emit an \"end\" event to existing internal\n * stream to force it end and start retry from the breaking point.\n * The value will then update to \"undefined\", once the injection works.\n */\n doInjectErrorOnce?: boolean;\n\n /**\n * A threshold, not a limit. Dictates the amount of data that a stream buffers before it stops asking for more data.\n */\n highWaterMark?: number;\n}\n\n/**\n * ONLY AVAILABLE IN NODE.JS RUNTIME.\n *\n * A Node.js ReadableStream will internally retry when internal ReadableStream unexpected ends.\n */\nexport class RetriableReadableStream extends Readable {\n private start: number;\n private offset: number;\n private end: number;\n private getter: ReadableStreamGetter;\n private source: NodeJS.ReadableStream;\n private retries: number = 0;\n private maxRetryRequests: number;\n private onProgress?: (progress: TransferProgressEvent) => void;\n private options: RetriableReadableStreamOptions;\n\n /**\n * Creates an instance of RetriableReadableStream.\n *\n * @param source - The current ReadableStream returned from getter\n * @param getter - A method calling downloading request returning\n * a new ReadableStream from specified offset\n * @param offset - Offset position in original data source to read\n * @param count - How much data in original data source to read\n * @param options -\n */\n public constructor(\n source: NodeJS.ReadableStream,\n getter: ReadableStreamGetter,\n offset: number,\n count: number,\n options: RetriableReadableStreamOptions = {}\n ) {\n super({ highWaterMark: options.highWaterMark });\n this.getter = getter;\n this.source = source;\n this.start = offset;\n this.offset = offset;\n this.end = offset + count - 1;\n this.maxRetryRequests =\n options.maxRetryRequests && options.maxRetryRequests >= 0 ? options.maxRetryRequests : 0;\n this.onProgress = options.onProgress;\n this.options = options;\n\n this.setSourceEventHandlers();\n }\n\n public _read(): void {\n this.source.resume();\n }\n\n private setSourceEventHandlers() {\n this.source.on(\"data\", this.sourceDataHandler);\n this.source.on(\"end\", this.sourceErrorOrEndHandler);\n this.source.on(\"error\", this.sourceErrorOrEndHandler);\n }\n\n private removeSourceEventHandlers() {\n this.source.removeListener(\"data\", this.sourceDataHandler);\n this.source.removeListener(\"end\", this.sourceErrorOrEndHandler);\n this.source.removeListener(\"error\", this.sourceErrorOrEndHandler);\n }\n\n private sourceDataHandler = (data: Buffer) => {\n if (this.options.doInjectErrorOnce) {\n this.options.doInjectErrorOnce = undefined;\n this.source.pause();\n this.source.removeAllListeners(\"data\");\n this.source.emit(\"end\");\n return;\n }\n\n // console.log(\n // `Offset: ${this.offset}, Received ${data.length} from internal stream`\n // );\n this.offset += data.length;\n if (this.onProgress) {\n this.onProgress({ loadedBytes: this.offset - this.start });\n }\n if (!this.push(data)) {\n this.source.pause();\n }\n };\n\n private sourceErrorOrEndHandler = (err?: Error) => {\n if (err && err.name === \"AbortError\") {\n this.destroy(err);\n return;\n }\n\n // console.log(\n // `Source stream emits end or error, offset: ${\n // this.offset\n // }, dest end : ${this.end}`\n // );\n this.removeSourceEventHandlers();\n if (this.offset - 1 === this.end) {\n this.push(null);\n } else if (this.offset <= this.end) {\n // console.log(\n // `retries: ${this.retries}, max retries: ${this.maxRetries}`\n // );\n if (this.retries < this.maxRetryRequests) {\n this.retries += 1;\n this.getter(this.offset)\n .then((newSource) => {\n this.source = newSource;\n this.setSourceEventHandlers();\n return;\n })\n .catch((error) => {\n this.destroy(error);\n });\n } else {\n this.destroy(\n new Error(\n `Data corruption failure: received less data than required and reached maxRetires limitation. Received data offset: ${\n this.offset - 1\n }, data needed offset: ${this.end}, retries: ${this.retries}, max retries: ${\n this.maxRetryRequests\n }`\n )\n );\n }\n } else {\n this.destroy(\n new Error(\n `Data corruption failure: Received more data than original request, data needed offset is ${\n this.end\n }, received offset: ${this.offset - 1}`\n )\n );\n }\n };\n\n _destroy(error: Error | null, callback: (error?: Error) => void): void {\n // remove listener from source and release source\n this.removeSourceEventHandlers();\n (this.source as Readable).destroy();\n\n callback(error === null ? undefined : error);\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\nimport { HttpResponse, isNode } from \"@azure/core-http\";\nimport { BlobImmutabilityPolicyMode } from \"./generatedModels\";\n\nimport {\n BlobDownloadHeaders,\n BlobType,\n CopyStatusType,\n LeaseDurationType,\n LeaseStateType,\n LeaseStatusType,\n} from \"./generatedModels\";\nimport { BlobDownloadResponseParsed, Metadata, ObjectReplicationPolicy } from \"./models\";\nimport {\n ReadableStreamGetter,\n RetriableReadableStream,\n RetriableReadableStreamOptions,\n} from \"./utils/RetriableReadableStream\";\n\n/**\n * ONLY AVAILABLE IN NODE.JS RUNTIME.\n *\n * BlobDownloadResponse implements BlobDownloadResponseParsed interface, and in Node.js runtime it will\n * automatically retry when internal read stream unexpected ends. (This kind of unexpected ends cannot\n * trigger retries defined in pipeline retry policy.)\n *\n * The {@link readableStreamBody} stream will retry underlayer, you can just use it as a normal Node.js\n * Readable stream.\n */\nexport class BlobDownloadResponse implements BlobDownloadResponseParsed {\n /**\n * Indicates that the service supports\n * requests for partial file content.\n *\n * @readonly\n */\n public get acceptRanges(): string | undefined {\n return this.originalResponse.acceptRanges;\n }\n\n /**\n * Returns if it was previously specified\n * for the file.\n *\n * @readonly\n */\n public get cacheControl(): string | undefined {\n return this.originalResponse.cacheControl;\n }\n\n /**\n * Returns the value that was specified\n * for the 'x-ms-content-disposition' header and specifies how to process the\n * response.\n *\n * @readonly\n */\n public get contentDisposition(): string | undefined {\n return this.originalResponse.contentDisposition;\n }\n\n /**\n * Returns the value that was specified\n * for the Content-Encoding request header.\n *\n * @readonly\n */\n public get contentEncoding(): string | undefined {\n return this.originalResponse.contentEncoding;\n }\n\n /**\n * Returns the value that was specified\n * for the Content-Language request header.\n *\n * @readonly\n */\n public get contentLanguage(): string | undefined {\n return this.originalResponse.contentLanguage;\n }\n\n /**\n * The current sequence number for a\n * page blob. This header is not returned for block blobs or append blobs.\n *\n * @readonly\n */\n public get blobSequenceNumber(): number | undefined {\n return this.originalResponse.blobSequenceNumber;\n }\n\n /**\n * The blob's type. Possible values include:\n * 'BlockBlob', 'PageBlob', 'AppendBlob'.\n *\n * @readonly\n */\n public get blobType(): BlobType | undefined {\n return this.originalResponse.blobType;\n }\n\n /**\n * The number of bytes present in the\n * response body.\n *\n * @readonly\n */\n public get contentLength(): number | undefined {\n return this.originalResponse.contentLength;\n }\n\n /**\n * If the file has an MD5 hash and the\n * request is to read the full file, this response header is returned so that\n * the client can check for message content integrity. If the request is to\n * read a specified range and the 'x-ms-range-get-content-md5' is set to\n * true, then the request returns an MD5 hash for the range, as long as the\n * range size is less than or equal to 4 MB. If neither of these sets of\n * conditions is true, then no value is returned for the 'Content-MD5'\n * header.\n *\n * @readonly\n */\n public get contentMD5(): Uint8Array | undefined {\n return this.originalResponse.contentMD5;\n }\n\n /**\n * Indicates the range of bytes returned if\n * the client requested a subset of the file by setting the Range request\n * header.\n *\n * @readonly\n */\n public get contentRange(): string | undefined {\n return this.originalResponse.contentRange;\n }\n\n /**\n * The content type specified for the file.\n * The default content type is 'application/octet-stream'\n *\n * @readonly\n */\n public get contentType(): string | undefined {\n return this.originalResponse.contentType;\n }\n\n /**\n * Conclusion time of the last attempted\n * Copy File operation where this file was the destination file. This value\n * can specify the time of a completed, aborted, or failed copy attempt.\n *\n * @readonly\n */\n public get copyCompletedOn(): Date | undefined {\n return this.originalResponse.copyCompletedOn;\n }\n\n /**\n * String identifier for the last attempted Copy\n * File operation where this file was the destination file.\n *\n * @readonly\n */\n public get copyId(): string | undefined {\n return this.originalResponse.copyId;\n }\n\n /**\n * Contains the number of bytes copied and\n * the total bytes in the source in the last attempted Copy File operation\n * where this file was the destination file. Can show between 0 and\n * Content-Length bytes copied.\n *\n * @readonly\n */\n public get copyProgress(): string | undefined {\n return this.originalResponse.copyProgress;\n }\n\n /**\n * URL up to 2KB in length that specifies the\n * source file used in the last attempted Copy File operation where this file\n * was the destination file.\n *\n * @readonly\n */\n public get copySource(): string | undefined {\n return this.originalResponse.copySource;\n }\n\n /**\n * State of the copy operation\n * identified by 'x-ms-copy-id'. Possible values include: 'pending',\n * 'success', 'aborted', 'failed'\n *\n * @readonly\n */\n public get copyStatus(): CopyStatusType | undefined {\n return this.originalResponse.copyStatus;\n }\n\n /**\n * Only appears when\n * x-ms-copy-status is failed or pending. Describes cause of fatal or\n * non-fatal copy operation failure.\n *\n * @readonly\n */\n public get copyStatusDescription(): string | undefined {\n return this.originalResponse.copyStatusDescription;\n }\n\n /**\n * When a blob is leased,\n * specifies whether the lease is of infinite or fixed duration. Possible\n * values include: 'infinite', 'fixed'.\n *\n * @readonly\n */\n public get leaseDuration(): LeaseDurationType | undefined {\n return this.originalResponse.leaseDuration;\n }\n\n /**\n * Lease state of the blob. Possible\n * values include: 'available', 'leased', 'expired', 'breaking', 'broken'.\n *\n * @readonly\n */\n public get leaseState(): LeaseStateType | undefined {\n return this.originalResponse.leaseState;\n }\n\n /**\n * The current lease status of the\n * blob. Possible values include: 'locked', 'unlocked'.\n *\n * @readonly\n */\n public get leaseStatus(): LeaseStatusType | undefined {\n return this.originalResponse.leaseStatus;\n }\n\n /**\n * A UTC date/time value generated by the service that\n * indicates the time at which the response was initiated.\n *\n * @readonly\n */\n public get date(): Date | undefined {\n return this.originalResponse.date;\n }\n\n /**\n * The number of committed blocks\n * present in the blob. This header is returned only for append blobs.\n *\n * @readonly\n */\n public get blobCommittedBlockCount(): number | undefined {\n return this.originalResponse.blobCommittedBlockCount;\n }\n\n /**\n * The ETag contains a value that you can use to\n * perform operations conditionally, in quotes.\n *\n * @readonly\n */\n public get etag(): string | undefined {\n return this.originalResponse.etag;\n }\n\n /**\n * The number of tags associated with the blob\n *\n * @readonly\n */\n public get tagCount(): number | undefined {\n return this.originalResponse.tagCount;\n }\n\n /**\n * The error code.\n *\n * @readonly\n */\n public get errorCode(): string | undefined {\n return this.originalResponse.errorCode;\n }\n\n /**\n * The value of this header is set to\n * true if the file data and application metadata are completely encrypted\n * using the specified algorithm. Otherwise, the value is set to false (when\n * the file is unencrypted, or if only parts of the file/application metadata\n * are encrypted).\n *\n * @readonly\n */\n public get isServerEncrypted(): boolean | undefined {\n return this.originalResponse.isServerEncrypted;\n }\n\n /**\n * If the blob has a MD5 hash, and if\n * request contains range header (Range or x-ms-range), this response header\n * is returned with the value of the whole blob's MD5 value. This value may\n * or may not be equal to the value returned in Content-MD5 header, with the\n * latter calculated from the requested range.\n *\n * @readonly\n */\n public get blobContentMD5(): Uint8Array | undefined {\n return this.originalResponse.blobContentMD5;\n }\n\n /**\n * Returns the date and time the file was last\n * modified. Any operation that modifies the file or its properties updates\n * the last modified time.\n *\n * @readonly\n */\n public get lastModified(): Date | undefined {\n return this.originalResponse.lastModified;\n }\n\n /**\n * Returns the UTC date and time generated by the service that indicates the time at which the blob was\n * last read or written to.\n *\n * @readonly\n */\n public get lastAccessed(): Date | undefined {\n return this.originalResponse.lastAccessed;\n }\n\n /**\n * A name-value pair\n * to associate with a file storage object.\n *\n * @readonly\n */\n public get metadata(): Metadata | undefined {\n return this.originalResponse.metadata;\n }\n\n /**\n * This header uniquely identifies the request\n * that was made and can be used for troubleshooting the request.\n *\n * @readonly\n */\n public get requestId(): string | undefined {\n return this.originalResponse.requestId;\n }\n\n /**\n * If a client request id header is sent in the request, this header will be present in the\n * response with the same value.\n *\n * @readonly\n */\n public get clientRequestId(): string | undefined {\n return this.originalResponse.clientRequestId;\n }\n\n /**\n * Indicates the version of the Blob service used\n * to execute the request.\n *\n * @readonly\n */\n public get version(): string | undefined {\n return this.originalResponse.version;\n }\n\n /**\n * Indicates the versionId of the downloaded blob version.\n *\n * @readonly\n */\n public get versionId(): string | undefined {\n return this.originalResponse.versionId;\n }\n\n /**\n * Indicates whether version of this blob is a current version.\n *\n * @readonly\n */\n public get isCurrentVersion(): boolean | undefined {\n return this.originalResponse.isCurrentVersion;\n }\n\n /**\n * The SHA-256 hash of the encryption key used to encrypt the blob. This value is only returned\n * when the blob was encrypted with a customer-provided key.\n *\n * @readonly\n */\n public get encryptionKeySha256(): string | undefined {\n return this.originalResponse.encryptionKeySha256;\n }\n\n /**\n * If the request is to read a specified range and the x-ms-range-get-content-crc64 is set to\n * true, then the request returns a crc64 for the range, as long as the range size is less than\n * or equal to 4 MB. If both x-ms-range-get-content-crc64 & x-ms-range-get-content-md5 is\n * specified in the same request, it will fail with 400(Bad Request)\n */\n public get contentCrc64(): Uint8Array | undefined {\n return this.originalResponse.contentCrc64;\n }\n\n /**\n * Object Replication Policy Id of the destination blob.\n *\n * @readonly\n */\n public get objectReplicationDestinationPolicyId(): string | undefined {\n return this.originalResponse.objectReplicationDestinationPolicyId;\n }\n\n /**\n * Parsed Object Replication Policy Id, Rule Id(s) and status of the source blob.\n *\n * @readonly\n */\n public get objectReplicationSourceProperties(): ObjectReplicationPolicy[] | undefined {\n return this.originalResponse.objectReplicationSourceProperties;\n }\n\n /**\n * If this blob has been sealed.\n *\n * @readonly\n */\n public get isSealed(): boolean | undefined {\n return this.originalResponse.isSealed;\n }\n\n /**\n * UTC date/time value generated by the service that indicates the time at which the blob immutability policy will expire.\n *\n * @readonly\n */\n public get immutabilityPolicyExpiresOn(): Date | undefined {\n return this.originalResponse.immutabilityPolicyExpiresOn;\n }\n\n /**\n * Indicates immutability policy mode.\n *\n * @readonly\n */\n public get immutabilityPolicyMode(): BlobImmutabilityPolicyMode | undefined {\n return this.originalResponse.immutabilityPolicyMode;\n }\n\n /**\n * Indicates if a legal hold is present on the blob.\n *\n * @readonly\n */\n public get legalHold(): boolean | undefined {\n return this.originalResponse.legalHold;\n }\n\n /**\n * The response body as a browser Blob.\n * Always undefined in node.js.\n *\n * @readonly\n */\n public get contentAsBlob(): Promise | undefined {\n return this.originalResponse.blobBody;\n }\n\n /**\n * The response body as a node.js Readable stream.\n * Always undefined in the browser.\n *\n * It will automatically retry when internal read stream unexpected ends.\n *\n * @readonly\n */\n public get readableStreamBody(): NodeJS.ReadableStream | undefined {\n return isNode ? this.blobDownloadStream : undefined;\n }\n\n /**\n * The HTTP response.\n */\n public get _response(): HttpResponse & {\n parsedHeaders: BlobDownloadHeaders;\n } {\n return this.originalResponse._response;\n }\n\n private originalResponse: BlobDownloadResponseParsed;\n private blobDownloadStream?: RetriableReadableStream;\n\n /**\n * Creates an instance of BlobDownloadResponse.\n *\n * @param originalResponse -\n * @param getter -\n * @param offset -\n * @param count -\n * @param options -\n */\n public constructor(\n originalResponse: BlobDownloadResponseParsed,\n getter: ReadableStreamGetter,\n offset: number,\n count: number,\n options: RetriableReadableStreamOptions = {}\n ) {\n this.originalResponse = originalResponse;\n this.blobDownloadStream = new RetriableReadableStream(\n this.originalResponse.readableStreamBody!,\n getter,\n offset,\n count,\n options\n );\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nexport const AVRO_SYNC_MARKER_SIZE: number = 16;\nexport const AVRO_INIT_BYTES: Uint8Array = new Uint8Array([79, 98, 106, 1]);\nexport const AVRO_CODEC_KEY: string = \"avro.codec\";\nexport const AVRO_SCHEMA_KEY: string = \"avro.schema\";\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\n// TODO: Do a review of the Object usage and non-interfaces\n/* eslint-disable @typescript-eslint/ban-types, @azure/azure-sdk/ts-use-interface-parameters */\n\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport { AvroReadable } from \"./AvroReadable\";\nimport { KeyValuePair } from \"./utils/utils.common\";\n\n/**\n * Options to configure the AvroParser read methods.\n * See {@link AvroParser.readFixedBytes}, {@link AvroParser.readMap} and etc.\n */\ninterface AvroParserReadOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n}\n\nexport class AvroParser {\n /**\n * Reads a fixed number of bytes from the stream.\n *\n * @param stream -\n * @param length -\n * @param options -\n */\n public static async readFixedBytes(\n stream: AvroReadable,\n length: number,\n options: AvroParserReadOptions = {}\n ): Promise {\n const bytes = await stream.read(length, { abortSignal: options.abortSignal });\n if (bytes.length !== length) {\n throw new Error(\"Hit stream end.\");\n }\n return bytes;\n }\n\n /**\n * Reads a single byte from the stream.\n *\n * @param stream -\n * @param options -\n */\n private static async readByte(\n stream: AvroReadable,\n options: AvroParserReadOptions = {}\n ): Promise {\n const buf = await AvroParser.readFixedBytes(stream, 1, options);\n return buf[0];\n }\n\n // int and long are stored in variable-length zig-zag coding.\n // variable-length: https://lucene.apache.org/core/3_5_0/fileformats.html#VInt\n // zig-zag: https://developers.google.com/protocol-buffers/docs/encoding?csw=1#types\n private static async readZigZagLong(\n stream: AvroReadable,\n options: AvroParserReadOptions = {}\n ): Promise {\n let zigZagEncoded = 0;\n let significanceInBit = 0;\n let byte, haveMoreByte, significanceInFloat;\n\n do {\n byte = await AvroParser.readByte(stream, options);\n haveMoreByte = byte & 0x80;\n zigZagEncoded |= (byte & 0x7f) << significanceInBit;\n significanceInBit += 7;\n } while (haveMoreByte && significanceInBit < 28); // bitwise operation only works for 32-bit integers\n\n if (haveMoreByte) {\n // Switch to float arithmetic\n // eslint-disable-next-line no-self-assign\n zigZagEncoded = zigZagEncoded;\n significanceInFloat = 268435456; // 2 ** 28.\n do {\n byte = await AvroParser.readByte(stream, options);\n zigZagEncoded += (byte & 0x7f) * significanceInFloat;\n significanceInFloat *= 128; // 2 ** 7\n } while (byte & 0x80);\n\n const res = (zigZagEncoded % 2 ? -(zigZagEncoded + 1) : zigZagEncoded) / 2;\n if (res < Number.MIN_SAFE_INTEGER || res > Number.MAX_SAFE_INTEGER) {\n throw new Error(\"Integer overflow.\");\n }\n return res;\n }\n\n return (zigZagEncoded >> 1) ^ -(zigZagEncoded & 1);\n }\n\n public static async readLong(\n stream: AvroReadable,\n options: AvroParserReadOptions = {}\n ): Promise {\n return AvroParser.readZigZagLong(stream, options);\n }\n\n public static async readInt(\n stream: AvroReadable,\n options: AvroParserReadOptions = {}\n ): Promise {\n return AvroParser.readZigZagLong(stream, options);\n }\n\n public static async readNull(): Promise {\n return null;\n }\n\n public static async readBoolean(\n stream: AvroReadable,\n options: AvroParserReadOptions = {}\n ): Promise {\n const b = await AvroParser.readByte(stream, options);\n if (b === 1) {\n return true;\n } else if (b === 0) {\n return false;\n } else {\n throw new Error(\"Byte was not a boolean.\");\n }\n }\n\n public static async readFloat(\n stream: AvroReadable,\n options: AvroParserReadOptions = {}\n ): Promise {\n const u8arr = await AvroParser.readFixedBytes(stream, 4, options);\n const view = new DataView(u8arr.buffer, u8arr.byteOffset, u8arr.byteLength);\n return view.getFloat32(0, true); // littleEndian = true\n }\n\n public static async readDouble(\n stream: AvroReadable,\n options: AvroParserReadOptions = {}\n ): Promise {\n const u8arr = await AvroParser.readFixedBytes(stream, 8, options);\n const view = new DataView(u8arr.buffer, u8arr.byteOffset, u8arr.byteLength);\n return view.getFloat64(0, true); // littleEndian = true\n }\n\n public static async readBytes(\n stream: AvroReadable,\n options: AvroParserReadOptions = {}\n ): Promise {\n const size = await AvroParser.readLong(stream, options);\n if (size < 0) {\n throw new Error(\"Bytes size was negative.\");\n }\n\n return stream.read(size, { abortSignal: options.abortSignal });\n }\n\n public static async readString(\n stream: AvroReadable,\n options: AvroParserReadOptions = {}\n ): Promise {\n const u8arr = await AvroParser.readBytes(stream, options);\n const utf8decoder = new TextDecoder();\n return utf8decoder.decode(u8arr);\n }\n\n private static async readMapPair(\n stream: AvroReadable,\n readItemMethod: (s: AvroReadable, options?: AvroParserReadOptions) => Promise,\n options: AvroParserReadOptions = {}\n ): Promise> {\n const key = await AvroParser.readString(stream, options);\n // FUTURE: this won't work with readFixed (currently not supported) which needs a length as the parameter.\n const value = await readItemMethod(stream, options);\n return { key, value };\n }\n\n public static async readMap(\n stream: AvroReadable,\n readItemMethod: (s: AvroReadable, options?: AvroParserReadOptions) => Promise,\n options: AvroParserReadOptions = {}\n ): Promise> {\n const readPairMethod = (\n s: AvroReadable,\n opts: AvroParserReadOptions = {}\n ): Promise> => {\n return AvroParser.readMapPair(s, readItemMethod, opts);\n };\n\n const pairs: KeyValuePair[] = await AvroParser.readArray(stream, readPairMethod, options);\n\n const dict: Record = {};\n for (const pair of pairs) {\n dict[pair.key] = pair.value;\n }\n return dict;\n }\n\n private static async readArray(\n stream: AvroReadable,\n readItemMethod: (s: AvroReadable, options?: AvroParserReadOptions) => Promise,\n options: AvroParserReadOptions = {}\n ): Promise {\n const items: T[] = [];\n for (\n let count = await AvroParser.readLong(stream, options);\n count !== 0;\n count = await AvroParser.readLong(stream, options)\n ) {\n if (count < 0) {\n // Ignore block sizes\n await AvroParser.readLong(stream, options);\n count = -count;\n }\n\n while (count--) {\n const item: T = await readItemMethod(stream, options);\n items.push(item);\n }\n }\n return items;\n }\n}\n\ninterface RecordField {\n name: string;\n type: string | ObjectSchema | (string | ObjectSchema)[]; // Unions may not immediately contain other unions.\n}\n\nenum AvroComplex {\n RECORD = \"record\",\n ENUM = \"enum\",\n ARRAY = \"array\",\n MAP = \"map\",\n UNION = \"union\",\n FIXED = \"fixed\",\n}\n\ninterface ObjectSchema {\n type: Exclude;\n name?: string;\n aliases?: string;\n fields?: RecordField[];\n symbols?: string[];\n values?: string;\n size?: number;\n}\n\nenum AvroPrimitive {\n NULL = \"null\",\n BOOLEAN = \"boolean\",\n INT = \"int\",\n LONG = \"long\",\n FLOAT = \"float\",\n DOUBLE = \"double\",\n BYTES = \"bytes\",\n STRING = \"string\",\n}\n\nexport abstract class AvroType {\n /**\n * Reads an object from the stream.\n */\n public abstract read(\n stream: AvroReadable,\n options?: AvroParserReadOptions\n ): Promise; // eslint-disable-line @typescript-eslint/ban-types\n\n /**\n * Determines the AvroType from the Avro Schema.\n */\n public static fromSchema(schema: string | Object): AvroType {\n if (typeof schema === \"string\") {\n return AvroType.fromStringSchema(schema);\n } else if (Array.isArray(schema)) {\n return AvroType.fromArraySchema(schema);\n } else {\n return AvroType.fromObjectSchema(schema as ObjectSchema);\n }\n }\n\n private static fromStringSchema(schema: string): AvroType {\n switch (schema) {\n case AvroPrimitive.NULL:\n case AvroPrimitive.BOOLEAN:\n case AvroPrimitive.INT:\n case AvroPrimitive.LONG:\n case AvroPrimitive.FLOAT:\n case AvroPrimitive.DOUBLE:\n case AvroPrimitive.BYTES:\n case AvroPrimitive.STRING:\n return new AvroPrimitiveType(schema as AvroPrimitive);\n default:\n throw new Error(`Unexpected Avro type ${schema}`);\n }\n }\n\n private static fromArraySchema(schema: any[]): AvroType {\n return new AvroUnionType(schema.map(AvroType.fromSchema));\n }\n\n private static fromObjectSchema(schema: ObjectSchema): AvroType {\n const type = schema.type;\n // Primitives can be defined as strings or objects\n try {\n return AvroType.fromStringSchema(type);\n } catch (err: any) {\n // eslint-disable-line no-empty\n }\n\n switch (type) {\n case AvroComplex.RECORD:\n if (schema.aliases) {\n throw new Error(`aliases currently is not supported, schema: ${schema}`);\n }\n if (!schema.name) {\n throw new Error(`Required attribute 'name' doesn't exist on schema: ${schema}`);\n }\n\n // eslint-disable-next-line no-case-declarations\n const fields: Record = {};\n if (!schema.fields) {\n throw new Error(`Required attribute 'fields' doesn't exist on schema: ${schema}`);\n }\n for (const field of schema.fields) {\n fields[field.name] = AvroType.fromSchema(field.type);\n }\n return new AvroRecordType(fields, schema.name);\n case AvroComplex.ENUM:\n if (schema.aliases) {\n throw new Error(`aliases currently is not supported, schema: ${schema}`);\n }\n if (!schema.symbols) {\n throw new Error(`Required attribute 'symbols' doesn't exist on schema: ${schema}`);\n }\n return new AvroEnumType(schema.symbols);\n case AvroComplex.MAP:\n if (!schema.values) {\n throw new Error(`Required attribute 'values' doesn't exist on schema: ${schema}`);\n }\n return new AvroMapType(AvroType.fromSchema(schema.values));\n case AvroComplex.ARRAY: // Unused today\n case AvroComplex.FIXED: // Unused today\n default:\n throw new Error(`Unexpected Avro type ${type} in ${schema}`);\n }\n }\n}\n\nclass AvroPrimitiveType extends AvroType {\n private _primitive: AvroPrimitive;\n\n constructor(primitive: AvroPrimitive) {\n super();\n this._primitive = primitive;\n }\n\n public read(\n stream: AvroReadable,\n options: AvroParserReadOptions = {}\n ): Promise {\n switch (this._primitive) {\n case AvroPrimitive.NULL:\n return AvroParser.readNull();\n case AvroPrimitive.BOOLEAN:\n return AvroParser.readBoolean(stream, options);\n case AvroPrimitive.INT:\n return AvroParser.readInt(stream, options);\n case AvroPrimitive.LONG:\n return AvroParser.readLong(stream, options);\n case AvroPrimitive.FLOAT:\n return AvroParser.readFloat(stream, options);\n case AvroPrimitive.DOUBLE:\n return AvroParser.readDouble(stream, options);\n case AvroPrimitive.BYTES:\n return AvroParser.readBytes(stream, options);\n case AvroPrimitive.STRING:\n return AvroParser.readString(stream, options);\n default:\n throw new Error(\"Unknown Avro Primitive\");\n }\n }\n}\n\nclass AvroEnumType extends AvroType {\n private readonly _symbols: string[];\n\n constructor(symbols: string[]) {\n super();\n this._symbols = symbols;\n }\n\n public async read(stream: AvroReadable, options: AvroParserReadOptions = {}): Promise {\n const value = await AvroParser.readInt(stream, options);\n return this._symbols[value];\n }\n}\n\nclass AvroUnionType extends AvroType {\n private readonly _types: AvroType[];\n\n constructor(types: AvroType[]) {\n super();\n this._types = types;\n }\n\n public async read(\n stream: AvroReadable,\n options: AvroParserReadOptions = {}\n ): Promise { // eslint-disable-line @typescript-eslint/ban-types\n const typeIndex = await AvroParser.readInt(stream, options);\n return this._types[typeIndex].read(stream, options);\n }\n}\n\nclass AvroMapType extends AvroType {\n private readonly _itemType: AvroType;\n\n constructor(itemType: AvroType) {\n super();\n this._itemType = itemType;\n }\n\n public read(stream: AvroReadable, options: AvroParserReadOptions = {}): Promise {\n const readItemMethod = (\n s: AvroReadable,\n opts?: AvroParserReadOptions\n ): Promise => { \n return this._itemType.read(s, opts);\n };\n return AvroParser.readMap(stream, readItemMethod, options);\n }\n}\n\nclass AvroRecordType extends AvroType {\n private readonly _name: string;\n private readonly _fields: Record;\n\n constructor(fields: Record, name: string) {\n super();\n this._fields = fields;\n this._name = name;\n }\n\n public async read(stream: AvroReadable, options: AvroParserReadOptions = {}): Promise {\n const record: Record = {};\n record[\"$schema\"] = this._name;\n for (const key in this._fields) {\n if (Object.prototype.hasOwnProperty.call(this._fields, key)) {\n record[key] = await this._fields[key].read(stream, options);\n }\n }\n return record;\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nexport interface KeyValuePair {\n key: string;\n value: T;\n}\n\nexport function arraysEqual(a: Uint8Array, b: Uint8Array): boolean {\n if (a === b) return true;\n // eslint-disable-next-line eqeqeq\n if (a == null || b == null) return false;\n if (a.length !== b.length) return false;\n\n for (let i = 0; i < a.length; ++i) {\n if (a[i] !== b[i]) return false;\n }\n return true;\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\n// TODO: Do a review of non-interfaces\n/* eslint-disable @azure/azure-sdk/ts-use-interface-parameters */\n\nimport \"@azure/core-paging\";\nimport {\n AVRO_CODEC_KEY,\n AVRO_INIT_BYTES,\n AVRO_SCHEMA_KEY,\n AVRO_SYNC_MARKER_SIZE,\n} from \"./AvroConstants\";\nimport { AvroParser, AvroType } from \"./AvroParser\";\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport { AvroReadable } from \"./AvroReadable\";\nimport { arraysEqual } from \"./utils/utils.common\";\n\n/**\n * Options to configure the {@link AvroReader.parseObjects} operation.\n */\nexport interface AvroParseOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n}\n\nexport class AvroReader {\n private readonly _dataStream: AvroReadable;\n\n private readonly _headerStream: AvroReadable;\n\n private _syncMarker?: Uint8Array;\n\n private _metadata?: Record;\n\n private _itemType?: AvroType;\n\n private _itemsRemainingInBlock?: number;\n\n // Remembers where we started if partial data stream was provided.\n private readonly _initialBlockOffset: number;\n\n /// The byte offset within the Avro file (both header and data)\n /// of the start of the current block.\n private _blockOffset: number;\n public get blockOffset(): number {\n return this._blockOffset;\n }\n\n private _objectIndex: number;\n public get objectIndex(): number {\n return this._objectIndex;\n }\n\n private _initialized: boolean;\n\n constructor(dataStream: AvroReadable);\n\n constructor(\n dataStream: AvroReadable,\n headerStream: AvroReadable,\n currentBlockOffset: number,\n indexWithinCurrentBlock: number\n );\n\n constructor(\n dataStream: AvroReadable,\n headerStream?: AvroReadable,\n currentBlockOffset?: number,\n indexWithinCurrentBlock?: number\n ) {\n this._dataStream = dataStream;\n this._headerStream = headerStream || dataStream;\n this._initialized = false;\n this._blockOffset = currentBlockOffset || 0;\n this._objectIndex = indexWithinCurrentBlock || 0;\n this._initialBlockOffset = currentBlockOffset || 0;\n }\n\n private async initialize(options: AvroParseOptions = {}): Promise {\n const header = await AvroParser.readFixedBytes(this._headerStream, AVRO_INIT_BYTES.length, {\n abortSignal: options.abortSignal,\n });\n if (!arraysEqual(header, AVRO_INIT_BYTES)) {\n throw new Error(\"Stream is not an Avro file.\");\n }\n\n // File metadata is written as if defined by the following map schema:\n // { \"type\": \"map\", \"values\": \"bytes\"}\n this._metadata = await AvroParser.readMap(this._headerStream, AvroParser.readString, {\n abortSignal: options.abortSignal,\n });\n\n // Validate codec\n const codec = this._metadata![AVRO_CODEC_KEY];\n if (!(codec === undefined || codec === null || codec === \"null\")) {\n throw new Error(\"Codecs are not supported\");\n }\n\n // The 16-byte, randomly-generated sync marker for this file.\n this._syncMarker = await AvroParser.readFixedBytes(this._headerStream, AVRO_SYNC_MARKER_SIZE, {\n abortSignal: options.abortSignal,\n });\n\n // Parse the schema\n const schema = JSON.parse(this._metadata![AVRO_SCHEMA_KEY]);\n this._itemType = AvroType.fromSchema(schema);\n\n if (this._blockOffset === 0) {\n this._blockOffset = this._initialBlockOffset + this._dataStream.position;\n }\n\n this._itemsRemainingInBlock = await AvroParser.readLong(this._dataStream, {\n abortSignal: options.abortSignal,\n });\n // skip block length\n await AvroParser.readLong(this._dataStream, { abortSignal: options.abortSignal });\n\n this._initialized = true;\n if (this._objectIndex && this._objectIndex > 0) {\n for (let i = 0; i < this._objectIndex; i++) {\n await this._itemType.read(this._dataStream, { abortSignal: options.abortSignal });\n this._itemsRemainingInBlock!--;\n }\n }\n }\n\n public hasNext(): boolean {\n return !this._initialized || this._itemsRemainingInBlock! > 0;\n }\n\n public async *parseObjects(\n options: AvroParseOptions = {}\n ): AsyncIterableIterator | null> {\n if (!this._initialized) {\n await this.initialize(options);\n }\n\n while (this.hasNext()) {\n const result = await this._itemType!.read(this._dataStream, {\n abortSignal: options.abortSignal,\n });\n\n this._itemsRemainingInBlock!--;\n this._objectIndex!++;\n\n if (this._itemsRemainingInBlock === 0) {\n const marker = await AvroParser.readFixedBytes(this._dataStream, AVRO_SYNC_MARKER_SIZE, {\n abortSignal: options.abortSignal,\n });\n\n this._blockOffset = this._initialBlockOffset + this._dataStream.position;\n this._objectIndex = 0;\n\n if (!arraysEqual(this._syncMarker!, marker)) {\n throw new Error(\"Stream is not a valid Avro file.\");\n }\n\n try {\n this._itemsRemainingInBlock = await AvroParser.readLong(this._dataStream, {\n abortSignal: options.abortSignal,\n });\n } catch (err: any) {\n // We hit the end of the stream.\n this._itemsRemainingInBlock = 0;\n }\n\n if (this._itemsRemainingInBlock! > 0) {\n // Ignore block size\n await AvroParser.readLong(this._dataStream, { abortSignal: options.abortSignal });\n }\n }\n yield result;\n }\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { AbortSignalLike } from \"@azure/abort-controller\";\n\n/**\n * Options to configure the {@link AvroReadable.read} operation.\n */\nexport interface AvroReadableReadOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n}\n\nexport abstract class AvroReadable {\n public abstract get position(): number;\n public abstract read(size: number, options?: AvroReadableReadOptions): Promise;\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { AvroReadable, AvroReadableReadOptions } from \"./AvroReadable\";\nimport { AbortError } from \"@azure/abort-controller\";\n\nconst ABORT_ERROR = new AbortError(\"Reading from the avro stream was aborted.\");\n\nexport class AvroReadableFromStream extends AvroReadable {\n private _position: number;\n private _readable: NodeJS.ReadableStream;\n\n private toUint8Array(data: string | Buffer): Uint8Array {\n if (typeof data === \"string\") {\n return Buffer.from(data);\n }\n return data;\n }\n\n constructor(readable: NodeJS.ReadableStream) {\n super();\n this._readable = readable;\n this._position = 0;\n }\n public get position(): number {\n return this._position;\n }\n public async read(size: number, options: AvroReadableReadOptions = {}): Promise {\n if (options.abortSignal?.aborted) {\n throw ABORT_ERROR;\n }\n\n if (size < 0) {\n throw new Error(`size parameter should be positive: ${size}`);\n }\n\n if (size === 0) {\n return new Uint8Array();\n }\n\n if (!this._readable.readable) {\n throw new Error(\"Stream no longer readable.\");\n }\n // See if there is already enough data.\n const chunk = this._readable.read(size);\n if (chunk) {\n this._position += chunk.length;\n // chunk.length maybe less than desired size if the stream ends.\n return this.toUint8Array(chunk);\n } else {\n // register callback to wait for enough data to read\n return new Promise((resolve, reject) => {\n /* eslint-disable @typescript-eslint/no-use-before-define */\n const cleanUp: () => void = () => {\n this._readable.removeListener(\"readable\", readableCallback);\n this._readable.removeListener(\"error\", rejectCallback);\n this._readable.removeListener(\"end\", rejectCallback);\n this._readable.removeListener(\"close\", rejectCallback);\n\n if (options.abortSignal) {\n options.abortSignal!.removeEventListener(\"abort\", abortHandler);\n }\n };\n\n const readableCallback: () => void = () => {\n const callbackChunk = this._readable.read(size);\n if (callbackChunk) {\n this._position += callbackChunk.length;\n cleanUp();\n // callbackChunk.length maybe less than desired size if the stream ends.\n resolve(this.toUint8Array(callbackChunk));\n }\n };\n\n const rejectCallback: () => void = () => {\n cleanUp();\n reject();\n };\n\n const abortHandler: () => void = () => {\n cleanUp();\n reject(ABORT_ERROR);\n };\n\n this._readable.on(\"readable\", readableCallback);\n this._readable.once(\"error\", rejectCallback);\n this._readable.once(\"end\", rejectCallback);\n this._readable.once(\"close\", rejectCallback);\n if (options.abortSignal) {\n options.abortSignal!.addEventListener(\"abort\", abortHandler);\n }\n /* eslint-enable @typescript-eslint/no-use-before-define */\n });\n }\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { Readable } from \"stream\";\n\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport { TransferProgressEvent } from \"@azure/core-http\";\n\nimport { AvroReadableFromStream, AvroReader } from \"../../../storage-internal-avro/src\";\nimport { BlobQueryError } from \"../Clients\";\n\nexport interface BlobQuickQueryStreamOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n\n /**\n * Read progress event handler\n */\n onProgress?: (progress: TransferProgressEvent) => void;\n\n /**\n * Callback to receive error events during the query operaiton.\n */\n onError?: (error: BlobQueryError) => void;\n}\n\n/**\n * ONLY AVAILABLE IN NODE.JS RUNTIME.\n *\n * A Node.js BlobQuickQueryStream will internally parse avro data stream for blob query.\n */\nexport class BlobQuickQueryStream extends Readable {\n private source: NodeJS.ReadableStream;\n private avroReader: AvroReader;\n private avroIter: AsyncIterableIterator;\n private avroPaused: boolean = true;\n private onProgress?: (progress: TransferProgressEvent) => void;\n private onError?: (error: BlobQueryError) => void;\n\n /**\n * Creates an instance of BlobQuickQueryStream.\n *\n * @param source - The current ReadableStream returned from getter\n * @param options -\n */\n public constructor(source: NodeJS.ReadableStream, options: BlobQuickQueryStreamOptions = {}) {\n super();\n this.source = source;\n this.onProgress = options.onProgress;\n this.onError = options.onError;\n this.avroReader = new AvroReader(new AvroReadableFromStream(this.source));\n this.avroIter = this.avroReader.parseObjects({ abortSignal: options.abortSignal });\n }\n\n public _read(): void {\n if (this.avroPaused) {\n this.readInternal().catch((err) => {\n this.emit(\"error\", err);\n });\n }\n }\n\n private async readInternal() {\n this.avroPaused = false;\n let avroNext;\n do {\n avroNext = await this.avroIter.next();\n if (avroNext.done) {\n break;\n }\n const obj = avroNext.value;\n const schema = (obj as any).$schema;\n if (typeof schema !== \"string\") {\n throw Error(\"Missing schema in avro record.\");\n }\n\n switch (schema) {\n case \"com.microsoft.azure.storage.queryBlobContents.resultData\":\n {\n const data = (obj as any).data;\n if (data instanceof Uint8Array === false) {\n throw Error(\"Invalid data in avro result record.\");\n }\n if (!this.push(Buffer.from(data))) {\n this.avroPaused = true;\n }\n }\n break;\n case \"com.microsoft.azure.storage.queryBlobContents.progress\":\n {\n const bytesScanned = (obj as any).bytesScanned;\n if (typeof bytesScanned !== \"number\") {\n throw Error(\"Invalid bytesScanned in avro progress record.\");\n }\n if (this.onProgress) {\n this.onProgress({ loadedBytes: bytesScanned });\n }\n }\n break;\n case \"com.microsoft.azure.storage.queryBlobContents.end\":\n if (this.onProgress) {\n const totalBytes = (obj as any).totalBytes;\n if (typeof totalBytes !== \"number\") {\n throw Error(\"Invalid totalBytes in avro end record.\");\n }\n this.onProgress({ loadedBytes: totalBytes });\n }\n this.push(null);\n break;\n case \"com.microsoft.azure.storage.queryBlobContents.error\":\n if (this.onError) {\n const fatal = (obj as any).fatal;\n if (typeof fatal !== \"boolean\") {\n throw Error(\"Invalid fatal in avro error record.\");\n }\n const name = (obj as any).name;\n if (typeof name !== \"string\") {\n throw Error(\"Invalid name in avro error record.\");\n }\n const description = (obj as any).description;\n if (typeof description !== \"string\") {\n throw Error(\"Invalid description in avro error record.\");\n }\n const position = (obj as any).position;\n if (typeof position !== \"number\") {\n throw Error(\"Invalid position in avro error record.\");\n }\n this.onError({\n position,\n name,\n isFatal: fatal,\n description,\n });\n }\n break;\n default:\n throw Error(`Unknown schema ${schema} in avro progress record.`);\n }\n } while (!avroNext.done && !this.avroPaused);\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { HttpResponse, isNode } from \"@azure/core-http\";\n\nimport {\n BlobDownloadResponseModel,\n BlobType,\n CopyStatusType,\n LeaseDurationType,\n LeaseStateType,\n LeaseStatusType,\n BlobDownloadHeaders,\n BlobQueryResponseModel,\n} from \"./generatedModels\";\nimport { Metadata } from \"./models\";\nimport { BlobQuickQueryStream, BlobQuickQueryStreamOptions } from \"./utils/BlobQuickQueryStream\";\n\n/**\n * ONLY AVAILABLE IN NODE.JS RUNTIME.\n *\n * BlobQueryResponse implements BlobDownloadResponseModel interface, and in Node.js runtime it will\n * parse avor data returned by blob query.\n */\nexport class BlobQueryResponse implements BlobDownloadResponseModel {\n /**\n * Indicates that the service supports\n * requests for partial file content.\n *\n * @readonly\n */\n public get acceptRanges(): string | undefined {\n return this.originalResponse.acceptRanges;\n }\n\n /**\n * Returns if it was previously specified\n * for the file.\n *\n * @readonly\n */\n public get cacheControl(): string | undefined {\n return this.originalResponse.cacheControl;\n }\n\n /**\n * Returns the value that was specified\n * for the 'x-ms-content-disposition' header and specifies how to process the\n * response.\n *\n * @readonly\n */\n public get contentDisposition(): string | undefined {\n return this.originalResponse.contentDisposition;\n }\n\n /**\n * Returns the value that was specified\n * for the Content-Encoding request header.\n *\n * @readonly\n */\n public get contentEncoding(): string | undefined {\n return this.originalResponse.contentEncoding;\n }\n\n /**\n * Returns the value that was specified\n * for the Content-Language request header.\n *\n * @readonly\n */\n public get contentLanguage(): string | undefined {\n return this.originalResponse.contentLanguage;\n }\n\n /**\n * The current sequence number for a\n * page blob. This header is not returned for block blobs or append blobs.\n *\n * @readonly\n */\n public get blobSequenceNumber(): number | undefined {\n return this.originalResponse.blobSequenceNumber;\n }\n\n /**\n * The blob's type. Possible values include:\n * 'BlockBlob', 'PageBlob', 'AppendBlob'.\n *\n * @readonly\n */\n public get blobType(): BlobType | undefined {\n return this.originalResponse.blobType;\n }\n\n /**\n * The number of bytes present in the\n * response body.\n *\n * @readonly\n */\n public get contentLength(): number | undefined {\n return this.originalResponse.contentLength;\n }\n\n /**\n * If the file has an MD5 hash and the\n * request is to read the full file, this response header is returned so that\n * the client can check for message content integrity. If the request is to\n * read a specified range and the 'x-ms-range-get-content-md5' is set to\n * true, then the request returns an MD5 hash for the range, as long as the\n * range size is less than or equal to 4 MB. If neither of these sets of\n * conditions is true, then no value is returned for the 'Content-MD5'\n * header.\n *\n * @readonly\n */\n public get contentMD5(): Uint8Array | undefined {\n return this.originalResponse.contentMD5;\n }\n\n /**\n * Indicates the range of bytes returned if\n * the client requested a subset of the file by setting the Range request\n * header.\n *\n * @readonly\n */\n public get contentRange(): string | undefined {\n return this.originalResponse.contentRange;\n }\n\n /**\n * The content type specified for the file.\n * The default content type is 'application/octet-stream'\n *\n * @readonly\n */\n public get contentType(): string | undefined {\n return this.originalResponse.contentType;\n }\n\n /**\n * Conclusion time of the last attempted\n * Copy File operation where this file was the destination file. This value\n * can specify the time of a completed, aborted, or failed copy attempt.\n *\n * @readonly\n */\n public get copyCompletedOn(): Date | undefined {\n return undefined;\n }\n\n /**\n * String identifier for the last attempted Copy\n * File operation where this file was the destination file.\n *\n * @readonly\n */\n public get copyId(): string | undefined {\n return this.originalResponse.copyId;\n }\n\n /**\n * Contains the number of bytes copied and\n * the total bytes in the source in the last attempted Copy File operation\n * where this file was the destination file. Can show between 0 and\n * Content-Length bytes copied.\n *\n * @readonly\n */\n public get copyProgress(): string | undefined {\n return this.originalResponse.copyProgress;\n }\n\n /**\n * URL up to 2KB in length that specifies the\n * source file used in the last attempted Copy File operation where this file\n * was the destination file.\n *\n * @readonly\n */\n public get copySource(): string | undefined {\n return this.originalResponse.copySource;\n }\n\n /**\n * State of the copy operation\n * identified by 'x-ms-copy-id'. Possible values include: 'pending',\n * 'success', 'aborted', 'failed'\n *\n * @readonly\n */\n public get copyStatus(): CopyStatusType | undefined {\n return this.originalResponse.copyStatus;\n }\n\n /**\n * Only appears when\n * x-ms-copy-status is failed or pending. Describes cause of fatal or\n * non-fatal copy operation failure.\n *\n * @readonly\n */\n public get copyStatusDescription(): string | undefined {\n return this.originalResponse.copyStatusDescription;\n }\n\n /**\n * When a blob is leased,\n * specifies whether the lease is of infinite or fixed duration. Possible\n * values include: 'infinite', 'fixed'.\n *\n * @readonly\n */\n public get leaseDuration(): LeaseDurationType | undefined {\n return this.originalResponse.leaseDuration;\n }\n\n /**\n * Lease state of the blob. Possible\n * values include: 'available', 'leased', 'expired', 'breaking', 'broken'.\n *\n * @readonly\n */\n public get leaseState(): LeaseStateType | undefined {\n return this.originalResponse.leaseState;\n }\n\n /**\n * The current lease status of the\n * blob. Possible values include: 'locked', 'unlocked'.\n *\n * @readonly\n */\n public get leaseStatus(): LeaseStatusType | undefined {\n return this.originalResponse.leaseStatus;\n }\n\n /**\n * A UTC date/time value generated by the service that\n * indicates the time at which the response was initiated.\n *\n * @readonly\n */\n public get date(): Date | undefined {\n return this.originalResponse.date;\n }\n\n /**\n * The number of committed blocks\n * present in the blob. This header is returned only for append blobs.\n *\n * @readonly\n */\n public get blobCommittedBlockCount(): number | undefined {\n return this.originalResponse.blobCommittedBlockCount;\n }\n\n /**\n * The ETag contains a value that you can use to\n * perform operations conditionally, in quotes.\n *\n * @readonly\n */\n public get etag(): string | undefined {\n return this.originalResponse.etag;\n }\n\n /**\n * The error code.\n *\n * @readonly\n */\n public get errorCode(): string | undefined {\n return this.originalResponse.errorCode;\n }\n\n /**\n * The value of this header is set to\n * true if the file data and application metadata are completely encrypted\n * using the specified algorithm. Otherwise, the value is set to false (when\n * the file is unencrypted, or if only parts of the file/application metadata\n * are encrypted).\n *\n * @readonly\n */\n public get isServerEncrypted(): boolean | undefined {\n return this.originalResponse.isServerEncrypted;\n }\n\n /**\n * If the blob has a MD5 hash, and if\n * request contains range header (Range or x-ms-range), this response header\n * is returned with the value of the whole blob's MD5 value. This value may\n * or may not be equal to the value returned in Content-MD5 header, with the\n * latter calculated from the requested range.\n *\n * @readonly\n */\n public get blobContentMD5(): Uint8Array | undefined {\n return this.originalResponse.blobContentMD5;\n }\n\n /**\n * Returns the date and time the file was last\n * modified. Any operation that modifies the file or its properties updates\n * the last modified time.\n *\n * @readonly\n */\n public get lastModified(): Date | undefined {\n return this.originalResponse.lastModified;\n }\n\n /**\n * A name-value pair\n * to associate with a file storage object.\n *\n * @readonly\n */\n public get metadata(): Metadata | undefined {\n return this.originalResponse.metadata;\n }\n\n /**\n * This header uniquely identifies the request\n * that was made and can be used for troubleshooting the request.\n *\n * @readonly\n */\n public get requestId(): string | undefined {\n return this.originalResponse.requestId;\n }\n\n /**\n * If a client request id header is sent in the request, this header will be present in the\n * response with the same value.\n *\n * @readonly\n */\n public get clientRequestId(): string | undefined {\n return this.originalResponse.clientRequestId;\n }\n\n /**\n * Indicates the version of the File service used\n * to execute the request.\n *\n * @readonly\n */\n public get version(): string | undefined {\n return this.originalResponse.version;\n }\n\n /**\n * The SHA-256 hash of the encryption key used to encrypt the blob. This value is only returned\n * when the blob was encrypted with a customer-provided key.\n *\n * @readonly\n */\n public get encryptionKeySha256(): string | undefined {\n return this.originalResponse.encryptionKeySha256;\n }\n\n /**\n * If the request is to read a specified range and the x-ms-range-get-content-crc64 is set to\n * true, then the request returns a crc64 for the range, as long as the range size is less than\n * or equal to 4 MB. If both x-ms-range-get-content-crc64 & x-ms-range-get-content-md5 is\n * specified in the same request, it will fail with 400(Bad Request)\n */\n public get contentCrc64(): Uint8Array | undefined {\n return this.originalResponse.contentCrc64;\n }\n\n /**\n * The response body as a browser Blob.\n * Always undefined in node.js.\n *\n * @readonly\n */\n public get blobBody(): Promise | undefined {\n return undefined;\n }\n\n /**\n * The response body as a node.js Readable stream.\n * Always undefined in the browser.\n *\n * It will parse avor data returned by blob query.\n *\n * @readonly\n */\n public get readableStreamBody(): NodeJS.ReadableStream | undefined {\n return isNode ? this.blobDownloadStream : undefined;\n }\n\n /**\n * The HTTP response.\n */\n public get _response(): HttpResponse & {\n parsedHeaders: BlobDownloadHeaders;\n } {\n return this.originalResponse._response;\n }\n\n private originalResponse: BlobQueryResponseModel;\n private blobDownloadStream?: BlobQuickQueryStream;\n\n /**\n * Creates an instance of BlobQueryResponse.\n *\n * @param originalResponse -\n * @param options -\n */\n public constructor(\n originalResponse: BlobQueryResponseModel,\n options: BlobQuickQueryStreamOptions = {}\n ) {\n this.originalResponse = originalResponse;\n this.blobDownloadStream = new BlobQuickQueryStream(\n this.originalResponse.readableStreamBody!,\n options\n );\n }\n}\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreHttp from \"@azure/core-http\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { StorageClientContext } from \"../storageClientContext\";\nimport {\n AppendBlobCreateOptionalParams,\n AppendBlobCreateResponse,\n AppendBlobAppendBlockOptionalParams,\n AppendBlobAppendBlockResponse,\n AppendBlobAppendBlockFromUrlOptionalParams,\n AppendBlobAppendBlockFromUrlResponse,\n AppendBlobSealOptionalParams,\n AppendBlobSealResponse\n} from \"../models\";\n\n/** Class representing a AppendBlob. */\nexport class AppendBlob {\n private readonly client: StorageClientContext;\n\n /**\n * Initialize a new instance of the class AppendBlob class.\n * @param client Reference to the service client\n */\n constructor(client: StorageClientContext) {\n this.client = client;\n }\n\n /**\n * The Create Append Blob operation creates a new append blob.\n * @param contentLength The length of the request.\n * @param options The options parameters.\n */\n create(\n contentLength: number,\n options?: AppendBlobCreateOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n contentLength,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n createOperationSpec\n ) as Promise;\n }\n\n /**\n * The Append Block operation commits a new block of data to the end of an existing append blob. The\n * Append Block operation is permitted only if the blob was created with x-ms-blob-type set to\n * AppendBlob. Append Block is supported only on version 2015-02-21 version or later.\n * @param contentLength The length of the request.\n * @param body Initial data\n * @param options The options parameters.\n */\n appendBlock(\n contentLength: number,\n body: coreHttp.HttpRequestBody,\n options?: AppendBlobAppendBlockOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n contentLength,\n body,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n appendBlockOperationSpec\n ) as Promise;\n }\n\n /**\n * The Append Block operation commits a new block of data to the end of an existing append blob where\n * the contents are read from a source url. The Append Block operation is permitted only if the blob\n * was created with x-ms-blob-type set to AppendBlob. Append Block is supported only on version\n * 2015-02-21 version or later.\n * @param sourceUrl Specify a URL to the copy source.\n * @param contentLength The length of the request.\n * @param options The options parameters.\n */\n appendBlockFromUrl(\n sourceUrl: string,\n contentLength: number,\n options?: AppendBlobAppendBlockFromUrlOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n sourceUrl,\n contentLength,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n appendBlockFromUrlOperationSpec\n ) as Promise;\n }\n\n /**\n * The Seal operation seals the Append Blob to make it read-only. Seal is supported only on version\n * 2019-12-12 version or later.\n * @param options The options parameters.\n */\n seal(\n options?: AppendBlobSealOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n sealOperationSpec\n ) as Promise;\n }\n}\n// Operation Specifications\nconst xmlSerializer = new coreHttp.Serializer(Mappers, /* isXml */ true);\nconst serializer = new coreHttp.Serializer(Mappers, /* isXml */ false);\n\nconst createOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}/{blob}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.AppendBlobCreateHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.AppendBlobCreateExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.contentLength,\n Parameters.metadata,\n Parameters.leaseId,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.encryptionKey,\n Parameters.encryptionKeySha256,\n Parameters.encryptionAlgorithm,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.ifTags,\n Parameters.blobCacheControl,\n Parameters.blobContentType,\n Parameters.blobContentMD5,\n Parameters.blobContentEncoding,\n Parameters.blobContentLanguage,\n Parameters.blobContentDisposition,\n Parameters.immutabilityPolicyExpiry,\n Parameters.immutabilityPolicyMode,\n Parameters.encryptionScope,\n Parameters.blobTagsString,\n Parameters.legalHold1,\n Parameters.blobType1\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst appendBlockOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}/{blob}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.AppendBlobAppendBlockHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.AppendBlobAppendBlockExceptionHeaders\n }\n },\n requestBody: Parameters.body1,\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp22],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.contentLength,\n Parameters.leaseId,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.encryptionKey,\n Parameters.encryptionKeySha256,\n Parameters.encryptionAlgorithm,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.ifTags,\n Parameters.encryptionScope,\n Parameters.transactionalContentMD5,\n Parameters.transactionalContentCrc64,\n Parameters.contentType1,\n Parameters.accept2,\n Parameters.maxSize,\n Parameters.appendPosition\n ],\n mediaType: \"binary\",\n serializer\n};\nconst appendBlockFromUrlOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}/{blob}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.AppendBlobAppendBlockFromUrlHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.AppendBlobAppendBlockFromUrlExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp22],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.contentLength,\n Parameters.leaseId,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.encryptionKey,\n Parameters.encryptionKeySha256,\n Parameters.encryptionAlgorithm,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.ifTags,\n Parameters.encryptionScope,\n Parameters.sourceIfModifiedSince,\n Parameters.sourceIfUnmodifiedSince,\n Parameters.sourceIfMatch,\n Parameters.sourceIfNoneMatch,\n Parameters.sourceContentMD5,\n Parameters.copySourceAuthorization,\n Parameters.transactionalContentMD5,\n Parameters.sourceUrl,\n Parameters.sourceContentCrc64,\n Parameters.maxSize,\n Parameters.appendPosition,\n Parameters.sourceRange1\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst sealOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}/{blob}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.AppendBlobSealHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.AppendBlobSealExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp23],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.appendPosition\n ],\n isXML: true,\n serializer: xmlSerializer\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreHttp from \"@azure/core-http\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { StorageClientContext } from \"../storageClientContext\";\nimport {\n BlockBlobUploadOptionalParams,\n BlockBlobUploadResponse,\n BlockBlobPutBlobFromUrlOptionalParams,\n BlockBlobPutBlobFromUrlResponse,\n BlockBlobStageBlockOptionalParams,\n BlockBlobStageBlockResponse,\n BlockBlobStageBlockFromURLOptionalParams,\n BlockBlobStageBlockFromURLResponse,\n BlockLookupList,\n BlockBlobCommitBlockListOptionalParams,\n BlockBlobCommitBlockListResponse,\n BlockListType,\n BlockBlobGetBlockListOptionalParams,\n BlockBlobGetBlockListResponse\n} from \"../models\";\n\n/** Class representing a BlockBlob. */\nexport class BlockBlob {\n private readonly client: StorageClientContext;\n\n /**\n * Initialize a new instance of the class BlockBlob class.\n * @param client Reference to the service client\n */\n constructor(client: StorageClientContext) {\n this.client = client;\n }\n\n /**\n * The Upload Block Blob operation updates the content of an existing block blob. Updating an existing\n * block blob overwrites any existing metadata on the blob. Partial updates are not supported with Put\n * Blob; the content of the existing blob is overwritten with the content of the new blob. To perform a\n * partial update of the content of a block blob, use the Put Block List operation.\n * @param contentLength The length of the request.\n * @param body Initial data\n * @param options The options parameters.\n */\n upload(\n contentLength: number,\n body: coreHttp.HttpRequestBody,\n options?: BlockBlobUploadOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n contentLength,\n body,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n uploadOperationSpec\n ) as Promise;\n }\n\n /**\n * The Put Blob from URL operation creates a new Block Blob where the contents of the blob are read\n * from a given URL. This API is supported beginning with the 2020-04-08 version. Partial updates are\n * not supported with Put Blob from URL; the content of an existing blob is overwritten with the\n * content of the new blob. To perform partial updates to a block blob’s contents using a source URL,\n * use the Put Block from URL API in conjunction with Put Block List.\n * @param contentLength The length of the request.\n * @param copySource Specifies the name of the source page blob snapshot. This value is a URL of up to\n * 2 KB in length that specifies a page blob snapshot. The value should be URL-encoded as it would\n * appear in a request URI. The source blob must either be public or must be authenticated via a shared\n * access signature.\n * @param options The options parameters.\n */\n putBlobFromUrl(\n contentLength: number,\n copySource: string,\n options?: BlockBlobPutBlobFromUrlOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n contentLength,\n copySource,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n putBlobFromUrlOperationSpec\n ) as Promise;\n }\n\n /**\n * The Stage Block operation creates a new block to be committed as part of a blob\n * @param blockId A valid Base64 string value that identifies the block. Prior to encoding, the string\n * must be less than or equal to 64 bytes in size. For a given blob, the length of the value specified\n * for the blockid parameter must be the same size for each block.\n * @param contentLength The length of the request.\n * @param body Initial data\n * @param options The options parameters.\n */\n stageBlock(\n blockId: string,\n contentLength: number,\n body: coreHttp.HttpRequestBody,\n options?: BlockBlobStageBlockOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n blockId,\n contentLength,\n body,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n stageBlockOperationSpec\n ) as Promise;\n }\n\n /**\n * The Stage Block operation creates a new block to be committed as part of a blob where the contents\n * are read from a URL.\n * @param blockId A valid Base64 string value that identifies the block. Prior to encoding, the string\n * must be less than or equal to 64 bytes in size. For a given blob, the length of the value specified\n * for the blockid parameter must be the same size for each block.\n * @param contentLength The length of the request.\n * @param sourceUrl Specify a URL to the copy source.\n * @param options The options parameters.\n */\n stageBlockFromURL(\n blockId: string,\n contentLength: number,\n sourceUrl: string,\n options?: BlockBlobStageBlockFromURLOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n blockId,\n contentLength,\n sourceUrl,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n stageBlockFromURLOperationSpec\n ) as Promise;\n }\n\n /**\n * The Commit Block List operation writes a blob by specifying the list of block IDs that make up the\n * blob. In order to be written as part of a blob, a block must have been successfully written to the\n * server in a prior Put Block operation. You can call Put Block List to update a blob by uploading\n * only those blocks that have changed, then committing the new and existing blocks together. You can\n * do this by specifying whether to commit a block from the committed block list or from the\n * uncommitted block list, or to commit the most recently uploaded version of the block, whichever list\n * it may belong to.\n * @param blocks Blob Blocks.\n * @param options The options parameters.\n */\n commitBlockList(\n blocks: BlockLookupList,\n options?: BlockBlobCommitBlockListOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n blocks,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n commitBlockListOperationSpec\n ) as Promise;\n }\n\n /**\n * The Get Block List operation retrieves the list of blocks that have been uploaded as part of a block\n * blob\n * @param listType Specifies whether to return the list of committed blocks, the list of uncommitted\n * blocks, or both lists together.\n * @param options The options parameters.\n */\n getBlockList(\n listType: BlockListType,\n options?: BlockBlobGetBlockListOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n listType,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n getBlockListOperationSpec\n ) as Promise;\n }\n}\n// Operation Specifications\nconst xmlSerializer = new coreHttp.Serializer(Mappers, /* isXml */ true);\nconst serializer = new coreHttp.Serializer(Mappers, /* isXml */ false);\n\nconst uploadOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}/{blob}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.BlockBlobUploadHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.BlockBlobUploadExceptionHeaders\n }\n },\n requestBody: Parameters.body1,\n queryParameters: [Parameters.timeoutInSeconds],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.contentLength,\n Parameters.metadata,\n Parameters.leaseId,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.encryptionKey,\n Parameters.encryptionKeySha256,\n Parameters.encryptionAlgorithm,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.ifTags,\n Parameters.blobCacheControl,\n Parameters.blobContentType,\n Parameters.blobContentMD5,\n Parameters.blobContentEncoding,\n Parameters.blobContentLanguage,\n Parameters.blobContentDisposition,\n Parameters.immutabilityPolicyExpiry,\n Parameters.immutabilityPolicyMode,\n Parameters.encryptionScope,\n Parameters.tier,\n Parameters.blobTagsString,\n Parameters.legalHold1,\n Parameters.transactionalContentMD5,\n Parameters.contentType1,\n Parameters.accept2,\n Parameters.blobType2\n ],\n mediaType: \"binary\",\n serializer\n};\nconst putBlobFromUrlOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}/{blob}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.BlockBlobPutBlobFromUrlHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.BlockBlobPutBlobFromUrlExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.contentLength,\n Parameters.metadata,\n Parameters.leaseId,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.encryptionKey,\n Parameters.encryptionKeySha256,\n Parameters.encryptionAlgorithm,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.ifTags,\n Parameters.blobCacheControl,\n Parameters.blobContentType,\n Parameters.blobContentMD5,\n Parameters.blobContentEncoding,\n Parameters.blobContentLanguage,\n Parameters.blobContentDisposition,\n Parameters.encryptionScope,\n Parameters.tier,\n Parameters.sourceIfModifiedSince,\n Parameters.sourceIfUnmodifiedSince,\n Parameters.sourceIfMatch,\n Parameters.sourceIfNoneMatch,\n Parameters.sourceIfTags,\n Parameters.copySource,\n Parameters.blobTagsString,\n Parameters.sourceContentMD5,\n Parameters.copySourceAuthorization,\n Parameters.copySourceTags,\n Parameters.transactionalContentMD5,\n Parameters.blobType2,\n Parameters.copySourceBlobProperties\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst stageBlockOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}/{blob}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.BlockBlobStageBlockHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.BlockBlobStageBlockExceptionHeaders\n }\n },\n requestBody: Parameters.body1,\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.comp24,\n Parameters.blockId\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.contentLength,\n Parameters.leaseId,\n Parameters.encryptionKey,\n Parameters.encryptionKeySha256,\n Parameters.encryptionAlgorithm,\n Parameters.encryptionScope,\n Parameters.transactionalContentMD5,\n Parameters.transactionalContentCrc64,\n Parameters.contentType1,\n Parameters.accept2\n ],\n mediaType: \"binary\",\n serializer\n};\nconst stageBlockFromURLOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}/{blob}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.BlockBlobStageBlockFromURLHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.BlockBlobStageBlockFromURLExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.comp24,\n Parameters.blockId\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.contentLength,\n Parameters.leaseId,\n Parameters.encryptionKey,\n Parameters.encryptionKeySha256,\n Parameters.encryptionAlgorithm,\n Parameters.encryptionScope,\n Parameters.sourceIfModifiedSince,\n Parameters.sourceIfUnmodifiedSince,\n Parameters.sourceIfMatch,\n Parameters.sourceIfNoneMatch,\n Parameters.sourceContentMD5,\n Parameters.copySourceAuthorization,\n Parameters.sourceUrl,\n Parameters.sourceContentCrc64,\n Parameters.sourceRange1\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst commitBlockListOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}/{blob}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.BlockBlobCommitBlockListHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.BlockBlobCommitBlockListExceptionHeaders\n }\n },\n requestBody: Parameters.blocks,\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp25],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.version,\n Parameters.requestId,\n Parameters.metadata,\n Parameters.leaseId,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.encryptionKey,\n Parameters.encryptionKeySha256,\n Parameters.encryptionAlgorithm,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.ifTags,\n Parameters.blobCacheControl,\n Parameters.blobContentType,\n Parameters.blobContentMD5,\n Parameters.blobContentEncoding,\n Parameters.blobContentLanguage,\n Parameters.blobContentDisposition,\n Parameters.immutabilityPolicyExpiry,\n Parameters.immutabilityPolicyMode,\n Parameters.encryptionScope,\n Parameters.tier,\n Parameters.blobTagsString,\n Parameters.legalHold1,\n Parameters.transactionalContentMD5,\n Parameters.transactionalContentCrc64\n ],\n isXML: true,\n contentType: \"application/xml; charset=utf-8\",\n mediaType: \"xml\",\n serializer: xmlSerializer\n};\nconst getBlockListOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}/{blob}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BlockList,\n headersMapper: Mappers.BlockBlobGetBlockListHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.BlockBlobGetBlockListExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.snapshot,\n Parameters.comp25,\n Parameters.listType\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.ifTags\n ],\n isXML: true,\n serializer: xmlSerializer\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreHttp from \"@azure/core-http\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { StorageClientContext } from \"../storageClientContext\";\nimport {\n PageBlobCreateOptionalParams,\n PageBlobCreateResponse,\n PageBlobUploadPagesOptionalParams,\n PageBlobUploadPagesResponse,\n PageBlobClearPagesOptionalParams,\n PageBlobClearPagesResponse,\n PageBlobUploadPagesFromURLOptionalParams,\n PageBlobUploadPagesFromURLResponse,\n PageBlobGetPageRangesOptionalParams,\n PageBlobGetPageRangesResponse,\n PageBlobGetPageRangesDiffOptionalParams,\n PageBlobGetPageRangesDiffResponse,\n PageBlobResizeOptionalParams,\n PageBlobResizeResponse,\n SequenceNumberActionType,\n PageBlobUpdateSequenceNumberOptionalParams,\n PageBlobUpdateSequenceNumberResponse,\n PageBlobCopyIncrementalOptionalParams,\n PageBlobCopyIncrementalResponse\n} from \"../models\";\n\n/** Class representing a PageBlob. */\nexport class PageBlob {\n private readonly client: StorageClientContext;\n\n /**\n * Initialize a new instance of the class PageBlob class.\n * @param client Reference to the service client\n */\n constructor(client: StorageClientContext) {\n this.client = client;\n }\n\n /**\n * The Create operation creates a new page blob.\n * @param contentLength The length of the request.\n * @param blobContentLength This header specifies the maximum size for the page blob, up to 1 TB. The\n * page blob size must be aligned to a 512-byte boundary.\n * @param options The options parameters.\n */\n create(\n contentLength: number,\n blobContentLength: number,\n options?: PageBlobCreateOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n contentLength,\n blobContentLength,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n createOperationSpec\n ) as Promise;\n }\n\n /**\n * The Upload Pages operation writes a range of pages to a page blob\n * @param contentLength The length of the request.\n * @param body Initial data\n * @param options The options parameters.\n */\n uploadPages(\n contentLength: number,\n body: coreHttp.HttpRequestBody,\n options?: PageBlobUploadPagesOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n contentLength,\n body,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n uploadPagesOperationSpec\n ) as Promise;\n }\n\n /**\n * The Clear Pages operation clears a set of pages from a page blob\n * @param contentLength The length of the request.\n * @param options The options parameters.\n */\n clearPages(\n contentLength: number,\n options?: PageBlobClearPagesOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n contentLength,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n clearPagesOperationSpec\n ) as Promise;\n }\n\n /**\n * The Upload Pages operation writes a range of pages to a page blob where the contents are read from a\n * URL\n * @param sourceUrl Specify a URL to the copy source.\n * @param sourceRange Bytes of source data in the specified range. The length of this range should\n * match the ContentLength header and x-ms-range/Range destination range header.\n * @param contentLength The length of the request.\n * @param range The range of bytes to which the source range would be written. The range should be 512\n * aligned and range-end is required.\n * @param options The options parameters.\n */\n uploadPagesFromURL(\n sourceUrl: string,\n sourceRange: string,\n contentLength: number,\n range: string,\n options?: PageBlobUploadPagesFromURLOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n sourceUrl,\n sourceRange,\n contentLength,\n range,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n uploadPagesFromURLOperationSpec\n ) as Promise;\n }\n\n /**\n * The Get Page Ranges operation returns the list of valid page ranges for a page blob or snapshot of a\n * page blob\n * @param options The options parameters.\n */\n getPageRanges(\n options?: PageBlobGetPageRangesOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n getPageRangesOperationSpec\n ) as Promise;\n }\n\n /**\n * The Get Page Ranges Diff operation returns the list of valid page ranges for a page blob that were\n * changed between target blob and previous snapshot.\n * @param options The options parameters.\n */\n getPageRangesDiff(\n options?: PageBlobGetPageRangesDiffOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n getPageRangesDiffOperationSpec\n ) as Promise;\n }\n\n /**\n * Resize the Blob\n * @param blobContentLength This header specifies the maximum size for the page blob, up to 1 TB. The\n * page blob size must be aligned to a 512-byte boundary.\n * @param options The options parameters.\n */\n resize(\n blobContentLength: number,\n options?: PageBlobResizeOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n blobContentLength,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n resizeOperationSpec\n ) as Promise;\n }\n\n /**\n * Update the sequence number of the blob\n * @param sequenceNumberAction Required if the x-ms-blob-sequence-number header is set for the request.\n * This property applies to page blobs only. This property indicates how the service should modify the\n * blob's sequence number\n * @param options The options parameters.\n */\n updateSequenceNumber(\n sequenceNumberAction: SequenceNumberActionType,\n options?: PageBlobUpdateSequenceNumberOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n sequenceNumberAction,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n updateSequenceNumberOperationSpec\n ) as Promise;\n }\n\n /**\n * The Copy Incremental operation copies a snapshot of the source page blob to a destination page blob.\n * The snapshot is copied such that only the differential changes between the previously copied\n * snapshot are transferred to the destination. The copied snapshots are complete copies of the\n * original snapshot and can be read or copied from as usual. This API is supported since REST version\n * 2016-05-31.\n * @param copySource Specifies the name of the source page blob snapshot. This value is a URL of up to\n * 2 KB in length that specifies a page blob snapshot. The value should be URL-encoded as it would\n * appear in a request URI. The source blob must either be public or must be authenticated via a shared\n * access signature.\n * @param options The options parameters.\n */\n copyIncremental(\n copySource: string,\n options?: PageBlobCopyIncrementalOptionalParams\n ): Promise {\n const operationArguments: coreHttp.OperationArguments = {\n copySource,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n copyIncrementalOperationSpec\n ) as Promise;\n }\n}\n// Operation Specifications\nconst xmlSerializer = new coreHttp.Serializer(Mappers, /* isXml */ true);\nconst serializer = new coreHttp.Serializer(Mappers, /* isXml */ false);\n\nconst createOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}/{blob}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.PageBlobCreateHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.PageBlobCreateExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.contentLength,\n Parameters.metadata,\n Parameters.leaseId,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.encryptionKey,\n Parameters.encryptionKeySha256,\n Parameters.encryptionAlgorithm,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.ifTags,\n Parameters.blobCacheControl,\n Parameters.blobContentType,\n Parameters.blobContentMD5,\n Parameters.blobContentEncoding,\n Parameters.blobContentLanguage,\n Parameters.blobContentDisposition,\n Parameters.immutabilityPolicyExpiry,\n Parameters.immutabilityPolicyMode,\n Parameters.encryptionScope,\n Parameters.tier,\n Parameters.blobTagsString,\n Parameters.legalHold1,\n Parameters.blobType,\n Parameters.blobContentLength,\n Parameters.blobSequenceNumber\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst uploadPagesOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}/{blob}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.PageBlobUploadPagesHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.PageBlobUploadPagesExceptionHeaders\n }\n },\n requestBody: Parameters.body1,\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp19],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.contentLength,\n Parameters.leaseId,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.range,\n Parameters.encryptionKey,\n Parameters.encryptionKeySha256,\n Parameters.encryptionAlgorithm,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.ifTags,\n Parameters.encryptionScope,\n Parameters.transactionalContentMD5,\n Parameters.transactionalContentCrc64,\n Parameters.contentType1,\n Parameters.accept2,\n Parameters.pageWrite,\n Parameters.ifSequenceNumberLessThanOrEqualTo,\n Parameters.ifSequenceNumberLessThan,\n Parameters.ifSequenceNumberEqualTo\n ],\n mediaType: \"binary\",\n serializer\n};\nconst clearPagesOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}/{blob}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.PageBlobClearPagesHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.PageBlobClearPagesExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp19],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.contentLength,\n Parameters.leaseId,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.range,\n Parameters.encryptionKey,\n Parameters.encryptionKeySha256,\n Parameters.encryptionAlgorithm,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.ifTags,\n Parameters.encryptionScope,\n Parameters.ifSequenceNumberLessThanOrEqualTo,\n Parameters.ifSequenceNumberLessThan,\n Parameters.ifSequenceNumberEqualTo,\n Parameters.pageWrite1\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst uploadPagesFromURLOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}/{blob}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.PageBlobUploadPagesFromURLHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.PageBlobUploadPagesFromURLExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp19],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.contentLength,\n Parameters.leaseId,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.encryptionKey,\n Parameters.encryptionKeySha256,\n Parameters.encryptionAlgorithm,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.ifTags,\n Parameters.encryptionScope,\n Parameters.sourceIfModifiedSince,\n Parameters.sourceIfUnmodifiedSince,\n Parameters.sourceIfMatch,\n Parameters.sourceIfNoneMatch,\n Parameters.sourceContentMD5,\n Parameters.copySourceAuthorization,\n Parameters.pageWrite,\n Parameters.ifSequenceNumberLessThanOrEqualTo,\n Parameters.ifSequenceNumberLessThan,\n Parameters.ifSequenceNumberEqualTo,\n Parameters.sourceUrl,\n Parameters.sourceRange,\n Parameters.sourceContentCrc64,\n Parameters.range1\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst getPageRangesOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}/{blob}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PageList,\n headersMapper: Mappers.PageBlobGetPageRangesHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.PageBlobGetPageRangesExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.marker,\n Parameters.maxPageSize,\n Parameters.snapshot,\n Parameters.comp20\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.range,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.ifTags\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst getPageRangesDiffOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}/{blob}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PageList,\n headersMapper: Mappers.PageBlobGetPageRangesDiffHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.PageBlobGetPageRangesDiffExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.marker,\n Parameters.maxPageSize,\n Parameters.snapshot,\n Parameters.comp20,\n Parameters.prevsnapshot\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.range,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.ifTags,\n Parameters.prevSnapshotUrl\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst resizeOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}/{blob}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.PageBlobResizeHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.PageBlobResizeExceptionHeaders\n }\n },\n queryParameters: [Parameters.comp, Parameters.timeoutInSeconds],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.encryptionKey,\n Parameters.encryptionKeySha256,\n Parameters.encryptionAlgorithm,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.ifTags,\n Parameters.encryptionScope,\n Parameters.blobContentLength\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst updateSequenceNumberOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}/{blob}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.PageBlobUpdateSequenceNumberHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.PageBlobUpdateSequenceNumberExceptionHeaders\n }\n },\n queryParameters: [Parameters.comp, Parameters.timeoutInSeconds],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.ifTags,\n Parameters.blobSequenceNumber,\n Parameters.sequenceNumberAction\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst copyIncrementalOperationSpec: coreHttp.OperationSpec = {\n path: \"/{containerName}/{blob}\",\n httpMethod: \"PUT\",\n responses: {\n 202: {\n headersMapper: Mappers.PageBlobCopyIncrementalHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.PageBlobCopyIncrementalExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp21],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.ifTags,\n Parameters.copySource\n ],\n isXML: true,\n serializer: xmlSerializer\n};\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport { CancelOnProgress, PollOperationState } from \"@azure/core-lro\";\nimport { BlobImmutabilityPolicyMode } from \"./generatedModels\";\nimport {\n LeaseAccessConditions,\n SequenceNumberAccessConditions,\n AppendPositionAccessConditions,\n AccessTier,\n CpkInfo,\n BlobDownloadResponseModel,\n} from \"./generatedModels\";\nimport { EncryptionAlgorithmAES25 } from \"./utils/constants\";\n\n/**\n * Blob tags.\n */\nexport type Tags = Record;\n\n/**\n * A map of name-value pairs to associate with the resource.\n */\nexport interface Metadata {\n /**\n * A name-value pair.\n */\n [propertyName: string]: string;\n}\n\n/**\n * standard HTTP conditional headers and tags condition.\n */\nexport interface ModifiedAccessConditions\n extends MatchConditions,\n ModificationConditions,\n TagConditions {}\n\n/**\n * standard HTTP conditional headers, tags condition and lease condition\n */\nexport interface BlobRequestConditions extends ModifiedAccessConditions, LeaseAccessConditions {}\n\n/**\n * Conditions to add to the creation of this page blob.\n */\nexport interface PageBlobRequestConditions\n extends BlobRequestConditions,\n SequenceNumberAccessConditions {}\n\n/**\n * Conditions to add to the creation of this append blob.\n */\nexport interface AppendBlobRequestConditions\n extends BlobRequestConditions,\n AppendPositionAccessConditions {}\n\n/**\n * Specifies HTTP options for conditional requests based on modification time.\n */\nexport interface ModificationConditions {\n /**\n * Specify this header value to operate only on a blob if it has been modified since the\n * specified date/time.\n */\n ifModifiedSince?: Date;\n /**\n * Specify this header value to operate only on a blob if it has not been modified since the\n * specified date/time.\n */\n ifUnmodifiedSince?: Date;\n}\n\n/**\n * Specifies HTTP options for conditional requests based on ETag matching.\n */\nexport interface MatchConditions {\n /**\n * Specify an ETag value to operate only on blobs with a matching value.\n */\n ifMatch?: string;\n /**\n * Specify an ETag value to operate only on blobs without a matching value.\n */\n ifNoneMatch?: string;\n}\n\n/**\n * Specifies HTTP options for conditional requests based on blob tags.\n */\nexport interface TagConditions {\n /**\n * Optional SQL statement to apply to the tags of the blob.\n */\n tagConditions?: string;\n}\n\n/**\n * Conditions to meet for the container.\n */\nexport interface ContainerRequestConditions extends LeaseAccessConditions, ModificationConditions {}\n\n/**\n * Represents the access tier on a blob.\n * For detailed information about block blob level tiering see {@link https://docs.microsoft.com/azure/storage/blobs/storage-blob-storage-tiers|Hot, cool and archive storage tiers.}\n */\nexport enum BlockBlobTier {\n /**\n * Optimized for storing data that is accessed frequently.\n */\n Hot = \"Hot\",\n /**\n * Optimized for storing data that is infrequently accessed and stored for at least 30 days.\n */\n Cool = \"Cool\",\n /**\n * Optimized for storing data that is rarely accessed and stored for at least 180 days\n * with flexible latency requirements (on the order of hours).\n */\n Archive = \"Archive\",\n}\n\n/**\n * Specifies the page blob tier to set the blob to. This is only applicable to page blobs on premium storage accounts.\n * Please see {@link https://docs.microsoft.com/azure/storage/storage-premium-storage#scalability-and-performance-targets|here}\n * for detailed information on the corresponding IOPS and throughput per PageBlobTier.\n */\nexport enum PremiumPageBlobTier {\n /**\n * P4 Tier.\n */\n P4 = \"P4\",\n /**\n * P6 Tier.\n */\n P6 = \"P6\",\n /**\n * P10 Tier.\n */\n P10 = \"P10\",\n /**\n * P15 Tier.\n */\n P15 = \"P15\",\n /**\n * P20 Tier.\n */\n P20 = \"P20\",\n /**\n * P30 Tier.\n */\n P30 = \"P30\",\n /**\n * P40 Tier.\n */\n P40 = \"P40\",\n /**\n * P50 Tier.\n */\n P50 = \"P50\",\n /**\n * P60 Tier.\n */\n P60 = \"P60\",\n /**\n * P70 Tier.\n */\n P70 = \"P70\",\n /**\n * P80 Tier.\n */\n P80 = \"P80\",\n}\n\nexport function toAccessTier(\n tier: BlockBlobTier | PremiumPageBlobTier | string | undefined\n): AccessTier | undefined {\n if (tier === undefined) {\n return undefined;\n }\n\n return tier as AccessTier; // No more check if string is a valid AccessTier, and left this to underlay logic to decide(service).\n}\n\nexport function ensureCpkIfSpecified(cpk: CpkInfo | undefined, isHttps: boolean): void {\n if (cpk && !isHttps) {\n throw new RangeError(\"Customer-provided encryption key must be used over HTTPS.\");\n }\n\n if (cpk && !cpk.encryptionAlgorithm) {\n cpk.encryptionAlgorithm = EncryptionAlgorithmAES25;\n }\n}\n\n/**\n * Specifies the Replication Status of a blob. This is used when a storage account has\n * Object Replication Policy(s) applied. See {@link ObjectReplicationPolicy} and {@link ObjectReplicationRule}.\n */\nexport type ObjectReplicationStatus = \"complete\" | \"failed\";\n\n/**\n * Contains the Object Replication Rule ID and {@link ObjectReplicationStatus} of a blob.\n * There can be more than one {@link ObjectReplicationRule} under a {@link ObjectReplicationPolicy}.\n */\nexport interface ObjectReplicationRule {\n /**\n * The Object Replication Rule ID.\n */\n ruleId: string;\n\n /**\n * The Replication Status\n */\n replicationStatus: ObjectReplicationStatus;\n}\n\n/**\n * Contains Object Replication Policy ID and the respective list of {@link ObjectReplicationRule}.\n * This is used when retrieving the Object Replication Properties on the source blob. The policy id for the\n * destination blob is set in ObjectReplicationDestinationPolicyId of the respective method responses\n * (e.g. {@link BlobProperties.ObjectReplicationDestinationPolicyId}.\n */\nexport interface ObjectReplicationPolicy {\n /**\n * The Object Replication Policy ID.\n */\n policyId: string;\n\n /**\n * The Rule ID(s) and respective Replication Status(s) that are under the Policy ID.\n */\n rules: ObjectReplicationRule[];\n}\n\n/**\n * Contains response data for the {@link BlobClient.download} operation.\n */\nexport interface BlobDownloadResponseParsed extends BlobDownloadResponseModel {\n /**\n * Parsed Object Replication Policy Id, Rule Id(s) and status of the source blob.\n */\n objectReplicationSourceProperties?: ObjectReplicationPolicy[];\n\n /**\n * Object Replication Policy Id of the destination blob.\n */\n objectReplicationDestinationPolicyId?: string;\n}\n\n/**\n * The type of a {@link BlobQueryArrowField}.\n */\nexport type BlobQueryArrowFieldType =\n | \"int64\"\n | \"bool\"\n | \"timestamp[ms]\"\n | \"string\"\n | \"double\"\n | \"decimal\";\n\n/**\n * Describe a field in {@link BlobQueryArrowConfiguration}.\n */\nexport interface BlobQueryArrowField {\n /**\n * The type of the field.\n */\n type: BlobQueryArrowFieldType;\n\n /**\n * The name of the field.\n */\n name?: string;\n\n /**\n * The precision of the field. Required if type is \"decimal\".\n */\n precision?: number;\n\n /**\n * The scale of the field. Required if type is is \"decimal\".\n */\n scale?: number;\n}\n\n/**\n * Describe immutable policy for blob.\n */\nexport interface BlobImmutabilityPolicy {\n /**\n * Specifies the date time when the blobs immutability policy is set to expire.\n */\n expiriesOn?: Date;\n /**\n * Specifies the immutability policy mode to set on the blob.\n */\n policyMode?: BlobImmutabilityPolicyMode;\n}\n\n/**\n * Represents authentication information in Authorization, ProxyAuthorization,\n * WWW-Authenticate, and Proxy-Authenticate header values.\n */\nexport interface HttpAuthorization {\n /**\n * The scheme to use for authorization.\n */\n scheme: string;\n\n /**\n * the credentials containing the authentication information of the user agent for the resource being requested.\n */\n value: string;\n}\n\n/**\n * Defines the known cloud audiences for Storage.\n */\nexport enum StorageBlobAudience {\n /**\n * The OAuth scope to use to retrieve an AAD token for Azure Storage.\n */\n StorageOAuthScopes = \"https://storage.azure.com/.default\",\n /**\n * The OAuth scope to use to retrieve an AAD token for Azure Disk.\n */\n DiskComputeOAuthScopes = \"https://disk.compute.azure.com/.default\",\n}\n\n/**\n * Abstract representation of a poller, intended to expose just the minimal API that the user needs to work with.\n */\nexport interface PollerLikeWithCancellation, TResult> {\n /**\n * Returns a promise that will resolve once a single polling request finishes.\n * It does this by calling the update method of the Poller's operation.\n */\n poll(options?: { abortSignal?: AbortSignalLike }): Promise;\n /**\n * Returns a promise that will resolve once the underlying operation is completed.\n */\n pollUntilDone(): Promise;\n /**\n * Invokes the provided callback after each polling is completed,\n * sending the current state of the poller's operation.\n *\n * It returns a method that can be used to stop receiving updates on the given callback function.\n */\n onProgress(callback: (state: TState) => void): CancelOnProgress;\n /**\n * Returns true if the poller has finished polling.\n */\n isDone(): boolean;\n /**\n * Stops the poller. After this, no manual or automated requests can be sent.\n */\n stopPolling(): void;\n /**\n * Returns true if the poller is stopped.\n */\n isStopped(): boolean;\n /**\n * Attempts to cancel the underlying operation.\n */\n cancelOperation(options?: { abortSignal?: AbortSignalLike }): Promise;\n /**\n * Returns the state of the operation.\n * The TState defined in PollerLike can be a subset of the TState defined in\n * the Poller implementation.\n */\n getOperationState(): TState;\n /**\n * Returns the result value of the operation,\n * regardless of the state of the poller.\n * It can return undefined or an incomplete form of the final TResult value\n * depending on the implementation.\n */\n getResult(): TResult | undefined;\n /**\n * Returns a serialized version of the poller's operation\n * by invoking the operation's toString method.\n */\n toString(): string;\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { HttpResponse } from \"@azure/core-http\";\nimport {\n PageBlobGetPageRangesHeaders,\n PageBlobGetPageRangesDiffHeaders,\n PageBlobGetPageRangesResponseModel,\n PageBlobGetPageRangesDiffResponseModel,\n} from \"./generatedModels\";\nimport { Range } from \"./Range\";\n\n/**\n * List of page ranges for a blob.\n */\nexport interface PageList {\n /**\n * Valid non-overlapping page ranges.\n */\n pageRange?: Range[];\n /**\n * Present if the prevSnapshot parameter was specified and there were cleared\n * pages between the previous snapshot and the target snapshot.\n */\n clearRange?: Range[];\n}\n\n/**\n * Contains response data for the {@link BlobClient.getPageRanges} operation.\n */\nexport interface PageBlobGetPageRangesResponse extends PageList, PageBlobGetPageRangesHeaders {\n /**\n * The underlying HTTP response.\n */\n _response: HttpResponse & {\n /**\n * The parsed HTTP response headers.\n */\n parsedHeaders: PageBlobGetPageRangesHeaders;\n\n /**\n * The response body as text (string format)\n */\n bodyAsText: string;\n\n /**\n * The response body as parsed JSON or XML\n */\n parsedBody: PageList;\n };\n}\n\n/**\n * Contains response data for the {@link BlobClient.getPageRangesDiff} operation.\n */\nexport interface PageBlobGetPageRangesDiffResponse\n extends PageList,\n PageBlobGetPageRangesDiffHeaders {\n /**\n * The underlying HTTP response.\n */\n _response: HttpResponse & {\n /**\n * The parsed HTTP response headers.\n */\n parsedHeaders: PageBlobGetPageRangesDiffHeaders;\n\n /**\n * The response body as text (string format)\n */\n bodyAsText: string;\n\n /**\n * The response body as parsed JSON or XML\n */\n parsedBody: PageList;\n };\n}\n\n/**\n * Function that converts PageRange and ClearRange to a common Range object.\n * PageRange and ClearRange have start and end while Range offset and count\n * this function normalizes to Range.\n * @param response - Model PageBlob Range response\n */\nexport function rangeResponseFromModel(\n response: PageBlobGetPageRangesResponseModel | PageBlobGetPageRangesDiffResponseModel\n): PageBlobGetPageRangesResponse | PageBlobGetPageRangesDiffResponse {\n const pageRange = (response._response.parsedBody.pageRange || []).map((x) => ({\n offset: x.start,\n count: x.end - x.start,\n }));\n\n const clearRange = (response._response.parsedBody.clearRange || []).map((x) => ({\n offset: x.start,\n count: x.end - x.start,\n }));\n\n return {\n ...response,\n pageRange,\n clearRange,\n _response: {\n ...response._response,\n parsedBody: {\n pageRange,\n clearRange,\n },\n },\n };\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { PollOperation, PollOperationState } from \"./pollOperation\";\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport { CancelOnProgress } from \"../poller/models\";\nimport { PollerLike } from \"./models\";\n\n/**\n * PollProgressCallback is the type of the callback functions sent to onProgress.\n * These functions will receive a TState that is defined by your implementation of\n * the Poller class.\n */\nexport type PollProgressCallback = (state: TState) => void;\n\n/**\n * When a poller is manually stopped through the `stopPolling` method,\n * the poller will be rejected with an instance of the PollerStoppedError.\n */\nexport class PollerStoppedError extends Error {\n constructor(message: string) {\n super(message);\n this.name = \"PollerStoppedError\";\n Object.setPrototypeOf(this, PollerStoppedError.prototype);\n }\n}\n\n/**\n * When the operation is cancelled, the poller will be rejected with an instance\n * of the PollerCancelledError.\n */\nexport class PollerCancelledError extends Error {\n constructor(message: string) {\n super(message);\n this.name = \"PollerCancelledError\";\n Object.setPrototypeOf(this, PollerCancelledError.prototype);\n }\n}\n\n/**\n * A class that represents the definition of a program that polls through consecutive requests\n * until it reaches a state of completion.\n *\n * A poller can be executed manually, by polling request by request by calling to the `poll()` method repeatedly, until its operation is completed.\n * It also provides a way to wait until the operation completes, by calling `pollUntilDone()` and waiting until the operation finishes.\n * Pollers can also request the cancellation of the ongoing process to whom is providing the underlying long running operation.\n *\n * ```ts\n * const poller = new MyPoller();\n *\n * // Polling just once:\n * await poller.poll();\n *\n * // We can try to cancel the request here, by calling:\n * //\n * // await poller.cancelOperation();\n * //\n *\n * // Getting the final result:\n * const result = await poller.pollUntilDone();\n * ```\n *\n * The Poller is defined by two types, a type representing the state of the poller, which\n * must include a basic set of properties from `PollOperationState`,\n * and a return type defined by `TResult`, which can be anything.\n *\n * The Poller class implements the `PollerLike` interface, which allows poller implementations to avoid having\n * to export the Poller's class directly, and instead only export the already instantiated poller with the PollerLike type.\n *\n * ```ts\n * class Client {\n * public async makePoller: PollerLike {\n * const poller = new MyPoller({});\n * // It might be preferred to return the poller after the first request is made,\n * // so that some information can be obtained right away.\n * await poller.poll();\n * return poller;\n * }\n * }\n *\n * const poller: PollerLike = myClient.makePoller();\n * ```\n *\n * A poller can be created through its constructor, then it can be polled until it's completed.\n * At any point in time, the state of the poller can be obtained without delay through the getOperationState method.\n * At any point in time, the intermediate forms of the result type can be requested without delay.\n * Once the underlying operation is marked as completed, the poller will stop and the final value will be returned.\n *\n * ```ts\n * const poller = myClient.makePoller();\n * const state: MyOperationState = poller.getOperationState();\n *\n * // The intermediate result can be obtained at any time.\n * const result: MyResult | undefined = poller.getResult();\n *\n * // The final result can only be obtained after the poller finishes.\n * const result: MyResult = await poller.pollUntilDone();\n * ```\n *\n */\n// eslint-disable-next-line no-use-before-define\nexport abstract class Poller, TResult>\n implements PollerLike\n{\n /** controls whether to throw an error if the operation failed or was canceled. */\n protected resolveOnUnsuccessful: boolean = false;\n private stopped: boolean = true;\n private resolve?: (value: TResult) => void;\n private reject?: (error: PollerStoppedError | PollerCancelledError | Error) => void;\n private pollOncePromise?: Promise;\n private cancelPromise?: Promise;\n private promise: Promise;\n private pollProgressCallbacks: PollProgressCallback[] = [];\n\n /**\n * The poller's operation is available in full to any of the methods of the Poller class\n * and any class extending the Poller class.\n */\n protected operation: PollOperation;\n\n /**\n * A poller needs to be initialized by passing in at least the basic properties of the `PollOperation`.\n *\n * When writing an implementation of a Poller, this implementation needs to deal with the initialization\n * of any custom state beyond the basic definition of the poller. The basic poller assumes that the poller's\n * operation has already been defined, at least its basic properties. The code below shows how to approach\n * the definition of the constructor of a new custom poller.\n *\n * ```ts\n * export class MyPoller extends Poller {\n * constructor({\n * // Anything you might need outside of the basics\n * }) {\n * let state: MyOperationState = {\n * privateProperty: private,\n * publicProperty: public,\n * };\n *\n * const operation = {\n * state,\n * update,\n * cancel,\n * toString\n * }\n *\n * // Sending the operation to the parent's constructor.\n * super(operation);\n *\n * // You can assign more local properties here.\n * }\n * }\n * ```\n *\n * Inside of this constructor, a new promise is created. This will be used to\n * tell the user when the poller finishes (see `pollUntilDone()`). The promise's\n * resolve and reject methods are also used internally to control when to resolve\n * or reject anyone waiting for the poller to finish.\n *\n * The constructor of a custom implementation of a poller is where any serialized version of\n * a previous poller's operation should be deserialized into the operation sent to the\n * base constructor. For example:\n *\n * ```ts\n * export class MyPoller extends Poller {\n * constructor(\n * baseOperation: string | undefined\n * ) {\n * let state: MyOperationState = {};\n * if (baseOperation) {\n * state = {\n * ...JSON.parse(baseOperation).state,\n * ...state\n * };\n * }\n * const operation = {\n * state,\n * // ...\n * }\n * super(operation);\n * }\n * }\n * ```\n *\n * @param operation - Must contain the basic properties of `PollOperation`.\n */\n constructor(operation: PollOperation) {\n this.operation = operation;\n this.promise = new Promise(\n (\n resolve: (result: TResult) => void,\n reject: (error: PollerStoppedError | PollerCancelledError | Error) => void\n ) => {\n this.resolve = resolve;\n this.reject = reject;\n }\n );\n // This prevents the UnhandledPromiseRejectionWarning in node.js from being thrown.\n // The above warning would get thrown if `poller.poll` is called, it returns an error,\n // and pullUntilDone did not have a .catch or await try/catch on it's return value.\n this.promise.catch(() => {\n /* intentionally blank */\n });\n }\n\n /**\n * Defines how much to wait between each poll request.\n * This has to be implemented by your custom poller.\n *\n * \\@azure/core-util has a simple implementation of a delay function that waits as many milliseconds as specified.\n * This can be used as follows:\n *\n * ```ts\n * import { delay } from \"@azure/core-util\";\n *\n * export class MyPoller extends Poller {\n * // The other necessary definitions.\n *\n * async delay(): Promise {\n * const milliseconds = 1000;\n * return delay(milliseconds);\n * }\n * }\n * ```\n *\n */\n protected abstract delay(): Promise;\n\n /**\n * Starts a loop that will break only if the poller is done\n * or if the poller is stopped.\n */\n private async startPolling(pollOptions: { abortSignal?: AbortSignalLike } = {}): Promise {\n if (this.stopped) {\n this.stopped = false;\n }\n while (!this.isStopped() && !this.isDone()) {\n await this.poll(pollOptions);\n await this.delay();\n }\n }\n\n /**\n * pollOnce does one polling, by calling to the update method of the underlying\n * poll operation to make any relevant change effective.\n *\n * It only optionally receives an object with an abortSignal property, from \\@azure/abort-controller's AbortSignalLike.\n *\n * @param options - Optional properties passed to the operation's update method.\n */\n private async pollOnce(options: { abortSignal?: AbortSignalLike } = {}): Promise {\n if (!this.isDone()) {\n this.operation = await this.operation.update({\n abortSignal: options.abortSignal,\n fireProgress: this.fireProgress.bind(this),\n });\n }\n this.processUpdatedState();\n }\n\n /**\n * fireProgress calls the functions passed in via onProgress the method of the poller.\n *\n * It loops over all of the callbacks received from onProgress, and executes them, sending them\n * the current operation state.\n *\n * @param state - The current operation state.\n */\n private fireProgress(state: TState): void {\n for (const callback of this.pollProgressCallbacks) {\n callback(state);\n }\n }\n\n /**\n * Invokes the underlying operation's cancel method.\n */\n private async cancelOnce(options: { abortSignal?: AbortSignalLike } = {}): Promise {\n this.operation = await this.operation.cancel(options);\n }\n\n /**\n * Returns a promise that will resolve once a single polling request finishes.\n * It does this by calling the update method of the Poller's operation.\n *\n * It only optionally receives an object with an abortSignal property, from \\@azure/abort-controller's AbortSignalLike.\n *\n * @param options - Optional properties passed to the operation's update method.\n */\n public poll(options: { abortSignal?: AbortSignalLike } = {}): Promise {\n if (!this.pollOncePromise) {\n this.pollOncePromise = this.pollOnce(options);\n const clearPollOncePromise = (): void => {\n this.pollOncePromise = undefined;\n };\n this.pollOncePromise.then(clearPollOncePromise, clearPollOncePromise).catch(this.reject);\n }\n return this.pollOncePromise;\n }\n\n private processUpdatedState(): void {\n if (this.operation.state.error) {\n this.stopped = true;\n if (!this.resolveOnUnsuccessful) {\n this.reject!(this.operation.state.error);\n throw this.operation.state.error;\n }\n }\n if (this.operation.state.isCancelled) {\n this.stopped = true;\n if (!this.resolveOnUnsuccessful) {\n const error = new PollerCancelledError(\"Operation was canceled\");\n this.reject!(error);\n throw error;\n }\n }\n if (this.isDone() && this.resolve) {\n // If the poller has finished polling, this means we now have a result.\n // However, it can be the case that TResult is instantiated to void, so\n // we are not expecting a result anyway. To assert that we might not\n // have a result eventually after finishing polling, we cast the result\n // to TResult.\n this.resolve(this.getResult() as TResult);\n }\n }\n\n /**\n * Returns a promise that will resolve once the underlying operation is completed.\n */\n public async pollUntilDone(\n pollOptions: { abortSignal?: AbortSignalLike } = {}\n ): Promise {\n if (this.stopped) {\n this.startPolling(pollOptions).catch(this.reject);\n }\n // This is needed because the state could have been updated by\n // `cancelOperation`, e.g. the operation is canceled or an error occurred.\n this.processUpdatedState();\n return this.promise;\n }\n\n /**\n * Invokes the provided callback after each polling is completed,\n * sending the current state of the poller's operation.\n *\n * It returns a method that can be used to stop receiving updates on the given callback function.\n */\n public onProgress(callback: (state: TState) => void): CancelOnProgress {\n this.pollProgressCallbacks.push(callback);\n return (): void => {\n this.pollProgressCallbacks = this.pollProgressCallbacks.filter((c) => c !== callback);\n };\n }\n\n /**\n * Returns true if the poller has finished polling.\n */\n public isDone(): boolean {\n const state: PollOperationState = this.operation.state;\n return Boolean(state.isCompleted || state.isCancelled || state.error);\n }\n\n /**\n * Stops the poller from continuing to poll.\n */\n public stopPolling(): void {\n if (!this.stopped) {\n this.stopped = true;\n if (this.reject) {\n this.reject(new PollerStoppedError(\"This poller is already stopped\"));\n }\n }\n }\n\n /**\n * Returns true if the poller is stopped.\n */\n public isStopped(): boolean {\n return this.stopped;\n }\n\n /**\n * Attempts to cancel the underlying operation.\n *\n * It only optionally receives an object with an abortSignal property, from \\@azure/abort-controller's AbortSignalLike.\n *\n * If it's called again before it finishes, it will throw an error.\n *\n * @param options - Optional properties passed to the operation's update method.\n */\n public cancelOperation(options: { abortSignal?: AbortSignalLike } = {}): Promise {\n if (!this.cancelPromise) {\n this.cancelPromise = this.cancelOnce(options);\n } else if (options.abortSignal) {\n throw new Error(\"A cancel request is currently pending\");\n }\n return this.cancelPromise;\n }\n\n /**\n * Returns the state of the operation.\n *\n * Even though TState will be the same type inside any of the methods of any extension of the Poller class,\n * implementations of the pollers can customize what's shared with the public by writing their own\n * version of the `getOperationState` method, and by defining two types, one representing the internal state of the poller\n * and a public type representing a safe to share subset of the properties of the internal state.\n * Their definition of getOperationState can then return their public type.\n *\n * Example:\n *\n * ```ts\n * // Let's say we have our poller's operation state defined as:\n * interface MyOperationState extends PollOperationState {\n * privateProperty?: string;\n * publicProperty?: string;\n * }\n *\n * // To allow us to have a true separation of public and private state, we have to define another interface:\n * interface PublicState extends PollOperationState {\n * publicProperty?: string;\n * }\n *\n * // Then, we define our Poller as follows:\n * export class MyPoller extends Poller {\n * // ... More content is needed here ...\n *\n * public getOperationState(): PublicState {\n * const state: PublicState = this.operation.state;\n * return {\n * // Properties from PollOperationState\n * isStarted: state.isStarted,\n * isCompleted: state.isCompleted,\n * isCancelled: state.isCancelled,\n * error: state.error,\n * result: state.result,\n *\n * // The only other property needed by PublicState.\n * publicProperty: state.publicProperty\n * }\n * }\n * }\n * ```\n *\n * You can see this in the tests of this repository, go to the file:\n * `../test/utils/testPoller.ts`\n * and look for the getOperationState implementation.\n */\n public getOperationState(): TState {\n return this.operation.state;\n }\n\n /**\n * Returns the result value of the operation,\n * regardless of the state of the poller.\n * It can return undefined or an incomplete form of the final TResult value\n * depending on the implementation.\n */\n public getResult(): TResult | undefined {\n const state: PollOperationState = this.operation.state;\n return state.result;\n }\n\n /**\n * Returns a serialized version of the poller's operation\n * by invoking the operation's toString method.\n */\n public toString(): string {\n return this.operation.toString();\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { delay } from \"@azure/core-http\";\nimport { PollOperation, PollOperationState, Poller } from \"@azure/core-lro\";\nimport { BlobClient, BlobStartCopyFromURLOptions, BlobBeginCopyFromURLResponse } from \"../Clients\";\n\n/**\n * Defines the operations from a {@link BlobClient} that are needed for the poller\n * returned by {@link BlobClient.beginCopyFromURL} to work.\n */\nexport type CopyPollerBlobClient = Pick & {\n startCopyFromURL(\n copySource: string,\n options?: BlobStartCopyFromURLOptions\n ): Promise;\n};\n\n/**\n * The state used by the poller returned from {@link BlobClient.beginCopyFromURL}.\n *\n * This state is passed into the user-specified `onProgress` callback\n * whenever copy progress is detected.\n */\nexport interface BlobBeginCopyFromUrlPollState\n extends PollOperationState {\n /**\n * The instance of {@link BlobClient} that was used when calling {@link BlobClient.beginCopyFromURL}.\n */\n readonly blobClient: CopyPollerBlobClient;\n /**\n * The copyId that identifies the in-progress blob copy.\n */\n copyId?: string;\n /**\n * the progress of the blob copy as reported by the service.\n */\n copyProgress?: string;\n /**\n * The source URL provided in {@link BlobClient.beginCopyFromURL}.\n */\n copySource: string;\n /**\n * The options that were passed to the initial {@link BlobClient.beginCopyFromURL} call.\n * This is exposed for the poller and should not be modified directly.\n */\n readonly startCopyFromURLOptions?: BlobStartCopyFromURLOptions;\n}\n\n/**\n * The PollOperation responsible for:\n * - performing the initial startCopyFromURL\n * - checking the copy status via getProperties\n * - cancellation via abortCopyFromURL\n * @hidden\n */\nexport interface BlobBeginCopyFromURLPollOperation\n extends PollOperation {}\n\n/**\n * The set of options used to configure the poller.\n * This is an internal interface populated by {@link BlobClient.beginCopyFromURL}.\n *\n * @hidden\n */\nexport interface BlobBeginCopyFromUrlPollerOptions {\n blobClient: CopyPollerBlobClient;\n copySource: string;\n intervalInMs?: number;\n onProgress?: (state: BlobBeginCopyFromUrlPollState) => void;\n resumeFrom?: string;\n startCopyFromURLOptions?: BlobStartCopyFromURLOptions;\n}\n\n/**\n * This is the poller returned by {@link BlobClient.beginCopyFromURL}.\n * This can not be instantiated directly outside of this package.\n *\n * @hidden\n */\nexport class BlobBeginCopyFromUrlPoller extends Poller<\n BlobBeginCopyFromUrlPollState,\n BlobBeginCopyFromURLResponse\n> {\n public intervalInMs: number;\n\n constructor(options: BlobBeginCopyFromUrlPollerOptions) {\n const {\n blobClient,\n copySource,\n intervalInMs = 15000,\n onProgress,\n resumeFrom,\n startCopyFromURLOptions,\n } = options;\n\n let state: BlobBeginCopyFromUrlPollState | undefined;\n\n if (resumeFrom) {\n state = JSON.parse(resumeFrom).state;\n }\n\n const operation = makeBlobBeginCopyFromURLPollOperation({\n ...state,\n blobClient,\n copySource,\n startCopyFromURLOptions,\n });\n\n super(operation);\n\n if (typeof onProgress === \"function\") {\n this.onProgress(onProgress);\n }\n\n this.intervalInMs = intervalInMs;\n }\n\n public delay(): Promise {\n return delay(this.intervalInMs);\n }\n}\n\n/**\n * Note: Intentionally using function expression over arrow function expression\n * so that the function can be invoked with a different context.\n * This affects what `this` refers to.\n * @hidden\n */\nconst cancel: BlobBeginCopyFromURLPollOperation[\"cancel\"] = async function cancel(\n this: BlobBeginCopyFromURLPollOperation,\n options = {}\n) {\n const state = this.state;\n const { copyId } = state;\n if (state.isCompleted) {\n return makeBlobBeginCopyFromURLPollOperation(state);\n }\n\n if (!copyId) {\n state.isCancelled = true;\n return makeBlobBeginCopyFromURLPollOperation(state);\n }\n\n // if abortCopyFromURL throws, it will bubble up to user's poller.cancelOperation call\n await state.blobClient.abortCopyFromURL(copyId, {\n abortSignal: options.abortSignal,\n });\n state.isCancelled = true;\n\n return makeBlobBeginCopyFromURLPollOperation(state);\n};\n\n/**\n * Note: Intentionally using function expression over arrow function expression\n * so that the function can be invoked with a different context.\n * This affects what `this` refers to.\n * @hidden\n */\nconst update: BlobBeginCopyFromURLPollOperation[\"update\"] = async function update(\n this: BlobBeginCopyFromURLPollOperation,\n options = {}\n): Promise {\n const state = this.state;\n const { blobClient, copySource, startCopyFromURLOptions } = state;\n\n if (!state.isStarted) {\n state.isStarted = true;\n const result = await blobClient.startCopyFromURL(copySource, startCopyFromURLOptions);\n\n // copyId is needed to abort\n state.copyId = result.copyId;\n if (result.copyStatus === \"success\") {\n state.result = result;\n state.isCompleted = true;\n }\n } else if (!state.isCompleted) {\n try {\n const result = await state.blobClient.getProperties({ abortSignal: options.abortSignal });\n const { copyStatus, copyProgress } = result;\n const prevCopyProgress = state.copyProgress;\n if (copyProgress) {\n state.copyProgress = copyProgress;\n }\n if (\n copyStatus === \"pending\" &&\n copyProgress !== prevCopyProgress &&\n typeof options.fireProgress === \"function\"\n ) {\n // trigger in setTimeout, or swallow error?\n options.fireProgress(state);\n } else if (copyStatus === \"success\") {\n state.result = result;\n state.isCompleted = true;\n } else if (copyStatus === \"failed\") {\n state.error = new Error(\n `Blob copy failed with reason: \"${result.copyStatusDescription || \"unknown\"}\"`\n );\n state.isCompleted = true;\n }\n } catch (err: any) {\n state.error = err;\n state.isCompleted = true;\n }\n }\n\n return makeBlobBeginCopyFromURLPollOperation(state);\n};\n\n/**\n * Note: Intentionally using function expression over arrow function expression\n * so that the function can be invoked with a different context.\n * This affects what `this` refers to.\n * @hidden\n */\nconst toString: BlobBeginCopyFromURLPollOperation[\"toString\"] = function toString(\n this: BlobBeginCopyFromURLPollOperation\n) {\n return JSON.stringify({ state: this.state }, (key, value) => {\n // remove blobClient from serialized state since a client can't be hydrated from this info.\n if (key === \"blobClient\") {\n return undefined;\n }\n return value;\n });\n};\n\n/**\n * Creates a poll operation given the provided state.\n * @hidden\n */\nfunction makeBlobBeginCopyFromURLPollOperation(\n state: BlobBeginCopyFromUrlPollState\n): BlobBeginCopyFromURLPollOperation {\n return {\n state: { ...state },\n cancel,\n toString,\n update,\n };\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\n/**\n * Range for Blob Service Operations.\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/specifying-the-range-header-for-blob-service-operations\n */\nexport interface Range {\n /**\n * StartByte, larger than or equal 0.\n */\n offset: number;\n /**\n * Optional. Count of bytes, larger than 0.\n * If not provided, will return bytes from offset to the end.\n */\n count?: number;\n}\n\n/**\n * Generate a range string. For example:\n *\n * \"bytes=255-\" or \"bytes=0-511\"\n *\n * @param iRange -\n */\nexport function rangeToString(iRange: Range): string {\n if (iRange.offset < 0) {\n throw new RangeError(`Range.offset cannot be smaller than 0.`);\n }\n if (iRange.count && iRange.count <= 0) {\n throw new RangeError(\n `Range.count must be larger than 0. Leave it undefined if you want a range from offset to the end.`\n );\n }\n return iRange.count\n ? `bytes=${iRange.offset}-${iRange.offset + iRange.count - 1}`\n : `bytes=${iRange.offset}-`;\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\n// In browser, during webpack or browserify bundling, this module will be replaced by 'events'\n// https://github.com/Gozala/events\nimport { EventEmitter } from \"events\";\n\n/**\n * Operation is an async function to be executed and managed by Batch.\n */\nexport declare type Operation = () => Promise;\n\n/**\n * States for Batch.\n */\nenum BatchStates {\n Good,\n Error,\n}\n\n/**\n * Batch provides basic parallel execution with concurrency limits.\n * Will stop execute left operations when one of the executed operation throws an error.\n * But Batch cannot cancel ongoing operations, you need to cancel them by yourself.\n */\nexport class Batch {\n /**\n * Concurrency. Must be lager than 0.\n */\n private concurrency: number;\n\n /**\n * Number of active operations under execution.\n */\n private actives: number = 0;\n\n /**\n * Number of completed operations under execution.\n */\n private completed: number = 0;\n\n /**\n * Offset of next operation to be executed.\n */\n private offset: number = 0;\n\n /**\n * Operation array to be executed.\n */\n private operations: Operation[] = [];\n\n /**\n * States of Batch. When an error happens, state will turn into error.\n * Batch will stop execute left operations.\n */\n private state: BatchStates = BatchStates.Good;\n\n /**\n * A private emitter used to pass events inside this class.\n */\n private emitter: EventEmitter;\n\n /**\n * Creates an instance of Batch.\n * @param concurrency -\n */\n public constructor(concurrency: number = 5) {\n if (concurrency < 1) {\n throw new RangeError(\"concurrency must be larger than 0\");\n }\n this.concurrency = concurrency;\n this.emitter = new EventEmitter();\n }\n\n /**\n * Add a operation into queue.\n *\n * @param operation -\n */\n public addOperation(operation: Operation): void {\n this.operations.push(async () => {\n try {\n this.actives++;\n await operation();\n this.actives--;\n this.completed++;\n this.parallelExecute();\n } catch (error: any) {\n this.emitter.emit(\"error\", error);\n }\n });\n }\n\n /**\n * Start execute operations in the queue.\n *\n */\n public async do(): Promise {\n if (this.operations.length === 0) {\n return Promise.resolve();\n }\n\n this.parallelExecute();\n\n return new Promise((resolve, reject) => {\n this.emitter.on(\"finish\", resolve);\n\n this.emitter.on(\"error\", (error) => {\n this.state = BatchStates.Error;\n reject(error);\n });\n });\n }\n\n /**\n * Get next operation to be executed. Return null when reaching ends.\n *\n */\n private nextOperation(): Operation | null {\n if (this.offset < this.operations.length) {\n return this.operations[this.offset++];\n }\n return null;\n }\n\n /**\n * Start execute operations. One one the most important difference between\n * this method with do() is that do() wraps as an sync method.\n *\n */\n private parallelExecute(): void {\n if (this.state === BatchStates.Error) {\n return;\n }\n\n if (this.completed >= this.operations.length) {\n this.emitter.emit(\"finish\");\n return;\n }\n\n while (this.actives < this.concurrency) {\n const operation = this.nextOperation();\n if (operation) {\n operation();\n } else {\n return;\n }\n }\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { Readable, ReadableOptions } from \"stream\";\n\n/**\n * Options to configure the BuffersStream.\n */\nexport interface BuffersStreamOptions extends ReadableOptions {}\n\n/**\n * This class generates a readable stream from the data in an array of buffers.\n */\nexport class BuffersStream extends Readable {\n /**\n * The offset of data to be read in the current buffer.\n */\n private byteOffsetInCurrentBuffer: number;\n\n /**\n * The index of buffer to be read in the array of buffers.\n */\n private bufferIndex: number;\n\n /**\n * The total length of data already read.\n */\n private pushedBytesLength: number;\n\n /**\n * Creates an instance of BuffersStream that will emit the data\n * contained in the array of buffers.\n *\n * @param buffers - Array of buffers containing the data\n * @param byteLength - The total length of data contained in the buffers\n */\n constructor(\n private buffers: Buffer[],\n private byteLength: number,\n options?: BuffersStreamOptions\n ) {\n super(options);\n this.byteOffsetInCurrentBuffer = 0;\n this.bufferIndex = 0;\n this.pushedBytesLength = 0;\n\n // check byteLength is no larger than buffers[] total length\n let buffersLength = 0;\n for (const buf of this.buffers) {\n buffersLength += buf.byteLength;\n }\n if (buffersLength < this.byteLength) {\n throw new Error(\"Data size shouldn't be larger than the total length of buffers.\");\n }\n }\n\n /**\n * Internal _read() that will be called when the stream wants to pull more data in.\n *\n * @param size - Optional. The size of data to be read\n */\n public _read(size?: number) {\n if (this.pushedBytesLength >= this.byteLength) {\n this.push(null);\n }\n\n if (!size) {\n size = this.readableHighWaterMark;\n }\n\n const outBuffers: Buffer[] = [];\n let i = 0;\n while (i < size && this.pushedBytesLength < this.byteLength) {\n // The last buffer may be longer than the data it contains.\n const remainingDataInAllBuffers = this.byteLength - this.pushedBytesLength;\n const remainingCapacityInThisBuffer =\n this.buffers[this.bufferIndex].byteLength - this.byteOffsetInCurrentBuffer;\n const remaining = Math.min(remainingCapacityInThisBuffer, remainingDataInAllBuffers);\n if (remaining > size - i) {\n // chunkSize = size - i\n const end = this.byteOffsetInCurrentBuffer + size - i;\n outBuffers.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer, end));\n this.pushedBytesLength += size - i;\n this.byteOffsetInCurrentBuffer = end;\n i = size;\n break;\n } else {\n // chunkSize = remaining\n const end = this.byteOffsetInCurrentBuffer + remaining;\n outBuffers.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer, end));\n if (remaining === remainingCapacityInThisBuffer) {\n // this.buffers[this.bufferIndex] used up, shift to next one\n this.byteOffsetInCurrentBuffer = 0;\n this.bufferIndex++;\n } else {\n this.byteOffsetInCurrentBuffer = end;\n }\n this.pushedBytesLength += remaining;\n i += remaining;\n }\n }\n\n if (outBuffers.length > 1) {\n this.push(Buffer.concat(outBuffers));\n } else if (outBuffers.length === 1) {\n this.push(outBuffers[0]);\n }\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { BuffersStream } from \"./BuffersStream\";\nimport { Readable } from \"stream\";\n\n/**\n * maxBufferLength is max size of each buffer in the pooled buffers.\n */\n// Can't use import as Typescript doesn't recognize \"buffer\".\nconst maxBufferLength = require(\"buffer\").constants.MAX_LENGTH;\n\n/**\n * This class provides a buffer container which conceptually has no hard size limit.\n * It accepts a capacity, an array of input buffers and the total length of input data.\n * It will allocate an internal \"buffer\" of the capacity and fill the data in the input buffers\n * into the internal \"buffer\" serially with respect to the total length.\n * Then by calling PooledBuffer.getReadableStream(), you can get a readable stream\n * assembled from all the data in the internal \"buffer\".\n */\nexport class PooledBuffer {\n /**\n * Internal buffers used to keep the data.\n * Each buffer has a length of the maxBufferLength except last one.\n */\n private buffers: Buffer[] = [];\n\n /**\n * The total size of internal buffers.\n */\n private readonly capacity: number;\n\n /**\n * The total size of data contained in internal buffers.\n */\n private _size: number;\n\n /**\n * The size of the data contained in the pooled buffers.\n */\n public get size(): number {\n return this._size;\n }\n\n /**\n * Creates an instance of PooledBuffer with given capacity.\n * Internal buffers are allocated but contains no data.\n * Users may call the {@link PooledBuffer.fill} method to fill this\n * pooled buffer with data.\n *\n * @param capacity - Total capacity of the internal buffers\n */\n constructor(capacity: number);\n\n /**\n * Creates an instance of PooledBuffer with given capacity.\n * Internal buffers are allocated and filled with data in the input buffers serially\n * with respect to the total length.\n *\n * @param capacity - Total capacity of the internal buffers\n * @param buffers - Input buffers containing the data to be filled in the pooled buffer\n * @param totalLength - Total length of the data to be filled in.\n */\n constructor(capacity: number, buffers: Buffer[], totalLength: number);\n constructor(capacity: number, buffers?: Buffer[], totalLength?: number) {\n this.capacity = capacity;\n this._size = 0;\n\n // allocate\n const bufferNum = Math.ceil(capacity / maxBufferLength);\n for (let i = 0; i < bufferNum; i++) {\n let len = i === bufferNum - 1 ? capacity % maxBufferLength : maxBufferLength;\n if (len === 0) {\n len = maxBufferLength;\n }\n this.buffers.push(Buffer.allocUnsafe(len));\n }\n\n if (buffers) {\n this.fill(buffers, totalLength!);\n }\n }\n\n /**\n * Fill the internal buffers with data in the input buffers serially\n * with respect to the total length and the total capacity of the internal buffers.\n * Data copied will be shift out of the input buffers.\n *\n * @param buffers - Input buffers containing the data to be filled in the pooled buffer\n * @param totalLength - Total length of the data to be filled in.\n *\n */\n public fill(buffers: Buffer[], totalLength: number) {\n this._size = Math.min(this.capacity, totalLength);\n\n let i = 0,\n j = 0,\n targetOffset = 0,\n sourceOffset = 0,\n totalCopiedNum = 0;\n while (totalCopiedNum < this._size) {\n const source = buffers[i];\n const target = this.buffers[j];\n const copiedNum = source.copy(target, targetOffset, sourceOffset);\n\n totalCopiedNum += copiedNum;\n sourceOffset += copiedNum;\n targetOffset += copiedNum;\n if (sourceOffset === source.length) {\n i++;\n sourceOffset = 0;\n }\n if (targetOffset === target.length) {\n j++;\n targetOffset = 0;\n }\n }\n\n // clear copied from source buffers\n buffers.splice(0, i);\n if (buffers.length > 0) {\n buffers[0] = buffers[0].slice(sourceOffset);\n }\n }\n\n /**\n * Get the readable stream assembled from all the data in the internal buffers.\n *\n */\n public getReadableStream(): Readable {\n return new BuffersStream(this.buffers, this.size);\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { EventEmitter } from \"events\";\nimport { Readable } from \"stream\";\nimport { PooledBuffer } from \"./PooledBuffer\";\n\n/**\n * OutgoingHandler is an async function triggered by BufferScheduler.\n */\nexport declare type OutgoingHandler = (\n body: () => NodeJS.ReadableStream,\n length: number,\n offset?: number\n) => Promise;\n\n/**\n * This class accepts a Node.js Readable stream as input, and keeps reading data\n * from the stream into the internal buffer structure, until it reaches maxBuffers.\n * Every available buffer will try to trigger outgoingHandler.\n *\n * The internal buffer structure includes an incoming buffer array, and a outgoing\n * buffer array. The incoming buffer array includes the \"empty\" buffers can be filled\n * with new incoming data. The outgoing array includes the filled buffers to be\n * handled by outgoingHandler. Every above buffer size is defined by parameter bufferSize.\n *\n * NUM_OF_ALL_BUFFERS = BUFFERS_IN_INCOMING + BUFFERS_IN_OUTGOING + BUFFERS_UNDER_HANDLING\n *\n * NUM_OF_ALL_BUFFERS lesser than or equal to maxBuffers\n *\n * PERFORMANCE IMPROVEMENT TIPS:\n * 1. Input stream highWaterMark is better to set a same value with bufferSize\n * parameter, which will avoid Buffer.concat() operations.\n * 2. concurrency should set a smaller value than maxBuffers, which is helpful to\n * reduce the possibility when a outgoing handler waits for the stream data.\n * in this situation, outgoing handlers are blocked.\n * Outgoing queue shouldn't be empty.\n */\nexport class BufferScheduler {\n /**\n * Size of buffers in incoming and outgoing queues. This class will try to align\n * data read from Readable stream into buffer chunks with bufferSize defined.\n */\n private readonly bufferSize: number;\n\n /**\n * How many buffers can be created or maintained.\n */\n private readonly maxBuffers: number;\n\n /**\n * A Node.js Readable stream.\n */\n private readonly readable: Readable;\n\n /**\n * OutgoingHandler is an async function triggered by BufferScheduler when there\n * are available buffers in outgoing array.\n */\n private readonly outgoingHandler: OutgoingHandler;\n\n /**\n * An internal event emitter.\n */\n private readonly emitter: EventEmitter = new EventEmitter();\n\n /**\n * Concurrency of executing outgoingHandlers. (0 lesser than concurrency lesser than or equal to maxBuffers)\n */\n private readonly concurrency: number;\n\n /**\n * An internal offset marker to track data offset in bytes of next outgoingHandler.\n */\n private offset: number = 0;\n\n /**\n * An internal marker to track whether stream is end.\n */\n private isStreamEnd: boolean = false;\n\n /**\n * An internal marker to track whether stream or outgoingHandler returns error.\n */\n private isError: boolean = false;\n\n /**\n * How many handlers are executing.\n */\n private executingOutgoingHandlers: number = 0;\n\n /**\n * Encoding of the input Readable stream which has string data type instead of Buffer.\n */\n private encoding?: BufferEncoding;\n\n /**\n * How many buffers have been allocated.\n */\n private numBuffers: number = 0;\n\n /**\n * Because this class doesn't know how much data every time stream pops, which\n * is defined by highWaterMarker of the stream. So BufferScheduler will cache\n * data received from the stream, when data in unresolvedDataArray exceeds the\n * blockSize defined, it will try to concat a blockSize of buffer, fill into available\n * buffers from incoming and push to outgoing array.\n */\n private unresolvedDataArray: Buffer[] = [];\n\n /**\n * How much data consisted in unresolvedDataArray.\n */\n private unresolvedLength: number = 0;\n\n /**\n * The array includes all the available buffers can be used to fill data from stream.\n */\n private incoming: PooledBuffer[] = [];\n\n /**\n * The array (queue) includes all the buffers filled from stream data.\n */\n private outgoing: PooledBuffer[] = [];\n\n /**\n * Creates an instance of BufferScheduler.\n *\n * @param readable - A Node.js Readable stream\n * @param bufferSize - Buffer size of every maintained buffer\n * @param maxBuffers - How many buffers can be allocated\n * @param outgoingHandler - An async function scheduled to be\n * triggered when a buffer fully filled\n * with stream data\n * @param concurrency - Concurrency of executing outgoingHandlers (>0)\n * @param encoding - [Optional] Encoding of Readable stream when it's a string stream\n */\n constructor(\n readable: Readable,\n bufferSize: number,\n maxBuffers: number,\n outgoingHandler: OutgoingHandler,\n concurrency: number,\n encoding?: BufferEncoding\n ) {\n if (bufferSize <= 0) {\n throw new RangeError(`bufferSize must be larger than 0, current is ${bufferSize}`);\n }\n\n if (maxBuffers <= 0) {\n throw new RangeError(`maxBuffers must be larger than 0, current is ${maxBuffers}`);\n }\n\n if (concurrency <= 0) {\n throw new RangeError(`concurrency must be larger than 0, current is ${concurrency}`);\n }\n\n this.bufferSize = bufferSize;\n this.maxBuffers = maxBuffers;\n this.readable = readable;\n this.outgoingHandler = outgoingHandler;\n this.concurrency = concurrency;\n this.encoding = encoding;\n }\n\n /**\n * Start the scheduler, will return error when stream of any of the outgoingHandlers\n * returns error.\n *\n */\n public async do(): Promise {\n return new Promise((resolve, reject) => {\n this.readable.on(\"data\", (data) => {\n data = typeof data === \"string\" ? Buffer.from(data, this.encoding) : data;\n this.appendUnresolvedData(data);\n\n if (!this.resolveData()) {\n this.readable.pause();\n }\n });\n\n this.readable.on(\"error\", (err) => {\n this.emitter.emit(\"error\", err);\n });\n\n this.readable.on(\"end\", () => {\n this.isStreamEnd = true;\n this.emitter.emit(\"checkEnd\");\n });\n\n this.emitter.on(\"error\", (err) => {\n this.isError = true;\n this.readable.pause();\n reject(err);\n });\n\n this.emitter.on(\"checkEnd\", () => {\n if (this.outgoing.length > 0) {\n this.triggerOutgoingHandlers();\n return;\n }\n\n if (this.isStreamEnd && this.executingOutgoingHandlers === 0) {\n if (this.unresolvedLength > 0 && this.unresolvedLength < this.bufferSize) {\n const buffer = this.shiftBufferFromUnresolvedDataArray();\n this.outgoingHandler(() => buffer.getReadableStream(), buffer.size, this.offset)\n .then(resolve)\n .catch(reject);\n } else if (this.unresolvedLength >= this.bufferSize) {\n return;\n } else {\n resolve();\n }\n }\n });\n });\n }\n\n /**\n * Insert a new data into unresolved array.\n *\n * @param data -\n */\n private appendUnresolvedData(data: Buffer) {\n this.unresolvedDataArray.push(data);\n this.unresolvedLength += data.length;\n }\n\n /**\n * Try to shift a buffer with size in blockSize. The buffer returned may be less\n * than blockSize when data in unresolvedDataArray is less than bufferSize.\n *\n */\n private shiftBufferFromUnresolvedDataArray(buffer?: PooledBuffer): PooledBuffer {\n if (!buffer) {\n buffer = new PooledBuffer(this.bufferSize, this.unresolvedDataArray, this.unresolvedLength);\n } else {\n buffer.fill(this.unresolvedDataArray, this.unresolvedLength);\n }\n\n this.unresolvedLength -= buffer.size;\n return buffer;\n }\n\n /**\n * Resolve data in unresolvedDataArray. For every buffer with size in blockSize\n * shifted, it will try to get (or allocate a buffer) from incoming, and fill it,\n * then push it into outgoing to be handled by outgoing handler.\n *\n * Return false when available buffers in incoming are not enough, else true.\n *\n * @returns Return false when buffers in incoming are not enough, else true.\n */\n private resolveData(): boolean {\n while (this.unresolvedLength >= this.bufferSize) {\n let buffer: PooledBuffer;\n\n if (this.incoming.length > 0) {\n buffer = this.incoming.shift()!;\n this.shiftBufferFromUnresolvedDataArray(buffer);\n } else {\n if (this.numBuffers < this.maxBuffers) {\n buffer = this.shiftBufferFromUnresolvedDataArray();\n this.numBuffers++;\n } else {\n // No available buffer, wait for buffer returned\n return false;\n }\n }\n\n this.outgoing.push(buffer);\n this.triggerOutgoingHandlers();\n }\n return true;\n }\n\n /**\n * Try to trigger a outgoing handler for every buffer in outgoing. Stop when\n * concurrency reaches.\n */\n private async triggerOutgoingHandlers() {\n let buffer: PooledBuffer | undefined;\n do {\n if (this.executingOutgoingHandlers >= this.concurrency) {\n return;\n }\n\n buffer = this.outgoing.shift();\n if (buffer) {\n this.triggerOutgoingHandler(buffer);\n }\n } while (buffer);\n }\n\n /**\n * Trigger a outgoing handler for a buffer shifted from outgoing.\n *\n * @param buffer -\n */\n private async triggerOutgoingHandler(buffer: PooledBuffer): Promise {\n const bufferLength = buffer.size;\n\n this.executingOutgoingHandlers++;\n this.offset += bufferLength;\n\n try {\n await this.outgoingHandler(\n () => buffer.getReadableStream(),\n bufferLength,\n this.offset - bufferLength\n );\n } catch (err: any) {\n this.emitter.emit(\"error\", err);\n return;\n }\n\n this.executingOutgoingHandlers--;\n this.reuseBuffer(buffer);\n this.emitter.emit(\"checkEnd\");\n }\n\n /**\n * Return buffer used by outgoing handler into incoming.\n *\n * @param buffer -\n */\n private reuseBuffer(buffer: PooledBuffer) {\n this.incoming.push(buffer);\n if (!this.isError && this.resolveData() && !this.isStreamEnd) {\n this.readable.resume();\n }\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport * as fs from \"fs\";\nimport * as util from \"util\";\nimport { REQUEST_TIMEOUT } from \"./constants\";\n\n/**\n * Reads a readable stream into buffer. Fill the buffer from offset to end.\n *\n * @param stream - A Node.js Readable stream\n * @param buffer - Buffer to be filled, length must greater than or equal to offset\n * @param offset - From which position in the buffer to be filled, inclusive\n * @param end - To which position in the buffer to be filled, exclusive\n * @param encoding - Encoding of the Readable stream\n */\nexport async function streamToBuffer(\n stream: NodeJS.ReadableStream,\n buffer: Buffer,\n offset: number,\n end: number,\n encoding?: BufferEncoding\n): Promise {\n let pos = 0; // Position in stream\n const count = end - offset; // Total amount of data needed in stream\n\n return new Promise((resolve, reject) => {\n const timeout = setTimeout(\n () => reject(new Error(`The operation cannot be completed in timeout.`)),\n REQUEST_TIMEOUT\n );\n\n stream.on(\"readable\", () => {\n if (pos >= count) {\n clearTimeout(timeout);\n resolve();\n return;\n }\n\n let chunk = stream.read();\n if (!chunk) {\n return;\n }\n if (typeof chunk === \"string\") {\n chunk = Buffer.from(chunk, encoding);\n }\n\n // How much data needed in this chunk\n const chunkLength = pos + chunk.length > count ? count - pos : chunk.length;\n\n buffer.fill(chunk.slice(0, chunkLength), offset + pos, offset + pos + chunkLength);\n pos += chunkLength;\n });\n\n stream.on(\"end\", () => {\n clearTimeout(timeout);\n if (pos < count) {\n reject(\n new Error(\n `Stream drains before getting enough data needed. Data read: ${pos}, data need: ${count}`\n )\n );\n }\n resolve();\n });\n\n stream.on(\"error\", (msg) => {\n clearTimeout(timeout);\n reject(msg);\n });\n });\n}\n\n/**\n * Reads a readable stream into buffer entirely.\n *\n * @param stream - A Node.js Readable stream\n * @param buffer - Buffer to be filled, length must greater than or equal to offset\n * @param encoding - Encoding of the Readable stream\n * @returns with the count of bytes read.\n * @throws `RangeError` If buffer size is not big enough.\n */\nexport async function streamToBuffer2(\n stream: NodeJS.ReadableStream,\n buffer: Buffer,\n encoding?: BufferEncoding\n): Promise {\n let pos = 0; // Position in stream\n const bufferSize = buffer.length;\n\n return new Promise((resolve, reject) => {\n stream.on(\"readable\", () => {\n let chunk = stream.read();\n if (!chunk) {\n return;\n }\n if (typeof chunk === \"string\") {\n chunk = Buffer.from(chunk, encoding);\n }\n\n if (pos + chunk.length > bufferSize) {\n reject(new Error(`Stream exceeds buffer size. Buffer size: ${bufferSize}`));\n return;\n }\n\n buffer.fill(chunk, pos, pos + chunk.length);\n pos += chunk.length;\n });\n\n stream.on(\"end\", () => {\n resolve(pos);\n });\n\n stream.on(\"error\", reject);\n });\n}\n\n/**\n * Reads a readable stream into a buffer.\n *\n * @param stream - A Node.js Readable stream\n * @param encoding - Encoding of the Readable stream\n * @returns with the count of bytes read.\n */\nexport async function streamToBuffer3(\n readableStream: NodeJS.ReadableStream,\n encoding?: BufferEncoding\n): Promise {\n return new Promise((resolve, reject) => {\n const chunks: Buffer[] = [];\n readableStream.on(\"data\", (data: Buffer | string) => {\n chunks.push(data instanceof Buffer ? data : Buffer.from(data, encoding));\n });\n readableStream.on(\"end\", () => {\n resolve(Buffer.concat(chunks));\n });\n readableStream.on(\"error\", reject);\n });\n}\n\n/**\n * ONLY AVAILABLE IN NODE.JS RUNTIME.\n *\n * Writes the content of a readstream to a local file. Returns a Promise which is completed after the file handle is closed.\n *\n * @param rs - The read stream.\n * @param file - Destination file path.\n */\nexport async function readStreamToLocalFile(\n rs: NodeJS.ReadableStream,\n file: string\n): Promise {\n return new Promise((resolve, reject) => {\n const ws = fs.createWriteStream(file);\n\n rs.on(\"error\", (err: Error) => {\n reject(err);\n });\n\n ws.on(\"error\", (err: Error) => {\n reject(err);\n });\n\n ws.on(\"close\", resolve);\n\n rs.pipe(ws);\n });\n}\n\n/**\n * ONLY AVAILABLE IN NODE.JS RUNTIME.\n *\n * Promisified version of fs.stat().\n */\nexport const fsStat = util.promisify(fs.stat);\n\nexport const fsCreateReadStream = fs.createReadStream;\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport {\n generateUuid,\n getDefaultProxySettings,\n HttpRequestBody,\n HttpResponse,\n isNode,\n isTokenCredential,\n TokenCredential,\n TransferProgressEvent,\n URLBuilder,\n} from \"@azure/core-http\";\nimport { PollOperationState } from \"@azure/core-lro\";\nimport { SpanStatusCode } from \"@azure/core-tracing\";\nimport { Readable } from \"stream\";\n\nimport { BlobDownloadResponse } from \"./BlobDownloadResponse\";\nimport { BlobQueryResponse } from \"./BlobQueryResponse\";\nimport { AnonymousCredential } from \"./credentials/AnonymousCredential\";\nimport { StorageSharedKeyCredential } from \"./credentials/StorageSharedKeyCredential\";\nimport { AppendBlob, Blob as StorageBlob, BlockBlob, PageBlob } from \"./generated/src/operations\";\nimport {\n AppendBlobAppendBlockFromUrlResponse,\n AppendBlobAppendBlockResponse,\n AppendBlobCreateResponse,\n BlobAbortCopyFromURLResponse,\n BlobCopyFromURLResponse,\n BlobCreateSnapshotResponse,\n BlobDeleteResponse,\n BlobDownloadOptionalParams,\n BlobDownloadResponseModel,\n BlobGetPropertiesResponseModel,\n BlobGetTagsHeaders,\n BlobSetHTTPHeadersResponse,\n BlobSetMetadataResponse,\n BlobSetTagsResponse,\n BlobSetTierResponse,\n BlobStartCopyFromURLResponse,\n BlobTags,\n BlobUndeleteResponse,\n BlockBlobCommitBlockListResponse,\n BlockBlobGetBlockListResponse,\n BlockBlobStageBlockFromURLResponse,\n BlockBlobStageBlockResponse,\n BlockBlobUploadHeaders,\n BlockBlobUploadResponse,\n BlockListType,\n CpkInfo,\n DeleteSnapshotsOptionType,\n LeaseAccessConditions,\n PageBlobClearPagesResponse,\n PageBlobCopyIncrementalResponse,\n PageBlobCreateResponse,\n PageBlobResizeResponse,\n PageBlobUpdateSequenceNumberResponse,\n PageBlobUploadPagesFromURLResponse,\n PageBlobUploadPagesResponse,\n RehydratePriority,\n SequenceNumberActionType,\n BlockBlobPutBlobFromUrlResponse,\n BlobHTTPHeaders,\n PageBlobGetPageRangesResponseModel,\n PageRangeInfo,\n PageBlobGetPageRangesDiffResponseModel,\n BlobCopySourceTags,\n} from \"./generatedModels\";\nimport {\n AppendBlobRequestConditions,\n BlobDownloadResponseParsed,\n BlobRequestConditions,\n BlockBlobTier,\n ensureCpkIfSpecified,\n Metadata,\n ObjectReplicationPolicy,\n PageBlobRequestConditions,\n PremiumPageBlobTier,\n Tags,\n toAccessTier,\n TagConditions,\n MatchConditions,\n ModificationConditions,\n ModifiedAccessConditions,\n BlobQueryArrowField,\n BlobImmutabilityPolicy,\n HttpAuthorization,\n PollerLikeWithCancellation,\n} from \"./models\";\nimport {\n PageBlobGetPageRangesDiffResponse,\n PageBlobGetPageRangesResponse,\n rangeResponseFromModel,\n} from \"./PageBlobRangeResponse\";\nimport { newPipeline, PipelineLike, isPipelineLike, StoragePipelineOptions } from \"./Pipeline\";\nimport {\n BlobBeginCopyFromUrlPoller,\n BlobBeginCopyFromUrlPollState,\n CopyPollerBlobClient,\n} from \"./pollers/BlobStartCopyFromUrlPoller\";\nimport { Range, rangeToString } from \"./Range\";\nimport { CommonOptions, StorageClient } from \"./StorageClient\";\nimport { Batch } from \"./utils/Batch\";\nimport { BufferScheduler } from \"../../storage-common/src\";\nimport {\n BlobDoesNotUseCustomerSpecifiedEncryption,\n BlobUsesCustomerSpecifiedEncryptionMsg,\n BLOCK_BLOB_MAX_BLOCKS,\n BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES,\n BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES,\n DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES,\n DEFAULT_BLOCK_BUFFER_SIZE_BYTES,\n DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS,\n ETagAny,\n URLConstants,\n} from \"./utils/constants\";\nimport { createSpan, convertTracingToRequestOptionsBase } from \"./utils/tracing\";\nimport {\n appendToURLPath,\n appendToURLQuery,\n extractConnectionStringParts,\n ExtractPageRangeInfoItems,\n generateBlockID,\n getURLParameter,\n httpAuthorizationToString,\n isIpEndpointStyle,\n parseObjectReplicationRecord,\n setURLParameter,\n toBlobTags,\n toBlobTagsString,\n toQuerySerialization,\n toTags,\n} from \"./utils/utils.common\";\nimport {\n fsCreateReadStream,\n fsStat,\n readStreamToLocalFile,\n streamToBuffer,\n} from \"./utils/utils.node\";\nimport { SASProtocol } from \"./sas/SASQueryParameters\";\nimport { SasIPRange } from \"./sas/SasIPRange\";\nimport { generateBlobSASQueryParameters } from \"./sas/BlobSASSignatureValues\";\nimport { BlobSASPermissions } from \"./sas/BlobSASPermissions\";\nimport { BlobLeaseClient } from \"./BlobLeaseClient\";\nimport {\n BlobDeleteImmutabilityPolicyResponse,\n BlobSetImmutabilityPolicyResponse,\n BlobSetLegalHoldResponse,\n} from \"./generatedModels\";\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\n\n/**\n * Options to configure the {@link BlobClient.beginCopyFromURL} operation.\n */\nexport interface BlobBeginCopyFromURLOptions extends BlobStartCopyFromURLOptions {\n /**\n * The amount of time in milliseconds the poller should wait between\n * calls to the service to determine the status of the Blob copy.\n * Defaults to 15 seconds.\n */\n intervalInMs?: number;\n /**\n * Callback to receive the state of the copy progress.\n */\n onProgress?: (state: BlobBeginCopyFromUrlPollState) => void;\n /**\n * Serialized poller state that can be used to resume polling from.\n * This may be useful when starting a copy on one process or thread\n * and you wish to continue polling on another process or thread.\n *\n * To get serialized poller state, call `poller.toString()` on an existing\n * poller.\n */\n resumeFrom?: string;\n}\n\n/**\n * Contains response data for the {@link BlobClient.beginCopyFromURL} operation.\n */\nexport interface BlobBeginCopyFromURLResponse extends BlobStartCopyFromURLResponse {}\n\n/**\n * Options to configure the {@link BlobClient.download} operation.\n */\nexport interface BlobDownloadOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * An opaque DateTime string value that, when present, specifies the blob snapshot to retrieve.\n */\n snapshot?: string;\n /**\n * When this is set to true and download range of blob, the service returns the MD5 hash for the range,\n * as long as the range is less than or equal to 4 MB in size.\n *\n * rangeGetContentCrc64 and rangeGetContentMD5 cannot be set at same time.\n */\n rangeGetContentMD5?: boolean;\n /**\n * When this is set to true and download range of blob, the service returns the CRC64 hash for the range,\n * as long as the range is less than or equal to 4 MB in size.\n *\n * rangeGetContentCrc64 and rangeGetContentMD5 cannot be set at same time.\n */\n rangeGetContentCrc64?: boolean;\n /**\n * Conditions to meet when downloading blobs.\n */\n conditions?: BlobRequestConditions;\n /**\n * Call back to receive events on the progress of download operation.\n */\n onProgress?: (progress: TransferProgressEvent) => void;\n\n /**\n * Optional. ONLY AVAILABLE IN NODE.JS.\n *\n * How many retries will perform when original body download stream unexpected ends.\n * Above kind of ends will not trigger retry policy defined in a pipeline,\n * because they doesn't emit network errors.\n *\n * With this option, every additional retry means an additional `FileClient.download()` request will be made\n * from the broken point, until the requested range has been successfully downloaded or maxRetryRequests is reached.\n *\n * Default value is 5, please set a larger value when loading large files in poor network.\n */\n maxRetryRequests?: number;\n /**\n * Customer Provided Key Info.\n */\n customerProvidedKey?: CpkInfo;\n}\n\n/**\n * Options to configure the {@link BlobClient.exists} operation.\n */\nexport interface BlobExistsOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Customer Provided Key Info.\n */\n customerProvidedKey?: CpkInfo;\n /**\n * Conditions to meet.\n */\n conditions?: BlobRequestConditions;\n}\n\n/**\n * Options to configure the {@link BlobClient.getProperties} operation.\n */\nexport interface BlobGetPropertiesOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Conditions to meet when getting blob properties.\n */\n conditions?: BlobRequestConditions;\n /**\n * Customer Provided Key Info.\n */\n customerProvidedKey?: CpkInfo;\n}\n\n/**\n * Options to configure the {@link BlobClient.delete} operation.\n */\nexport interface BlobDeleteOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Conditions to meet when deleting blobs.\n */\n conditions?: BlobRequestConditions;\n /**\n * Specifies options to delete blobs that have associated snapshots.\n * - `include`: Delete the base blob and all of its snapshots.\n * - `only`: Delete only the blob's snapshots and not the blob itself.\n */\n deleteSnapshots?: DeleteSnapshotsOptionType;\n /**\n * Customer Provided Key Info.\n */\n customerProvidedKey?: CpkInfo;\n}\n\n/**\n * Options to configure the {@link BlobClient.undelete} operation.\n */\nexport interface BlobUndeleteOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Customer Provided Key Info.\n */\n customerProvidedKey?: CpkInfo;\n}\n\n/**\n * Options to configure the {@link BlobClient.setHTTPHeaders} operation.\n */\nexport interface BlobSetHTTPHeadersOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Conditions to meet when setting blob HTTP headers.\n */\n conditions?: BlobRequestConditions;\n /**\n * Customer Provided Key Info.\n */\n customerProvidedKey?: CpkInfo;\n}\n\n/**\n * Options to configure the {@link BlobClient.setMetadata} operation.\n */\nexport interface BlobSetMetadataOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Conditions to meet when setting blob metadata.\n */\n conditions?: BlobRequestConditions;\n /**\n * Customer Provided Key Info.\n */\n customerProvidedKey?: CpkInfo;\n /**\n * Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to\n * encrypt the data provided in the request. If not specified, encryption is performed with the\n * default account encryption scope. For more information, see Encryption at Rest for Azure\n * Storage Services.\n */\n encryptionScope?: string;\n}\n\n/**\n * Options to configure the {@link BlobClient.setTags} operation.\n */\nexport interface BlobSetTagsOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Conditions to meet for the blob to perform this operation.\n */\n conditions?: TagConditions & LeaseAccessConditions;\n}\n\n/**\n * Options to configure the {@link BlobClient.getTags} operation.\n */\nexport interface BlobGetTagsOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Conditions to meet for the blob to perform this operation.\n */\n conditions?: TagConditions & LeaseAccessConditions;\n}\n\n/**\n * Contains response data for the {@link BlobClient.getTags} operation.\n */\nexport type BlobGetTagsResponse = { tags: Tags } & BlobGetTagsHeaders & {\n /**\n * The underlying HTTP response.\n */\n _response: HttpResponse & {\n /**\n * The parsed HTTP response headers.\n */\n parsedHeaders: BlobGetTagsHeaders;\n\n /**\n * The response body as text (string format)\n */\n bodyAsText: string;\n\n /**\n * The response body as parsed JSON or XML\n */\n parsedBody: BlobTags;\n };\n };\n\n/**\n * Options to configure Blob - Acquire Lease operation.\n */\nexport interface BlobAcquireLeaseOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Conditions to meet when acquiring the lease of a blob.\n */\n conditions?: ModifiedAccessConditions;\n}\n\n/**\n * Options to configure Blob - Release Lease operation.\n */\nexport interface BlobReleaseLeaseOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Conditions to meet when releasing the lease of a blob.\n */\n conditions?: ModifiedAccessConditions;\n}\n\n/**\n * Options to configure Blob - Renew Lease operation.\n */\nexport interface BlobRenewLeaseOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Conditions to meet when renewing the lease of a blob.\n */\n conditions?: ModifiedAccessConditions;\n}\n\n/**\n * Options to configure Blob - Change Lease operation.\n */\nexport interface BlobChangeLeaseOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Conditions to meet when changing the lease of a blob.\n */\n conditions?: ModifiedAccessConditions;\n}\n\n/**\n * Options to configure Blob - Break Lease operation.\n */\nexport interface BlobBreakLeaseOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Conditions to meet when breaking the lease of a blob.\n */\n conditions?: ModifiedAccessConditions;\n}\n\n/**\n * Options to configure the {@link BlobClient.createSnapshot} operation.\n */\nexport interface BlobCreateSnapshotOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * A collection of key-value string pair to associate with the snapshot.\n */\n metadata?: Metadata;\n /**\n * Conditions to meet when creating blob snapshots.\n */\n conditions?: BlobRequestConditions;\n /**\n * Customer Provided Key Info.\n */\n customerProvidedKey?: CpkInfo;\n /**\n * Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to\n * encrypt the data provided in the request. If not specified, encryption is performed with the\n * default account encryption scope. For more information, see Encryption at Rest for Azure\n * Storage Services.\n */\n encryptionScope?: string;\n}\n\n/**\n * Options to configure the {@link BlobClient.beginCopyFromURL} operation.\n */\nexport interface BlobStartCopyFromURLOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * A collection of key-value string pair to associate with the blob that are being copied.\n */\n metadata?: Metadata;\n /**\n * Conditions to meet for the destination blob when copying from a URL to the blob.\n */\n conditions?: BlobRequestConditions;\n /**\n * Conditions to meet for the source Azure Blob/File when copying from a URL to the blob.\n */\n sourceConditions?: ModifiedAccessConditions;\n /**\n * Access tier.\n * More Details - https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-storage-tiers\n */\n tier?: BlockBlobTier | PremiumPageBlobTier | string;\n /**\n * Rehydrate Priority - possible values include 'High', 'Standard'.\n * More Details - https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-rehydration#rehydrate-an-archived-blob-to-an-online-tier\n */\n rehydratePriority?: RehydratePriority;\n /**\n * Optional. Specifies immutability policy for a blob.\n * Note that is parameter is only applicable to a blob within a container that\n * has version level worm enabled.\n */\n immutabilityPolicy?: BlobImmutabilityPolicy;\n /**\n * Optional. Indicates if a legal hold should be placed on the blob.\n * Note that is parameter is only applicable to a blob within a container that\n * has version level worm enabled.\n */\n legalHold?: boolean;\n /**\n * Blob tags.\n */\n tags?: Tags;\n /**\n * Overrides the sealed state of the destination blob. Default true.\n */\n sealBlob?: boolean;\n}\n\n/**\n * Options to configure the {@link BlobClient.abortCopyFromURL} operation.\n */\nexport interface BlobAbortCopyFromURLOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * If specified, contains the lease id that must be matched and lease with this id\n * must be active in order for the operation to succeed.\n */\n conditions?: LeaseAccessConditions;\n}\n\n/**\n * Options to configure the {@link BlobClient.syncCopyFromURL} operation.\n */\nexport interface BlobSyncCopyFromURLOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * A collection of key-value string pair to associate with the snapshot.\n */\n metadata?: Metadata;\n /**\n * Conditions to meet for the destination blob when copying from a URL to the blob.\n */\n conditions?: BlobRequestConditions;\n /**\n * Conditions to meet for the source Azure Blob/File when copying from a URL to the blob.\n */\n sourceConditions?: MatchConditions & ModificationConditions;\n /**\n * Specify the md5 calculated for the range of bytes that must be read from the copy source.\n */\n sourceContentMD5?: Uint8Array;\n /**\n * Optional. Specifies immutability policy for a blob.\n * Note that is parameter is only applicable to a blob within a container that\n * has version level worm enabled.\n */\n immutabilityPolicy?: BlobImmutabilityPolicy;\n /**\n * Optional. Indicates if a legal hold should be placed on the blob.\n * Note that is parameter is only applicable to a blob within a container that\n * has version level worm enabled.\n */\n legalHold?: boolean;\n /**\n * Blob tags.\n */\n tags?: Tags;\n /**\n * Only Bearer type is supported. Credentials should be a valid OAuth access token to copy source.\n */\n sourceAuthorization?: HttpAuthorization;\n /**\n * Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to encrypt the data provided in the request. If not specified, encryption is performed with the default account encryption scope. For more information, see Encryption at Rest for Azure Storage Services.\n */\n encryptionScope?: string;\n /**\n * Optional. Default 'REPLACE'. Indicates if source tags should be copied or replaced with the tags specified by {@link tags}.\n */\n copySourceTags?: BlobCopySourceTags;\n}\n\n/**\n * Options to configure the {@link BlobClient.setAccessTier} operation.\n */\nexport interface BlobSetTierOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * If specified, contains the lease id that must be matched and lease with this id\n * must be active in order for the operation to succeed.\n */\n conditions?: LeaseAccessConditions & TagConditions;\n /**\n * Rehydrate Priority - possible values include 'High', 'Standard'.\n * More Details - https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-rehydration#rehydrate-an-archived-blob-to-an-online-tier\n */\n rehydratePriority?: RehydratePriority;\n}\n\n/**\n * Option interface for the {@link BlobClient.downloadToBuffer} operation.\n */\nexport interface BlobDownloadToBufferOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n\n /**\n * blockSize is the data every request trying to download.\n * Must be greater than or equal to 0.\n * If set to 0 or undefined, blockSize will automatically calculated according to the blob size.\n */\n blockSize?: number;\n\n /**\n * Optional. ONLY AVAILABLE IN NODE.JS.\n *\n * How many retries will perform when original block download stream unexpected ends.\n * Above kind of ends will not trigger retry policy defined in a pipeline,\n * because they doesn't emit network errors.\n *\n * With this option, every additional retry means an additional FileClient.download() request will be made\n * from the broken point, until the requested block has been successfully downloaded or\n * maxRetryRequestsPerBlock is reached.\n *\n * Default value is 5, please set a larger value when in poor network.\n */\n maxRetryRequestsPerBlock?: number;\n\n /**\n * Progress updater.\n */\n onProgress?: (progress: TransferProgressEvent) => void;\n\n /**\n * Access conditions headers.\n */\n conditions?: BlobRequestConditions;\n\n /**\n * Concurrency of parallel download.\n */\n concurrency?: number;\n /**\n * Customer Provided Key Info.\n */\n customerProvidedKey?: CpkInfo;\n}\n\n/**\n * Contains response data for the {@link BlobClient.deleteIfExists} operation.\n */\nexport interface BlobDeleteIfExistsResponse extends BlobDeleteResponse {\n /**\n * Indicate whether the blob is successfully deleted. Is false if the blob does not exist in the first place.\n */\n succeeded: boolean;\n}\n\n/**\n * Contains response data for the {@link BlobClient.getProperties} operation.\n */\nexport interface BlobGetPropertiesResponse extends BlobGetPropertiesResponseModel {\n /**\n * Parsed Object Replication Policy Id, Rule Id(s) and status of the source blob.\n */\n objectReplicationSourceProperties?: ObjectReplicationPolicy[];\n\n /**\n * Object Replication Policy Id of the destination blob.\n */\n objectReplicationDestinationPolicyId?: string;\n}\n\n/**\n * Common options of {@link BlobGenerateSasUrlOptions} and {@link ContainerGenerateSasUrlOptions}.\n */\nexport interface CommonGenerateSasUrlOptions {\n /**\n * The version of the service this SAS will target. If not specified, it will default to the version targeted by the\n * library.\n */\n version?: string;\n\n /**\n * Optional. SAS protocols, HTTPS only or HTTPSandHTTP\n */\n protocol?: SASProtocol;\n\n /**\n * Optional. When the SAS will take effect.\n */\n startsOn?: Date;\n\n /**\n * Optional only when identifier is provided. The time after which the SAS will no longer work.\n */\n expiresOn?: Date;\n\n /**\n * Optional. IP ranges allowed in this SAS.\n */\n ipRange?: SasIPRange;\n\n /**\n * Optional. The name of the access policy on the container this SAS references if any.\n *\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/establishing-a-stored-access-policy\n */\n identifier?: string;\n\n /**\n * Optional. Encryption scope to use when sending requests authorized with this SAS URI.\n */\n encryptionScope?: string;\n\n /**\n * Optional. The cache-control header for the SAS.\n */\n cacheControl?: string;\n\n /**\n * Optional. The content-disposition header for the SAS.\n */\n contentDisposition?: string;\n\n /**\n * Optional. The content-encoding header for the SAS.\n */\n contentEncoding?: string;\n\n /**\n * Optional. The content-language header for the SAS.\n */\n contentLanguage?: string;\n\n /**\n * Optional. The content-type header for the SAS.\n */\n contentType?: string;\n}\n\n/**\n * Options to configure {@link BlobClient.generateSasUrl} operation.\n */\nexport interface BlobGenerateSasUrlOptions extends CommonGenerateSasUrlOptions {\n /**\n * Optional only when identifier is provided. Specifies the list of permissions to be associated with the SAS.\n */\n permissions?: BlobSASPermissions;\n}\n\n/**\n * Options for deleting immutability policy {@link BlobClient.deleteImmutabilityPolicy} operation.\n */\nexport interface BlobDeleteImmutabilityPolicyOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n}\n\n/**\n * Options for setting immutability policy {@link BlobClient.setImmutabilityPolicy} operation.\n */\nexport interface BlobSetImmutabilityPolicyOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n modifiedAccessCondition?: ModificationConditions;\n}\n\n/**\n * Options for setting legal hold {@link BlobClient.setLegalHold} operation.\n */\nexport interface BlobSetLegalHoldOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n}\n\n/**\n * A BlobClient represents a URL to an Azure Storage blob; the blob may be a block blob,\n * append blob, or page blob.\n */\nexport class BlobClient extends StorageClient {\n /**\n * blobContext provided by protocol layer.\n */\n private blobContext: StorageBlob;\n\n private _name: string;\n private _containerName: string;\n\n private _versionId?: string;\n private _snapshot?: string;\n\n /**\n * The name of the blob.\n */\n public get name(): string {\n return this._name;\n }\n\n /**\n * The name of the storage container the blob is associated with.\n */\n public get containerName(): string {\n return this._containerName;\n }\n\n /**\n *\n * Creates an instance of BlobClient from connection string.\n *\n * @param connectionString - Account connection string or a SAS connection string of an Azure storage account.\n * [ Note - Account connection string can only be used in NODE.JS runtime. ]\n * Account connection string example -\n * `DefaultEndpointsProtocol=https;AccountName=myaccount;AccountKey=accountKey;EndpointSuffix=core.windows.net`\n * SAS connection string example -\n * `BlobEndpoint=https://myaccount.blob.core.windows.net/;QueueEndpoint=https://myaccount.queue.core.windows.net/;FileEndpoint=https://myaccount.file.core.windows.net/;TableEndpoint=https://myaccount.table.core.windows.net/;SharedAccessSignature=sasString`\n * @param containerName - Container name.\n * @param blobName - Blob name.\n * @param options - Optional. Options to configure the HTTP pipeline.\n */\n constructor(\n connectionString: string,\n containerName: string,\n blobName: string,\n // Legacy, no fix for eslint error without breaking. Disable it for this interface.\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-options*/\n options?: StoragePipelineOptions\n );\n /**\n * Creates an instance of BlobClient.\n * This method accepts an encoded URL or non-encoded URL pointing to a blob.\n * Encoded URL string will NOT be escaped twice, only special characters in URL path will be escaped.\n * If a blob name includes ? or %, blob name must be encoded in the URL.\n *\n * @param url - A Client string pointing to Azure Storage blob service, such as\n * \"https://myaccount.blob.core.windows.net\". You can append a SAS\n * if using AnonymousCredential, such as \"https://myaccount.blob.core.windows.net?sasString\".\n * @param credential - Such as AnonymousCredential, StorageSharedKeyCredential or any credential from the `@azure/identity` package to authenticate requests to the service. You can also provide an object that implements the TokenCredential interface. If not specified, AnonymousCredential is used.\n * @param options - Optional. Options to configure the HTTP pipeline.\n */\n constructor(\n url: string,\n credential?: StorageSharedKeyCredential | AnonymousCredential | TokenCredential,\n // Legacy, no fix for eslint error without breaking. Disable it for this interface.\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-options*/\n options?: StoragePipelineOptions\n );\n /**\n * Creates an instance of BlobClient.\n * This method accepts an encoded URL or non-encoded URL pointing to a blob.\n * Encoded URL string will NOT be escaped twice, only special characters in URL path will be escaped.\n * If a blob name includes ? or %, blob name must be encoded in the URL.\n *\n * @param url - A URL string pointing to Azure Storage blob, such as\n * \"https://myaccount.blob.core.windows.net/mycontainer/blob\".\n * You can append a SAS if using AnonymousCredential, such as\n * \"https://myaccount.blob.core.windows.net/mycontainer/blob?sasString\".\n * This method accepts an encoded URL or non-encoded URL pointing to a blob.\n * Encoded URL string will NOT be escaped twice, only special characters in URL path will be escaped.\n * However, if a blob name includes ? or %, blob name must be encoded in the URL.\n * Such as a blob named \"my?blob%\", the URL should be \"https://myaccount.blob.core.windows.net/mycontainer/my%3Fblob%25\".\n * @param pipeline - Call newPipeline() to create a default\n * pipeline, or provide a customized pipeline.\n */\n constructor(url: string, pipeline: PipelineLike);\n constructor(\n urlOrConnectionString: string,\n credentialOrPipelineOrContainerName?:\n | string\n | StorageSharedKeyCredential\n | AnonymousCredential\n | TokenCredential\n | PipelineLike,\n blobNameOrOptions?: string | StoragePipelineOptions,\n // Legacy, no fix for eslint error without breaking. Disable it for this interface.\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-options*/\n options?: StoragePipelineOptions\n ) {\n options = options || {};\n let pipeline: PipelineLike;\n let url: string;\n if (isPipelineLike(credentialOrPipelineOrContainerName)) {\n // (url: string, pipeline: Pipeline)\n url = urlOrConnectionString;\n pipeline = credentialOrPipelineOrContainerName;\n } else if (\n (isNode && credentialOrPipelineOrContainerName instanceof StorageSharedKeyCredential) ||\n credentialOrPipelineOrContainerName instanceof AnonymousCredential ||\n isTokenCredential(credentialOrPipelineOrContainerName)\n ) {\n // (url: string, credential?: StorageSharedKeyCredential | AnonymousCredential | TokenCredential, options?: StoragePipelineOptions)\n url = urlOrConnectionString;\n options = blobNameOrOptions as StoragePipelineOptions;\n pipeline = newPipeline(credentialOrPipelineOrContainerName, options);\n } else if (\n !credentialOrPipelineOrContainerName &&\n typeof credentialOrPipelineOrContainerName !== \"string\"\n ) {\n // (url: string, credential?: StorageSharedKeyCredential | AnonymousCredential | TokenCredential, options?: StoragePipelineOptions)\n // The second parameter is undefined. Use anonymous credential.\n url = urlOrConnectionString;\n pipeline = newPipeline(new AnonymousCredential(), options);\n } else if (\n credentialOrPipelineOrContainerName &&\n typeof credentialOrPipelineOrContainerName === \"string\" &&\n blobNameOrOptions &&\n typeof blobNameOrOptions === \"string\"\n ) {\n // (connectionString: string, containerName: string, blobName: string, options?: StoragePipelineOptions)\n const containerName = credentialOrPipelineOrContainerName;\n const blobName = blobNameOrOptions;\n\n const extractedCreds = extractConnectionStringParts(urlOrConnectionString);\n if (extractedCreds.kind === \"AccountConnString\") {\n if (isNode) {\n const sharedKeyCredential = new StorageSharedKeyCredential(\n extractedCreds.accountName!,\n extractedCreds.accountKey\n );\n url = appendToURLPath(\n appendToURLPath(extractedCreds.url, encodeURIComponent(containerName)),\n encodeURIComponent(blobName)\n );\n\n if (!options.proxyOptions) {\n options.proxyOptions = getDefaultProxySettings(extractedCreds.proxyUri);\n }\n\n pipeline = newPipeline(sharedKeyCredential, options);\n } else {\n throw new Error(\"Account connection string is only supported in Node.js environment\");\n }\n } else if (extractedCreds.kind === \"SASConnString\") {\n url =\n appendToURLPath(\n appendToURLPath(extractedCreds.url, encodeURIComponent(containerName)),\n encodeURIComponent(blobName)\n ) +\n \"?\" +\n extractedCreds.accountSas;\n pipeline = newPipeline(new AnonymousCredential(), options);\n } else {\n throw new Error(\n \"Connection string must be either an Account connection string or a SAS connection string\"\n );\n }\n } else {\n throw new Error(\"Expecting non-empty strings for containerName and blobName parameters\");\n }\n\n super(url, pipeline);\n ({ blobName: this._name, containerName: this._containerName } =\n this.getBlobAndContainerNamesFromUrl());\n this.blobContext = new StorageBlob(this.storageClientContext);\n\n this._snapshot = getURLParameter(this.url, URLConstants.Parameters.SNAPSHOT) as string;\n this._versionId = getURLParameter(this.url, URLConstants.Parameters.VERSIONID) as string;\n }\n\n /**\n * Creates a new BlobClient object identical to the source but with the specified snapshot timestamp.\n * Provide \"\" will remove the snapshot and return a Client to the base blob.\n *\n * @param snapshot - The snapshot timestamp.\n * @returns A new BlobClient object identical to the source but with the specified snapshot timestamp\n */\n public withSnapshot(snapshot: string): BlobClient {\n return new BlobClient(\n setURLParameter(\n this.url,\n URLConstants.Parameters.SNAPSHOT,\n snapshot.length === 0 ? undefined : snapshot\n ),\n this.pipeline\n );\n }\n\n /**\n * Creates a new BlobClient object pointing to a version of this blob.\n * Provide \"\" will remove the versionId and return a Client to the base blob.\n *\n * @param versionId - The versionId.\n * @returns A new BlobClient object pointing to the version of this blob.\n */\n public withVersion(versionId: string): BlobClient {\n return new BlobClient(\n setURLParameter(\n this.url,\n URLConstants.Parameters.VERSIONID,\n versionId.length === 0 ? undefined : versionId\n ),\n this.pipeline\n );\n }\n\n /**\n * Creates a AppendBlobClient object.\n *\n */\n public getAppendBlobClient(): AppendBlobClient {\n return new AppendBlobClient(this.url, this.pipeline);\n }\n\n /**\n * Creates a BlockBlobClient object.\n *\n */\n public getBlockBlobClient(): BlockBlobClient {\n return new BlockBlobClient(this.url, this.pipeline);\n }\n\n /**\n * Creates a PageBlobClient object.\n *\n */\n public getPageBlobClient(): PageBlobClient {\n return new PageBlobClient(this.url, this.pipeline);\n }\n\n /**\n * Reads or downloads a blob from the system, including its metadata and properties.\n * You can also call Get Blob to read a snapshot.\n *\n * * In Node.js, data returns in a Readable stream readableStreamBody\n * * In browsers, data returns in a promise blobBody\n *\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/get-blob\n *\n * @param offset - From which position of the blob to download, greater than or equal to 0\n * @param count - How much data to be downloaded, greater than 0. Will download to the end when undefined\n * @param options - Optional options to Blob Download operation.\n *\n *\n * Example usage (Node.js):\n *\n * ```js\n * // Download and convert a blob to a string\n * const downloadBlockBlobResponse = await blobClient.download();\n * const downloaded = await streamToBuffer(downloadBlockBlobResponse.readableStreamBody);\n * console.log(\"Downloaded blob content:\", downloaded.toString());\n *\n * async function streamToBuffer(readableStream) {\n * return new Promise((resolve, reject) => {\n * const chunks = [];\n * readableStream.on(\"data\", (data) => {\n * chunks.push(data instanceof Buffer ? data : Buffer.from(data));\n * });\n * readableStream.on(\"end\", () => {\n * resolve(Buffer.concat(chunks));\n * });\n * readableStream.on(\"error\", reject);\n * });\n * }\n * ```\n *\n * Example usage (browser):\n *\n * ```js\n * // Download and convert a blob to a string\n * const downloadBlockBlobResponse = await blobClient.download();\n * const downloaded = await blobToString(await downloadBlockBlobResponse.blobBody);\n * console.log(\n * \"Downloaded blob content\",\n * downloaded\n * );\n *\n * async function blobToString(blob: Blob): Promise {\n * const fileReader = new FileReader();\n * return new Promise((resolve, reject) => {\n * fileReader.onloadend = (ev: any) => {\n * resolve(ev.target!.result);\n * };\n * fileReader.onerror = reject;\n * fileReader.readAsText(blob);\n * });\n * }\n * ```\n */\n public async download(\n offset: number = 0,\n count?: number,\n options: BlobDownloadOptions = {}\n ): Promise {\n options.conditions = options.conditions || {};\n options.conditions = options.conditions || {};\n ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);\n\n const { span, updatedOptions } = createSpan(\"BlobClient-download\", options);\n\n try {\n const res = await this.blobContext.download({\n abortSignal: options.abortSignal,\n leaseAccessConditions: options.conditions,\n modifiedAccessConditions: {\n ...options.conditions,\n ifTags: options.conditions?.tagConditions,\n },\n requestOptions: {\n onDownloadProgress: isNode ? undefined : options.onProgress, // for Node.js, progress is reported by RetriableReadableStream\n },\n range: offset === 0 && !count ? undefined : rangeToString({ offset, count }),\n rangeGetContentMD5: options.rangeGetContentMD5,\n rangeGetContentCRC64: options.rangeGetContentCrc64,\n snapshot: options.snapshot,\n cpkInfo: options.customerProvidedKey,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n\n const wrappedRes = {\n ...res,\n _response: res._response, // _response is made non-enumerable\n objectReplicationDestinationPolicyId: res.objectReplicationPolicyId,\n objectReplicationSourceProperties: parseObjectReplicationRecord(res.objectReplicationRules),\n };\n // Return browser response immediately\n if (!isNode) {\n return wrappedRes;\n }\n\n // We support retrying when download stream unexpected ends in Node.js runtime\n // Following code shouldn't be bundled into browser build, however some\n // bundlers may try to bundle following code and \"FileReadResponse.ts\".\n // In this case, \"FileDownloadResponse.browser.ts\" will be used as a shim of \"FileDownloadResponse.ts\"\n // The config is in package.json \"browser\" field\n if (options.maxRetryRequests === undefined || options.maxRetryRequests < 0) {\n // TODO: Default value or make it a required parameter?\n options.maxRetryRequests = DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS;\n }\n\n if (res.contentLength === undefined) {\n throw new RangeError(`File download response doesn't contain valid content length header`);\n }\n\n if (!res.etag) {\n throw new RangeError(`File download response doesn't contain valid etag header`);\n }\n\n return new BlobDownloadResponse(\n wrappedRes,\n async (start: number): Promise => {\n const updatedDownloadOptions: BlobDownloadOptionalParams = {\n leaseAccessConditions: options.conditions,\n modifiedAccessConditions: {\n ifMatch: options.conditions!.ifMatch || res.etag,\n ifModifiedSince: options.conditions!.ifModifiedSince,\n ifNoneMatch: options.conditions!.ifNoneMatch,\n ifUnmodifiedSince: options.conditions!.ifUnmodifiedSince,\n ifTags: options.conditions?.tagConditions,\n },\n range: rangeToString({\n count: offset + res.contentLength! - start,\n offset: start,\n }),\n rangeGetContentMD5: options.rangeGetContentMD5,\n rangeGetContentCRC64: options.rangeGetContentCrc64,\n snapshot: options.snapshot,\n cpkInfo: options.customerProvidedKey,\n };\n\n // Debug purpose only\n // console.log(\n // `Read from internal stream, range: ${\n // updatedOptions.range\n // }, options: ${JSON.stringify(updatedOptions)}`\n // );\n\n return (\n await this.blobContext.download({\n abortSignal: options.abortSignal,\n ...updatedDownloadOptions,\n })\n ).readableStreamBody!;\n },\n offset,\n res.contentLength!,\n {\n maxRetryRequests: options.maxRetryRequests,\n onProgress: options.onProgress,\n }\n );\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Returns true if the Azure blob resource represented by this client exists; false otherwise.\n *\n * NOTE: use this function with care since an existing blob might be deleted by other clients or\n * applications. Vice versa new blobs might be added by other clients or applications after this\n * function completes.\n *\n * @param options - options to Exists operation.\n */\n public async exists(options: BlobExistsOptions = {}): Promise {\n const { span, updatedOptions } = createSpan(\"BlobClient-exists\", options);\n try {\n ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);\n await this.getProperties({\n abortSignal: options.abortSignal,\n customerProvidedKey: options.customerProvidedKey,\n conditions: options.conditions,\n tracingOptions: updatedOptions.tracingOptions,\n });\n return true;\n } catch (e: any) {\n if (e.statusCode === 404) {\n // Expected exception when checking blob existence\n return false;\n } else if (\n e.statusCode === 409 &&\n (e.details.errorCode === BlobUsesCustomerSpecifiedEncryptionMsg ||\n e.details.errorCode === BlobDoesNotUseCustomerSpecifiedEncryption)\n ) {\n // Expected exception when checking blob existence\n return true;\n }\n\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Returns all user-defined metadata, standard HTTP properties, and system properties\n * for the blob. It does not return the content of the blob.\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/get-blob-properties\n *\n * WARNING: The `metadata` object returned in the response will have its keys in lowercase, even if\n * they originally contained uppercase characters. This differs from the metadata keys returned by\n * the methods of {@link ContainerClient} that list blobs using the `includeMetadata` option, which\n * will retain their original casing.\n *\n * @param options - Optional options to Get Properties operation.\n */\n public async getProperties(\n options: BlobGetPropertiesOptions = {}\n ): Promise {\n const { span, updatedOptions } = createSpan(\"BlobClient-getProperties\", options);\n try {\n options.conditions = options.conditions || {};\n ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);\n const res = await this.blobContext.getProperties({\n abortSignal: options.abortSignal,\n leaseAccessConditions: options.conditions,\n modifiedAccessConditions: {\n ...options.conditions,\n ifTags: options.conditions?.tagConditions,\n },\n cpkInfo: options.customerProvidedKey,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n\n return {\n ...res,\n _response: res._response, // _response is made non-enumerable\n objectReplicationDestinationPolicyId: res.objectReplicationPolicyId,\n objectReplicationSourceProperties: parseObjectReplicationRecord(res.objectReplicationRules),\n };\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Marks the specified blob or snapshot for deletion. The blob is later deleted\n * during garbage collection. Note that in order to delete a blob, you must delete\n * all of its snapshots. You can delete both at the same time with the Delete\n * Blob operation.\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/delete-blob\n *\n * @param options - Optional options to Blob Delete operation.\n */\n public async delete(options: BlobDeleteOptions = {}): Promise {\n const { span, updatedOptions } = createSpan(\"BlobClient-delete\", options);\n options.conditions = options.conditions || {};\n try {\n return await this.blobContext.delete({\n abortSignal: options.abortSignal,\n deleteSnapshots: options.deleteSnapshots,\n leaseAccessConditions: options.conditions,\n modifiedAccessConditions: {\n ...options.conditions,\n ifTags: options.conditions?.tagConditions,\n },\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Marks the specified blob or snapshot for deletion if it exists. The blob is later deleted\n * during garbage collection. Note that in order to delete a blob, you must delete\n * all of its snapshots. You can delete both at the same time with the Delete\n * Blob operation.\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/delete-blob\n *\n * @param options - Optional options to Blob Delete operation.\n */\n public async deleteIfExists(\n options: BlobDeleteOptions = {}\n ): Promise {\n const { span, updatedOptions } = createSpan(\"BlobClient-deleteIfExists\", options);\n try {\n const res = await this.delete(updatedOptions);\n return {\n succeeded: true,\n ...res,\n _response: res._response, // _response is made non-enumerable\n };\n } catch (e: any) {\n if (e.details?.errorCode === \"BlobNotFound\") {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: \"Expected exception when deleting a blob or snapshot only if it exists.\",\n });\n return {\n succeeded: false,\n ...e.response?.parsedHeaders,\n _response: e.response,\n };\n }\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Restores the contents and metadata of soft deleted blob and any associated\n * soft deleted snapshots. Undelete Blob is supported only on version 2017-07-29\n * or later.\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/undelete-blob\n *\n * @param options - Optional options to Blob Undelete operation.\n */\n public async undelete(options: BlobUndeleteOptions = {}): Promise {\n const { span, updatedOptions } = createSpan(\"BlobClient-undelete\", options);\n try {\n return await this.blobContext.undelete({\n abortSignal: options.abortSignal,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Sets system properties on the blob.\n *\n * If no value provided, or no value provided for the specified blob HTTP headers,\n * these blob HTTP headers without a value will be cleared.\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/set-blob-properties\n *\n * @param blobHTTPHeaders - If no value provided, or no value provided for\n * the specified blob HTTP headers, these blob HTTP\n * headers without a value will be cleared.\n * A common header to set is `blobContentType`\n * enabling the browser to provide functionality\n * based on file type.\n * @param options - Optional options to Blob Set HTTP Headers operation.\n */\n public async setHTTPHeaders(\n blobHTTPHeaders?: BlobHTTPHeaders,\n options: BlobSetHTTPHeadersOptions = {}\n ): Promise {\n const { span, updatedOptions } = createSpan(\"BlobClient-setHTTPHeaders\", options);\n options.conditions = options.conditions || {};\n try {\n ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);\n return await this.blobContext.setHttpHeaders({\n abortSignal: options.abortSignal,\n blobHttpHeaders: blobHTTPHeaders,\n leaseAccessConditions: options.conditions,\n modifiedAccessConditions: {\n ...options.conditions,\n ifTags: options.conditions?.tagConditions,\n },\n // cpkInfo: options.customerProvidedKey, // CPK is not included in Swagger, should change this back when this issue is fixed in Swagger.\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Sets user-defined metadata for the specified blob as one or more name-value pairs.\n *\n * If no option provided, or no metadata defined in the parameter, the blob\n * metadata will be removed.\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/set-blob-metadata\n *\n * @param metadata - Replace existing metadata with this value.\n * If no value provided the existing metadata will be removed.\n * @param options - Optional options to Set Metadata operation.\n */\n public async setMetadata(\n metadata?: Metadata,\n options: BlobSetMetadataOptions = {}\n ): Promise {\n const { span, updatedOptions } = createSpan(\"BlobClient-setMetadata\", options);\n options.conditions = options.conditions || {};\n try {\n ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);\n return await this.blobContext.setMetadata({\n abortSignal: options.abortSignal,\n leaseAccessConditions: options.conditions,\n metadata,\n modifiedAccessConditions: {\n ...options.conditions,\n ifTags: options.conditions?.tagConditions,\n },\n cpkInfo: options.customerProvidedKey,\n encryptionScope: options.encryptionScope,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Sets tags on the underlying blob.\n * A blob can have up to 10 tags. Tag keys must be between 1 and 128 characters. Tag values must be between 0 and 256 characters.\n * Valid tag key and value characters include lower and upper case letters, digits (0-9),\n * space (' '), plus ('+'), minus ('-'), period ('.'), foward slash ('/'), colon (':'), equals ('='), and underscore ('_').\n *\n * @param tags -\n * @param options -\n */\n public async setTags(tags: Tags, options: BlobSetTagsOptions = {}): Promise {\n const { span, updatedOptions } = createSpan(\"BlobClient-setTags\", options);\n try {\n return await this.blobContext.setTags({\n abortSignal: options.abortSignal,\n leaseAccessConditions: options.conditions,\n modifiedAccessConditions: {\n ...options.conditions,\n ifTags: options.conditions?.tagConditions,\n },\n ...convertTracingToRequestOptionsBase(updatedOptions),\n tags: toBlobTags(tags),\n });\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Gets the tags associated with the underlying blob.\n *\n * @param options -\n */\n public async getTags(options: BlobGetTagsOptions = {}): Promise {\n const { span, updatedOptions } = createSpan(\"BlobClient-getTags\", options);\n try {\n const response = await this.blobContext.getTags({\n abortSignal: options.abortSignal,\n leaseAccessConditions: options.conditions,\n modifiedAccessConditions: {\n ...options.conditions,\n ifTags: options.conditions?.tagConditions,\n },\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n const wrappedResponse: BlobGetTagsResponse = {\n ...response,\n _response: response._response, // _response is made non-enumerable\n tags: toTags({ blobTagSet: response.blobTagSet }) || {},\n };\n return wrappedResponse;\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Get a {@link BlobLeaseClient} that manages leases on the blob.\n *\n * @param proposeLeaseId - Initial proposed lease Id.\n * @returns A new BlobLeaseClient object for managing leases on the blob.\n */\n public getBlobLeaseClient(proposeLeaseId?: string): BlobLeaseClient {\n return new BlobLeaseClient(this, proposeLeaseId);\n }\n\n /**\n * Creates a read-only snapshot of a blob.\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/snapshot-blob\n *\n * @param options - Optional options to the Blob Create Snapshot operation.\n */\n public async createSnapshot(\n options: BlobCreateSnapshotOptions = {}\n ): Promise {\n const { span, updatedOptions } = createSpan(\"BlobClient-createSnapshot\", options);\n options.conditions = options.conditions || {};\n try {\n ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);\n return await this.blobContext.createSnapshot({\n abortSignal: options.abortSignal,\n leaseAccessConditions: options.conditions,\n metadata: options.metadata,\n modifiedAccessConditions: {\n ...options.conditions,\n ifTags: options.conditions?.tagConditions,\n },\n cpkInfo: options.customerProvidedKey,\n encryptionScope: options.encryptionScope,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Asynchronously copies a blob to a destination within the storage account.\n * This method returns a long running operation poller that allows you to wait\n * indefinitely until the copy is completed.\n * You can also cancel a copy before it is completed by calling `cancelOperation` on the poller.\n * Note that the onProgress callback will not be invoked if the operation completes in the first\n * request, and attempting to cancel a completed copy will result in an error being thrown.\n *\n * In version 2012-02-12 and later, the source for a Copy Blob operation can be\n * a committed blob in any Azure storage account.\n * Beginning with version 2015-02-21, the source for a Copy Blob operation can be\n * an Azure file in any Azure storage account.\n * Only storage accounts created on or after June 7th, 2012 allow the Copy Blob\n * operation to copy from another storage account.\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/copy-blob\n *\n * Example using automatic polling:\n *\n * ```js\n * const copyPoller = await blobClient.beginCopyFromURL('url');\n * const result = await copyPoller.pollUntilDone();\n * ```\n *\n * Example using manual polling:\n *\n * ```js\n * const copyPoller = await blobClient.beginCopyFromURL('url');\n * while (!poller.isDone()) {\n * await poller.poll();\n * }\n * const result = copyPoller.getResult();\n * ```\n *\n * Example using progress updates:\n *\n * ```js\n * const copyPoller = await blobClient.beginCopyFromURL('url', {\n * onProgress(state) {\n * console.log(`Progress: ${state.copyProgress}`);\n * }\n * });\n * const result = await copyPoller.pollUntilDone();\n * ```\n *\n * Example using a changing polling interval (default 15 seconds):\n *\n * ```js\n * const copyPoller = await blobClient.beginCopyFromURL('url', {\n * intervalInMs: 1000 // poll blob every 1 second for copy progress\n * });\n * const result = await copyPoller.pollUntilDone();\n * ```\n *\n * Example using copy cancellation:\n *\n * ```js\n * const copyPoller = await blobClient.beginCopyFromURL('url');\n * // cancel operation after starting it.\n * try {\n * await copyPoller.cancelOperation();\n * // calls to get the result now throw PollerCancelledError\n * await copyPoller.getResult();\n * } catch (err) {\n * if (err.name === 'PollerCancelledError') {\n * console.log('The copy was cancelled.');\n * }\n * }\n * ```\n *\n * @param copySource - url to the source Azure Blob/File.\n * @param options - Optional options to the Blob Start Copy From URL operation.\n */\n public async beginCopyFromURL(\n copySource: string,\n options: BlobBeginCopyFromURLOptions = {}\n ): Promise<\n PollerLikeWithCancellation<\n PollOperationState,\n BlobBeginCopyFromURLResponse\n >\n > {\n const client: CopyPollerBlobClient = {\n abortCopyFromURL: (...args) => this.abortCopyFromURL(...args),\n getProperties: (...args) => this.getProperties(...args),\n startCopyFromURL: (...args) => this.startCopyFromURL(...args),\n };\n const poller = new BlobBeginCopyFromUrlPoller({\n blobClient: client,\n copySource,\n intervalInMs: options.intervalInMs,\n onProgress: options.onProgress,\n resumeFrom: options.resumeFrom,\n startCopyFromURLOptions: options,\n });\n\n // Trigger the startCopyFromURL call by calling poll.\n // Any errors from this method should be surfaced to the user.\n await poller.poll();\n\n return poller;\n }\n\n /**\n * Aborts a pending asynchronous Copy Blob operation, and leaves a destination blob with zero\n * length and full metadata. Version 2012-02-12 and newer.\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/abort-copy-blob\n *\n * @param copyId - Id of the Copy From URL operation.\n * @param options - Optional options to the Blob Abort Copy From URL operation.\n */\n public async abortCopyFromURL(\n copyId: string,\n options: BlobAbortCopyFromURLOptions = {}\n ): Promise {\n const { span, updatedOptions } = createSpan(\"BlobClient-abortCopyFromURL\", options);\n try {\n return await this.blobContext.abortCopyFromURL(copyId, {\n abortSignal: options.abortSignal,\n leaseAccessConditions: options.conditions,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * The synchronous Copy From URL operation copies a blob or an internet resource to a new blob. It will not\n * return a response until the copy is complete.\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/copy-blob-from-url\n *\n * @param copySource - The source URL to copy from, Shared Access Signature(SAS) maybe needed for authentication\n * @param options -\n */\n public async syncCopyFromURL(\n copySource: string,\n options: BlobSyncCopyFromURLOptions = {}\n ): Promise {\n const { span, updatedOptions } = createSpan(\"BlobClient-syncCopyFromURL\", options);\n options.conditions = options.conditions || {};\n options.sourceConditions = options.sourceConditions || {};\n\n try {\n return await this.blobContext.copyFromURL(copySource, {\n abortSignal: options.abortSignal,\n metadata: options.metadata,\n leaseAccessConditions: options.conditions,\n modifiedAccessConditions: {\n ...options.conditions,\n ifTags: options.conditions?.tagConditions,\n },\n sourceModifiedAccessConditions: {\n sourceIfMatch: options.sourceConditions.ifMatch,\n sourceIfModifiedSince: options.sourceConditions.ifModifiedSince,\n sourceIfNoneMatch: options.sourceConditions.ifNoneMatch,\n sourceIfUnmodifiedSince: options.sourceConditions.ifUnmodifiedSince,\n },\n sourceContentMD5: options.sourceContentMD5,\n copySourceAuthorization: httpAuthorizationToString(options.sourceAuthorization),\n blobTagsString: toBlobTagsString(options.tags),\n immutabilityPolicyExpiry: options.immutabilityPolicy?.expiriesOn,\n immutabilityPolicyMode: options.immutabilityPolicy?.policyMode,\n legalHold: options.legalHold,\n encryptionScope: options.encryptionScope,\n copySourceTags: options.copySourceTags,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Sets the tier on a blob. The operation is allowed on a page blob in a premium\n * storage account and on a block blob in a blob storage account (locally redundant\n * storage only). A premium page blob's tier determines the allowed size, IOPS,\n * and bandwidth of the blob. A block blob's tier determines Hot/Cool/Archive\n * storage type. This operation does not update the blob's ETag.\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/set-blob-tier\n *\n * @param tier - The tier to be set on the blob. Valid values are Hot, Cool, or Archive.\n * @param options - Optional options to the Blob Set Tier operation.\n */\n public async setAccessTier(\n tier: BlockBlobTier | PremiumPageBlobTier | string,\n options: BlobSetTierOptions = {}\n ): Promise {\n const { span, updatedOptions } = createSpan(\"BlobClient-setAccessTier\", options);\n try {\n return await this.blobContext.setTier(toAccessTier(tier)!, {\n abortSignal: options.abortSignal,\n leaseAccessConditions: options.conditions,\n modifiedAccessConditions: {\n ...options.conditions,\n ifTags: options.conditions?.tagConditions,\n },\n rehydratePriority: options.rehydratePriority,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n // High level function\n\n /**\n * ONLY AVAILABLE IN NODE.JS RUNTIME.\n *\n * Downloads an Azure Blob in parallel to a buffer.\n * Offset and count are optional, downloads the entire blob if they are not provided.\n *\n * Warning: Buffers can only support files up to about one gigabyte on 32-bit systems or about two\n * gigabytes on 64-bit systems due to limitations of Node.js/V8. For blobs larger than this size,\n * consider {@link downloadToFile}.\n *\n * @param offset - From which position of the block blob to download(in bytes)\n * @param count - How much data(in bytes) to be downloaded. Will download to the end when passing undefined\n * @param options - BlobDownloadToBufferOptions\n */\n public async downloadToBuffer(\n offset?: number,\n count?: number,\n options?: BlobDownloadToBufferOptions\n ): Promise;\n\n /**\n * ONLY AVAILABLE IN NODE.JS RUNTIME.\n *\n * Downloads an Azure Blob in parallel to a buffer.\n * Offset and count are optional, downloads the entire blob if they are not provided.\n *\n * Warning: Buffers can only support files up to about one gigabyte on 32-bit systems or about two\n * gigabytes on 64-bit systems due to limitations of Node.js/V8. For blobs larger than this size,\n * consider {@link downloadToFile}.\n *\n * @param buffer - Buffer to be fill, must have length larger than count\n * @param offset - From which position of the block blob to download(in bytes)\n * @param count - How much data(in bytes) to be downloaded. Will download to the end when passing undefined\n * @param options - BlobDownloadToBufferOptions\n */\n public async downloadToBuffer(\n buffer: Buffer,\n offset?: number,\n count?: number,\n options?: BlobDownloadToBufferOptions\n ): Promise;\n\n public async downloadToBuffer(\n param1?: Buffer | number,\n param2?: number,\n param3?: BlobDownloadToBufferOptions | number,\n param4: BlobDownloadToBufferOptions = {}\n ): Promise {\n let buffer: Buffer | undefined;\n let offset = 0;\n let count = 0;\n let options = param4;\n if (param1 instanceof Buffer) {\n buffer = param1;\n offset = param2 || 0;\n count = typeof param3 === \"number\" ? param3 : 0;\n } else {\n offset = typeof param1 === \"number\" ? param1 : 0;\n count = typeof param2 === \"number\" ? param2 : 0;\n options = (param3 as BlobDownloadToBufferOptions) || {};\n }\n const { span, updatedOptions } = createSpan(\"BlobClient-downloadToBuffer\", options);\n\n try {\n if (!options.blockSize) {\n options.blockSize = 0;\n }\n if (options.blockSize < 0) {\n throw new RangeError(\"blockSize option must be >= 0\");\n }\n if (options.blockSize === 0) {\n options.blockSize = DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES;\n }\n\n if (offset < 0) {\n throw new RangeError(\"offset option must be >= 0\");\n }\n\n if (count && count <= 0) {\n throw new RangeError(\"count option must be greater than 0\");\n }\n\n if (!options.conditions) {\n options.conditions = {};\n }\n\n // Customer doesn't specify length, get it\n if (!count) {\n const response = await this.getProperties({\n ...options,\n tracingOptions: {\n ...options.tracingOptions,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n },\n });\n count = response.contentLength! - offset;\n if (count < 0) {\n throw new RangeError(\n `offset ${offset} shouldn't be larger than blob size ${response.contentLength!}`\n );\n }\n }\n\n // Allocate the buffer of size = count if the buffer is not provided\n if (!buffer) {\n try {\n buffer = Buffer.alloc(count);\n } catch (error: any) {\n throw new Error(\n `Unable to allocate the buffer of size: ${count}(in bytes). Please try passing your own buffer to the \"downloadToBuffer\" method or try using other methods like \"download\" or \"downloadToFile\".\\t ${error.message}`\n );\n }\n }\n\n if (buffer.length < count) {\n throw new RangeError(\n `The buffer's size should be equal to or larger than the request count of bytes: ${count}`\n );\n }\n\n let transferProgress: number = 0;\n const batch = new Batch(options.concurrency);\n for (let off = offset; off < offset + count; off = off + options.blockSize) {\n batch.addOperation(async () => {\n // Exclusive chunk end position\n let chunkEnd = offset + count!;\n if (off + options.blockSize! < chunkEnd) {\n chunkEnd = off + options.blockSize!;\n }\n const response = await this.download(off, chunkEnd - off, {\n abortSignal: options.abortSignal,\n conditions: options.conditions,\n maxRetryRequests: options.maxRetryRequestsPerBlock,\n customerProvidedKey: options.customerProvidedKey,\n tracingOptions: {\n ...options.tracingOptions,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n },\n });\n const stream = response.readableStreamBody!;\n await streamToBuffer(stream, buffer!, off - offset, chunkEnd - offset);\n // Update progress after block is downloaded, in case of block trying\n // Could provide finer grained progress updating inside HTTP requests,\n // only if convenience layer download try is enabled\n transferProgress += chunkEnd - off;\n if (options.onProgress) {\n options.onProgress({ loadedBytes: transferProgress });\n }\n });\n }\n await batch.do();\n return buffer;\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * ONLY AVAILABLE IN NODE.JS RUNTIME.\n *\n * Downloads an Azure Blob to a local file.\n * Fails if the the given file path already exits.\n * Offset and count are optional, pass 0 and undefined respectively to download the entire blob.\n *\n * @param filePath -\n * @param offset - From which position of the block blob to download.\n * @param count - How much data to be downloaded. Will download to the end when passing undefined.\n * @param options - Options to Blob download options.\n * @returns The response data for blob download operation,\n * but with readableStreamBody set to undefined since its\n * content is already read and written into a local file\n * at the specified path.\n */\n public async downloadToFile(\n filePath: string,\n offset: number = 0,\n count?: number,\n options: BlobDownloadOptions = {}\n ): Promise {\n const { span, updatedOptions } = createSpan(\"BlobClient-downloadToFile\", options);\n try {\n const response = await this.download(offset, count, {\n ...options,\n tracingOptions: {\n ...options.tracingOptions,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n },\n });\n if (response.readableStreamBody) {\n await readStreamToLocalFile(response.readableStreamBody, filePath);\n }\n\n // The stream is no longer accessible so setting it to undefined.\n (response as any).blobDownloadStream = undefined;\n return response;\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n private getBlobAndContainerNamesFromUrl(): { blobName: string; containerName: string } {\n let containerName;\n let blobName;\n try {\n // URL may look like the following\n // \"https://myaccount.blob.core.windows.net/mycontainer/blob?sasString\";\n // \"https://myaccount.blob.core.windows.net/mycontainer/blob\";\n // \"https://myaccount.blob.core.windows.net/mycontainer/blob/a.txt?sasString\";\n // \"https://myaccount.blob.core.windows.net/mycontainer/blob/a.txt\";\n // IPv4/IPv6 address hosts, Endpoints - `http://127.0.0.1:10000/devstoreaccount1/containername/blob`\n // http://localhost:10001/devstoreaccount1/containername/blob\n\n const parsedUrl = URLBuilder.parse(this.url);\n\n if (parsedUrl.getHost()!.split(\".\")[1] === \"blob\") {\n // \"https://myaccount.blob.core.windows.net/containername/blob\".\n // .getPath() -> /containername/blob\n const pathComponents = parsedUrl.getPath()!.match(\"/([^/]*)(/(.*))?\");\n containerName = pathComponents![1];\n blobName = pathComponents![3];\n } else if (isIpEndpointStyle(parsedUrl)) {\n // IPv4/IPv6 address hosts... Example - http://192.0.0.10:10001/devstoreaccount1/containername/blob\n // Single word domain without a [dot] in the endpoint... Example - http://localhost:10001/devstoreaccount1/containername/blob\n // .getPath() -> /devstoreaccount1/containername/blob\n const pathComponents = parsedUrl.getPath()!.match(\"/([^/]*)/([^/]*)(/(.*))?\");\n containerName = pathComponents![2];\n blobName = pathComponents![4];\n } else {\n // \"https://customdomain.com/containername/blob\".\n // .getPath() -> /containername/blob\n const pathComponents = parsedUrl.getPath()!.match(\"/([^/]*)(/(.*))?\");\n containerName = pathComponents![1];\n blobName = pathComponents![3];\n }\n\n // decode the encoded blobName, containerName - to get all the special characters that might be present in them\n containerName = decodeURIComponent(containerName);\n blobName = decodeURIComponent(blobName);\n\n // Azure Storage Server will replace \"\\\" with \"/\" in the blob names\n // doing the same in the SDK side so that the user doesn't have to replace \"\\\" instances in the blobName\n blobName = blobName.replace(/\\\\/g, \"/\");\n\n if (!containerName) {\n throw new Error(\"Provided containerName is invalid.\");\n }\n\n return { blobName, containerName };\n } catch (error: any) {\n throw new Error(\"Unable to extract blobName and containerName with provided information.\");\n }\n }\n\n /**\n * Asynchronously copies a blob to a destination within the storage account.\n * In version 2012-02-12 and later, the source for a Copy Blob operation can be\n * a committed blob in any Azure storage account.\n * Beginning with version 2015-02-21, the source for a Copy Blob operation can be\n * an Azure file in any Azure storage account.\n * Only storage accounts created on or after June 7th, 2012 allow the Copy Blob\n * operation to copy from another storage account.\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/copy-blob\n *\n * @param copySource - url to the source Azure Blob/File.\n * @param options - Optional options to the Blob Start Copy From URL operation.\n */\n private async startCopyFromURL(\n copySource: string,\n options: BlobStartCopyFromURLOptions = {}\n ): Promise {\n const { span, updatedOptions } = createSpan(\"BlobClient-startCopyFromURL\", options);\n options.conditions = options.conditions || {};\n options.sourceConditions = options.sourceConditions || {};\n\n try {\n return await this.blobContext.startCopyFromURL(copySource, {\n abortSignal: options.abortSignal,\n leaseAccessConditions: options.conditions,\n metadata: options.metadata,\n modifiedAccessConditions: {\n ...options.conditions,\n ifTags: options.conditions?.tagConditions,\n },\n sourceModifiedAccessConditions: {\n sourceIfMatch: options.sourceConditions.ifMatch,\n sourceIfModifiedSince: options.sourceConditions.ifModifiedSince,\n sourceIfNoneMatch: options.sourceConditions.ifNoneMatch,\n sourceIfUnmodifiedSince: options.sourceConditions.ifUnmodifiedSince,\n sourceIfTags: options.sourceConditions.tagConditions,\n },\n immutabilityPolicyExpiry: options.immutabilityPolicy?.expiriesOn,\n immutabilityPolicyMode: options.immutabilityPolicy?.policyMode,\n legalHold: options.legalHold,\n rehydratePriority: options.rehydratePriority,\n tier: toAccessTier(options.tier),\n blobTagsString: toBlobTagsString(options.tags),\n sealBlob: options.sealBlob,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Only available for BlobClient constructed with a shared key credential.\n *\n * Generates a Blob Service Shared Access Signature (SAS) URI based on the client properties\n * and parameters passed in. The SAS is signed by the shared key credential of the client.\n *\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas\n *\n * @param options - Optional parameters.\n * @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.\n */\n public generateSasUrl(options: BlobGenerateSasUrlOptions): Promise {\n return new Promise((resolve) => {\n if (!(this.credential instanceof StorageSharedKeyCredential)) {\n throw new RangeError(\n \"Can only generate the SAS when the client is initialized with a shared key credential\"\n );\n }\n\n const sas = generateBlobSASQueryParameters(\n {\n containerName: this._containerName,\n blobName: this._name,\n snapshotTime: this._snapshot,\n versionId: this._versionId,\n ...options,\n },\n this.credential\n ).toString();\n\n resolve(appendToURLQuery(this.url, sas));\n });\n }\n\n /**\n * Delete the immutablility policy on the blob.\n *\n * @param options - Optional options to delete immutability policy on the blob.\n */\n public async deleteImmutabilityPolicy(\n options?: BlobDeleteImmutabilityPolicyOptions\n ): Promise {\n const { span, updatedOptions } = createSpan(\"BlobClient-deleteImmutabilityPolicy\", options);\n try {\n return await this.blobContext.deleteImmutabilityPolicy({\n abortSignal: options?.abortSignal,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Set immutablility policy on the blob.\n *\n * @param options - Optional options to set immutability policy on the blob.\n */\n public async setImmutabilityPolicy(\n immutabilityPolicy: BlobImmutabilityPolicy,\n options?: BlobSetImmutabilityPolicyOptions\n ): Promise {\n const { span, updatedOptions } = createSpan(\"BlobClient-setImmutabilityPolicy\", options);\n try {\n return await this.blobContext.setImmutabilityPolicy({\n abortSignal: options?.abortSignal,\n immutabilityPolicyExpiry: immutabilityPolicy.expiriesOn,\n immutabilityPolicyMode: immutabilityPolicy.policyMode,\n modifiedAccessConditions: options?.modifiedAccessCondition,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Set legal hold on the blob.\n *\n * @param options - Optional options to set legal hold on the blob.\n */\n public async setLegalHold(\n legalHoldEnabled: boolean,\n options?: BlobSetLegalHoldOptions\n ): Promise {\n const { span, updatedOptions } = createSpan(\"BlobClient-setLegalHold\", options);\n try {\n return await this.blobContext.setLegalHold(legalHoldEnabled, {\n abortSignal: options?.abortSignal,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n}\n\n/**\n * Options to configure {@link AppendBlobClient.create} operation.\n */\nexport interface AppendBlobCreateOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n\n /**\n * Conditions to meet when creating append blobs.\n */\n conditions?: BlobRequestConditions;\n /**\n * HTTP headers to set when creating append blobs. A common header\n * to set is `blobContentType`, enabling the browser to provide functionality\n * based on file type.\n *\n */\n blobHTTPHeaders?: BlobHTTPHeaders;\n /**\n * A collection of key-value string pair to associate with the blob when creating append blobs.\n */\n metadata?: Metadata;\n /**\n * Customer Provided Key Info.\n */\n customerProvidedKey?: CpkInfo;\n /**\n * Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to\n * encrypt the data provided in the request. If not specified, encryption is performed with the\n * default account encryption scope. For more information, see Encryption at Rest for Azure\n * Storage Services.\n */\n encryptionScope?: string;\n /**\n * Optional. Specifies immutability policy for a blob.\n * Note that is parameter is only applicable to a blob within a container that\n * has version level worm enabled.\n */\n immutabilityPolicy?: BlobImmutabilityPolicy;\n /**\n * Optional. Indicates if a legal hold should be placed on the blob.\n * Note that is parameter is only applicable to a blob within a container that\n * has version level worm enabled.\n */\n legalHold?: boolean;\n /**\n * Blob tags.\n */\n tags?: Tags;\n}\n\n/**\n * Options to configure {@link AppendBlobClient.createIfNotExists} operation.\n */\nexport interface AppendBlobCreateIfNotExistsOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * HTTP headers to set when creating append blobs. A common header to set is\n * `blobContentType`, enabling the browser to provide functionality\n * based on file type.\n *\n */\n blobHTTPHeaders?: BlobHTTPHeaders;\n /**\n * A collection of key-value string pair to associate with the blob when creating append blobs.\n */\n metadata?: Metadata;\n /**\n * Customer Provided Key Info.\n */\n customerProvidedKey?: CpkInfo;\n /**\n * Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to\n * encrypt the data provided in the request. If not specified, encryption is performed with the\n * default account encryption scope. For more information, see Encryption at Rest for Azure\n * Storage Services.\n */\n encryptionScope?: string;\n /**\n * Optional. Specifies immutability policy for a blob.\n * Note that is parameter is only applicable to a blob within a container that\n * has version level worm enabled.\n */\n immutabilityPolicy?: BlobImmutabilityPolicy;\n /**\n * Optional. Indicates if a legal hold should be placed on the blob.\n * Note that is parameter is only applicable to a blob within a container that\n * has version level worm enabled.\n */\n legalHold?: boolean;\n}\n\n/**\n * Options to configure {@link AppendBlobClient.seal} operation.\n */\nexport interface AppendBlobSealOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Conditions to meet.\n */\n conditions?: AppendBlobRequestConditions;\n}\n\n/**\n * Options to configure the {@link AppendBlobClient.appendBlock} operation.\n */\nexport interface AppendBlobAppendBlockOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Conditions to meet when appending append blob blocks.\n */\n conditions?: AppendBlobRequestConditions;\n /**\n * Callback to receive events on the progress of append block operation.\n */\n onProgress?: (progress: TransferProgressEvent) => void;\n /**\n * An MD5 hash of the block content. This hash is used to verify the integrity of the block during transport.\n * When this is specified, the storage service compares the hash of the content that has arrived with this value.\n *\n * transactionalContentMD5 and transactionalContentCrc64 cannot be set at same time.\n */\n transactionalContentMD5?: Uint8Array;\n /**\n * A CRC64 hash of the append block content. This hash is used to verify the integrity of the append block during transport.\n * When this is specified, the storage service compares the hash of the content that has arrived with this value.\n *\n * transactionalContentMD5 and transactionalContentCrc64 cannot be set at same time.\n */\n transactionalContentCrc64?: Uint8Array;\n /**\n * Customer Provided Key Info.\n */\n customerProvidedKey?: CpkInfo;\n /**\n * Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to\n * encrypt the data provided in the request. If not specified, encryption is performed with the\n * default account encryption scope. For more information, see Encryption at Rest for Azure\n * Storage Services.\n */\n encryptionScope?: string;\n}\n\n/**\n * Options to configure the {@link AppendBlobClient.appendBlockFromURL} operation.\n */\nexport interface AppendBlobAppendBlockFromURLOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Conditions to meet when appending append blob blocks.\n */\n conditions?: AppendBlobRequestConditions;\n /**\n * Conditions to meet for the source Azure Blob/File when copying from a URL to the blob.\n */\n sourceConditions?: MatchConditions & ModificationConditions;\n /**\n * An MD5 hash of the append block content from the URI.\n * This hash is used to verify the integrity of the append block during transport of the data from the URI.\n * When this is specified, the storage service compares the hash of the content that has arrived from the copy-source with this value.\n *\n * sourceContentMD5 and sourceContentCrc64 cannot be set at same time.\n */\n sourceContentMD5?: Uint8Array;\n /**\n * A CRC64 hash of the append block content from the URI.\n * This hash is used to verify the integrity of the append block during transport of the data from the URI.\n * When this is specified, the storage service compares the hash of the content that has arrived from the copy-source with this value.\n *\n * sourceContentMD5 and sourceContentCrc64 cannot be set at same time.\n */\n sourceContentCrc64?: Uint8Array;\n /**\n * Customer Provided Key Info.\n */\n customerProvidedKey?: CpkInfo;\n /**\n * Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to\n * encrypt the data provided in the request. If not specified, encryption is performed with the\n * default account encryption scope. For more information, see Encryption at Rest for Azure\n * Storage Services.\n */\n encryptionScope?: string;\n /**\n * Only Bearer type is supported. Credentials should be a valid OAuth access token to copy source.\n */\n sourceAuthorization?: HttpAuthorization;\n}\n\n/**\n * Contains response data for the {@link appendBlobClient.createIfNotExists} operation.\n */\nexport interface AppendBlobCreateIfNotExistsResponse extends AppendBlobCreateResponse {\n /**\n * Indicate whether the blob is successfully created. Is false when the blob is not changed as it already exists.\n */\n succeeded: boolean;\n}\n\n/**\n * AppendBlobClient defines a set of operations applicable to append blobs.\n */\nexport class AppendBlobClient extends BlobClient {\n /**\n * appendBlobsContext provided by protocol layer.\n */\n private appendBlobContext: AppendBlob;\n\n /**\n *\n * Creates an instance of AppendBlobClient.\n *\n * @param connectionString - Account connection string or a SAS connection string of an Azure storage account.\n * [ Note - Account connection string can only be used in NODE.JS runtime. ]\n * Account connection string example -\n * `DefaultEndpointsProtocol=https;AccountName=myaccount;AccountKey=accountKey;EndpointSuffix=core.windows.net`\n * SAS connection string example -\n * `BlobEndpoint=https://myaccount.blob.core.windows.net/;QueueEndpoint=https://myaccount.queue.core.windows.net/;FileEndpoint=https://myaccount.file.core.windows.net/;TableEndpoint=https://myaccount.table.core.windows.net/;SharedAccessSignature=sasString`\n * @param containerName - Container name.\n * @param blobName - Blob name.\n * @param options - Optional. Options to configure the HTTP pipeline.\n */\n constructor(\n connectionString: string,\n containerName: string,\n blobName: string,\n // Legacy, no fix for eslint error without breaking. Disable it for this interface.\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-options*/\n options?: StoragePipelineOptions\n );\n /**\n * Creates an instance of AppendBlobClient.\n * This method accepts an encoded URL or non-encoded URL pointing to an append blob.\n * Encoded URL string will NOT be escaped twice, only special characters in URL path will be escaped.\n * If a blob name includes ? or %, blob name must be encoded in the URL.\n *\n * @param url - A URL string pointing to Azure Storage append blob, such as\n * \"https://myaccount.blob.core.windows.net/mycontainer/appendblob\". You can\n * append a SAS if using AnonymousCredential, such as\n * \"https://myaccount.blob.core.windows.net/mycontainer/appendblob?sasString\".\n * This method accepts an encoded URL or non-encoded URL pointing to a blob.\n * Encoded URL string will NOT be escaped twice, only special characters in URL path will be escaped.\n * However, if a blob name includes ? or %, blob name must be encoded in the URL.\n * Such as a blob named \"my?blob%\", the URL should be \"https://myaccount.blob.core.windows.net/mycontainer/my%3Fblob%25\".\n * @param credential - Such as AnonymousCredential, StorageSharedKeyCredential or any credential from the `@azure/identity` package to authenticate requests to the service. You can also provide an object that implements the TokenCredential interface. If not specified, AnonymousCredential is used.\n * @param options - Optional. Options to configure the HTTP pipeline.\n */\n constructor(\n url: string,\n credential: StorageSharedKeyCredential | AnonymousCredential | TokenCredential,\n // Legacy, no fix for eslint error without breaking. Disable it for this interface.\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-options*/\n options?: StoragePipelineOptions\n );\n /**\n * Creates an instance of AppendBlobClient.\n * This method accepts an encoded URL or non-encoded URL pointing to an append blob.\n * Encoded URL string will NOT be escaped twice, only special characters in URL path will be escaped.\n * If a blob name includes ? or %, blob name must be encoded in the URL.\n *\n * @param url - A URL string pointing to Azure Storage append blob, such as\n * \"https://myaccount.blob.core.windows.net/mycontainer/appendblob\". You can\n * append a SAS if using AnonymousCredential, such as\n * \"https://myaccount.blob.core.windows.net/mycontainer/appendblob?sasString\".\n * This method accepts an encoded URL or non-encoded URL pointing to a blob.\n * Encoded URL string will NOT be escaped twice, only special characters in URL path will be escaped.\n * However, if a blob name includes ? or %, blob name must be encoded in the URL.\n * Such as a blob named \"my?blob%\", the URL should be \"https://myaccount.blob.core.windows.net/mycontainer/my%3Fblob%25\".\n * @param pipeline - Call newPipeline() to create a default\n * pipeline, or provide a customized pipeline.\n */\n constructor(url: string, pipeline: PipelineLike);\n constructor(\n urlOrConnectionString: string,\n credentialOrPipelineOrContainerName:\n | string\n | StorageSharedKeyCredential\n | AnonymousCredential\n | TokenCredential\n | PipelineLike,\n blobNameOrOptions?: string | StoragePipelineOptions,\n // Legacy, no fix for eslint error without breaking. Disable it for this interface.\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-options*/\n options?: StoragePipelineOptions\n ) {\n // In TypeScript we cannot simply pass all parameters to super() like below so have to duplicate the code instead.\n // super(s, credentialOrPipelineOrContainerNameOrOptions, blobNameOrOptions, options);\n let pipeline: PipelineLike;\n let url: string;\n options = options || {};\n if (isPipelineLike(credentialOrPipelineOrContainerName)) {\n // (url: string, pipeline: Pipeline)\n url = urlOrConnectionString;\n pipeline = credentialOrPipelineOrContainerName;\n } else if (\n (isNode && credentialOrPipelineOrContainerName instanceof StorageSharedKeyCredential) ||\n credentialOrPipelineOrContainerName instanceof AnonymousCredential ||\n isTokenCredential(credentialOrPipelineOrContainerName)\n ) {\n // (url: string, credential?: StorageSharedKeyCredential | AnonymousCredential | TokenCredential, options?: StoragePipelineOptions) url = urlOrConnectionString;\n url = urlOrConnectionString;\n options = blobNameOrOptions as StoragePipelineOptions;\n pipeline = newPipeline(credentialOrPipelineOrContainerName, options);\n } else if (\n !credentialOrPipelineOrContainerName &&\n typeof credentialOrPipelineOrContainerName !== \"string\"\n ) {\n // (url: string, credential?: StorageSharedKeyCredential | AnonymousCredential | TokenCredential, options?: StoragePipelineOptions)\n url = urlOrConnectionString;\n // The second parameter is undefined. Use anonymous credential.\n pipeline = newPipeline(new AnonymousCredential(), options);\n } else if (\n credentialOrPipelineOrContainerName &&\n typeof credentialOrPipelineOrContainerName === \"string\" &&\n blobNameOrOptions &&\n typeof blobNameOrOptions === \"string\"\n ) {\n // (connectionString: string, containerName: string, blobName: string, options?: StoragePipelineOptions)\n const containerName = credentialOrPipelineOrContainerName;\n const blobName = blobNameOrOptions;\n\n const extractedCreds = extractConnectionStringParts(urlOrConnectionString);\n if (extractedCreds.kind === \"AccountConnString\") {\n if (isNode) {\n const sharedKeyCredential = new StorageSharedKeyCredential(\n extractedCreds.accountName!,\n extractedCreds.accountKey\n );\n url = appendToURLPath(\n appendToURLPath(extractedCreds.url, encodeURIComponent(containerName)),\n encodeURIComponent(blobName)\n );\n\n if (!options.proxyOptions) {\n options.proxyOptions = getDefaultProxySettings(extractedCreds.proxyUri);\n }\n\n pipeline = newPipeline(sharedKeyCredential, options);\n } else {\n throw new Error(\"Account connection string is only supported in Node.js environment\");\n }\n } else if (extractedCreds.kind === \"SASConnString\") {\n url =\n appendToURLPath(\n appendToURLPath(extractedCreds.url, encodeURIComponent(containerName)),\n encodeURIComponent(blobName)\n ) +\n \"?\" +\n extractedCreds.accountSas;\n pipeline = newPipeline(new AnonymousCredential(), options);\n } else {\n throw new Error(\n \"Connection string must be either an Account connection string or a SAS connection string\"\n );\n }\n } else {\n throw new Error(\"Expecting non-empty strings for containerName and blobName parameters\");\n }\n super(url, pipeline);\n this.appendBlobContext = new AppendBlob(this.storageClientContext);\n }\n\n /**\n * Creates a new AppendBlobClient object identical to the source but with the\n * specified snapshot timestamp.\n * Provide \"\" will remove the snapshot and return a Client to the base blob.\n *\n * @param snapshot - The snapshot timestamp.\n * @returns A new AppendBlobClient object identical to the source but with the specified snapshot timestamp.\n */\n public withSnapshot(snapshot: string): AppendBlobClient {\n return new AppendBlobClient(\n setURLParameter(\n this.url,\n URLConstants.Parameters.SNAPSHOT,\n snapshot.length === 0 ? undefined : snapshot\n ),\n this.pipeline\n );\n }\n\n /**\n * Creates a 0-length append blob. Call AppendBlock to append data to an append blob.\n * @see https://docs.microsoft.com/rest/api/storageservices/put-blob\n *\n * @param options - Options to the Append Block Create operation.\n *\n *\n * Example usage:\n *\n * ```js\n * const appendBlobClient = containerClient.getAppendBlobClient(\"\");\n * await appendBlobClient.create();\n * ```\n */\n public async create(options: AppendBlobCreateOptions = {}): Promise {\n const { span, updatedOptions } = createSpan(\"AppendBlobClient-create\", options);\n options.conditions = options.conditions || {};\n try {\n ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);\n\n return await this.appendBlobContext.create(0, {\n abortSignal: options.abortSignal,\n blobHttpHeaders: options.blobHTTPHeaders,\n leaseAccessConditions: options.conditions,\n metadata: options.metadata,\n modifiedAccessConditions: {\n ...options.conditions,\n ifTags: options.conditions?.tagConditions,\n },\n cpkInfo: options.customerProvidedKey,\n encryptionScope: options.encryptionScope,\n immutabilityPolicyExpiry: options.immutabilityPolicy?.expiriesOn,\n immutabilityPolicyMode: options.immutabilityPolicy?.policyMode,\n legalHold: options.legalHold,\n blobTagsString: toBlobTagsString(options.tags),\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Creates a 0-length append blob. Call AppendBlock to append data to an append blob.\n * If the blob with the same name already exists, the content of the existing blob will remain unchanged.\n * @see https://docs.microsoft.com/rest/api/storageservices/put-blob\n *\n * @param options -\n */\n public async createIfNotExists(\n options: AppendBlobCreateIfNotExistsOptions = {}\n ): Promise {\n const { span, updatedOptions } = createSpan(\"AppendBlobClient-createIfNotExists\", options);\n const conditions = { ifNoneMatch: ETagAny };\n try {\n const res = await this.create({\n ...updatedOptions,\n conditions,\n });\n return {\n succeeded: true,\n ...res,\n _response: res._response, // _response is made non-enumerable\n };\n } catch (e: any) {\n if (e.details?.errorCode === \"BlobAlreadyExists\") {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: \"Expected exception when creating a blob only if it does not already exist.\",\n });\n return {\n succeeded: false,\n ...e.response?.parsedHeaders,\n _response: e.response,\n };\n }\n\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Seals the append blob, making it read only.\n *\n * @param options -\n */\n public async seal(options: AppendBlobSealOptions = {}): Promise {\n const { span, updatedOptions } = createSpan(\"AppendBlobClient-seal\", options);\n options.conditions = options.conditions || {};\n try {\n return await this.appendBlobContext.seal({\n abortSignal: options.abortSignal,\n appendPositionAccessConditions: options.conditions,\n leaseAccessConditions: options.conditions,\n modifiedAccessConditions: {\n ...options.conditions,\n ifTags: options.conditions?.tagConditions,\n },\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Commits a new block of data to the end of the existing append blob.\n * @see https://docs.microsoft.com/rest/api/storageservices/append-block\n *\n * @param body - Data to be appended.\n * @param contentLength - Length of the body in bytes.\n * @param options - Options to the Append Block operation.\n *\n *\n * Example usage:\n *\n * ```js\n * const content = \"Hello World!\";\n *\n * // Create a new append blob and append data to the blob.\n * const newAppendBlobClient = containerClient.getAppendBlobClient(\"\");\n * await newAppendBlobClient.create();\n * await newAppendBlobClient.appendBlock(content, content.length);\n *\n * // Append data to an existing append blob.\n * const existingAppendBlobClient = containerClient.getAppendBlobClient(\"\");\n * await existingAppendBlobClient.appendBlock(content, content.length);\n * ```\n */\n public async appendBlock(\n body: HttpRequestBody,\n contentLength: number,\n options: AppendBlobAppendBlockOptions = {}\n ): Promise {\n const { span, updatedOptions } = createSpan(\"AppendBlobClient-appendBlock\", options);\n options.conditions = options.conditions || {};\n try {\n ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);\n\n return await this.appendBlobContext.appendBlock(contentLength, body, {\n abortSignal: options.abortSignal,\n appendPositionAccessConditions: options.conditions,\n leaseAccessConditions: options.conditions,\n modifiedAccessConditions: {\n ...options.conditions,\n ifTags: options.conditions?.tagConditions,\n },\n requestOptions: {\n onUploadProgress: options.onProgress,\n },\n transactionalContentMD5: options.transactionalContentMD5,\n transactionalContentCrc64: options.transactionalContentCrc64,\n cpkInfo: options.customerProvidedKey,\n encryptionScope: options.encryptionScope,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * The Append Block operation commits a new block of data to the end of an existing append blob\n * where the contents are read from a source url.\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/append-block-from-url\n *\n * @param sourceURL -\n * The url to the blob that will be the source of the copy. A source blob in the same storage account can\n * be authenticated via Shared Key. However, if the source is a blob in another account, the source blob\n * must either be public or must be authenticated via a shared access signature. If the source blob is\n * public, no authentication is required to perform the operation.\n * @param sourceOffset - Offset in source to be appended\n * @param count - Number of bytes to be appended as a block\n * @param options -\n */\n public async appendBlockFromURL(\n sourceURL: string,\n sourceOffset: number,\n count: number,\n options: AppendBlobAppendBlockFromURLOptions = {}\n ): Promise {\n const { span, updatedOptions } = createSpan(\"AppendBlobClient-appendBlockFromURL\", options);\n options.conditions = options.conditions || {};\n options.sourceConditions = options.sourceConditions || {};\n try {\n ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);\n\n return await this.appendBlobContext.appendBlockFromUrl(sourceURL, 0, {\n abortSignal: options.abortSignal,\n sourceRange: rangeToString({ offset: sourceOffset, count }),\n sourceContentMD5: options.sourceContentMD5,\n sourceContentCrc64: options.sourceContentCrc64,\n leaseAccessConditions: options.conditions,\n appendPositionAccessConditions: options.conditions,\n modifiedAccessConditions: {\n ...options.conditions,\n ifTags: options.conditions?.tagConditions,\n },\n sourceModifiedAccessConditions: {\n sourceIfMatch: options.sourceConditions.ifMatch,\n sourceIfModifiedSince: options.sourceConditions.ifModifiedSince,\n sourceIfNoneMatch: options.sourceConditions.ifNoneMatch,\n sourceIfUnmodifiedSince: options.sourceConditions.ifUnmodifiedSince,\n },\n copySourceAuthorization: httpAuthorizationToString(options.sourceAuthorization),\n cpkInfo: options.customerProvidedKey,\n encryptionScope: options.encryptionScope,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n}\n\n/**\n * Options to configure {@link BlockBlobClient.upload} operation.\n */\nexport interface BlockBlobUploadOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Conditions to meet when uploading to the block blob.\n */\n conditions?: BlobRequestConditions;\n /**\n * HTTP headers to set when uploading to a block blob. A common header to set is\n * `blobContentType`, enabling the browser to provide functionality\n * based on file type.\n *\n */\n blobHTTPHeaders?: BlobHTTPHeaders;\n /**\n * A collection of key-value string pair to associate with the blob when uploading to a block blob.\n */\n metadata?: Metadata;\n /**\n * Callback to receive events on the progress of upload operation.\n */\n onProgress?: (progress: TransferProgressEvent) => void;\n /**\n * Customer Provided Key Info.\n */\n customerProvidedKey?: CpkInfo;\n /**\n * Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to\n * encrypt the data provided in the request. If not specified, encryption is performed with the\n * default account encryption scope. For more information, see Encryption at Rest for Azure\n * Storage Services.\n */\n encryptionScope?: string;\n /**\n * Access tier.\n * More Details - https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-storage-tiers\n */\n tier?: BlockBlobTier | string;\n /**\n * Optional. Specifies immutability policy for a blob.\n * Note that is parameter is only applicable to a blob within a container that\n * has version level worm enabled.\n */\n immutabilityPolicy?: BlobImmutabilityPolicy;\n /**\n * Optional. Indicates if a legal hold should be placed on the blob.\n * Note that is parameter is only applicable to a blob within a container that\n * has version level worm enabled.\n */\n legalHold?: boolean;\n /**\n * Blob tags.\n */\n tags?: Tags;\n}\n\n/**\n * Options to configure {@link BlockBlobClient.syncUploadFromURL} operation.\n */\nexport interface BlockBlobSyncUploadFromURLOptions extends CommonOptions {\n /**\n * Server timeout in seconds.\n * For more information, @see https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations\n */\n timeoutInSeconds?: number;\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Optional. Specifies a user-defined name-value pair associated with the blob. If no name-value\n * pairs are specified, the operation will copy the metadata from the source blob or file to the\n * destination blob. If one or more name-value pairs are specified, the destination blob is\n * created with the specified metadata, and metadata is not copied from the source blob or file.\n * Note that beginning with version 2009-09-19, metadata names must adhere to the naming rules\n * for C# identifiers. See Naming and Referencing Containers, Blobs, and Metadata for more\n * information.\n */\n metadata?: Metadata;\n /**\n * Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to\n * encrypt the data provided in the request. If not specified, encryption is performed with the\n * default account encryption scope. For more information, see Encryption at Rest for Azure\n * Storage Services.\n */\n encryptionScope?: string;\n /**\n * Access tier.\n * More Details - https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-storage-tiers\n */\n tier?: BlockBlobTier | string;\n /**\n * Specify the md5 calculated for the range of bytes that must be read from the copy source.\n */\n sourceContentMD5?: Uint8Array;\n /**\n * Blob tags.\n */\n tags?: Tags;\n /**\n * Optional, default is true. Indicates if properties from the source blob should be copied.\n */\n copySourceBlobProperties?: boolean;\n /**\n * HTTP headers to set when uploading to a block blob.\n *\n * A common header to set is `blobContentType`, enabling the browser to provide functionality\n * based on file type.\n *\n */\n blobHTTPHeaders?: BlobHTTPHeaders;\n /**\n * Conditions to meet for the destination Azure Blob.\n */\n conditions?: BlobRequestConditions;\n /**\n * Customer Provided Key Info.\n */\n customerProvidedKey?: CpkInfo;\n /**\n * Optional. Conditions to meet for the source Azure Blob.\n */\n sourceConditions?: ModifiedAccessConditions;\n /**\n * Only Bearer type is supported. Credentials should be a valid OAuth access token to copy source.\n */\n sourceAuthorization?: HttpAuthorization;\n /**\n * Optional, default 'replace'. Indicates if source tags should be copied or replaced with the tags specified by {@link tags}.\n */\n copySourceTags?: BlobCopySourceTags;\n}\n\n/**\n * Blob query error type.\n */\nexport interface BlobQueryError {\n /**\n * Whether error is fatal. Fatal error will stop query.\n */\n isFatal: boolean;\n /**\n * Error name.\n */\n name: string;\n /**\n * Position in bytes of the query.\n */\n position: number;\n /**\n * Error description.\n */\n description: string;\n}\n\n/**\n * Options to query blob with JSON format.\n */\nexport interface BlobQueryJsonTextConfiguration {\n /**\n * Record separator.\n */\n recordSeparator: string;\n /**\n * Query for a JSON format blob.\n */\n kind: \"json\";\n}\n\n/**\n * Options to query blob with CSV format.\n */\nexport interface BlobQueryCsvTextConfiguration {\n /**\n * Record separator.\n */\n recordSeparator: string;\n /**\n * Query for a CSV format blob.\n */\n kind: \"csv\";\n /**\n * Column separator. Default is \",\".\n */\n columnSeparator?: string;\n /**\n * Field quote.\n */\n fieldQuote?: string;\n /**\n * Escape character.\n */\n escapeCharacter?: string;\n /**\n * Has headers. Default is false.\n */\n hasHeaders?: boolean;\n}\n\n/**\n * Options to query blob with Apache Arrow format. Only valid for {@link BlockBlobQueryOptions.outputTextConfiguration}.\n */\nexport interface BlobQueryArrowConfiguration {\n /**\n * Kind.\n */\n kind: \"arrow\";\n\n /**\n * List of {@link BlobQueryArrowField} describing the schema of the data.\n */\n schema: BlobQueryArrowField[];\n}\n\n/**\n * Options to query blob with Parquet format. Only valid for {@link BlockBlobQueryOptions.inputTextConfiguration}.\n */\nexport interface BlobQueryParquetConfiguration {\n /**\n * Kind.\n */\n kind: \"parquet\";\n}\n\n/**\n * Options to configure {@link BlockBlobClient.query} operation.\n */\nexport interface BlockBlobQueryOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Configurations for the query input.\n */\n inputTextConfiguration?:\n | BlobQueryJsonTextConfiguration\n | BlobQueryCsvTextConfiguration\n | BlobQueryParquetConfiguration;\n /**\n * Configurations for the query output.\n */\n outputTextConfiguration?:\n | BlobQueryJsonTextConfiguration\n | BlobQueryCsvTextConfiguration\n | BlobQueryArrowConfiguration;\n /**\n * Callback to receive events on the progress of query operation.\n */\n onProgress?: (progress: TransferProgressEvent) => void;\n /**\n * Callback to receive error events during the query operaiton.\n */\n onError?: (error: BlobQueryError) => void;\n /**\n * Conditions to meet when uploading to the block blob.\n */\n conditions?: BlobRequestConditions;\n /**\n * Customer Provided Key Info.\n */\n customerProvidedKey?: CpkInfo;\n}\n\n/**\n * Options to configure {@link BlockBlobClient.stageBlock} operation.\n */\nexport interface BlockBlobStageBlockOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * If specified, contains the lease id that must be matched and lease with this id\n * must be active in order for the operation to succeed.\n */\n conditions?: LeaseAccessConditions;\n /**\n * Callback to receive events on the progress of stage block operation.\n */\n onProgress?: (progress: TransferProgressEvent) => void;\n /**\n * An MD5 hash of the block content. This hash is used to verify the integrity of the block during transport.\n * When this is specified, the storage service compares the hash of the content that has arrived with this value.\n *\n * transactionalContentMD5 and transactionalContentCrc64 cannot be set at same time.\n */\n transactionalContentMD5?: Uint8Array;\n\n /**\n * A CRC64 hash of the block content. This hash is used to verify the integrity of the block during transport.\n * When this is specified, the storage service compares the hash of the content that has arrived with this value.\n *\n * transactionalContentMD5 and transactionalContentCrc64 cannot be set at same time.\n */\n transactionalContentCrc64?: Uint8Array;\n /**\n * Customer Provided Key Info.\n */\n customerProvidedKey?: CpkInfo;\n /**\n * Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to\n * encrypt the data provided in the request. If not specified, encryption is performed with the\n * default account encryption scope. For more information, see Encryption at Rest for Azure\n * Storage Services.\n */\n encryptionScope?: string;\n}\n\n/**\n * Options to configure {@link BlockBlobClient.stageBlockFromURL} operation.\n */\nexport interface BlockBlobStageBlockFromURLOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Specifies the bytes of the source Blob/File to upload.\n * If not specified, the entire content is uploaded as a single block.\n */\n range?: Range;\n /**\n * If specified, contains the lease id that must be matched and lease with this id\n * must be active in order for the operation to succeed.\n */\n conditions?: LeaseAccessConditions;\n /**\n * An MD5 hash of the content from the URI.\n * This hash is used to verify the integrity of the content during transport of the data from the URI.\n * When this is specified, the storage service compares the hash of the content that has arrived from the copy-source with this value.\n *\n * sourceContentMD5 and sourceContentCrc64 cannot be set at same time.\n */\n sourceContentMD5?: Uint8Array;\n /**\n * A CRC64 hash of the content from the URI.\n * This hash is used to verify the integrity of the content during transport of the data from the URI.\n * When this is specified, the storage service compares the hash of the content that has arrived from the copy-source with this value.\n *\n * sourceContentMD5 and sourceContentCrc64 cannot be set at same time.\n */\n sourceContentCrc64?: Uint8Array;\n /**\n * Customer Provided Key Info.\n */\n customerProvidedKey?: CpkInfo;\n /**\n * Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to\n * encrypt the data provided in the request. If not specified, encryption is performed with the\n * default account encryption scope. For more information, see Encryption at Rest for Azure\n * Storage Services.\n */\n encryptionScope?: string;\n /**\n * Only Bearer type is supported. Credentials should be a valid OAuth access token to copy source.\n */\n sourceAuthorization?: HttpAuthorization;\n}\n\n/**\n * Options to configure {@link BlockBlobClient.commitBlockList} operation.\n */\nexport interface BlockBlobCommitBlockListOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Conditions to meet when committing the block list.\n */\n conditions?: BlobRequestConditions;\n /**\n * HTTP headers to set when committing block list.\n */\n blobHTTPHeaders?: BlobHTTPHeaders;\n /**\n * A collection of key-value string pair to associate with the blob when committing block list.\n */\n metadata?: Metadata;\n /**\n * Customer Provided Key Info.\n */\n customerProvidedKey?: CpkInfo;\n /**\n * Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to\n * encrypt the data provided in the request. If not specified, encryption is performed with the\n * default account encryption scope. For more information, see Encryption at Rest for Azure\n * Storage Services.\n */\n encryptionScope?: string;\n /**\n * Optional. Specifies immutability policy for a blob.\n * Note that is parameter is only applicable to a blob within a container that\n * has version level worm enabled.\n */\n immutabilityPolicy?: BlobImmutabilityPolicy;\n /**\n * Optional. Indicates if a legal hold should be placed on the blob.\n * Note that is parameter is only applicable to a blob within a container that\n * has version level worm enabled.\n */\n legalHold?: boolean;\n /**\n * Access tier.\n * More Details - https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-storage-tiers\n */\n tier?: BlockBlobTier | string;\n\n /**\n * Blob tags.\n */\n tags?: Tags;\n}\n\n/**\n * Options to configure {@link BlockBlobClient.getBlockList} operation.\n */\nexport interface BlockBlobGetBlockListOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * If specified, contains the lease id that must be matched and lease with this id\n * must be active in order for the operation to succeed.\n */\n conditions?: LeaseAccessConditions & TagConditions;\n}\n\n/**\n * Option interface for the {@link BlockBlobClient.uploadStream} operation.\n */\nexport interface BlockBlobUploadStreamOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n\n /**\n * Blob HTTP Headers.\n *\n * A common header to set is `blobContentType`, enabling the\n * browser to provide functionality based on file type.\n *\n */\n blobHTTPHeaders?: BlobHTTPHeaders;\n\n /**\n * Metadata of block blob.\n */\n metadata?: { [propertyName: string]: string };\n\n /**\n * Access conditions headers.\n */\n conditions?: BlobRequestConditions;\n\n /**\n * Progress updater.\n */\n onProgress?: (progress: TransferProgressEvent) => void;\n\n /**\n * Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to\n * encrypt the data provided in the request. If not specified, encryption is performed with the\n * default account encryption scope. For more information, see Encryption at Rest for Azure\n * Storage Services.\n */\n encryptionScope?: string;\n\n /**\n * Blob tags.\n */\n tags?: Tags;\n\n /**\n * Access tier.\n * More Details - https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-storage-tiers\n */\n tier?: BlockBlobTier | string;\n}\n/**\n * Option interface for {@link BlockBlobClient.uploadFile} and {@link BlockBlobClient.uploadSeekableStream}.\n */\nexport interface BlockBlobParallelUploadOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n\n /**\n * Destination block blob size in bytes.\n */\n blockSize?: number;\n\n /**\n * Blob size threshold in bytes to start concurrency uploading.\n * Default value is 256MB, blob size less than this option will\n * be uploaded via one I/O operation without concurrency.\n * You can customize a value less equal than the default value.\n */\n maxSingleShotSize?: number;\n\n /**\n * Progress updater.\n */\n onProgress?: (progress: TransferProgressEvent) => void;\n\n /**\n * Blob HTTP Headers. A common header to set is\n * `blobContentType`, enabling the browser to provide\n * functionality based on file type.\n *\n */\n blobHTTPHeaders?: BlobHTTPHeaders;\n\n /**\n * Metadata of block blob.\n */\n metadata?: { [propertyName: string]: string };\n\n /**\n * Access conditions headers.\n */\n conditions?: BlobRequestConditions;\n\n /**\n * Concurrency of parallel uploading. Must be greater than or equal to 0.\n */\n concurrency?: number;\n\n /**\n * Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to\n * encrypt the data provided in the request. If not specified, encryption is performed with the\n * default account encryption scope. For more information, see Encryption at Rest for Azure\n * Storage Services.\n */\n encryptionScope?: string;\n\n /**\n * Blob tags.\n */\n tags?: Tags;\n\n /**\n * Access tier.\n * More Details - https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-storage-tiers\n */\n tier?: BlockBlobTier | string;\n}\n\n/**\n * Response type for {@link BlockBlobClient.uploadFile}, {@link BlockBlobClient.uploadStream}, and\n * {@link BlockBlobClient.uploadBrowserDate}.\n */\nexport type BlobUploadCommonResponse = BlockBlobUploadHeaders & {\n /**\n * The underlying HTTP response.\n */\n _response: HttpResponse;\n};\n\n/**\n * BlockBlobClient defines a set of operations applicable to block blobs.\n */\nexport class BlockBlobClient extends BlobClient {\n /**\n * blobContext provided by protocol layer.\n *\n * Note. Ideally BlobClient should set BlobClient.blobContext to protected. However, API\n * extractor has issue blocking that. Here we redecelare _blobContext in BlockBlobClient.\n */\n private _blobContext: StorageBlob;\n\n /**\n * blockBlobContext provided by protocol layer.\n */\n private blockBlobContext: BlockBlob;\n\n /**\n *\n * Creates an instance of BlockBlobClient.\n *\n * @param connectionString - Account connection string or a SAS connection string of an Azure storage account.\n * [ Note - Account connection string can only be used in NODE.JS runtime. ]\n * Account connection string example -\n * `DefaultEndpointsProtocol=https;AccountName=myaccount;AccountKey=accountKey;EndpointSuffix=core.windows.net`\n * SAS connection string example -\n * `BlobEndpoint=https://myaccount.blob.core.windows.net/;QueueEndpoint=https://myaccount.queue.core.windows.net/;FileEndpoint=https://myaccount.file.core.windows.net/;TableEndpoint=https://myaccount.table.core.windows.net/;SharedAccessSignature=sasString`\n * @param containerName - Container name.\n * @param blobName - Blob name.\n * @param options - Optional. Options to configure the HTTP pipeline.\n */\n constructor(\n connectionString: string,\n containerName: string,\n blobName: string,\n // Legacy, no fix for eslint error without breaking. Disable it for this interface.\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-options*/\n options?: StoragePipelineOptions\n );\n /**\n * Creates an instance of BlockBlobClient.\n * This method accepts an encoded URL or non-encoded URL pointing to a block blob.\n * Encoded URL string will NOT be escaped twice, only special characters in URL path will be escaped.\n * If a blob name includes ? or %, blob name must be encoded in the URL.\n *\n * @param url - A URL string pointing to Azure Storage block blob, such as\n * \"https://myaccount.blob.core.windows.net/mycontainer/blockblob\". You can\n * append a SAS if using AnonymousCredential, such as\n * \"https://myaccount.blob.core.windows.net/mycontainer/blockblob?sasString\".\n * This method accepts an encoded URL or non-encoded URL pointing to a blob.\n * Encoded URL string will NOT be escaped twice, only special characters in URL path will be escaped.\n * However, if a blob name includes ? or %, blob name must be encoded in the URL.\n * Such as a blob named \"my?blob%\", the URL should be \"https://myaccount.blob.core.windows.net/mycontainer/my%3Fblob%25\".\n * @param credential - Such as AnonymousCredential, StorageSharedKeyCredential or any credential from the `@azure/identity` package to authenticate requests to the service. You can also provide an object that implements the TokenCredential interface. If not specified, AnonymousCredential is used.\n * @param options - Optional. Options to configure the HTTP pipeline.\n */\n constructor(\n url: string,\n credential?: StorageSharedKeyCredential | AnonymousCredential | TokenCredential,\n // Legacy, no fix for eslint error without breaking. Disable it for this interface.\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-options*/\n options?: StoragePipelineOptions\n );\n /**\n * Creates an instance of BlockBlobClient.\n * This method accepts an encoded URL or non-encoded URL pointing to a block blob.\n * Encoded URL string will NOT be escaped twice, only special characters in URL path will be escaped.\n * If a blob name includes ? or %, blob name must be encoded in the URL.\n *\n * @param url - A URL string pointing to Azure Storage block blob, such as\n * \"https://myaccount.blob.core.windows.net/mycontainer/blockblob\". You can\n * append a SAS if using AnonymousCredential, such as\n * \"https://myaccount.blob.core.windows.net/mycontainer/blockblob?sasString\".\n * This method accepts an encoded URL or non-encoded URL pointing to a blob.\n * Encoded URL string will NOT be escaped twice, only special characters in URL path will be escaped.\n * However, if a blob name includes ? or %, blob name must be encoded in the URL.\n * Such as a blob named \"my?blob%\", the URL should be \"https://myaccount.blob.core.windows.net/mycontainer/my%3Fblob%25\".\n * @param pipeline - Call newPipeline() to create a default\n * pipeline, or provide a customized pipeline.\n */\n constructor(url: string, pipeline: PipelineLike);\n constructor(\n urlOrConnectionString: string,\n credentialOrPipelineOrContainerName?:\n | string\n | StorageSharedKeyCredential\n | AnonymousCredential\n | TokenCredential\n | PipelineLike,\n blobNameOrOptions?: string | StoragePipelineOptions,\n // Legacy, no fix for eslint error without breaking. Disable it for this interface.\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-options*/\n options?: StoragePipelineOptions\n ) {\n // In TypeScript we cannot simply pass all parameters to super() like below so have to duplicate the code instead.\n // super(s, credentialOrPipelineOrContainerNameOrOptions, blobNameOrOptions, options);\n let pipeline: PipelineLike;\n let url: string;\n options = options || {};\n if (isPipelineLike(credentialOrPipelineOrContainerName)) {\n // (url: string, pipeline: Pipeline)\n url = urlOrConnectionString;\n pipeline = credentialOrPipelineOrContainerName;\n } else if (\n (isNode && credentialOrPipelineOrContainerName instanceof StorageSharedKeyCredential) ||\n credentialOrPipelineOrContainerName instanceof AnonymousCredential ||\n isTokenCredential(credentialOrPipelineOrContainerName)\n ) {\n // (url: string, credential?: StorageSharedKeyCredential | AnonymousCredential | TokenCredential, options?: StoragePipelineOptions)\n url = urlOrConnectionString;\n options = blobNameOrOptions as StoragePipelineOptions;\n pipeline = newPipeline(credentialOrPipelineOrContainerName, options);\n } else if (\n !credentialOrPipelineOrContainerName &&\n typeof credentialOrPipelineOrContainerName !== \"string\"\n ) {\n // (url: string, credential?: StorageSharedKeyCredential | AnonymousCredential | TokenCredential, options?: StoragePipelineOptions)\n // The second parameter is undefined. Use anonymous credential.\n url = urlOrConnectionString;\n pipeline = newPipeline(new AnonymousCredential(), options);\n } else if (\n credentialOrPipelineOrContainerName &&\n typeof credentialOrPipelineOrContainerName === \"string\" &&\n blobNameOrOptions &&\n typeof blobNameOrOptions === \"string\"\n ) {\n // (connectionString: string, containerName: string, blobName: string, options?: StoragePipelineOptions)\n const containerName = credentialOrPipelineOrContainerName;\n const blobName = blobNameOrOptions;\n\n const extractedCreds = extractConnectionStringParts(urlOrConnectionString);\n if (extractedCreds.kind === \"AccountConnString\") {\n if (isNode) {\n const sharedKeyCredential = new StorageSharedKeyCredential(\n extractedCreds.accountName!,\n extractedCreds.accountKey\n );\n url = appendToURLPath(\n appendToURLPath(extractedCreds.url, encodeURIComponent(containerName)),\n encodeURIComponent(blobName)\n );\n\n if (!options.proxyOptions) {\n options.proxyOptions = getDefaultProxySettings(extractedCreds.proxyUri);\n }\n\n pipeline = newPipeline(sharedKeyCredential, options);\n } else {\n throw new Error(\"Account connection string is only supported in Node.js environment\");\n }\n } else if (extractedCreds.kind === \"SASConnString\") {\n url =\n appendToURLPath(\n appendToURLPath(extractedCreds.url, encodeURIComponent(containerName)),\n encodeURIComponent(blobName)\n ) +\n \"?\" +\n extractedCreds.accountSas;\n pipeline = newPipeline(new AnonymousCredential(), options);\n } else {\n throw new Error(\n \"Connection string must be either an Account connection string or a SAS connection string\"\n );\n }\n } else {\n throw new Error(\"Expecting non-empty strings for containerName and blobName parameters\");\n }\n super(url, pipeline);\n this.blockBlobContext = new BlockBlob(this.storageClientContext);\n this._blobContext = new StorageBlob(this.storageClientContext);\n }\n\n /**\n * Creates a new BlockBlobClient object identical to the source but with the\n * specified snapshot timestamp.\n * Provide \"\" will remove the snapshot and return a URL to the base blob.\n *\n * @param snapshot - The snapshot timestamp.\n * @returns A new BlockBlobClient object identical to the source but with the specified snapshot timestamp.\n */\n public withSnapshot(snapshot: string): BlockBlobClient {\n return new BlockBlobClient(\n setURLParameter(\n this.url,\n URLConstants.Parameters.SNAPSHOT,\n snapshot.length === 0 ? undefined : snapshot\n ),\n this.pipeline\n );\n }\n\n /**\n * ONLY AVAILABLE IN NODE.JS RUNTIME.\n *\n * Quick query for a JSON or CSV formatted blob.\n *\n * Example usage (Node.js):\n *\n * ```js\n * // Query and convert a blob to a string\n * const queryBlockBlobResponse = await blockBlobClient.query(\"select * from BlobStorage\");\n * const downloaded = (await streamToBuffer(queryBlockBlobResponse.readableStreamBody)).toString();\n * console.log(\"Query blob content:\", downloaded);\n *\n * async function streamToBuffer(readableStream) {\n * return new Promise((resolve, reject) => {\n * const chunks = [];\n * readableStream.on(\"data\", (data) => {\n * chunks.push(data instanceof Buffer ? data : Buffer.from(data));\n * });\n * readableStream.on(\"end\", () => {\n * resolve(Buffer.concat(chunks));\n * });\n * readableStream.on(\"error\", reject);\n * });\n * }\n * ```\n *\n * @param query -\n * @param options -\n */\n public async query(\n query: string,\n options: BlockBlobQueryOptions = {}\n ): Promise {\n ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);\n\n const { span, updatedOptions } = createSpan(\"BlockBlobClient-query\", options);\n\n try {\n if (!isNode) {\n throw new Error(\"This operation currently is only supported in Node.js.\");\n }\n ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);\n const response = await this._blobContext.query({\n abortSignal: options.abortSignal,\n queryRequest: {\n queryType: \"SQL\",\n expression: query,\n inputSerialization: toQuerySerialization(options.inputTextConfiguration),\n outputSerialization: toQuerySerialization(options.outputTextConfiguration),\n },\n leaseAccessConditions: options.conditions,\n modifiedAccessConditions: {\n ...options.conditions,\n ifTags: options.conditions?.tagConditions,\n },\n cpkInfo: options.customerProvidedKey,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n return new BlobQueryResponse(response, {\n abortSignal: options.abortSignal,\n onProgress: options.onProgress,\n onError: options.onError,\n });\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Creates a new block blob, or updates the content of an existing block blob.\n * Updating an existing block blob overwrites any existing metadata on the blob.\n * Partial updates are not supported; the content of the existing blob is\n * overwritten with the new content. To perform a partial update of a block blob's,\n * use {@link stageBlock} and {@link commitBlockList}.\n *\n * This is a non-parallel uploading method, please use {@link uploadFile},\n * {@link uploadStream} or {@link uploadBrowserData} for better performance\n * with concurrency uploading.\n *\n * @see https://docs.microsoft.com/rest/api/storageservices/put-blob\n *\n * @param body - Blob, string, ArrayBuffer, ArrayBufferView or a function\n * which returns a new Readable stream whose offset is from data source beginning.\n * @param contentLength - Length of body in bytes. Use Buffer.byteLength() to calculate body length for a\n * string including non non-Base64/Hex-encoded characters.\n * @param options - Options to the Block Blob Upload operation.\n * @returns Response data for the Block Blob Upload operation.\n *\n * Example usage:\n *\n * ```js\n * const content = \"Hello world!\";\n * const uploadBlobResponse = await blockBlobClient.upload(content, content.length);\n * ```\n */\n public async upload(\n body: HttpRequestBody,\n contentLength: number,\n options: BlockBlobUploadOptions = {}\n ): Promise {\n options.conditions = options.conditions || {};\n const { span, updatedOptions } = createSpan(\"BlockBlobClient-upload\", options);\n try {\n ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);\n return await this.blockBlobContext.upload(contentLength, body, {\n abortSignal: options.abortSignal,\n blobHttpHeaders: options.blobHTTPHeaders,\n leaseAccessConditions: options.conditions,\n metadata: options.metadata,\n modifiedAccessConditions: {\n ...options.conditions,\n ifTags: options.conditions?.tagConditions,\n },\n requestOptions: {\n onUploadProgress: options.onProgress,\n },\n cpkInfo: options.customerProvidedKey,\n encryptionScope: options.encryptionScope,\n immutabilityPolicyExpiry: options.immutabilityPolicy?.expiriesOn,\n immutabilityPolicyMode: options.immutabilityPolicy?.policyMode,\n legalHold: options.legalHold,\n tier: toAccessTier(options.tier),\n blobTagsString: toBlobTagsString(options.tags),\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Creates a new Block Blob where the contents of the blob are read from a given URL.\n * This API is supported beginning with the 2020-04-08 version. Partial updates\n * are not supported with Put Blob from URL; the content of an existing blob is overwritten with\n * the content of the new blob. To perform partial updates to a block blob’s contents using a\n * source URL, use {@link stageBlockFromURL} and {@link commitBlockList}.\n *\n * @param sourceURL - Specifies the URL of the blob. The value\n * may be a URL of up to 2 KB in length that specifies a blob.\n * The value should be URL-encoded as it would appear\n * in a request URI. The source blob must either be public\n * or must be authenticated via a shared access signature.\n * If the source blob is public, no authentication is required\n * to perform the operation. Here are some examples of source object URLs:\n * - https://myaccount.blob.core.windows.net/mycontainer/myblob\n * - https://myaccount.blob.core.windows.net/mycontainer/myblob?snapshot=\n * @param options - Optional parameters.\n */\n\n public async syncUploadFromURL(\n sourceURL: string,\n options: BlockBlobSyncUploadFromURLOptions = {}\n ): Promise {\n options.conditions = options.conditions || {};\n const { span, updatedOptions } = createSpan(\"BlockBlobClient-syncUploadFromURL\", options);\n try {\n ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);\n return await this.blockBlobContext.putBlobFromUrl(0, sourceURL, {\n ...options,\n blobHttpHeaders: options.blobHTTPHeaders,\n leaseAccessConditions: options.conditions,\n modifiedAccessConditions: {\n ...options.conditions,\n ifTags: options.conditions.tagConditions,\n },\n sourceModifiedAccessConditions: {\n sourceIfMatch: options.sourceConditions?.ifMatch,\n sourceIfModifiedSince: options.sourceConditions?.ifModifiedSince,\n sourceIfNoneMatch: options.sourceConditions?.ifNoneMatch,\n sourceIfUnmodifiedSince: options.sourceConditions?.ifUnmodifiedSince,\n sourceIfTags: options.sourceConditions?.tagConditions,\n },\n cpkInfo: options.customerProvidedKey,\n copySourceAuthorization: httpAuthorizationToString(options.sourceAuthorization),\n tier: toAccessTier(options.tier),\n blobTagsString: toBlobTagsString(options.tags),\n copySourceTags: options.copySourceTags,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Uploads the specified block to the block blob's \"staging area\" to be later\n * committed by a call to commitBlockList.\n * @see https://docs.microsoft.com/rest/api/storageservices/put-block\n *\n * @param blockId - A 64-byte value that is base64-encoded\n * @param body - Data to upload to the staging area.\n * @param contentLength - Number of bytes to upload.\n * @param options - Options to the Block Blob Stage Block operation.\n * @returns Response data for the Block Blob Stage Block operation.\n */\n public async stageBlock(\n blockId: string,\n body: HttpRequestBody,\n contentLength: number,\n options: BlockBlobStageBlockOptions = {}\n ): Promise {\n const { span, updatedOptions } = createSpan(\"BlockBlobClient-stageBlock\", options);\n try {\n ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);\n return await this.blockBlobContext.stageBlock(blockId, contentLength, body, {\n abortSignal: options.abortSignal,\n leaseAccessConditions: options.conditions,\n requestOptions: {\n onUploadProgress: options.onProgress,\n },\n transactionalContentMD5: options.transactionalContentMD5,\n transactionalContentCrc64: options.transactionalContentCrc64,\n cpkInfo: options.customerProvidedKey,\n encryptionScope: options.encryptionScope,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * The Stage Block From URL operation creates a new block to be committed as part\n * of a blob where the contents are read from a URL.\n * This API is available starting in version 2018-03-28.\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/put-block-from-url\n *\n * @param blockId - A 64-byte value that is base64-encoded\n * @param sourceURL - Specifies the URL of the blob. The value\n * may be a URL of up to 2 KB in length that specifies a blob.\n * The value should be URL-encoded as it would appear\n * in a request URI. The source blob must either be public\n * or must be authenticated via a shared access signature.\n * If the source blob is public, no authentication is required\n * to perform the operation. Here are some examples of source object URLs:\n * - https://myaccount.blob.core.windows.net/mycontainer/myblob\n * - https://myaccount.blob.core.windows.net/mycontainer/myblob?snapshot=\n * @param offset - From which position of the blob to download, greater than or equal to 0\n * @param count - How much data to be downloaded, greater than 0. Will download to the end when undefined\n * @param options - Options to the Block Blob Stage Block From URL operation.\n * @returns Response data for the Block Blob Stage Block From URL operation.\n */\n public async stageBlockFromURL(\n blockId: string,\n sourceURL: string,\n offset: number = 0,\n count?: number,\n options: BlockBlobStageBlockFromURLOptions = {}\n ): Promise {\n const { span, updatedOptions } = createSpan(\"BlockBlobClient-stageBlockFromURL\", options);\n try {\n ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);\n return await this.blockBlobContext.stageBlockFromURL(blockId, 0, sourceURL, {\n abortSignal: options.abortSignal,\n leaseAccessConditions: options.conditions,\n sourceContentMD5: options.sourceContentMD5,\n sourceContentCrc64: options.sourceContentCrc64,\n sourceRange: offset === 0 && !count ? undefined : rangeToString({ offset, count }),\n cpkInfo: options.customerProvidedKey,\n encryptionScope: options.encryptionScope,\n copySourceAuthorization: httpAuthorizationToString(options.sourceAuthorization),\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Writes a blob by specifying the list of block IDs that make up the blob.\n * In order to be written as part of a blob, a block must have been successfully written\n * to the server in a prior {@link stageBlock} operation. You can call {@link commitBlockList} to\n * update a blob by uploading only those blocks that have changed, then committing the new and existing\n * blocks together. Any blocks not specified in the block list and permanently deleted.\n * @see https://docs.microsoft.com/rest/api/storageservices/put-block-list\n *\n * @param blocks - Array of 64-byte value that is base64-encoded\n * @param options - Options to the Block Blob Commit Block List operation.\n * @returns Response data for the Block Blob Commit Block List operation.\n */\n public async commitBlockList(\n blocks: string[],\n options: BlockBlobCommitBlockListOptions = {}\n ): Promise {\n options.conditions = options.conditions || {};\n const { span, updatedOptions } = createSpan(\"BlockBlobClient-commitBlockList\", options);\n try {\n ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);\n return await this.blockBlobContext.commitBlockList(\n { latest: blocks },\n {\n abortSignal: options.abortSignal,\n blobHttpHeaders: options.blobHTTPHeaders,\n leaseAccessConditions: options.conditions,\n metadata: options.metadata,\n modifiedAccessConditions: {\n ...options.conditions,\n ifTags: options.conditions?.tagConditions,\n },\n cpkInfo: options.customerProvidedKey,\n encryptionScope: options.encryptionScope,\n immutabilityPolicyExpiry: options.immutabilityPolicy?.expiriesOn,\n immutabilityPolicyMode: options.immutabilityPolicy?.policyMode,\n legalHold: options.legalHold,\n tier: toAccessTier(options.tier),\n blobTagsString: toBlobTagsString(options.tags),\n ...convertTracingToRequestOptionsBase(updatedOptions),\n }\n );\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Returns the list of blocks that have been uploaded as part of a block blob\n * using the specified block list filter.\n * @see https://docs.microsoft.com/rest/api/storageservices/get-block-list\n *\n * @param listType - Specifies whether to return the list of committed blocks,\n * the list of uncommitted blocks, or both lists together.\n * @param options - Options to the Block Blob Get Block List operation.\n * @returns Response data for the Block Blob Get Block List operation.\n */\n public async getBlockList(\n listType: BlockListType,\n options: BlockBlobGetBlockListOptions = {}\n ): Promise {\n const { span, updatedOptions } = createSpan(\"BlockBlobClient-getBlockList\", options);\n try {\n const res = await this.blockBlobContext.getBlockList(listType, {\n abortSignal: options.abortSignal,\n leaseAccessConditions: options.conditions,\n modifiedAccessConditions: {\n ...options.conditions,\n ifTags: options.conditions?.tagConditions,\n },\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n\n if (!res.committedBlocks) {\n res.committedBlocks = [];\n }\n\n if (!res.uncommittedBlocks) {\n res.uncommittedBlocks = [];\n }\n\n return res;\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n // High level functions\n\n /**\n * Uploads a Buffer(Node.js)/Blob(browsers)/ArrayBuffer/ArrayBufferView object to a BlockBlob.\n *\n * When data length is no more than the specifiled {@link BlockBlobParallelUploadOptions.maxSingleShotSize} (default is\n * {@link BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES}), this method will use 1 {@link upload} call to finish the upload.\n * Otherwise, this method will call {@link stageBlock} to upload blocks, and finally call {@link commitBlockList}\n * to commit the block list.\n *\n * A common {@link BlockBlobParallelUploadOptions.blobHTTPHeaders} option to set is\n * `blobContentType`, enabling the browser to provide\n * functionality based on file type.\n *\n * @param data - Buffer(Node.js), Blob, ArrayBuffer or ArrayBufferView\n * @param options -\n */\n public async uploadData(\n data: Buffer | Blob | ArrayBuffer | ArrayBufferView,\n options: BlockBlobParallelUploadOptions = {}\n ): Promise {\n const { span, updatedOptions } = createSpan(\"BlockBlobClient-uploadData\", options);\n try {\n if (isNode) {\n let buffer: Buffer;\n if (data instanceof Buffer) {\n buffer = data;\n } else if (data instanceof ArrayBuffer) {\n buffer = Buffer.from(data);\n } else {\n data = data as ArrayBufferView;\n buffer = Buffer.from(data.buffer, data.byteOffset, data.byteLength);\n }\n\n return this.uploadSeekableInternal(\n (offset: number, size: number): Buffer => buffer.slice(offset, offset + size),\n buffer.byteLength,\n updatedOptions\n );\n } else {\n const browserBlob = new Blob([data]);\n return this.uploadSeekableInternal(\n (offset: number, size: number): Blob => browserBlob.slice(offset, offset + size),\n browserBlob.size,\n updatedOptions\n );\n }\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * ONLY AVAILABLE IN BROWSERS.\n *\n * Uploads a browser Blob/File/ArrayBuffer/ArrayBufferView object to block blob.\n *\n * When buffer length lesser than or equal to 256MB, this method will use 1 upload call to finish the upload.\n * Otherwise, this method will call {@link stageBlock} to upload blocks, and finally call\n * {@link commitBlockList} to commit the block list.\n *\n * A common {@link BlockBlobParallelUploadOptions.blobHTTPHeaders} option to set is\n * `blobContentType`, enabling the browser to provide\n * functionality based on file type.\n *\n * @deprecated Use {@link uploadData} instead.\n *\n * @param browserData - Blob, File, ArrayBuffer or ArrayBufferView\n * @param options - Options to upload browser data.\n * @returns Response data for the Blob Upload operation.\n */\n public async uploadBrowserData(\n browserData: Blob | ArrayBuffer | ArrayBufferView,\n options: BlockBlobParallelUploadOptions = {}\n ): Promise {\n const { span, updatedOptions } = createSpan(\"BlockBlobClient-uploadBrowserData\", options);\n try {\n const browserBlob = new Blob([browserData]);\n return await this.uploadSeekableInternal(\n (offset: number, size: number): Blob => browserBlob.slice(offset, offset + size),\n browserBlob.size,\n updatedOptions\n );\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n *\n * Uploads data to block blob. Requires a bodyFactory as the data source,\n * which need to return a {@link HttpRequestBody} object with the offset and size provided.\n *\n * When data length is no more than the specified {@link BlockBlobParallelUploadOptions.maxSingleShotSize} (default is\n * {@link BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES}), this method will use 1 {@link upload} call to finish the upload.\n * Otherwise, this method will call {@link stageBlock} to upload blocks, and finally call {@link commitBlockList}\n * to commit the block list.\n *\n * @param bodyFactory -\n * @param size - size of the data to upload.\n * @param options - Options to Upload to Block Blob operation.\n * @returns Response data for the Blob Upload operation.\n */\n private async uploadSeekableInternal(\n bodyFactory: (offset: number, size: number) => HttpRequestBody,\n size: number,\n options: BlockBlobParallelUploadOptions = {}\n ): Promise {\n if (!options.blockSize) {\n options.blockSize = 0;\n }\n if (options.blockSize < 0 || options.blockSize > BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES) {\n throw new RangeError(\n `blockSize option must be >= 0 and <= ${BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES}`\n );\n }\n\n if (options.maxSingleShotSize !== 0 && !options.maxSingleShotSize) {\n options.maxSingleShotSize = BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES;\n }\n if (\n options.maxSingleShotSize < 0 ||\n options.maxSingleShotSize > BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES\n ) {\n throw new RangeError(\n `maxSingleShotSize option must be >= 0 and <= ${BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES}`\n );\n }\n\n if (options.blockSize === 0) {\n if (size > BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES * BLOCK_BLOB_MAX_BLOCKS) {\n throw new RangeError(`${size} is too larger to upload to a block blob.`);\n }\n if (size > options.maxSingleShotSize) {\n options.blockSize = Math.ceil(size / BLOCK_BLOB_MAX_BLOCKS);\n if (options.blockSize < DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES) {\n options.blockSize = DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES;\n }\n }\n }\n if (!options.blobHTTPHeaders) {\n options.blobHTTPHeaders = {};\n }\n if (!options.conditions) {\n options.conditions = {};\n }\n\n const { span, updatedOptions } = createSpan(\"BlockBlobClient-uploadSeekableInternal\", options);\n\n try {\n if (size <= options.maxSingleShotSize) {\n return await this.upload(bodyFactory(0, size), size, updatedOptions);\n }\n\n const numBlocks: number = Math.floor((size - 1) / options.blockSize) + 1;\n if (numBlocks > BLOCK_BLOB_MAX_BLOCKS) {\n throw new RangeError(\n `The buffer's size is too big or the BlockSize is too small;` +\n `the number of blocks must be <= ${BLOCK_BLOB_MAX_BLOCKS}`\n );\n }\n\n const blockList: string[] = [];\n const blockIDPrefix = generateUuid();\n let transferProgress: number = 0;\n\n const batch = new Batch(options.concurrency);\n for (let i = 0; i < numBlocks; i++) {\n batch.addOperation(async (): Promise => {\n const blockID = generateBlockID(blockIDPrefix, i);\n const start = options.blockSize! * i;\n const end = i === numBlocks - 1 ? size : start + options.blockSize!;\n const contentLength = end - start;\n blockList.push(blockID);\n await this.stageBlock(blockID, bodyFactory(start, contentLength), contentLength, {\n abortSignal: options.abortSignal,\n conditions: options.conditions,\n encryptionScope: options.encryptionScope,\n tracingOptions: updatedOptions.tracingOptions,\n });\n // Update progress after block is successfully uploaded to server, in case of block trying\n // TODO: Hook with convenience layer progress event in finer level\n transferProgress += contentLength;\n if (options.onProgress) {\n options.onProgress!({\n loadedBytes: transferProgress,\n });\n }\n });\n }\n await batch.do();\n\n return this.commitBlockList(blockList, updatedOptions);\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * ONLY AVAILABLE IN NODE.JS RUNTIME.\n *\n * Uploads a local file in blocks to a block blob.\n *\n * When file size lesser than or equal to 256MB, this method will use 1 upload call to finish the upload.\n * Otherwise, this method will call stageBlock to upload blocks, and finally call commitBlockList\n * to commit the block list.\n *\n * @param filePath - Full path of local file\n * @param options - Options to Upload to Block Blob operation.\n * @returns Response data for the Blob Upload operation.\n */\n public async uploadFile(\n filePath: string,\n options: BlockBlobParallelUploadOptions = {}\n ): Promise {\n const { span, updatedOptions } = createSpan(\"BlockBlobClient-uploadFile\", options);\n try {\n const size = (await fsStat(filePath)).size;\n return await this.uploadSeekableInternal(\n (offset, count) => {\n return () =>\n fsCreateReadStream(filePath, {\n autoClose: true,\n end: count ? offset + count - 1 : Infinity,\n start: offset,\n });\n },\n size,\n {\n ...options,\n tracingOptions: {\n ...options!.tracingOptions,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n },\n }\n );\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * ONLY AVAILABLE IN NODE.JS RUNTIME.\n *\n * Uploads a Node.js Readable stream into block blob.\n *\n * PERFORMANCE IMPROVEMENT TIPS:\n * * Input stream highWaterMark is better to set a same value with bufferSize\n * parameter, which will avoid Buffer.concat() operations.\n *\n * @param stream - Node.js Readable stream\n * @param bufferSize - Size of every buffer allocated, also the block size in the uploaded block blob. Default value is 8MB\n * @param maxConcurrency - Max concurrency indicates the max number of buffers that can be allocated,\n * positive correlation with max uploading concurrency. Default value is 5\n * @param options - Options to Upload Stream to Block Blob operation.\n * @returns Response data for the Blob Upload operation.\n */\n public async uploadStream(\n stream: Readable,\n bufferSize: number = DEFAULT_BLOCK_BUFFER_SIZE_BYTES,\n maxConcurrency: number = 5,\n options: BlockBlobUploadStreamOptions = {}\n ): Promise {\n if (!options.blobHTTPHeaders) {\n options.blobHTTPHeaders = {};\n }\n if (!options.conditions) {\n options.conditions = {};\n }\n\n const { span, updatedOptions } = createSpan(\"BlockBlobClient-uploadStream\", options);\n\n try {\n let blockNum = 0;\n const blockIDPrefix = generateUuid();\n let transferProgress: number = 0;\n const blockList: string[] = [];\n\n const scheduler = new BufferScheduler(\n stream,\n bufferSize,\n maxConcurrency,\n async (body, length) => {\n const blockID = generateBlockID(blockIDPrefix, blockNum);\n blockList.push(blockID);\n blockNum++;\n\n await this.stageBlock(blockID, body, length, {\n conditions: options.conditions,\n encryptionScope: options.encryptionScope,\n tracingOptions: updatedOptions.tracingOptions,\n });\n\n // Update progress after block is successfully uploaded to server, in case of block trying\n transferProgress += length;\n if (options.onProgress) {\n options.onProgress({ loadedBytes: transferProgress });\n }\n },\n // concurrency should set a smaller value than maxConcurrency, which is helpful to\n // reduce the possibility when a outgoing handler waits for stream data, in\n // this situation, outgoing handlers are blocked.\n // Outgoing queue shouldn't be empty.\n Math.ceil((maxConcurrency / 4) * 3)\n );\n await scheduler.do();\n\n return await this.commitBlockList(blockList, {\n ...options,\n tracingOptions: {\n ...options!.tracingOptions,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n },\n });\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n}\n\n/**\n * Options to configure the {@link PageBlobClient.create} operation.\n */\nexport interface PageBlobCreateOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Conditions to meet when creating a page blob.\n */\n conditions?: BlobRequestConditions;\n /**\n * A user-controlled value that can be used to track requests.\n * The value must be between 0 and 2^63 - 1. The default value is 0.\n */\n blobSequenceNumber?: number;\n /**\n * HTTP headers to set when creating a page blob.\n */\n blobHTTPHeaders?: BlobHTTPHeaders;\n /**\n * A collection of key-value string pair to associate with the blob when creating append blobs.\n */\n metadata?: Metadata;\n /**\n * Customer Provided Key Info.\n */\n customerProvidedKey?: CpkInfo;\n /**\n * Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to\n * encrypt the data provided in the request. If not specified, encryption is performed with the\n * default account encryption scope. For more information, see Encryption at Rest for Azure\n * Storage Services.\n */\n encryptionScope?: string;\n /**\n * Optional. Specifies immutability policy for a blob.\n * Note that is parameter is only applicable to a blob within a container that\n * has version level worm enabled.\n */\n immutabilityPolicy?: BlobImmutabilityPolicy;\n /**\n * Optional. Indicates if a legal hold should be placed on the blob.\n * Note that is parameter is only applicable to a blob within a container that\n * has version level worm enabled.\n */\n legalHold?: boolean;\n /**\n * Access tier.\n * More Details - https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-storage-tiers\n */\n tier?: PremiumPageBlobTier | string;\n /**\n * Blob tags.\n */\n tags?: Tags;\n}\n\n/**\n * Options to configure the {@link PageBlobClient.createIfNotExists} operation.\n */\nexport interface PageBlobCreateIfNotExistsOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * A user-controlled value that can be used to track requests.\n * The value must be between 0 and 2^63 - 1. The default value is 0.\n */\n blobSequenceNumber?: number;\n /**\n * HTTP headers to set when creating a page blob.\n */\n blobHTTPHeaders?: BlobHTTPHeaders;\n /**\n * A collection of key-value string pair to associate with the blob when creating append blobs.\n */\n metadata?: Metadata;\n /**\n * Customer Provided Key Info.\n */\n customerProvidedKey?: CpkInfo;\n /**\n * Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to\n * encrypt the data provided in the request. If not specified, encryption is performed with the\n * default account encryption scope. For more information, see Encryption at Rest for Azure\n * Storage Services.\n */\n encryptionScope?: string;\n /**\n * Optional. Specifies immutability policy for a blob.\n * Note that is parameter is only applicable to a blob within a container that\n * has version level worm enabled.\n */\n immutabilityPolicy?: BlobImmutabilityPolicy;\n /**\n * Optional. Indicates if a legal hold should be placed on the blob.\n * Note that is parameter is only applicable to a blob within a container that\n * has version level worm enabled.\n */\n legalHold?: boolean;\n /**\n * Access tier.\n * More Details - https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-storage-tiers\n */\n tier?: PremiumPageBlobTier | string;\n}\n\n/**\n * Options to configure the {@link PageBlobClient.uploadPages} operation.\n */\nexport interface PageBlobUploadPagesOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Conditions to meet when uploading pages.\n */\n conditions?: PageBlobRequestConditions;\n /**\n * Callback to receive events on the progress of upload pages operation.\n */\n onProgress?: (progress: TransferProgressEvent) => void;\n /**\n * An MD5 hash of the content. This hash is used to verify the integrity of the content during transport.\n * When this is specified, the storage service compares the hash of the content that has arrived with this value.\n *\n * transactionalContentMD5 and transactionalContentCrc64 cannot be set at same time.\n */\n transactionalContentMD5?: Uint8Array;\n /**\n * A CRC64 hash of the content. This hash is used to verify the integrity of the content during transport.\n * When this is specified, the storage service compares the hash of the content that has arrived with this value.\n *\n * transactionalContentMD5 and transactionalContentCrc64 cannot be set at same time.\n */\n transactionalContentCrc64?: Uint8Array;\n /**\n * Customer Provided Key Info.\n */\n customerProvidedKey?: CpkInfo;\n /**\n * Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to\n * encrypt the data provided in the request. If not specified, encryption is performed with the\n * default account encryption scope. For more information, see Encryption at Rest for Azure\n * Storage Services.\n */\n encryptionScope?: string;\n}\n\n/**\n * Options to configure the {@link PageBlobClient.clearPages} operation.\n */\nexport interface PageBlobClearPagesOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Conditions to meet when clearing pages.\n */\n conditions?: PageBlobRequestConditions;\n /**\n * Customer Provided Key Info.\n */\n customerProvidedKey?: CpkInfo;\n /**\n * Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to\n * encrypt the data provided in the request. If not specified, encryption is performed with the\n * default account encryption scope. For more information, see Encryption at Rest for Azure\n * Storage Services.\n */\n encryptionScope?: string;\n}\n\n/**\n * Options to configure the {@link PageBlobClient.getPageRanges} operation.\n */\nexport interface PageBlobGetPageRangesOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Conditions to meet when getting page ranges.\n */\n conditions?: BlobRequestConditions;\n}\n\n/**\n * Options to configure page blob - get page ranges segment operations.\n *\n * See:\n * - {@link PageBlobClient.listPageRangesSegment}\n * - {@link PageBlobClient.listPageRangeItemSegments}\n * - {@link PageBlobClient.listPageRangeItems}\n */\ninterface PageBlobListPageRangesSegmentOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Conditions to meet when getting page ranges.\n */\n conditions?: BlobRequestConditions;\n /**\n * Specifies the maximum number of containers\n * to return. If the request does not specify maxPageSize, or specifies a\n * value greater than 5000, the server will return up to 5000 items. Note\n * that if the listing operation crosses a partition boundary, then the\n * service will return a continuation token for retrieving the remainder of\n * the results. For this reason, it is possible that the service will return\n * fewer results than specified by maxPageSize, or than the default of 5000.\n */\n maxPageSize?: number;\n}\n\n/**\n * Options to configure the {@link PageBlobClient.listPageRanges} operation.\n */\nexport interface PageBlobListPageRangesOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Conditions to meet when getting page ranges.\n */\n conditions?: BlobRequestConditions;\n}\n\n/**\n * Options to configure the {@link PageBlobClient.getRangesDiff} operation.\n */\nexport interface PageBlobGetPageRangesDiffOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Conditions to meet when getting page ranges diff.\n */\n conditions?: BlobRequestConditions;\n /**\n * (unused)\n */\n range?: string;\n}\n\n/**\n * Options to configure page blob - get page ranges diff segment operations.\n *\n * See:\n * - {@link PageBlobClient.listPageRangesDiffSegment}\n * - {@link PageBlobClient.listPageRangeDiffItemSegments}\n * - {@link PageBlobClient.listPageRangeDiffItems}\n */\ninterface PageBlobListPageRangesDiffSegmentOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Conditions to meet when getting page ranges.\n */\n conditions?: BlobRequestConditions;\n /**\n * Specifies the maximum number of containers\n * to return. If the request does not specify maxPageSize, or specifies a\n * value greater than 5000, the server will return up to 5000 items. Note\n * that if the listing operation crosses a partition boundary, then the\n * service will return a continuation token for retrieving the remainder of\n * the results. For this reason, it is possible that the service will return\n * fewer results than specified by maxPageSize, or than the default of 5000.\n */\n maxPageSize?: number;\n}\n\n/**\n * Options to configure the {@link PageBlobClient.listPageRangesDiff} operation.\n */\nexport interface PageBlobListPageRangesDiffOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Conditions to meet when getting page ranges diff.\n */\n conditions?: BlobRequestConditions;\n}\n\n/**\n * Options to configure {@link PageBlobClient.resize} operation.\n */\nexport interface PageBlobResizeOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Conditions to meet when resizing a page blob.\n */\n conditions?: BlobRequestConditions;\n /**\n * Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to\n * encrypt the data provided in the request. If not specified, encryption is performed with the\n * default account encryption scope. For more information, see Encryption at Rest for Azure\n * Storage Services.\n */\n encryptionScope?: string;\n}\n\n/**\n * Options to configure {@link PageBlobClient.updateSequenceNumber} operation.\n */\nexport interface PageBlobUpdateSequenceNumberOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Conditions to meet when updating sequence number.\n */\n conditions?: BlobRequestConditions;\n}\n\n/**\n * Options to configure {@link PageBlobClient.startCopyIncremental} operation.\n */\nexport interface PageBlobStartCopyIncrementalOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Conditions to meet when starting a copy incremental operation.\n */\n conditions?: ModifiedAccessConditions;\n}\n\n/**\n * Options to configure {@link PageBlobClient.uploadPagesFromURL} operation.\n */\nexport interface PageBlobUploadPagesFromURLOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Conditions to meet when updating sequence number.\n */\n conditions?: PageBlobRequestConditions;\n /**\n * Conditions to meet for the source Azure Blob/File when copying from a URL to the blob.\n */\n sourceConditions?: MatchConditions & ModificationConditions;\n /**\n * An MD5 hash of the content from the URI.\n * This hash is used to verify the integrity of the content during transport of the data from the URI.\n * When this is specified, the storage service compares the hash of the content that has arrived from the copy-source with this value.\n *\n * sourceContentMD5 and sourceContentCrc64 cannot be set at same time.\n */\n sourceContentMD5?: Uint8Array;\n /**\n * A CRC64 hash of the content from the URI.\n * This hash is used to verify the integrity of the content during transport of the data from the URI.\n * When this is specified, the storage service compares the hash of the content that has arrived from the copy-source with this value.\n *\n * sourceContentMD5 and sourceContentCrc64 cannot be set at same time.\n */\n sourceContentCrc64?: Uint8Array;\n /**\n * Customer Provided Key Info.\n */\n customerProvidedKey?: CpkInfo;\n /**\n * Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to\n * encrypt the data provided in the request. If not specified, encryption is performed with the\n * default account encryption scope. For more information, see Encryption at Rest for Azure\n * Storage Services.\n */\n encryptionScope?: string;\n /**\n * Only Bearer type is supported. Credentials should be a valid OAuth access token to copy source.\n */\n sourceAuthorization?: HttpAuthorization;\n}\n\n/**\n * Contains response data for the {@link PageBlobClient.createIfNotExists} operation.\n */\nexport interface PageBlobCreateIfNotExistsResponse extends PageBlobCreateResponse {\n /**\n * Indicate whether the blob is successfully created. Is false when the blob is not changed as it already exists.\n */\n succeeded: boolean;\n}\n\n/**\n * PageBlobClient defines a set of operations applicable to page blobs.\n */\nexport class PageBlobClient extends BlobClient {\n /**\n * pageBlobsContext provided by protocol layer.\n */\n private pageBlobContext: PageBlob;\n\n /**\n *\n * Creates an instance of PageBlobClient.\n *\n * @param connectionString - Account connection string or a SAS connection string of an Azure storage account.\n * [ Note - Account connection string can only be used in NODE.JS runtime. ]\n * Account connection string example -\n * `DefaultEndpointsProtocol=https;AccountName=myaccount;AccountKey=accountKey;EndpointSuffix=core.windows.net`\n * SAS connection string example -\n * `BlobEndpoint=https://myaccount.blob.core.windows.net/;QueueEndpoint=https://myaccount.queue.core.windows.net/;FileEndpoint=https://myaccount.file.core.windows.net/;TableEndpoint=https://myaccount.table.core.windows.net/;SharedAccessSignature=sasString`\n * @param containerName - Container name.\n * @param blobName - Blob name.\n * @param options - Optional. Options to configure the HTTP pipeline.\n */\n constructor(\n connectionString: string,\n containerName: string,\n blobName: string,\n // Legacy, no fix for eslint error without breaking. Disable it for this interface.\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-options*/\n options?: StoragePipelineOptions\n );\n /**\n * Creates an instance of PageBlobClient.\n * This method accepts an encoded URL or non-encoded URL pointing to a blob.\n * Encoded URL string will NOT be escaped twice, only special characters in URL path will be escaped.\n * If a blob name includes ? or %, blob name must be encoded in the URL.\n *\n * @param url - A Client string pointing to Azure Storage page blob, such as\n * \"https://myaccount.blob.core.windows.net/mycontainer/pageblob\". You can append a SAS\n * if using AnonymousCredential, such as \"https://myaccount.blob.core.windows.net/mycontainer/pageblob?sasString\".\n * @param credential - Such as AnonymousCredential, StorageSharedKeyCredential or any credential from the `@azure/identity` package to authenticate requests to the service. You can also provide an object that implements the TokenCredential interface. If not specified, AnonymousCredential is used.\n * @param options - Optional. Options to configure the HTTP pipeline.\n */\n constructor(\n url: string,\n credential: StorageSharedKeyCredential | AnonymousCredential | TokenCredential,\n // Legacy, no fix for eslint error without breaking. Disable it for this interface.\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-options*/\n options?: StoragePipelineOptions\n );\n /**\n * Creates an instance of PageBlobClient.\n *\n * @param url - A URL string pointing to Azure Storage page blob, such as\n * \"https://myaccount.blob.core.windows.net/mycontainer/pageblob\".\n * You can append a SAS if using AnonymousCredential, such as\n * \"https://myaccount.blob.core.windows.net/mycontainer/pageblob?sasString\".\n * This method accepts an encoded URL or non-encoded URL pointing to a blob.\n * Encoded URL string will NOT be escaped twice, only special characters in URL path will be escaped.\n * However, if a blob name includes ? or %, blob name must be encoded in the URL.\n * Such as a blob named \"my?blob%\", the URL should be \"https://myaccount.blob.core.windows.net/mycontainer/my%3Fblob%25\".\n * @param pipeline - Call newPipeline() to create a default\n * pipeline, or provide a customized pipeline.\n */\n constructor(url: string, pipeline: PipelineLike);\n constructor(\n urlOrConnectionString: string,\n credentialOrPipelineOrContainerName:\n | string\n | StorageSharedKeyCredential\n | AnonymousCredential\n | TokenCredential\n | PipelineLike,\n blobNameOrOptions?: string | StoragePipelineOptions,\n // Legacy, no fix for eslint error without breaking. Disable it for this interface.\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-options*/\n options?: StoragePipelineOptions\n ) {\n // In TypeScript we cannot simply pass all parameters to super() like below so have to duplicate the code instead.\n // super(s, credentialOrPipelineOrContainerNameOrOptions, blobNameOrOptions, options);\n let pipeline: PipelineLike;\n let url: string;\n options = options || {};\n if (isPipelineLike(credentialOrPipelineOrContainerName)) {\n // (url: string, pipeline: Pipeline)\n url = urlOrConnectionString;\n pipeline = credentialOrPipelineOrContainerName;\n } else if (\n (isNode && credentialOrPipelineOrContainerName instanceof StorageSharedKeyCredential) ||\n credentialOrPipelineOrContainerName instanceof AnonymousCredential ||\n isTokenCredential(credentialOrPipelineOrContainerName)\n ) {\n // (url: string, credential?: StorageSharedKeyCredential | AnonymousCredential | TokenCredential, options?: StoragePipelineOptions)\n url = urlOrConnectionString;\n options = blobNameOrOptions as StoragePipelineOptions;\n pipeline = newPipeline(credentialOrPipelineOrContainerName, options);\n } else if (\n !credentialOrPipelineOrContainerName &&\n typeof credentialOrPipelineOrContainerName !== \"string\"\n ) {\n // (url: string, credential?: StorageSharedKeyCredential | AnonymousCredential | TokenCredential, options?: StoragePipelineOptions)\n // The second parameter is undefined. Use anonymous credential.\n url = urlOrConnectionString;\n pipeline = newPipeline(new AnonymousCredential(), options);\n } else if (\n credentialOrPipelineOrContainerName &&\n typeof credentialOrPipelineOrContainerName === \"string\" &&\n blobNameOrOptions &&\n typeof blobNameOrOptions === \"string\"\n ) {\n // (connectionString: string, containerName: string, blobName: string, options?: StoragePipelineOptions)\n const containerName = credentialOrPipelineOrContainerName;\n const blobName = blobNameOrOptions;\n\n const extractedCreds = extractConnectionStringParts(urlOrConnectionString);\n if (extractedCreds.kind === \"AccountConnString\") {\n if (isNode) {\n const sharedKeyCredential = new StorageSharedKeyCredential(\n extractedCreds.accountName!,\n extractedCreds.accountKey\n );\n url = appendToURLPath(\n appendToURLPath(extractedCreds.url, encodeURIComponent(containerName)),\n encodeURIComponent(blobName)\n );\n\n if (!options.proxyOptions) {\n options.proxyOptions = getDefaultProxySettings(extractedCreds.proxyUri);\n }\n\n pipeline = newPipeline(sharedKeyCredential, options);\n } else {\n throw new Error(\"Account connection string is only supported in Node.js environment\");\n }\n } else if (extractedCreds.kind === \"SASConnString\") {\n url =\n appendToURLPath(\n appendToURLPath(extractedCreds.url, encodeURIComponent(containerName)),\n encodeURIComponent(blobName)\n ) +\n \"?\" +\n extractedCreds.accountSas;\n pipeline = newPipeline(new AnonymousCredential(), options);\n } else {\n throw new Error(\n \"Connection string must be either an Account connection string or a SAS connection string\"\n );\n }\n } else {\n throw new Error(\"Expecting non-empty strings for containerName and blobName parameters\");\n }\n super(url, pipeline);\n this.pageBlobContext = new PageBlob(this.storageClientContext);\n }\n\n /**\n * Creates a new PageBlobClient object identical to the source but with the\n * specified snapshot timestamp.\n * Provide \"\" will remove the snapshot and return a Client to the base blob.\n *\n * @param snapshot - The snapshot timestamp.\n * @returns A new PageBlobClient object identical to the source but with the specified snapshot timestamp.\n */\n public withSnapshot(snapshot: string): PageBlobClient {\n return new PageBlobClient(\n setURLParameter(\n this.url,\n URLConstants.Parameters.SNAPSHOT,\n snapshot.length === 0 ? undefined : snapshot\n ),\n this.pipeline\n );\n }\n\n /**\n * Creates a page blob of the specified length. Call uploadPages to upload data\n * data to a page blob.\n * @see https://docs.microsoft.com/rest/api/storageservices/put-blob\n *\n * @param size - size of the page blob.\n * @param options - Options to the Page Blob Create operation.\n * @returns Response data for the Page Blob Create operation.\n */\n public async create(\n size: number,\n options: PageBlobCreateOptions = {}\n ): Promise {\n options.conditions = options.conditions || {};\n const { span, updatedOptions } = createSpan(\"PageBlobClient-create\", options);\n try {\n ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);\n return await this.pageBlobContext.create(0, size, {\n abortSignal: options.abortSignal,\n blobHttpHeaders: options.blobHTTPHeaders,\n blobSequenceNumber: options.blobSequenceNumber,\n leaseAccessConditions: options.conditions,\n metadata: options.metadata,\n modifiedAccessConditions: {\n ...options.conditions,\n ifTags: options.conditions?.tagConditions,\n },\n cpkInfo: options.customerProvidedKey,\n encryptionScope: options.encryptionScope,\n immutabilityPolicyExpiry: options.immutabilityPolicy?.expiriesOn,\n immutabilityPolicyMode: options.immutabilityPolicy?.policyMode,\n legalHold: options.legalHold,\n tier: toAccessTier(options.tier),\n blobTagsString: toBlobTagsString(options.tags),\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Creates a page blob of the specified length. Call uploadPages to upload data\n * data to a page blob. If the blob with the same name already exists, the content\n * of the existing blob will remain unchanged.\n * @see https://docs.microsoft.com/rest/api/storageservices/put-blob\n *\n * @param size - size of the page blob.\n * @param options -\n */\n public async createIfNotExists(\n size: number,\n options: PageBlobCreateIfNotExistsOptions = {}\n ): Promise {\n const { span, updatedOptions } = createSpan(\"PageBlobClient-createIfNotExists\", options);\n try {\n const conditions = { ifNoneMatch: ETagAny };\n const res = await this.create(size, {\n ...options,\n conditions,\n tracingOptions: updatedOptions.tracingOptions,\n });\n return {\n succeeded: true,\n ...res,\n _response: res._response, // _response is made non-enumerable\n };\n } catch (e: any) {\n if (e.details?.errorCode === \"BlobAlreadyExists\") {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: \"Expected exception when creating a blob only if it does not already exist.\",\n });\n return {\n succeeded: false,\n ...e.response?.parsedHeaders,\n _response: e.response,\n };\n }\n\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Writes 1 or more pages to the page blob. The start and end offsets must be a multiple of 512.\n * @see https://docs.microsoft.com/rest/api/storageservices/put-page\n *\n * @param body - Data to upload\n * @param offset - Offset of destination page blob\n * @param count - Content length of the body, also number of bytes to be uploaded\n * @param options - Options to the Page Blob Upload Pages operation.\n * @returns Response data for the Page Blob Upload Pages operation.\n */\n public async uploadPages(\n body: HttpRequestBody,\n offset: number,\n count: number,\n options: PageBlobUploadPagesOptions = {}\n ): Promise {\n options.conditions = options.conditions || {};\n const { span, updatedOptions } = createSpan(\"PageBlobClient-uploadPages\", options);\n try {\n ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);\n return await this.pageBlobContext.uploadPages(count, body, {\n abortSignal: options.abortSignal,\n leaseAccessConditions: options.conditions,\n modifiedAccessConditions: {\n ...options.conditions,\n ifTags: options.conditions?.tagConditions,\n },\n requestOptions: {\n onUploadProgress: options.onProgress,\n },\n range: rangeToString({ offset, count }),\n sequenceNumberAccessConditions: options.conditions,\n transactionalContentMD5: options.transactionalContentMD5,\n transactionalContentCrc64: options.transactionalContentCrc64,\n cpkInfo: options.customerProvidedKey,\n encryptionScope: options.encryptionScope,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * The Upload Pages operation writes a range of pages to a page blob where the\n * contents are read from a URL.\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/put-page-from-url\n *\n * @param sourceURL - Specify a URL to the copy source, Shared Access Signature(SAS) maybe needed for authentication\n * @param sourceOffset - The source offset to copy from. Pass 0 to copy from the beginning of source page blob\n * @param destOffset - Offset of destination page blob\n * @param count - Number of bytes to be uploaded from source page blob\n * @param options -\n */\n public async uploadPagesFromURL(\n sourceURL: string,\n sourceOffset: number,\n destOffset: number,\n count: number,\n options: PageBlobUploadPagesFromURLOptions = {}\n ): Promise {\n options.conditions = options.conditions || {};\n options.sourceConditions = options.sourceConditions || {};\n const { span, updatedOptions } = createSpan(\"PageBlobClient-uploadPagesFromURL\", options);\n try {\n ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);\n return await this.pageBlobContext.uploadPagesFromURL(\n sourceURL,\n rangeToString({ offset: sourceOffset, count }),\n 0,\n rangeToString({ offset: destOffset, count }),\n {\n abortSignal: options.abortSignal,\n sourceContentMD5: options.sourceContentMD5,\n sourceContentCrc64: options.sourceContentCrc64,\n leaseAccessConditions: options.conditions,\n sequenceNumberAccessConditions: options.conditions,\n modifiedAccessConditions: {\n ...options.conditions,\n ifTags: options.conditions?.tagConditions,\n },\n sourceModifiedAccessConditions: {\n sourceIfMatch: options.sourceConditions.ifMatch,\n sourceIfModifiedSince: options.sourceConditions.ifModifiedSince,\n sourceIfNoneMatch: options.sourceConditions.ifNoneMatch,\n sourceIfUnmodifiedSince: options.sourceConditions.ifUnmodifiedSince,\n },\n cpkInfo: options.customerProvidedKey,\n encryptionScope: options.encryptionScope,\n copySourceAuthorization: httpAuthorizationToString(options.sourceAuthorization),\n ...convertTracingToRequestOptionsBase(updatedOptions),\n }\n );\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Frees the specified pages from the page blob.\n * @see https://docs.microsoft.com/rest/api/storageservices/put-page\n *\n * @param offset - Starting byte position of the pages to clear.\n * @param count - Number of bytes to clear.\n * @param options - Options to the Page Blob Clear Pages operation.\n * @returns Response data for the Page Blob Clear Pages operation.\n */\n public async clearPages(\n offset: number = 0,\n count?: number,\n options: PageBlobClearPagesOptions = {}\n ): Promise {\n options.conditions = options.conditions || {};\n const { span, updatedOptions } = createSpan(\"PageBlobClient-clearPages\", options);\n try {\n return await this.pageBlobContext.clearPages(0, {\n abortSignal: options.abortSignal,\n leaseAccessConditions: options.conditions,\n modifiedAccessConditions: {\n ...options.conditions,\n ifTags: options.conditions?.tagConditions,\n },\n range: rangeToString({ offset, count }),\n sequenceNumberAccessConditions: options.conditions,\n cpkInfo: options.customerProvidedKey,\n encryptionScope: options.encryptionScope,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Returns the list of valid page ranges for a page blob or snapshot of a page blob.\n * @see https://docs.microsoft.com/rest/api/storageservices/get-page-ranges\n *\n * @param offset - Starting byte position of the page ranges.\n * @param count - Number of bytes to get.\n * @param options - Options to the Page Blob Get Ranges operation.\n * @returns Response data for the Page Blob Get Ranges operation.\n */\n public async getPageRanges(\n offset: number = 0,\n count?: number,\n options: PageBlobGetPageRangesOptions = {}\n ): Promise {\n options.conditions = options.conditions || {};\n const { span, updatedOptions } = createSpan(\"PageBlobClient-getPageRanges\", options);\n try {\n return await this.pageBlobContext\n .getPageRanges({\n abortSignal: options.abortSignal,\n leaseAccessConditions: options.conditions,\n modifiedAccessConditions: {\n ...options.conditions,\n ifTags: options.conditions?.tagConditions,\n },\n range: rangeToString({ offset, count }),\n ...convertTracingToRequestOptionsBase(updatedOptions),\n })\n .then(rangeResponseFromModel);\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * getPageRangesSegment returns a single segment of page ranges starting from the\n * specified Marker. Use an empty Marker to start enumeration from the beginning.\n * After getting a segment, process it, and then call getPageRangesSegment again\n * (passing the the previously-returned Marker) to get the next segment.\n * @see https://docs.microsoft.com/rest/api/storageservices/get-page-ranges\n *\n * @param offset - Starting byte position of the page ranges.\n * @param count - Number of bytes to get.\n * @param marker - A string value that identifies the portion of the list to be returned with the next list operation.\n * @param options - Options to PageBlob Get Page Ranges Segment operation.\n */\n private async listPageRangesSegment(\n offset: number = 0,\n count?: number,\n marker?: string,\n options: PageBlobListPageRangesSegmentOptions = {}\n ): Promise {\n const { span, updatedOptions } = createSpan(\"PageBlobClient-getPageRangesSegment\", options);\n try {\n return await this.pageBlobContext.getPageRanges({\n abortSignal: options.abortSignal,\n leaseAccessConditions: options.conditions,\n modifiedAccessConditions: {\n ...options.conditions,\n ifTags: options.conditions?.tagConditions,\n },\n range: rangeToString({ offset, count }),\n marker: marker,\n maxPageSize: options.maxPageSize,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n /**\n * Returns an AsyncIterableIterator for {@link PageBlobGetPageRangesResponseModel}\n *\n * @param offset - Starting byte position of the page ranges.\n * @param count - Number of bytes to get.\n * @param marker - A string value that identifies the portion of\n * the get of page ranges to be returned with the next getting operation. The\n * operation returns the ContinuationToken value within the response body if the\n * getting operation did not return all page ranges remaining within the current page.\n * The ContinuationToken value can be used as the value for\n * the marker parameter in a subsequent call to request the next page of get\n * items. The marker value is opaque to the client.\n * @param options - Options to List Page Ranges operation.\n */\n private async *listPageRangeItemSegments(\n offset: number = 0,\n count?: number,\n marker?: string,\n options: PageBlobListPageRangesSegmentOptions = {}\n ): AsyncIterableIterator {\n let getPageRangeItemSegmentsResponse;\n if (!!marker || marker === undefined) {\n do {\n getPageRangeItemSegmentsResponse = await this.listPageRangesSegment(\n offset,\n count,\n marker,\n options\n );\n marker = getPageRangeItemSegmentsResponse.continuationToken;\n yield await getPageRangeItemSegmentsResponse;\n } while (marker);\n }\n }\n\n /**\n * Returns an AsyncIterableIterator of {@link PageRangeInfo} objects\n *\n * @param offset - Starting byte position of the page ranges.\n * @param count - Number of bytes to get.\n * @param options - Options to List Page Ranges operation.\n */\n private async *listPageRangeItems(\n offset: number = 0,\n count?: number,\n options: PageBlobListPageRangesSegmentOptions = {}\n ): AsyncIterableIterator {\n let marker: string | undefined;\n for await (const getPageRangesSegment of this.listPageRangeItemSegments(\n offset,\n count,\n marker,\n options\n )) {\n yield* ExtractPageRangeInfoItems(getPageRangesSegment);\n }\n }\n\n /**\n * Returns an async iterable iterator to list of page ranges for a page blob.\n * @see https://docs.microsoft.com/rest/api/storageservices/get-page-ranges\n *\n * .byPage() returns an async iterable iterator to list of page ranges for a page blob.\n *\n * Example using `for await` syntax:\n *\n * ```js\n * // Get the pageBlobClient before you run these snippets,\n * // Can be obtained from `blobServiceClient.getContainerClient(\"\").getPageBlobClient(\"\");`\n * let i = 1;\n * for await (const pageRange of pageBlobClient.listPageRanges()) {\n * console.log(`Page range ${i++}: ${pageRange.start} - ${pageRange.end}`);\n * }\n * ```\n *\n * Example using `iter.next()`:\n *\n * ```js\n * let i = 1;\n * let iter = pageBlobClient.listPageRanges();\n * let pageRangeItem = await iter.next();\n * while (!pageRangeItem.done) {\n * console.log(`Page range ${i++}: ${pageRangeItem.value.start} - ${pageRangeItem.value.end}, IsClear: ${pageRangeItem.value.isClear}`);\n * pageRangeItem = await iter.next();\n * }\n * ```\n *\n * Example using `byPage()`:\n *\n * ```js\n * // passing optional maxPageSize in the page settings\n * let i = 1;\n * for await (const response of pageBlobClient.listPageRanges().byPage({ maxPageSize: 20 })) {\n * for (const pageRange of response) {\n * console.log(`Page range ${i++}: ${pageRange.start} - ${pageRange.end}`);\n * }\n * }\n * ```\n *\n * Example using paging with a marker:\n *\n * ```js\n * let i = 1;\n * let iterator = pageBlobClient.listPageRanges().byPage({ maxPageSize: 2 });\n * let response = (await iterator.next()).value;\n *\n * // Prints 2 page ranges\n * for (const pageRange of response) {\n * console.log(`Page range ${i++}: ${pageRange.start} - ${pageRange.end}`);\n * }\n *\n * // Gets next marker\n * let marker = response.continuationToken;\n *\n * // Passing next marker as continuationToken\n *\n * iterator = pageBlobClient.listPageRanges().byPage({ continuationToken: marker, maxPageSize: 10 });\n * response = (await iterator.next()).value;\n *\n * // Prints 10 page ranges\n * for (const blob of response) {\n * console.log(`Page range ${i++}: ${pageRange.start} - ${pageRange.end}`);\n * }\n * ```\n * @param offset - Starting byte position of the page ranges.\n * @param count - Number of bytes to get.\n * @param options - Options to the Page Blob Get Ranges operation.\n * @returns An asyncIterableIterator that supports paging.\n */\n public listPageRanges(\n offset: number = 0,\n count?: number,\n options: PageBlobListPageRangesOptions = {}\n ): PagedAsyncIterableIterator {\n options.conditions = options.conditions || {};\n // AsyncIterableIterator to iterate over blobs\n const iter = this.listPageRangeItems(offset, count, options);\n return {\n /**\n * The next method, part of the iteration protocol\n */\n next() {\n return iter.next();\n },\n /**\n * The connection to the async iterator, part of the iteration protocol\n */\n [Symbol.asyncIterator]() {\n return this;\n },\n /**\n * Return an AsyncIterableIterator that works a page at a time\n */\n byPage: (settings: PageSettings = {}) => {\n return this.listPageRangeItemSegments(offset, count, settings.continuationToken, {\n maxPageSize: settings.maxPageSize,\n ...options,\n });\n },\n };\n }\n\n /**\n * Gets the collection of page ranges that differ between a specified snapshot and this page blob.\n * @see https://docs.microsoft.com/rest/api/storageservices/get-page-ranges\n *\n * @param offset - Starting byte position of the page blob\n * @param count - Number of bytes to get ranges diff.\n * @param prevSnapshot - Timestamp of snapshot to retrieve the difference.\n * @param options - Options to the Page Blob Get Page Ranges Diff operation.\n * @returns Response data for the Page Blob Get Page Range Diff operation.\n */\n public async getPageRangesDiff(\n offset: number,\n count: number,\n prevSnapshot: string,\n options: PageBlobGetPageRangesDiffOptions = {}\n ): Promise {\n options.conditions = options.conditions || {};\n const { span, updatedOptions } = createSpan(\"PageBlobClient-getPageRangesDiff\", options);\n\n try {\n return await this.pageBlobContext\n .getPageRangesDiff({\n abortSignal: options.abortSignal,\n leaseAccessConditions: options.conditions,\n modifiedAccessConditions: {\n ...options.conditions,\n ifTags: options.conditions?.tagConditions,\n },\n prevsnapshot: prevSnapshot,\n range: rangeToString({ offset, count }),\n ...convertTracingToRequestOptionsBase(updatedOptions),\n })\n .then(rangeResponseFromModel);\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * getPageRangesDiffSegment returns a single segment of page ranges starting from the\n * specified Marker for difference between previous snapshot and the target page blob.\n * Use an empty Marker to start enumeration from the beginning.\n * After getting a segment, process it, and then call getPageRangesDiffSegment again\n * (passing the the previously-returned Marker) to get the next segment.\n * @see https://docs.microsoft.com/rest/api/storageservices/get-page-ranges\n *\n * @param offset - Starting byte position of the page ranges.\n * @param count - Number of bytes to get.\n * @param prevSnapshotOrUrl - Timestamp of snapshot to retrieve the difference or URL of snapshot to retrieve the difference.\n * @param marker - A string value that identifies the portion of the get to be returned with the next get operation.\n * @param options - Options to the Page Blob Get Page Ranges Diff operation.\n */\n private async listPageRangesDiffSegment(\n offset: number,\n count: number,\n prevSnapshotOrUrl: string,\n marker?: string,\n options?: PageBlobListPageRangesDiffSegmentOptions\n ): Promise {\n const { span, updatedOptions } = createSpan(\"PageBlobClient-getPageRangesDiffSegment\", options);\n try {\n return await this.pageBlobContext.getPageRangesDiff({\n abortSignal: options?.abortSignal,\n leaseAccessConditions: options?.conditions,\n modifiedAccessConditions: {\n ...options?.conditions,\n ifTags: options?.conditions?.tagConditions,\n },\n prevsnapshot: prevSnapshotOrUrl,\n range: rangeToString({\n offset: offset,\n count: count,\n }),\n marker: marker,\n maxPageSize: options?.maxPageSize,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n /**\n * Returns an AsyncIterableIterator for {@link PageBlobGetPageRangesDiffResponseModel}\n *\n *\n * @param offset - Starting byte position of the page ranges.\n * @param count - Number of bytes to get.\n * @param prevSnapshotOrUrl - Timestamp of snapshot to retrieve the difference or URL of snapshot to retrieve the difference.\n * @param marker - A string value that identifies the portion of\n * the get of page ranges to be returned with the next getting operation. The\n * operation returns the ContinuationToken value within the response body if the\n * getting operation did not return all page ranges remaining within the current page.\n * The ContinuationToken value can be used as the value for\n * the marker parameter in a subsequent call to request the next page of get\n * items. The marker value is opaque to the client.\n * @param options - Options to the Page Blob Get Page Ranges Diff operation.\n */\n private async *listPageRangeDiffItemSegments(\n offset: number,\n count: number,\n prevSnapshotOrUrl: string,\n marker?: string,\n options?: PageBlobListPageRangesDiffSegmentOptions\n ): AsyncIterableIterator {\n let getPageRangeItemSegmentsResponse;\n if (!!marker || marker === undefined) {\n do {\n getPageRangeItemSegmentsResponse = await this.listPageRangesDiffSegment(\n offset,\n count,\n prevSnapshotOrUrl,\n marker,\n options\n );\n marker = getPageRangeItemSegmentsResponse.continuationToken;\n yield await getPageRangeItemSegmentsResponse;\n } while (marker);\n }\n }\n\n /**\n * Returns an AsyncIterableIterator of {@link PageRangeInfo} objects\n *\n * @param offset - Starting byte position of the page ranges.\n * @param count - Number of bytes to get.\n * @param prevSnapshotOrUrl - Timestamp of snapshot to retrieve the difference or URL of snapshot to retrieve the difference.\n * @param options - Options to the Page Blob Get Page Ranges Diff operation.\n */\n private async *listPageRangeDiffItems(\n offset: number,\n count: number,\n prevSnapshotOrUrl: string,\n options?: PageBlobListPageRangesDiffSegmentOptions\n ): AsyncIterableIterator {\n let marker: string | undefined;\n for await (const getPageRangesSegment of this.listPageRangeDiffItemSegments(\n offset,\n count,\n prevSnapshotOrUrl,\n marker,\n options\n )) {\n yield* ExtractPageRangeInfoItems(getPageRangesSegment);\n }\n }\n\n /**\n * Returns an async iterable iterator to list of page ranges that differ between a specified snapshot and this page blob.\n * @see https://docs.microsoft.com/rest/api/storageservices/get-page-ranges\n *\n * .byPage() returns an async iterable iterator to list of page ranges that differ between a specified snapshot and this page blob.\n *\n * Example using `for await` syntax:\n *\n * ```js\n * // Get the pageBlobClient before you run these snippets,\n * // Can be obtained from `blobServiceClient.getContainerClient(\"\").getPageBlobClient(\"\");`\n * let i = 1;\n * for await (const pageRange of pageBlobClient.listPageRangesDiff()) {\n * console.log(`Page range ${i++}: ${pageRange.start} - ${pageRange.end}`);\n * }\n * ```\n *\n * Example using `iter.next()`:\n *\n * ```js\n * let i = 1;\n * let iter = pageBlobClient.listPageRangesDiff();\n * let pageRangeItem = await iter.next();\n * while (!pageRangeItem.done) {\n * console.log(`Page range ${i++}: ${pageRangeItem.value.start} - ${pageRangeItem.value.end}, IsClear: ${pageRangeItem.value.isClear}`);\n * pageRangeItem = await iter.next();\n * }\n * ```\n *\n * Example using `byPage()`:\n *\n * ```js\n * // passing optional maxPageSize in the page settings\n * let i = 1;\n * for await (const response of pageBlobClient.listPageRangesDiff().byPage({ maxPageSize: 20 })) {\n * for (const pageRange of response) {\n * console.log(`Page range ${i++}: ${pageRange.start} - ${pageRange.end}`);\n * }\n * }\n * ```\n *\n * Example using paging with a marker:\n *\n * ```js\n * let i = 1;\n * let iterator = pageBlobClient.listPageRangesDiff().byPage({ maxPageSize: 2 });\n * let response = (await iterator.next()).value;\n *\n * // Prints 2 page ranges\n * for (const pageRange of response) {\n * console.log(`Page range ${i++}: ${pageRange.start} - ${pageRange.end}`);\n * }\n *\n * // Gets next marker\n * let marker = response.continuationToken;\n *\n * // Passing next marker as continuationToken\n *\n * iterator = pageBlobClient.listPageRangesDiff().byPage({ continuationToken: marker, maxPageSize: 10 });\n * response = (await iterator.next()).value;\n *\n * // Prints 10 page ranges\n * for (const blob of response) {\n * console.log(`Page range ${i++}: ${pageRange.start} - ${pageRange.end}`);\n * }\n * ```\n * @param offset - Starting byte position of the page ranges.\n * @param count - Number of bytes to get.\n * @param prevSnapshot - Timestamp of snapshot to retrieve the difference.\n * @param options - Options to the Page Blob Get Ranges operation.\n * @returns An asyncIterableIterator that supports paging.\n */\n public listPageRangesDiff(\n offset: number,\n count: number,\n prevSnapshot: string,\n options: PageBlobListPageRangesDiffOptions = {}\n ): PagedAsyncIterableIterator {\n options.conditions = options.conditions || {};\n\n // AsyncIterableIterator to iterate over blobs\n const iter = this.listPageRangeDiffItems(offset, count, prevSnapshot, {\n ...options,\n });\n return {\n /**\n * The next method, part of the iteration protocol\n */\n next() {\n return iter.next();\n },\n /**\n * The connection to the async iterator, part of the iteration protocol\n */\n [Symbol.asyncIterator]() {\n return this;\n },\n /**\n * Return an AsyncIterableIterator that works a page at a time\n */\n byPage: (settings: PageSettings = {}) => {\n return this.listPageRangeDiffItemSegments(\n offset,\n count,\n prevSnapshot,\n settings.continuationToken,\n {\n maxPageSize: settings.maxPageSize,\n ...options,\n }\n );\n },\n };\n }\n\n /**\n * Gets the collection of page ranges that differ between a specified snapshot and this page blob for managed disks.\n * @see https://docs.microsoft.com/rest/api/storageservices/get-page-ranges\n *\n * @param offset - Starting byte position of the page blob\n * @param count - Number of bytes to get ranges diff.\n * @param prevSnapshotUrl - URL of snapshot to retrieve the difference.\n * @param options - Options to the Page Blob Get Page Ranges Diff operation.\n * @returns Response data for the Page Blob Get Page Range Diff operation.\n */\n public async getPageRangesDiffForManagedDisks(\n offset: number,\n count: number,\n prevSnapshotUrl: string,\n options: PageBlobGetPageRangesDiffOptions = {}\n ): Promise {\n options.conditions = options.conditions || {};\n const { span, updatedOptions } = createSpan(\n \"PageBlobClient-GetPageRangesDiffForManagedDisks\",\n options\n );\n\n try {\n return await this.pageBlobContext\n .getPageRangesDiff({\n abortSignal: options.abortSignal,\n leaseAccessConditions: options.conditions,\n modifiedAccessConditions: {\n ...options.conditions,\n ifTags: options.conditions?.tagConditions,\n },\n prevSnapshotUrl,\n range: rangeToString({ offset, count }),\n ...convertTracingToRequestOptionsBase(updatedOptions),\n })\n .then(rangeResponseFromModel);\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Resizes the page blob to the specified size (which must be a multiple of 512).\n * @see https://docs.microsoft.com/rest/api/storageservices/set-blob-properties\n *\n * @param size - Target size\n * @param options - Options to the Page Blob Resize operation.\n * @returns Response data for the Page Blob Resize operation.\n */\n public async resize(\n size: number,\n options: PageBlobResizeOptions = {}\n ): Promise {\n options.conditions = options.conditions || {};\n const { span, updatedOptions } = createSpan(\"PageBlobClient-resize\", options);\n try {\n return await this.pageBlobContext.resize(size, {\n abortSignal: options.abortSignal,\n leaseAccessConditions: options.conditions,\n modifiedAccessConditions: {\n ...options.conditions,\n ifTags: options.conditions?.tagConditions,\n },\n encryptionScope: options.encryptionScope,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Sets a page blob's sequence number.\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/set-blob-properties\n *\n * @param sequenceNumberAction - Indicates how the service should modify the blob's sequence number.\n * @param sequenceNumber - Required if sequenceNumberAction is max or update\n * @param options - Options to the Page Blob Update Sequence Number operation.\n * @returns Response data for the Page Blob Update Sequence Number operation.\n */\n public async updateSequenceNumber(\n sequenceNumberAction: SequenceNumberActionType,\n sequenceNumber?: number,\n options: PageBlobUpdateSequenceNumberOptions = {}\n ): Promise {\n options.conditions = options.conditions || {};\n const { span, updatedOptions } = createSpan(\"PageBlobClient-updateSequenceNumber\", options);\n try {\n return await this.pageBlobContext.updateSequenceNumber(sequenceNumberAction, {\n abortSignal: options.abortSignal,\n blobSequenceNumber: sequenceNumber,\n leaseAccessConditions: options.conditions,\n modifiedAccessConditions: {\n ...options.conditions,\n ifTags: options.conditions?.tagConditions,\n },\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Begins an operation to start an incremental copy from one page blob's snapshot to this page blob.\n * The snapshot is copied such that only the differential changes between the previously\n * copied snapshot are transferred to the destination.\n * The copied snapshots are complete copies of the original snapshot and can be read or copied from as usual.\n * @see https://docs.microsoft.com/rest/api/storageservices/incremental-copy-blob\n * @see https://docs.microsoft.com/en-us/azure/virtual-machines/windows/incremental-snapshots\n *\n * @param copySource - Specifies the name of the source page blob snapshot. For example,\n * https://myaccount.blob.core.windows.net/mycontainer/myblob?snapshot=\n * @param options - Options to the Page Blob Copy Incremental operation.\n * @returns Response data for the Page Blob Copy Incremental operation.\n */\n public async startCopyIncremental(\n copySource: string,\n options: PageBlobStartCopyIncrementalOptions = {}\n ): Promise {\n const { span, updatedOptions } = createSpan(\"PageBlobClient-startCopyIncremental\", options);\n try {\n return await this.pageBlobContext.copyIncremental(copySource, {\n abortSignal: options.abortSignal,\n modifiedAccessConditions: {\n ...options.conditions,\n ifTags: options.conditions?.tagConditions,\n },\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { ServiceSubmitBatchResponseModel } from \"./generatedModels\";\nimport { streamToBuffer2 } from \"./utils/utils.node\";\nimport { BATCH_MAX_PAYLOAD_IN_BYTES } from \"./utils/constants\";\n\nexport async function getBodyAsText(\n batchResponse: ServiceSubmitBatchResponseModel\n): Promise {\n let buffer = Buffer.alloc(BATCH_MAX_PAYLOAD_IN_BYTES);\n\n const responseLength = await streamToBuffer2(\n batchResponse.readableStreamBody as NodeJS.ReadableStream,\n buffer\n );\n\n // Slice the buffer to trim the empty ending.\n buffer = buffer.slice(0, responseLength);\n\n return buffer.toString();\n}\n\nexport function utf8ByteLength(str: string): number {\n return Buffer.byteLength(str);\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { HttpHeaders } from \"@azure/core-http\";\n\nimport { ServiceSubmitBatchResponseModel } from \"./generatedModels\";\nimport {\n HTTP_VERSION_1_1,\n HTTP_LINE_ENDING,\n HeaderConstants,\n HTTPURLConnection,\n} from \"./utils/constants\";\nimport { getBodyAsText } from \"./BatchUtils\";\nimport { BatchSubRequest } from \"./BlobBatch\";\nimport { BatchSubResponse, ParsedBatchResponse } from \"./BatchResponse\";\nimport { logger } from \"./log\";\n\nconst HTTP_HEADER_DELIMITER = \": \";\nconst SPACE_DELIMITER = \" \";\nconst NOT_FOUND = -1;\n\n/**\n * Util class for parsing batch response.\n */\nexport class BatchResponseParser {\n private readonly batchResponse: ServiceSubmitBatchResponseModel;\n private readonly responseBatchBoundary: string;\n private readonly perResponsePrefix: string;\n private readonly batchResponseEnding: string;\n private readonly subRequests: Map;\n\n constructor(\n batchResponse: ServiceSubmitBatchResponseModel,\n subRequests: Map\n ) {\n if (!batchResponse || !batchResponse.contentType) {\n // In special case(reported), server may return invalid content-type which could not be parsed.\n throw new RangeError(\"batchResponse is malformed or doesn't contain valid content-type.\");\n }\n\n if (!subRequests || subRequests.size === 0) {\n // This should be prevent during coding.\n throw new RangeError(\"Invalid state: subRequests is not provided or size is 0.\");\n }\n\n this.batchResponse = batchResponse;\n this.subRequests = subRequests;\n this.responseBatchBoundary = this.batchResponse.contentType!.split(\"=\")[1];\n this.perResponsePrefix = `--${this.responseBatchBoundary}${HTTP_LINE_ENDING}`;\n this.batchResponseEnding = `--${this.responseBatchBoundary}--`;\n }\n\n // For example of response, please refer to https://docs.microsoft.com/en-us/rest/api/storageservices/blob-batch#response\n public async parseBatchResponse(): Promise {\n // When logic reach here, suppose batch request has already succeeded with 202, so we can further parse\n // sub request's response.\n if (this.batchResponse._response.status !== HTTPURLConnection.HTTP_ACCEPTED) {\n throw new Error(\n `Invalid state: batch request failed with status: '${this.batchResponse._response.status}'.`\n );\n }\n\n const responseBodyAsText = await getBodyAsText(this.batchResponse);\n\n const subResponses = responseBodyAsText\n .split(this.batchResponseEnding)[0] // string after ending is useless\n .split(this.perResponsePrefix)\n .slice(1); // string before first response boundary is useless\n const subResponseCount = subResponses.length;\n\n // Defensive coding in case of potential error parsing.\n // Note: subResponseCount == 1 is special case where sub request is invalid.\n // We try to prevent such cases through early validation, e.g. validate sub request count >= 1.\n // While in unexpected sub request invalid case, we allow sub response to be parsed and return to user.\n if (subResponseCount !== this.subRequests.size && subResponseCount !== 1) {\n throw new Error(\"Invalid state: sub responses' count is not equal to sub requests' count.\");\n }\n\n const deserializedSubResponses: Array = new Array(subResponseCount);\n let subResponsesSucceededCount: number = 0;\n let subResponsesFailedCount: number = 0;\n\n // Parse sub subResponses.\n for (let index = 0; index < subResponseCount; index++) {\n const subResponse = subResponses[index];\n const deserializedSubResponse = {} as BatchSubResponse;\n deserializedSubResponse.headers = new HttpHeaders();\n\n const responseLines = subResponse.split(`${HTTP_LINE_ENDING}`);\n let subRespHeaderStartFound = false;\n let subRespHeaderEndFound = false;\n let subRespFailed = false;\n let contentId = NOT_FOUND;\n\n for (const responseLine of responseLines) {\n if (!subRespHeaderStartFound) {\n // Convention line to indicate content ID\n if (responseLine.startsWith(HeaderConstants.CONTENT_ID)) {\n contentId = parseInt(responseLine.split(HTTP_HEADER_DELIMITER)[1]);\n }\n\n // Http version line with status code indicates the start of sub request's response.\n // Example: HTTP/1.1 202 Accepted\n if (responseLine.startsWith(HTTP_VERSION_1_1)) {\n subRespHeaderStartFound = true;\n\n const tokens = responseLine.split(SPACE_DELIMITER);\n deserializedSubResponse.status = parseInt(tokens[1]);\n deserializedSubResponse.statusMessage = tokens.slice(2).join(SPACE_DELIMITER);\n }\n\n continue; // Skip convention headers not specifically for sub request i.e. Content-Type: application/http and Content-ID: *\n }\n\n if (responseLine.trim() === \"\") {\n // Sub response's header start line already found, and the first empty line indicates header end line found.\n if (!subRespHeaderEndFound) {\n subRespHeaderEndFound = true;\n }\n\n continue; // Skip empty line\n }\n\n // Note: when code reach here, it indicates subRespHeaderStartFound == true\n if (!subRespHeaderEndFound) {\n if (responseLine.indexOf(HTTP_HEADER_DELIMITER) === -1) {\n // Defensive coding to prevent from missing valuable lines.\n throw new Error(\n `Invalid state: find non-empty line '${responseLine}' without HTTP header delimiter '${HTTP_HEADER_DELIMITER}'.`\n );\n }\n\n // Parse headers of sub response.\n const tokens = responseLine.split(HTTP_HEADER_DELIMITER);\n deserializedSubResponse.headers.set(tokens[0], tokens[1]);\n if (tokens[0] === HeaderConstants.X_MS_ERROR_CODE) {\n deserializedSubResponse.errorCode = tokens[1];\n subRespFailed = true;\n }\n } else {\n // Assemble body of sub response.\n if (!deserializedSubResponse.bodyAsText) {\n deserializedSubResponse.bodyAsText = \"\";\n }\n\n deserializedSubResponse.bodyAsText += responseLine;\n }\n } // Inner for end\n\n // The response will contain the Content-ID header for each corresponding subrequest response to use for tracking.\n // The Content-IDs are set to a valid index in the subrequests we sent. In the status code 202 path, we could expect it\n // to be 1-1 mapping from the [0, subRequests.size) to the Content-IDs returned. If not, we simply don't return that\n // unexpected subResponse in the parsed reponse and we can always look it up in the raw response for debugging purpose.\n if (\n contentId !== NOT_FOUND &&\n Number.isInteger(contentId) &&\n contentId >= 0 &&\n contentId < this.subRequests.size &&\n deserializedSubResponses[contentId] === undefined\n ) {\n deserializedSubResponse._request = this.subRequests.get(contentId)!;\n deserializedSubResponses[contentId] = deserializedSubResponse;\n } else {\n logger.error(\n `subResponses[${index}] is dropped as the Content-ID is not found or invalid, Content-ID: ${contentId}`\n );\n }\n\n if (subRespFailed) {\n subResponsesFailedCount++;\n } else {\n subResponsesSucceededCount++;\n }\n }\n\n return {\n subResponses: deserializedSubResponses,\n subResponsesSucceededCount: subResponsesSucceededCount,\n subResponsesFailedCount: subResponsesFailedCount,\n };\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nenum MutexLockStatus {\n LOCKED,\n UNLOCKED,\n}\n\ntype Callback = (...args: any[]) => any;\n\n/**\n * An async mutex lock.\n */\nexport class Mutex {\n /**\n * Lock for a specific key. If the lock has been acquired by another customer, then\n * will wait until getting the lock.\n *\n * @param key - lock key\n */\n public static async lock(key: string): Promise {\n return new Promise((resolve) => {\n if (this.keys[key] === undefined || this.keys[key] === MutexLockStatus.UNLOCKED) {\n this.keys[key] = MutexLockStatus.LOCKED;\n resolve();\n } else {\n this.onUnlockEvent(key, () => {\n this.keys[key] = MutexLockStatus.LOCKED;\n resolve();\n });\n }\n });\n }\n\n /**\n * Unlock a key.\n *\n * @param key -\n */\n public static async unlock(key: string): Promise {\n return new Promise((resolve) => {\n if (this.keys[key] === MutexLockStatus.LOCKED) {\n this.emitUnlockEvent(key);\n }\n delete this.keys[key];\n resolve();\n });\n }\n\n private static keys: { [key: string]: MutexLockStatus } = {};\n private static listeners: { [key: string]: Callback[] } = {};\n\n private static onUnlockEvent(key: string, handler: Callback) {\n if (this.listeners[key] === undefined) {\n this.listeners[key] = [handler];\n } else {\n this.listeners[key].push(handler);\n }\n }\n\n private static emitUnlockEvent(key: string) {\n if (this.listeners[key] !== undefined && this.listeners[key].length > 0) {\n const handler = this.listeners[key].shift();\n setImmediate(() => {\n handler!.call(this);\n });\n }\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n BaseRequestPolicy,\n deserializationPolicy,\n generateUuid,\n HttpHeaders,\n HttpOperationResponse,\n RequestPolicy,\n RequestPolicyFactory,\n RequestPolicyOptions,\n WebResource,\n TokenCredential,\n isTokenCredential,\n bearerTokenAuthenticationPolicy,\n isNode,\n} from \"@azure/core-http\";\nimport { SpanStatusCode } from \"@azure/core-tracing\";\nimport { AnonymousCredential } from \"./credentials/AnonymousCredential\";\nimport { BlobClient, BlobDeleteOptions, BlobSetTierOptions } from \"./Clients\";\nimport { AccessTier } from \"./generatedModels\";\nimport { Mutex } from \"./utils/Mutex\";\nimport { Pipeline } from \"./Pipeline\";\nimport { attachCredential, getURLPath, getURLPathAndQuery, iEqual } from \"./utils/utils.common\";\nimport {\n HeaderConstants,\n BATCH_MAX_REQUEST,\n HTTP_VERSION_1_1,\n HTTP_LINE_ENDING,\n StorageOAuthScopes,\n} from \"./utils/constants\";\nimport { StorageSharedKeyCredential } from \"./credentials/StorageSharedKeyCredential\";\nimport { createSpan } from \"./utils/tracing\";\n\n/**\n * A request associated with a batch operation.\n */\nexport interface BatchSubRequest {\n /**\n * The URL of the resource to request operation.\n */\n url: string;\n\n /**\n * The credential used for sub request.\n * Such as AnonymousCredential, StorageSharedKeyCredential or any credential from the `@azure/identity` package to authenticate requests to the service.\n * You can also provide an object that implements the TokenCredential interface. If not specified, AnonymousCredential is used.\n */\n credential: StorageSharedKeyCredential | AnonymousCredential | TokenCredential;\n}\n\n/**\n * A BlobBatch represents an aggregated set of operations on blobs.\n * Currently, only `delete` and `setAccessTier` are supported.\n */\nexport class BlobBatch {\n private batchRequest: InnerBatchRequest;\n private readonly batch: string = \"batch\";\n private batchType: \"delete\" | \"setAccessTier\" | undefined;\n\n constructor() {\n this.batchRequest = new InnerBatchRequest();\n }\n\n /**\n * Get the value of Content-Type for a batch request.\n * The value must be multipart/mixed with a batch boundary.\n * Example: multipart/mixed; boundary=batch_a81786c8-e301-4e42-a729-a32ca24ae252\n */\n public getMultiPartContentType(): string {\n return this.batchRequest.getMultipartContentType();\n }\n\n /**\n * Get assembled HTTP request body for sub requests.\n */\n public getHttpRequestBody(): string {\n return this.batchRequest.getHttpRequestBody();\n }\n\n /**\n * Get sub requests that are added into the batch request.\n */\n public getSubRequests(): Map {\n return this.batchRequest.getSubRequests();\n }\n\n private async addSubRequestInternal(\n subRequest: BatchSubRequest,\n assembleSubRequestFunc: () => Promise\n ): Promise {\n await Mutex.lock(this.batch);\n\n try {\n this.batchRequest.preAddSubRequest(subRequest);\n await assembleSubRequestFunc();\n this.batchRequest.postAddSubRequest(subRequest);\n } finally {\n await Mutex.unlock(this.batch);\n }\n }\n\n private setBatchType(batchType: \"delete\" | \"setAccessTier\"): void {\n if (!this.batchType) {\n this.batchType = batchType;\n }\n if (this.batchType !== batchType) {\n throw new RangeError(\n `BlobBatch only supports one operation type per batch and it already is being used for ${this.batchType} operations.`\n );\n }\n }\n\n /**\n * The deleteBlob operation marks the specified blob or snapshot for deletion.\n * The blob is later deleted during garbage collection.\n * Only one kind of operation is allowed per batch request.\n *\n * Note that in order to delete a blob, you must delete all of its snapshots.\n * You can delete both at the same time. See [delete operation details](https://docs.microsoft.com/en-us/rest/api/storageservices/delete-blob).\n * The operation will be authenticated and authorized with specified credential.\n * See [blob batch authorization details](https://docs.microsoft.com/en-us/rest/api/storageservices/blob-batch#authorization).\n *\n * @param url - The url of the blob resource to delete.\n * @param credential - Such as AnonymousCredential, StorageSharedKeyCredential or any credential from the `@azure/identity` package to authenticate requests to the service. You can also provide an object that implements the TokenCredential interface. If not specified, AnonymousCredential is used.\n * @param options -\n */\n public async deleteBlob(\n url: string,\n credential: StorageSharedKeyCredential | AnonymousCredential | TokenCredential,\n options?: BlobDeleteOptions\n ): Promise;\n\n /**\n * The deleteBlob operation marks the specified blob or snapshot for deletion.\n * The blob is later deleted during garbage collection.\n * Only one kind of operation is allowed per batch request.\n *\n * Note that in order to delete a blob, you must delete all of its snapshots.\n * You can delete both at the same time. See [delete operation details](https://docs.microsoft.com/en-us/rest/api/storageservices/delete-blob).\n * The operation will be authenticated and authorized with specified credential.\n * See [blob batch authorization details](https://docs.microsoft.com/en-us/rest/api/storageservices/blob-batch#authorization).\n *\n * @param blobClient - The BlobClient.\n * @param options -\n */\n public async deleteBlob(blobClient: BlobClient, options?: BlobDeleteOptions): Promise;\n\n public async deleteBlob(\n urlOrBlobClient: string | BlobClient,\n credentialOrOptions:\n | StorageSharedKeyCredential\n | AnonymousCredential\n | TokenCredential\n | BlobDeleteOptions\n | undefined,\n options?: BlobDeleteOptions\n ): Promise {\n let url: string;\n let credential: StorageSharedKeyCredential | AnonymousCredential | TokenCredential;\n\n if (\n typeof urlOrBlobClient === \"string\" &&\n ((isNode && credentialOrOptions instanceof StorageSharedKeyCredential) ||\n credentialOrOptions instanceof AnonymousCredential ||\n isTokenCredential(credentialOrOptions))\n ) {\n // First overload\n url = urlOrBlobClient;\n credential = credentialOrOptions;\n } else if (urlOrBlobClient instanceof BlobClient) {\n // Second overload\n url = urlOrBlobClient.url;\n credential = urlOrBlobClient.credential;\n options = credentialOrOptions as BlobDeleteOptions;\n } else {\n throw new RangeError(\n \"Invalid arguments. Either url and credential, or BlobClient need be provided.\"\n );\n }\n\n if (!options) {\n options = {};\n }\n\n const { span, updatedOptions } = createSpan(\"BatchDeleteRequest-addSubRequest\", options);\n\n try {\n this.setBatchType(\"delete\");\n await this.addSubRequestInternal(\n {\n url: url,\n credential: credential,\n },\n async () => {\n await new BlobClient(url, this.batchRequest.createPipeline(credential)).delete(\n updatedOptions\n );\n }\n );\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * The setBlobAccessTier operation sets the tier on a blob.\n * The operation is allowed on block blobs in a blob storage or general purpose v2 account.\n * Only one kind of operation is allowed per batch request.\n *\n * A block blob's tier determines Hot/Cool/Archive storage type.\n * This operation does not update the blob's ETag.\n * For detailed information about block blob level tiering\n * see [hot, cool, and archive access tiers](https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-storage-tiers).\n * The operation will be authenticated and authorized\n * with specified credential. See [blob batch authorization details](https://docs.microsoft.com/en-us/rest/api/storageservices/blob-batch#authorization).\n *\n * @param url - The url of the blob resource to delete.\n * @param credential - Such as AnonymousCredential, StorageSharedKeyCredential or any credential from the `@azure/identity` package to authenticate requests to the service. You can also provide an object that implements the TokenCredential interface. If not specified, AnonymousCredential is used.\n * @param tier -\n * @param options -\n */\n public async setBlobAccessTier(\n url: string,\n credential: StorageSharedKeyCredential | AnonymousCredential | TokenCredential,\n tier: AccessTier,\n options?: BlobSetTierOptions\n ): Promise;\n\n /**\n * The setBlobAccessTier operation sets the tier on a blob.\n * The operation is allowed on block blobs in a blob storage or general purpose v2 account.\n * Only one kind of operation is allowed per batch request.\n *\n * A block blob's tier determines Hot/Cool/Archive storage type.\n * This operation does not update the blob's ETag.\n * For detailed information about block blob level tiering\n * see [hot, cool, and archive access tiers](https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-storage-tiers).\n * The operation will be authenticated and authorized\n * with specified credential. See [blob batch authorization details](https://docs.microsoft.com/en-us/rest/api/storageservices/blob-batch#authorization).\n *\n * @param blobClient - The BlobClient.\n * @param tier -\n * @param options -\n */\n public async setBlobAccessTier(\n blobClient: BlobClient,\n tier: AccessTier,\n options?: BlobSetTierOptions\n ): Promise;\n\n public async setBlobAccessTier(\n urlOrBlobClient: string | BlobClient,\n credentialOrTier:\n | StorageSharedKeyCredential\n | AnonymousCredential\n | TokenCredential\n | AccessTier,\n tierOrOptions?: AccessTier | BlobSetTierOptions,\n options?: BlobSetTierOptions\n ): Promise {\n let url: string;\n let credential: StorageSharedKeyCredential | AnonymousCredential | TokenCredential;\n let tier: AccessTier;\n\n if (\n typeof urlOrBlobClient === \"string\" &&\n ((isNode && credentialOrTier instanceof StorageSharedKeyCredential) ||\n credentialOrTier instanceof AnonymousCredential ||\n isTokenCredential(credentialOrTier))\n ) {\n // First overload\n url = urlOrBlobClient;\n credential = credentialOrTier as\n | StorageSharedKeyCredential\n | AnonymousCredential\n | TokenCredential;\n tier = tierOrOptions as AccessTier;\n } else if (urlOrBlobClient instanceof BlobClient) {\n // Second overload\n url = urlOrBlobClient.url;\n credential = urlOrBlobClient.credential;\n tier = credentialOrTier as AccessTier;\n options = tierOrOptions as BlobSetTierOptions;\n } else {\n throw new RangeError(\n \"Invalid arguments. Either url and credential, or BlobClient need be provided.\"\n );\n }\n\n if (!options) {\n options = {};\n }\n\n const { span, updatedOptions } = createSpan(\"BatchSetTierRequest-addSubRequest\", options);\n\n try {\n this.setBatchType(\"setAccessTier\");\n await this.addSubRequestInternal(\n {\n url: url,\n credential: credential,\n },\n async () => {\n await new BlobClient(url, this.batchRequest.createPipeline(credential)).setAccessTier(\n tier,\n updatedOptions\n );\n }\n );\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n}\n\n/**\n * Inner batch request class which is responsible for assembling and serializing sub requests.\n * See https://docs.microsoft.com/en-us/rest/api/storageservices/blob-batch#request-body for how requests are assembled.\n */\nclass InnerBatchRequest {\n private operationCount: number;\n private body: string;\n private subRequests: Map;\n private readonly boundary: string;\n private readonly subRequestPrefix: string;\n private readonly multipartContentType: string;\n private readonly batchRequestEnding: string;\n\n constructor() {\n this.operationCount = 0;\n this.body = \"\";\n\n const tempGuid = generateUuid();\n\n // batch_{batchid}\n this.boundary = `batch_${tempGuid}`;\n // --batch_{batchid}\n // Content-Type: application/http\n // Content-Transfer-Encoding: binary\n this.subRequestPrefix = `--${this.boundary}${HTTP_LINE_ENDING}${HeaderConstants.CONTENT_TYPE}: application/http${HTTP_LINE_ENDING}${HeaderConstants.CONTENT_TRANSFER_ENCODING}: binary`;\n // multipart/mixed; boundary=batch_{batchid}\n this.multipartContentType = `multipart/mixed; boundary=${this.boundary}`;\n // --batch_{batchid}--\n this.batchRequestEnding = `--${this.boundary}--`;\n\n this.subRequests = new Map();\n }\n\n /**\n * Create pipeline to assemble sub requests. The idea here is to use existing\n * credential and serialization/deserialization components, with additional policies to\n * filter unnecessary headers, assemble sub requests into request's body\n * and intercept request from going to wire.\n * @param credential - Such as AnonymousCredential, StorageSharedKeyCredential or any credential from the `@azure/identity` package to authenticate requests to the service. You can also provide an object that implements the TokenCredential interface. If not specified, AnonymousCredential is used.\n */\n public createPipeline(\n credential: StorageSharedKeyCredential | AnonymousCredential | TokenCredential\n ): Pipeline {\n const isAnonymousCreds = credential instanceof AnonymousCredential;\n const policyFactoryLength = 3 + (isAnonymousCreds ? 0 : 1); // [deserializationPolicy, BatchHeaderFilterPolicyFactory, (Optional)Credential, BatchRequestAssemblePolicyFactory]\n const factories: RequestPolicyFactory[] = new Array(policyFactoryLength);\n\n factories[0] = deserializationPolicy(); // Default deserializationPolicy is provided by protocol layer\n factories[1] = new BatchHeaderFilterPolicyFactory(); // Use batch header filter policy to exclude unnecessary headers\n if (!isAnonymousCreds) {\n factories[2] = isTokenCredential(credential)\n ? attachCredential(\n bearerTokenAuthenticationPolicy(credential, StorageOAuthScopes),\n credential\n )\n : credential;\n }\n factories[policyFactoryLength - 1] = new BatchRequestAssemblePolicyFactory(this); // Use batch assemble policy to assemble request and intercept request from going to wire\n\n return new Pipeline(factories, {});\n }\n\n public appendSubRequestToBody(request: WebResource) {\n // Start to assemble sub request\n this.body += [\n this.subRequestPrefix, // sub request constant prefix\n `${HeaderConstants.CONTENT_ID}: ${this.operationCount}`, // sub request's content ID\n \"\", // empty line after sub request's content ID\n `${request.method.toString()} ${getURLPathAndQuery(\n request.url\n )} ${HTTP_VERSION_1_1}${HTTP_LINE_ENDING}`, // sub request start line with method\n ].join(HTTP_LINE_ENDING);\n\n for (const header of request.headers.headersArray()) {\n this.body += `${header.name}: ${header.value}${HTTP_LINE_ENDING}`;\n }\n\n this.body += HTTP_LINE_ENDING; // sub request's headers need be ending with an empty line\n // No body to assemble for current batch request support\n // End to assemble sub request\n }\n\n public preAddSubRequest(subRequest: BatchSubRequest) {\n if (this.operationCount >= BATCH_MAX_REQUEST) {\n throw new RangeError(`Cannot exceed ${BATCH_MAX_REQUEST} sub requests in a single batch`);\n }\n\n // Fast fail if url for sub request is invalid\n const path = getURLPath(subRequest.url);\n if (!path || path === \"\") {\n throw new RangeError(`Invalid url for sub request: '${subRequest.url}'`);\n }\n }\n\n public postAddSubRequest(subRequest: BatchSubRequest) {\n this.subRequests.set(this.operationCount, subRequest);\n this.operationCount++;\n }\n\n // Return the http request body with assembling the ending line to the sub request body.\n public getHttpRequestBody(): string {\n return `${this.body}${this.batchRequestEnding}${HTTP_LINE_ENDING}`;\n }\n\n public getMultipartContentType(): string {\n return this.multipartContentType;\n }\n\n public getSubRequests(): Map {\n return this.subRequests;\n }\n}\n\nclass BatchRequestAssemblePolicy extends BaseRequestPolicy {\n private batchRequest: InnerBatchRequest;\n private readonly dummyResponse: HttpOperationResponse = {\n request: new WebResource(),\n status: 200,\n headers: new HttpHeaders(),\n };\n\n constructor(\n batchRequest: InnerBatchRequest,\n nextPolicy: RequestPolicy,\n options: RequestPolicyOptions\n ) {\n super(nextPolicy, options);\n\n this.batchRequest = batchRequest;\n }\n\n public async sendRequest(request: WebResource): Promise {\n await this.batchRequest.appendSubRequestToBody(request);\n\n return this.dummyResponse; // Intercept request from going to wire\n }\n}\n\nclass BatchRequestAssemblePolicyFactory implements RequestPolicyFactory {\n private batchRequest: InnerBatchRequest;\n\n constructor(batchRequest: InnerBatchRequest) {\n this.batchRequest = batchRequest;\n }\n\n public create(\n nextPolicy: RequestPolicy,\n options: RequestPolicyOptions\n ): BatchRequestAssemblePolicy {\n return new BatchRequestAssemblePolicy(this.batchRequest, nextPolicy, options);\n }\n}\n\nclass BatchHeaderFilterPolicy extends BaseRequestPolicy {\n // The base class has a protected constructor. Adding a public one to enable constructing of this class.\n /* eslint-disable-next-line @typescript-eslint/no-useless-constructor*/\n constructor(nextPolicy: RequestPolicy, options: RequestPolicyOptions) {\n super(nextPolicy, options);\n }\n\n public async sendRequest(request: WebResource): Promise {\n let xMsHeaderName = \"\";\n\n for (const header of request.headers.headersArray()) {\n if (iEqual(header.name, HeaderConstants.X_MS_VERSION)) {\n xMsHeaderName = header.name;\n }\n }\n\n if (xMsHeaderName !== \"\") {\n request.headers.remove(xMsHeaderName); // The subrequests should not have the x-ms-version header.\n }\n\n return this._nextPolicy.sendRequest(request);\n }\n}\n\nclass BatchHeaderFilterPolicyFactory implements RequestPolicyFactory {\n public create(nextPolicy: RequestPolicy, options: RequestPolicyOptions): BatchHeaderFilterPolicy {\n return new BatchHeaderFilterPolicy(nextPolicy, options);\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n AccessTier,\n ServiceSubmitBatchHeaders,\n ServiceSubmitBatchOptionalParamsModel,\n ServiceSubmitBatchResponseModel,\n} from \"./generatedModels\";\nimport { ParsedBatchResponse } from \"./BatchResponse\";\nimport { BatchResponseParser } from \"./BatchResponseParser\";\nimport { utf8ByteLength } from \"./BatchUtils\";\nimport { BlobBatch } from \"./BlobBatch\";\nimport { SpanStatusCode } from \"@azure/core-tracing\";\nimport { convertTracingToRequestOptionsBase, createSpan } from \"./utils/tracing\";\nimport { HttpResponse, TokenCredential } from \"@azure/core-http\";\nimport { Service, Container } from \"./generated/src/operations\";\nimport { StorageSharedKeyCredential } from \"./credentials/StorageSharedKeyCredential\";\nimport { AnonymousCredential } from \"./credentials/AnonymousCredential\";\nimport { BlobDeleteOptions, BlobClient, BlobSetTierOptions } from \"./Clients\";\nimport { StorageClientContext } from \"./generated/src/storageClientContext\";\nimport { PipelineLike, StoragePipelineOptions, newPipeline, isPipelineLike } from \"./Pipeline\";\nimport { getURLPath } from \"./utils/utils.common\";\n\n/**\n * Options to configure the Service - Submit Batch Optional Params.\n */\nexport interface BlobBatchSubmitBatchOptionalParams extends ServiceSubmitBatchOptionalParamsModel {}\n\n/**\n * Contains response data for blob batch operations.\n */\nexport declare type BlobBatchSubmitBatchResponse = ParsedBatchResponse &\n ServiceSubmitBatchHeaders & {\n /**\n * The underlying HTTP response.\n */\n _response: HttpResponse & {\n /**\n * The parsed HTTP response headers.\n */\n parsedHeaders: ServiceSubmitBatchHeaders;\n };\n };\n\n/**\n * Contains response data for the {@link deleteBlobs} operation.\n */\nexport declare type BlobBatchDeleteBlobsResponse = BlobBatchSubmitBatchResponse;\n\n/**\n * Contains response data for the {@link setBlobsAccessTier} operation.\n */\nexport declare type BlobBatchSetBlobsAccessTierResponse = BlobBatchSubmitBatchResponse;\n\n/**\n * A BlobBatchClient allows you to make batched requests to the Azure Storage Blob service.\n *\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/blob-batch\n */\nexport class BlobBatchClient {\n private serviceOrContainerContext: Service | Container;\n\n /**\n * Creates an instance of BlobBatchClient.\n *\n * @param url - A url pointing to Azure Storage blob service, such as\n * \"https://myaccount.blob.core.windows.net\". You can append a SAS\n * if using AnonymousCredential, such as \"https://myaccount.blob.core.windows.net?sasString\".\n * @param credential - Such as AnonymousCredential, StorageSharedKeyCredential or any credential from the `@azure/identity` package to authenticate requests to the service. You can also provide an object that implements the TokenCredential interface. If not specified, AnonymousCredential is used.\n * @param options - Options to configure the HTTP pipeline.\n */\n constructor(\n url: string,\n credential?: StorageSharedKeyCredential | AnonymousCredential | TokenCredential,\n // Legacy, no fix for eslint error without breaking. Disable it for this interface.\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-options*/\n options?: StoragePipelineOptions\n );\n\n /**\n * Creates an instance of BlobBatchClient.\n *\n * @param url - A url pointing to Azure Storage blob service, such as\n * \"https://myaccount.blob.core.windows.net\". You can append a SAS\n * if using AnonymousCredential, such as \"https://myaccount.blob.core.windows.net?sasString\".\n * @param pipeline - Call newPipeline() to create a default\n * pipeline, or provide a customized pipeline.\n */\n constructor(url: string, pipeline: PipelineLike);\n constructor(\n url: string,\n credentialOrPipeline?:\n | StorageSharedKeyCredential\n | AnonymousCredential\n | TokenCredential\n | PipelineLike,\n // Legacy, no fix for eslint error without breaking. Disable it for this interface.\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-options*/\n options?: StoragePipelineOptions\n ) {\n let pipeline: PipelineLike;\n if (isPipelineLike(credentialOrPipeline)) {\n pipeline = credentialOrPipeline;\n } else if (!credentialOrPipeline) {\n // no credential provided\n pipeline = newPipeline(new AnonymousCredential(), options);\n } else {\n pipeline = newPipeline(credentialOrPipeline, options);\n }\n\n const storageClientContext = new StorageClientContext(url, pipeline.toServiceClientOptions());\n\n const path = getURLPath(url);\n if (path && path !== \"/\") {\n // Container scoped.\n this.serviceOrContainerContext = new Container(storageClientContext);\n } else {\n this.serviceOrContainerContext = new Service(storageClientContext);\n }\n }\n\n /**\n * Creates a {@link BlobBatch}.\n * A BlobBatch represents an aggregated set of operations on blobs.\n */\n public createBatch(): BlobBatch {\n return new BlobBatch();\n }\n\n /**\n * Create multiple delete operations to mark the specified blobs or snapshots for deletion.\n * Note that in order to delete a blob, you must delete all of its snapshots.\n * You can delete both at the same time. See [delete operation details](https://docs.microsoft.com/en-us/rest/api/storageservices/delete-blob).\n * The operations will be authenticated and authorized with specified credential.\n * See [blob batch authorization details](https://docs.microsoft.com/en-us/rest/api/storageservices/blob-batch#authorization).\n *\n * @param urls - The urls of the blob resources to delete.\n * @param credential - Such as AnonymousCredential, StorageSharedKeyCredential or any credential from the `@azure/identity` package to authenticate requests to the service. You can also provide an object that implements the TokenCredential interface. If not specified, AnonymousCredential is used.\n * @param options -\n */\n public async deleteBlobs(\n urls: string[],\n credential: StorageSharedKeyCredential | AnonymousCredential | TokenCredential,\n // Legacy, no fix for eslint error without breaking. Disable it for this interface.\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-options*/\n options?: BlobDeleteOptions\n ): Promise;\n\n /**\n * Create multiple delete operations to mark the specified blobs or snapshots for deletion.\n * Note that in order to delete a blob, you must delete all of its snapshots.\n * You can delete both at the same time. See [delete operation details](https://docs.microsoft.com/en-us/rest/api/storageservices/delete-blob).\n * The operation(subrequest) will be authenticated and authorized with specified credential.\n * See [blob batch authorization details](https://docs.microsoft.com/en-us/rest/api/storageservices/blob-batch#authorization).\n *\n * @param blobClients - The BlobClients for the blobs to delete.\n * @param options -\n */\n public async deleteBlobs(\n blobClients: BlobClient[],\n // Legacy, no fix for eslint error without breaking. Disable it for this interface.\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-options*/\n options?: BlobDeleteOptions\n ): Promise;\n\n public async deleteBlobs(\n urlsOrBlobClients: string[] | BlobClient[],\n credentialOrOptions:\n | StorageSharedKeyCredential\n | AnonymousCredential\n | TokenCredential\n | BlobDeleteOptions\n | undefined,\n // Legacy, no fix for eslint error without breaking. Disable it for this interface.\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-options*/\n options?: BlobDeleteOptions\n ): Promise {\n const batch = new BlobBatch();\n for (const urlOrBlobClient of urlsOrBlobClients) {\n if (typeof urlOrBlobClient === \"string\") {\n await batch.deleteBlob(urlOrBlobClient, credentialOrOptions as TokenCredential, options);\n } else {\n await batch.deleteBlob(urlOrBlobClient, credentialOrOptions as BlobDeleteOptions);\n }\n }\n return this.submitBatch(batch);\n }\n\n /**\n * Create multiple set tier operations to set the tier on a blob.\n * The operation is allowed on a page blob in a premium\n * storage account and on a block blob in a blob storage account (locally redundant\n * storage only). A premium page blob's tier determines the allowed size, IOPS,\n * and bandwidth of the blob. A block blob's tier determines Hot/Cool/Archive\n * storage type. This operation does not update the blob's ETag.\n * See [set blob tier details](https://docs.microsoft.com/en-us/rest/api/storageservices/set-blob-tier).\n * The operation(subrequest) will be authenticated and authorized\n * with specified credential.See [blob batch authorization details](https://docs.microsoft.com/en-us/rest/api/storageservices/blob-batch#authorization).\n *\n * @param urls - The urls of the blob resource to delete.\n * @param credential - Such as AnonymousCredential, StorageSharedKeyCredential or any credential from the `@azure/identity` package to authenticate requests to the service. You can also provide an object that implements the TokenCredential interface. If not specified, AnonymousCredential is used.\n * @param tier -\n * @param options -\n */\n public async setBlobsAccessTier(\n urls: string[],\n credential: StorageSharedKeyCredential | AnonymousCredential | TokenCredential,\n tier: AccessTier,\n // Legacy, no fix for eslint error without breaking. Disable it for this interface.\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-options*/\n options?: BlobSetTierOptions\n ): Promise;\n\n /**\n * Create multiple set tier operations to set the tier on a blob.\n * The operation is allowed on a page blob in a premium\n * storage account and on a block blob in a blob storage account (locally redundant\n * storage only). A premium page blob's tier determines the allowed size, IOPS,\n * and bandwidth of the blob. A block blob's tier determines Hot/Cool/Archive\n * storage type. This operation does not update the blob's ETag.\n * See [set blob tier details](https://docs.microsoft.com/en-us/rest/api/storageservices/set-blob-tier).\n * The operation(subrequest) will be authenticated and authorized\n * with specified credential.See [blob batch authorization details](https://docs.microsoft.com/en-us/rest/api/storageservices/blob-batch#authorization).\n *\n * @param blobClients - The BlobClients for the blobs which should have a new tier set.\n * @param tier -\n * @param options -\n */\n public async setBlobsAccessTier(\n blobClients: BlobClient[],\n tier: AccessTier,\n // Legacy, no fix for eslint error without breaking. Disable it for this interface.\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-options*/\n options?: BlobSetTierOptions\n ): Promise;\n\n public async setBlobsAccessTier(\n urlsOrBlobClients: string[] | BlobClient[],\n credentialOrTier:\n | StorageSharedKeyCredential\n | AnonymousCredential\n | TokenCredential\n | AccessTier,\n tierOrOptions?: AccessTier | BlobSetTierOptions,\n // Legacy, no fix for eslint error without breaking. Disable it for this interface.\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-options*/\n options?: BlobSetTierOptions\n ): Promise {\n const batch = new BlobBatch();\n for (const urlOrBlobClient of urlsOrBlobClients) {\n if (typeof urlOrBlobClient === \"string\") {\n await batch.setBlobAccessTier(\n urlOrBlobClient,\n credentialOrTier as TokenCredential,\n tierOrOptions as AccessTier,\n options\n );\n } else {\n await batch.setBlobAccessTier(\n urlOrBlobClient,\n credentialOrTier as AccessTier,\n tierOrOptions as BlobSetTierOptions\n );\n }\n }\n return this.submitBatch(batch);\n }\n\n /**\n * Submit batch request which consists of multiple subrequests.\n *\n * Get `blobBatchClient` and other details before running the snippets.\n * `blobServiceClient.getBlobBatchClient()` gives the `blobBatchClient`\n *\n * Example usage:\n *\n * ```js\n * let batchRequest = new BlobBatch();\n * await batchRequest.deleteBlob(urlInString0, credential0);\n * await batchRequest.deleteBlob(urlInString1, credential1, {\n * deleteSnapshots: \"include\"\n * });\n * const batchResp = await blobBatchClient.submitBatch(batchRequest);\n * console.log(batchResp.subResponsesSucceededCount);\n * ```\n *\n * Example using a lease:\n *\n * ```js\n * let batchRequest = new BlobBatch();\n * await batchRequest.setBlobAccessTier(blockBlobClient0, \"Cool\");\n * await batchRequest.setBlobAccessTier(blockBlobClient1, \"Cool\", {\n * conditions: { leaseId: leaseId }\n * });\n * const batchResp = await blobBatchClient.submitBatch(batchRequest);\n * console.log(batchResp.subResponsesSucceededCount);\n * ```\n *\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/blob-batch\n *\n * @param batchRequest - A set of Delete or SetTier operations.\n * @param options -\n */\n public async submitBatch(\n batchRequest: BlobBatch,\n options: BlobBatchSubmitBatchOptionalParams = {}\n ): Promise {\n if (!batchRequest || batchRequest.getSubRequests().size === 0) {\n throw new RangeError(\"Batch request should contain one or more sub requests.\");\n }\n\n const { span, updatedOptions } = createSpan(\"BlobBatchClient-submitBatch\", options);\n try {\n const batchRequestBody = batchRequest.getHttpRequestBody();\n\n // ServiceSubmitBatchResponseModel and ContainerSubmitBatchResponse are compatible for now.\n const rawBatchResponse: ServiceSubmitBatchResponseModel =\n await this.serviceOrContainerContext.submitBatch(\n utf8ByteLength(batchRequestBody),\n batchRequest.getMultiPartContentType(),\n batchRequestBody,\n {\n ...options,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n }\n );\n\n // Parse the sub responses result, if logic reaches here(i.e. the batch request succeeded with status code 202).\n const batchResponseParser = new BatchResponseParser(\n rawBatchResponse,\n batchRequest.getSubRequests()\n );\n const responseSummary = await batchResponseParser.parseBatchResponse();\n\n const res: BlobBatchSubmitBatchResponse = {\n _response: rawBatchResponse._response,\n contentType: rawBatchResponse.contentType,\n errorCode: rawBatchResponse.errorCode,\n requestId: rawBatchResponse.requestId,\n clientRequestId: rawBatchResponse.clientRequestId,\n version: rawBatchResponse.version,\n subResponses: responseSummary.subResponses,\n subResponsesSucceededCount: responseSummary.subResponsesSucceededCount,\n subResponsesFailedCount: responseSummary.subResponsesFailedCount,\n };\n\n return res;\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport {\n getDefaultProxySettings,\n HttpRequestBody,\n HttpResponse,\n isNode,\n isTokenCredential,\n TokenCredential,\n URLBuilder,\n} from \"@azure/core-http\";\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { SpanStatusCode } from \"@azure/core-tracing\";\nimport { AnonymousCredential } from \"./credentials/AnonymousCredential\";\nimport { StorageSharedKeyCredential } from \"./credentials/StorageSharedKeyCredential\";\nimport { Container } from \"./generated/src/operations\";\nimport {\n BlobDeleteResponse,\n BlobPrefix,\n BlobProperties,\n BlockBlobUploadResponse,\n ContainerCreateResponse,\n ContainerDeleteResponse,\n ContainerEncryptionScope,\n ContainerFilterBlobsHeaders,\n ContainerGetAccessPolicyHeaders,\n ContainerGetPropertiesResponse,\n ContainerListBlobFlatSegmentHeaders,\n ContainerListBlobHierarchySegmentHeaders,\n ContainerSetAccessPolicyResponse,\n ContainerSetMetadataResponse,\n FilterBlobItem,\n FilterBlobSegment,\n FilterBlobSegmentModel,\n LeaseAccessConditions,\n ListBlobsFlatSegmentResponseModel,\n ListBlobsHierarchySegmentResponseModel,\n PublicAccessType,\n SignedIdentifierModel,\n} from \"./generatedModels\";\nimport {\n Metadata,\n ObjectReplicationPolicy,\n Tags,\n ContainerRequestConditions,\n ModifiedAccessConditions,\n} from \"./models\";\nimport { newPipeline, PipelineLike, isPipelineLike, StoragePipelineOptions } from \"./Pipeline\";\nimport { CommonOptions, StorageClient } from \"./StorageClient\";\nimport { convertTracingToRequestOptionsBase, createSpan } from \"./utils/tracing\";\nimport {\n appendToURLPath,\n appendToURLQuery,\n BlobNameToString,\n ConvertInternalResponseOfListBlobFlat,\n ConvertInternalResponseOfListBlobHierarchy,\n EscapePath,\n extractConnectionStringParts,\n isIpEndpointStyle,\n parseObjectReplicationRecord,\n ProcessBlobItems,\n ProcessBlobPrefixes,\n toTags,\n truncatedISO8061Date,\n} from \"./utils/utils.common\";\nimport { ContainerSASPermissions } from \"./sas/ContainerSASPermissions\";\nimport { generateBlobSASQueryParameters } from \"./sas/BlobSASSignatureValues\";\nimport { BlobLeaseClient } from \"./BlobLeaseClient\";\nimport {\n AppendBlobClient,\n BlobClient,\n BlobDeleteOptions,\n BlockBlobClient,\n BlockBlobUploadOptions,\n CommonGenerateSasUrlOptions,\n PageBlobClient,\n} from \"./Clients\";\nimport { BlobBatchClient } from \"./BlobBatchClient\";\nimport { ListBlobsIncludeItem } from \"./generated/src\";\n\n/**\n * Options to configure {@link ContainerClient.create} operation.\n */\nexport interface ContainerCreateOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * A collection of key-value string pair to associate with the container.\n */\n metadata?: Metadata;\n /**\n * Specifies whether data in the container may be accessed publicly and the level of access. Possible values include:\n * - `container`: Specifies full public read access for container and blob data. Clients can enumerate blobs within the container via anonymous request, but cannot enumerate containers within the storage account.\n * - `blob`: Specifies public read access for blobs. Blob data within this container can be read via anonymous request, but container data is not available. Clients cannot enumerate blobs within the container via anonymous request.\n */\n access?: PublicAccessType;\n /**\n * Container encryption scope info.\n */\n containerEncryptionScope?: ContainerEncryptionScope;\n}\n\n/**\n * Options to configure {@link ContainerClient.getProperties} operation.\n */\nexport interface ContainerGetPropertiesOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * If specified, contains the lease id that must be matched and lease with this id\n * must be active in order for the operation to succeed.\n */\n conditions?: LeaseAccessConditions;\n}\n\n/**\n * Options to configure {@link ContainerClient.delete} operation.\n */\nexport interface ContainerDeleteMethodOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Conditions to meet when deleting the container.\n */\n conditions?: ContainerRequestConditions;\n}\n\n/**\n * Options to configure {@link ContainerClient.exists} operation.\n */\nexport interface ContainerExistsOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n}\n\n/**\n * Options to configure {@link ContainerClient.setMetadata} operation.\n */\nexport interface ContainerSetMetadataOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * If specified, contains the lease id that must be matched and lease with this id\n * must be active in order for the operation to succeed.\n */\n conditions?: ContainerRequestConditions;\n}\n\n/**\n * Options to configure {@link ContainerClient.getAccessPolicy} operation.\n */\nexport interface ContainerGetAccessPolicyOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * If specified, contains the lease id that must be matched and lease with this id\n * must be active in order for the operation to succeed.\n */\n conditions?: LeaseAccessConditions;\n}\n\n/**\n * Signed identifier.\n */\nexport interface SignedIdentifier {\n /**\n * a unique id\n */\n id: string;\n /**\n * Access Policy\n */\n accessPolicy: {\n /**\n * Optional. The date-time the policy is active\n */\n startsOn?: Date;\n /**\n * Optional. The date-time the policy expires\n */\n expiresOn?: Date;\n /**\n * The permissions for the acl policy\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/set-container-acl\n */\n permissions?: string;\n };\n}\n\n/**\n * Contains response data for the {@link ContainerClient.getAccessPolicy} operation.\n */\nexport declare type ContainerGetAccessPolicyResponse = {\n signedIdentifiers: SignedIdentifier[];\n} & ContainerGetAccessPolicyHeaders & {\n /**\n * The underlying HTTP response.\n */\n _response: HttpResponse & {\n /**\n * The parsed HTTP response headers.\n */\n parsedHeaders: ContainerGetAccessPolicyHeaders;\n /**\n * The response body as text (string format)\n */\n bodyAsText: string;\n /**\n * The response body as parsed JSON or XML\n */\n parsedBody: SignedIdentifierModel[];\n };\n };\n\n/**\n * Options to configure {@link ContainerClient.setAccessPolicy} operation.\n */\nexport interface ContainerSetAccessPolicyOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Conditions to meet when setting the access policy.\n */\n conditions?: ContainerRequestConditions;\n}\n\n/**\n * Options to configure Container - Acquire Lease operation.\n */\nexport interface ContainerAcquireLeaseOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Conditions to meet when acquiring the lease.\n */\n conditions?: ModifiedAccessConditions;\n}\n\n/**\n * Options to configure Container - Release Lease operation.\n */\nexport interface ContainerReleaseLeaseOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Conditions to meet when releasing the lease.\n */\n conditions?: ModifiedAccessConditions;\n}\n\n/**\n * Options to configure Container - Renew Lease operation.\n */\nexport interface ContainerRenewLeaseOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Conditions to meet when renewing the lease.\n */\n conditions?: ModifiedAccessConditions;\n}\n\n/**\n * Options to configure Container - Break Lease operation.\n */\nexport interface ContainerBreakLeaseOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Conditions to meet when breaking the lease.\n */\n conditions?: ModifiedAccessConditions;\n}\n\n/**\n * Options to configure Container - Change Lease operation.\n */\nexport interface ContainerChangeLeaseOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Conditions to meet when changing the lease.\n */\n conditions?: ModifiedAccessConditions;\n}\n\n/**\n * Options to configure the {@link ContainerClient.deleteBlob} operation.\n */\nexport interface ContainerDeleteBlobOptions extends BlobDeleteOptions {\n /**\n * An opaque DateTime value that, when present, specifies the version\n * of the blob to delete. It's for service version 2019-10-10 and newer.\n */\n versionId?: string;\n}\n\n/**\n * Options to configure Container - List Segment operations.\n *\n * See:\n * - {@link ContainerClient.listSegments}\n * - {@link ContainerClient.listBlobFlatSegment}\n * - {@link ContainerClient.listBlobHierarchySegment}\n * - {@link ContainerClient.listHierarchySegments}\n * - {@link ContainerClient.listItemsByHierarchy}\n */\ninterface ContainerListBlobsSegmentOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Filters the results to return only containers\n * whose name begins with the specified prefix.\n */\n prefix?: string;\n /**\n * Specifies the maximum number of containers\n * to return. If the request does not specify maxPageSize, or specifies a\n * value greater than 5000, the server will return up to 5000 items. Note\n * that if the listing operation crosses a partition boundary, then the\n * service will return a continuation token for retrieving the remainder of\n * the results. For this reason, it is possible that the service will return\n * fewer results than specified by maxPageSize, or than the default of 5000.\n */\n maxPageSize?: number;\n /**\n * Include this parameter to\n * specify one or more datasets to include in the response.\n */\n include?: ListBlobsIncludeItem[];\n}\n\n/**\n * An interface representing BlobHierarchyListSegment.\n */\nexport interface BlobHierarchyListSegment {\n blobPrefixes?: BlobPrefix[];\n blobItems: BlobItem[];\n}\n\n/**\n * An enumeration of blobs\n */\nexport interface ListBlobsHierarchySegmentResponse {\n serviceEndpoint: string;\n containerName: string;\n prefix?: string;\n marker?: string;\n maxPageSize?: number;\n delimiter?: string;\n segment: BlobHierarchyListSegment;\n continuationToken?: string;\n}\n\n/**\n * Contains response data for the listBlobHierarchySegment operation.\n */\nexport type ContainerListBlobHierarchySegmentResponse = ListBlobsHierarchySegmentResponse &\n ContainerListBlobHierarchySegmentHeaders & {\n /**\n * The underlying HTTP response.\n */\n _response: HttpResponse & {\n /**\n * The parsed HTTP response headers.\n */\n parsedHeaders: ContainerListBlobHierarchySegmentHeaders;\n\n /**\n * The response body as text (string format)\n */\n bodyAsText: string;\n\n /**\n * The response body as parsed JSON or XML\n */\n parsedBody: ListBlobsHierarchySegmentResponseModel;\n };\n };\n\n/**\n * An Azure Storage blob\n */\nexport interface BlobItem {\n name: string;\n deleted: boolean;\n snapshot: string;\n versionId?: string;\n isCurrentVersion?: boolean;\n properties: BlobProperties;\n metadata?: { [propertyName: string]: string };\n tags?: Tags;\n objectReplicationSourceProperties?: ObjectReplicationPolicy[];\n hasVersionsOnly?: boolean;\n}\n\n/**\n * An interface representing BlobFlatListSegment.\n */\nexport interface BlobFlatListSegment {\n blobItems: BlobItem[];\n}\n\n/**\n * An enumeration of blobs\n */\nexport interface ListBlobsFlatSegmentResponse {\n serviceEndpoint: string;\n containerName: string;\n prefix?: string;\n marker?: string;\n maxPageSize?: number;\n segment: BlobFlatListSegment;\n continuationToken?: string;\n}\n\n/**\n * Contains response data for the listBlobFlatSegment operation.\n */\nexport type ContainerListBlobFlatSegmentResponse = ListBlobsFlatSegmentResponse &\n ContainerListBlobFlatSegmentHeaders & {\n /**\n * The underlying HTTP response.\n */\n _response: HttpResponse & {\n /**\n * The parsed HTTP response headers.\n */\n parsedHeaders: ContainerListBlobFlatSegmentHeaders;\n\n /**\n * The response body as text (string format)\n */\n bodyAsText: string;\n\n /**\n * The response body as parsed JSON or XML\n */\n parsedBody: ListBlobsFlatSegmentResponseModel;\n };\n };\n\n/**\n * Options to configure Container - List Blobs operations.\n *\n * See:\n * - {@link ContainerClient.listBlobsFlat}\n * - {@link ContainerClient.listBlobsByHierarchy}\n */\nexport interface ContainerListBlobsOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Filters the results to return only containers\n * whose name begins with the specified prefix.\n */\n prefix?: string;\n\n /**\n * Specifies whether metadata related to any current or previous Copy Blob operation should be included in the response.\n */\n includeCopy?: boolean;\n /**\n * Specifies whether soft deleted blobs should be included in the response.\n */\n includeDeleted?: boolean;\n /**\n * Specifies whether blob metadata be returned in the response.\n */\n includeMetadata?: boolean;\n /**\n * Specifies whether snapshots should be included in the enumeration. Snapshots are listed from oldest to newest in the response.\n */\n includeSnapshots?: boolean;\n /**\n * Specifies whether versions should be included in the enumeration. Versions are listed from oldest to newest in the response.\n */\n includeVersions?: boolean;\n /**\n * Specifies whether blobs for which blocks have been uploaded, but which have not been committed using Put Block List, be included in the response.\n */\n includeUncommitedBlobs?: boolean;\n /**\n * Specifies whether blob tags be returned in the response.\n */\n includeTags?: boolean;\n /**\n * Specifies whether deleted blob with versions be returned in the response.\n */\n includeDeletedWithVersions?: boolean;\n /**\n * Specifies whether blob immutability policy be returned in the response.\n */\n includeImmutabilityPolicy?: boolean;\n /**\n * Specifies whether blob legal hold be returned in the response.\n */\n includeLegalHold?: boolean;\n}\n\n/**\n * Contains response data for the {@link ContainerClient.createIfNotExists} operation.\n */\nexport interface ContainerCreateIfNotExistsResponse extends ContainerCreateResponse {\n /**\n * Indicate whether the container is successfully created. Is false when the container is not changed as it already exists.\n */\n succeeded: boolean;\n}\n\n/**\n * Contains response data for the {@link ContainerClient.deleteIfExists} operation.\n */\nexport interface ContainerDeleteIfExistsResponse extends ContainerDeleteResponse {\n /**\n * Indicate whether the container is successfully deleted. Is false if the container does not exist in the first place.\n */\n succeeded: boolean;\n}\n\n/**\n * Options to configure {@link ContainerClient.generateSasUrl} operation.\n */\nexport interface ContainerGenerateSasUrlOptions extends CommonGenerateSasUrlOptions {\n /**\n * Optional only when identifier is provided. Specifies the list of permissions to be associated with the SAS.\n */\n permissions?: ContainerSASPermissions;\n}\n\n/**\n * Options to configure the {@link ContainerClient.findBlobsByTagsSegment} operation.\n */\ninterface ContainerFindBlobsByTagsSegmentOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Specifies the maximum number of blobs\n * to return. If the request does not specify maxPageSize, or specifies a\n * value greater than 5000, the server will return up to 5000 items. Note\n * that if the listing operation crosses a partition boundary, then the\n * service will return a continuation token for retrieving the remainder of\n * the results. For this reason, it is possible that the service will return\n * fewer results than specified by maxPageSize, or than the default of 5000.\n */\n maxPageSize?: number;\n}\n\n/**\n * Options to configure the {@link BlobServiceClient.findBlobsByTags} operation.\n */\nexport interface ContainerFindBlobByTagsOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n}\n\n/**\n * The response of {@link BlobServiceClient.findBlobsByTags} operation.\n */\nexport type ContainerFindBlobsByTagsSegmentResponse = FilterBlobSegment &\n ContainerFilterBlobsHeaders & {\n /**\n * The underlying HTTP response.\n */\n _response: HttpResponse & {\n /**\n * The parsed HTTP response headers.\n */\n parsedHeaders: ContainerFilterBlobsHeaders;\n\n /**\n * The response body as text (string format)\n */\n bodyAsText: string;\n\n /**\n * The response body as parsed JSON or XML\n */\n parsedBody: FilterBlobSegmentModel;\n };\n };\n\n/**\n * A ContainerClient represents a URL to the Azure Storage container allowing you to manipulate its blobs.\n */\nexport class ContainerClient extends StorageClient {\n /**\n * containerContext provided by protocol layer.\n */\n private containerContext: Container;\n\n private _containerName: string;\n\n /**\n * The name of the container.\n */\n public get containerName(): string {\n return this._containerName;\n }\n /**\n *\n * Creates an instance of ContainerClient.\n *\n * @param connectionString - Account connection string or a SAS connection string of an Azure storage account.\n * [ Note - Account connection string can only be used in NODE.JS runtime. ]\n * Account connection string example -\n * `DefaultEndpointsProtocol=https;AccountName=myaccount;AccountKey=accountKey;EndpointSuffix=core.windows.net`\n * SAS connection string example -\n * `BlobEndpoint=https://myaccount.blob.core.windows.net/;QueueEndpoint=https://myaccount.queue.core.windows.net/;FileEndpoint=https://myaccount.file.core.windows.net/;TableEndpoint=https://myaccount.table.core.windows.net/;SharedAccessSignature=sasString`\n * @param containerName - Container name.\n * @param options - Optional. Options to configure the HTTP pipeline.\n */\n // Legacy, no fix for eslint error without breaking. Disable it for this interface.\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-options*/\n constructor(connectionString: string, containerName: string, options?: StoragePipelineOptions);\n /**\n * Creates an instance of ContainerClient.\n * This method accepts an URL pointing to a container.\n * Encoded URL string will NOT be escaped twice, only special characters in URL path will be escaped.\n * If a blob name includes ? or %, blob name must be encoded in the URL.\n *\n * @param url - A URL string pointing to Azure Storage container, such as\n * \"https://myaccount.blob.core.windows.net/mycontainer\". You can\n * append a SAS if using AnonymousCredential, such as\n * \"https://myaccount.blob.core.windows.net/mycontainer?sasString\".\n * @param credential - Such as AnonymousCredential, StorageSharedKeyCredential or any credential from the `@azure/identity` package to authenticate requests to the service. You can also provide an object that implements the TokenCredential interface. If not specified, AnonymousCredential is used.\n * @param options - Optional. Options to configure the HTTP pipeline.\n */\n constructor(\n url: string,\n credential?: StorageSharedKeyCredential | AnonymousCredential | TokenCredential,\n // Legacy, no fix for eslint error without breaking. Disable it for this interface.\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-options*/\n options?: StoragePipelineOptions\n );\n /**\n * Creates an instance of ContainerClient.\n * This method accepts an URL pointing to a container.\n * Encoded URL string will NOT be escaped twice, only special characters in URL path will be escaped.\n * If a blob name includes ? or %, blob name must be encoded in the URL.\n *\n * @param url - A URL string pointing to Azure Storage container, such as\n * \"https://myaccount.blob.core.windows.net/mycontainer\". You can\n * append a SAS if using AnonymousCredential, such as\n * \"https://myaccount.blob.core.windows.net/mycontainer?sasString\".\n * @param pipeline - Call newPipeline() to create a default\n * pipeline, or provide a customized pipeline.\n */\n constructor(url: string, pipeline: PipelineLike);\n constructor(\n urlOrConnectionString: string,\n credentialOrPipelineOrContainerName?:\n | string\n | StorageSharedKeyCredential\n | AnonymousCredential\n | TokenCredential\n | PipelineLike,\n // Legacy, no fix for eslint error without breaking. Disable it for this interface.\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-options*/\n options?: StoragePipelineOptions\n ) {\n let pipeline: PipelineLike;\n let url: string;\n options = options || {};\n if (isPipelineLike(credentialOrPipelineOrContainerName)) {\n // (url: string, pipeline: Pipeline)\n url = urlOrConnectionString;\n pipeline = credentialOrPipelineOrContainerName;\n } else if (\n (isNode && credentialOrPipelineOrContainerName instanceof StorageSharedKeyCredential) ||\n credentialOrPipelineOrContainerName instanceof AnonymousCredential ||\n isTokenCredential(credentialOrPipelineOrContainerName)\n ) {\n // (url: string, credential?: StorageSharedKeyCredential | AnonymousCredential | TokenCredential, options?: StoragePipelineOptions)\n url = urlOrConnectionString;\n pipeline = newPipeline(credentialOrPipelineOrContainerName, options);\n } else if (\n !credentialOrPipelineOrContainerName &&\n typeof credentialOrPipelineOrContainerName !== \"string\"\n ) {\n // (url: string, credential?: StorageSharedKeyCredential | AnonymousCredential | TokenCredential, options?: StoragePipelineOptions)\n // The second parameter is undefined. Use anonymous credential.\n url = urlOrConnectionString;\n pipeline = newPipeline(new AnonymousCredential(), options);\n } else if (\n credentialOrPipelineOrContainerName &&\n typeof credentialOrPipelineOrContainerName === \"string\"\n ) {\n // (connectionString: string, containerName: string, blobName: string, options?: StoragePipelineOptions)\n const containerName = credentialOrPipelineOrContainerName;\n\n const extractedCreds = extractConnectionStringParts(urlOrConnectionString);\n if (extractedCreds.kind === \"AccountConnString\") {\n if (isNode) {\n const sharedKeyCredential = new StorageSharedKeyCredential(\n extractedCreds.accountName!,\n extractedCreds.accountKey\n );\n url = appendToURLPath(extractedCreds.url, encodeURIComponent(containerName));\n\n if (!options.proxyOptions) {\n options.proxyOptions = getDefaultProxySettings(extractedCreds.proxyUri);\n }\n\n pipeline = newPipeline(sharedKeyCredential, options);\n } else {\n throw new Error(\"Account connection string is only supported in Node.js environment\");\n }\n } else if (extractedCreds.kind === \"SASConnString\") {\n url =\n appendToURLPath(extractedCreds.url, encodeURIComponent(containerName)) +\n \"?\" +\n extractedCreds.accountSas;\n pipeline = newPipeline(new AnonymousCredential(), options);\n } else {\n throw new Error(\n \"Connection string must be either an Account connection string or a SAS connection string\"\n );\n }\n } else {\n throw new Error(\"Expecting non-empty strings for containerName parameter\");\n }\n super(url, pipeline);\n this._containerName = this.getContainerNameFromUrl();\n this.containerContext = new Container(this.storageClientContext);\n }\n\n /**\n * Creates a new container under the specified account. If the container with\n * the same name already exists, the operation fails.\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/create-container\n *\n * @param options - Options to Container Create operation.\n *\n *\n * Example usage:\n *\n * ```js\n * const containerClient = blobServiceClient.getContainerClient(\"\");\n * const createContainerResponse = await containerClient.create();\n * console.log(\"Container was created successfully\", createContainerResponse.requestId);\n * ```\n */\n public async create(options: ContainerCreateOptions = {}): Promise {\n const { span, updatedOptions } = createSpan(\"ContainerClient-create\", options);\n try {\n // Spread operator in destructuring assignments,\n // this will filter out unwanted properties from the response object into result object\n return await this.containerContext.create({\n ...options,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Creates a new container under the specified account. If the container with\n * the same name already exists, it is not changed.\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/create-container\n *\n * @param options -\n */\n public async createIfNotExists(\n options: ContainerCreateOptions = {}\n ): Promise {\n const { span, updatedOptions } = createSpan(\"ContainerClient-createIfNotExists\", options);\n try {\n const res = await this.create(updatedOptions);\n return {\n succeeded: true,\n ...res,\n _response: res._response, // _response is made non-enumerable\n };\n } catch (e: any) {\n if (e.details?.errorCode === \"ContainerAlreadyExists\") {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message:\n \"Expected exception when creating a container only if it does not already exist.\",\n });\n return {\n succeeded: false,\n ...e.response?.parsedHeaders,\n _response: e.response,\n };\n }\n\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Returns true if the Azure container resource represented by this client exists; false otherwise.\n *\n * NOTE: use this function with care since an existing container might be deleted by other clients or\n * applications. Vice versa new containers with the same name might be added by other clients or\n * applications after this function completes.\n *\n * @param options -\n */\n public async exists(options: ContainerExistsOptions = {}): Promise {\n const { span, updatedOptions } = createSpan(\"ContainerClient-exists\", options);\n try {\n await this.getProperties({\n abortSignal: options.abortSignal,\n tracingOptions: updatedOptions.tracingOptions,\n });\n return true;\n } catch (e: any) {\n if (e.statusCode === 404) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: \"Expected exception when checking container existence\",\n });\n return false;\n }\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Creates a {@link BlobClient}\n *\n * @param blobName - A blob name\n * @returns A new BlobClient object for the given blob name.\n */\n public getBlobClient(blobName: string): BlobClient {\n return new BlobClient(appendToURLPath(this.url, EscapePath(blobName)), this.pipeline);\n }\n\n /**\n * Creates an {@link AppendBlobClient}\n *\n * @param blobName - An append blob name\n */\n public getAppendBlobClient(blobName: string): AppendBlobClient {\n return new AppendBlobClient(appendToURLPath(this.url, EscapePath(blobName)), this.pipeline);\n }\n\n /**\n * Creates a {@link BlockBlobClient}\n *\n * @param blobName - A block blob name\n *\n *\n * Example usage:\n *\n * ```js\n * const content = \"Hello world!\";\n *\n * const blockBlobClient = containerClient.getBlockBlobClient(\"\");\n * const uploadBlobResponse = await blockBlobClient.upload(content, content.length);\n * ```\n */\n public getBlockBlobClient(blobName: string): BlockBlobClient {\n return new BlockBlobClient(appendToURLPath(this.url, EscapePath(blobName)), this.pipeline);\n }\n\n /**\n * Creates a {@link PageBlobClient}\n *\n * @param blobName - A page blob name\n */\n public getPageBlobClient(blobName: string): PageBlobClient {\n return new PageBlobClient(appendToURLPath(this.url, EscapePath(blobName)), this.pipeline);\n }\n\n /**\n * Returns all user-defined metadata and system properties for the specified\n * container. The data returned does not include the container's list of blobs.\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/get-container-properties\n *\n * WARNING: The `metadata` object returned in the response will have its keys in lowercase, even if\n * they originally contained uppercase characters. This differs from the metadata keys returned by\n * the `listContainers` method of {@link BlobServiceClient} using the `includeMetadata` option, which\n * will retain their original casing.\n *\n * @param options - Options to Container Get Properties operation.\n */\n public async getProperties(\n options: ContainerGetPropertiesOptions = {}\n ): Promise {\n if (!options.conditions) {\n options.conditions = {};\n }\n\n const { span, updatedOptions } = createSpan(\"ContainerClient-getProperties\", options);\n try {\n return await this.containerContext.getProperties({\n abortSignal: options.abortSignal,\n ...options.conditions,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Marks the specified container for deletion. The container and any blobs\n * contained within it are later deleted during garbage collection.\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/delete-container\n *\n * @param options - Options to Container Delete operation.\n */\n public async delete(\n options: ContainerDeleteMethodOptions = {}\n ): Promise {\n if (!options.conditions) {\n options.conditions = {};\n }\n\n const { span, updatedOptions } = createSpan(\"ContainerClient-delete\", options);\n try {\n return await this.containerContext.delete({\n abortSignal: options.abortSignal,\n leaseAccessConditions: options.conditions,\n modifiedAccessConditions: options.conditions,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Marks the specified container for deletion if it exists. The container and any blobs\n * contained within it are later deleted during garbage collection.\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/delete-container\n *\n * @param options - Options to Container Delete operation.\n */\n public async deleteIfExists(\n options: ContainerDeleteMethodOptions = {}\n ): Promise {\n const { span, updatedOptions } = createSpan(\"ContainerClient-deleteIfExists\", options);\n\n try {\n const res = await this.delete(updatedOptions);\n return {\n succeeded: true,\n ...res,\n _response: res._response, // _response is made non-enumerable\n };\n } catch (e: any) {\n if (e.details?.errorCode === \"ContainerNotFound\") {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: \"Expected exception when deleting a container only if it exists.\",\n });\n return {\n succeeded: false,\n ...e.response?.parsedHeaders,\n _response: e.response,\n };\n }\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Sets one or more user-defined name-value pairs for the specified container.\n *\n * If no option provided, or no metadata defined in the parameter, the container\n * metadata will be removed.\n *\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/set-container-metadata\n *\n * @param metadata - Replace existing metadata with this value.\n * If no value provided the existing metadata will be removed.\n * @param options - Options to Container Set Metadata operation.\n */\n public async setMetadata(\n metadata?: Metadata,\n options: ContainerSetMetadataOptions = {}\n ): Promise {\n if (!options.conditions) {\n options.conditions = {};\n }\n\n if (options.conditions.ifUnmodifiedSince) {\n throw new RangeError(\n \"the IfUnmodifiedSince must have their default values because they are ignored by the blob service\"\n );\n }\n\n const { span, updatedOptions } = createSpan(\"ContainerClient-setMetadata\", options);\n\n try {\n return await this.containerContext.setMetadata({\n abortSignal: options.abortSignal,\n leaseAccessConditions: options.conditions,\n metadata,\n modifiedAccessConditions: options.conditions,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Gets the permissions for the specified container. The permissions indicate\n * whether container data may be accessed publicly.\n *\n * WARNING: JavaScript Date will potentially lose precision when parsing startsOn and expiresOn strings.\n * For example, new Date(\"2018-12-31T03:44:23.8827891Z\").toISOString() will get \"2018-12-31T03:44:23.882Z\".\n *\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/get-container-acl\n *\n * @param options - Options to Container Get Access Policy operation.\n */\n public async getAccessPolicy(\n options: ContainerGetAccessPolicyOptions = {}\n ): Promise {\n if (!options.conditions) {\n options.conditions = {};\n }\n\n const { span, updatedOptions } = createSpan(\"ContainerClient-getAccessPolicy\", options);\n\n try {\n const response = await this.containerContext.getAccessPolicy({\n abortSignal: options.abortSignal,\n leaseAccessConditions: options.conditions,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n\n const res: ContainerGetAccessPolicyResponse = {\n _response: response._response,\n blobPublicAccess: response.blobPublicAccess,\n date: response.date,\n etag: response.etag,\n errorCode: response.errorCode,\n lastModified: response.lastModified,\n requestId: response.requestId,\n clientRequestId: response.clientRequestId,\n signedIdentifiers: [],\n version: response.version,\n };\n\n for (const identifier of response) {\n let accessPolicy: any = undefined;\n if (identifier.accessPolicy) {\n accessPolicy = {\n permissions: identifier.accessPolicy.permissions,\n };\n\n if (identifier.accessPolicy.expiresOn) {\n accessPolicy.expiresOn = new Date(identifier.accessPolicy.expiresOn);\n }\n\n if (identifier.accessPolicy.startsOn) {\n accessPolicy.startsOn = new Date(identifier.accessPolicy.startsOn);\n }\n }\n\n res.signedIdentifiers.push({\n accessPolicy,\n id: identifier.id,\n });\n }\n\n return res;\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Sets the permissions for the specified container. The permissions indicate\n * whether blobs in a container may be accessed publicly.\n *\n * When you set permissions for a container, the existing permissions are replaced.\n * If no access or containerAcl provided, the existing container ACL will be\n * removed.\n *\n * When you establish a stored access policy on a container, it may take up to 30 seconds to take effect.\n * During this interval, a shared access signature that is associated with the stored access policy will\n * fail with status code 403 (Forbidden), until the access policy becomes active.\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/set-container-acl\n *\n * @param access - The level of public access to data in the container.\n * @param containerAcl - Array of elements each having a unique Id and details of the access policy.\n * @param options - Options to Container Set Access Policy operation.\n */\n public async setAccessPolicy(\n access?: PublicAccessType,\n containerAcl?: SignedIdentifier[],\n options: ContainerSetAccessPolicyOptions = {}\n ): Promise {\n options.conditions = options.conditions || {};\n const { span, updatedOptions } = createSpan(\"ContainerClient-setAccessPolicy\", options);\n try {\n const acl: SignedIdentifierModel[] = [];\n for (const identifier of containerAcl || []) {\n acl.push({\n accessPolicy: {\n expiresOn: identifier.accessPolicy.expiresOn\n ? truncatedISO8061Date(identifier.accessPolicy.expiresOn)\n : \"\",\n permissions: identifier.accessPolicy.permissions,\n startsOn: identifier.accessPolicy.startsOn\n ? truncatedISO8061Date(identifier.accessPolicy.startsOn)\n : \"\",\n },\n id: identifier.id,\n });\n }\n\n return await this.containerContext.setAccessPolicy({\n abortSignal: options.abortSignal,\n access,\n containerAcl: acl,\n leaseAccessConditions: options.conditions,\n modifiedAccessConditions: options.conditions,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Get a {@link BlobLeaseClient} that manages leases on the container.\n *\n * @param proposeLeaseId - Initial proposed lease Id.\n * @returns A new BlobLeaseClient object for managing leases on the container.\n */\n public getBlobLeaseClient(proposeLeaseId?: string): BlobLeaseClient {\n return new BlobLeaseClient(this, proposeLeaseId);\n }\n\n /**\n * Creates a new block blob, or updates the content of an existing block blob.\n *\n * Updating an existing block blob overwrites any existing metadata on the blob.\n * Partial updates are not supported; the content of the existing blob is\n * overwritten with the new content. To perform a partial update of a block blob's,\n * use {@link BlockBlobClient.stageBlock} and {@link BlockBlobClient.commitBlockList}.\n *\n * This is a non-parallel uploading method, please use {@link BlockBlobClient.uploadFile},\n * {@link BlockBlobClient.uploadStream} or {@link BlockBlobClient.uploadBrowserData} for better\n * performance with concurrency uploading.\n *\n * @see https://docs.microsoft.com/rest/api/storageservices/put-blob\n *\n * @param blobName - Name of the block blob to create or update.\n * @param body - Blob, string, ArrayBuffer, ArrayBufferView or a function\n * which returns a new Readable stream whose offset is from data source beginning.\n * @param contentLength - Length of body in bytes. Use Buffer.byteLength() to calculate body length for a\n * string including non non-Base64/Hex-encoded characters.\n * @param options - Options to configure the Block Blob Upload operation.\n * @returns Block Blob upload response data and the corresponding BlockBlobClient instance.\n */\n public async uploadBlockBlob(\n blobName: string,\n body: HttpRequestBody,\n contentLength: number,\n options: BlockBlobUploadOptions = {}\n ): Promise<{ blockBlobClient: BlockBlobClient; response: BlockBlobUploadResponse }> {\n const { span, updatedOptions } = createSpan(\"ContainerClient-uploadBlockBlob\", options);\n try {\n const blockBlobClient = this.getBlockBlobClient(blobName);\n const response = await blockBlobClient.upload(body, contentLength, updatedOptions);\n return {\n blockBlobClient,\n response,\n };\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Marks the specified blob or snapshot for deletion. The blob is later deleted\n * during garbage collection. Note that in order to delete a blob, you must delete\n * all of its snapshots. You can delete both at the same time with the Delete\n * Blob operation.\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/delete-blob\n *\n * @param blobName -\n * @param options - Options to Blob Delete operation.\n * @returns Block blob deletion response data.\n */\n public async deleteBlob(\n blobName: string,\n options: ContainerDeleteBlobOptions = {}\n ): Promise {\n const { span, updatedOptions } = createSpan(\"ContainerClient-deleteBlob\", options);\n try {\n let blobClient = this.getBlobClient(blobName);\n if (options.versionId) {\n blobClient = blobClient.withVersion(options.versionId);\n }\n return await blobClient.delete(updatedOptions);\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * listBlobFlatSegment returns a single segment of blobs starting from the\n * specified Marker. Use an empty Marker to start enumeration from the beginning.\n * After getting a segment, process it, and then call listBlobsFlatSegment again\n * (passing the the previously-returned Marker) to get the next segment.\n * @see https://docs.microsoft.com/rest/api/storageservices/list-blobs\n *\n * @param marker - A string value that identifies the portion of the list to be returned with the next list operation.\n * @param options - Options to Container List Blob Flat Segment operation.\n */\n private async listBlobFlatSegment(\n marker?: string,\n options: ContainerListBlobsSegmentOptions = {}\n ): Promise {\n const { span, updatedOptions } = createSpan(\"ContainerClient-listBlobFlatSegment\", options);\n try {\n const response = await this.containerContext.listBlobFlatSegment({\n marker,\n ...options,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n\n response.segment.blobItems = [];\n if ((response.segment as any)[\"Blob\"] !== undefined) {\n response.segment.blobItems = ProcessBlobItems((response.segment as any)[\"Blob\"]);\n }\n\n const wrappedResponse: ContainerListBlobFlatSegmentResponse = {\n ...response,\n _response: {\n ...response._response,\n parsedBody: ConvertInternalResponseOfListBlobFlat(response._response.parsedBody),\n }, // _response is made non-enumerable\n segment: {\n ...response.segment,\n blobItems: response.segment.blobItems.map((blobItemInteral) => {\n const blobItem: BlobItem = {\n ...blobItemInteral,\n name: BlobNameToString(blobItemInteral.name),\n tags: toTags(blobItemInteral.blobTags),\n objectReplicationSourceProperties: parseObjectReplicationRecord(\n blobItemInteral.objectReplicationMetadata\n ),\n };\n return blobItem;\n }),\n },\n };\n return wrappedResponse;\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * listBlobHierarchySegment returns a single segment of blobs starting from\n * the specified Marker. Use an empty Marker to start enumeration from the\n * beginning. After getting a segment, process it, and then call listBlobsHierarchicalSegment\n * again (passing the the previously-returned Marker) to get the next segment.\n * @see https://docs.microsoft.com/rest/api/storageservices/list-blobs\n *\n * @param delimiter - The character or string used to define the virtual hierarchy\n * @param marker - A string value that identifies the portion of the list to be returned with the next list operation.\n * @param options - Options to Container List Blob Hierarchy Segment operation.\n */\n private async listBlobHierarchySegment(\n delimiter: string,\n marker?: string,\n options: ContainerListBlobsSegmentOptions = {}\n ): Promise {\n const { span, updatedOptions } = createSpan(\n \"ContainerClient-listBlobHierarchySegment\",\n options\n );\n try {\n const response = await this.containerContext.listBlobHierarchySegment(delimiter, {\n marker,\n ...options,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n\n response.segment.blobItems = [];\n if ((response.segment as any)[\"Blob\"] !== undefined) {\n response.segment.blobItems = ProcessBlobItems((response.segment as any)[\"Blob\"]);\n }\n\n response.segment.blobPrefixes = [];\n if ((response.segment as any)[\"BlobPrefix\"] !== undefined) {\n response.segment.blobPrefixes = ProcessBlobPrefixes(\n (response.segment as any)[\"BlobPrefix\"]\n );\n }\n\n const wrappedResponse: ContainerListBlobHierarchySegmentResponse = {\n ...response,\n _response: {\n ...response._response,\n parsedBody: ConvertInternalResponseOfListBlobHierarchy(response._response.parsedBody),\n }, // _response is made non-enumerable\n segment: {\n ...response.segment,\n blobItems: response.segment.blobItems.map((blobItemInteral) => {\n const blobItem: BlobItem = {\n ...blobItemInteral,\n name: BlobNameToString(blobItemInteral.name),\n tags: toTags(blobItemInteral.blobTags),\n objectReplicationSourceProperties: parseObjectReplicationRecord(\n blobItemInteral.objectReplicationMetadata\n ),\n };\n return blobItem;\n }),\n blobPrefixes: response.segment.blobPrefixes?.map((blobPrefixInternal) => {\n const blobPrefix: BlobPrefix = {\n name: BlobNameToString(blobPrefixInternal.name),\n };\n return blobPrefix;\n }),\n },\n };\n return wrappedResponse;\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Returns an AsyncIterableIterator for ContainerListBlobFlatSegmentResponse\n *\n * @param marker - A string value that identifies the portion of\n * the list of blobs to be returned with the next listing operation. The\n * operation returns the ContinuationToken value within the response body if the\n * listing operation did not return all blobs remaining to be listed\n * with the current page. The ContinuationToken value can be used as the value for\n * the marker parameter in a subsequent call to request the next page of list\n * items. The marker value is opaque to the client.\n * @param options - Options to list blobs operation.\n */\n private async *listSegments(\n marker?: string,\n options: ContainerListBlobsSegmentOptions = {}\n ): AsyncIterableIterator {\n let listBlobsFlatSegmentResponse;\n if (!!marker || marker === undefined) {\n do {\n listBlobsFlatSegmentResponse = await this.listBlobFlatSegment(marker, options);\n marker = listBlobsFlatSegmentResponse.continuationToken;\n yield await listBlobsFlatSegmentResponse;\n } while (marker);\n }\n }\n\n /**\n * Returns an AsyncIterableIterator of {@link BlobItem} objects\n *\n * @param options - Options to list blobs operation.\n */\n private async *listItems(\n options: ContainerListBlobsSegmentOptions = {}\n ): AsyncIterableIterator {\n let marker: string | undefined;\n for await (const listBlobsFlatSegmentResponse of this.listSegments(marker, options)) {\n yield* listBlobsFlatSegmentResponse.segment.blobItems;\n }\n }\n\n /**\n * Returns an async iterable iterator to list all the blobs\n * under the specified account.\n *\n * .byPage() returns an async iterable iterator to list the blobs in pages.\n *\n * Example using `for await` syntax:\n *\n * ```js\n * // Get the containerClient before you run these snippets,\n * // Can be obtained from `blobServiceClient.getContainerClient(\"\");`\n * let i = 1;\n * for await (const blob of containerClient.listBlobsFlat()) {\n * console.log(`Blob ${i++}: ${blob.name}`);\n * }\n * ```\n *\n * Example using `iter.next()`:\n *\n * ```js\n * let i = 1;\n * let iter = containerClient.listBlobsFlat();\n * let blobItem = await iter.next();\n * while (!blobItem.done) {\n * console.log(`Blob ${i++}: ${blobItem.value.name}`);\n * blobItem = await iter.next();\n * }\n * ```\n *\n * Example using `byPage()`:\n *\n * ```js\n * // passing optional maxPageSize in the page settings\n * let i = 1;\n * for await (const response of containerClient.listBlobsFlat().byPage({ maxPageSize: 20 })) {\n * for (const blob of response.segment.blobItems) {\n * console.log(`Blob ${i++}: ${blob.name}`);\n * }\n * }\n * ```\n *\n * Example using paging with a marker:\n *\n * ```js\n * let i = 1;\n * let iterator = containerClient.listBlobsFlat().byPage({ maxPageSize: 2 });\n * let response = (await iterator.next()).value;\n *\n * // Prints 2 blob names\n * for (const blob of response.segment.blobItems) {\n * console.log(`Blob ${i++}: ${blob.name}`);\n * }\n *\n * // Gets next marker\n * let marker = response.continuationToken;\n *\n * // Passing next marker as continuationToken\n *\n * iterator = containerClient.listBlobsFlat().byPage({ continuationToken: marker, maxPageSize: 10 });\n * response = (await iterator.next()).value;\n *\n * // Prints 10 blob names\n * for (const blob of response.segment.blobItems) {\n * console.log(`Blob ${i++}: ${blob.name}`);\n * }\n * ```\n *\n * @param options - Options to list blobs.\n * @returns An asyncIterableIterator that supports paging.\n */\n public listBlobsFlat(\n options: ContainerListBlobsOptions = {}\n ): PagedAsyncIterableIterator {\n const include: ListBlobsIncludeItem[] = [];\n if (options.includeCopy) {\n include.push(\"copy\");\n }\n if (options.includeDeleted) {\n include.push(\"deleted\");\n }\n if (options.includeMetadata) {\n include.push(\"metadata\");\n }\n if (options.includeSnapshots) {\n include.push(\"snapshots\");\n }\n if (options.includeVersions) {\n include.push(\"versions\");\n }\n if (options.includeUncommitedBlobs) {\n include.push(\"uncommittedblobs\");\n }\n if (options.includeTags) {\n include.push(\"tags\");\n }\n if (options.includeDeletedWithVersions) {\n include.push(\"deletedwithversions\");\n }\n if (options.includeImmutabilityPolicy) {\n include.push(\"immutabilitypolicy\");\n }\n if (options.includeLegalHold) {\n include.push(\"legalhold\");\n }\n if (options.prefix === \"\") {\n options.prefix = undefined;\n }\n\n const updatedOptions: ContainerListBlobsSegmentOptions = {\n ...options,\n ...(include.length > 0 ? { include: include } : {}),\n };\n\n // AsyncIterableIterator to iterate over blobs\n const iter = this.listItems(updatedOptions);\n return {\n /**\n * The next method, part of the iteration protocol\n */\n next() {\n return iter.next();\n },\n /**\n * The connection to the async iterator, part of the iteration protocol\n */\n [Symbol.asyncIterator]() {\n return this;\n },\n /**\n * Return an AsyncIterableIterator that works a page at a time\n */\n byPage: (settings: PageSettings = {}) => {\n return this.listSegments(settings.continuationToken, {\n maxPageSize: settings.maxPageSize,\n ...updatedOptions,\n });\n },\n };\n }\n\n /**\n * Returns an AsyncIterableIterator for ContainerListBlobHierarchySegmentResponse\n *\n * @param delimiter - The character or string used to define the virtual hierarchy\n * @param marker - A string value that identifies the portion of\n * the list of blobs to be returned with the next listing operation. The\n * operation returns the ContinuationToken value within the response body if the\n * listing operation did not return all blobs remaining to be listed\n * with the current page. The ContinuationToken value can be used as the value for\n * the marker parameter in a subsequent call to request the next page of list\n * items. The marker value is opaque to the client.\n * @param options - Options to list blobs operation.\n */\n private async *listHierarchySegments(\n delimiter: string,\n marker?: string,\n options: ContainerListBlobsSegmentOptions = {}\n ): AsyncIterableIterator {\n let listBlobsHierarchySegmentResponse;\n if (!!marker || marker === undefined) {\n do {\n listBlobsHierarchySegmentResponse = await this.listBlobHierarchySegment(\n delimiter,\n marker,\n options\n );\n marker = listBlobsHierarchySegmentResponse.continuationToken;\n yield await listBlobsHierarchySegmentResponse;\n } while (marker);\n }\n }\n\n /**\n * Returns an AsyncIterableIterator for {@link BlobPrefix} and {@link BlobItem} objects.\n *\n * @param delimiter - The character or string used to define the virtual hierarchy\n * @param options - Options to list blobs operation.\n */\n private async *listItemsByHierarchy(\n delimiter: string,\n options: ContainerListBlobsSegmentOptions = {}\n ): AsyncIterableIterator<({ kind: \"prefix\" } & BlobPrefix) | ({ kind: \"blob\" } & BlobItem)> {\n let marker: string | undefined;\n for await (const listBlobsHierarchySegmentResponse of this.listHierarchySegments(\n delimiter,\n marker,\n options\n )) {\n const segment = listBlobsHierarchySegmentResponse.segment;\n if (segment.blobPrefixes) {\n for (const prefix of segment.blobPrefixes) {\n yield {\n kind: \"prefix\",\n ...prefix,\n };\n }\n }\n for (const blob of segment.blobItems) {\n yield { kind: \"blob\", ...blob };\n }\n }\n }\n\n /**\n * Returns an async iterable iterator to list all the blobs by hierarchy.\n * under the specified account.\n *\n * .byPage() returns an async iterable iterator to list the blobs by hierarchy in pages.\n *\n * Example using `for await` syntax:\n *\n * ```js\n * for await (const item of containerClient.listBlobsByHierarchy(\"/\")) {\n * if (item.kind === \"prefix\") {\n * console.log(`\\tBlobPrefix: ${item.name}`);\n * } else {\n * console.log(`\\tBlobItem: name - ${item.name}`);\n * }\n * }\n * ```\n *\n * Example using `iter.next()`:\n *\n * ```js\n * let iter = containerClient.listBlobsByHierarchy(\"/\", { prefix: \"prefix1/\" });\n * let entity = await iter.next();\n * while (!entity.done) {\n * let item = entity.value;\n * if (item.kind === \"prefix\") {\n * console.log(`\\tBlobPrefix: ${item.name}`);\n * } else {\n * console.log(`\\tBlobItem: name - ${item.name}`);\n * }\n * entity = await iter.next();\n * }\n * ```\n *\n * Example using `byPage()`:\n *\n * ```js\n * console.log(\"Listing blobs by hierarchy by page\");\n * for await (const response of containerClient.listBlobsByHierarchy(\"/\").byPage()) {\n * const segment = response.segment;\n * if (segment.blobPrefixes) {\n * for (const prefix of segment.blobPrefixes) {\n * console.log(`\\tBlobPrefix: ${prefix.name}`);\n * }\n * }\n * for (const blob of response.segment.blobItems) {\n * console.log(`\\tBlobItem: name - ${blob.name}`);\n * }\n * }\n * ```\n *\n * Example using paging with a max page size:\n *\n * ```js\n * console.log(\"Listing blobs by hierarchy by page, specifying a prefix and a max page size\");\n *\n * let i = 1;\n * for await (const response of containerClient\n * .listBlobsByHierarchy(\"/\", { prefix: \"prefix2/sub1/\" })\n * .byPage({ maxPageSize: 2 })) {\n * console.log(`Page ${i++}`);\n * const segment = response.segment;\n *\n * if (segment.blobPrefixes) {\n * for (const prefix of segment.blobPrefixes) {\n * console.log(`\\tBlobPrefix: ${prefix.name}`);\n * }\n * }\n *\n * for (const blob of response.segment.blobItems) {\n * console.log(`\\tBlobItem: name - ${blob.name}`);\n * }\n * }\n * ```\n *\n * @param delimiter - The character or string used to define the virtual hierarchy\n * @param options - Options to list blobs operation.\n */\n public listBlobsByHierarchy(\n delimiter: string,\n options: ContainerListBlobsOptions = {}\n ): PagedAsyncIterableIterator<\n ({ kind: \"prefix\" } & BlobPrefix) | ({ kind: \"blob\" } & BlobItem),\n ContainerListBlobHierarchySegmentResponse\n > {\n if (delimiter === \"\") {\n throw new RangeError(\"delimiter should contain one or more characters\");\n }\n\n const include: ListBlobsIncludeItem[] = [];\n if (options.includeCopy) {\n include.push(\"copy\");\n }\n if (options.includeDeleted) {\n include.push(\"deleted\");\n }\n if (options.includeMetadata) {\n include.push(\"metadata\");\n }\n if (options.includeSnapshots) {\n include.push(\"snapshots\");\n }\n if (options.includeVersions) {\n include.push(\"versions\");\n }\n if (options.includeUncommitedBlobs) {\n include.push(\"uncommittedblobs\");\n }\n if (options.includeTags) {\n include.push(\"tags\");\n }\n if (options.includeDeletedWithVersions) {\n include.push(\"deletedwithversions\");\n }\n if (options.includeImmutabilityPolicy) {\n include.push(\"immutabilitypolicy\");\n }\n if (options.includeLegalHold) {\n include.push(\"legalhold\");\n }\n if (options.prefix === \"\") {\n options.prefix = undefined;\n }\n\n const updatedOptions: ContainerListBlobsSegmentOptions = {\n ...options,\n ...(include.length > 0 ? { include: include } : {}),\n };\n // AsyncIterableIterator to iterate over blob prefixes and blobs\n const iter = this.listItemsByHierarchy(delimiter, updatedOptions);\n return {\n /**\n * The next method, part of the iteration protocol\n */\n async next() {\n return iter.next();\n },\n /**\n * The connection to the async iterator, part of the iteration protocol\n */\n [Symbol.asyncIterator]() {\n return this;\n },\n /**\n * Return an AsyncIterableIterator that works a page at a time\n */\n byPage: (settings: PageSettings = {}) => {\n return this.listHierarchySegments(delimiter, settings.continuationToken, {\n maxPageSize: settings.maxPageSize,\n ...updatedOptions,\n });\n },\n };\n }\n\n /**\n * The Filter Blobs operation enables callers to list blobs in the container whose tags\n * match a given search expression.\n *\n * @param tagFilterSqlExpression - The where parameter enables the caller to query blobs whose tags match a given expression.\n * The given expression must evaluate to true for a blob to be returned in the results.\n * The[OData - ABNF] filter syntax rule defines the formal grammar for the value of the where query parameter;\n * however, only a subset of the OData filter syntax is supported in the Blob service.\n * @param marker - A string value that identifies the portion of\n * the list of blobs to be returned with the next listing operation. The\n * operation returns the continuationToken value within the response body if the\n * listing operation did not return all blobs remaining to be listed\n * with the current page. The continuationToken value can be used as the value for\n * the marker parameter in a subsequent call to request the next page of list\n * items. The marker value is opaque to the client.\n * @param options - Options to find blobs by tags.\n */\n private async findBlobsByTagsSegment(\n tagFilterSqlExpression: string,\n marker?: string,\n options: ContainerFindBlobsByTagsSegmentOptions = {}\n ): Promise {\n const { span, updatedOptions } = createSpan(\"ContainerClient-findBlobsByTagsSegment\", options);\n\n try {\n const response = await this.containerContext.filterBlobs({\n abortSignal: options.abortSignal,\n where: tagFilterSqlExpression,\n marker,\n maxPageSize: options.maxPageSize,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n\n const wrappedResponse: ContainerFindBlobsByTagsSegmentResponse = {\n ...response,\n _response: response._response, // _response is made non-enumerable\n blobs: response.blobs.map((blob) => {\n let tagValue = \"\";\n if (blob.tags?.blobTagSet.length === 1) {\n tagValue = blob.tags.blobTagSet[0].value;\n }\n return { ...blob, tags: toTags(blob.tags), tagValue };\n }),\n };\n return wrappedResponse;\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Returns an AsyncIterableIterator for ContainerFindBlobsByTagsSegmentResponse.\n *\n * @param tagFilterSqlExpression - The where parameter enables the caller to query blobs whose tags match a given expression.\n * The given expression must evaluate to true for a blob to be returned in the results.\n * The[OData - ABNF] filter syntax rule defines the formal grammar for the value of the where query parameter;\n * however, only a subset of the OData filter syntax is supported in the Blob service.\n * @param marker - A string value that identifies the portion of\n * the list of blobs to be returned with the next listing operation. The\n * operation returns the continuationToken value within the response body if the\n * listing operation did not return all blobs remaining to be listed\n * with the current page. The continuationToken value can be used as the value for\n * the marker parameter in a subsequent call to request the next page of list\n * items. The marker value is opaque to the client.\n * @param options - Options to find blobs by tags.\n */\n private async *findBlobsByTagsSegments(\n tagFilterSqlExpression: string,\n marker?: string,\n options: ContainerFindBlobsByTagsSegmentOptions = {}\n ): AsyncIterableIterator {\n let response;\n if (!!marker || marker === undefined) {\n do {\n response = await this.findBlobsByTagsSegment(tagFilterSqlExpression, marker, options);\n response.blobs = response.blobs || [];\n marker = response.continuationToken;\n yield response;\n } while (marker);\n }\n }\n\n /**\n * Returns an AsyncIterableIterator for blobs.\n *\n * @param tagFilterSqlExpression - The where parameter enables the caller to query blobs whose tags match a given expression.\n * The given expression must evaluate to true for a blob to be returned in the results.\n * The[OData - ABNF] filter syntax rule defines the formal grammar for the value of the where query parameter;\n * however, only a subset of the OData filter syntax is supported in the Blob service.\n * @param options - Options to findBlobsByTagsItems.\n */\n private async *findBlobsByTagsItems(\n tagFilterSqlExpression: string,\n options: ContainerFindBlobsByTagsSegmentOptions = {}\n ): AsyncIterableIterator {\n let marker: string | undefined;\n for await (const segment of this.findBlobsByTagsSegments(\n tagFilterSqlExpression,\n marker,\n options\n )) {\n yield* segment.blobs;\n }\n }\n\n /**\n * Returns an async iterable iterator to find all blobs with specified tag\n * under the specified container.\n *\n * .byPage() returns an async iterable iterator to list the blobs in pages.\n *\n * Example using `for await` syntax:\n *\n * ```js\n * let i = 1;\n * for await (const blob of containerClient.findBlobsByTags(\"tagkey='tagvalue'\")) {\n * console.log(`Blob ${i++}: ${blob.name}`);\n * }\n * ```\n *\n * Example using `iter.next()`:\n *\n * ```js\n * let i = 1;\n * const iter = containerClient.findBlobsByTags(\"tagkey='tagvalue'\");\n * let blobItem = await iter.next();\n * while (!blobItem.done) {\n * console.log(`Blob ${i++}: ${blobItem.value.name}`);\n * blobItem = await iter.next();\n * }\n * ```\n *\n * Example using `byPage()`:\n *\n * ```js\n * // passing optional maxPageSize in the page settings\n * let i = 1;\n * for await (const response of containerClient.findBlobsByTags(\"tagkey='tagvalue'\").byPage({ maxPageSize: 20 })) {\n * if (response.blobs) {\n * for (const blob of response.blobs) {\n * console.log(`Blob ${i++}: ${blob.name}`);\n * }\n * }\n * }\n * ```\n *\n * Example using paging with a marker:\n *\n * ```js\n * let i = 1;\n * let iterator = containerClient.findBlobsByTags(\"tagkey='tagvalue'\").byPage({ maxPageSize: 2 });\n * let response = (await iterator.next()).value;\n *\n * // Prints 2 blob names\n * if (response.blobs) {\n * for (const blob of response.blobs) {\n * console.log(`Blob ${i++}: ${blob.name}`);\n * }\n * }\n *\n * // Gets next marker\n * let marker = response.continuationToken;\n * // Passing next marker as continuationToken\n * iterator = containerClient\n * .findBlobsByTags(\"tagkey='tagvalue'\")\n * .byPage({ continuationToken: marker, maxPageSize: 10 });\n * response = (await iterator.next()).value;\n *\n * // Prints blob names\n * if (response.blobs) {\n * for (const blob of response.blobs) {\n * console.log(`Blob ${i++}: ${blob.name}`);\n * }\n * }\n * ```\n *\n * @param tagFilterSqlExpression - The where parameter enables the caller to query blobs whose tags match a given expression.\n * The given expression must evaluate to true for a blob to be returned in the results.\n * The[OData - ABNF] filter syntax rule defines the formal grammar for the value of the where query parameter;\n * however, only a subset of the OData filter syntax is supported in the Blob service.\n * @param options - Options to find blobs by tags.\n */\n public findBlobsByTags(\n tagFilterSqlExpression: string,\n options: ContainerFindBlobByTagsOptions = {}\n ): PagedAsyncIterableIterator {\n // AsyncIterableIterator to iterate over blobs\n const listSegmentOptions: ContainerFindBlobsByTagsSegmentOptions = {\n ...options,\n };\n\n const iter = this.findBlobsByTagsItems(tagFilterSqlExpression, listSegmentOptions);\n return {\n /**\n * The next method, part of the iteration protocol\n */\n next() {\n return iter.next();\n },\n /**\n * The connection to the async iterator, part of the iteration protocol\n */\n [Symbol.asyncIterator]() {\n return this;\n },\n /**\n * Return an AsyncIterableIterator that works a page at a time\n */\n byPage: (settings: PageSettings = {}) => {\n return this.findBlobsByTagsSegments(tagFilterSqlExpression, settings.continuationToken, {\n maxPageSize: settings.maxPageSize,\n ...listSegmentOptions,\n });\n },\n };\n }\n\n private getContainerNameFromUrl(): string {\n let containerName;\n try {\n // URL may look like the following\n // \"https://myaccount.blob.core.windows.net/mycontainer?sasString\";\n // \"https://myaccount.blob.core.windows.net/mycontainer\";\n // IPv4/IPv6 address hosts, Endpoints - `http://127.0.0.1:10000/devstoreaccount1/containername`\n // http://localhost:10001/devstoreaccount1/containername\n\n const parsedUrl = URLBuilder.parse(this.url);\n\n if (parsedUrl.getHost()!.split(\".\")[1] === \"blob\") {\n // \"https://myaccount.blob.core.windows.net/containername\".\n // \"https://customdomain.com/containername\".\n // .getPath() -> /containername\n containerName = parsedUrl.getPath()!.split(\"/\")[1];\n } else if (isIpEndpointStyle(parsedUrl)) {\n // IPv4/IPv6 address hosts... Example - http://192.0.0.10:10001/devstoreaccount1/containername\n // Single word domain without a [dot] in the endpoint... Example - http://localhost:10001/devstoreaccount1/containername\n // .getPath() -> /devstoreaccount1/containername\n containerName = parsedUrl.getPath()!.split(\"/\")[2];\n } else {\n // \"https://customdomain.com/containername\".\n // .getPath() -> /containername\n containerName = parsedUrl.getPath()!.split(\"/\")[1];\n }\n\n // decode the encoded containerName - to get all the special characters that might be present in it\n containerName = decodeURIComponent(containerName);\n\n if (!containerName) {\n throw new Error(\"Provided containerName is invalid.\");\n }\n\n return containerName;\n } catch (error: any) {\n throw new Error(\"Unable to extract containerName with provided information.\");\n }\n }\n\n /**\n * Only available for ContainerClient constructed with a shared key credential.\n *\n * Generates a Blob Container Service Shared Access Signature (SAS) URI based on the client properties\n * and parameters passed in. The SAS is signed by the shared key credential of the client.\n *\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas\n *\n * @param options - Optional parameters.\n * @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.\n */\n public generateSasUrl(options: ContainerGenerateSasUrlOptions): Promise {\n return new Promise((resolve) => {\n if (!(this.credential instanceof StorageSharedKeyCredential)) {\n throw new RangeError(\n \"Can only generate the SAS when the client is initialized with a shared key credential\"\n );\n }\n\n const sas = generateBlobSASQueryParameters(\n {\n containerName: this._containerName,\n ...options,\n },\n this.credential\n ).toString();\n\n resolve(appendToURLQuery(this.url, sas));\n });\n }\n\n /**\n * Creates a BlobBatchClient object to conduct batch operations.\n *\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/blob-batch\n *\n * @returns A new BlobBatchClient object for this container.\n */\n public getBlobBatchClient(): BlobBatchClient {\n return new BlobBatchClient(this.url, this.pipeline);\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\n/**\n * ONLY AVAILABLE IN NODE.JS RUNTIME.\n *\n * This is a helper class to construct a string representing the permissions granted by an AccountSAS. Setting a value\n * to true means that any SAS which uses these permissions will grant permissions for that operation. Once all the\n * values are set, this should be serialized with toString and set as the permissions field on an\n * {@link AccountSASSignatureValues} object. It is possible to construct the permissions string without this class, but\n * the order of the permissions is particular and this class guarantees correctness.\n */\nexport class AccountSASPermissions {\n /**\n * Parse initializes the AccountSASPermissions fields from a string.\n *\n * @param permissions -\n */\n public static parse(permissions: string): AccountSASPermissions {\n const accountSASPermissions = new AccountSASPermissions();\n\n for (const c of permissions) {\n switch (c) {\n case \"r\":\n accountSASPermissions.read = true;\n break;\n case \"w\":\n accountSASPermissions.write = true;\n break;\n case \"d\":\n accountSASPermissions.delete = true;\n break;\n case \"x\":\n accountSASPermissions.deleteVersion = true;\n break;\n case \"l\":\n accountSASPermissions.list = true;\n break;\n case \"a\":\n accountSASPermissions.add = true;\n break;\n case \"c\":\n accountSASPermissions.create = true;\n break;\n case \"u\":\n accountSASPermissions.update = true;\n break;\n case \"p\":\n accountSASPermissions.process = true;\n break;\n case \"t\":\n accountSASPermissions.tag = true;\n break;\n case \"f\":\n accountSASPermissions.filter = true;\n break;\n case \"i\":\n accountSASPermissions.setImmutabilityPolicy = true;\n break;\n case \"y\":\n accountSASPermissions.permanentDelete = true;\n break;\n default:\n throw new RangeError(`Invalid permission character: ${c}`);\n }\n }\n\n return accountSASPermissions;\n }\n\n /**\n * Creates a {@link AccountSASPermissions} from a raw object which contains same keys as it\n * and boolean values for them.\n *\n * @param permissionLike -\n */\n public static from(permissionLike: AccountSASPermissionsLike): AccountSASPermissions {\n const accountSASPermissions = new AccountSASPermissions();\n if (permissionLike.read) {\n accountSASPermissions.read = true;\n }\n if (permissionLike.write) {\n accountSASPermissions.write = true;\n }\n if (permissionLike.delete) {\n accountSASPermissions.delete = true;\n }\n if (permissionLike.deleteVersion) {\n accountSASPermissions.deleteVersion = true;\n }\n if (permissionLike.filter) {\n accountSASPermissions.filter = true;\n }\n if (permissionLike.tag) {\n accountSASPermissions.tag = true;\n }\n if (permissionLike.list) {\n accountSASPermissions.list = true;\n }\n if (permissionLike.add) {\n accountSASPermissions.add = true;\n }\n if (permissionLike.create) {\n accountSASPermissions.create = true;\n }\n if (permissionLike.update) {\n accountSASPermissions.update = true;\n }\n if (permissionLike.process) {\n accountSASPermissions.process = true;\n }\n if (permissionLike.setImmutabilityPolicy) {\n accountSASPermissions.setImmutabilityPolicy = true;\n }\n if (permissionLike.permanentDelete) {\n accountSASPermissions.permanentDelete = true;\n }\n return accountSASPermissions;\n }\n\n /**\n * Permission to read resources and list queues and tables granted.\n */\n public read: boolean = false;\n\n /**\n * Permission to write resources granted.\n */\n public write: boolean = false;\n\n /**\n * Permission to create blobs and files granted.\n */\n public delete: boolean = false;\n\n /**\n * Permission to delete versions granted.\n */\n public deleteVersion: boolean = false;\n\n /**\n * Permission to list blob containers, blobs, shares, directories, and files granted.\n */\n public list: boolean = false;\n\n /**\n * Permission to add messages, table entities, and append to blobs granted.\n */\n public add: boolean = false;\n\n /**\n * Permission to create blobs and files granted.\n */\n public create: boolean = false;\n\n /**\n * Permissions to update messages and table entities granted.\n */\n public update: boolean = false;\n\n /**\n * Permission to get and delete messages granted.\n */\n public process: boolean = false;\n\n /**\n * Specfies Tag access granted.\n */\n public tag: boolean = false;\n\n /**\n * Permission to filter blobs.\n */\n public filter: boolean = false;\n\n /**\n * Permission to set immutability policy.\n */\n public setImmutabilityPolicy: boolean = false;\n\n /**\n * Specifies that Permanent Delete is permitted.\n */\n public permanentDelete: boolean = false;\n\n /**\n * Produces the SAS permissions string for an Azure Storage account.\n * Call this method to set AccountSASSignatureValues Permissions field.\n *\n * Using this method will guarantee the resource types are in\n * an order accepted by the service.\n *\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/constructing-an-account-sas\n *\n */\n public toString(): string {\n // The order of the characters should be as specified here to ensure correctness:\n // https://docs.microsoft.com/en-us/rest/api/storageservices/constructing-an-account-sas\n // Use a string array instead of string concatenating += operator for performance\n const permissions: string[] = [];\n if (this.read) {\n permissions.push(\"r\");\n }\n if (this.write) {\n permissions.push(\"w\");\n }\n if (this.delete) {\n permissions.push(\"d\");\n }\n if (this.deleteVersion) {\n permissions.push(\"x\");\n }\n if (this.filter) {\n permissions.push(\"f\");\n }\n if (this.tag) {\n permissions.push(\"t\");\n }\n if (this.list) {\n permissions.push(\"l\");\n }\n if (this.add) {\n permissions.push(\"a\");\n }\n if (this.create) {\n permissions.push(\"c\");\n }\n if (this.update) {\n permissions.push(\"u\");\n }\n if (this.process) {\n permissions.push(\"p\");\n }\n if (this.setImmutabilityPolicy) {\n permissions.push(\"i\");\n }\n if (this.permanentDelete) {\n permissions.push(\"y\");\n }\n return permissions.join(\"\");\n }\n}\n\n/**\n * A type that looks like an account SAS permission.\n * Used in {@link AccountSASPermissions} to parse SAS permissions from raw objects.\n */\nexport interface AccountSASPermissionsLike {\n /**\n * Permission to read resources and list queues and tables granted.\n */\n read?: boolean;\n\n /**\n * Permission to write resources granted.\n */\n write?: boolean;\n\n /**\n * Permission to delete blobs and files granted.\n */\n delete?: boolean;\n\n /**\n * Permission to delete versions granted.\n */\n deleteVersion?: boolean;\n\n /**\n * Permission to list blob containers, blobs, shares, directories, and files granted.\n */\n list?: boolean;\n\n /**\n * Permission to add messages, table entities, and append to blobs granted.\n */\n add?: boolean;\n\n /**\n * Permission to create blobs and files granted.\n */\n create?: boolean;\n\n /**\n * Permissions to update messages and table entities granted.\n */\n update?: boolean;\n\n /**\n * Permission to get and delete messages granted.\n */\n process?: boolean;\n\n /**\n * Specfies Tag access granted.\n */\n tag?: boolean;\n\n /**\n * Permission to filter blobs.\n */\n filter?: boolean;\n\n /**\n * Permission to set immutability policy.\n */\n setImmutabilityPolicy?: boolean;\n\n /**\n * Specifies that Permanent Delete is permitted.\n */\n permanentDelete?: boolean;\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\n/**\n * ONLY AVAILABLE IN NODE.JS RUNTIME.\n *\n * This is a helper class to construct a string representing the resources accessible by an AccountSAS. Setting a value\n * to true means that any SAS which uses these permissions will grant access to that resource type. Once all the\n * values are set, this should be serialized with toString and set as the resources field on an\n * {@link AccountSASSignatureValues} object. It is possible to construct the resources string without this class, but\n * the order of the resources is particular and this class guarantees correctness.\n */\nexport class AccountSASResourceTypes {\n /**\n * Creates an {@link AccountSASResourceTypes} from the specified resource types string. This method will throw an\n * Error if it encounters a character that does not correspond to a valid resource type.\n *\n * @param resourceTypes -\n */\n public static parse(resourceTypes: string): AccountSASResourceTypes {\n const accountSASResourceTypes = new AccountSASResourceTypes();\n\n for (const c of resourceTypes) {\n switch (c) {\n case \"s\":\n accountSASResourceTypes.service = true;\n break;\n case \"c\":\n accountSASResourceTypes.container = true;\n break;\n case \"o\":\n accountSASResourceTypes.object = true;\n break;\n default:\n throw new RangeError(`Invalid resource type: ${c}`);\n }\n }\n\n return accountSASResourceTypes;\n }\n\n /**\n * Permission to access service level APIs granted.\n */\n public service: boolean = false;\n\n /**\n * Permission to access container level APIs (Blob Containers, Tables, Queues, File Shares) granted.\n */\n public container: boolean = false;\n\n /**\n * Permission to access object level APIs (Blobs, Table Entities, Queue Messages, Files) granted.\n */\n public object: boolean = false;\n\n /**\n * Converts the given resource types to a string.\n *\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/constructing-an-account-sas\n *\n */\n public toString(): string {\n const resourceTypes: string[] = [];\n if (this.service) {\n resourceTypes.push(\"s\");\n }\n if (this.container) {\n resourceTypes.push(\"c\");\n }\n if (this.object) {\n resourceTypes.push(\"o\");\n }\n return resourceTypes.join(\"\");\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\n/**\n * ONLY AVAILABLE IN NODE.JS RUNTIME.\n *\n * This is a helper class to construct a string representing the services accessible by an AccountSAS. Setting a value\n * to true means that any SAS which uses these permissions will grant access to that service. Once all the\n * values are set, this should be serialized with toString and set as the services field on an\n * {@link AccountSASSignatureValues} object. It is possible to construct the services string without this class, but\n * the order of the services is particular and this class guarantees correctness.\n */\nexport class AccountSASServices {\n /**\n * Creates an {@link AccountSASServices} from the specified services string. This method will throw an\n * Error if it encounters a character that does not correspond to a valid service.\n *\n * @param services -\n */\n public static parse(services: string): AccountSASServices {\n const accountSASServices = new AccountSASServices();\n\n for (const c of services) {\n switch (c) {\n case \"b\":\n accountSASServices.blob = true;\n break;\n case \"f\":\n accountSASServices.file = true;\n break;\n case \"q\":\n accountSASServices.queue = true;\n break;\n case \"t\":\n accountSASServices.table = true;\n break;\n default:\n throw new RangeError(`Invalid service character: ${c}`);\n }\n }\n\n return accountSASServices;\n }\n\n /**\n * Permission to access blob resources granted.\n */\n public blob: boolean = false;\n\n /**\n * Permission to access file resources granted.\n */\n public file: boolean = false;\n\n /**\n * Permission to access queue resources granted.\n */\n public queue: boolean = false;\n\n /**\n * Permission to access table resources granted.\n */\n public table: boolean = false;\n\n /**\n * Converts the given services to a string.\n *\n */\n public toString(): string {\n const services: string[] = [];\n if (this.blob) {\n services.push(\"b\");\n }\n if (this.table) {\n services.push(\"t\");\n }\n if (this.queue) {\n services.push(\"q\");\n }\n if (this.file) {\n services.push(\"f\");\n }\n return services.join(\"\");\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { AccountSASPermissions } from \"./AccountSASPermissions\";\nimport { AccountSASResourceTypes } from \"./AccountSASResourceTypes\";\nimport { AccountSASServices } from \"./AccountSASServices\";\nimport { StorageSharedKeyCredential } from \"../credentials/StorageSharedKeyCredential\";\nimport { SasIPRange, ipRangeToString } from \"./SasIPRange\";\nimport { SASProtocol, SASQueryParameters } from \"./SASQueryParameters\";\nimport { SERVICE_VERSION } from \"../utils/constants\";\nimport { truncatedISO8061Date } from \"../utils/utils.common\";\n\n/**\n * ONLY AVAILABLE IN NODE.JS RUNTIME.\n *\n * AccountSASSignatureValues is used to generate a Shared Access Signature (SAS) for an Azure Storage account. Once\n * all the values here are set appropriately, call {@link generateAccountSASQueryParameters} to obtain a representation\n * of the SAS which can actually be applied to blob urls. Note: that both this class and {@link SASQueryParameters}\n * exist because the former is mutable and a logical representation while the latter is immutable and used to generate\n * actual REST requests.\n *\n * @see https://docs.microsoft.com/en-us/azure/storage/common/storage-dotnet-shared-access-signature-part-1\n * for more conceptual information on SAS\n *\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/constructing-an-account-sas\n * for descriptions of the parameters, including which are required\n */\nexport interface AccountSASSignatureValues {\n /**\n * If not provided, this defaults to the service version targeted by this version of the library.\n */\n version?: string;\n\n /**\n * Optional. SAS protocols allowed.\n */\n protocol?: SASProtocol;\n\n /**\n * Optional. When the SAS will take effect.\n */\n startsOn?: Date;\n\n /**\n * The time after which the SAS will no longer work.\n */\n expiresOn: Date;\n\n /**\n * Specifies which operations the SAS user may perform. Please refer to {@link AccountSASPermissions} for help\n * constructing the permissions string.\n */\n permissions: AccountSASPermissions;\n\n /**\n * Optional. IP range allowed.\n */\n ipRange?: SasIPRange;\n\n /**\n * The values that indicate the services accessible with this SAS. Please refer to {@link AccountSASServices} to\n * construct this value.\n */\n services: string;\n\n /**\n * The values that indicate the resource types accessible with this SAS. Please refer\n * to {@link AccountSASResourceTypes} to construct this value.\n */\n resourceTypes: string;\n\n /**\n * Optional. Encryption scope to use when sending requests authorized with this SAS URI.\n */\n encryptionScope?: string;\n}\n\n/**\n * ONLY AVAILABLE IN NODE.JS RUNTIME.\n *\n * Generates a {@link SASQueryParameters} object which contains all SAS query parameters needed to make an actual\n * REST request.\n *\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/constructing-an-account-sas\n *\n * @param accountSASSignatureValues -\n * @param sharedKeyCredential -\n */\nexport function generateAccountSASQueryParameters(\n accountSASSignatureValues: AccountSASSignatureValues,\n sharedKeyCredential: StorageSharedKeyCredential\n): SASQueryParameters {\n const version = accountSASSignatureValues.version\n ? accountSASSignatureValues.version\n : SERVICE_VERSION;\n\n if (\n accountSASSignatureValues.permissions &&\n accountSASSignatureValues.permissions.setImmutabilityPolicy &&\n version < \"2020-08-04\"\n ) {\n throw RangeError(\"'version' must be >= '2020-08-04' when provided 'i' permission.\");\n }\n\n if (\n accountSASSignatureValues.permissions &&\n accountSASSignatureValues.permissions.deleteVersion &&\n version < \"2019-10-10\"\n ) {\n throw RangeError(\"'version' must be >= '2019-10-10' when provided 'x' permission.\");\n }\n\n if (\n accountSASSignatureValues.permissions &&\n accountSASSignatureValues.permissions.permanentDelete &&\n version < \"2019-10-10\"\n ) {\n throw RangeError(\"'version' must be >= '2019-10-10' when provided 'y' permission.\");\n }\n\n if (\n accountSASSignatureValues.permissions &&\n accountSASSignatureValues.permissions.tag &&\n version < \"2019-12-12\"\n ) {\n throw RangeError(\"'version' must be >= '2019-12-12' when provided 't' permission.\");\n }\n\n if (\n accountSASSignatureValues.permissions &&\n accountSASSignatureValues.permissions.filter &&\n version < \"2019-12-12\"\n ) {\n throw RangeError(\"'version' must be >= '2019-12-12' when provided 'f' permission.\");\n }\n\n if (accountSASSignatureValues.encryptionScope && version < \"2020-12-06\") {\n throw RangeError(\"'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.\");\n }\n\n const parsedPermissions = AccountSASPermissions.parse(\n accountSASSignatureValues.permissions.toString()\n );\n const parsedServices = AccountSASServices.parse(accountSASSignatureValues.services).toString();\n const parsedResourceTypes = AccountSASResourceTypes.parse(\n accountSASSignatureValues.resourceTypes\n ).toString();\n\n let stringToSign: string;\n\n if (version >= \"2020-12-06\") {\n stringToSign = [\n sharedKeyCredential.accountName,\n parsedPermissions,\n parsedServices,\n parsedResourceTypes,\n accountSASSignatureValues.startsOn\n ? truncatedISO8061Date(accountSASSignatureValues.startsOn, false)\n : \"\",\n truncatedISO8061Date(accountSASSignatureValues.expiresOn, false),\n accountSASSignatureValues.ipRange ? ipRangeToString(accountSASSignatureValues.ipRange) : \"\",\n accountSASSignatureValues.protocol ? accountSASSignatureValues.protocol : \"\",\n version,\n accountSASSignatureValues.encryptionScope ? accountSASSignatureValues.encryptionScope : \"\",\n \"\", // Account SAS requires an additional newline character\n ].join(\"\\n\");\n } else {\n stringToSign = [\n sharedKeyCredential.accountName,\n parsedPermissions,\n parsedServices,\n parsedResourceTypes,\n accountSASSignatureValues.startsOn\n ? truncatedISO8061Date(accountSASSignatureValues.startsOn, false)\n : \"\",\n truncatedISO8061Date(accountSASSignatureValues.expiresOn, false),\n accountSASSignatureValues.ipRange ? ipRangeToString(accountSASSignatureValues.ipRange) : \"\",\n accountSASSignatureValues.protocol ? accountSASSignatureValues.protocol : \"\",\n version,\n \"\", // Account SAS requires an additional newline character\n ].join(\"\\n\");\n }\n\n const signature: string = sharedKeyCredential.computeHMACSHA256(stringToSign);\n\n return new SASQueryParameters(\n version,\n signature,\n parsedPermissions.toString(),\n parsedServices,\n parsedResourceTypes,\n accountSASSignatureValues.protocol,\n accountSASSignatureValues.startsOn,\n accountSASSignatureValues.expiresOn,\n accountSASSignatureValues.ipRange,\n undefined,\n undefined,\n undefined,\n undefined,\n undefined,\n undefined,\n undefined,\n undefined,\n undefined,\n undefined,\n accountSASSignatureValues.encryptionScope\n );\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\nimport {\n TokenCredential,\n isTokenCredential,\n isNode,\n HttpResponse,\n getDefaultProxySettings,\n} from \"@azure/core-http\";\nimport { SpanStatusCode } from \"@azure/core-tracing\";\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport {\n ServiceGetUserDelegationKeyHeaders,\n ContainerCreateResponse,\n ContainerDeleteResponse,\n ServiceGetPropertiesResponse,\n BlobServiceProperties,\n ServiceSetPropertiesResponse,\n ServiceGetStatisticsResponse,\n ServiceGetAccountInfoResponse,\n ServiceListContainersSegmentResponse,\n ContainerItem,\n UserDelegationKeyModel,\n ContainerUndeleteResponse,\n FilterBlobSegmentModel,\n ServiceFilterBlobsHeaders,\n ContainerRenameResponse,\n LeaseAccessConditions,\n FilterBlobSegment,\n FilterBlobItem,\n} from \"./generatedModels\";\nimport { Container, Service } from \"./generated/src/operations\";\nimport { newPipeline, StoragePipelineOptions, PipelineLike, isPipelineLike } from \"./Pipeline\";\nimport {\n ContainerClient,\n ContainerCreateOptions,\n ContainerDeleteMethodOptions,\n} from \"./ContainerClient\";\nimport {\n appendToURLPath,\n appendToURLQuery,\n extractConnectionStringParts,\n toTags,\n} from \"./utils/utils.common\";\nimport { StorageSharedKeyCredential } from \"./credentials/StorageSharedKeyCredential\";\nimport { AnonymousCredential } from \"./credentials/AnonymousCredential\";\nimport \"@azure/core-paging\";\nimport { PageSettings, PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { truncatedISO8061Date } from \"./utils/utils.common\";\nimport { convertTracingToRequestOptionsBase, createSpan } from \"./utils/tracing\";\nimport { BlobBatchClient } from \"./BlobBatchClient\";\nimport { CommonOptions, StorageClient } from \"./StorageClient\";\nimport { AccountSASPermissions } from \"./sas/AccountSASPermissions\";\nimport { SASProtocol } from \"./sas/SASQueryParameters\";\nimport { SasIPRange } from \"./sas/SasIPRange\";\nimport { generateAccountSASQueryParameters } from \"./sas/AccountSASSignatureValues\";\nimport { AccountSASServices } from \"./sas/AccountSASServices\";\nimport { ListContainersIncludeType } from \"./generated/src\";\n\n/**\n * Options to configure the {@link BlobServiceClient.getProperties} operation.\n */\nexport interface ServiceGetPropertiesOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n}\n\n/**\n * Options to configure the {@link BlobServiceClient.setProperties} operation.\n */\nexport interface ServiceSetPropertiesOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n}\n\n/**\n * Options to configure the {@link BlobServiceClient.getAccountInfo} operation.\n */\nexport interface ServiceGetAccountInfoOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n}\n\n/**\n * Options to configure the {@link BlobServiceClient.getStatistics} operation.\n */\nexport interface ServiceGetStatisticsOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n}\n\n/**\n * Options to configure the Service - Get User Delegation Key.\n */\nexport interface ServiceGetUserDelegationKeyOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n}\n\n/**\n * Options to configure the {@link BlobServiceClient.listContainerSegment} operation.\n */\ninterface ServiceListContainersSegmentOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Filters the results to return only containers\n * whose name begins with the specified prefix.\n */\n prefix?: string;\n /**\n * Specifies the maximum number of containers\n * to return. If the request does not specify maxPageSize, or specifies a\n * value greater than 5000, the server will return up to 5000 items. Note\n * that if the listing operation crosses a partition boundary, then the\n * service will return a continuation token for retrieving the remainder of\n * the results. For this reason, it is possible that the service will return\n * fewer results than specified by maxPageSize, or than the default of 5000.\n */\n maxPageSize?: number;\n /**\n * Include this parameter to\n * specify that the container's metadata be returned as part of the response\n * body. Possible values include: 'metadata'\n */\n include?: ListContainersIncludeType | ListContainersIncludeType[];\n}\n\n/**\n * Options to configure the {@link BlobServiceClient.listContainers} operation.\n */\nexport interface ServiceListContainersOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Filters the results to return only containers\n * whose name begins with the specified prefix.\n */\n prefix?: string;\n /**\n * Specifies whether the container's metadata\n * should be returned as part of the response body.\n */\n includeMetadata?: boolean;\n\n /**\n * Specifies whether soft deleted containers should be included in the response.\n */\n includeDeleted?: boolean;\n /**\n * Specifies whether system containers should be included in the response.\n */\n includeSystem?: boolean;\n}\n\n/**\n * Options to configure the {@link BlobServiceClient.findBlobsByTagsSegment} operation.\n */\ninterface ServiceFindBlobsByTagsSegmentOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Specifies the maximum number of blobs\n * to return. If the request does not specify maxPageSize, or specifies a\n * value greater than 5000, the server will return up to 5000 items. Note\n * that if the listing operation crosses a partition boundary, then the\n * service will return a continuation token for retrieving the remainder of\n * the results. For this reason, it is possible that the service will return\n * fewer results than specified by maxPageSize, or than the default of 5000.\n */\n maxPageSize?: number;\n}\n\n/**\n * Options to configure the {@link BlobServiceClient.findBlobsByTags} operation.\n */\nexport interface ServiceFindBlobByTagsOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n}\n\n/**\n * The response of {@link BlobServiceClient.findBlobsByTags} operation.\n */\nexport type ServiceFindBlobsByTagsSegmentResponse = FilterBlobSegment &\n ServiceFilterBlobsHeaders & {\n /**\n * The underlying HTTP response.\n */\n _response: HttpResponse & {\n /**\n * The parsed HTTP response headers.\n */\n parsedHeaders: ServiceFilterBlobsHeaders;\n\n /**\n * The response body as text (string format)\n */\n bodyAsText: string;\n\n /**\n * The response body as parsed JSON or XML\n */\n parsedBody: FilterBlobSegmentModel;\n };\n };\n\n/**\n * A user delegation key.\n */\nexport interface UserDelegationKey {\n /**\n * The Azure Active Directory object ID in GUID format.\n */\n signedObjectId: string;\n /**\n * The Azure Active Directory tenant ID in GUID format.\n */\n signedTenantId: string;\n /**\n * The date-time the key is active.\n */\n signedStartsOn: Date;\n /**\n * The date-time the key expires.\n */\n signedExpiresOn: Date;\n /**\n * Abbreviation of the Azure Storage service that accepts the key.\n */\n signedService: string;\n /**\n * The service version that created the key.\n */\n signedVersion: string;\n /**\n * The key as a base64 string.\n */\n value: string;\n}\n\n/**\n * Contains response data for the {@link getUserDelegationKey} operation.\n */\nexport declare type ServiceGetUserDelegationKeyResponse = UserDelegationKey &\n ServiceGetUserDelegationKeyHeaders & {\n /**\n * The underlying HTTP response.\n */\n _response: HttpResponse & {\n /**\n * The parsed HTTP response headers.\n */\n parsedHeaders: ServiceGetUserDelegationKeyHeaders;\n\n /**\n * The response body as text (string format)\n */\n bodyAsText: string;\n\n /**\n * The response body as parsed JSON or XML\n */\n parsedBody: UserDelegationKeyModel;\n };\n };\n\n/**\n * Options to configure {@link BlobServiceClient.undeleteContainer} operation.\n */\nexport interface ServiceUndeleteContainerOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n /**\n * Optional. Specifies the new name of the restored container.\n * Will use its original name if this is not specified.\n * @deprecated Restore container to a different name is not supported by service anymore.\n */\n destinationContainerName?: string;\n}\n\n/**\n * Options to configure {@link BlobServiceClient.renameContainer} operation.\n */\nexport interface ServiceRenameContainerOptions extends CommonOptions {\n /**\n * An implementation of the `AbortSignalLike` interface to signal the request to cancel the operation.\n * For example, use the @azure/abort-controller to create an `AbortSignal`.\n */\n abortSignal?: AbortSignalLike;\n\n /**\n * Condition to meet for the source container.\n */\n sourceCondition?: LeaseAccessConditions;\n}\n\n/**\n * Options to configure {@link BlobServiceClient.generateAccountSasUrl} operation.\n */\nexport interface ServiceGenerateAccountSasUrlOptions {\n /**\n * The version of the service this SAS will target. If not specified, it will default to the version targeted by the\n * library.\n */\n version?: string;\n\n /**\n * Optional. SAS protocols allowed.\n */\n protocol?: SASProtocol;\n\n /**\n * Optional. When the SAS will take effect.\n */\n startsOn?: Date;\n /**\n * Optional. IP range allowed.\n */\n ipRange?: SasIPRange;\n /**\n * Optional. Encryption scope to use when sending requests authorized with this SAS URI.\n */\n encryptionScope?: string;\n}\n\n/**\n * A BlobServiceClient represents a Client to the Azure Storage Blob service allowing you\n * to manipulate blob containers.\n */\nexport class BlobServiceClient extends StorageClient {\n /**\n * serviceContext provided by protocol layer.\n */\n private serviceContext: Service;\n\n /**\n *\n * Creates an instance of BlobServiceClient from connection string.\n *\n * @param connectionString - Account connection string or a SAS connection string of an Azure storage account.\n * [ Note - Account connection string can only be used in NODE.JS runtime. ]\n * Account connection string example -\n * `DefaultEndpointsProtocol=https;AccountName=myaccount;AccountKey=accountKey;EndpointSuffix=core.windows.net`\n * SAS connection string example -\n * `BlobEndpoint=https://myaccount.blob.core.windows.net/;QueueEndpoint=https://myaccount.queue.core.windows.net/;FileEndpoint=https://myaccount.file.core.windows.net/;TableEndpoint=https://myaccount.table.core.windows.net/;SharedAccessSignature=sasString`\n * @param options - Optional. Options to configure the HTTP pipeline.\n */\n public static fromConnectionString(\n connectionString: string,\n // Legacy, no fix for eslint error without breaking. Disable it for this interface.\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-options*/\n options?: StoragePipelineOptions\n ): BlobServiceClient {\n options = options || {};\n const extractedCreds = extractConnectionStringParts(connectionString);\n if (extractedCreds.kind === \"AccountConnString\") {\n if (isNode) {\n const sharedKeyCredential = new StorageSharedKeyCredential(\n extractedCreds.accountName!,\n extractedCreds.accountKey\n );\n\n if (!options.proxyOptions) {\n options.proxyOptions = getDefaultProxySettings(extractedCreds.proxyUri);\n }\n\n const pipeline = newPipeline(sharedKeyCredential, options);\n return new BlobServiceClient(extractedCreds.url, pipeline);\n } else {\n throw new Error(\"Account connection string is only supported in Node.js environment\");\n }\n } else if (extractedCreds.kind === \"SASConnString\") {\n const pipeline = newPipeline(new AnonymousCredential(), options);\n return new BlobServiceClient(extractedCreds.url + \"?\" + extractedCreds.accountSas, pipeline);\n } else {\n throw new Error(\n \"Connection string must be either an Account connection string or a SAS connection string\"\n );\n }\n }\n\n /**\n * Creates an instance of BlobServiceClient.\n *\n * @param url - A Client string pointing to Azure Storage blob service, such as\n * \"https://myaccount.blob.core.windows.net\". You can append a SAS\n * if using AnonymousCredential, such as \"https://myaccount.blob.core.windows.net?sasString\".\n * @param credential - Such as AnonymousCredential, StorageSharedKeyCredential or any credential from the `@azure/identity` package to authenticate requests to the service. You can also provide an object that implements the TokenCredential interface. If not specified, AnonymousCredential is used.\n * @param options - Optional. Options to configure the HTTP pipeline.\n *\n * Example using DefaultAzureCredential from `@azure/identity`:\n *\n * ```js\n * const account = \"\";\n *\n * const defaultAzureCredential = new DefaultAzureCredential();\n *\n * const blobServiceClient = new BlobServiceClient(\n * `https://${account}.blob.core.windows.net`,\n * defaultAzureCredential\n * );\n * ```\n *\n * Example using an account name/key:\n *\n * ```js\n * const account = \"\"\n * const sharedKeyCredential = new StorageSharedKeyCredential(account, \"\");\n *\n * const blobServiceClient = new BlobServiceClient(\n * `https://${account}.blob.core.windows.net`,\n * sharedKeyCredential\n * );\n * ```\n */\n constructor(\n url: string,\n credential?: StorageSharedKeyCredential | AnonymousCredential | TokenCredential,\n // Legacy, no fix for eslint error without breaking. Disable it for this interface.\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-options*/\n options?: StoragePipelineOptions\n );\n /**\n * Creates an instance of BlobServiceClient.\n *\n * @param url - A Client string pointing to Azure Storage blob service, such as\n * \"https://myaccount.blob.core.windows.net\". You can append a SAS\n * if using AnonymousCredential, such as \"https://myaccount.blob.core.windows.net?sasString\".\n * @param pipeline - Call newPipeline() to create a default\n * pipeline, or provide a customized pipeline.\n */\n constructor(url: string, pipeline: PipelineLike);\n constructor(\n url: string,\n credentialOrPipeline?:\n | StorageSharedKeyCredential\n | AnonymousCredential\n | TokenCredential\n | PipelineLike,\n // Legacy, no fix for eslint error without breaking. Disable it for this interface.\n /* eslint-disable-next-line @azure/azure-sdk/ts-naming-options*/\n options?: StoragePipelineOptions\n ) {\n let pipeline: PipelineLike;\n if (isPipelineLike(credentialOrPipeline)) {\n pipeline = credentialOrPipeline;\n } else if (\n (isNode && credentialOrPipeline instanceof StorageSharedKeyCredential) ||\n credentialOrPipeline instanceof AnonymousCredential ||\n isTokenCredential(credentialOrPipeline)\n ) {\n pipeline = newPipeline(credentialOrPipeline, options);\n } else {\n // The second parameter is undefined. Use anonymous credential\n pipeline = newPipeline(new AnonymousCredential(), options);\n }\n super(url, pipeline);\n this.serviceContext = new Service(this.storageClientContext);\n }\n\n /**\n * Creates a {@link ContainerClient} object\n *\n * @param containerName - A container name\n * @returns A new ContainerClient object for the given container name.\n *\n * Example usage:\n *\n * ```js\n * const containerClient = blobServiceClient.getContainerClient(\"\");\n * ```\n */\n public getContainerClient(containerName: string): ContainerClient {\n return new ContainerClient(\n appendToURLPath(this.url, encodeURIComponent(containerName)),\n this.pipeline\n );\n }\n\n /**\n * Create a Blob container.\n *\n * @param containerName - Name of the container to create.\n * @param options - Options to configure Container Create operation.\n * @returns Container creation response and the corresponding container client.\n */\n public async createContainer(\n containerName: string,\n options: ContainerCreateOptions = {}\n ): Promise<{\n containerClient: ContainerClient;\n containerCreateResponse: ContainerCreateResponse;\n }> {\n const { span, updatedOptions } = createSpan(\"BlobServiceClient-createContainer\", options);\n try {\n const containerClient = this.getContainerClient(containerName);\n const containerCreateResponse = await containerClient.create(updatedOptions);\n return {\n containerClient,\n containerCreateResponse,\n };\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Deletes a Blob container.\n *\n * @param containerName - Name of the container to delete.\n * @param options - Options to configure Container Delete operation.\n * @returns Container deletion response.\n */\n public async deleteContainer(\n containerName: string,\n options: ContainerDeleteMethodOptions = {}\n ): Promise {\n const { span, updatedOptions } = createSpan(\"BlobServiceClient-deleteContainer\", options);\n try {\n const containerClient = this.getContainerClient(containerName);\n return await containerClient.delete(updatedOptions);\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Restore a previously deleted Blob container.\n * This API is only functional if Container Soft Delete is enabled for the storage account associated with the container.\n *\n * @param deletedContainerName - Name of the previously deleted container.\n * @param deletedContainerVersion - Version of the previously deleted container, used to uniquely identify the deleted container.\n * @param options - Options to configure Container Restore operation.\n * @returns Container deletion response.\n */\n public async undeleteContainer(\n deletedContainerName: string,\n deletedContainerVersion: string,\n options: ServiceUndeleteContainerOptions = {}\n ): Promise<{\n containerClient: ContainerClient;\n containerUndeleteResponse: ContainerUndeleteResponse;\n }> {\n const { span, updatedOptions } = createSpan(\"BlobServiceClient-undeleteContainer\", options);\n try {\n const containerClient = this.getContainerClient(\n options.destinationContainerName || deletedContainerName\n );\n // Hack to access a protected member.\n const containerContext = new Container(containerClient[\"storageClientContext\"]);\n const containerUndeleteResponse = await containerContext.restore({\n deletedContainerName,\n deletedContainerVersion,\n ...updatedOptions,\n });\n return { containerClient, containerUndeleteResponse };\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Rename an existing Blob Container.\n *\n * @param sourceContainerName - The name of the source container.\n * @param destinationContainerName - The new name of the container.\n * @param options - Options to configure Container Rename operation.\n */\n /* eslint-disable-next-line @typescript-eslint/ban-ts-comment */\n // @ts-ignore Need to hide this interface for now. Make it public and turn on the live tests for it when the service is ready.\n private async renameContainer(\n sourceContainerName: string,\n destinationContainerName: string,\n options: ServiceRenameContainerOptions = {}\n ): Promise<{\n containerClient: ContainerClient;\n containerRenameResponse: ContainerRenameResponse;\n }> {\n const { span, updatedOptions } = createSpan(\"BlobServiceClient-renameContainer\", options);\n try {\n const containerClient = this.getContainerClient(destinationContainerName);\n // Hack to access a protected member.\n const containerContext = new Container(containerClient[\"storageClientContext\"]);\n const containerRenameResponse = await containerContext.rename(sourceContainerName, {\n ...updatedOptions,\n sourceLeaseId: options.sourceCondition?.leaseId,\n });\n return { containerClient, containerRenameResponse };\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Gets the properties of a storage account’s Blob service, including properties\n * for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/get-blob-service-properties\n *\n * @param options - Options to the Service Get Properties operation.\n * @returns Response data for the Service Get Properties operation.\n */\n public async getProperties(\n options: ServiceGetPropertiesOptions = {}\n ): Promise {\n const { span, updatedOptions } = createSpan(\"BlobServiceClient-getProperties\", options);\n try {\n return await this.serviceContext.getProperties({\n abortSignal: options.abortSignal,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Sets properties for a storage account’s Blob service endpoint, including properties\n * for Storage Analytics, CORS (Cross-Origin Resource Sharing) rules and soft delete settings.\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/set-blob-service-properties\n *\n * @param properties -\n * @param options - Options to the Service Set Properties operation.\n * @returns Response data for the Service Set Properties operation.\n */\n public async setProperties(\n properties: BlobServiceProperties,\n options: ServiceSetPropertiesOptions = {}\n ): Promise {\n const { span, updatedOptions } = createSpan(\"BlobServiceClient-setProperties\", options);\n try {\n return await this.serviceContext.setProperties(properties, {\n abortSignal: options.abortSignal,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Retrieves statistics related to replication for the Blob service. It is only\n * available on the secondary location endpoint when read-access geo-redundant\n * replication is enabled for the storage account.\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/get-blob-service-stats\n *\n * @param options - Options to the Service Get Statistics operation.\n * @returns Response data for the Service Get Statistics operation.\n */\n public async getStatistics(\n options: ServiceGetStatisticsOptions = {}\n ): Promise {\n const { span, updatedOptions } = createSpan(\"BlobServiceClient-getStatistics\", options);\n try {\n return await this.serviceContext.getStatistics({\n abortSignal: options.abortSignal,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * The Get Account Information operation returns the sku name and account kind\n * for the specified account.\n * The Get Account Information operation is available on service versions beginning\n * with version 2018-03-28.\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/get-account-information\n *\n * @param options - Options to the Service Get Account Info operation.\n * @returns Response data for the Service Get Account Info operation.\n */\n public async getAccountInfo(\n options: ServiceGetAccountInfoOptions = {}\n ): Promise {\n const { span, updatedOptions } = createSpan(\"BlobServiceClient-getAccountInfo\", options);\n try {\n return await this.serviceContext.getAccountInfo({\n abortSignal: options.abortSignal,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Returns a list of the containers under the specified account.\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/list-containers2\n *\n * @param marker - A string value that identifies the portion of\n * the list of containers to be returned with the next listing operation. The\n * operation returns the continuationToken value within the response body if the\n * listing operation did not return all containers remaining to be listed\n * with the current page. The continuationToken value can be used as the value for\n * the marker parameter in a subsequent call to request the next page of list\n * items. The marker value is opaque to the client.\n * @param options - Options to the Service List Container Segment operation.\n * @returns Response data for the Service List Container Segment operation.\n */\n private async listContainersSegment(\n marker?: string,\n options: ServiceListContainersSegmentOptions = {}\n ): Promise {\n const { span, updatedOptions } = createSpan(\"BlobServiceClient-listContainersSegment\", options);\n\n try {\n return await this.serviceContext.listContainersSegment({\n abortSignal: options.abortSignal,\n marker,\n ...options,\n include: typeof options.include === \"string\" ? [options.include] : options.include,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * The Filter Blobs operation enables callers to list blobs across all containers whose tags\n * match a given search expression. Filter blobs searches across all containers within a\n * storage account but can be scoped within the expression to a single container.\n *\n * @param tagFilterSqlExpression - The where parameter enables the caller to query blobs whose tags match a given expression.\n * The given expression must evaluate to true for a blob to be returned in the results.\n * The[OData - ABNF] filter syntax rule defines the formal grammar for the value of the where query parameter;\n * however, only a subset of the OData filter syntax is supported in the Blob service.\n * @param marker - A string value that identifies the portion of\n * the list of blobs to be returned with the next listing operation. The\n * operation returns the continuationToken value within the response body if the\n * listing operation did not return all blobs remaining to be listed\n * with the current page. The continuationToken value can be used as the value for\n * the marker parameter in a subsequent call to request the next page of list\n * items. The marker value is opaque to the client.\n * @param options - Options to find blobs by tags.\n */\n private async findBlobsByTagsSegment(\n tagFilterSqlExpression: string,\n marker?: string,\n options: ServiceFindBlobsByTagsSegmentOptions = {}\n ): Promise {\n const { span, updatedOptions } = createSpan(\n \"BlobServiceClient-findBlobsByTagsSegment\",\n options\n );\n\n try {\n const response = await this.serviceContext.filterBlobs({\n abortSignal: options.abortSignal,\n where: tagFilterSqlExpression,\n marker,\n maxPageSize: options.maxPageSize,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n });\n\n const wrappedResponse: ServiceFindBlobsByTagsSegmentResponse = {\n ...response,\n _response: response._response, // _response is made non-enumerable\n blobs: response.blobs.map((blob) => {\n let tagValue = \"\";\n if (blob.tags?.blobTagSet.length === 1) {\n tagValue = blob.tags.blobTagSet[0].value;\n }\n return { ...blob, tags: toTags(blob.tags), tagValue };\n }),\n };\n return wrappedResponse;\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Returns an AsyncIterableIterator for ServiceFindBlobsByTagsSegmentResponse.\n *\n * @param tagFilterSqlExpression - The where parameter enables the caller to query blobs whose tags match a given expression.\n * The given expression must evaluate to true for a blob to be returned in the results.\n * The[OData - ABNF] filter syntax rule defines the formal grammar for the value of the where query parameter;\n * however, only a subset of the OData filter syntax is supported in the Blob service.\n * @param marker - A string value that identifies the portion of\n * the list of blobs to be returned with the next listing operation. The\n * operation returns the continuationToken value within the response body if the\n * listing operation did not return all blobs remaining to be listed\n * with the current page. The continuationToken value can be used as the value for\n * the marker parameter in a subsequent call to request the next page of list\n * items. The marker value is opaque to the client.\n * @param options - Options to find blobs by tags.\n */\n private async *findBlobsByTagsSegments(\n tagFilterSqlExpression: string,\n marker?: string,\n options: ServiceFindBlobsByTagsSegmentOptions = {}\n ): AsyncIterableIterator {\n let response;\n if (!!marker || marker === undefined) {\n do {\n response = await this.findBlobsByTagsSegment(tagFilterSqlExpression, marker, options);\n response.blobs = response.blobs || [];\n marker = response.continuationToken;\n yield response;\n } while (marker);\n }\n }\n\n /**\n * Returns an AsyncIterableIterator for blobs.\n *\n * @param tagFilterSqlExpression - The where parameter enables the caller to query blobs whose tags match a given expression.\n * The given expression must evaluate to true for a blob to be returned in the results.\n * The[OData - ABNF] filter syntax rule defines the formal grammar for the value of the where query parameter;\n * however, only a subset of the OData filter syntax is supported in the Blob service.\n * @param options - Options to findBlobsByTagsItems.\n */\n private async *findBlobsByTagsItems(\n tagFilterSqlExpression: string,\n options: ServiceFindBlobsByTagsSegmentOptions = {}\n ): AsyncIterableIterator {\n let marker: string | undefined;\n for await (const segment of this.findBlobsByTagsSegments(\n tagFilterSqlExpression,\n marker,\n options\n )) {\n yield* segment.blobs;\n }\n }\n\n /**\n * Returns an async iterable iterator to find all blobs with specified tag\n * under the specified account.\n *\n * .byPage() returns an async iterable iterator to list the blobs in pages.\n *\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/get-blob-service-properties\n *\n * Example using `for await` syntax:\n *\n * ```js\n * let i = 1;\n * for await (const blob of blobServiceClient.findBlobsByTags(\"tagkey='tagvalue'\")) {\n * console.log(`Blob ${i++}: ${container.name}`);\n * }\n * ```\n *\n * Example using `iter.next()`:\n *\n * ```js\n * let i = 1;\n * const iter = blobServiceClient.findBlobsByTags(\"tagkey='tagvalue'\");\n * let blobItem = await iter.next();\n * while (!blobItem.done) {\n * console.log(`Blob ${i++}: ${blobItem.value.name}`);\n * blobItem = await iter.next();\n * }\n * ```\n *\n * Example using `byPage()`:\n *\n * ```js\n * // passing optional maxPageSize in the page settings\n * let i = 1;\n * for await (const response of blobServiceClient.findBlobsByTags(\"tagkey='tagvalue'\").byPage({ maxPageSize: 20 })) {\n * if (response.blobs) {\n * for (const blob of response.blobs) {\n * console.log(`Blob ${i++}: ${blob.name}`);\n * }\n * }\n * }\n * ```\n *\n * Example using paging with a marker:\n *\n * ```js\n * let i = 1;\n * let iterator = blobServiceClient.findBlobsByTags(\"tagkey='tagvalue'\").byPage({ maxPageSize: 2 });\n * let response = (await iterator.next()).value;\n *\n * // Prints 2 blob names\n * if (response.blobs) {\n * for (const blob of response.blobs) {\n * console.log(`Blob ${i++}: ${blob.name}`);\n * }\n * }\n *\n * // Gets next marker\n * let marker = response.continuationToken;\n * // Passing next marker as continuationToken\n * iterator = blobServiceClient\n * .findBlobsByTags(\"tagkey='tagvalue'\")\n * .byPage({ continuationToken: marker, maxPageSize: 10 });\n * response = (await iterator.next()).value;\n *\n * // Prints blob names\n * if (response.blobs) {\n * for (const blob of response.blobs) {\n * console.log(`Blob ${i++}: ${blob.name}`);\n * }\n * }\n * ```\n *\n * @param tagFilterSqlExpression - The where parameter enables the caller to query blobs whose tags match a given expression.\n * The given expression must evaluate to true for a blob to be returned in the results.\n * The[OData - ABNF] filter syntax rule defines the formal grammar for the value of the where query parameter;\n * however, only a subset of the OData filter syntax is supported in the Blob service.\n * @param options - Options to find blobs by tags.\n */\n public findBlobsByTags(\n tagFilterSqlExpression: string,\n options: ServiceFindBlobByTagsOptions = {}\n ): PagedAsyncIterableIterator {\n // AsyncIterableIterator to iterate over blobs\n const listSegmentOptions: ServiceFindBlobsByTagsSegmentOptions = {\n ...options,\n };\n\n const iter = this.findBlobsByTagsItems(tagFilterSqlExpression, listSegmentOptions);\n return {\n /**\n * The next method, part of the iteration protocol\n */\n next() {\n return iter.next();\n },\n /**\n * The connection to the async iterator, part of the iteration protocol\n */\n [Symbol.asyncIterator]() {\n return this;\n },\n /**\n * Return an AsyncIterableIterator that works a page at a time\n */\n byPage: (settings: PageSettings = {}) => {\n return this.findBlobsByTagsSegments(tagFilterSqlExpression, settings.continuationToken, {\n maxPageSize: settings.maxPageSize,\n ...listSegmentOptions,\n });\n },\n };\n }\n\n /**\n * Returns an AsyncIterableIterator for ServiceListContainersSegmentResponses\n *\n * @param marker - A string value that identifies the portion of\n * the list of containers to be returned with the next listing operation. The\n * operation returns the continuationToken value within the response body if the\n * listing operation did not return all containers remaining to be listed\n * with the current page. The continuationToken value can be used as the value for\n * the marker parameter in a subsequent call to request the next page of list\n * items. The marker value is opaque to the client.\n * @param options - Options to list containers operation.\n */\n private async *listSegments(\n marker?: string,\n options: ServiceListContainersSegmentOptions = {}\n ): AsyncIterableIterator {\n let listContainersSegmentResponse;\n if (!!marker || marker === undefined) {\n do {\n listContainersSegmentResponse = await this.listContainersSegment(marker, options);\n listContainersSegmentResponse.containerItems =\n listContainersSegmentResponse.containerItems || [];\n marker = listContainersSegmentResponse.continuationToken;\n yield await listContainersSegmentResponse;\n } while (marker);\n }\n }\n\n /**\n * Returns an AsyncIterableIterator for Container Items\n *\n * @param options - Options to list containers operation.\n */\n private async *listItems(\n options: ServiceListContainersSegmentOptions = {}\n ): AsyncIterableIterator {\n let marker: string | undefined;\n for await (const segment of this.listSegments(marker, options)) {\n yield* segment.containerItems;\n }\n }\n\n /**\n * Returns an async iterable iterator to list all the containers\n * under the specified account.\n *\n * .byPage() returns an async iterable iterator to list the containers in pages.\n *\n * Example using `for await` syntax:\n *\n * ```js\n * let i = 1;\n * for await (const container of blobServiceClient.listContainers()) {\n * console.log(`Container ${i++}: ${container.name}`);\n * }\n * ```\n *\n * Example using `iter.next()`:\n *\n * ```js\n * let i = 1;\n * const iter = blobServiceClient.listContainers();\n * let containerItem = await iter.next();\n * while (!containerItem.done) {\n * console.log(`Container ${i++}: ${containerItem.value.name}`);\n * containerItem = await iter.next();\n * }\n * ```\n *\n * Example using `byPage()`:\n *\n * ```js\n * // passing optional maxPageSize in the page settings\n * let i = 1;\n * for await (const response of blobServiceClient.listContainers().byPage({ maxPageSize: 20 })) {\n * if (response.containerItems) {\n * for (const container of response.containerItems) {\n * console.log(`Container ${i++}: ${container.name}`);\n * }\n * }\n * }\n * ```\n *\n * Example using paging with a marker:\n *\n * ```js\n * let i = 1;\n * let iterator = blobServiceClient.listContainers().byPage({ maxPageSize: 2 });\n * let response = (await iterator.next()).value;\n *\n * // Prints 2 container names\n * if (response.containerItems) {\n * for (const container of response.containerItems) {\n * console.log(`Container ${i++}: ${container.name}`);\n * }\n * }\n *\n * // Gets next marker\n * let marker = response.continuationToken;\n * // Passing next marker as continuationToken\n * iterator = blobServiceClient\n * .listContainers()\n * .byPage({ continuationToken: marker, maxPageSize: 10 });\n * response = (await iterator.next()).value;\n *\n * // Prints 10 container names\n * if (response.containerItems) {\n * for (const container of response.containerItems) {\n * console.log(`Container ${i++}: ${container.name}`);\n * }\n * }\n * ```\n *\n * @param options - Options to list containers.\n * @returns An asyncIterableIterator that supports paging.\n */\n public listContainers(\n options: ServiceListContainersOptions = {}\n ): PagedAsyncIterableIterator {\n if (options.prefix === \"\") {\n options.prefix = undefined;\n }\n\n const include: ListContainersIncludeType[] = [];\n if (options.includeDeleted) {\n include.push(\"deleted\");\n }\n if (options.includeMetadata) {\n include.push(\"metadata\");\n }\n if (options.includeSystem) {\n include.push(\"system\");\n }\n\n // AsyncIterableIterator to iterate over containers\n const listSegmentOptions: ServiceListContainersSegmentOptions = {\n ...options,\n ...(include.length > 0 ? { include } : {}),\n };\n\n const iter = this.listItems(listSegmentOptions);\n return {\n /**\n * The next method, part of the iteration protocol\n */\n next() {\n return iter.next();\n },\n /**\n * The connection to the async iterator, part of the iteration protocol\n */\n [Symbol.asyncIterator]() {\n return this;\n },\n /**\n * Return an AsyncIterableIterator that works a page at a time\n */\n byPage: (settings: PageSettings = {}) => {\n return this.listSegments(settings.continuationToken, {\n maxPageSize: settings.maxPageSize,\n ...listSegmentOptions,\n });\n },\n };\n }\n\n /**\n * ONLY AVAILABLE WHEN USING BEARER TOKEN AUTHENTICATION (TokenCredential).\n *\n * Retrieves a user delegation key for the Blob service. This is only a valid operation when using\n * bearer token authentication.\n *\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/get-user-delegation-key\n *\n * @param startsOn - The start time for the user delegation SAS. Must be within 7 days of the current time\n * @param expiresOn - The end time for the user delegation SAS. Must be within 7 days of the current time\n */\n public async getUserDelegationKey(\n startsOn: Date,\n expiresOn: Date,\n options: ServiceGetUserDelegationKeyOptions = {}\n ): Promise {\n const { span, updatedOptions } = createSpan(\"BlobServiceClient-getUserDelegationKey\", options);\n try {\n const response = await this.serviceContext.getUserDelegationKey(\n {\n startsOn: truncatedISO8061Date(startsOn, false),\n expiresOn: truncatedISO8061Date(expiresOn, false),\n },\n {\n abortSignal: options.abortSignal,\n ...convertTracingToRequestOptionsBase(updatedOptions),\n }\n );\n\n const userDelegationKey = {\n signedObjectId: response.signedObjectId,\n signedTenantId: response.signedTenantId,\n signedStartsOn: new Date(response.signedStartsOn),\n signedExpiresOn: new Date(response.signedExpiresOn),\n signedService: response.signedService,\n signedVersion: response.signedVersion,\n value: response.value,\n };\n\n const res: ServiceGetUserDelegationKeyResponse = {\n _response: response._response,\n requestId: response.requestId,\n clientRequestId: response.clientRequestId,\n version: response.version,\n date: response.date,\n errorCode: response.errorCode,\n ...userDelegationKey,\n };\n\n return res;\n } catch (e: any) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message,\n });\n throw e;\n } finally {\n span.end();\n }\n }\n\n /**\n * Creates a BlobBatchClient object to conduct batch operations.\n *\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/blob-batch\n *\n * @returns A new BlobBatchClient object for this service.\n */\n public getBlobBatchClient(): BlobBatchClient {\n return new BlobBatchClient(this.url, this.pipeline);\n }\n\n /**\n * Only available for BlobServiceClient constructed with a shared key credential.\n *\n * Generates a Blob account Shared Access Signature (SAS) URI based on the client properties\n * and parameters passed in. The SAS is signed by the shared key credential of the client.\n *\n * @see https://docs.microsoft.com/en-us/rest/api/storageservices/create-account-sas\n *\n * @param expiresOn - Optional. The time at which the shared access signature becomes invalid. Default to an hour later if not provided.\n * @param permissions - Specifies the list of permissions to be associated with the SAS.\n * @param resourceTypes - Specifies the resource types associated with the shared access signature.\n * @param options - Optional parameters.\n * @returns An account SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.\n */\n public generateAccountSasUrl(\n expiresOn?: Date,\n permissions: AccountSASPermissions = AccountSASPermissions.parse(\"r\"),\n resourceTypes: string = \"sco\",\n options: ServiceGenerateAccountSasUrlOptions = {}\n ): string {\n if (!(this.credential instanceof StorageSharedKeyCredential)) {\n throw RangeError(\n \"Can only generate the account SAS when the client is initialized with a shared key credential\"\n );\n }\n\n if (expiresOn === undefined) {\n const now = new Date();\n expiresOn = new Date(now.getTime() + 3600 * 1000);\n }\n\n const sas = generateAccountSASQueryParameters(\n {\n permissions,\n expiresOn,\n resourceTypes,\n services: AccountSASServices.parse(\"b\").toString(),\n ...options,\n },\n this.credential\n ).toString();\n\n return appendToURLQuery(this.url, sas);\n }\n}\n","module.exports =\n{\n parallel : require('./parallel.js'),\n serial : require('./serial.js'),\n serialOrdered : require('./serialOrdered.js')\n};\n","// API\nmodule.exports = abort;\n\n/**\n * Aborts leftover active jobs\n *\n * @param {object} state - current state object\n */\nfunction abort(state)\n{\n Object.keys(state.jobs).forEach(clean.bind(state));\n\n // reset leftover jobs\n state.jobs = {};\n}\n\n/**\n * Cleans up leftover job by invoking abort function for the provided job id\n *\n * @this state\n * @param {string|number} key - job id to abort\n */\nfunction clean(key)\n{\n if (typeof this.jobs[key] == 'function')\n {\n this.jobs[key]();\n }\n}\n","var defer = require('./defer.js');\n\n// API\nmodule.exports = async;\n\n/**\n * Runs provided callback asynchronously\n * even if callback itself is not\n *\n * @param {function} callback - callback to invoke\n * @returns {function} - augmented callback\n */\nfunction async(callback)\n{\n var isAsync = false;\n\n // check if async happened\n defer(function() { isAsync = true; });\n\n return function async_callback(err, result)\n {\n if (isAsync)\n {\n callback(err, result);\n }\n else\n {\n defer(function nextTick_callback()\n {\n callback(err, result);\n });\n }\n };\n}\n","module.exports = defer;\n\n/**\n * Runs provided function on next iteration of the event loop\n *\n * @param {function} fn - function to run\n */\nfunction defer(fn)\n{\n var nextTick = typeof setImmediate == 'function'\n ? setImmediate\n : (\n typeof process == 'object' && typeof process.nextTick == 'function'\n ? process.nextTick\n : null\n );\n\n if (nextTick)\n {\n nextTick(fn);\n }\n else\n {\n setTimeout(fn, 0);\n }\n}\n","var async = require('./async.js')\n , abort = require('./abort.js')\n ;\n\n// API\nmodule.exports = iterate;\n\n/**\n * Iterates over each job object\n *\n * @param {array|object} list - array or object (named list) to iterate over\n * @param {function} iterator - iterator to run\n * @param {object} state - current job status\n * @param {function} callback - invoked when all elements processed\n */\nfunction iterate(list, iterator, state, callback)\n{\n // store current index\n var key = state['keyedList'] ? state['keyedList'][state.index] : state.index;\n\n state.jobs[key] = runJob(iterator, key, list[key], function(error, output)\n {\n // don't repeat yourself\n // skip secondary callbacks\n if (!(key in state.jobs))\n {\n return;\n }\n\n // clean up jobs\n delete state.jobs[key];\n\n if (error)\n {\n // don't process rest of the results\n // stop still active jobs\n // and reset the list\n abort(state);\n }\n else\n {\n state.results[key] = output;\n }\n\n // return salvaged results\n callback(error, state.results);\n });\n}\n\n/**\n * Runs iterator over provided job element\n *\n * @param {function} iterator - iterator to invoke\n * @param {string|number} key - key/index of the element in the list of jobs\n * @param {mixed} item - job description\n * @param {function} callback - invoked after iterator is done with the job\n * @returns {function|mixed} - job abort function or something else\n */\nfunction runJob(iterator, key, item, callback)\n{\n var aborter;\n\n // allow shortcut if iterator expects only two arguments\n if (iterator.length == 2)\n {\n aborter = iterator(item, async(callback));\n }\n // otherwise go with full three arguments\n else\n {\n aborter = iterator(item, key, async(callback));\n }\n\n return aborter;\n}\n","// API\nmodule.exports = state;\n\n/**\n * Creates initial state object\n * for iteration over list\n *\n * @param {array|object} list - list to iterate over\n * @param {function|null} sortMethod - function to use for keys sort,\n * or `null` to keep them as is\n * @returns {object} - initial state object\n */\nfunction state(list, sortMethod)\n{\n var isNamedList = !Array.isArray(list)\n , initState =\n {\n index : 0,\n keyedList: isNamedList || sortMethod ? Object.keys(list) : null,\n jobs : {},\n results : isNamedList ? {} : [],\n size : isNamedList ? Object.keys(list).length : list.length\n }\n ;\n\n if (sortMethod)\n {\n // sort array keys based on it's values\n // sort object's keys just on own merit\n initState.keyedList.sort(isNamedList ? sortMethod : function(a, b)\n {\n return sortMethod(list[a], list[b]);\n });\n }\n\n return initState;\n}\n","var abort = require('./abort.js')\n , async = require('./async.js')\n ;\n\n// API\nmodule.exports = terminator;\n\n/**\n * Terminates jobs in the attached state context\n *\n * @this AsyncKitState#\n * @param {function} callback - final callback to invoke after termination\n */\nfunction terminator(callback)\n{\n if (!Object.keys(this.jobs).length)\n {\n return;\n }\n\n // fast forward iteration index\n this.index = this.size;\n\n // abort jobs\n abort(this);\n\n // send back results we have so far\n async(callback)(null, this.results);\n}\n","var iterate = require('./lib/iterate.js')\n , initState = require('./lib/state.js')\n , terminator = require('./lib/terminator.js')\n ;\n\n// Public API\nmodule.exports = parallel;\n\n/**\n * Runs iterator over provided array elements in parallel\n *\n * @param {array|object} list - array or object (named list) to iterate over\n * @param {function} iterator - iterator to run\n * @param {function} callback - invoked when all elements processed\n * @returns {function} - jobs terminator\n */\nfunction parallel(list, iterator, callback)\n{\n var state = initState(list);\n\n while (state.index < (state['keyedList'] || list).length)\n {\n iterate(list, iterator, state, function(error, result)\n {\n if (error)\n {\n callback(error, result);\n return;\n }\n\n // looks like it's the last one\n if (Object.keys(state.jobs).length === 0)\n {\n callback(null, state.results);\n return;\n }\n });\n\n state.index++;\n }\n\n return terminator.bind(state, callback);\n}\n","var serialOrdered = require('./serialOrdered.js');\n\n// Public API\nmodule.exports = serial;\n\n/**\n * Runs iterator over provided array elements in series\n *\n * @param {array|object} list - array or object (named list) to iterate over\n * @param {function} iterator - iterator to run\n * @param {function} callback - invoked when all elements processed\n * @returns {function} - jobs terminator\n */\nfunction serial(list, iterator, callback)\n{\n return serialOrdered(list, iterator, null, callback);\n}\n","var iterate = require('./lib/iterate.js')\n , initState = require('./lib/state.js')\n , terminator = require('./lib/terminator.js')\n ;\n\n// Public API\nmodule.exports = serialOrdered;\n// sorting helpers\nmodule.exports.ascending = ascending;\nmodule.exports.descending = descending;\n\n/**\n * Runs iterator over provided sorted array elements in series\n *\n * @param {array|object} list - array or object (named list) to iterate over\n * @param {function} iterator - iterator to run\n * @param {function} sortMethod - custom sort function\n * @param {function} callback - invoked when all elements processed\n * @returns {function} - jobs terminator\n */\nfunction serialOrdered(list, iterator, sortMethod, callback)\n{\n var state = initState(list, sortMethod);\n\n iterate(list, iterator, state, function iteratorHandler(error, result)\n {\n if (error)\n {\n callback(error, result);\n return;\n }\n\n state.index++;\n\n // are we there yet?\n if (state.index < (state['keyedList'] || list).length)\n {\n iterate(list, iterator, state, iteratorHandler);\n return;\n }\n\n // done here\n callback(null, state.results);\n });\n\n return terminator.bind(state, callback);\n}\n\n/*\n * -- Sort methods\n */\n\n/**\n * sort helper to sort array elements in ascending order\n *\n * @param {mixed} a - an item to compare\n * @param {mixed} b - an item to compare\n * @returns {number} - comparison result\n */\nfunction ascending(a, b)\n{\n return a < b ? -1 : a > b ? 1 : 0;\n}\n\n/**\n * sort helper to sort array elements in descending order\n *\n * @param {mixed} a - an item to compare\n * @param {mixed} b - an item to compare\n * @returns {number} - comparison result\n */\nfunction descending(a, b)\n{\n return -1 * ascending(a, b);\n}\n","'use strict';\nmodule.exports = balanced;\nfunction balanced(a, b, str) {\n if (a instanceof RegExp) a = maybeMatch(a, str);\n if (b instanceof RegExp) b = maybeMatch(b, str);\n\n var r = range(a, b, str);\n\n return r && {\n start: r[0],\n end: r[1],\n pre: str.slice(0, r[0]),\n body: str.slice(r[0] + a.length, r[1]),\n post: str.slice(r[1] + b.length)\n };\n}\n\nfunction maybeMatch(reg, str) {\n var m = str.match(reg);\n return m ? m[0] : null;\n}\n\nbalanced.range = range;\nfunction range(a, b, str) {\n var begs, beg, left, right, result;\n var ai = str.indexOf(a);\n var bi = str.indexOf(b, ai + 1);\n var i = ai;\n\n if (ai >= 0 && bi > 0) {\n if(a===b) {\n return [ai, bi];\n }\n begs = [];\n left = str.length;\n\n while (i >= 0 && !result) {\n if (i == ai) {\n begs.push(i);\n ai = str.indexOf(a, i + 1);\n } else if (begs.length == 1) {\n result = [ begs.pop(), bi ];\n } else {\n beg = begs.pop();\n if (beg < left) {\n left = beg;\n right = bi;\n }\n\n bi = str.indexOf(b, i + 1);\n }\n\n i = ai < bi && ai >= 0 ? ai : bi;\n }\n\n if (begs.length) {\n result = [ left, right ];\n }\n }\n\n return result;\n}\n","var concatMap = require('concat-map');\nvar balanced = require('balanced-match');\n\nmodule.exports = expandTop;\n\nvar escSlash = '\\0SLASH'+Math.random()+'\\0';\nvar escOpen = '\\0OPEN'+Math.random()+'\\0';\nvar escClose = '\\0CLOSE'+Math.random()+'\\0';\nvar escComma = '\\0COMMA'+Math.random()+'\\0';\nvar escPeriod = '\\0PERIOD'+Math.random()+'\\0';\n\nfunction numeric(str) {\n return parseInt(str, 10) == str\n ? parseInt(str, 10)\n : str.charCodeAt(0);\n}\n\nfunction escapeBraces(str) {\n return str.split('\\\\\\\\').join(escSlash)\n .split('\\\\{').join(escOpen)\n .split('\\\\}').join(escClose)\n .split('\\\\,').join(escComma)\n .split('\\\\.').join(escPeriod);\n}\n\nfunction unescapeBraces(str) {\n return str.split(escSlash).join('\\\\')\n .split(escOpen).join('{')\n .split(escClose).join('}')\n .split(escComma).join(',')\n .split(escPeriod).join('.');\n}\n\n\n// Basically just str.split(\",\"), but handling cases\n// where we have nested braced sections, which should be\n// treated as individual members, like {a,{b,c},d}\nfunction parseCommaParts(str) {\n if (!str)\n return [''];\n\n var parts = [];\n var m = balanced('{', '}', str);\n\n if (!m)\n return str.split(',');\n\n var pre = m.pre;\n var body = m.body;\n var post = m.post;\n var p = pre.split(',');\n\n p[p.length-1] += '{' + body + '}';\n var postParts = parseCommaParts(post);\n if (post.length) {\n p[p.length-1] += postParts.shift();\n p.push.apply(p, postParts);\n }\n\n parts.push.apply(parts, p);\n\n return parts;\n}\n\nfunction expandTop(str) {\n if (!str)\n return [];\n\n // I don't know why Bash 4.3 does this, but it does.\n // Anything starting with {} will have the first two bytes preserved\n // but *only* at the top level, so {},a}b will not expand to anything,\n // but a{},b}c will be expanded to [a}c,abc].\n // One could argue that this is a bug in Bash, but since the goal of\n // this module is to match Bash's rules, we escape a leading {}\n if (str.substr(0, 2) === '{}') {\n str = '\\\\{\\\\}' + str.substr(2);\n }\n\n return expand(escapeBraces(str), true).map(unescapeBraces);\n}\n\nfunction identity(e) {\n return e;\n}\n\nfunction embrace(str) {\n return '{' + str + '}';\n}\nfunction isPadded(el) {\n return /^-?0\\d/.test(el);\n}\n\nfunction lte(i, y) {\n return i <= y;\n}\nfunction gte(i, y) {\n return i >= y;\n}\n\nfunction expand(str, isTop) {\n var expansions = [];\n\n var m = balanced('{', '}', str);\n if (!m || /\\$$/.test(m.pre)) return [str];\n\n var isNumericSequence = /^-?\\d+\\.\\.-?\\d+(?:\\.\\.-?\\d+)?$/.test(m.body);\n var isAlphaSequence = /^[a-zA-Z]\\.\\.[a-zA-Z](?:\\.\\.-?\\d+)?$/.test(m.body);\n var isSequence = isNumericSequence || isAlphaSequence;\n var isOptions = m.body.indexOf(',') >= 0;\n if (!isSequence && !isOptions) {\n // {a},b}\n if (m.post.match(/,.*\\}/)) {\n str = m.pre + '{' + m.body + escClose + m.post;\n return expand(str);\n }\n return [str];\n }\n\n var n;\n if (isSequence) {\n n = m.body.split(/\\.\\./);\n } else {\n n = parseCommaParts(m.body);\n if (n.length === 1) {\n // x{{a,b}}y ==> x{a}y x{b}y\n n = expand(n[0], false).map(embrace);\n if (n.length === 1) {\n var post = m.post.length\n ? expand(m.post, false)\n : [''];\n return post.map(function(p) {\n return m.pre + n[0] + p;\n });\n }\n }\n }\n\n // at this point, n is the parts, and we know it's not a comma set\n // with a single entry.\n\n // no need to expand pre, since it is guaranteed to be free of brace-sets\n var pre = m.pre;\n var post = m.post.length\n ? expand(m.post, false)\n : [''];\n\n var N;\n\n if (isSequence) {\n var x = numeric(n[0]);\n var y = numeric(n[1]);\n var width = Math.max(n[0].length, n[1].length)\n var incr = n.length == 3\n ? Math.abs(numeric(n[2]))\n : 1;\n var test = lte;\n var reverse = y < x;\n if (reverse) {\n incr *= -1;\n test = gte;\n }\n var pad = n.some(isPadded);\n\n N = [];\n\n for (var i = x; test(i, y); i += incr) {\n var c;\n if (isAlphaSequence) {\n c = String.fromCharCode(i);\n if (c === '\\\\')\n c = '';\n } else {\n c = String(i);\n if (pad) {\n var need = width - c.length;\n if (need > 0) {\n var z = new Array(need + 1).join('0');\n if (i < 0)\n c = '-' + z + c.slice(1);\n else\n c = z + c;\n }\n }\n }\n N.push(c);\n }\n } else {\n N = concatMap(n, function(el) { return expand(el, false) });\n }\n\n for (var j = 0; j < N.length; j++) {\n for (var k = 0; k < post.length; k++) {\n var expansion = pre + N[j] + post[k];\n if (!isTop || isSequence || expansion)\n expansions.push(expansion);\n }\n }\n\n return expansions;\n}\n\n","var util = require('util');\nvar Stream = require('stream').Stream;\nvar DelayedStream = require('delayed-stream');\n\nmodule.exports = CombinedStream;\nfunction CombinedStream() {\n this.writable = false;\n this.readable = true;\n this.dataSize = 0;\n this.maxDataSize = 2 * 1024 * 1024;\n this.pauseStreams = true;\n\n this._released = false;\n this._streams = [];\n this._currentStream = null;\n this._insideLoop = false;\n this._pendingNext = false;\n}\nutil.inherits(CombinedStream, Stream);\n\nCombinedStream.create = function(options) {\n var combinedStream = new this();\n\n options = options || {};\n for (var option in options) {\n combinedStream[option] = options[option];\n }\n\n return combinedStream;\n};\n\nCombinedStream.isStreamLike = function(stream) {\n return (typeof stream !== 'function')\n && (typeof stream !== 'string')\n && (typeof stream !== 'boolean')\n && (typeof stream !== 'number')\n && (!Buffer.isBuffer(stream));\n};\n\nCombinedStream.prototype.append = function(stream) {\n var isStreamLike = CombinedStream.isStreamLike(stream);\n\n if (isStreamLike) {\n if (!(stream instanceof DelayedStream)) {\n var newStream = DelayedStream.create(stream, {\n maxDataSize: Infinity,\n pauseStream: this.pauseStreams,\n });\n stream.on('data', this._checkDataSize.bind(this));\n stream = newStream;\n }\n\n this._handleErrors(stream);\n\n if (this.pauseStreams) {\n stream.pause();\n }\n }\n\n this._streams.push(stream);\n return this;\n};\n\nCombinedStream.prototype.pipe = function(dest, options) {\n Stream.prototype.pipe.call(this, dest, options);\n this.resume();\n return dest;\n};\n\nCombinedStream.prototype._getNext = function() {\n this._currentStream = null;\n\n if (this._insideLoop) {\n this._pendingNext = true;\n return; // defer call\n }\n\n this._insideLoop = true;\n try {\n do {\n this._pendingNext = false;\n this._realGetNext();\n } while (this._pendingNext);\n } finally {\n this._insideLoop = false;\n }\n};\n\nCombinedStream.prototype._realGetNext = function() {\n var stream = this._streams.shift();\n\n\n if (typeof stream == 'undefined') {\n this.end();\n return;\n }\n\n if (typeof stream !== 'function') {\n this._pipeNext(stream);\n return;\n }\n\n var getStream = stream;\n getStream(function(stream) {\n var isStreamLike = CombinedStream.isStreamLike(stream);\n if (isStreamLike) {\n stream.on('data', this._checkDataSize.bind(this));\n this._handleErrors(stream);\n }\n\n this._pipeNext(stream);\n }.bind(this));\n};\n\nCombinedStream.prototype._pipeNext = function(stream) {\n this._currentStream = stream;\n\n var isStreamLike = CombinedStream.isStreamLike(stream);\n if (isStreamLike) {\n stream.on('end', this._getNext.bind(this));\n stream.pipe(this, {end: false});\n return;\n }\n\n var value = stream;\n this.write(value);\n this._getNext();\n};\n\nCombinedStream.prototype._handleErrors = function(stream) {\n var self = this;\n stream.on('error', function(err) {\n self._emitError(err);\n });\n};\n\nCombinedStream.prototype.write = function(data) {\n this.emit('data', data);\n};\n\nCombinedStream.prototype.pause = function() {\n if (!this.pauseStreams) {\n return;\n }\n\n if(this.pauseStreams && this._currentStream && typeof(this._currentStream.pause) == 'function') this._currentStream.pause();\n this.emit('pause');\n};\n\nCombinedStream.prototype.resume = function() {\n if (!this._released) {\n this._released = true;\n this.writable = true;\n this._getNext();\n }\n\n if(this.pauseStreams && this._currentStream && typeof(this._currentStream.resume) == 'function') this._currentStream.resume();\n this.emit('resume');\n};\n\nCombinedStream.prototype.end = function() {\n this._reset();\n this.emit('end');\n};\n\nCombinedStream.prototype.destroy = function() {\n this._reset();\n this.emit('close');\n};\n\nCombinedStream.prototype._reset = function() {\n this.writable = false;\n this._streams = [];\n this._currentStream = null;\n};\n\nCombinedStream.prototype._checkDataSize = function() {\n this._updateDataSize();\n if (this.dataSize <= this.maxDataSize) {\n return;\n }\n\n var message =\n 'DelayedStream#maxDataSize of ' + this.maxDataSize + ' bytes exceeded.';\n this._emitError(new Error(message));\n};\n\nCombinedStream.prototype._updateDataSize = function() {\n this.dataSize = 0;\n\n var self = this;\n this._streams.forEach(function(stream) {\n if (!stream.dataSize) {\n return;\n }\n\n self.dataSize += stream.dataSize;\n });\n\n if (this._currentStream && this._currentStream.dataSize) {\n this.dataSize += this._currentStream.dataSize;\n }\n};\n\nCombinedStream.prototype._emitError = function(err) {\n this._reset();\n this.emit('error', err);\n};\n","module.exports = function (xs, fn) {\n var res = [];\n for (var i = 0; i < xs.length; i++) {\n var x = fn(xs[i], i);\n if (isArray(x)) res.push.apply(res, x);\n else res.push(x);\n }\n return res;\n};\n\nvar isArray = Array.isArray || function (xs) {\n return Object.prototype.toString.call(xs) === '[object Array]';\n};\n","var Stream = require('stream').Stream;\nvar util = require('util');\n\nmodule.exports = DelayedStream;\nfunction DelayedStream() {\n this.source = null;\n this.dataSize = 0;\n this.maxDataSize = 1024 * 1024;\n this.pauseStream = true;\n\n this._maxDataSizeExceeded = false;\n this._released = false;\n this._bufferedEvents = [];\n}\nutil.inherits(DelayedStream, Stream);\n\nDelayedStream.create = function(source, options) {\n var delayedStream = new this();\n\n options = options || {};\n for (var option in options) {\n delayedStream[option] = options[option];\n }\n\n delayedStream.source = source;\n\n var realEmit = source.emit;\n source.emit = function() {\n delayedStream._handleEmit(arguments);\n return realEmit.apply(source, arguments);\n };\n\n source.on('error', function() {});\n if (delayedStream.pauseStream) {\n source.pause();\n }\n\n return delayedStream;\n};\n\nObject.defineProperty(DelayedStream.prototype, 'readable', {\n configurable: true,\n enumerable: true,\n get: function() {\n return this.source.readable;\n }\n});\n\nDelayedStream.prototype.setEncoding = function() {\n return this.source.setEncoding.apply(this.source, arguments);\n};\n\nDelayedStream.prototype.resume = function() {\n if (!this._released) {\n this.release();\n }\n\n this.source.resume();\n};\n\nDelayedStream.prototype.pause = function() {\n this.source.pause();\n};\n\nDelayedStream.prototype.release = function() {\n this._released = true;\n\n this._bufferedEvents.forEach(function(args) {\n this.emit.apply(this, args);\n }.bind(this));\n this._bufferedEvents = [];\n};\n\nDelayedStream.prototype.pipe = function() {\n var r = Stream.prototype.pipe.apply(this, arguments);\n this.resume();\n return r;\n};\n\nDelayedStream.prototype._handleEmit = function(args) {\n if (this._released) {\n this.emit.apply(this, args);\n return;\n }\n\n if (args[0] === 'data') {\n this.dataSize += args[1].length;\n this._checkIfMaxDataSizeExceeded();\n }\n\n this._bufferedEvents.push(args);\n};\n\nDelayedStream.prototype._checkIfMaxDataSizeExceeded = function() {\n if (this._maxDataSizeExceeded) {\n return;\n }\n\n if (this.dataSize <= this.maxDataSize) {\n return;\n }\n\n this._maxDataSizeExceeded = true;\n var message =\n 'DelayedStream#maxDataSize of ' + this.maxDataSize + ' bytes exceeded.'\n this.emit('error', new Error(message));\n};\n","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.of = exports.PropertiesFile = void 0;\n\nvar _fs = _interopRequireDefault(require(\"fs\"));\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\n/*\r\n * properties\r\n *\r\n * Copyright (c) 2013 Matt Steele\r\n * Licensed under the MIT license.\r\n */\n\n\nclass PropertiesFile {\n constructor(...args) {\n this.objs = {};\n\n if (args.length) {\n this.of.apply(this, args);\n }\n }\n\n makeKeys(line) {\n if (line && line.indexOf('#') !== 0) {\n //let splitIndex = line.indexOf('=');\n let separatorPositions = ['=', ':'].map(sep => {\n return line.indexOf(sep);\n }).filter(index => {\n return index > -1;\n });\n let splitIndex = Math.min(...separatorPositions);\n let key = line.substring(0, splitIndex).trim();\n let value = line.substring(splitIndex + 1).trim(); // if keys already exists ...\n\n if (this.objs.hasOwnProperty(key)) {\n // if it is already an Array\n if (Array.isArray(this.objs[key])) {\n // just push the new value\n this.objs[key].push(value);\n } else {\n // transform the value into Array\n let oldValue = this.objs[key];\n this.objs[key] = [oldValue, value];\n }\n } else {\n // the key does not exists\n const escapedValue = value.replace(/\"/g, '\\\\\"') // escape \"\n .replace(/\\\\:/g, ':') // remove \\ before :\n .replace(/\\\\=/g, '='); // remove \\ before =\n\n this.objs[key] = unescape(JSON.parse('\"' + escapedValue + '\"'));\n }\n }\n }\n\n addFile(file) {\n let data = _fs.default.readFileSync(file, 'utf-8');\n\n let items = data.split(/\\r?\\n/);\n let me = this;\n\n for (let i = 0; i < items.length; i++) {\n let line = items[i];\n\n while (line.substring(line.length - 1) === '\\\\') {\n line = line.slice(0, -1);\n let nextLine = items[i + 1];\n line = line + nextLine.trim();\n i++;\n }\n\n me.makeKeys(line);\n }\n }\n\n of(...args) {\n for (let i = 0; i < args.length; i++) {\n this.addFile(args[i]);\n }\n }\n\n get(key, defaultValue) {\n if (this.objs.hasOwnProperty(key)) {\n if (Array.isArray(this.objs[key])) {\n let ret = [];\n\n for (let i = 0; i < this.objs[key].length; i++) {\n ret[i] = this.interpolate(this.objs[key][i]);\n }\n\n return ret;\n } else {\n return typeof this.objs[key] === 'undefined' ? '' : this.interpolate(this.objs[key]);\n }\n }\n\n return defaultValue;\n }\n\n getLast(key, defaultValue) {\n if (this.objs.hasOwnProperty(key)) {\n if (Array.isArray(this.objs[key])) {\n var lg = this.objs[key].length;\n return this.interpolate(this.objs[key][lg - 1]);\n } else {\n return typeof this.objs[key] === 'undefined' ? '' : this.interpolate(this.objs[key]);\n }\n }\n\n return defaultValue;\n }\n\n getFirst(key, defaultValue) {\n if (this.objs.hasOwnProperty(key)) {\n if (Array.isArray(this.objs[key])) {\n return this.interpolate(this.objs[key][0]);\n } else {\n return typeof this.objs[key] === 'undefined' ? '' : this.interpolate(this.objs[key]);\n }\n }\n\n return defaultValue;\n }\n\n getInt(key, defaultIntValue) {\n let val = this.getLast(key);\n\n if (!val) {\n return defaultIntValue;\n } else {\n return parseInt(val, 10);\n }\n }\n\n getFloat(key, defaultFloatValue) {\n let val = this.getLast(key);\n\n if (!val) {\n return defaultFloatValue;\n } else {\n return parseFloat(val);\n }\n }\n\n getBoolean(key, defaultBooleanValue) {\n function parseBool(b) {\n return !/^(false|0)$/i.test(b) && !!b;\n }\n\n let val = this.getLast(key);\n\n if (!val) {\n return defaultBooleanValue || false;\n } else {\n return parseBool(val);\n }\n }\n\n set(key, value) {\n this.objs[key] = value;\n }\n\n interpolate(s) {\n let me = this;\n return s.replace(/\\\\\\\\/g, '\\\\').replace(/\\$\\{([A-Za-z0-9\\.\\-\\_]*)\\}/g, function (match) {\n return me.getLast(match.substring(2, match.length - 1));\n });\n }\n\n getKeys() {\n let keys = [];\n\n for (let key in this.objs) {\n keys.push(key);\n }\n\n return keys;\n }\n\n getMatchingKeys(matchstr) {\n let keys = [];\n\n for (let key in this.objs) {\n if (key.search(matchstr) !== -1) {\n keys.push(key);\n }\n }\n\n return keys;\n }\n\n reset() {\n this.objs = {};\n }\n\n} // Retain 'of' from v1 for backward compatibility\n\n\nexports.PropertiesFile = PropertiesFile;\n\nlet of = function of(...args) {\n let globalFile = new PropertiesFile();\n globalFile.of.apply(globalFile, args);\n return globalFile;\n};\n\nexports.of = of;\n","/*!\n * mime-db\n * Copyright(c) 2014 Jonathan Ong\n * Copyright(c) 2015-2022 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n/**\n * Module exports.\n */\n\nmodule.exports = require('./db.json')\n","/*!\n * mime-types\n * Copyright(c) 2014 Jonathan Ong\n * Copyright(c) 2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar db = require('mime-db')\nvar extname = require('path').extname\n\n/**\n * Module variables.\n * @private\n */\n\nvar EXTRACT_TYPE_REGEXP = /^\\s*([^;\\s]*)(?:;|\\s|$)/\nvar TEXT_TYPE_REGEXP = /^text\\//i\n\n/**\n * Module exports.\n * @public\n */\n\nexports.charset = charset\nexports.charsets = { lookup: charset }\nexports.contentType = contentType\nexports.extension = extension\nexports.extensions = Object.create(null)\nexports.lookup = lookup\nexports.types = Object.create(null)\n\n// Populate the extensions/types maps\npopulateMaps(exports.extensions, exports.types)\n\n/**\n * Get the default charset for a MIME type.\n *\n * @param {string} type\n * @return {boolean|string}\n */\n\nfunction charset (type) {\n if (!type || typeof type !== 'string') {\n return false\n }\n\n // TODO: use media-typer\n var match = EXTRACT_TYPE_REGEXP.exec(type)\n var mime = match && db[match[1].toLowerCase()]\n\n if (mime && mime.charset) {\n return mime.charset\n }\n\n // default text/* to utf-8\n if (match && TEXT_TYPE_REGEXP.test(match[1])) {\n return 'UTF-8'\n }\n\n return false\n}\n\n/**\n * Create a full Content-Type header given a MIME type or extension.\n *\n * @param {string} str\n * @return {boolean|string}\n */\n\nfunction contentType (str) {\n // TODO: should this even be in this module?\n if (!str || typeof str !== 'string') {\n return false\n }\n\n var mime = str.indexOf('/') === -1\n ? exports.lookup(str)\n : str\n\n if (!mime) {\n return false\n }\n\n // TODO: use content-type or other module\n if (mime.indexOf('charset') === -1) {\n var charset = exports.charset(mime)\n if (charset) mime += '; charset=' + charset.toLowerCase()\n }\n\n return mime\n}\n\n/**\n * Get the default extension for a MIME type.\n *\n * @param {string} type\n * @return {boolean|string}\n */\n\nfunction extension (type) {\n if (!type || typeof type !== 'string') {\n return false\n }\n\n // TODO: use media-typer\n var match = EXTRACT_TYPE_REGEXP.exec(type)\n\n // get extensions\n var exts = match && exports.extensions[match[1].toLowerCase()]\n\n if (!exts || !exts.length) {\n return false\n }\n\n return exts[0]\n}\n\n/**\n * Lookup the MIME type for a file path/extension.\n *\n * @param {string} path\n * @return {boolean|string}\n */\n\nfunction lookup (path) {\n if (!path || typeof path !== 'string') {\n return false\n }\n\n // get the extension (\"ext\" or \".ext\" or full path)\n var extension = extname('x.' + path)\n .toLowerCase()\n .substr(1)\n\n if (!extension) {\n return false\n }\n\n return exports.types[extension] || false\n}\n\n/**\n * Populate the extensions and types maps.\n * @private\n */\n\nfunction populateMaps (extensions, types) {\n // source preference (least -> most)\n var preference = ['nginx', 'apache', undefined, 'iana']\n\n Object.keys(db).forEach(function forEachMimeType (type) {\n var mime = db[type]\n var exts = mime.extensions\n\n if (!exts || !exts.length) {\n return\n }\n\n // mime -> extensions\n extensions[type] = exts\n\n // extension -> mime\n for (var i = 0; i < exts.length; i++) {\n var extension = exts[i]\n\n if (types[extension]) {\n var from = preference.indexOf(db[types[extension]].source)\n var to = preference.indexOf(mime.source)\n\n if (types[extension] !== 'application/octet-stream' &&\n (from > to || (from === to && types[extension].substr(0, 12) === 'application/'))) {\n // skip the remapping\n continue\n }\n }\n\n // set the extension -> mime\n types[extension] = type\n }\n })\n}\n","module.exports = minimatch\nminimatch.Minimatch = Minimatch\n\nvar path = (function () { try { return require('path') } catch (e) {}}()) || {\n sep: '/'\n}\nminimatch.sep = path.sep\n\nvar GLOBSTAR = minimatch.GLOBSTAR = Minimatch.GLOBSTAR = {}\nvar expand = require('brace-expansion')\n\nvar plTypes = {\n '!': { open: '(?:(?!(?:', close: '))[^/]*?)'},\n '?': { open: '(?:', close: ')?' },\n '+': { open: '(?:', close: ')+' },\n '*': { open: '(?:', close: ')*' },\n '@': { open: '(?:', close: ')' }\n}\n\n// any single thing other than /\n// don't need to escape / when using new RegExp()\nvar qmark = '[^/]'\n\n// * => any number of characters\nvar star = qmark + '*?'\n\n// ** when dots are allowed. Anything goes, except .. and .\n// not (^ or / followed by one or two dots followed by $ or /),\n// followed by anything, any number of times.\nvar twoStarDot = '(?:(?!(?:\\\\\\/|^)(?:\\\\.{1,2})($|\\\\\\/)).)*?'\n\n// not a ^ or / followed by a dot,\n// followed by anything, any number of times.\nvar twoStarNoDot = '(?:(?!(?:\\\\\\/|^)\\\\.).)*?'\n\n// characters that need to be escaped in RegExp.\nvar reSpecials = charSet('().*{}+?[]^$\\\\!')\n\n// \"abc\" -> { a:true, b:true, c:true }\nfunction charSet (s) {\n return s.split('').reduce(function (set, c) {\n set[c] = true\n return set\n }, {})\n}\n\n// normalizes slashes.\nvar slashSplit = /\\/+/\n\nminimatch.filter = filter\nfunction filter (pattern, options) {\n options = options || {}\n return function (p, i, list) {\n return minimatch(p, pattern, options)\n }\n}\n\nfunction ext (a, b) {\n b = b || {}\n var t = {}\n Object.keys(a).forEach(function (k) {\n t[k] = a[k]\n })\n Object.keys(b).forEach(function (k) {\n t[k] = b[k]\n })\n return t\n}\n\nminimatch.defaults = function (def) {\n if (!def || typeof def !== 'object' || !Object.keys(def).length) {\n return minimatch\n }\n\n var orig = minimatch\n\n var m = function minimatch (p, pattern, options) {\n return orig(p, pattern, ext(def, options))\n }\n\n m.Minimatch = function Minimatch (pattern, options) {\n return new orig.Minimatch(pattern, ext(def, options))\n }\n m.Minimatch.defaults = function defaults (options) {\n return orig.defaults(ext(def, options)).Minimatch\n }\n\n m.filter = function filter (pattern, options) {\n return orig.filter(pattern, ext(def, options))\n }\n\n m.defaults = function defaults (options) {\n return orig.defaults(ext(def, options))\n }\n\n m.makeRe = function makeRe (pattern, options) {\n return orig.makeRe(pattern, ext(def, options))\n }\n\n m.braceExpand = function braceExpand (pattern, options) {\n return orig.braceExpand(pattern, ext(def, options))\n }\n\n m.match = function (list, pattern, options) {\n return orig.match(list, pattern, ext(def, options))\n }\n\n return m\n}\n\nMinimatch.defaults = function (def) {\n return minimatch.defaults(def).Minimatch\n}\n\nfunction minimatch (p, pattern, options) {\n assertValidPattern(pattern)\n\n if (!options) options = {}\n\n // shortcut: comments match nothing.\n if (!options.nocomment && pattern.charAt(0) === '#') {\n return false\n }\n\n return new Minimatch(pattern, options).match(p)\n}\n\nfunction Minimatch (pattern, options) {\n if (!(this instanceof Minimatch)) {\n return new Minimatch(pattern, options)\n }\n\n assertValidPattern(pattern)\n\n if (!options) options = {}\n\n pattern = pattern.trim()\n\n // windows support: need to use /, not \\\n if (!options.allowWindowsEscape && path.sep !== '/') {\n pattern = pattern.split(path.sep).join('/')\n }\n\n this.options = options\n this.set = []\n this.pattern = pattern\n this.regexp = null\n this.negate = false\n this.comment = false\n this.empty = false\n this.partial = !!options.partial\n\n // make the set of regexps etc.\n this.make()\n}\n\nMinimatch.prototype.debug = function () {}\n\nMinimatch.prototype.make = make\nfunction make () {\n var pattern = this.pattern\n var options = this.options\n\n // empty patterns and comments match nothing.\n if (!options.nocomment && pattern.charAt(0) === '#') {\n this.comment = true\n return\n }\n if (!pattern) {\n this.empty = true\n return\n }\n\n // step 1: figure out negation, etc.\n this.parseNegate()\n\n // step 2: expand braces\n var set = this.globSet = this.braceExpand()\n\n if (options.debug) this.debug = function debug() { console.error.apply(console, arguments) }\n\n this.debug(this.pattern, set)\n\n // step 3: now we have a set, so turn each one into a series of path-portion\n // matching patterns.\n // These will be regexps, except in the case of \"**\", which is\n // set to the GLOBSTAR object for globstar behavior,\n // and will not contain any / characters\n set = this.globParts = set.map(function (s) {\n return s.split(slashSplit)\n })\n\n this.debug(this.pattern, set)\n\n // glob --> regexps\n set = set.map(function (s, si, set) {\n return s.map(this.parse, this)\n }, this)\n\n this.debug(this.pattern, set)\n\n // filter out everything that didn't compile properly.\n set = set.filter(function (s) {\n return s.indexOf(false) === -1\n })\n\n this.debug(this.pattern, set)\n\n this.set = set\n}\n\nMinimatch.prototype.parseNegate = parseNegate\nfunction parseNegate () {\n var pattern = this.pattern\n var negate = false\n var options = this.options\n var negateOffset = 0\n\n if (options.nonegate) return\n\n for (var i = 0, l = pattern.length\n ; i < l && pattern.charAt(i) === '!'\n ; i++) {\n negate = !negate\n negateOffset++\n }\n\n if (negateOffset) this.pattern = pattern.substr(negateOffset)\n this.negate = negate\n}\n\n// Brace expansion:\n// a{b,c}d -> abd acd\n// a{b,}c -> abc ac\n// a{0..3}d -> a0d a1d a2d a3d\n// a{b,c{d,e}f}g -> abg acdfg acefg\n// a{b,c}d{e,f}g -> abdeg acdeg abdeg abdfg\n//\n// Invalid sets are not expanded.\n// a{2..}b -> a{2..}b\n// a{b}c -> a{b}c\nminimatch.braceExpand = function (pattern, options) {\n return braceExpand(pattern, options)\n}\n\nMinimatch.prototype.braceExpand = braceExpand\n\nfunction braceExpand (pattern, options) {\n if (!options) {\n if (this instanceof Minimatch) {\n options = this.options\n } else {\n options = {}\n }\n }\n\n pattern = typeof pattern === 'undefined'\n ? this.pattern : pattern\n\n assertValidPattern(pattern)\n\n // Thanks to Yeting Li for\n // improving this regexp to avoid a ReDOS vulnerability.\n if (options.nobrace || !/\\{(?:(?!\\{).)*\\}/.test(pattern)) {\n // shortcut. no need to expand.\n return [pattern]\n }\n\n return expand(pattern)\n}\n\nvar MAX_PATTERN_LENGTH = 1024 * 64\nvar assertValidPattern = function (pattern) {\n if (typeof pattern !== 'string') {\n throw new TypeError('invalid pattern')\n }\n\n if (pattern.length > MAX_PATTERN_LENGTH) {\n throw new TypeError('pattern is too long')\n }\n}\n\n// parse a component of the expanded set.\n// At this point, no pattern may contain \"/\" in it\n// so we're going to return a 2d array, where each entry is the full\n// pattern, split on '/', and then turned into a regular expression.\n// A regexp is made at the end which joins each array with an\n// escaped /, and another full one which joins each regexp with |.\n//\n// Following the lead of Bash 4.1, note that \"**\" only has special meaning\n// when it is the *only* thing in a path portion. Otherwise, any series\n// of * is equivalent to a single *. Globstar behavior is enabled by\n// default, and can be disabled by setting options.noglobstar.\nMinimatch.prototype.parse = parse\nvar SUBPARSE = {}\nfunction parse (pattern, isSub) {\n assertValidPattern(pattern)\n\n var options = this.options\n\n // shortcuts\n if (pattern === '**') {\n if (!options.noglobstar)\n return GLOBSTAR\n else\n pattern = '*'\n }\n if (pattern === '') return ''\n\n var re = ''\n var hasMagic = !!options.nocase\n var escaping = false\n // ? => one single character\n var patternListStack = []\n var negativeLists = []\n var stateChar\n var inClass = false\n var reClassStart = -1\n var classStart = -1\n // . and .. never match anything that doesn't start with .,\n // even when options.dot is set.\n var patternStart = pattern.charAt(0) === '.' ? '' // anything\n // not (start or / followed by . or .. followed by / or end)\n : options.dot ? '(?!(?:^|\\\\\\/)\\\\.{1,2}(?:$|\\\\\\/))'\n : '(?!\\\\.)'\n var self = this\n\n function clearStateChar () {\n if (stateChar) {\n // we had some state-tracking character\n // that wasn't consumed by this pass.\n switch (stateChar) {\n case '*':\n re += star\n hasMagic = true\n break\n case '?':\n re += qmark\n hasMagic = true\n break\n default:\n re += '\\\\' + stateChar\n break\n }\n self.debug('clearStateChar %j %j', stateChar, re)\n stateChar = false\n }\n }\n\n for (var i = 0, len = pattern.length, c\n ; (i < len) && (c = pattern.charAt(i))\n ; i++) {\n this.debug('%s\\t%s %s %j', pattern, i, re, c)\n\n // skip over any that are escaped.\n if (escaping && reSpecials[c]) {\n re += '\\\\' + c\n escaping = false\n continue\n }\n\n switch (c) {\n /* istanbul ignore next */\n case '/': {\n // completely not allowed, even escaped.\n // Should already be path-split by now.\n return false\n }\n\n case '\\\\':\n clearStateChar()\n escaping = true\n continue\n\n // the various stateChar values\n // for the \"extglob\" stuff.\n case '?':\n case '*':\n case '+':\n case '@':\n case '!':\n this.debug('%s\\t%s %s %j <-- stateChar', pattern, i, re, c)\n\n // all of those are literals inside a class, except that\n // the glob [!a] means [^a] in regexp\n if (inClass) {\n this.debug(' in class')\n if (c === '!' && i === classStart + 1) c = '^'\n re += c\n continue\n }\n\n // if we already have a stateChar, then it means\n // that there was something like ** or +? in there.\n // Handle the stateChar, then proceed with this one.\n self.debug('call clearStateChar %j', stateChar)\n clearStateChar()\n stateChar = c\n // if extglob is disabled, then +(asdf|foo) isn't a thing.\n // just clear the statechar *now*, rather than even diving into\n // the patternList stuff.\n if (options.noext) clearStateChar()\n continue\n\n case '(':\n if (inClass) {\n re += '('\n continue\n }\n\n if (!stateChar) {\n re += '\\\\('\n continue\n }\n\n patternListStack.push({\n type: stateChar,\n start: i - 1,\n reStart: re.length,\n open: plTypes[stateChar].open,\n close: plTypes[stateChar].close\n })\n // negation is (?:(?!js)[^/]*)\n re += stateChar === '!' ? '(?:(?!(?:' : '(?:'\n this.debug('plType %j %j', stateChar, re)\n stateChar = false\n continue\n\n case ')':\n if (inClass || !patternListStack.length) {\n re += '\\\\)'\n continue\n }\n\n clearStateChar()\n hasMagic = true\n var pl = patternListStack.pop()\n // negation is (?:(?!js)[^/]*)\n // The others are (?:)\n re += pl.close\n if (pl.type === '!') {\n negativeLists.push(pl)\n }\n pl.reEnd = re.length\n continue\n\n case '|':\n if (inClass || !patternListStack.length || escaping) {\n re += '\\\\|'\n escaping = false\n continue\n }\n\n clearStateChar()\n re += '|'\n continue\n\n // these are mostly the same in regexp and glob\n case '[':\n // swallow any state-tracking char before the [\n clearStateChar()\n\n if (inClass) {\n re += '\\\\' + c\n continue\n }\n\n inClass = true\n classStart = i\n reClassStart = re.length\n re += c\n continue\n\n case ']':\n // a right bracket shall lose its special\n // meaning and represent itself in\n // a bracket expression if it occurs\n // first in the list. -- POSIX.2 2.8.3.2\n if (i === classStart + 1 || !inClass) {\n re += '\\\\' + c\n escaping = false\n continue\n }\n\n // handle the case where we left a class open.\n // \"[z-a]\" is valid, equivalent to \"\\[z-a\\]\"\n // split where the last [ was, make sure we don't have\n // an invalid re. if so, re-walk the contents of the\n // would-be class to re-translate any characters that\n // were passed through as-is\n // TODO: It would probably be faster to determine this\n // without a try/catch and a new RegExp, but it's tricky\n // to do safely. For now, this is safe and works.\n var cs = pattern.substring(classStart + 1, i)\n try {\n RegExp('[' + cs + ']')\n } catch (er) {\n // not a valid class!\n var sp = this.parse(cs, SUBPARSE)\n re = re.substr(0, reClassStart) + '\\\\[' + sp[0] + '\\\\]'\n hasMagic = hasMagic || sp[1]\n inClass = false\n continue\n }\n\n // finish up the class.\n hasMagic = true\n inClass = false\n re += c\n continue\n\n default:\n // swallow any state char that wasn't consumed\n clearStateChar()\n\n if (escaping) {\n // no need\n escaping = false\n } else if (reSpecials[c]\n && !(c === '^' && inClass)) {\n re += '\\\\'\n }\n\n re += c\n\n } // switch\n } // for\n\n // handle the case where we left a class open.\n // \"[abc\" is valid, equivalent to \"\\[abc\"\n if (inClass) {\n // split where the last [ was, and escape it\n // this is a huge pita. We now have to re-walk\n // the contents of the would-be class to re-translate\n // any characters that were passed through as-is\n cs = pattern.substr(classStart + 1)\n sp = this.parse(cs, SUBPARSE)\n re = re.substr(0, reClassStart) + '\\\\[' + sp[0]\n hasMagic = hasMagic || sp[1]\n }\n\n // handle the case where we had a +( thing at the *end*\n // of the pattern.\n // each pattern list stack adds 3 chars, and we need to go through\n // and escape any | chars that were passed through as-is for the regexp.\n // Go through and escape them, taking care not to double-escape any\n // | chars that were already escaped.\n for (pl = patternListStack.pop(); pl; pl = patternListStack.pop()) {\n var tail = re.slice(pl.reStart + pl.open.length)\n this.debug('setting tail', re, pl)\n // maybe some even number of \\, then maybe 1 \\, followed by a |\n tail = tail.replace(/((?:\\\\{2}){0,64})(\\\\?)\\|/g, function (_, $1, $2) {\n if (!$2) {\n // the | isn't already escaped, so escape it.\n $2 = '\\\\'\n }\n\n // need to escape all those slashes *again*, without escaping the\n // one that we need for escaping the | character. As it works out,\n // escaping an even number of slashes can be done by simply repeating\n // it exactly after itself. That's why this trick works.\n //\n // I am sorry that you have to see this.\n return $1 + $1 + $2 + '|'\n })\n\n this.debug('tail=%j\\n %s', tail, tail, pl, re)\n var t = pl.type === '*' ? star\n : pl.type === '?' ? qmark\n : '\\\\' + pl.type\n\n hasMagic = true\n re = re.slice(0, pl.reStart) + t + '\\\\(' + tail\n }\n\n // handle trailing things that only matter at the very end.\n clearStateChar()\n if (escaping) {\n // trailing \\\\\n re += '\\\\\\\\'\n }\n\n // only need to apply the nodot start if the re starts with\n // something that could conceivably capture a dot\n var addPatternStart = false\n switch (re.charAt(0)) {\n case '[': case '.': case '(': addPatternStart = true\n }\n\n // Hack to work around lack of negative lookbehind in JS\n // A pattern like: *.!(x).!(y|z) needs to ensure that a name\n // like 'a.xyz.yz' doesn't match. So, the first negative\n // lookahead, has to look ALL the way ahead, to the end of\n // the pattern.\n for (var n = negativeLists.length - 1; n > -1; n--) {\n var nl = negativeLists[n]\n\n var nlBefore = re.slice(0, nl.reStart)\n var nlFirst = re.slice(nl.reStart, nl.reEnd - 8)\n var nlLast = re.slice(nl.reEnd - 8, nl.reEnd)\n var nlAfter = re.slice(nl.reEnd)\n\n nlLast += nlAfter\n\n // Handle nested stuff like *(*.js|!(*.json)), where open parens\n // mean that we should *not* include the ) in the bit that is considered\n // \"after\" the negated section.\n var openParensBefore = nlBefore.split('(').length - 1\n var cleanAfter = nlAfter\n for (i = 0; i < openParensBefore; i++) {\n cleanAfter = cleanAfter.replace(/\\)[+*?]?/, '')\n }\n nlAfter = cleanAfter\n\n var dollar = ''\n if (nlAfter === '' && isSub !== SUBPARSE) {\n dollar = '$'\n }\n var newRe = nlBefore + nlFirst + nlAfter + dollar + nlLast\n re = newRe\n }\n\n // if the re is not \"\" at this point, then we need to make sure\n // it doesn't match against an empty path part.\n // Otherwise a/* will match a/, which it should not.\n if (re !== '' && hasMagic) {\n re = '(?=.)' + re\n }\n\n if (addPatternStart) {\n re = patternStart + re\n }\n\n // parsing just a piece of a larger pattern.\n if (isSub === SUBPARSE) {\n return [re, hasMagic]\n }\n\n // skip the regexp for non-magical patterns\n // unescape anything in it, though, so that it'll be\n // an exact match against a file etc.\n if (!hasMagic) {\n return globUnescape(pattern)\n }\n\n var flags = options.nocase ? 'i' : ''\n try {\n var regExp = new RegExp('^' + re + '$', flags)\n } catch (er) /* istanbul ignore next - should be impossible */ {\n // If it was an invalid regular expression, then it can't match\n // anything. This trick looks for a character after the end of\n // the string, which is of course impossible, except in multi-line\n // mode, but it's not a /m regex.\n return new RegExp('$.')\n }\n\n regExp._glob = pattern\n regExp._src = re\n\n return regExp\n}\n\nminimatch.makeRe = function (pattern, options) {\n return new Minimatch(pattern, options || {}).makeRe()\n}\n\nMinimatch.prototype.makeRe = makeRe\nfunction makeRe () {\n if (this.regexp || this.regexp === false) return this.regexp\n\n // at this point, this.set is a 2d array of partial\n // pattern strings, or \"**\".\n //\n // It's better to use .match(). This function shouldn't\n // be used, really, but it's pretty convenient sometimes,\n // when you just want to work with a regex.\n var set = this.set\n\n if (!set.length) {\n this.regexp = false\n return this.regexp\n }\n var options = this.options\n\n var twoStar = options.noglobstar ? star\n : options.dot ? twoStarDot\n : twoStarNoDot\n var flags = options.nocase ? 'i' : ''\n\n var re = set.map(function (pattern) {\n return pattern.map(function (p) {\n return (p === GLOBSTAR) ? twoStar\n : (typeof p === 'string') ? regExpEscape(p)\n : p._src\n }).join('\\\\\\/')\n }).join('|')\n\n // must match entire pattern\n // ending in a * or ** will make it less strict.\n re = '^(?:' + re + ')$'\n\n // can match anything, as long as it's not this.\n if (this.negate) re = '^(?!' + re + ').*$'\n\n try {\n this.regexp = new RegExp(re, flags)\n } catch (ex) /* istanbul ignore next - should be impossible */ {\n this.regexp = false\n }\n return this.regexp\n}\n\nminimatch.match = function (list, pattern, options) {\n options = options || {}\n var mm = new Minimatch(pattern, options)\n list = list.filter(function (f) {\n return mm.match(f)\n })\n if (mm.options.nonull && !list.length) {\n list.push(pattern)\n }\n return list\n}\n\nMinimatch.prototype.match = function match (f, partial) {\n if (typeof partial === 'undefined') partial = this.partial\n this.debug('match', f, this.pattern)\n // short-circuit in the case of busted things.\n // comments, etc.\n if (this.comment) return false\n if (this.empty) return f === ''\n\n if (f === '/' && partial) return true\n\n var options = this.options\n\n // windows: need to use /, not \\\n if (path.sep !== '/') {\n f = f.split(path.sep).join('/')\n }\n\n // treat the test path as a set of pathparts.\n f = f.split(slashSplit)\n this.debug(this.pattern, 'split', f)\n\n // just ONE of the pattern sets in this.set needs to match\n // in order for it to be valid. If negating, then just one\n // match means that we have failed.\n // Either way, return on the first hit.\n\n var set = this.set\n this.debug(this.pattern, 'set', set)\n\n // Find the basename of the path by looking for the last non-empty segment\n var filename\n var i\n for (i = f.length - 1; i >= 0; i--) {\n filename = f[i]\n if (filename) break\n }\n\n for (i = 0; i < set.length; i++) {\n var pattern = set[i]\n var file = f\n if (options.matchBase && pattern.length === 1) {\n file = [filename]\n }\n var hit = this.matchOne(file, pattern, partial)\n if (hit) {\n if (options.flipNegate) return true\n return !this.negate\n }\n }\n\n // didn't get any hits. this is success if it's a negative\n // pattern, failure otherwise.\n if (options.flipNegate) return false\n return this.negate\n}\n\n// set partial to true to test if, for example,\n// \"/a/b\" matches the start of \"/*/b/*/d\"\n// Partial means, if you run out of file before you run\n// out of pattern, then that's fine, as long as all\n// the parts match.\nMinimatch.prototype.matchOne = function (file, pattern, partial) {\n var options = this.options\n\n this.debug('matchOne',\n { 'this': this, file: file, pattern: pattern })\n\n this.debug('matchOne', file.length, pattern.length)\n\n for (var fi = 0,\n pi = 0,\n fl = file.length,\n pl = pattern.length\n ; (fi < fl) && (pi < pl)\n ; fi++, pi++) {\n this.debug('matchOne loop')\n var p = pattern[pi]\n var f = file[fi]\n\n this.debug(pattern, p, f)\n\n // should be impossible.\n // some invalid regexp stuff in the set.\n /* istanbul ignore if */\n if (p === false) return false\n\n if (p === GLOBSTAR) {\n this.debug('GLOBSTAR', [pattern, p, f])\n\n // \"**\"\n // a/**/b/**/c would match the following:\n // a/b/x/y/z/c\n // a/x/y/z/b/c\n // a/b/x/b/x/c\n // a/b/c\n // To do this, take the rest of the pattern after\n // the **, and see if it would match the file remainder.\n // If so, return success.\n // If not, the ** \"swallows\" a segment, and try again.\n // This is recursively awful.\n //\n // a/**/b/**/c matching a/b/x/y/z/c\n // - a matches a\n // - doublestar\n // - matchOne(b/x/y/z/c, b/**/c)\n // - b matches b\n // - doublestar\n // - matchOne(x/y/z/c, c) -> no\n // - matchOne(y/z/c, c) -> no\n // - matchOne(z/c, c) -> no\n // - matchOne(c, c) yes, hit\n var fr = fi\n var pr = pi + 1\n if (pr === pl) {\n this.debug('** at the end')\n // a ** at the end will just swallow the rest.\n // We have found a match.\n // however, it will not swallow /.x, unless\n // options.dot is set.\n // . and .. are *never* matched by **, for explosively\n // exponential reasons.\n for (; fi < fl; fi++) {\n if (file[fi] === '.' || file[fi] === '..' ||\n (!options.dot && file[fi].charAt(0) === '.')) return false\n }\n return true\n }\n\n // ok, let's see if we can swallow whatever we can.\n while (fr < fl) {\n var swallowee = file[fr]\n\n this.debug('\\nglobstar while', file, fr, pattern, pr, swallowee)\n\n // XXX remove this slice. Just pass the start index.\n if (this.matchOne(file.slice(fr), pattern.slice(pr), partial)) {\n this.debug('globstar found match!', fr, fl, swallowee)\n // found a match.\n return true\n } else {\n // can't swallow \".\" or \"..\" ever.\n // can only swallow \".foo\" when explicitly asked.\n if (swallowee === '.' || swallowee === '..' ||\n (!options.dot && swallowee.charAt(0) === '.')) {\n this.debug('dot detected!', file, fr, pattern, pr)\n break\n }\n\n // ** swallows a segment, and continue.\n this.debug('globstar swallow a segment, and continue')\n fr++\n }\n }\n\n // no match was found.\n // However, in partial mode, we can't say this is necessarily over.\n // If there's more *pattern* left, then\n /* istanbul ignore if */\n if (partial) {\n // ran out of file\n this.debug('\\n>>> no match, partial?', file, fr, pattern, pr)\n if (fr === fl) return true\n }\n return false\n }\n\n // something other than **\n // non-magic patterns just have to match exactly\n // patterns with magic have been turned into regexps.\n var hit\n if (typeof p === 'string') {\n hit = f === p\n this.debug('string match', p, f, hit)\n } else {\n hit = f.match(p)\n this.debug('pattern match', p, f, hit)\n }\n\n if (!hit) return false\n }\n\n // Note: ending in / means that we'll get a final \"\"\n // at the end of the pattern. This can only match a\n // corresponding \"\" at the end of the file.\n // If the file ends in /, then it can only match a\n // a pattern that ends in /, unless the pattern just\n // doesn't have any more for it. But, a/b/ should *not*\n // match \"a/b/*\", even though \"\" matches against the\n // [^/]*? pattern, except in partial mode, where it might\n // simply not be reached yet.\n // However, a/b/ should still satisfy a/*\n\n // now either we fell off the end of the pattern, or we're done.\n if (fi === fl && pi === pl) {\n // ran out of pattern and filename at the same time.\n // an exact hit!\n return true\n } else if (fi === fl) {\n // ran out of file, but still had pattern left.\n // this is ok if we're doing the match as part of\n // a glob fs traversal.\n return partial\n } else /* istanbul ignore else */ if (pi === pl) {\n // ran out of pattern, still have file left.\n // this is only acceptable if we're on the very last\n // empty segment of a file with a trailing slash.\n // a/* should match a/b/\n return (fi === fl - 1) && (file[fi] === '')\n }\n\n // should be unreachable.\n /* istanbul ignore next */\n throw new Error('wtf?')\n}\n\n// replace stuff like \\* with *\nfunction globUnescape (s) {\n return s.replace(/\\\\(.)/g, '$1')\n}\n\nfunction regExpEscape (s) {\n return s.replace(/[-[\\]{}()*+?.,\\\\^$|#\\s]/g, '\\\\$&')\n}\n","/*eslint no-var:0, prefer-arrow-callback: 0, object-shorthand: 0 */\n'use strict';\n\n\nvar Punycode = require('punycode');\n\n\nvar internals = {};\n\n\n//\n// Read rules from file.\n//\ninternals.rules = require('./data/rules.json').map(function (rule) {\n\n return {\n rule: rule,\n suffix: rule.replace(/^(\\*\\.|\\!)/, ''),\n punySuffix: -1,\n wildcard: rule.charAt(0) === '*',\n exception: rule.charAt(0) === '!'\n };\n});\n\n\n//\n// Check is given string ends with `suffix`.\n//\ninternals.endsWith = function (str, suffix) {\n\n return str.indexOf(suffix, str.length - suffix.length) !== -1;\n};\n\n\n//\n// Find rule for a given domain.\n//\ninternals.findRule = function (domain) {\n\n var punyDomain = Punycode.toASCII(domain);\n return internals.rules.reduce(function (memo, rule) {\n\n if (rule.punySuffix === -1){\n rule.punySuffix = Punycode.toASCII(rule.suffix);\n }\n if (!internals.endsWith(punyDomain, '.' + rule.punySuffix) && punyDomain !== rule.punySuffix) {\n return memo;\n }\n // This has been commented out as it never seems to run. This is because\n // sub tlds always appear after their parents and we never find a shorter\n // match.\n //if (memo) {\n // var memoSuffix = Punycode.toASCII(memo.suffix);\n // if (memoSuffix.length >= punySuffix.length) {\n // return memo;\n // }\n //}\n return rule;\n }, null);\n};\n\n\n//\n// Error codes and messages.\n//\nexports.errorCodes = {\n DOMAIN_TOO_SHORT: 'Domain name too short.',\n DOMAIN_TOO_LONG: 'Domain name too long. It should be no more than 255 chars.',\n LABEL_STARTS_WITH_DASH: 'Domain name label can not start with a dash.',\n LABEL_ENDS_WITH_DASH: 'Domain name label can not end with a dash.',\n LABEL_TOO_LONG: 'Domain name label should be at most 63 chars long.',\n LABEL_TOO_SHORT: 'Domain name label should be at least 1 character long.',\n LABEL_INVALID_CHARS: 'Domain name label can only contain alphanumeric characters or dashes.'\n};\n\n\n//\n// Validate domain name and throw if not valid.\n//\n// From wikipedia:\n//\n// Hostnames are composed of series of labels concatenated with dots, as are all\n// domain names. Each label must be between 1 and 63 characters long, and the\n// entire hostname (including the delimiting dots) has a maximum of 255 chars.\n//\n// Allowed chars:\n//\n// * `a-z`\n// * `0-9`\n// * `-` but not as a starting or ending character\n// * `.` as a separator for the textual portions of a domain name\n//\n// * http://en.wikipedia.org/wiki/Domain_name\n// * http://en.wikipedia.org/wiki/Hostname\n//\ninternals.validate = function (input) {\n\n // Before we can validate we need to take care of IDNs with unicode chars.\n var ascii = Punycode.toASCII(input);\n\n if (ascii.length < 1) {\n return 'DOMAIN_TOO_SHORT';\n }\n if (ascii.length > 255) {\n return 'DOMAIN_TOO_LONG';\n }\n\n // Check each part's length and allowed chars.\n var labels = ascii.split('.');\n var label;\n\n for (var i = 0; i < labels.length; ++i) {\n label = labels[i];\n if (!label.length) {\n return 'LABEL_TOO_SHORT';\n }\n if (label.length > 63) {\n return 'LABEL_TOO_LONG';\n }\n if (label.charAt(0) === '-') {\n return 'LABEL_STARTS_WITH_DASH';\n }\n if (label.charAt(label.length - 1) === '-') {\n return 'LABEL_ENDS_WITH_DASH';\n }\n if (!/^[a-z0-9\\-]+$/.test(label)) {\n return 'LABEL_INVALID_CHARS';\n }\n }\n};\n\n\n//\n// Public API\n//\n\n\n//\n// Parse domain.\n//\nexports.parse = function (input) {\n\n if (typeof input !== 'string') {\n throw new TypeError('Domain name must be a string.');\n }\n\n // Force domain to lowercase.\n var domain = input.slice(0).toLowerCase();\n\n // Handle FQDN.\n // TODO: Simply remove trailing dot?\n if (domain.charAt(domain.length - 1) === '.') {\n domain = domain.slice(0, domain.length - 1);\n }\n\n // Validate and sanitise input.\n var error = internals.validate(domain);\n if (error) {\n return {\n input: input,\n error: {\n message: exports.errorCodes[error],\n code: error\n }\n };\n }\n\n var parsed = {\n input: input,\n tld: null,\n sld: null,\n domain: null,\n subdomain: null,\n listed: false\n };\n\n var domainParts = domain.split('.');\n\n // Non-Internet TLD\n if (domainParts[domainParts.length - 1] === 'local') {\n return parsed;\n }\n\n var handlePunycode = function () {\n\n if (!/xn--/.test(domain)) {\n return parsed;\n }\n if (parsed.domain) {\n parsed.domain = Punycode.toASCII(parsed.domain);\n }\n if (parsed.subdomain) {\n parsed.subdomain = Punycode.toASCII(parsed.subdomain);\n }\n return parsed;\n };\n\n var rule = internals.findRule(domain);\n\n // Unlisted tld.\n if (!rule) {\n if (domainParts.length < 2) {\n return parsed;\n }\n parsed.tld = domainParts.pop();\n parsed.sld = domainParts.pop();\n parsed.domain = [parsed.sld, parsed.tld].join('.');\n if (domainParts.length) {\n parsed.subdomain = domainParts.pop();\n }\n return handlePunycode();\n }\n\n // At this point we know the public suffix is listed.\n parsed.listed = true;\n\n var tldParts = rule.suffix.split('.');\n var privateParts = domainParts.slice(0, domainParts.length - tldParts.length);\n\n if (rule.exception) {\n privateParts.push(tldParts.shift());\n }\n\n parsed.tld = tldParts.join('.');\n\n if (!privateParts.length) {\n return handlePunycode();\n }\n\n if (rule.wildcard) {\n tldParts.unshift(privateParts.pop());\n parsed.tld = tldParts.join('.');\n }\n\n if (!privateParts.length) {\n return handlePunycode();\n }\n\n parsed.sld = privateParts.pop();\n parsed.domain = [parsed.sld, parsed.tld].join('.');\n\n if (privateParts.length) {\n parsed.subdomain = privateParts.join('.');\n }\n\n return handlePunycode();\n};\n\n\n//\n// Get domain.\n//\nexports.get = function (domain) {\n\n if (!domain) {\n return null;\n }\n return exports.parse(domain).domain || null;\n};\n\n\n//\n// Check whether domain belongs to a known public suffix.\n//\nexports.isValid = function (domain) {\n\n var parsed = exports.parse(domain);\n return Boolean(parsed.domain && parsed.listed);\n};\n","'use strict';\n\n/** Highest positive signed 32-bit float value */\nconst maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1\n\n/** Bootstring parameters */\nconst base = 36;\nconst tMin = 1;\nconst tMax = 26;\nconst skew = 38;\nconst damp = 700;\nconst initialBias = 72;\nconst initialN = 128; // 0x80\nconst delimiter = '-'; // '\\x2D'\n\n/** Regular expressions */\nconst regexPunycode = /^xn--/;\nconst regexNonASCII = /[^\\0-\\x7F]/; // Note: U+007F DEL is excluded too.\nconst regexSeparators = /[\\x2E\\u3002\\uFF0E\\uFF61]/g; // RFC 3490 separators\n\n/** Error messages */\nconst errors = {\n\t'overflow': 'Overflow: input needs wider integers to process',\n\t'not-basic': 'Illegal input >= 0x80 (not a basic code point)',\n\t'invalid-input': 'Invalid input'\n};\n\n/** Convenience shortcuts */\nconst baseMinusTMin = base - tMin;\nconst floor = Math.floor;\nconst stringFromCharCode = String.fromCharCode;\n\n/*--------------------------------------------------------------------------*/\n\n/**\n * A generic error utility function.\n * @private\n * @param {String} type The error type.\n * @returns {Error} Throws a `RangeError` with the applicable error message.\n */\nfunction error(type) {\n\tthrow new RangeError(errors[type]);\n}\n\n/**\n * A generic `Array#map` utility function.\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} callback The function that gets called for every array\n * item.\n * @returns {Array} A new array of values returned by the callback function.\n */\nfunction map(array, callback) {\n\tconst result = [];\n\tlet length = array.length;\n\twhile (length--) {\n\t\tresult[length] = callback(array[length]);\n\t}\n\treturn result;\n}\n\n/**\n * A simple `Array#map`-like wrapper to work with domain name strings or email\n * addresses.\n * @private\n * @param {String} domain The domain name or email address.\n * @param {Function} callback The function that gets called for every\n * character.\n * @returns {String} A new string of characters returned by the callback\n * function.\n */\nfunction mapDomain(domain, callback) {\n\tconst parts = domain.split('@');\n\tlet result = '';\n\tif (parts.length > 1) {\n\t\t// In email addresses, only the domain name should be punycoded. Leave\n\t\t// the local part (i.e. everything up to `@`) intact.\n\t\tresult = parts[0] + '@';\n\t\tdomain = parts[1];\n\t}\n\t// Avoid `split(regex)` for IE8 compatibility. See #17.\n\tdomain = domain.replace(regexSeparators, '\\x2E');\n\tconst labels = domain.split('.');\n\tconst encoded = map(labels, callback).join('.');\n\treturn result + encoded;\n}\n\n/**\n * Creates an array containing the numeric code points of each Unicode\n * character in the string. While JavaScript uses UCS-2 internally,\n * this function will convert a pair of surrogate halves (each of which\n * UCS-2 exposes as separate characters) into a single code point,\n * matching UTF-16.\n * @see `punycode.ucs2.encode`\n * @see \n * @memberOf punycode.ucs2\n * @name decode\n * @param {String} string The Unicode input string (UCS-2).\n * @returns {Array} The new array of code points.\n */\nfunction ucs2decode(string) {\n\tconst output = [];\n\tlet counter = 0;\n\tconst length = string.length;\n\twhile (counter < length) {\n\t\tconst value = string.charCodeAt(counter++);\n\t\tif (value >= 0xD800 && value <= 0xDBFF && counter < length) {\n\t\t\t// It's a high surrogate, and there is a next character.\n\t\t\tconst extra = string.charCodeAt(counter++);\n\t\t\tif ((extra & 0xFC00) == 0xDC00) { // Low surrogate.\n\t\t\t\toutput.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);\n\t\t\t} else {\n\t\t\t\t// It's an unmatched surrogate; only append this code unit, in case the\n\t\t\t\t// next code unit is the high surrogate of a surrogate pair.\n\t\t\t\toutput.push(value);\n\t\t\t\tcounter--;\n\t\t\t}\n\t\t} else {\n\t\t\toutput.push(value);\n\t\t}\n\t}\n\treturn output;\n}\n\n/**\n * Creates a string based on an array of numeric code points.\n * @see `punycode.ucs2.decode`\n * @memberOf punycode.ucs2\n * @name encode\n * @param {Array} codePoints The array of numeric code points.\n * @returns {String} The new Unicode string (UCS-2).\n */\nconst ucs2encode = codePoints => String.fromCodePoint(...codePoints);\n\n/**\n * Converts a basic code point into a digit/integer.\n * @see `digitToBasic()`\n * @private\n * @param {Number} codePoint The basic numeric code point value.\n * @returns {Number} The numeric value of a basic code point (for use in\n * representing integers) in the range `0` to `base - 1`, or `base` if\n * the code point does not represent a value.\n */\nconst basicToDigit = function(codePoint) {\n\tif (codePoint >= 0x30 && codePoint < 0x3A) {\n\t\treturn 26 + (codePoint - 0x30);\n\t}\n\tif (codePoint >= 0x41 && codePoint < 0x5B) {\n\t\treturn codePoint - 0x41;\n\t}\n\tif (codePoint >= 0x61 && codePoint < 0x7B) {\n\t\treturn codePoint - 0x61;\n\t}\n\treturn base;\n};\n\n/**\n * Converts a digit/integer into a basic code point.\n * @see `basicToDigit()`\n * @private\n * @param {Number} digit The numeric value of a basic code point.\n * @returns {Number} The basic code point whose value (when used for\n * representing integers) is `digit`, which needs to be in the range\n * `0` to `base - 1`. If `flag` is non-zero, the uppercase form is\n * used; else, the lowercase form is used. The behavior is undefined\n * if `flag` is non-zero and `digit` has no uppercase form.\n */\nconst digitToBasic = function(digit, flag) {\n\t// 0..25 map to ASCII a..z or A..Z\n\t// 26..35 map to ASCII 0..9\n\treturn digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5);\n};\n\n/**\n * Bias adaptation function as per section 3.4 of RFC 3492.\n * https://tools.ietf.org/html/rfc3492#section-3.4\n * @private\n */\nconst adapt = function(delta, numPoints, firstTime) {\n\tlet k = 0;\n\tdelta = firstTime ? floor(delta / damp) : delta >> 1;\n\tdelta += floor(delta / numPoints);\n\tfor (/* no initialization */; delta > baseMinusTMin * tMax >> 1; k += base) {\n\t\tdelta = floor(delta / baseMinusTMin);\n\t}\n\treturn floor(k + (baseMinusTMin + 1) * delta / (delta + skew));\n};\n\n/**\n * Converts a Punycode string of ASCII-only symbols to a string of Unicode\n * symbols.\n * @memberOf punycode\n * @param {String} input The Punycode string of ASCII-only symbols.\n * @returns {String} The resulting string of Unicode symbols.\n */\nconst decode = function(input) {\n\t// Don't use UCS-2.\n\tconst output = [];\n\tconst inputLength = input.length;\n\tlet i = 0;\n\tlet n = initialN;\n\tlet bias = initialBias;\n\n\t// Handle the basic code points: let `basic` be the number of input code\n\t// points before the last delimiter, or `0` if there is none, then copy\n\t// the first basic code points to the output.\n\n\tlet basic = input.lastIndexOf(delimiter);\n\tif (basic < 0) {\n\t\tbasic = 0;\n\t}\n\n\tfor (let j = 0; j < basic; ++j) {\n\t\t// if it's not a basic code point\n\t\tif (input.charCodeAt(j) >= 0x80) {\n\t\t\terror('not-basic');\n\t\t}\n\t\toutput.push(input.charCodeAt(j));\n\t}\n\n\t// Main decoding loop: start just after the last delimiter if any basic code\n\t// points were copied; start at the beginning otherwise.\n\n\tfor (let index = basic > 0 ? basic + 1 : 0; index < inputLength; /* no final expression */) {\n\n\t\t// `index` is the index of the next character to be consumed.\n\t\t// Decode a generalized variable-length integer into `delta`,\n\t\t// which gets added to `i`. The overflow checking is easier\n\t\t// if we increase `i` as we go, then subtract off its starting\n\t\t// value at the end to obtain `delta`.\n\t\tconst oldi = i;\n\t\tfor (let w = 1, k = base; /* no condition */; k += base) {\n\n\t\t\tif (index >= inputLength) {\n\t\t\t\terror('invalid-input');\n\t\t\t}\n\n\t\t\tconst digit = basicToDigit(input.charCodeAt(index++));\n\n\t\t\tif (digit >= base) {\n\t\t\t\terror('invalid-input');\n\t\t\t}\n\t\t\tif (digit > floor((maxInt - i) / w)) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\n\t\t\ti += digit * w;\n\t\t\tconst t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n\n\t\t\tif (digit < t) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tconst baseMinusT = base - t;\n\t\t\tif (w > floor(maxInt / baseMinusT)) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\n\t\t\tw *= baseMinusT;\n\n\t\t}\n\n\t\tconst out = output.length + 1;\n\t\tbias = adapt(i - oldi, out, oldi == 0);\n\n\t\t// `i` was supposed to wrap around from `out` to `0`,\n\t\t// incrementing `n` each time, so we'll fix that now:\n\t\tif (floor(i / out) > maxInt - n) {\n\t\t\terror('overflow');\n\t\t}\n\n\t\tn += floor(i / out);\n\t\ti %= out;\n\n\t\t// Insert `n` at position `i` of the output.\n\t\toutput.splice(i++, 0, n);\n\n\t}\n\n\treturn String.fromCodePoint(...output);\n};\n\n/**\n * Converts a string of Unicode symbols (e.g. a domain name label) to a\n * Punycode string of ASCII-only symbols.\n * @memberOf punycode\n * @param {String} input The string of Unicode symbols.\n * @returns {String} The resulting Punycode string of ASCII-only symbols.\n */\nconst encode = function(input) {\n\tconst output = [];\n\n\t// Convert the input in UCS-2 to an array of Unicode code points.\n\tinput = ucs2decode(input);\n\n\t// Cache the length.\n\tconst inputLength = input.length;\n\n\t// Initialize the state.\n\tlet n = initialN;\n\tlet delta = 0;\n\tlet bias = initialBias;\n\n\t// Handle the basic code points.\n\tfor (const currentValue of input) {\n\t\tif (currentValue < 0x80) {\n\t\t\toutput.push(stringFromCharCode(currentValue));\n\t\t}\n\t}\n\n\tconst basicLength = output.length;\n\tlet handledCPCount = basicLength;\n\n\t// `handledCPCount` is the number of code points that have been handled;\n\t// `basicLength` is the number of basic code points.\n\n\t// Finish the basic string with a delimiter unless it's empty.\n\tif (basicLength) {\n\t\toutput.push(delimiter);\n\t}\n\n\t// Main encoding loop:\n\twhile (handledCPCount < inputLength) {\n\n\t\t// All non-basic code points < n have been handled already. Find the next\n\t\t// larger one:\n\t\tlet m = maxInt;\n\t\tfor (const currentValue of input) {\n\t\t\tif (currentValue >= n && currentValue < m) {\n\t\t\t\tm = currentValue;\n\t\t\t}\n\t\t}\n\n\t\t// Increase `delta` enough to advance the decoder's state to ,\n\t\t// but guard against overflow.\n\t\tconst handledCPCountPlusOne = handledCPCount + 1;\n\t\tif (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {\n\t\t\terror('overflow');\n\t\t}\n\n\t\tdelta += (m - n) * handledCPCountPlusOne;\n\t\tn = m;\n\n\t\tfor (const currentValue of input) {\n\t\t\tif (currentValue < n && ++delta > maxInt) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\t\t\tif (currentValue === n) {\n\t\t\t\t// Represent delta as a generalized variable-length integer.\n\t\t\t\tlet q = delta;\n\t\t\t\tfor (let k = base; /* no condition */; k += base) {\n\t\t\t\t\tconst t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n\t\t\t\t\tif (q < t) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tconst qMinusT = q - t;\n\t\t\t\t\tconst baseMinusT = base - t;\n\t\t\t\t\toutput.push(\n\t\t\t\t\t\tstringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0))\n\t\t\t\t\t);\n\t\t\t\t\tq = floor(qMinusT / baseMinusT);\n\t\t\t\t}\n\n\t\t\t\toutput.push(stringFromCharCode(digitToBasic(q, 0)));\n\t\t\t\tbias = adapt(delta, handledCPCountPlusOne, handledCPCount === basicLength);\n\t\t\t\tdelta = 0;\n\t\t\t\t++handledCPCount;\n\t\t\t}\n\t\t}\n\n\t\t++delta;\n\t\t++n;\n\n\t}\n\treturn output.join('');\n};\n\n/**\n * Converts a Punycode string representing a domain name or an email address\n * to Unicode. Only the Punycoded parts of the input will be converted, i.e.\n * it doesn't matter if you call it on a string that has already been\n * converted to Unicode.\n * @memberOf punycode\n * @param {String} input The Punycoded domain name or email address to\n * convert to Unicode.\n * @returns {String} The Unicode representation of the given Punycode\n * string.\n */\nconst toUnicode = function(input) {\n\treturn mapDomain(input, function(string) {\n\t\treturn regexPunycode.test(string)\n\t\t\t? decode(string.slice(4).toLowerCase())\n\t\t\t: string;\n\t});\n};\n\n/**\n * Converts a Unicode string representing a domain name or an email address to\n * Punycode. Only the non-ASCII parts of the domain name will be converted,\n * i.e. it doesn't matter if you call it with a domain that's already in\n * ASCII.\n * @memberOf punycode\n * @param {String} input The domain name or email address to convert, as a\n * Unicode string.\n * @returns {String} The Punycode representation of the given domain name or\n * email address.\n */\nconst toASCII = function(input) {\n\treturn mapDomain(input, function(string) {\n\t\treturn regexNonASCII.test(string)\n\t\t\t? 'xn--' + encode(string)\n\t\t\t: string;\n\t});\n};\n\n/*--------------------------------------------------------------------------*/\n\n/** Define the public API */\nconst punycode = {\n\t/**\n\t * A string representing the current Punycode.js version number.\n\t * @memberOf punycode\n\t * @type String\n\t */\n\t'version': '2.1.0',\n\t/**\n\t * An object of methods to convert from JavaScript's internal character\n\t * representation (UCS-2) to Unicode code points, and back.\n\t * @see \n\t * @memberOf punycode\n\t * @type Object\n\t */\n\t'ucs2': {\n\t\t'decode': ucs2decode,\n\t\t'encode': ucs2encode\n\t},\n\t'decode': decode,\n\t'encode': encode,\n\t'toASCII': toASCII,\n\t'toUnicode': toUnicode\n};\n\nexport { ucs2decode, ucs2encode, decode, encode, toASCII, toUnicode };\nexport default punycode;\n","'use strict';\n\nvar has = Object.prototype.hasOwnProperty\n , undef;\n\n/**\n * Decode a URI encoded string.\n *\n * @param {String} input The URI encoded string.\n * @returns {String|Null} The decoded string.\n * @api private\n */\nfunction decode(input) {\n try {\n return decodeURIComponent(input.replace(/\\+/g, ' '));\n } catch (e) {\n return null;\n }\n}\n\n/**\n * Attempts to encode a given input.\n *\n * @param {String} input The string that needs to be encoded.\n * @returns {String|Null} The encoded string.\n * @api private\n */\nfunction encode(input) {\n try {\n return encodeURIComponent(input);\n } catch (e) {\n return null;\n }\n}\n\n/**\n * Simple query string parser.\n *\n * @param {String} query The query string that needs to be parsed.\n * @returns {Object}\n * @api public\n */\nfunction querystring(query) {\n var parser = /([^=?#&]+)=?([^&]*)/g\n , result = {}\n , part;\n\n while (part = parser.exec(query)) {\n var key = decode(part[1])\n , value = decode(part[2]);\n\n //\n // Prevent overriding of existing properties. This ensures that build-in\n // methods like `toString` or __proto__ are not overriden by malicious\n // querystrings.\n //\n // In the case if failed decoding, we want to omit the key/value pairs\n // from the result.\n //\n if (key === null || value === null || key in result) continue;\n result[key] = value;\n }\n\n return result;\n}\n\n/**\n * Transform a query string to an object.\n *\n * @param {Object} obj Object that should be transformed.\n * @param {String} prefix Optional prefix.\n * @returns {String}\n * @api public\n */\nfunction querystringify(obj, prefix) {\n prefix = prefix || '';\n\n var pairs = []\n , value\n , key;\n\n //\n // Optionally prefix with a '?' if needed\n //\n if ('string' !== typeof prefix) prefix = '?';\n\n for (key in obj) {\n if (has.call(obj, key)) {\n value = obj[key];\n\n //\n // Edge cases where we actually want to encode the value to an empty\n // string instead of the stringified value.\n //\n if (!value && (value === null || value === undef || isNaN(value))) {\n value = '';\n }\n\n key = encode(key);\n value = encode(value);\n\n //\n // If we failed to encode the strings, we should bail out as we don't\n // want to add invalid strings to the query.\n //\n if (key === null || value === null) continue;\n pairs.push(key +'='+ value);\n }\n }\n\n return pairs.length ? prefix + pairs.join('&') : '';\n}\n\n//\n// Expose the module.\n//\nexports.stringify = querystringify;\nexports.parse = querystring;\n","'use strict';\n\n/**\n * Check if we're required to add a port number.\n *\n * @see https://url.spec.whatwg.org/#default-port\n * @param {Number|String} port Port number we need to check\n * @param {String} protocol Protocol we need to check against.\n * @returns {Boolean} Is it a default port for the given protocol\n * @api private\n */\nmodule.exports = function required(port, protocol) {\n protocol = protocol.split(':')[0];\n port = +port;\n\n if (!port) return false;\n\n switch (protocol) {\n case 'http':\n case 'ws':\n return port !== 80;\n\n case 'https':\n case 'wss':\n return port !== 443;\n\n case 'ftp':\n return port !== 21;\n\n case 'gopher':\n return port !== 70;\n\n case 'file':\n return false;\n }\n\n return port !== 0;\n};\n",";(function (sax) { // wrapper for non-node envs\n sax.parser = function (strict, opt) { return new SAXParser(strict, opt) }\n sax.SAXParser = SAXParser\n sax.SAXStream = SAXStream\n sax.createStream = createStream\n\n // When we pass the MAX_BUFFER_LENGTH position, start checking for buffer overruns.\n // When we check, schedule the next check for MAX_BUFFER_LENGTH - (max(buffer lengths)),\n // since that's the earliest that a buffer overrun could occur. This way, checks are\n // as rare as required, but as often as necessary to ensure never crossing this bound.\n // Furthermore, buffers are only tested at most once per write(), so passing a very\n // large string into write() might have undesirable effects, but this is manageable by\n // the caller, so it is assumed to be safe. Thus, a call to write() may, in the extreme\n // edge case, result in creating at most one complete copy of the string passed in.\n // Set to Infinity to have unlimited buffers.\n sax.MAX_BUFFER_LENGTH = 64 * 1024\n\n var buffers = [\n 'comment', 'sgmlDecl', 'textNode', 'tagName', 'doctype',\n 'procInstName', 'procInstBody', 'entity', 'attribName',\n 'attribValue', 'cdata', 'script'\n ]\n\n sax.EVENTS = [\n 'text',\n 'processinginstruction',\n 'sgmldeclaration',\n 'doctype',\n 'comment',\n 'opentagstart',\n 'attribute',\n 'opentag',\n 'closetag',\n 'opencdata',\n 'cdata',\n 'closecdata',\n 'error',\n 'end',\n 'ready',\n 'script',\n 'opennamespace',\n 'closenamespace'\n ]\n\n function SAXParser (strict, opt) {\n if (!(this instanceof SAXParser)) {\n return new SAXParser(strict, opt)\n }\n\n var parser = this\n clearBuffers(parser)\n parser.q = parser.c = ''\n parser.bufferCheckPosition = sax.MAX_BUFFER_LENGTH\n parser.opt = opt || {}\n parser.opt.lowercase = parser.opt.lowercase || parser.opt.lowercasetags\n parser.looseCase = parser.opt.lowercase ? 'toLowerCase' : 'toUpperCase'\n parser.tags = []\n parser.closed = parser.closedRoot = parser.sawRoot = false\n parser.tag = parser.error = null\n parser.strict = !!strict\n parser.noscript = !!(strict || parser.opt.noscript)\n parser.state = S.BEGIN\n parser.strictEntities = parser.opt.strictEntities\n parser.ENTITIES = parser.strictEntities ? Object.create(sax.XML_ENTITIES) : Object.create(sax.ENTITIES)\n parser.attribList = []\n\n // namespaces form a prototype chain.\n // it always points at the current tag,\n // which protos to its parent tag.\n if (parser.opt.xmlns) {\n parser.ns = Object.create(rootNS)\n }\n\n // mostly just for error reporting\n parser.trackPosition = parser.opt.position !== false\n if (parser.trackPosition) {\n parser.position = parser.line = parser.column = 0\n }\n emit(parser, 'onready')\n }\n\n if (!Object.create) {\n Object.create = function (o) {\n function F () {}\n F.prototype = o\n var newf = new F()\n return newf\n }\n }\n\n if (!Object.keys) {\n Object.keys = function (o) {\n var a = []\n for (var i in o) if (o.hasOwnProperty(i)) a.push(i)\n return a\n }\n }\n\n function checkBufferLength (parser) {\n var maxAllowed = Math.max(sax.MAX_BUFFER_LENGTH, 10)\n var maxActual = 0\n for (var i = 0, l = buffers.length; i < l; i++) {\n var len = parser[buffers[i]].length\n if (len > maxAllowed) {\n // Text/cdata nodes can get big, and since they're buffered,\n // we can get here under normal conditions.\n // Avoid issues by emitting the text node now,\n // so at least it won't get any bigger.\n switch (buffers[i]) {\n case 'textNode':\n closeText(parser)\n break\n\n case 'cdata':\n emitNode(parser, 'oncdata', parser.cdata)\n parser.cdata = ''\n break\n\n case 'script':\n emitNode(parser, 'onscript', parser.script)\n parser.script = ''\n break\n\n default:\n error(parser, 'Max buffer length exceeded: ' + buffers[i])\n }\n }\n maxActual = Math.max(maxActual, len)\n }\n // schedule the next check for the earliest possible buffer overrun.\n var m = sax.MAX_BUFFER_LENGTH - maxActual\n parser.bufferCheckPosition = m + parser.position\n }\n\n function clearBuffers (parser) {\n for (var i = 0, l = buffers.length; i < l; i++) {\n parser[buffers[i]] = ''\n }\n }\n\n function flushBuffers (parser) {\n closeText(parser)\n if (parser.cdata !== '') {\n emitNode(parser, 'oncdata', parser.cdata)\n parser.cdata = ''\n }\n if (parser.script !== '') {\n emitNode(parser, 'onscript', parser.script)\n parser.script = ''\n }\n }\n\n SAXParser.prototype = {\n end: function () { end(this) },\n write: write,\n resume: function () { this.error = null; return this },\n close: function () { return this.write(null) },\n flush: function () { flushBuffers(this) }\n }\n\n var Stream\n try {\n Stream = require('stream').Stream\n } catch (ex) {\n Stream = function () {}\n }\n\n var streamWraps = sax.EVENTS.filter(function (ev) {\n return ev !== 'error' && ev !== 'end'\n })\n\n function createStream (strict, opt) {\n return new SAXStream(strict, opt)\n }\n\n function SAXStream (strict, opt) {\n if (!(this instanceof SAXStream)) {\n return new SAXStream(strict, opt)\n }\n\n Stream.apply(this)\n\n this._parser = new SAXParser(strict, opt)\n this.writable = true\n this.readable = true\n\n var me = this\n\n this._parser.onend = function () {\n me.emit('end')\n }\n\n this._parser.onerror = function (er) {\n me.emit('error', er)\n\n // if didn't throw, then means error was handled.\n // go ahead and clear error, so we can write again.\n me._parser.error = null\n }\n\n this._decoder = null\n\n streamWraps.forEach(function (ev) {\n Object.defineProperty(me, 'on' + ev, {\n get: function () {\n return me._parser['on' + ev]\n },\n set: function (h) {\n if (!h) {\n me.removeAllListeners(ev)\n me._parser['on' + ev] = h\n return h\n }\n me.on(ev, h)\n },\n enumerable: true,\n configurable: false\n })\n })\n }\n\n SAXStream.prototype = Object.create(Stream.prototype, {\n constructor: {\n value: SAXStream\n }\n })\n\n SAXStream.prototype.write = function (data) {\n if (typeof Buffer === 'function' &&\n typeof Buffer.isBuffer === 'function' &&\n Buffer.isBuffer(data)) {\n if (!this._decoder) {\n var SD = require('string_decoder').StringDecoder\n this._decoder = new SD('utf8')\n }\n data = this._decoder.write(data)\n }\n\n this._parser.write(data.toString())\n this.emit('data', data)\n return true\n }\n\n SAXStream.prototype.end = function (chunk) {\n if (chunk && chunk.length) {\n this.write(chunk)\n }\n this._parser.end()\n return true\n }\n\n SAXStream.prototype.on = function (ev, handler) {\n var me = this\n if (!me._parser['on' + ev] && streamWraps.indexOf(ev) !== -1) {\n me._parser['on' + ev] = function () {\n var args = arguments.length === 1 ? [arguments[0]] : Array.apply(null, arguments)\n args.splice(0, 0, ev)\n me.emit.apply(me, args)\n }\n }\n\n return Stream.prototype.on.call(me, ev, handler)\n }\n\n // this really needs to be replaced with character classes.\n // XML allows all manner of ridiculous numbers and digits.\n var CDATA = '[CDATA['\n var DOCTYPE = 'DOCTYPE'\n var XML_NAMESPACE = 'http://www.w3.org/XML/1998/namespace'\n var XMLNS_NAMESPACE = 'http://www.w3.org/2000/xmlns/'\n var rootNS = { xml: XML_NAMESPACE, xmlns: XMLNS_NAMESPACE }\n\n // http://www.w3.org/TR/REC-xml/#NT-NameStartChar\n // This implementation works on strings, a single character at a time\n // as such, it cannot ever support astral-plane characters (10000-EFFFF)\n // without a significant breaking change to either this parser, or the\n // JavaScript language. Implementation of an emoji-capable xml parser\n // is left as an exercise for the reader.\n var nameStart = /[:_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]/\n\n var nameBody = /[:_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\\u00B7\\u0300-\\u036F\\u203F-\\u2040.\\d-]/\n\n var entityStart = /[#:_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]/\n var entityBody = /[#:_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\\u00B7\\u0300-\\u036F\\u203F-\\u2040.\\d-]/\n\n function isWhitespace (c) {\n return c === ' ' || c === '\\n' || c === '\\r' || c === '\\t'\n }\n\n function isQuote (c) {\n return c === '\"' || c === '\\''\n }\n\n function isAttribEnd (c) {\n return c === '>' || isWhitespace(c)\n }\n\n function isMatch (regex, c) {\n return regex.test(c)\n }\n\n function notMatch (regex, c) {\n return !isMatch(regex, c)\n }\n\n var S = 0\n sax.STATE = {\n BEGIN: S++, // leading byte order mark or whitespace\n BEGIN_WHITESPACE: S++, // leading whitespace\n TEXT: S++, // general stuff\n TEXT_ENTITY: S++, // & and such.\n OPEN_WAKA: S++, // <\n SGML_DECL: S++, // \n SCRIPT: S++, //